Package Details: mingw-w64-glib2 2.48.2-1

Git Clone URL: https://aur.archlinux.org/mingw-w64-glib2.git (read-only)
Package Base: mingw-w64-glib2
Description: Common C routines used by GTK+ and other libs (mingw-w64)
Upstream URL: http://www.gtk.org/
Keywords: glib2 gnome gtk mingw mingw-w64
Licenses: LGPL
Submitter: brcha
Maintainer: Schala
Last Packager: Schala
Votes: 13
Popularity: 0.085956
First Submitted: 2012-06-13 19:15
Last Updated: 2016-08-28 08:19

Sources (8)

  • 0001-Use-CreateFile-on-Win32-to-make-sure-g_unlink-always.patch
  • 0003-g_abort.all.patch
  • 0004-glib-prefer-constructors-over-DllMain.patch
  • 0027-no_sys_if_nametoindex.patch
  • 0028-inode_directory.patch
  • http://ftp.gnome.org/pub/GNOME/sources/glib/2.48/glib-2.48.2.tar.xz
  • revert-warn-glib-compile-schemas.patch
  • use-pkgconfig-file-for-intl.patch

Latest Comments

Martchus commented on 2016-08-17 22:15

You've just reminded me to push the commit to mingw-w64-gettext.

Schala commented on 2016-08-17 22:07

ack, forgot the last part -_-

Martchus commented on 2016-08-13 14:15

pnyetmja: I will fix this problem with the static Qt package in the next update. To avoid hard coding I will use pkgconfig.

However, this package would need a slight fix to make it work: https://github.com/Martchus/PKGBUILDs/blob/master/glib2/mingw-w64/use-pkgconfig-file-for-intl.patch
This is because the bug pnyetmja already mentioned: https://github.com/Alexpux/MINGW-packages/issues/744
But please do not include this fix until the pkgconfig file for intl is included in mingw-w64-gettext.

pnyetmja commented on 2015-09-26 13:33

Adding -liconv after -lintl in qmake.conf solves problem
Thank you

pnyetmja commented on 2015-09-26 13:25

Adding -liconv after -lintl to qmake.conf solves problem.

ant32 commented on 2015-09-25 03:12

Manually adding libraries in the .pro file will probably add it in the wrong place in your case. Linking needs to be done in the right order. You can sometimes further debug the issue by modifying the last command executed.I'm guessing it needs to go after -lglib-2.0 or -lintl.

To make this permanent you'll need to add it in
/usr/x86_64-w64-mingw32/lib/qt/mkspecs/win32-g++/qmake.conf
just search for 'glib' in the file.
If you get it working please let us know how you did it.

pnyetmja commented on 2015-09-24 21:39

I've installed packages from this repo

http://downloads.sourceforge.net/project/mingw-w64-archlinux/$arch

And tried to compile statically simple qt gui project but I got that error

Build with shared libs succeeds

Also I manually added LIBS += -L/usr/x86_64-w64-mingw32/lib -liconv to Qt .pro file but static build failed.
That dir contains libs for windows, I suppose?

pnyetmja commented on 2015-09-24 21:38

I've installed packages from this repo

http://downloads.sourceforge.net/project/mingw-w64-archlinux/$arch

And tried to compile statically simple qt gui project then I got that error

Build with shared libs succeeds

Also I manually added LIBS += -L/usr/x86_64-w64-mingw32/lib -liconv to Qt .pro file but static build failed.
That dir contains libs for windows, I suppose?

Schala commented on 2015-09-24 17:55

Also, I'd rather wait to update glib2 until official repo updates. I've gotten complaints before for not following official repo version. It's in testing at the moment though.

Schala commented on 2015-09-24 17:53

Weird. libiconv should be installed with gettext. Which libiconv are you using? libiconv or win-iconv?

All comments