summaryrefslogtreecommitdiffstats
path: root/rules/glib.make
diff options
context:
space:
mode:
Diffstat (limited to 'rules/glib.make')
-rw-r--r--rules/glib.make47
1 files changed, 39 insertions, 8 deletions
diff --git a/rules/glib.make b/rules/glib.make
index 4b69cf10f..ef37242ea 100644
--- a/rules/glib.make
+++ b/rules/glib.make
@@ -18,11 +18,11 @@ PACKAGES-$(PTXCONF_GLIB) += glib
#
# Paths and names
#
-ifdef PTXCONF_GLIB__VERSION_2_14
-GLIB_VERSION := 2.14.5
+ifdef PTXCONF_GLIB__VERSION_2_18
+GLIB_VERSION := 2.18.4
endif
ifdef PTXCONF_GLIB__VERSION_2_19
-GLIB_VERSION := 2.19.5
+GLIB_VERSION := 2.19.10
endif
GLIB := glib-$(GLIB_VERSION)
@@ -31,7 +31,7 @@ GLIB_SOURCE := $(SRCDIR)/$(GLIB).$(GLIB_SUFFIX)
GLIB_DIR := $(BUILDDIR)/$(GLIB)
GLIB_URL := \
- http://ftp.gtk.org/pub/glib/2.14/glib-$(GLIB_VERSION).$(GLIB_SUFFIX) \
+ http://ftp.gtk.org/pub/glib/2.18/glib-$(GLIB_VERSION).$(GLIB_SUFFIX) \
http://ftp.gtk.org/pub/glib/2.19/glib-$(GLIB_VERSION).$(GLIB_SUFFIX)
# ----------------------------------------------------------------------------
@@ -51,14 +51,29 @@ GLIB_PATH := PATH=$(CROSS_PATH)
GLIB_ENV := \
$(CROSS_ENV) \
glib_cv_uscore=no \
- glib_cv_stack_grows=no
+ glib_cv_stack_grows=no \
+ ac_cv_func_posix_getgrgid_r=yes
#
# autoconf
#
GLIB_AUTOCONF := \
$(CROSS_AUTOCONF_USR) \
- --enable-static
+ --enable-threads \
+ --with-threads=posix \
+ --enable-static \
+ --enable-shared \
+ --disable-selinux \
+ --disable-gtk-doc \
+ --disable-man \
+ --disable-gc-friendly \
+ --disable-fast-install \
+ --disable-libtool-lock \
+ --disable-included-printf \
+ --disable-fam \
+ --disable-xattr \
+ --with-gnu-ld \
+ --with-pcre=internal
ifdef PTXCONF_GLIB__LIBICONV_GNU
GLIB_AUTOCONF += --with-libiconv=gnu
@@ -67,12 +82,28 @@ ifdef PTXCONF_GLIB__LIBICONV_NATIVE
GLIB_AUTOCONF += --with-libiconv=native
endif
+# --enable-debug=[no/minimum/yes]
+# turn on debugging [default=minimum]
+# --disable-mem-pools disable all glib memory pools
+# --disable-rebuilds disable all source autogeneration rules
+# --disable-visibility don't use ELF visibility attributes
+# --disable-largefile omit support for large files
+# --enable-iconv-cache=[yes/no/auto]
+# cache iconv descriptors [default=auto]
+# --disable-regex disable the compilation of GRegex
+#
+# --with-pic try to use only PIC/non-PIC objects [default=use
+# both]
+# --with-gio-module-dir=PATH
+# Load gio modules from this directory
+# [LIBDIR/gio/modules]
+
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
-ifdef PTXCONF_GLIB__VERSION_2_14
-GLIB_LIB_VERSION := 0.1400.5
+ifdef PTXCONF_GLIB__VERSION_2_18
+GLIB_LIB_VERSION := 0.1800.4
endif
ifdef PTXCONF_GLIB__VERSION_2_19
GLIB_LIB_VERSION := 0.1905.0