aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/groff
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/groff
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
downloadopenembedded-709c4d66e0b107ca606941b988bad717c0b45d9b.tar.gz
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/groff')
-rw-r--r--recipes/groff/groff/Makefile.in.patch31
-rw-r--r--recipes/groff/groff/Makefile.sub.patch21
-rw-r--r--recipes/groff/groff/groff.patch35
-rw-r--r--recipes/groff/groff_1.19.1.bb23
-rw-r--r--recipes/groff/groff_1.19.2.bb27
5 files changed, 137 insertions, 0 deletions
diff --git a/recipes/groff/groff/Makefile.in.patch b/recipes/groff/groff/Makefile.in.patch
new file mode 100644
index 0000000000..30aac8cbf0
--- /dev/null
+++ b/recipes/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/recipes/groff/groff/Makefile.sub.patch b/recipes/groff/groff/Makefile.sub.patch
new file mode 100644
index 0000000000..1b5a7dfac5
--- /dev/null
+++ b/recipes/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/recipes/groff/groff/groff.patch b/recipes/groff/groff/groff.patch
new file mode 100644
index 0000000000..d28c21a2a3
--- /dev/null
+++ b/recipes/groff/groff/groff.patch
@@ -0,0 +1,35 @@
+--- groff/contrib/mom/Makefile.sub~ 2005-01-23 10:48:26.000000000 +0100
++++ groff/contrib/mom/Makefile.sub 2005-01-23 10:52:49.000000000 +0100
+@@ -18,7 +18,7 @@
+ # Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+ # These may be overridden if cross-compiling.
+-GROFFBIN=$(top_builddir)/src/roff/groff/groff
++GROFFBIN=echo
+ GROFF_BIN_PATH=`echo $(groff_bin_dirs) | sed -e 's| *|$(SH_SEP)|g'`
+
+ groff_bin_dirs=\
+--- groff/doc/Makefile.in~ 2005-01-23 10:58:22.000000000 +0100
++++ groff/doc/Makefile.in 2005-01-23 10:59:13.000000000 +0100
+@@ -35,8 +35,8 @@
+ pnmtops=@pnmtops_nosetpage@
+
+ # These may be overridden if cross-compiling.
+-TROFFBIN=$(top_builddir)/src/roff/troff/troff
+-GROFFBIN=$(top_builddir)/src/roff/groff/groff
++TROFFBIN=echo
++GROFFBIN=echo
+ GROFF_BIN_PATH=`echo $(groff_bin_dirs) | sed -e 's| *|:|g'`
+
+ # Since info files are distributed within the groff package, no
+--- groff/doc/Makefile.sub~ 2005-01-23 10:58:30.000000000 +0100
++++ groff/doc/Makefile.sub 2005-01-23 10:59:35.000000000 +0100
+@@ -18,7 +18,7 @@
+ # Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+ # These may be overridden if cross-compiling.
+-GROFFBIN=$(top_builddir)/src/roff/groff/groff
++GROFFBIN=echo
+ GROFF_BIN_PATH=`echo $(groff_bin_dirs) | sed -e 's| *|$(SH_SEP)|g'`
+
+ # Since info files are distributed within the groff package, no
diff --git a/recipes/groff/groff_1.19.1.bb b/recipes/groff/groff_1.19.1.bb
new file mode 100644
index 0000000000..42b0d80d15
--- /dev/null
+++ b/recipes/groff/groff_1.19.1.bb
@@ -0,0 +1,23 @@
+DESCRIPTION = "GNU roff"
+SECTION = "base"
+LICENSE = "GPL"
+PR = "r2"
+
+SRC_URI = "http://ftp.gnu.org/gnu/groff/groff-${PV}.tar.gz \
+ file://groff.patch;patch=1"
+
+PARALLEL_MAKE = ""
+# 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}${bindir} --datadir=${D}${datadir} --mandir=${D}${datadir}/man --infodir=${D}${datadir}/info"
+
+inherit autotools
+
+do_configure () {
+ oe_runconf
+}
+
+#do_install() {
+# oe_runmake 'PREFIX=${D}' install
+#}
+
diff --git a/recipes/groff/groff_1.19.2.bb b/recipes/groff/groff_1.19.2.bb
new file mode 100644
index 0000000000..62f56a8c27
--- /dev/null
+++ b/recipes/groff/groff_1.19.2.bb
@@ -0,0 +1,27 @@
+DESCRIPTION = "GNU roff"
+SECTION = "base"
+LICENSE = "GPL"
+PR = "r4"
+
+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"
+
+PARALLEL_MAKE = ""
+# 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}${bindir} --datadir=${D}${datadir} --mandir=${D}${datadir}/man --infodir=${D}${datadir}/info --with-appresdir=${D}${datadir}"
+inherit autotools
+
+do_configure() {
+ oe_runconf
+}
+
+#
+# The installer refuses to do anything if the prefix directory does not
+# already exist, so create it manually before the standard install runs.
+#
+do_install_prepend() {
+ install -m 0755 -d ${D}
+}