| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
With the newly added glib.mk, some of the noinst_* variables need to use
+= in the evaluation to avoid multiple definition warnings from
automake.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
On non-glibc systems a charset.alias file is installed, but we don't
need this for our purposes.
|
|
|
|
|
|
|
| |
If dtrace or systemtap is installed glib will enable tracing
automatically. Remove the check to always disable tracing.
Freedesktop #53493
|
|
|
|
| |
Freedesktop #52031
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
There doesn't appear to be any changes in the code pkg-config uses. Just
keeping in sync.
|
|
|
|
| |
One less thing for people to worry about with bundled glib.
|
|
|
|
|
| |
Since we're building only glib, we don't need any of the auxiliary
tools.
|
|
|
|
| |
Fixes distcheck.
|
| |
|
|
|
|
|
| |
A libelf pkg-config check creeped in, but it's only used in gio so we
can remove the libelf check completely.
|
|
|
|
|
| |
The whole exercise of carrying an internal copy of glib to avoid the
circular dependency is moot if it's still using pkg-config.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
All we want is the libglib.la convenience library. The -version-info is
removed since it causes warnings.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Drop the embedded glib, the associated patches and adjust build
scripts appropriately.
|
|
|
|
|
| |
* Update to glib 1.2.10, adjust lots of the glib patches. Gnome
#81847.
|
| |
|
|
|
|
|
| |
there to get strsignal prototype, addresses the rest of
Freedesktop 10652.
|
| |
|
|
|
|
| |
glib-patches.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
Author: tfheen
Date: 2005-02-21 07:35:17 GMT
bump auto* versions and add patches for glib to work correctly with them
|