From 2bdce8ebe275ad2bed5060210050bfbcba3f23d9 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Wed, 30 Dec 2009 04:28:05 +0000 Subject: [PATCH] Created a .bep file for texinfo-4.13a. Regenerated the diff done by Ingo and added a default search path for info files. --- sys-apps/texinfo/patches/texinfo-4.13a.patch | 37 +++++++++++++++++++ sys-apps/texinfo/texinfo-4.13a-haiku.diff | 26 ------------- sys-apps/texinfo/texinfo-4.13a.bep | 18 +++++++++ .../texinfo.OptionalPackageDescription | 2 +- 4 files changed, 56 insertions(+), 27 deletions(-) create mode 100644 sys-apps/texinfo/patches/texinfo-4.13a.patch delete mode 100644 sys-apps/texinfo/texinfo-4.13a-haiku.diff create mode 100644 sys-apps/texinfo/texinfo-4.13a.bep diff --git a/sys-apps/texinfo/patches/texinfo-4.13a.patch b/sys-apps/texinfo/patches/texinfo-4.13a.patch new file mode 100644 index 000000000..c07b2734e --- /dev/null +++ b/sys-apps/texinfo/patches/texinfo-4.13a.patch @@ -0,0 +1,37 @@ +diff -up texinfo-4.13/gnulib/lib/config.charset.orig texinfo-4.13/gnulib/lib/config.charset +--- texinfo-4.13/gnulib/lib/config.charset.orig 2009-12-29 21:12:13.000000000 -0700 ++++ texinfo-4.13/gnulib/lib/config.charset 2009-12-29 21:16:35.000000000 -0700 +@@ -478,8 +478,8 @@ case "$os" in + # space nevertheless. + echo "* UTF-8" + ;; +- beos*) +- # BeOS has a single locale, and it has UTF-8 encoding. ++ beos*|haiku*) ++ # BeOS has a single locale, and it has UTF-8 encoding. Same for Haiku. + echo "* UTF-8" + ;; + msdosdjgpp*) +diff -up texinfo-4.13/system.h.orig texinfo-4.13/system.h +--- texinfo-4.13/system.h.orig 2009-12-29 21:12:00.000000000 -0700 ++++ texinfo-4.13/system.h 2009-12-29 21:19:49.000000000 -0700 +@@ -151,7 +151,7 @@ extern int strcoll (); + # define va_end(args) + #endif + +-#if O_BINARY ++#if O_BINARY && !defined(__HAIKU__) + # ifdef HAVE_IO_H + # include + # endif +@@ -220,6 +220,10 @@ extern int strcoll (); + # define PIPE_USE_FORK 1 + #endif /* not O_BINARY */ + ++#if defined(__HAIKU__) ++# define DEFAULT_INFOPATH "/boot/common/info;/boot/common/share/info;/boot/home/config/info;/boot/home/config/share/info;." ++#endif ++ + /* Everything but DJGPP. */ + #ifndef ALSO_NULL_DEVICE + # define ALSO_NULL_DEVICE "" diff --git a/sys-apps/texinfo/texinfo-4.13a-haiku.diff b/sys-apps/texinfo/texinfo-4.13a-haiku.diff deleted file mode 100644 index 62709282d..000000000 --- a/sys-apps/texinfo/texinfo-4.13a-haiku.diff +++ /dev/null @@ -1,26 +0,0 @@ -diff -ur texinfo-4.13.orig/gnulib/lib/config.charset texinfo-4.13/gnulib/lib/config.charset ---- texinfo-4.13.orig/gnulib/lib/config.charset 2007-12-25 23:57:18.000000000 +0000 -+++ texinfo-4.13/gnulib/lib/config.charset 2008-11-09 15:48:51.000000000 +0000 -@@ -478,8 +478,8 @@ - # space nevertheless. - echo "* UTF-8" - ;; -- beos*) -- # BeOS has a single locale, and it has UTF-8 encoding. -+ beos*|haiku*) -+ # BeOS has a single locale, and it has UTF-8 encoding. Same for Haiku. - echo "* UTF-8" - ;; - msdosdjgpp*) -diff -ur texinfo-4.13.orig/system.h texinfo-4.13/system.h ---- texinfo-4.13.orig/system.h 2008-07-26 22:54:54.000000000 +0000 -+++ texinfo-4.13/system.h 2008-11-09 15:43:55.000000000 +0000 -@@ -151,7 +151,7 @@ - # define va_end(args) - #endif - --#if O_BINARY -+#if O_BINARY && !defined(__HAIKU__) - # ifdef HAVE_IO_H - # include - # endif diff --git a/sys-apps/texinfo/texinfo-4.13a.bep b/sys-apps/texinfo/texinfo-4.13a.bep new file mode 100644 index 000000000..0f27c1cbb --- /dev/null +++ b/sys-apps/texinfo/texinfo-4.13a.bep @@ -0,0 +1,18 @@ +DESCRIPTION="Texinfo is the official documentation format of the GNU project." +HOMEPAGE="http://www.gnu.org/software/texinfo/" +SRC_URI="http://ftp.gnu.org/gnu/texinfo/texinfo-4.13a.tar.gz" +CHECKSUM_MD5="71ba711519209b5fb583fed2b3d86fcb" +REVISION="1" +STATUS_HAIKU="stable" +DEPEND="" +BUILD { + cd texinfo-4.13 + libtoolize --force --copy --install + ./configure --prefix=/boot/common + make +} + +INSTALL { + cd texinfo-4.13 + make install +} diff --git a/sys-apps/texinfo/texinfo.OptionalPackageDescription b/sys-apps/texinfo/texinfo.OptionalPackageDescription index dca458bfe..8e630e057 100644 --- a/sys-apps/texinfo/texinfo.OptionalPackageDescription +++ b/sys-apps/texinfo/texinfo.OptionalPackageDescription @@ -1,5 +1,5 @@ Package: Texinfo -Version: 4.13 +Version: 4.13a Copyright: 1992-2008 Free Software Foundation, Inc. License: GNU GPL v3 URL: http://www.gnu.org/software/texinfo/