summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2014-06-09 12:01:35 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2014-06-09 12:01:35 +0200
commit30cad4a41035adf680694f2f873cbac95bac0326 (patch)
tree1d4862cb96048c4ccf8d8b45af60c818ef11ce2b
parent2ced1ae461d0c13f6fe6719fc4a9bbc6485efd4b (diff)
lxmenu-data: fix gnu-gettext changes
-rw-r--r--recipes-lxde/lxmenu-data/lxmenu-data/lxmenu-replace_am_glib_gnu_gettext.patch14
-rw-r--r--recipes-lxde/lxmenu-data/lxmenu-data_0.1.2.bb4
2 files changed, 17 insertions, 1 deletions
diff --git a/recipes-lxde/lxmenu-data/lxmenu-data/lxmenu-replace_am_glib_gnu_gettext.patch b/recipes-lxde/lxmenu-data/lxmenu-data/lxmenu-replace_am_glib_gnu_gettext.patch
new file mode 100644
index 0000000..15eae5a
--- /dev/null
+++ b/recipes-lxde/lxmenu-data/lxmenu-data/lxmenu-replace_am_glib_gnu_gettext.patch
@@ -0,0 +1,14 @@
+--- lxmenu-data-0.1.2/configure.in~ 2011-07-23 22:05:34.000000000 +0200
++++ lxmenu-data-0.1.2/configure.in 2014-04-30 18:20:09.985465810 +0200
+@@ -6,7 +6,10 @@
+ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Name of default gettext domain])
+ AC_SUBST(GETTEXT_PACKAGE)
+
+-AM_GLIB_GNU_GETTEXT
++#AM_GLIB_GNU_GETTEXT
++#http://blogs.gnome.org/jjardon/2010/10/08/use-upstream-gettext-instead-the-glib-one/
++AM_GNU_GETTEXT([external])
++AM_GNU_GETTEXT_VERSION([0.17])
+
+ IT_PROG_INTLTOOL([0.40.0])
+
diff --git a/recipes-lxde/lxmenu-data/lxmenu-data_0.1.2.bb b/recipes-lxde/lxmenu-data/lxmenu-data_0.1.2.bb
index 9969a67..f0e06fe 100644
--- a/recipes-lxde/lxmenu-data/lxmenu-data_0.1.2.bb
+++ b/recipes-lxde/lxmenu-data/lxmenu-data_0.1.2.bb
@@ -7,7 +7,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b99dd46479fb9eb2899071cd03f6cb86"
DEPENDS = "intltool-native"
-SRC_URI = "${SOURCEFORGE_MIRROR}/lxde/${PN}-${PV}.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/lxde/${PN}-${PV}.tar.gz \
+ file://lxmenu-replace_am_glib_gnu_gettext.patch \
+"
SRC_URI[md5sum] = "2184ab3746d572477f1bea7e98e230a8"
SRC_URI[sha256sum] = "34c285a0430404e815263a4bb33a79eb47b168c56469be0f7ffb19730a57a045"