summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2014-01-07 08:36:52 +0000
committerLars Wendler <polynomial-c@gentoo.org>2014-01-07 08:36:52 +0000
commit103ee6a6052201386db23c847b1c742514a2dfe2 (patch)
tree3e61dbc2d4f0d3acdf82ff84e34b890beef330ee /sys-apps
parentRemoved old versions and files (diff)
downloadgentoo-2-103ee6a6052201386db23c847b1c742514a2dfe2.tar.gz
gentoo-2-103ee6a6052201386db23c847b1c742514a2dfe2.tar.bz2
gentoo-2-103ee6a6052201386db23c847b1c742514a2dfe2.zip
Removed old versions and files
(Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/groff/ChangeLog15
-rw-r--r--sys-apps/groff/files/groff-1.20.1-Thtml-mem-leak.patch70
-rw-r--r--sys-apps/groff/files/groff-1.20.1-double-frees-mem-leaks.patch98
-rw-r--r--sys-apps/groff/files/groff-1.20.1-pdfmark-parallel.patch46
-rw-r--r--sys-apps/groff/files/groff-1.20.1-tmac-ec.patch35
-rw-r--r--sys-apps/groff/files/groff-1.21-gnulib-cross.patch32
-rw-r--r--sys-apps/groff/files/groff-1.21-gnulib.patch94
-rw-r--r--sys-apps/groff/files/groff-1.21-makefile.patch14
-rw-r--r--sys-apps/groff/files/groff-1.22.1-pdf-subdir.patch30
-rw-r--r--sys-apps/groff/files/groff-1.22.1-pdf-symlink.patch29
-rw-r--r--sys-apps/groff/groff-1.20.1-r1.ebuild87
-rw-r--r--sys-apps/groff/groff-1.20.1-r2.ebuild88
-rw-r--r--sys-apps/groff/groff-1.20.1-r3.ebuild92
-rw-r--r--sys-apps/groff/groff-1.21-r1.ebuild89
-rw-r--r--sys-apps/groff/groff-1.21.ebuild83
-rw-r--r--sys-apps/groff/groff-1.22.1.ebuild84
16 files changed, 13 insertions, 973 deletions
diff --git a/sys-apps/groff/ChangeLog b/sys-apps/groff/ChangeLog
index 23d44c8d6d77..4dd7febf7510 100644
--- a/sys-apps/groff/ChangeLog
+++ b/sys-apps/groff/ChangeLog
@@ -1,6 +1,17 @@
# ChangeLog for sys-apps/groff
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/groff/ChangeLog,v 1.140 2013/12/07 05:55:00 vapier Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/groff/ChangeLog,v 1.141 2014/01/07 08:36:51 polynomial-c Exp $
+
+ 07 Jan 2014; Lars Wendler <polynomial-c@gentoo.org> -groff-1.20.1-r1.ebuild,
+ -groff-1.20.1-r2.ebuild, -groff-1.20.1-r3.ebuild, -groff-1.21.ebuild,
+ -groff-1.21-r1.ebuild, -groff-1.22.1.ebuild,
+ -files/groff-1.20.1-Thtml-mem-leak.patch,
+ -files/groff-1.20.1-double-frees-mem-leaks.patch,
+ -files/groff-1.20.1-pdfmark-parallel.patch,
+ -files/groff-1.20.1-tmac-ec.patch, -files/groff-1.21-gnulib.patch,
+ -files/groff-1.21-gnulib-cross.patch, -files/groff-1.21-makefile.patch,
+ -files/groff-1.22.1-pdf-subdir.patch, -files/groff-1.22.1-pdf-symlink.patch:
+ Removed old versions and files.
07 Dec 2013; Mike Frysinger <vapier@gentoo.org>
+files/groff-1.22.2-parallel-mom.patch, groff-1.22.2.ebuild:
diff --git a/sys-apps/groff/files/groff-1.20.1-Thtml-mem-leak.patch b/sys-apps/groff/files/groff-1.20.1-Thtml-mem-leak.patch
deleted file mode 100644
index b95ed426280f..000000000000
--- a/sys-apps/groff/files/groff-1.20.1-Thtml-mem-leak.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-https://bugs.gentoo.org/294045
-
-From f68481cd98e1d8451dd16d6d1b1b3513110a5559 Mon Sep 17 00:00:00 2001
-From: wl <wl>
-Date: Fri, 10 Apr 2009 18:13:29 +0000
-Subject: [PATCH] Fix a memory leak in troff for -Thtml.
- Reported by Urs Eggli <Urs.Eggli@zuerich.ch>.
-
-* src/roff/troff/node.h (node::~node): Move to...
-* src/roff/troff/node.cpp: Here. Free `state' and `push_state'.
----
- ChangeLog | 8 ++++++++
- src/roff/troff/node.cpp | 11 ++++++++++-
- src/roff/troff/node.h | 4 ----
- 3 files changed, 18 insertions(+), 5 deletions(-)
-
-diff --git a/src/roff/troff/node.cpp b/src/roff/troff/node.cpp
-index afe4998..58cf59a 100644
---- a/src/roff/troff/node.cpp
-+++ b/src/roff/troff/node.cpp
-@@ -1811,6 +1811,14 @@ void suppress_output_file::really_transparent_char(unsigned char)
- {
- }
-
-+inline node::~node()
-+{
-+ if (state != 0)
-+ delete state;
-+ if (push_state != 0)
-+ delete push_state;
-+}
-+
- /* glyphs, ligatures, kerns, discretionary breaks */
-
- class charinfo_node : public node {
-@@ -4643,7 +4651,7 @@ void hline_node::tprint(troff_output_file *out)
- }
- else {
- hunits rem = x - w*i;
-- if (rem > H0)
-+ if (rem > H0) {
- if (n->overlaps_horizontally()) {
- if (out->is_on())
- n->tprint(out);
-@@ -4651,6 +4659,7 @@ void hline_node::tprint(troff_output_file *out)
- }
- else
- out->right(rem);
-+ }
- while (--i >= 0)
- if (out->is_on())
- n->tprint(out);
-diff --git a/src/roff/troff/node.h b/src/roff/troff/node.h
-index a598ae5..9850be2 100644
---- a/src/roff/troff/node.h
-+++ b/src/roff/troff/node.h
-@@ -132,10 +132,6 @@ inline node::node(node *n, statem *s, int divlevel)
- state = 0;
- }
-
--inline node::~node()
--{
--}
--
- // 0 means it doesn't, 1 means it does, 2 means it's transparent
-
- int node_list_ends_sentence(node *);
---
-1.7.1.1
-
diff --git a/sys-apps/groff/files/groff-1.20.1-double-frees-mem-leaks.patch b/sys-apps/groff/files/groff-1.20.1-double-frees-mem-leaks.patch
deleted file mode 100644
index d618030443a2..000000000000
--- a/sys-apps/groff/files/groff-1.20.1-double-frees-mem-leaks.patch
+++ /dev/null
@@ -1,98 +0,0 @@
-https://bugs.gentoo.org/294045
-
-From be095a293e09eae67254f59ce878b1a36233b447 Mon Sep 17 00:00:00 2001
-From: wl <wl>
-Date: Tue, 24 Nov 2009 13:32:17 +0000
-Subject: [PATCH] Fix double frees and memory leaks.
-
-* src/roff/troff/env.cpp (environment::make_tag): Use local object.
-* src/roff/troff/input.cpp (input_stack::check_end_diversion): Free
-`diversion_state' here.
-(interpolate_arg): Fix memory leaks.
-* src/roff/troff/mtsm.cpp (mtsm::pop_state): Don't free `sp->state'.
----
- ChangeLog | 10 ++++++++++
- src/roff/troff/env.cpp | 13 +++++++------
- src/roff/troff/input.cpp | 5 +++++
- src/roff/troff/mtsm.cpp | 2 --
- 4 files changed, 22 insertions(+), 8 deletions(-)
-
-diff --git a/src/roff/troff/env.cpp b/src/roff/troff/env.cpp
-index 56bfe21..13672cc 100644
---- a/src/roff/troff/env.cpp
-+++ b/src/roff/troff/env.cpp
-@@ -2213,14 +2213,15 @@ node *environment::make_tag(const char *nm, int i)
- */
- if (curdiv == topdiv && topdiv->before_first_page)
- topdiv->begin_page();
-- macro *m = new macro;
-- m->append_str("devtag:");
-+
-+ macro m;
-+ m.append_str("devtag:");
- for (const char *p = nm; *p; p++)
- if (!invalid_input_char((unsigned char)*p))
-- m->append(*p);
-- m->append(' ');
-- m->append_int(i);
-- return new special_node(*m);
-+ m.append(*p);
-+ m.append(' ');
-+ m.append_int(i);
-+ return new special_node(m);
- }
- return 0;
- }
-diff --git a/src/roff/troff/input.cpp b/src/roff/troff/input.cpp
-index 17d2451..7c816e8 100644
---- a/src/roff/troff/input.cpp
-+++ b/src/roff/troff/input.cpp
-@@ -531,6 +531,8 @@ void input_stack::check_end_diversion(input_iterator *t)
- {
- if (t->is_diversion) {
- div_level--;
-+ if (diversion_state)
-+ delete diversion_state;
- diversion_state = t->diversion_state;
- }
- }
-@@ -4398,6 +4400,7 @@ static void interpolate_arg(symbol nm)
- args += c;
- if (i != limit)
- args += ' ';
-+ delete p;
- }
- if (limit > 0) {
- args += '\0';
-@@ -4419,6 +4422,7 @@ static void interpolate_arg(symbol nm)
- args += '"';
- if (i != limit)
- args += ' ';
-+ delete p;
- }
- if (limit > 0) {
- args += '\0';
-@@ -4438,6 +4442,7 @@ static void interpolate_arg(symbol nm)
- }
- if (input_stack::space_follows_arg(i))
- args += ' ';
-+ delete p;
- }
- if (limit > 0) {
- args += '\0';
-diff --git a/src/roff/troff/mtsm.cpp b/src/roff/troff/mtsm.cpp
-index 83a6906..79e2f78 100644
---- a/src/roff/troff/mtsm.cpp
-+++ b/src/roff/troff/mtsm.cpp
-@@ -390,8 +390,6 @@ void mtsm::pop_state()
- #endif
- if (sp == 0)
- fatal("empty state machine stack");
-- if (sp->state)
-- delete sp->state;
- sp->state = 0;
- stack *t = sp;
- sp = sp->next;
---
-1.7.1.1
-
diff --git a/sys-apps/groff/files/groff-1.20.1-pdfmark-parallel.patch b/sys-apps/groff/files/groff-1.20.1-pdfmark-parallel.patch
deleted file mode 100644
index 05405a9b2e7e..000000000000
--- a/sys-apps/groff/files/groff-1.20.1-pdfmark-parallel.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-http://crosbug.com/24481
-https://savannah.gnu.org/bugs/index.php?35146
-
-From 324a699b3903bd7d9d248bc229ab8518fc47cbed Mon Sep 17 00:00:00 2001
-From: Mike Frysinger <vapier@gentoo.org>
-Date: Wed, 21 Dec 2011 14:15:50 -0500
-Subject: [PATCH] pdfmark: fix parallel build race failure
-
-Sometimes building in parallel will fail in the pdfmark directory:
- make[2]: Entering directory '.../contrib/pdfmark'
- rm -f pdfroff
- rm -f pdfmark.pdf
- sed -f ... ./pdfroff.sh >pdfroff
- ...; ./pdfroff ... pdfmark.ms >pdfmark.pdf
- /bin/sh: ./pdfroff: Permission denied
- chmod +x pdfroff
- make[2]: *** [pdfmark.pdf] Error 126
-
-This is because the generated pdf files use the local generated pdfroff
-helper script, but they don't depend directly upon it, so make tries to
-create the two in parallel and randomly falls over.
-
-Have all the .pdf files explicitly depend on the pdfroff helper script.
-
-Signed-off-by: Mike Frysinger <vapier@gentoo.org>
----
- contrib/pdfmark/Makefile.sub | 3 +++
- 1 files changed, 3 insertions(+), 0 deletions(-)
-
-diff --git a/contrib/pdfmark/Makefile.sub b/contrib/pdfmark/Makefile.sub
-index 9eb2763..36c9e0f 100644
---- a/contrib/pdfmark/Makefile.sub
-+++ b/contrib/pdfmark/Makefile.sub
-@@ -66,6 +66,9 @@ PDFROFF=\
-
- all: pdfroff $(make_pdfdoc)
-
-+# The pdf files use the local script to generate.
-+$(PDFDOCFILES): pdfroff
-+
- pdfdoc: gnu.eps $(PDFDOCFILES)
-
- gnu.eps:
---
-1.7.6.1
-
diff --git a/sys-apps/groff/files/groff-1.20.1-tmac-ec.patch b/sys-apps/groff/files/groff-1.20.1-tmac-ec.patch
deleted file mode 100644
index 20a15c6e21a7..000000000000
--- a/sys-apps/groff/files/groff-1.20.1-tmac-ec.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-https://bugs.gentoo.org/263524
-
-revision 1.40
-date: 2009-04-01 02:59:08 -0400; author: wl; state: Exp; lines: +3 -3; commitid: VIC1bezuXvKqxhIt;
-
-* tmac/doc.tmac: Call `ec' before mapping characters.
-
-Index: tmac/doc.tmac
-===================================================================
-RCS file: /sources/groff/groff/tmac/doc.tmac,v
-retrieving revision 1.39
-retrieving revision 1.40
-diff -u -p -r1.39 -r1.40
---- tmac/doc.tmac 2 Jan 2009 23:16:20 -0000 1.39
-+++ tmac/doc.tmac 1 Apr 2009 06:59:08 -0000 1.40
-@@ -6425,6 +6425,9 @@
- .blm doc-empty-line
- .
- .
-+.ec
-+.
-+.
- .\" For UTF-8, map some characters conservatively for the sake
- .\" of easy cut and paste.
- .
-@@ -6438,9 +6441,6 @@
- .\}
- .
- .
--.ec
--.
--.
- .\" load local modifications
- .mso mdoc.local
- .
diff --git a/sys-apps/groff/files/groff-1.21-gnulib-cross.patch b/sys-apps/groff/files/groff-1.21-gnulib-cross.patch
deleted file mode 100644
index 7f006a6f6e2d..000000000000
--- a/sys-apps/groff/files/groff-1.21-gnulib-cross.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-https://bugs.gentoo.org/363647
-
-From 943308afd2770a2f4a30103c85a20a61b15f8f35 Mon Sep 17 00:00:00 2001
-From: wl <wl>
-Date: Fri, 29 Jul 2011 20:16:42 +0000
-Subject: [PATCH] Fix cross building. Problem reported by Christophe Jarry
- <christophe.jarry@ouvaton.org>.
-
-* Makefile.in ($GNULIBDIRS): Pass original config arguments to
-src/libs/gnulib/configure.
----
- ChangeLog | 8 ++++++++
- Makefile.in | 3 ++-
- 2 files changed, 10 insertions(+), 1 deletion(-)
-
-diff --git a/Makefile.in b/Makefile.in
-index ca7d7e7..09eb573 100644
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -774,7 +774,8 @@ $(GNULIBDIRS): FORCE
- case $(do) in \
- all) \
- cd $@; \
-- test -f Makefile || $(SHELL) $$srcdir/configure ; \
-+ args=`$(top_builddir)/config.status --config`; \
-+ test -f Makefile || eval $$srcdir/configure "$$args" --srcdir=$$srcdir; \
- $(MAKE) ACLOCAL=: AUTOCONF=: AUTOHEADER=: AUTOMAKE=: $(do) ;; \
- esac
-
---
-1.7.12.4
-
diff --git a/sys-apps/groff/files/groff-1.21-gnulib.patch b/sys-apps/groff/files/groff-1.21-gnulib.patch
deleted file mode 100644
index 55abe59022c7..000000000000
--- a/sys-apps/groff/files/groff-1.21-gnulib.patch
+++ /dev/null
@@ -1,94 +0,0 @@
-https://savannah.gnu.org/bugs/index.php?32301
-http://bugs.gentoo.org/show_bug.cgi?id=353377
-
-diff -ur groff-1.21/src/devices/grodvi/Makefile.sub groff-1.21-mint/src/devices/grodvi/Makefile.sub
---- groff-1.21/src/devices/grodvi/Makefile.sub 2010-12-31 07:33:08.000000000 +0000
-+++ groff-1.21-mint/src/devices/grodvi/Makefile.sub 2011-02-06 01:52:53.000000000 +0000
-@@ -1,6 +1,6 @@
- PROG=grodvi$(EXEEXT)
- MAN1=grodvi.n
--XLIBS=$(LIBDRIVER) $(LIBGROFF)
-+XLIBS=$(LIBDRIVER) $(LIBGROFF) $(LIBGNU)
- MLIB=$(LIBM)
- OBJS=dvi.$(OBJEXT)
- CCSRCS=$(srcdir)/dvi.cpp
-diff -ur groff-1.21/src/devices/grohtml/Makefile.sub groff-1.21-mint/src/devices/grohtml/Makefile.sub
---- groff-1.21/src/devices/grohtml/Makefile.sub 2010-12-31 07:33:08.000000000 +0000
-+++ groff-1.21-mint/src/devices/grohtml/Makefile.sub 2011-02-06 02:00:46.000000000 +0000
-@@ -1,6 +1,6 @@
- PROG=post-grohtml$(EXEEXT)
- MAN1=grohtml.n
--XLIBS=$(LIBDRIVER) $(LIBGROFF)
-+XLIBS=$(LIBDRIVER) $(LIBGROFF) $(LIBGNU)
- MLIB=$(LIBM)
- OBJS=\
- post-html.$(OBJEXT) \
-diff -ur groff-1.21/src/devices/grolbp/Makefile.sub groff-1.21-mint/src/devices/grolbp/Makefile.sub
---- groff-1.21/src/devices/grolbp/Makefile.sub 2010-12-31 07:33:08.000000000 +0000
-+++ groff-1.21-mint/src/devices/grolbp/Makefile.sub 2011-02-06 02:04:38.000000000 +0000
-@@ -1,6 +1,6 @@
- PROG=grolbp$(EXEEXT)
- MAN1=grolbp.n
--XLIBS=$(LIBDRIVER) $(LIBGROFF)
-+XLIBS=$(LIBDRIVER) $(LIBGROFF) $(LIBGNU)
- MLIB=$(LIBM)
- OBJS=lbp.$(OBJEXT)
- CCSRCS=$(srcdir)/lbp.cpp
-diff -ur groff-1.21/src/devices/grolj4/Makefile.sub groff-1.21-mint/src/devices/grolj4/Makefile.sub
---- groff-1.21/src/devices/grolj4/Makefile.sub 2010-12-31 07:33:08.000000000 +0000
-+++ groff-1.21-mint/src/devices/grolj4/Makefile.sub 2011-02-06 01:54:18.000000000 +0000
-@@ -1,7 +1,7 @@
- PROG=grolj4$(EXEEXT)
- MAN1=grolj4.n
- MAN5=lj4_font.n
--XLIBS=$(LIBDRIVER) $(LIBGROFF)
-+XLIBS=$(LIBDRIVER) $(LIBGROFF) $(LIBGNU)
- MLIB=$(LIBM)
- OBJS=lj4.$(OBJEXT)
- CCSRCS=$(srcdir)/lj4.cpp
-diff -ur groff-1.21/src/devices/grops/Makefile.sub groff-1.21-mint/src/devices/grops/Makefile.sub
---- groff-1.21/src/devices/grops/Makefile.sub 2010-12-31 07:33:08.000000000 +0000
-+++ groff-1.21-mint/src/devices/grops/Makefile.sub 2011-02-06 01:50:39.000000000 +0000
-@@ -1,6 +1,6 @@
- PROG=grops$(EXEEXT)
- MAN1=grops.n
--XLIBS=$(LIBDRIVER) $(LIBGROFF)
-+XLIBS=$(LIBDRIVER) $(LIBGROFF) $(LIBGNU)
- MLIB=$(LIBM)
- OBJS=\
- ps.$(OBJEXT) \
-diff -ur groff-1.21/src/preproc/grn/Makefile.sub groff-1.21-mint/src/preproc/grn/Makefile.sub
---- groff-1.21/src/preproc/grn/Makefile.sub 2010-12-31 07:33:08.000000000 +0000
-+++ groff-1.21-mint/src/preproc/grn/Makefile.sub 2011-02-06 01:27:38.000000000 +0000
-@@ -1,7 +1,7 @@
- PROG=grn$(EXEEXT)
- MAN1=grn.n
- MLIB=$(LIBM)
--XLIBS=$(LIBGROFF)
-+XLIBS=$(LIBGROFF) $(LIBGNU)
- OBJS=\
- hdb.$(OBJEXT) \
- hpoint.$(OBJEXT) \
-diff -ur groff-1.21/src/preproc/html/Makefile.sub groff-1.21-mint/src/preproc/html/Makefile.sub
---- groff-1.21/src/preproc/html/Makefile.sub 2010-12-31 07:33:08.000000000 +0000
-+++ groff-1.21-mint/src/preproc/html/Makefile.sub 2011-02-06 01:47:56.000000000 +0000
-@@ -1,7 +1,7 @@
- PROG=pre-grohtml$(EXEEXT)
- # MAN1=pre-grohtml.n
- MAN1=
--XLIBS=$(LIBGROFF)
-+XLIBS=$(LIBGROFF) $(LIBGNU)
- MLIB=$(LIBM)
- OBJS=pre-html.$(OBJEXT) pushback.$(OBJEXT)
- CCSRCS=$(srcdir)/pre-html.cpp $(srcdir)/pushback.cpp
-diff -ur groff-1.21/src/roff/groff/Makefile.sub groff-1.21-mint/src/roff/groff/Makefile.sub
---- groff-1.21/src/roff/groff/Makefile.sub 2010-12-31 07:33:08.000000000 +0000
-+++ groff-1.21-mint/src/roff/groff/Makefile.sub 2011-02-06 00:32:30.000000000 +0000
-@@ -1,6 +1,6 @@
- PROG=groff$(EXEEXT)
- MAN1=groff.n
--XLIBS=$(LIBGROFF)
-+XLIBS=$(LIBGROFF) $(LIBGNU)
- MLIB=$(LIBM)
- OBJS=groff.$(OBJEXT) pipeline.$(OBJEXT)
- CCSRCS=$(srcdir)/groff.cpp
diff --git a/sys-apps/groff/files/groff-1.21-makefile.patch b/sys-apps/groff/files/groff-1.21-makefile.patch
deleted file mode 100644
index df8be77c50cc..000000000000
--- a/sys-apps/groff/files/groff-1.21-makefile.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-From upstream CVS
-http://bugs.gentoo.org/show_bug.cgi?id=353287
-
---- Makefile.comm
-+++ Makefile.comm
-@@ -21,7 +21,7 @@
- #
- INCLUDES=-I. -I$(srcdir) \
- -I$(top_builddir)/src/include -I$(top_srcdir)/src/include \
-- -I$(tob_builddir)/src/libs/gnulib/lib
-+ -I$(top_builddir)/src/libs/gnulib/lib
- ALL_CCFLAGS=$(INCLUDES) $(CCDEFINES) $(CCFLAGS) $(CPPFLAGS)
- COMPILE.cpp=$(CCC) $(ALL_CCFLAGS) -c
- ALL_CFLAGS=$(INCLUDES) $(CDEFINES) $(CFLAGS) $(CPPFLAGS)
diff --git a/sys-apps/groff/files/groff-1.22.1-pdf-subdir.patch b/sys-apps/groff/files/groff-1.22.1-pdf-subdir.patch
deleted file mode 100644
index 47dfbac23978..000000000000
--- a/sys-apps/groff/files/groff-1.22.1-pdf-subdir.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-https://bugs.gentoo.org/450798
-
-From aca061e723e26d1815536c69e5691818aea260c7 Mon Sep 17 00:00:00 2001
-From: wl <wl>
-Date: Fri, 4 Jan 2013 07:19:51 +0000
-Subject: [PATCH] o Makefile.sub (install_data): Create directory for PDF
- documentation. This is necesssary in case GhostScript is not available, and
- no other PDF files have been created yet.
-
----
- contrib/mom/ChangeLog | 8 +++++++-
- contrib/mom/Makefile.sub | 4 +++-
- 2 files changed, 10 insertions(+), 2 deletions(-)
-
-diff --git a/contrib/mom/Makefile.sub b/contrib/mom/Makefile.sub
-index 6dd7020..e956346 100644
---- a/contrib/mom/Makefile.sub
-+++ b/contrib/mom/Makefile.sub
-@@ -158,6 +158,8 @@ install_data: stamp-strip $(NORMALFILES) $(HTMLDOCFILES) \
- rm -f $(DESTDIR)$(exampledir)/mom/$$f; \
- $(INSTALL_DATA) examples/$$f $(DESTDIR)$(exampledir)/mom/$$f; \
- done
-+ -test -d $(DESTDIR)$(pdfdocdir) \
-+ || $(mkinstalldirs) $(DESTDIR)$(pdfdocdir)
- for f in $(PDFDOCFILE); do \
- rm -f $(DESTDIR)$(pdfdocdir)/$$f; \
- ln -s $(exampledir)/mom/$$f $(DESTDIR)$(pdfdocdir)/$$f; \
---
-1.8.0.2
-
diff --git a/sys-apps/groff/files/groff-1.22.1-pdf-symlink.patch b/sys-apps/groff/files/groff-1.22.1-pdf-symlink.patch
deleted file mode 100644
index 25ad9f60de5c..000000000000
--- a/sys-apps/groff/files/groff-1.22.1-pdf-symlink.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-https://bugs.gentoo.org/450798
-
-From 1ed193f4a8f54a28b44cd901e076de1702d2e8e8 Mon Sep 17 00:00:00 2001
-From: wl <wl>
-Date: Sun, 30 Dec 2012 14:22:17 +0000
-Subject: [PATCH] o Makefile.sub (install-data): Fix symlink. Patch from
- Elias Pipping <pipping@lavabit.com>.
-
----
- contrib/mom/ChangeLog | 5 +++++
- contrib/mom/Makefile.sub | 2 +-
- 2 files changed, 6 insertions(+), 1 deletion(-)
-
-diff --git a/contrib/mom/Makefile.sub b/contrib/mom/Makefile.sub
-index 9d30b22..6dd7020 100644
---- a/contrib/mom/Makefile.sub
-+++ b/contrib/mom/Makefile.sub
-@@ -160,7 +160,7 @@ install_data: stamp-strip $(NORMALFILES) $(HTMLDOCFILES) \
- done
- for f in $(PDFDOCFILE); do \
- rm -f $(DESTDIR)$(pdfdocdir)/$$f; \
-- ln -s $(DESTDIR)$(exampledir)/mom/$$f $(DESTDIR)$(pdfdocdir)/$$f; \
-+ ln -s $(exampledir)/mom/$$f $(DESTDIR)$(pdfdocdir)/$$f; \
- done
-
- stamp-strip: $(STRIPFILES)
---
-1.8.0.2
-
diff --git a/sys-apps/groff/groff-1.20.1-r1.ebuild b/sys-apps/groff/groff-1.20.1-r1.ebuild
deleted file mode 100644
index 81b3963009a9..000000000000
--- a/sys-apps/groff/groff-1.20.1-r1.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/groff/groff-1.20.1-r1.ebuild,v 1.11 2009/08/16 04:38:31 mr_bones_ Exp $
-
-inherit eutils toolchain-funcs autotools
-
-DESCRIPTION="Text formatter used for man pages"
-HOMEPAGE="http://www.gnu.org/software/groff/groff.html"
-SRC_URI="mirror://gnu/groff/${P}.tar.gz
- linguas_ja? ( mirror://gentoo/${P}-japanese.patch.bz2 )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
-IUSE="examples X linguas_ja"
-
-DEPEND=">=sys-apps/texinfo-4.7-r1
- X? (
- x11-libs/libX11
- x11-libs/libXt
- x11-libs/libXmu
- x11-libs/libXaw
- x11-libs/libSM
- x11-libs/libICE
- )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}"/${PN}-1.19.2-man-unicode-dashes.patch #16108 #17580 #121502
-
- # put the docs in the Gentoo-specific spot
- sed -i \
- -e '/^docdir=/s/=.*/=@docdir@/' \
- Makefile.in \
- || die "sed failed"
-
- # Make sure we can cross-compile this puppy
- if tc-is-cross-compiler ; then
- sed -i \
- -e '/^GROFFBIN=/s:=.*:=/usr/bin/groff:' \
- -e '/^TROFFBIN=/s:=.*:=/usr/bin/troff:' \
- -e '/^GROFF_BIN_PATH=/s:=.*:=:' \
- -e '/^GROFF_BIN_DIR=/s:=.*:=:' \
- contrib/*/Makefile.sub \
- doc/Makefile.in \
- doc/Makefile.sub || die "cross-compile sed failed"
- fi
-
- cat <<-EOF >> tmac/mdoc.local
- .ds volume-operating-system Gentoo
- .ds operating-system Gentoo/${KERNEL}
- .ds default-operating-system Gentoo/${KERNEL}
- EOF
-
- if use linguas_ja ; then
- epatch "${WORKDIR}"/${P}-japanese.patch #255292
- eautoconf
- fi
-}
-
-src_compile() {
- # Fix problems with not finding g++
-# tc-export CC CXX
- econf \
- --with-appresdir=/usr/share/X11/app-defaults \
- --docdir=/usr/share/doc/${PF} \
- $(use_with X x) \
- $(use linguas_ja && echo --enable-japanese)
- emake || die
-}
-
-src_install() {
- emake install DESTDIR="${D}" || die
-
- # The following links are required for man #123674
- dosym eqn /usr/bin/geqn
- dosym tbl /usr/bin/gtbl
-
- dodoc BUG-REPORT ChangeLog MORE.STUFF NEWS \
- PROBLEMS PROJECTS README REVISION TODO VERSION
-
- if ! use examples ; then
- rm -rf "${D}"/usr/share/doc/${PF}/examples
- fi
-}
diff --git a/sys-apps/groff/groff-1.20.1-r2.ebuild b/sys-apps/groff/groff-1.20.1-r2.ebuild
deleted file mode 100644
index 7634def9f006..000000000000
--- a/sys-apps/groff/groff-1.20.1-r2.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/groff/groff-1.20.1-r2.ebuild,v 1.1 2009/11/07 06:10:09 matsuu Exp $
-
-inherit autotools eutils toolchain-funcs
-
-DESCRIPTION="Text formatter used for man pages"
-HOMEPAGE="http://www.gnu.org/software/groff/groff.html"
-SRC_URI="mirror://gnu/groff/${P}.tar.gz
- linguas_ja? ( mirror://gentoo/${PF}-japanese.patch.bz2 )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
-IUSE="examples X linguas_ja"
-
-DEPEND=">=sys-apps/texinfo-4.7-r1
- X? (
- x11-libs/libX11
- x11-libs/libXt
- x11-libs/libXmu
- x11-libs/libXaw
- x11-libs/libSM
- x11-libs/libICE
- )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}"/${PN}-1.19.2-man-unicode-dashes.patch #16108 #17580 #121502
-
- # put the docs in the Gentoo-specific spot
- sed -i \
- -e '/^docdir=/s/=.*/=@docdir@/' \
- Makefile.in \
- || die "sed failed"
-
- # Make sure we can cross-compile this puppy
- if tc-is-cross-compiler ; then
- sed -i \
- -e '/^GROFFBIN=/s:=.*:=/usr/bin/groff:' \
- -e '/^TROFFBIN=/s:=.*:=/usr/bin/troff:' \
- -e '/^GROFF_BIN_PATH=/s:=.*:=:' \
- -e '/^GROFF_BIN_DIR=/s:=.*:=:' \
- contrib/*/Makefile.sub \
- doc/Makefile.in \
- doc/Makefile.sub || die "cross-compile sed failed"
- fi
-
- cat <<-EOF >> tmac/mdoc.local
- .ds volume-operating-system Gentoo
- .ds operating-system Gentoo/${KERNEL}
- .ds default-operating-system Gentoo/${KERNEL}
- EOF
-
- if use linguas_ja ; then
- epatch "${WORKDIR}"/${PF}-japanese.patch #255292
- eautoconf
- eautoheader
- fi
-}
-
-src_compile() {
- # Fix problems with not finding g++
-# tc-export CC CXX
- econf \
- --with-appresdir=/usr/share/X11/app-defaults \
- --docdir=/usr/share/doc/${PF} \
- $(use_with X x) \
- $(use linguas_ja && echo --enable-japanese)
- emake || die
-}
-
-src_install() {
- emake install DESTDIR="${D}" || die
-
- # The following links are required for man #123674
- dosym eqn /usr/bin/geqn
- dosym tbl /usr/bin/gtbl
-
- dodoc BUG-REPORT ChangeLog MORE.STUFF NEWS \
- PROBLEMS PROJECTS README REVISION TODO VERSION
-
- if ! use examples ; then
- rm -rf "${D}"/usr/share/doc/${PF}/examples
- fi
-}
diff --git a/sys-apps/groff/groff-1.20.1-r3.ebuild b/sys-apps/groff/groff-1.20.1-r3.ebuild
deleted file mode 100644
index 0cbb9dfb05b9..000000000000
--- a/sys-apps/groff/groff-1.20.1-r3.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/groff/groff-1.20.1-r3.ebuild,v 1.10 2011/12/21 19:33:24 vapier Exp $
-
-inherit autotools eutils toolchain-funcs
-
-DESCRIPTION="Text formatter used for man pages"
-HOMEPAGE="http://www.gnu.org/software/groff/groff.html"
-SRC_URI="mirror://gnu/groff/${P}.tar.gz
- linguas_ja? ( mirror://gentoo/${P}-r2-japanese.patch.bz2 )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
-IUSE="examples X linguas_ja"
-
-DEPEND=">=sys-apps/texinfo-4.7-r1
- X? (
- x11-libs/libX11
- x11-libs/libXt
- x11-libs/libXmu
- x11-libs/libXaw
- x11-libs/libSM
- x11-libs/libICE
- )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}"/${PN}-1.19.2-man-unicode-dashes.patch #16108 #17580 #121502
- epatch "${FILESDIR}"/${P}-tmac-ec.patch #263524
- epatch "${FILESDIR}"/${P}-Thtml-mem-leak.patch #294045
- epatch "${FILESDIR}"/${P}-double-frees-mem-leaks.patch #294045
- epatch "${FILESDIR}"/${PN}-1.20.1-pdfmark-parallel.patch
-
- # put the docs in the Gentoo-specific spot
- sed -i \
- -e '/^docdir=/s/=.*/=@docdir@/' \
- Makefile.in \
- || die "sed failed"
-
- # Make sure we can cross-compile this puppy
- if tc-is-cross-compiler ; then
- sed -i \
- -e '/^GROFFBIN=/s:=.*:=/usr/bin/groff:' \
- -e '/^TROFFBIN=/s:=.*:=/usr/bin/troff:' \
- -e '/^GROFF_BIN_PATH=/s:=.*:=:' \
- -e '/^GROFF_BIN_DIR=/s:=.*:=:' \
- contrib/*/Makefile.sub \
- doc/Makefile.in \
- doc/Makefile.sub || die "cross-compile sed failed"
- fi
-
- cat <<-EOF >> tmac/mdoc.local
- .ds volume-operating-system Gentoo
- .ds operating-system Gentoo/${KERNEL}
- .ds default-operating-system Gentoo/${KERNEL}
- EOF
-
- if use linguas_ja ; then
- epatch "${WORKDIR}"/${P}-r2-japanese.patch #255292
- eautoconf
- eautoheader
- fi
-}
-
-src_compile() {
- # Fix problems with not finding g++
-# tc-export CC CXX
- econf \
- --with-appresdir=/usr/share/X11/app-defaults \
- --docdir=/usr/share/doc/${PF} \
- $(use_with X x) \
- $(use linguas_ja && echo --enable-japanese)
- emake || die
-}
-
-src_install() {
- emake install DESTDIR="${D}" || die
-
- # The following links are required for man #123674
- dosym eqn /usr/bin/geqn
- dosym tbl /usr/bin/gtbl
-
- dodoc BUG-REPORT ChangeLog MORE.STUFF NEWS \
- PROBLEMS PROJECTS README REVISION TODO VERSION
-
- if ! use examples ; then
- rm -rf "${D}"/usr/share/doc/${PF}/examples
- fi
-}
diff --git a/sys-apps/groff/groff-1.21-r1.ebuild b/sys-apps/groff/groff-1.21-r1.ebuild
deleted file mode 100644
index 5b63a51a5819..000000000000
--- a/sys-apps/groff/groff-1.21-r1.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/groff/groff-1.21-r1.ebuild,v 1.5 2012/11/13 19:52:24 vapier Exp $
-
-EAPI="3"
-
-inherit autotools eutils toolchain-funcs
-
-DESCRIPTION="Text formatter used for man pages"
-HOMEPAGE="http://www.gnu.org/software/groff/groff.html"
-SRC_URI="mirror://gnu/groff/${P}.tar.gz
- linguas_ja? ( mirror://gentoo/${P}-japanese.patch.bz2 )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="examples X linguas_ja"
-
-RDEPEND=">=sys-apps/texinfo-4.7-r1
- X? (
- x11-libs/libX11
- x11-libs/libXt
- x11-libs/libXmu
- x11-libs/libXaw
- x11-libs/libSM
- x11-libs/libICE
- )"
-DEPEND="${RDEPEND}
- linguas_ja? ( virtual/yacc )"
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-1.19.2-man-unicode-dashes.patch #16108 #17580 #121502
- epatch "${FILESDIR}"/${PN}-1.20.1-pdfmark-parallel.patch
-
- # Make sure we can cross-compile this puppy
- if tc-is-cross-compiler ; then
- sed -i \
- -e '/^GROFFBIN=/s:=.*:=${EPREFIX}/usr/bin/groff:' \
- -e '/^TROFFBIN=/s:=.*:=${EPREFIX}/usr/bin/troff:' \
- -e '/^GROFF_BIN_PATH=/s:=.*:=:' \
- -e '/^GROFF_BIN_DIR=/s:=.*:=:' \
- contrib/*/Makefile.sub \
- doc/Makefile.in \
- doc/Makefile.sub || die "cross-compile sed failed"
- fi
-
- local pfx=
- use prefix && pfx=" Prefix"
- cat <<-EOF >> tmac/mdoc.local
- .ds volume-operating-system Gentoo${pfx}
- .ds operating-system Gentoo${pfx}/${KERNEL}
- .ds default-operating-system Gentoo${pfx}/${KERNEL}
- EOF
-
- if use linguas_ja ; then
- epatch "${WORKDIR}"/${P}-japanese.patch #255292 #350534
- eautoconf
- eautoheader
- fi
-
- # from upstream, #353287, #353377
- epatch "${FILESDIR}"/groff-1.21-makefile.patch
- epatch "${FILESDIR}"/groff-1.21-gnulib.patch
- epatch "${FILESDIR}"/${PN}-1.21-gnulib-cross.patch #363647
- # make sure we don't get a crappy `g' nameprefix on UNIX systems with real
- # troff (GROFF_G macro runs some test to see, its own troff doesn't satisfy)
- sed -i -e 's/^[ \t]\+g=g$/g=/' configure || die
-}
-
-src_configure() {
- econf \
- --with-appresdir="${EPREFIX}"/usr/share/X11/app-defaults \
- --docdir="${EPREFIX}"/usr/share/doc/${PF} \
- $(use_with X x) \
- $(use linguas_ja && echo --enable-japanese)
-}
-
-src_install() {
- emake install DESTDIR="${D}" || die
-
- # The following links are required for man #123674
- dosym eqn /usr/bin/geqn
- dosym tbl /usr/bin/gtbl
-
- dodoc BUG-REPORT ChangeLog MORE.STUFF NEWS \
- PROBLEMS PROJECTS README REVISION TODO VERSION
-
- use examples || rm -rf "${ED}"/usr/share/doc/${PF}/examples
-}
diff --git a/sys-apps/groff/groff-1.21.ebuild b/sys-apps/groff/groff-1.21.ebuild
deleted file mode 100644
index b6cefbe9f625..000000000000
--- a/sys-apps/groff/groff-1.21.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/groff/groff-1.21.ebuild,v 1.11 2012/11/13 19:52:24 vapier Exp $
-
-inherit autotools eutils toolchain-funcs
-
-DESCRIPTION="Text formatter used for man pages"
-HOMEPAGE="http://www.gnu.org/software/groff/groff.html"
-SRC_URI="mirror://gnu/groff/${P}.tar.gz
- linguas_ja? ( mirror://gentoo/${P}-japanese.patch.bz2 )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
-IUSE="examples X linguas_ja"
-
-RDEPEND=">=sys-apps/texinfo-4.7-r1
- X? (
- x11-libs/libX11
- x11-libs/libXt
- x11-libs/libXmu
- x11-libs/libXaw
- x11-libs/libSM
- x11-libs/libICE
- )"
-DEPEND="${RDEPEND}
- linguas_ja? ( virtual/yacc )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}"/${PN}-1.19.2-man-unicode-dashes.patch #16108 #17580 #121502
- epatch "${FILESDIR}"/${PN}-1.20.1-pdfmark-parallel.patch
-
- # Make sure we can cross-compile this puppy
- if tc-is-cross-compiler ; then
- sed -i \
- -e '/^GROFFBIN=/s:=.*:=/usr/bin/groff:' \
- -e '/^TROFFBIN=/s:=.*:=/usr/bin/troff:' \
- -e '/^GROFF_BIN_PATH=/s:=.*:=:' \
- -e '/^GROFF_BIN_DIR=/s:=.*:=:' \
- contrib/*/Makefile.sub \
- doc/Makefile.in \
- doc/Makefile.sub || die "cross-compile sed failed"
- fi
-
- cat <<-EOF >> tmac/mdoc.local
- .ds volume-operating-system Gentoo
- .ds operating-system Gentoo/${KERNEL}
- .ds default-operating-system Gentoo/${KERNEL}
- EOF
-
- if use linguas_ja ; then
- epatch "${WORKDIR}"/${P}-japanese.patch #255292 #350534
- eautoconf
- eautoheader
- fi
-
- epatch "${FILESDIR}"/${PN}-1.21-gnulib-cross.patch #363647
-}
-
-src_compile() {
- econf \
- --with-appresdir=/usr/share/X11/app-defaults \
- --docdir=/usr/share/doc/${PF} \
- $(use_with X x) \
- $(use linguas_ja && echo --enable-japanese)
- emake || die
-}
-
-src_install() {
- emake install DESTDIR="${D}" || die
-
- # The following links are required for man #123674
- dosym eqn /usr/bin/geqn
- dosym tbl /usr/bin/gtbl
-
- dodoc BUG-REPORT ChangeLog MORE.STUFF NEWS \
- PROBLEMS PROJECTS README REVISION TODO VERSION
-
- use examples || rm -rf "${D}"/usr/share/doc/${PF}/examples
-}
diff --git a/sys-apps/groff/groff-1.22.1.ebuild b/sys-apps/groff/groff-1.22.1.ebuild
deleted file mode 100644
index abe23c9fb01a..000000000000
--- a/sys-apps/groff/groff-1.22.1.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/groff/groff-1.22.1.ebuild,v 1.4 2013/02/20 22:45:37 zmedico Exp $
-
-EAPI="3"
-
-inherit autotools eutils toolchain-funcs
-
-DESCRIPTION="Text formatter used for man pages"
-HOMEPAGE="http://www.gnu.org/software/groff/groff.html"
-SRC_URI="mirror://gnu/groff/${P}.tar.gz
- linguas_ja? ( http://dev.gentoo.org/~naota/patch/${PN}-1.22.1-japanese.patch.bz2 )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="examples X linguas_ja"
-
-RDEPEND=">=sys-apps/texinfo-4.7-r1
- X? (
- x11-libs/libX11
- x11-libs/libXt
- x11-libs/libXmu
- x11-libs/libXaw
- x11-libs/libSM
- x11-libs/libICE
- )"
-DEPEND="${RDEPEND}
- linguas_ja? ( virtual/yacc )"
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-1.19.2-man-unicode-dashes.patch #16108 #17580 #121502
- epatch "${FILESDIR}"/${P}-pdf-{symlink,subdir}.patch #450798
-
- # Make sure we can cross-compile this puppy
- if tc-is-cross-compiler ; then
- sed -i \
- -e '/^GROFFBIN=/s:=.*:=${EPREFIX}/usr/bin/groff:' \
- -e '/^TROFFBIN=/s:=.*:=${EPREFIX}/usr/bin/troff:' \
- -e '/^GROFF_BIN_PATH=/s:=.*:=:' \
- -e '/^GROFF_BIN_DIR=/s:=.*:=:' \
- contrib/*/Makefile.sub \
- doc/Makefile.in \
- doc/Makefile.sub || die "cross-compile sed failed"
- fi
-
- local pfx=$(usex prefix ' Prefix' '')
- cat <<-EOF >> tmac/mdoc.local
- .ds volume-operating-system Gentoo${pfx}
- .ds operating-system Gentoo${pfx}/${KERNEL}
- .ds default-operating-system Gentoo${pfx}/${KERNEL}
- EOF
-
- if use linguas_ja ; then
- epatch "${WORKDIR}"/${PN}-1.22.1-japanese.patch #255292 #350534 #450796
- eautoconf
- eautoheader
- fi
-
- # make sure we don't get a crappy `g' nameprefix on UNIX systems with real
- # troff (GROFF_G macro runs some test to see, its own troff doesn't satisfy)
- sed -i -e 's/^[ \t]\+g=g$/g=/' configure || die
-}
-
-src_configure() {
- econf \
- --with-appresdir="${EPREFIX}"/usr/share/X11/app-defaults \
- --docdir="${EPREFIX}"/usr/share/doc/${PF} \
- $(use_with X x) \
- $(usex linguas_ja '--enable-japanese' '')
-}
-
-src_install() {
- emake install DESTDIR="${D}" || die
-
- # The following links are required for man #123674
- dosym eqn /usr/bin/geqn
- dosym tbl /usr/bin/gtbl
-
- dodoc BUG-REPORT ChangeLog MORE.STUFF NEWS \
- PROBLEMS PROJECTS README REVISION TODO VERSION
-
- use examples || rm -rf "${ED}"/usr/share/doc/${PF}/examples
-}