diff options
author | Saul Wold <sgw@linux.intel.com> | 2011-12-19 08:41:25 -0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2011-12-21 23:50:22 -0800 |
commit | 9d634d7fa355918d42f5279bc2a62c183027f5fd (patch) | |
tree | 5b4b54f2f24dd8ee921bdf5ad0177df28a0ff3c0 /meta | |
parent | 3282c5844ddce4bd7c79f3ff38a2d52cd9327a61 (diff) | |
download | openembedded-core-9d634d7fa355918d42f5279bc2a62c183027f5fd.tar.gz openembedded-core-9d634d7fa355918d42f5279bc2a62c183027f5fd.tar.bz2 openembedded-core-9d634d7fa355918d42f5279bc2a62c183027f5fd.zip |
texi2html: Upgrade to 5.0
Add patch to update GETTEXT_MACRO_VERSION to 0.18
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta')
3 files changed, 69 insertions, 14 deletions
diff --git a/meta/recipes-extended/texi2html/texi2html-5.0/fix_gettext_version.patch b/meta/recipes-extended/texi2html/texi2html-5.0/fix_gettext_version.patch new file mode 100644 index 0000000000..35c119b732 --- /dev/null +++ b/meta/recipes-extended/texi2html/texi2html-5.0/fix_gettext_version.patch @@ -0,0 +1,44 @@ + +Upstream-Status: Inappropriate [configuration] + +Signed-off-by: Saul Wold <sgw@linux.intel.com> + +Index: texi2html-5.0/po_document/Makefile.in.in +=================================================================== +--- texi2html-5.0.orig/po_document/Makefile.in.in ++++ texi2html-5.0/po_document/Makefile.in.in +@@ -9,7 +9,7 @@ + # General Public License and is *not* in the public domain. + # + # Origin: gettext-0.17 +-GETTEXT_MACRO_VERSION = 0.17 ++GETTEXT_MACRO_VERSION = 0.18 + + PACKAGE = @PACKAGE@ + VERSION = @VERSION@ +Index: texi2html-5.0/po_messages/Makefile.in.in +=================================================================== +--- texi2html-5.0.orig/po_messages/Makefile.in.in ++++ texi2html-5.0/po_messages/Makefile.in.in +@@ -9,7 +9,7 @@ + # General Public License and is *not* in the public domain. + # + # Origin: gettext-0.17 +-GETTEXT_MACRO_VERSION = 0.17 ++GETTEXT_MACRO_VERSION = 0.18 + + PACKAGE = @PACKAGE@ + VERSION = @VERSION@ +Index: texi2html-5.0/m4/po.m4 +=================================================================== +--- texi2html-5.0.orig/m4/po.m4 ++++ texi2html-5.0/m4/po.m4 +@@ -29,7 +29,7 @@ AC_DEFUN([AM_PO_SUBDIRS], + + dnl Release version of the gettext macros. This is used to ensure that + dnl the gettext macros and po/Makefile.in.in are in sync. +- AC_SUBST([GETTEXT_MACRO_VERSION], [0.17]) ++ AC_SUBST([GETTEXT_MACRO_VERSION], [0.18]) + + dnl Perform the following tests also if --disable-nls has been given, + dnl because they are needed for "make dist" to work. diff --git a/meta/recipes-extended/texi2html/texi2html_1.82.bb b/meta/recipes-extended/texi2html/texi2html_1.82.bb deleted file mode 100644 index f19b576527..0000000000 --- a/meta/recipes-extended/texi2html/texi2html_1.82.bb +++ /dev/null @@ -1,14 +0,0 @@ -DESCRIPTION = "Perl script that converts Texinfo to HTML" -HOMEPAGE = "http://www.nongnu.org/texi2html/" -SECTION = "console/utils" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" - -PR = "r0" - -SRC_URI = "http://download.savannah.gnu.org/releases/texi2html/${P}.tar.bz2" - -SRC_URI[md5sum] = "a8a9193c0ac1bec2f3ca7be40a5a82eb" -SRC_URI[sha256sum] = "d69c1effc416896409003ea64fdb21152cc0a9a7c665d437a0a3bef9b588b4f1" - -inherit autotools diff --git a/meta/recipes-extended/texi2html/texi2html_5.0.bb b/meta/recipes-extended/texi2html/texi2html_5.0.bb new file mode 100644 index 0000000000..068f8bcde0 --- /dev/null +++ b/meta/recipes-extended/texi2html/texi2html_5.0.bb @@ -0,0 +1,25 @@ +DESCRIPTION = "Perl script that converts Texinfo to HTML" +HOMEPAGE = "http://www.nongnu.org/texi2html/" +SECTION = "console/utils" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" + +PR = "r0" + +SRC_URI = "http://download.savannah.gnu.org/releases/texi2html/${P}.tar.bz2 \ + file://fix_gettext_version.patch" + +SRC_URI[md5sum] = "f15ac876fcdc8be865b16535f480aa54" +SRC_URI[sha256sum] = "e8a98b0ee20c495a6ab894398a065ef580272dbd5a15b1b19e8bd1bc89d9f9fa" + +inherit autotools gettext + +do_configure_prepend() { + # Make a directory for the old gettext setup + mkdir ${S}/po +} + +do_configure_append() { + # Clean up the phony po directory + rm -rf ${S}/po +} |