ntd / aur-fedora-mingw Goto Github PK
View Code? Open in Web Editor NEWArchLinux PKGBUILDs based on Fedora for cross-buildinging GTK+2 and GTK+3 applications (win32 and win64)
License: MIT License
ArchLinux PKGBUILDs based on Fedora for cross-buildinging GTK+2 and GTK+3 applications (win32 and win64)
License: MIT License
Hi, Thanks very much for your work.
When I launch the script ./build-all x86_64 i have the problem below:
==> ERROR: Failure while downloading http://pkgs.fedoraproject.org/cgit/mingw-zlib.git/plain/mingw32-zlib-1.2.7-autotools.patch?id=2333169c09a99a357b0aaa58e0bd7dfda0932685
Aborting...
Do you have another link to replace this one?
Thanks
The download link for pcre V8.38 is broken: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-$pkgver.tar.bz2
The archive is still available here: https://freefr.dl.sourceforge.net/project/pcre/pcre/8.38/pcre-8.38.tar.bz2
pango will not autoreconf
without the gtk-doc package installed; it should be included in the makedepends.
gtk3 will not autoreconf
without the gobject-introspection package installed; it should be included in the makedepends.
With the current version I cannot introspect my custom library. It worked OK with a previous version of the aur-fedora-mingw project. I get this error message:
libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -mms-bitfields -I/usr/x86_64-w64-mingw32/include/gio-win32-2.0/ -I/usr/x86_64-w64-mingw32/include/glib-2.0 -I/usr/x86_64-w64-mingw32/lib/glib-2.0/include -mms
-bitfields -I/ned/launcher/_inst/usr/local/include -I/usr/x86_64-w64-mingw32/include/glib-2.0 -I/usr/x86_64-w64-mingw32/lib/glib-2.0/include -I../include -I. -I. -I./generated -D_DEBUG -DUNITTEST -mtune=generic -O2 -pipe -fno
-stack-protector -g -std=c99 -Wall -Werror -MT libsfxlog_test_la-helper_file.lo -MD -MP -MF .deps/libsfxlog_test_la-helper_file.Tpo -c helper_file.c -DDLL_EXPORT -DPIC -o .libs/libsfxlog_test_la-helper_file.o
mv -f .deps/libsfxlog_test_la-helper_file.Tpo .deps/libsfxlog_test_la-helper_file.Plo
/bin/sh ../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -mtune=generic -O2 -pipe -fno-stack-protector -g -std=c99 -Wall -Werror -o libsfxlog-test.la libsfxlog_test_la-log.lo libsfxlog_test_la-log_conf.lo libsfxl
og_test_la-log_conf_object.lo libsfxlog_test_la-log_test.lo libsfxlog_test_la-helper.lo libsfxlog_test_la-helper_callback.lo libsfxlog_test_la-helper_file.lo -L/usr/x86_64-w64-mingw32/lib -L/usr/lib -L/usr/x86_64-w64-mingw3
2/lib -lgio-2.0 -lgmodule-2.0 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -L/ned/launcher/_inst/usr/local/lib -L/usr/x86_64-w64-mingw32/lib -lsfx -lsfxconf -lglib-2.0 -lintl ./generated/libsfxlog-generated.la
libtool: link: (cd .libs/libsfxlog-test.lax/libsfxlog-generated.a && x86_64-w64-mingw32-ar x "/tmp/tmp.EVi3Cg6nQI/lib/sfxlog/src/./generated/.libs/libsfxlog-generated.a")
libtool: link: x86_64-w64-mingw32-ar cru .libs/libsfxlog-test.a .libs/libsfxlog_test_la-log.o .libs/libsfxlog_test_la-log_conf.o .libs/libsfxlog_test_la-log_conf_object.o .libs/libsfxlog_test_la-log_test.o .libs/libsfxlog_tes
t_la-helper.o .libs/libsfxlog_test_la-helper_callback.o .libs/libsfxlog_test_la-helper_file.o .libs/libsfxlog-test.lax/libsfxlog-generated.a/libsfxlog_generated_la-sfxlog_helper-enum-types.o .libs/libsfxlog-test.lax/libsfxl
og-generated.a/libsfxlog_generated_la-sfxlog_level-enum-types.o
libtool: link: x86_64-w64-mingw32-ranlib .libs/libsfxlog-test.a
libtool: link: rm -fr .libs/libsfxlog-test.lax
libtool: link: ( cd ".libs" && rm -f "libsfxlog-test.la" && ln -s "../libsfxlog-test.la" "libsfxlog-test.la" )
CPPFLAGS="" CFLAGS="-mtune=generic -O2 -pipe -fno-stack-protector -g -std=c99 -Wall -Werror" LDFLAGS="" CC="x86_64-w64-mingw32-gcc" PKG_CONFIG="x86_64-w64-mingw32-pkg-config" GI_HOST_OS="nt" DLLTOOL="x86_64-w64-mingw32-dlltoo
l" /usr/x86_64-w64-mingw32/bin/g-ir-scanner --namespace=SfxLog --nsversion=1.0 --libtool="/bin/sh ../libtool" --pkg=gio-2.0 --include=Gio-2.0 --library=libsfxlog.la --warn-all --warn-error --identifier-prefix=Sfxlog --s
ymbol-prefix=sfxlog --cflags-begin -mms-bitfields -I/usr/x86_64-w64-mingw32/include/gio-win32-2.0/ -I/usr/x86_64-w64-mingw32/include/glib-2.0 -I/usr/x86_64-w64-mingw32/lib/glib-2.0/include -mms-bitfields -I/ned/launcher/_in
st/usr/local/include -I/usr/x86_64-w64-mingw32/include/glib-2.0 -I/usr/x86_64-w64-mingw32/lib/glib-2.0/include -I../include -I. -I. -I./generated -D_DEBUG --cflags-end ../include/sfxlog_test.h ../include/sfxlog_level.h ../i
nclude/sfxlog_conf.h ../include/sfxlog_error.h ../include/sfxlog_helper_type.h ../include/sfxlog.h log_conf.c log_conf_object.c log.c libsfxlog.la --output SfxLog-1.0.gir
g-ir-scanner: link: /bin/sh ../libtool --mode=link --tag=CC x86_64-w64-mingw32-gcc -o /tmp/tmp.EVi3Cg6nQI/lib/sfxlog/src/tmp-introspect1dHRnT/SfxLog-1.0.exe -Wl,--export-all-symbols -mtune=generic -O2 -pipe -fno-stack-protect
or -g -std=c99 -Wall -Werror tmp-introspect1dHRnT/tmp/tmp.EVi3Cg6nQI/lib/sfxlog/src/tmp-introspect1dHRnT/SfxLog-1.0.o -L. libsfxlog.la -L/usr/x86_64-w64-mingw32/lib -L/usr/lib -L/usr/x86_64-w64-mingw32/lib -lgmodule-2.0 -lgio
-2.0 -lgobject-2.0 -lglib-2.0 -lintl
libtool: link: x86_64-w64-mingw32-gcc -o /tmp/tmp.EVi3Cg6nQI/lib/sfxlog/src/tmp-introspect1dHRnT/.libs/SfxLog-1.0.exe -Wl,--export-all-symbols -mtune=generic -O2 -pipe -fno-stack-protector -g -std=c99 -Wall -Werror tmp-intros
pect1dHRnT/tmp/tmp.EVi3Cg6nQI/lib/sfxlog/src/tmp-introspect1dHRnT/SfxLog-1.0.o -L. ./.libs/libsfxlog.dll.a -L/usr/x86_64-w64-mingw32/lib -L/usr/lib -L/ned/launcher/_inst/usr/local/lib /ned/launcher/_inst/usr/local/lib/libsfx
conf.dll.a /ned/launcher/_inst/usr/local/lib/libsfx.dll.a -lgmodule-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl -L/ned/launcher/_inst/usr/local/lib
Caught exception: <type 'exceptions.OSError'> OSError(8, 'Exec format error')
/usr/lib/python2.7/subprocess.py(1024)_execute_child()
-> raise child_exception
Do you have an idea what's wrong ?
Thank you for your work, it is a big help for cross compiling for windows !
I cannot compile the afm-mingw-w64-gobject-introspection project.
It fails with this error message :
env PATH=".libs:/usr/i686-w64-mingw32/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /usr/bin/env WINEARCH=win32 WINEPREFIX=/opt/afm-mingw-w64-gobject-introspection/src/win32 DISPLAY= /usr/bin/wine ./g-ir-compiler.exe --includedir=/opt/afm-mingw-w64-gobject-introspection/src/gobject-introspection-1.43.92 --includedir=/opt/afm-mingw-w64-gobject-introspection/src/gobject-introspection-1.43.92/gir --includedir=. --includedir=. --includedir=. /opt/afm-mingw-w64-gobject-introspection/src/gobject-introspection-1.43.92/gir/libxml2-2.0.gir -o gir/libxml2-2.0.typelib
Invalid GType function: 'g_date_get_type'
Failed to find symbol 'g_date_get_type'
Command '['/usr/bin/env', 'WINEARCH=win32', 'WINEPREFIX=/opt/afm-mingw-w64-gobject-introspection/src/win32', 'DISPLAY=', '/usr/bin/wine', '/opt/afm-mingw-w64-gobject-introspection/src/gobject-introspection-1.43.92-build-i686-w64-mingw32/tmp-introspectZwwq8C/GLib-2.0.exe', '--introspect-dump=/opt/afm-mingw-w64-gobject-introspection/src/gobject-introspection-1.43.92-build-i686-w64-mingw32/tmp-introspectZwwq8C/functions.txt,/opt/afm-mingw-w64-gobject-introspection/src/gobject-introspection-1.43.92-build-i686-w64-mingw32/tmp-introspectZwwq8C/dump.xml']' returned non-zero exit status 1
env PATH=".libs:/usr/i686-w64-mingw32/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /usr/bin/env WINEARCH=win32 WINEPREFIX=/opt/afm-mingw-w64-gobject-introspection/src/win32 DISPLAY= /usr/bin/wine ./g-ir-compiler.exe --includedir=/opt/afm-mingw-w64-gobject-introspection/src/gobject-introspection-1.43.92 --includedir=/opt/afm-mingw-w64-gobject-introspection/src/gobject-introspection-1.43.92/gir --includedir=. --includedir=. --includedir=. /opt/afm-mingw-w64-gobject-introspection/src/gobject-introspection-1.43.92/gir/xft-2.0.gir -o gir/xft-2.0.typelib
env PATH=".libs:/usr/i686-w64-mingw32/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /usr/bin/env WINEARCH=win32 WINEPREFIX=/opt/afm-mingw-w64-gobject-introspection/src/win32 DISPLAY= /usr/bin/wine ./g-ir-compiler.exe --includedir=/opt/afm-mingw-w64-gobject-introspection/src/gobject-introspection-1.43.92 --includedir=/opt/afm-mingw-w64-gobject-introspection/src/gobject-introspection-1.43.92/gir --includedir=. --includedir=. --includedir=. /opt/afm-mingw-w64-gobject-introspection/src/gobject-introspection-1.43.92/gir/xlib-2.0.gir -o gir/xlib-2.0.typelib
Makefile:3430: recipe for target 'GLib-2.0.gir' failed
make[2]: *** [GLib-2.0.gir] Error 1
fedora-mingw-w64-glib2 has been successfully installed before.
Do you have any clue how to fix this issue ?
Thank you very much !
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.