summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/groff/ChangeLog7
-rw-r--r--sys-apps/groff/Manifest18
-rw-r--r--sys-apps/groff/files/digest-groff-1.192
-rw-r--r--sys-apps/groff/groff-1.19.ebuild122
4 files changed, 140 insertions, 9 deletions
diff --git a/sys-apps/groff/ChangeLog b/sys-apps/groff/ChangeLog
index fe7b1da3aab5..42c844354d7e 100644
--- a/sys-apps/groff/ChangeLog
+++ b/sys-apps/groff/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/groff
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/groff/ChangeLog,v 1.33 2004/01/06 15:54:59 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/groff/ChangeLog,v 1.34 2004/02/29 19:50:34 azarah Exp $
+
+*groff-1.19 (29 Feb 2004)
+
+ 29 Feb 2004; Martin Schlemmer <azarah@gentoo.org> groff-1.19.ebuild:
+ Update version.
06 Jan 2004; Aron Griffis <agriffis@gentoo.org> groff-1.18.1-r4.ebuild:
Fix bug 36008 by replacing -Os with -O on alpha. Additionally make the build
diff --git a/sys-apps/groff/Manifest b/sys-apps/groff/Manifest
index 99f2fc28782f..40f4ee7136c4 100644
--- a/sys-apps/groff/Manifest
+++ b/sys-apps/groff/Manifest
@@ -1,17 +1,19 @@
+MD5 ccf8efe1ba076ba093be6ecfa3c6b12b groff-1.18.1-r3.ebuild 3076
+MD5 7b0368326340689ef9b40e841e09dc53 ChangeLog 5141
+MD5 4c4cfcffcd9636b30713679f8337013b groff-1.19.ebuild 3243
MD5 eab0bd6d454536b5e1be2b13b4445a61 groff-1.18.1-r4.ebuild 3230
MD5 1e165619c6e830df8527b5277a844baa groff-1.18.1-r1.ebuild 2358
-MD5 ccf8efe1ba076ba093be6ecfa3c6b12b groff-1.18.1-r3.ebuild 3076
MD5 8d6592cfd879e1fbbbffc58e1b55f66c groff-1.18.1-r2.ebuild 2927
-MD5 7b0368326340689ef9b40e841e09dc53 ChangeLog 5141
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
-MD5 a94a3de58bb54769a2793e1f8602a618 files/groff_1.18.1-7-fix.patch 551
-MD5 e0ea59264695cc68dc9947e4611dde5d files/groff-man-UTF-8.diff 391
-MD5 c43ddaf604dd389afc6107d79b90ce6c files/groff-1.18-infoext.patch 673
-MD5 e35d3d0986726ce27b9392409d9f6476 files/digest-groff-1.18.1-r1 65
-MD5 b887e99fa5e1252f1bf827af9892a238 files/digest-groff-1.18.1-r2 132
MD5 b887e99fa5e1252f1bf827af9892a238 files/digest-groff-1.18.1-r3 132
+MD5 b887e99fa5e1252f1bf827af9892a238 files/digest-groff-1.18.1-r2 132
MD5 b887e99fa5e1252f1bf827af9892a238 files/digest-groff-1.18.1-r4 132
+MD5 371e8d0b682fe5a41ffe7d38bb8e1b0a files/digest-groff-1.19 130
+MD5 a94a3de58bb54769a2793e1f8602a618 files/groff_1.18.1-7-fix.patch 551
+MD5 ab6a81383557e8cf8eed1e9b15d45540 files/groff-1.18-no-netpbm-depend.patch 367
MD5 11e713f291a441e744ed38f94a002097 files/groff-1.17.2-r3-gentoo.diff 984
MD5 98060417290f3c427f5a3406b21f8da9 files/groff-1.18.1-no-color-segfault.patch 896
+MD5 e35d3d0986726ce27b9392409d9f6476 files/digest-groff-1.18.1-r1 65
+MD5 e0ea59264695cc68dc9947e4611dde5d files/groff-man-UTF-8.diff 391
MD5 a48d15e8fbf117ad6d82f9198717be29 files/groff-1.17.2-infoext.patch 594
-MD5 ab6a81383557e8cf8eed1e9b15d45540 files/groff-1.18-no-netpbm-depend.patch 367
+MD5 c43ddaf604dd389afc6107d79b90ce6c files/groff-1.18-infoext.patch 673
diff --git a/sys-apps/groff/files/digest-groff-1.19 b/sys-apps/groff/files/digest-groff-1.19
new file mode 100644
index 000000000000..bc81a85067cd
--- /dev/null
+++ b/sys-apps/groff/files/digest-groff-1.19
@@ -0,0 +1,2 @@
+MD5 c12bf574120df33ec8c18d92703e099e groff-1.19.tar.gz 2416140
+MD5 957fad244caa648fdf3d6395ca27aa2e groff_1.18.1-7.diff.gz 115348
diff --git a/sys-apps/groff/groff-1.19.ebuild b/sys-apps/groff/groff-1.19.ebuild
new file mode 100644
index 000000000000..b5fea0d9c42e
--- /dev/null
+++ b/sys-apps/groff/groff-1.19.ebuild
@@ -0,0 +1,122 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/groff/groff-1.19.ebuild,v 1.1 2004/02/29 19:50:34 azarah Exp $
+
+IUSE="X" # cjk"
+
+inherit eutils flag-o-matic
+
+S="${WORKDIR}/${P}"
+DESCRIPTION="Text formatter used for man pages"
+MB_PATCH="groff_1.18.1-7" #"${P/-/_}-7"
+SRC_URI="mirror://gnu/groff/${P}.tar.gz"
+# cjk? ( http://people.debian.org/~ukai/groff/${MB_PATCH}.diff.gz )"
+HOMEPAGE="http://www.gnu.org/software/groff/groff.html"
+
+KEYWORDS="~x86 ~amd64 ~ppc ~sparc ~alpha ~mips ~hppa ~ia64 ~ppc64"
+SLOT="0"
+LICENSE="GPL-2"
+
+DEPEND="virtual/glibc
+ >=sys-apps/texinfo-4.0"
+
+PDEPEND=">=sys-apps/man-1.5k-r1"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+# if [ -n "`use cjk`" ]
+# then
+ # multibyte patch contains no-color-segfault
+# epatch ${WORKDIR}/${MB_PATCH}.diff
+# epatch ${FILESDIR}/${MB_PATCH}-fix.patch
+# fi
+
+ # Fix the info pages to have .info extensions,
+ # else they do not get gzipped.
+ epatch ${FILESDIR}/groff-1.18-infoext.patch
+
+ # Do not generate example files that require us to
+ # depend on netpbm.
+ epatch ${FILESDIR}/groff-1.18-no-netpbm-depend.patch
+
+ # Make dashes the same as minus on the keyboard so that you
+ # can search for it. Fixes #17580 and #16108
+ # Thanks to James Cloos <cloos@jhcloos.com>
+ epatch ${FILESDIR}/${PN}-man-UTF-8.diff
+
+ # Fix syntax error in pic2graph. Closes #32300.
+ sed -i -e "s:groffpic_opts=\"-U\":groffpic_opts=\"-U\";;:" \
+ contrib/pic2graph/pic2graph.sh
+}
+
+src_compile() {
+ local myconf=
+
+ # Fix problems with not finding g++
+ [ -z "${CC}" ] && export CC="gcc"
+ [ -z "${CXX}" ] && export CXX="g++"
+
+ case ${ARCH} in
+ alpha)
+ # -Os causes segfaults, -O is probably a fine replacement
+ # (fixes bug 36008, 06 Jan 2004 agriffis)
+ replace-flags -Os -O
+ ;;
+ hppa)
+ # -march=2.0 makes groff unable to finish the compile process
+ export CFLAGS="${CFLAGS/-march=2.0/}"
+ export CXXFLAGS="${CXXFLAGS/-march=2.0/}"
+ ;;
+ esac
+
+# myconf="${myconf} `use_enable cjk multibyte`"
+
+ ./configure --host=${CHOST} \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=\${inforoot} \
+ ${myconf} || die
+
+ # Parallel build doesn't work
+ emake -j1 || die
+
+ # Only build X stuff if we have X installed, but do
+ # not depend on it, else we get circular deps.
+ if [ -n "`use X`" ] && [ -x /usr/X11R6/bin/xmkmf ]
+ then
+ cd ${S}/src/xditview
+ xmkmf || die
+ make depend all || die
+ fi
+}
+
+src_install() {
+ dodir /usr /usr/share/doc/${PF}/{examples,html}
+ make prefix=${D}/usr \
+ manroot=${D}/usr/share/man \
+ inforoot=${D}/usr/share/info \
+ docdir=${D}/usr/share/doc/${PF} \
+ install || die
+
+ if [ -n "`use X`" ] && [ -x /usr/X11R6/bin/xmkmf ]
+ then
+ cd ${S}/src/xditview
+ make DESTDIR=${D} \
+ BINDIR=/usr/bin \
+ MANPATH=/usr/share/man \
+ install \
+ install.man || die
+ fi
+
+ # The following links are required for xman
+ dosym eqn /usr/bin/geqn
+ dosym tbl /usr/bin/gtbl
+ dosym soelim /usr/bin/zsoelim
+
+ cd ${S}
+ dodoc BUG-REPORT COPYING ChangeLog FDL MORE.STUFF NEWS \
+ PROBLEMS PROJECTS README REVISION TODO VERSION
+}
+