Package Details: mingw-w64-glib2 2.82.3-1

Git Clone URL: https://aur.archlinux.org/mingw-w64-glib2.git (read-only, click to copy)
Package Base: mingw-w64-glib2
Description: Low level core library
Upstream URL: https://gitlab.gnome.org/GNOME/glib
Keywords: glib2 gnome gtk gtk2 gtk3 mingw mingw-w64
Licenses: LGPL-2.1-or-later
Submitter: brcha
Maintainer: Martchus
Last Packager: Martchus
Votes: 20
Popularity: 0.000000
First Submitted: 2012-06-13 19:15 (UTC)
Last Updated: 2024-12-10 22:33 (UTC)

Latest Comments

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

xantares commented on 2014-11-18 14:04 (UTC)

no, really just insert the sed line in the prepare section and you'll be fine

riguk commented on 2014-11-18 13:31 (UTC)

thanks, i managed by my own to create the patch and made it works then i discovered that config.h.in was generated as stated in the first lines of the file --' /* config.h.in. Generated from configure.ac by autoheader. */ ... so that's why i couldn't managed to apply your modification. i am currently digging in autoconf documentation to find out how autoheader works.

xantares commented on 2014-11-18 12:33 (UTC)

how to create a patch ? read this: https://wiki.archlinux.org/index.php/Patching_in_ABS or you just use the previous sed I gave previously, read the fraking comments. xan.

riguk commented on 2014-11-18 11:23 (UTC)

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 (UTC)

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 (UTC)

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.

ant32 commented on 2013-10-28 17:03 (UTC)

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