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 2 3 4 5 6 7 8 9 10 Next › Last »

Martchus commented on 2018-01-31 20:22 (UTC) (edited on 2018-01-31 20:22 (UTC) by Martchus)

@xantares You mean the native/Linux executables are under /usr/{i686,x86_64}-w64-mingw32/bin? Those are not so nice, indeed.

However, I'm not sure that removing them is a good idea, too. Maybe some of the packages requiring glib2 need those exe files at build time? If that is true, we could use the same approach as in the Qt packages (put stuff under /usr/x86_64-w64-mingw32/lib/qt/bin and have prefixed symlinks under /usr/bin) or just use the executables from the regular glib2 package. Not sure whether the 2nd option is possible (eg. it would not work for Qt).

xantares commented on 2018-01-31 11:04 (UTC)

Could you cleanup the exe files? xan.

lantw44 commented on 2017-02-26 06:24 (UTC)

Can we add mingw-w64-gettext to depends? libglib-2.0-0.dll needs libintl-8.dll.

drakkan commented on 2017-02-01 23:30 (UTC)

dll.a are ok if you compile with mingw-w64 but if you want to link in visual studio you need a .lib, gstreamer official windows binaries are builded with mingw https://gstreamer.freedesktop.org/documentation/installing/building-from-source-using-cerbero.html and they work with msvc https://gstreamer.freedesktop.org/documentation/installing/on-windows.html .lib are generated this way: https://cgit.freedesktop.org/gstreamer/cerbero/tree/cerbero/ide/vs/genlib.py#n33 I need .lib for glib to be able to link my gstreamer packages in visual studio, I know about c++ but glib is a c library. Actually the only problem is that .lib generated with dlltool in arch don't work with all msvc versions but this could be fixed in future updates, anyway packaging .def files make easier to regenerate the .lib directly on windows using lib.exe

Martchus commented on 2017-02-01 21:57 (UTC)

Why are the contained import libraries not sufficient? Note that import libraries have the extension `dll.a` in mingw-w64 packages (and not `lib`). I would also say that it is not recommend to mix mingw-w64 with msvc. It might work with pure C libs but will fail when using C++.

drakkan commented on 2017-02-01 21:08 (UTC)

please add import library for linking in Visual Studio, patch here: http://195.250.34.59/temp/0001-add-split-package-for-import-lib.patch the generated .lib does not work with all msvc compiler versions anyway having the .def files make easier regenerate the .lib directly on windows using lib.exe instead of dlltool

drakkan commented on 2017-01-11 16:48 (UTC)

Can you please apply the following patch? https://cgit.freedesktop.org/gstreamer/cerbero/tree/recipes/glib/0017-GSocket-Fix-race-conditions-on-Win32-if-multiple-thr.patch

Martchus commented on 2016-08-17 22:15 (UTC)

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

Schala commented on 2016-08-17 22:07 (UTC)

ack, forgot the last part -_-

Martchus commented on 2016-08-13 14:15 (UTC) (edited on 2016-08-13 14:16 (UTC) by Martchus)

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.