Package Details: mingw-w64-glib2 2.62.2-1

Git Clone URL: https://aur.archlinux.org/mingw-w64-glib2.git (read-only)
Package Base: mingw-w64-glib2
Description: Low level core library (mingw-w64)
Upstream URL: https://wiki.gnome.org/Projects/GLib
Keywords: glib2 gnome gtk gtk2 gtk3 mingw mingw-w64
Licenses: LGPL2.1
Submitter: brcha
Maintainer: drakkan
Last Packager: drakkan
Votes: 19
Popularity: 0.40
First Submitted: 2012-06-13 19:15
Last Updated: 2019-10-27 07:06

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

riguk commented on 2014-11-18 11:23

hi,

you are right xantares, how could we solve this ? i need glib at work and i am ready to spend some time to get it work!

./configure output says:
checking for if_indextoname...no

but that should be yes because this function is declared in system headers:

grep -r if_nametoindex /usr/include/
/usr/include/cygwin/if.h:extern unsigned if_nametoindex (const char *);
/usr/include/cygwin/version.h: 162: New struct ifreq. Export if_nametoindex, if_indextoname,
/usr/include/w32api/netioapi.h:NET_IFINDEX WINAPI if_nametoindex(

i don't known why AC_CHECK_FUNCS( if_nametoindex if_indextoname) in configure.ac:1033 does not work.

best correction would be to make it work. but that's beyond my abilities.
a work around is to create add a patch like this:

cat 0026-fix-if-nametoindex-detection.patch
--- glib-2.42.0/config.h.in.orig 2014-11-18 11:37:41.519237600 +0100
+++ glib-2.42.0/config.h.in 2014-11-18 11:38:01.253364100 +0100
@@ -193,7 +193,7 @@
#undef HAVE_IF_INDEXTONAME

/* Define to 1 if you have the `if_nametoindex' function. */
-#undef HAVE_IF_NAMETOINDEX
+#define HAVE_IF_NAMETOINDEX 1

/* Define to 1 if you have the `inotify_init1' function. */
#undef HAVE_INOTIFY_INIT1


but i can't manage to get it work! does somebody can explain to me how to create a patch for makepkg-minggw ?
riguk.

xantares commented on 2014-11-01 20:10

If I force the detection build is ok, but that's not clean:
sed -i "s|#undef HAVE_IF_NAMETOINDEX|#define HAVE_IF_NAMETOINDEX 1|g" config.h.in

xantares commented on 2014-11-01 17:24

hello,
the builds fails, I suspect the new mingw-crt 3.3.0 provides if_nametoindex (netioapi.h) and it's not properly detected:
https://gist.github.com/xantares/ad9bcfa496ca46ebe0b0
xan.

xantares commented on 2014-10-31 09:56

hi,

i've got an error:

CC libgio_2_0_la-gsocketaddressenumerator.lo
CC libgio_2_0_la-gsocketclient.lo
CC libgio_2_0_la-gsocketconnectable.lo
CC libgio_2_0_la-gsocketconnection.lo
CC libgio_2_0_la-gsocketcontrolmessage.lo
CC libgio_2_0_la-gsocketinputstream.lo
CC libgio_2_0_la-gsocketlistener.lo
CC libgio_2_0_la-gsocketoutputstream.lo
CC libgio_2_0_la-gsubprocesslauncher.lo
../../gio/gsocket.c:1934:1: error: conflicting types for 'if_nametoindex'
if_nametoindex (const gchar *iface)
^
In file included from /usr/i686-w64-mingw32/include/iphlpapi.h:16:0,
from ./gnetworking.h:35,
from ../../gio/gnetworkingprivate.h:22,
from ../../gio/gsocket.c:60:
/usr/i686-w64-mingw32/include/netioapi.h:319:20: note: previous declaration of 'if_nametoindex' was here
NET_IFINDEX WINAPI if_nametoindex(
^
CC libgio_2_0_la-gsubprocess.lo
Makefile:2804: recipe for target 'libgio_2_0_la-gsocket.lo' failed
make[4]: *** [libgio_2_0_la-gsocket.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/tmp/yaourt-tmp-root/aur-mingw-w64-glib2/src/glib-2.42.0/build-i686-w64-mingw32-static/gio'
Makefile:3932: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/tmp/yaourt-tmp-root/aur-mingw-w64-glib2/src/glib-2.42.0/build-i686-w64-mingw32-static/gio'
Makefile:1762: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/tmp/yaourt-tmp-root/aur-mingw-w64-glib2/src/glib-2.42.0/build-i686-w64-mingw32-static/gio'
Makefile:1206: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-root/aur-mingw-w64-glib2/src/glib-2.42.0/build-i686-w64-mingw32-static'
Makefile:847: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().

Schala commented on 2013-10-31 21:01

Thank you Thank you!!!

ant32 commented on 2013-10-28 17:03

ant32 commented on 2013-10-28 17:03

Fixed src tarball and updated to 2.38.1 https://dl.dropboxusercontent.com/u/33784287/aur/mingw-w64-glib2-2.38.1-1.src.tar.gz and PKGBUILD https://github.com/ant32/pkgbuild/tree/master/mingw-w64-glib2
View Changes https://github.com/ant32/pkgbuild/commits/master/mingw-w64-glib2
This will be used in the mingw-w64 repo https://sourceforge.net/p/mingw-w64-archlinux/wiki

ant32 commented on 2013-10-14 23:39

Updated src tarball to 2.38.0 https://dl.dropboxusercontent.com/u/33784287/aur/mingw-w64-glib2-2.38.0-1.src.tar.gz and PKGBUILD & patches https://github.com/ant32/pkgbuild/tree/master/mingw-w64-glib2
View Changes https://github.com/ant32/pkgbuild/commits/master/mingw-w64-glib2

xantares commented on 2013-10-07 17:41

Hi,
There are useless libtool (.la) files in arch/lib, please add !libtool option
x.

xantares commented on 2013-10-07 12:36

Hi,
There are useless libtool (.la) files in arch/lib
x.