Skip to content

Commit 1e1f2de

Browse files
committed
closer to upstream
1 parent 9db9711 commit 1e1f2de

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

ci-build.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,15 @@ if [ "$MINGW_ARCH" == "clangarm64" ]; then
1313
fi
1414

1515
# Enable custom -next repos (this will break msys2 toolchains that use dll's)
16-
pacman --noconfirm -S ${MINGW_PACKAGE_PREFIX}-{cc,libtre,pkgconf,xz}
16+
#pacman --noconfirm -S ${MINGW_PACKAGE_PREFIX}-{cc,libtre,pkgconf,xz}
1717
cp -f pacman.conf /etc/pacman.conf
1818
pacman --noconfirm -Scc
1919
pacman --noconfirm -Sy
2020

2121
# Downgrades to be compatible with rtools
2222
pacman --noconfirm --needed -S git patch make unzip pactoys
23-
#pacman --noconfirm -S --needed ${MINGW_PACKAGE_PREFIX}-{cc,libtre,pkgconf,xz}
23+
pacman --noconfirm -S ${MINGW_PACKAGE_PREFIX}-{gettext-runtime,gettext-tools}
24+
pacman --noconfirm -S ${MINGW_PACKAGE_PREFIX}-{cc,libtre,pkgconf,xz}
2425

2526
# Some upstream DLL files
2627
pacman --noconfirm --needed -Sdd ${MINGW_PACKAGE_PREFIX}-{gcc-libs,libwinpthread}

mingw-w64-gettext/PKGBUILD

+8-8
Original file line numberDiff line numberDiff line change
@@ -102,17 +102,17 @@ build() {
102102

103103
export MSYS2_ARG_CONV_EXCL="-DLOCALEDIR=;-DLIBDIR=;-DLOCALE_ALIAS_PATH="
104104

105-
# msg2 "Build static libraries"
106-
# mkdir -p ${srcdir}/build-${MSYSTEM}-static && cd ${srcdir}/build-${MSYSTEM}-static
107-
# _build "--enable-static --disable-shared"
105+
#msg2 "Build static libraries"
106+
#mkdir -p ${srcdir}/build-${MSYSTEM}-static && cd ${srcdir}/build-${MSYSTEM}-static
107+
#_build "--enable-static --disable-shared"
108108

109-
msg2 "Build shared libraries"
109+
msg2 "Build shared and static libraries"
110110
mkdir -p ${srcdir}/build-${MSYSTEM}-shared && cd ${srcdir}/build-${MSYSTEM}-shared
111-
_build "--enable-shared --disable-static"
111+
_build "--enable-shared --enable-static"
112112
}
113113

114114
check () {
115-
echo "Nothing"
115+
cd ${srcdir}/build-${MSYSTEM}-shared
116116
}
117117

118118
package_gettext-runtime() {
@@ -121,7 +121,7 @@ package_gettext-runtime() {
121121
"${MINGW_PACKAGE_PREFIX}-gcc-libs"
122122
"${MINGW_PACKAGE_PREFIX}-libiconv"
123123
)
124-
# conflicts=("${MINGW_PACKAGE_PREFIX}-gettext<=0.22.4-3")
124+
conflicts=("${MINGW_PACKAGE_PREFIX}-gettext<=0.22.4-3")
125125

126126
#cd ${srcdir}/build-${MSYSTEM}-static/gettext-runtime
127127
#make DESTDIR="${pkgdir}" install
@@ -148,7 +148,7 @@ package_gettext-tools() {
148148
"${MINGW_PACKAGE_PREFIX}-libiconv"
149149
)
150150
provides=("${MINGW_PACKAGE_PREFIX}-gettext=${pkgver}-${pkgrel}")
151-
# conflicts=("${MINGW_PACKAGE_PREFIX}-gettext<=0.22.4-3")
151+
conflicts=("${MINGW_PACKAGE_PREFIX}-gettext<=0.22.4-3")
152152
replaces=("${MINGW_PACKAGE_PREFIX}-gettext")
153153

154154
#cd ${srcdir}/build-${MSYSTEM}-static/gettext-tools

0 commit comments

Comments
 (0)