From dec9d7e9d8e2ab4c8693921517bc92f37ebe64b1 Mon Sep 17 00:00:00 2001 From: Frans Meulenbroeks Date: Sat, 3 Dec 2005 17:59:18 +0000 Subject: groff: ported 1.19.2 added patch for Makefile.in to exclude contrib/groffer and the html doc groffer did not build and html lead to package errors added patch for src/include/Makefile.in: fontpath and tmacpath pointed to the path in the crossbuild env this gave a wrong src/include/defs.h Changed this somewhat crude by replacing with a hardcoded path (in /usr/share) --- packages/groff/groff/Makefile.in.patch | 31 +++++++++++++++++++++++++++++++ packages/groff/groff/Makefile.sub.patch | 21 +++++++++++++++++++++ packages/groff/groff_1.19.2.bb | 23 +++++++++++++++++++++++ 3 files changed, 75 insertions(+) create mode 100644 packages/groff/groff/Makefile.in.patch create mode 100644 packages/groff/groff/Makefile.sub.patch create mode 100644 packages/groff/groff_1.19.2.bb diff --git a/packages/groff/groff/Makefile.in.patch b/packages/groff/groff/Makefile.in.patch new file mode 100644 index 0000000000..30aac8cbf0 --- /dev/null +++ b/packages/groff/groff/Makefile.in.patch @@ -0,0 +1,31 @@ +*** groff-1.19.2/Makefile.in.orig Sun Aug 7 10:03:33 2005 +--- groff-1.19.2/Makefile.in Sat Dec 3 16:44:50 2005 +*************** +*** 242,249 **** + + # The configure script checks whether all necessary utility programs for + # grohtml are available -- only then we can build the HTML documentation. +! make_html=@make_html@ +! make_install_html=@make_install_html@ + + # The configure script also checks whether all necessary utility programs + # for pdfroff are available -- only then we can build PDF documentation. +--- 242,249 ---- + + # The configure script checks whether all necessary utility programs for + # grohtml are available -- only then we can build the HTML documentation. +! make_html= +! make_install_html= + + # The configure script also checks whether all necessary utility programs + # for pdfroff are available -- only then we can build PDF documentation. +*************** +*** 549,555 **** + contrib/pic2graph \ + contrib/eqn2graph \ + contrib/grap2graph \ +- contrib/groffer \ + contrib/mom \ + contrib/pdfmark \ + contrib/gdiffmk +--- 549,554 ---- diff --git a/packages/groff/groff/Makefile.sub.patch b/packages/groff/groff/Makefile.sub.patch new file mode 100644 index 0000000000..1b5a7dfac5 --- /dev/null +++ b/packages/groff/groff/Makefile.sub.patch @@ -0,0 +1,21 @@ +*** groff-1.19.2/src/include/Makefile.sub.orig Thu Jun 23 13:27:53 2005 +--- groff-1.19.2/src/include/Makefile.sub Sat Dec 3 18:35:40 2005 +*************** +*** 39,46 **** + "DEVICE=\"$(DEVICE)\"" \ + "INSTALLPATH=\"$(prefix)\"" \ + "BINPATH=\"$(bindir)\"" \ +! "FONTPATH=\"$(fontpath)\"" \ +! "MACROPATH=\"$(tmacpath)\"" \ + "INDEX_SUFFIX=\"$(indexext)\"" \ + "COMMON_WORDS_FILE=\"$(common_words_file)\"" \ + "DEFAULT_INDEX_DIR=\"$(indexdir)\"" \ +--- 39,46 ---- + "DEVICE=\"$(DEVICE)\"" \ + "INSTALLPATH=\"$(prefix)\"" \ + "BINPATH=\"$(bindir)\"" \ +! "FONTPATH=\"/usr/share/groff/site-font:/usr/share/groff/1.19.2/font:/usr/lib/font\"" \ +! "MACROPATH=\"/usr/lib/groff/site-tmac:/usr/share/groff/site-tmac:/usr/share/groff/1.19.2/tmac\"" \ + "INDEX_SUFFIX=\"$(indexext)\"" \ + "COMMON_WORDS_FILE=\"$(common_words_file)\"" \ + "DEFAULT_INDEX_DIR=\"$(indexdir)\"" \ diff --git a/packages/groff/groff_1.19.2.bb b/packages/groff/groff_1.19.2.bb new file mode 100644 index 0000000000..7381bb3687 --- /dev/null +++ b/packages/groff/groff_1.19.2.bb @@ -0,0 +1,23 @@ +LICENSE = "GPL" +SECTION = "base" +DESCRIPTION = "GNU roff" +RDEPENDS="libstdc++6" +MAINTAINER = "Inge Arnesen " +SRC_URI = "http://ftp.gnu.org/gnu/groff/groff-${PV}.tar.gz \ + file://Makefile.in.patch;patch=1 \ + file://Makefile.sub.patch;patch=1 \ + file://groff.patch;patch=1" + +# prefix and exec-prefix are broken and the .in file is broken too +# and can't be autoreconf'ed, so specify every dir +EXTRA_OECONF="--prefix=${D} --exec-prefix=${D} --bindir=${D}/usr/bin --datadir=${D}/usr/share --mandir=${D}/usr/man --infodir=${D}/usr/share/info" +inherit autotools + +do_configure () { + oe_runconf +} + +#do_install() { +# oe_runmake 'PREFIX=${D}' install +#} + -- cgit v1.2.3