summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2010-05-16 14:24:45 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2010-05-16 14:24:45 (GMT)
commit562a98d76b0bf156888c99ddf0980d6b6c327e8c (patch)
tree8e4d133c814b6ab2244273a331d925e160c00df1
parent5f58e8d3738c3dd5a54227fc06317e4999da8d36 (diff)
downloadmxe-562a98d76b0bf156888c99ddf0980d6b6c327e8c.zip
mxe-562a98d76b0bf156888c99ddf0980d6b6c327e8c.tar.gz
mxe-562a98d76b0bf156888c99ddf0980d6b6c327e8c.tar.bz2
improved patches of package glib
-rw-r--r--src/glib-1-no-gtk-doc-check.patch15
-rw-r--r--src/glib-1-win32.patch29
-rw-r--r--src/glib-2-optional-gettext.patch39
-rw-r--r--src/glib-3-fix-tool-paths.patch (renamed from src/glib-2-fix-tool-paths.patch)6
4 files changed, 57 insertions, 32 deletions
diff --git a/src/glib-1-no-gtk-doc-check.patch b/src/glib-1-no-gtk-doc-check.patch
new file mode 100644
index 0000000..4cc5e1e
--- /dev/null
+++ b/src/glib-1-no-gtk-doc-check.patch
@@ -0,0 +1,15 @@
+This file is part of mingw-cross-env.
+See doc/index.html for further information.
+
+diff -r eabdfe3e0f05 configure.in
+--- a/configure.in Sun May 16 15:52:08 2010 +0200
++++ b/configure.in Sun May 16 15:54:07 2010 +0200
+@@ -2748,8 +2748,6 @@
+ dnl *** Checks for gtk-doc ***
+ dnl **************************
+
+-GTK_DOC_CHECK([1.11])
+-
+ AC_ARG_ENABLE(man,
+ [AC_HELP_STRING([--enable-man],
+ [regenerate man pages from Docbook [default=no]])],enable_man=yes,
diff --git a/src/glib-1-win32.patch b/src/glib-1-win32.patch
deleted file mode 100644
index 238452f..0000000
--- a/src/glib-1-win32.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-This file is part of mingw-cross-env.
-See doc/index.html for further information.
-
-diff -ru glib-2.23.4.orig/configure.in glib-2.23.4/configure.in
---- glib-2.23.4.orig/configure.in 2010-02-21 21:54:55.000000000 +0100
-+++ glib-2.23.4/configure.in 2010-02-23 17:44:18.000000000 +0100
-@@ -476,13 +476,6 @@
- AC_SUBST([CONFIG_STATUS_DEPENDENCIES],['$(top_srcdir)/po/LINGUAS'])
- GLIB_GNU_GETTEXT
-
--if test "$gt_cv_have_gettext" != "yes" ; then
-- AC_MSG_ERROR([
--*** You must have either have gettext support in your C library, or use the
--*** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html
--])
--fi
--
- LIBS="$INTLLIBS $LIBS"
-
- GETTEXT_PACKAGE=glib20
-@@ -2748,8 +2741,6 @@
- dnl *** Checks for gtk-doc ***
- dnl **************************
-
--GTK_DOC_CHECK([1.11])
--
- AC_ARG_ENABLE(man,
- [AC_HELP_STRING([--enable-man],
- [regenerate man pages from Docbook [default=no]])],enable_man=yes,
diff --git a/src/glib-2-optional-gettext.patch b/src/glib-2-optional-gettext.patch
new file mode 100644
index 0000000..7f1db08
--- /dev/null
+++ b/src/glib-2-optional-gettext.patch
@@ -0,0 +1,39 @@
+This file is part of mingw-cross-env.
+See doc/index.html for further information.
+
+diff -r 0afda95c1aa4 configure.in
+--- a/configure.in Sun May 16 15:54:15 2010 +0200
++++ b/configure.in Sun May 16 16:07:08 2010 +0200
+@@ -477,8 +477,8 @@
+ GLIB_GNU_GETTEXT
+
+ if test "$gt_cv_have_gettext" != "yes" ; then
+- AC_MSG_ERROR([
+-*** You must have either have gettext support in your C library, or use the
++ AC_MSG_WARN([
++*** You should either have gettext support in your C library, or use the
+ *** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html
+ ])
+ fi
+diff -r f084585629df gio/gsettings.c
+--- a/gio/gsettings.c Tue Apr 27 23:13:34 2010 +0200
++++ b/gio/gsettings.c Tue Apr 27 23:17:47 2010 +0200
+@@ -782,16 +782,13 @@
+ const gchar *translated;
+ GError *error = NULL;
+ const gchar *domain;
+- gint lc_category;
+
+ domain = g_settings_schema_get_gettext_domain (settings->priv->schema);
+
+ if (lc_char == 't')
+- lc_category = LC_TIME;
++ translated = dcgettext (domain, unparsed, LC_TIME);
+ else
+- lc_category = LC_MESSAGES;
+-
+- translated = dcgettext (domain, unparsed, lc_category);
++ translated = dgettext (domain, unparsed);
+
+ if (translated != unparsed)
+ /* it was translated, so we need to re-parse it */
diff --git a/src/glib-2-fix-tool-paths.patch b/src/glib-3-fix-tool-paths.patch
index 6273410..90683e6 100644
--- a/src/glib-2-fix-tool-paths.patch
+++ b/src/glib-3-fix-tool-paths.patch
@@ -1,9 +1,9 @@
This file is part of mingw-cross-env.
See doc/index.html for further information.
-diff -ru glib-2.23.2.orig/glib-2.0.pc.in glib-2.23.2/glib-2.0.pc.in
---- glib-2.23.2.orig/glib-2.0.pc.in 2009-04-01 01:04:20.000000000 +0200
-+++ glib-2.23.2/glib-2.0.pc.in 2010-02-07 23:58:08.000000000 +0100
+diff -r ed58be46e216 glib-2.0.pc.in
+--- a/glib-2.0.pc.in Sun May 16 16:07:16 2010 +0200
++++ b/glib-2.0.pc.in Sun May 16 16:07:35 2010 +0200
@@ -3,9 +3,9 @@
libdir=@libdir@
includedir=@includedir@