Package Details: mingw-w64-glib2 2.66.3-1

Git Clone URL: (read-only, click to copy)
Package Base: mingw-w64-glib2
Description: Low level core library (mingw-w64)
Upstream URL:
Keywords: glib2 gnome gtk gtk2 gtk3 mingw mingw-w64
Licenses: LGPL2.1
Submitter: brcha
Maintainer: drakkan
Last Packager: drakkan
Votes: 19
Popularity: 0.000691
First Submitted: 2012-06-13 19:15
Last Updated: 2020-11-27 09:00

Latest Comments

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

xantares commented on 2014-11-18 12:33

how to create a patch ? read this:

or you just use the previous sed I gave previously, read the fraking comments.


riguk commented on 2014-11-18 11:23


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

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 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/ 2014-11-18 11:37:41.519237600 +0100
+++ glib-2.42.0/ 2014-11-18 11:38:01.253364100 +0100
@@ -193,7 +193,7 @@

/* Define to 1 if you have the `if_nametoindex' function. */

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

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

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"

xantares commented on 2014-11-01 17:24

the builds fails, I suspect the new mingw-crt 3.3.0 provides if_nametoindex (netioapi.h) and it's not properly detected:

xantares commented on 2014-10-31 09:56


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 and PKGBUILD
View Changes
This will be used in the mingw-w64 repo

ant32 commented on 2013-10-14 23:39

Updated src tarball to 2.38.0 and PKGBUILD & patches
View Changes

xantares commented on 2013-10-07 17:41

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