summaryrefslogtreecommitdiff
path: root/glib-patches
Commit message (Collapse)AuthorAgeFilesLines
* glib: Fix bundled build with GCC 6Dan Nicholson2017-03-203-0/+81
| | | | | | | | Backport two patches from upstream glib to handle -Wformat-nonliteral included by default with GCC 6. Ideally the snapshot should be updated, but this fix the issue until that happens. https://bugs.freedesktop.org/show_bug.cgi?id=95326
* glib: Fix OSX build with internal glibDan Nicholson2016-03-012-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the last internal glib update, the glib configure script changed the OSX framework flags from the form of "-framework Foo" to "-Wl,framework,Foo". Unfortunately, libtool only understands the prior form and doesn't include the appropriate -framework flags in the libglib-2.0.la file. This ultimately causes pkg-config to fail to link properly: Undefined symbols for architecture x86_64: "_CFRelease", referenced from: _find_folder in libglib-2.0.a(libglib_2_0_la-gutils.o) "_CFStringGetCString", referenced from: _find_folder in libglib-2.0.a(libglib_2_0_la-gutils.o) "_CFStringGetCStringPtr", referenced from: _find_folder in libglib-2.0.a(libglib_2_0_la-gutils.o) "_CFStringGetLength", referenced from: _find_folder in libglib-2.0.a(libglib_2_0_la-gutils.o) "_CFURLCopyFileSystemPath", referenced from: _find_folder in libglib-2.0.a(libglib_2_0_la-gutils.o) "_CFURLCreateFromFSRef", referenced from: _find_folder in libglib-2.0.a(libglib_2_0_la-gutils.o) "_FSFindFolder", referenced from: _find_folder in libglib-2.0.a(libglib_2_0_la-gutils.o) "_kCFAllocatorSystemDefault", referenced from: _find_folder in libglib-2.0.a(libglib_2_0_la-gutils.o) ld: symbol(s) not found for architecture x86_64 Upstream has fixed this by including the new style -framework flags in the glib-2.0.pc file. We can't use that here as we're bootstrapping pkg-config itself. Rather than work around this with an OSX platform check in pkg-config's configure, carry a downstream patch to revert glib's configure to using the old format. https://bugs.freedesktop.org/show_bug.cgi?id=92902
* glib: Fix Makefiles to suppress warnings from automakeDan Nicholson2014-02-031-4/+4
| | | | | | With the newly added glib.mk, some of the noinst_* variables need to use += in the evaluation to avoid multiple definition warnings from automake.
* glib: Update snapshot version to 2.38.2Dan Nicholson2014-02-037-195/+313
| | | | | | | | This is the latest stable release from upstream. Patches have been refreshed, including putting the removal of most pkg-config checks into the glib-only patch. A few more files, most notably the large NEWS file, have also been removed from the repo to keep the size of the snapshot down.
* glib: Update snapshot to 2.32.4Dan Nicholson2012-08-222-5/+5
| | | | | | This gets us to the latest stable release for glib and probably a good stopping point for a while since the 2.32 series seems to be slowing down.
* glib: Really force static only buildingDan Nicholson2012-08-211-7/+10
| | | | | | | | Making --enable-static --disable-shared the default fixes most cases, but build environments often pass --enable-shared --disable-static for all autotooled projects. Force static building by setting the appropriate variables as if they've come from the command line parameters.
* glib: Fix static usage of glib on win32Dan Nicholson2012-08-172-0/+33
| | | | | | | | When glib is built static, the threads and clock code are not initialized since DllMain is never run. Instead, initialize them from the glib constructor. https://bugzilla.gnome.org/show_bug.cgi?id=678387
* glib: Remove usage of gettext/libintl/iconvDan Nicholson2012-08-172-0/+43
| | | | | | | | | | | | | | | pkg-config doesn't use message translation, so there's no need to build it into the bundled glib. Furthermore, when not using glibc, this drags in extra dependencies on gettext, libintl and iconv. Remove their usage in two steps: 1. Don't include libintl.h directly from code. glibintl.h conditionalizes the include of libintl.h based on the ENABLE_NLS define and creates fallback macros when it's unwanted. 2. Remove the usage of the gettext macros in glib's configure.ac. This ensures that the unwanted dependencies aren't searched for. Two defines are kept around to keep the code happy.
* glib: Ensure only static build is performedDan Nicholson2012-08-172-0/+14
| | | | | | | Since we're going to use glib as a convenience library, we need to make sure it builds as if --enable-static was passed. This only matters on Windows where a couple extra macros are defined and the DLL machinery is disabled.
* glib: Don't install charset.alias fileDan Nicholson2012-08-161-0/+36
| | | | | On non-glibc systems a charset.alias file is installed, but we don't need this for our purposes.
* glib: Remove check for tracing supportDan Nicholson2012-08-142-11/+68
| | | | | | | If dtrace or systemtap is installed glib will enable tracing automatically. Remove the check to always disable tracing. Freedesktop #53493
* glib: Don't install m4 macrosDan Nicholson2012-08-131-0/+10
| | | | Freedesktop #52031
* glib: Restore gettext with libintl supportDan Nicholson2012-06-041-19/+8
| | | | | | Until the needed surgery is done to remove gettext support from the internal glib (since pkg-config doesn't need it), make sure that libintl is linked in when necessary.
* glib: Update snapshot to 2.32.3Dan Nicholson2012-06-042-5/+7
| | | | | There doesn't appear to be any changes in the code pkg-config uses. Just keeping in sync.
* glib: Remove check for FAM only needed in GIODan Nicholson2012-05-141-4/+42
| | | | One less thing for people to worry about with bundled glib.
* Ease glib cross-compiling requirementsDan Nicholson2012-05-142-0/+36
| | | | | Since we're building only glib, we don't need any of the auxiliary tools.
* Make sure glib really doesn't need the gdb scriptDan Nicholson2012-05-141-8/+19
| | | | Fixes distcheck.
* glib: Keep a few more programs from being installed or generatedDan Nicholson2012-05-102-19/+42
|
* glib: Update snapshot to 2.32.2Dan Nicholson2012-05-102-5/+34
| | | | | A libelf pkg-config check creeped in, but it's only used in gio so we can remove the libelf check completely.
* glib: Avoid pkg-config usage in bundled libraryDan Nicholson2012-04-212-0/+52
| | | | | The whole exercise of carrying an internal copy of glib to avoid the circular dependency is moot if it's still using pkg-config.
* glib: Don't build GRegex or distribute pcreDan Nicholson2012-04-212-0/+161
| | | | | | In order to avoid the bundled pcre in our bundled glib, just remove and disable the GRegex API. We don't currently need this in pkg-config anyway.
* glib: Set automake to foreign so it doesn't bomb on missing filesDan Nicholson2012-04-212-1/+14
|
* glib: Don't install anything from the bundled libraryDan Nicholson2012-04-212-0/+132
| | | | | All we want is the libglib.la convenience library. The -version-info is removed since it causes warnings.
* glib: Remove as many unneeded files as possibleDan Nicholson2012-04-212-0/+362
| | | | | | | | | | | | | We just want to be able to build glib from the within the pkg-config tree. Everything else is just extra weight and is better used from an actual glib checkout. Unnecessary files include: * documentation * translations * tests * ChangeLogs * non-autotools win32 build files * various other build and/or internal files
* glib: Add a script to take a snapshot of glib-2.0Dan Nicholson2012-04-213-0/+126
| | | | | | Grab a snapshot of a tag from a local glib checkout, remove a bunch of files and apply some patches. The idea is to make the snapshot of glib be repeatable.
* Stop shipping an embedded glibTollef Fog Heen2011-04-1317-4176/+0
| | | | | Drop the embedded glib, the associated patches and adjust build scripts appropriately.
* 2007-12-29 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2007-12-2910-24/+81
| | | | | * Update to glib 1.2.10, adjust lots of the glib patches. Gnome #81847.
* Fix typo.Tollef Fog Heen2007-06-181-2/+2
|
* * glib-patches/remove-strsignal-prototype.diff: define _GNU_SOURCETollef Fog Heen2007-06-181-0/+11
| | | | | there to get strsignal prototype, addresses the rest of Freedesktop 10652.
* * glib-patches/no-dist-distclean-files.diff: Fix prefix.Tollef Fog Heen2007-06-181-2/+2
|
* Fix automake-warning.diff to not patch on top of another patch fromTollef Fog Heen2007-06-182-10/+1
| | | | glib-patches.
* Fix path prefix so it applies.Tollef Fog Heen2007-06-182-4/+4
|
* 2007-02-25 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2007-02-253-0/+81
| | | | | | | | | | | | * Makefile.am: Add support for using the system glib. Thanks to Peter Breitenlohner for the bug and the patch. Freedesktop #9708 * configure.in: Add support for using the system glib. * glib-patches/no-dist-distclean-files.diff, glib-patches/automake-warning.diff, glib-patches/autoconf-warning.diff: Get rid of some warnings when configuring glib.
* 2005-06-26 Tollef Fog Heen <tfheen@err.no>Arch Librarian2005-07-141-0/+13
| | | | | | | | | | Author: tfheen Date: 2005-06-26 18:42:54 GMT 2005-06-26 Tollef Fog Heen <tfheen@err.no> * glib-patches/configure.in-fd_set.diff: Patch to grep for fd_set rather than fd_mask. Thanks to David Wolfe for the fix. This should make pkg-config happier on QNX.
* 2005-04-02 Tollef Fog Heen <tfheen@err.no>Arch Librarian2005-07-141-0/+10
| | | | | | | | | | Author: tfheen Date: 2005-04-02 17:25:48 GMT 2005-04-02 Tollef Fog Heen <tfheen@err.no> * glib-patches/remove-strsignal-prototype.diff: Remove strsignal prototype from gstrfuncs.c, it is included in string.h. This fixes a compilation issue on cygwin. (Freedesktop #2598)
* 2005-04-02 Tollef Fog Heen <tfheen@err.no>Arch Librarian2005-07-141-3/+3
| | | | | | | | | Author: tfheen Date: 2005-04-02 17:24:53 GMT 2005-04-02 Tollef Fog Heen <tfheen@err.no> * glib-patches/distcheckfix.diff: Move glibconfig.h.win32 and config.h.win32 too.
* 2005-04-02 Tollef Fog Heen <tfheen@err.no>Arch Librarian2005-07-141-2/+4
| | | | | | | | | Author: tfheen Date: 2005-04-02 15:17:09 GMT 2005-04-02 Tollef Fog Heen <tfheen@err.no> * glib-patches/distcheckfix.diff: Move glibconfig-sysdefs.h and glibconfig.h to DISTCLEANFILES since they're made by configure.
* 2005-04-02 Tollef Fog Heen <tfheen@err.no>Arch Librarian2005-07-141-6/+2
| | | | | | | | | | Author: tfheen Date: 2005-04-01 22:06:47 GMT 2005-04-02 Tollef Fog Heen <tfheen@err.no> * glib-patches/mkinstalldirs.update.diff: cvs admin -ko to avoid having the Id CVS keyword being expanded, which broke the application of the patch.
* 2005-03-28 Tollef Fog Heen <tfheen@err.no>Arch Librarian2005-07-141-0/+17
| | | | | | | | | Author: tfheen Date: 2005-03-28 15:49:23 GMT 2005-03-28 Tollef Fog Heen <tfheen@err.no> * glib-patches/distcheckfix.diff: Add some files to CLEANFILES so make distcheck now works.
* 2005-03-28 Tollef Fog Heen <tfheen@err.no>Arch Librarian2005-07-142-3/+7
| | | | | | | | | | | | | | | Author: tfheen Date: 2005-03-28 14:21:23 GMT 2005-03-28 Tollef Fog Heen <tfheen@err.no> * autogen.sh: Extra paranoia -- fail if running auto* fails or if patching fails. * glib-patches/mkinstalldirs.update.diff: Update patch so it applies cleanly * glib-patches/pthread-config-fix.diff: adjust offsets so patch is quiet again
* 2005-03-18 Tollef Fog Heen <tfheen@err.no>Arch Librarian2005-07-141-0/+18
| | | | | | | | | | Author: tfheen Date: 2005-03-18 08:04:33 GMT 2005-03-18 Tollef Fog Heen <tfheen@err.no> * glib-patches/pthread-config-fix.diff: Add patch to detect pthreads properly on some architectures. Thanks to Michael Haubenwallner for reporting this bug and providing a patch.
* bump auto* versions and add patches for glib to work co...Arch Librarian2005-07-149-0/+3976
Author: tfheen Date: 2005-02-21 07:35:17 GMT bump auto* versions and add patches for glib to work correctly with them