Compare commits

...
Sign in to create a new pull request.

5 commits

Author SHA1 Message Date
Sandro Mani
53c5ff61b8 Fix mingw-find-lang.sh exit code 2023-04-05 14:53:13 +02:00
Sandro Mani
e497b3803c Prevent mingw-find-lang.sh from clobbering previous find-lang results 2022-12-09 12:31:32 +01:00
Sandro Mani
09ec3aab45 Add shcore.dll to standard dlls 2022-06-04 21:57:33 +02:00
Richard Hughes
8504f8e1ba Include glib-mkenums in the toolchain binaries 2022-05-09 09:09:17 +01:00
Sandro Mani
063367eefb Rebuild 2022-04-21 22:52:14 +02:00
6 changed files with 30 additions and 4 deletions

View file

@ -6,8 +6,8 @@
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
Name: mingw-filesystem
Version: 132
Release: 1%{?dist}
Version: 133
Release: 4%{?dist}
Summary: MinGW cross compiler base filesystem and environment
License: GPLv2+
@ -358,6 +358,21 @@ echo ".so man1/pkgconf.1" > %{buildroot}%{_mandir}/man1/x86_64-w64-mingw32-pkg-c
%changelog
* Wed Apr 05 2023 Sandro Mani <manisandro@gmail.com> - 133-4
- Fix mingw-find-lang.sh exit code
* Fri Dec 09 2022 Sandro Mani <manisandro@gmail.com> - 133-3
- Prevent mingw-find-lang.sh from clobbering previous find-lang results
* Sat Jun 04 2022 Sandro Mani <manisandro@gmail.com> - 133-2
- Add shcore.dll to standard dlls
* Mon May 09 2022 Richard Hughes <richard@hughsie.com> - 133-1
- Include glib-mkenums in the toolchain binaries to avoid installing host GLib for building.
* Thu Apr 21 2022 Sandro Mani <manisandro@gmail.com> - 132-2
- Rebuild
* Mon Feb 21 2022 Sandro Mani <manisandro@gmail.com> - 132-1
- Create build_winXX directories with mkdir -p

View file

@ -2,16 +2,23 @@
# Wrapper for the %find_lang macro which splits out the various translations in per-target lists
PACKAGE_NAME=$2
# If previous result from native find-lang exists, filter mingw entries and move it out of the way
test -f ${PACKAGE_NAME}.lang && grep -v mingw32 ${PACKAGE_NAME}.lang > ${PACKAGE_NAME}-native.lang
/usr/lib/rpm/find-lang.sh $*
if test $? != 0 ; then
test -f ${PACKAGE_NAME}-native.lang && mv ${PACKAGE_NAME}-native.lang ${PACKAGE_NAME}.lang
exit 1
fi
PACKAGE_NAME=$2
targets=`rpm --eval '%{mingw_build_targets}'`
for target in $targets; do
prefix=`rpm --eval "%{${target}_prefix}"`
cat $2.lang | grep "$prefix" > ${target}-$PACKAGE_NAME.lang
cat ${PACKAGE_NAME}.lang | grep "$prefix" > ${target}-$PACKAGE_NAME.lang
done
test -f ${PACKAGE_NAME}-native.lang && mv ${PACKAGE_NAME}-native.lang ${PACKAGE_NAME}.lang
exit 0

View file

@ -235,6 +235,7 @@ schedcli.dll
scsiport.sys
secur32.dll
setupapi.dll
shcore.dll
shell32.dll
shfolder.dll
shlwapi.dll

View file

@ -983,6 +983,7 @@ sfcfiles.dll
sfc_os.dll
sfilter2.dll
sfmapi.dll
shcore.dll
shdocvw.dll
shell32.dll
shfolder.dll

View file

@ -10,6 +10,7 @@ strip = '/usr/bin/i686-w64-mingw32-strip'
windres = '/usr/bin/i686-w64-mingw32-windres'
dlltool = '/usr/bin/i686-w64-mingw32-dlltool'
libgcrypt-config = '/usr/i686-w64-mingw32/sys-root/mingw/bin/libgcrypt-config'
glib-mkenums = '/usr/i686-w64-mingw32/sys-root/mingw/bin/glib-mkenums'
[properties]
root = '/usr/i686-w64-mingw32/sys-root/mingw'

View file

@ -10,6 +10,7 @@ strip = '/usr/bin/x86_64-w64-mingw32-strip'
windres = '/usr/bin/x86_64-w64-mingw32-windres'
dlltool = '/usr/bin/x86_64-w64-mingw32-dlltool'
libgcrypt-config = '/usr/x86_64-w64-mingw32/sys-root/mingw/bin/libgcrypt-config'
glib-mkenums = '/usr/x86_64-w64-mingw32/sys-root/mingw/bin/glib-mkenums'
[properties]
root = '/usr/x86_64-w64-mingw32/sys-root/mingw'