summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-06-01 18:23:21 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-06-01 18:23:21 +0000
commit004f057f7c79a1a34382bf0c780824bd95b40c25 (patch)
tree46f59cf7bd68ae09c0c5c321202d371c23957911 /app-text/gv
parentUpdate to new release. (diff)
downloadgentoo-2-004f057f7c79a1a34382bf0c780824bd95b40c25.tar.gz
gentoo-2-004f057f7c79a1a34382bf0c780824bd95b40c25.tar.bz2
gentoo-2-004f057f7c79a1a34382bf0c780824bd95b40c25.zip
Remove landscape and add fixedmedia patch thanks to Carl Michal <michal@physics.ubc.ca> in bug 121849
(Portage version: 2.1_rc3-r4)
Diffstat (limited to 'app-text/gv')
-rw-r--r--app-text/gv/ChangeLog9
-rw-r--r--app-text/gv/files/digest-gv-3.6.1-r34
-rw-r--r--app-text/gv/files/digest-gv-3.6.1-r46
-rw-r--r--app-text/gv/files/gv-3.6.1-fixedmedia.patch24
-rw-r--r--app-text/gv/gv-3.6.1-r4.ebuild53
5 files changed, 95 insertions, 1 deletions
diff --git a/app-text/gv/ChangeLog b/app-text/gv/ChangeLog
index a04ab596467f..a56786735c50 100644
--- a/app-text/gv/ChangeLog
+++ b/app-text/gv/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-text/gv
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/gv/ChangeLog,v 1.49 2006/04/21 17:13:02 vanquirius Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/gv/ChangeLog,v 1.50 2006/06/01 18:23:21 genstef Exp $
+
+*gv-3.6.1-r4 (01 Jun 2006)
+
+ 01 Jun 2006; Stefan Schweizer <genstef@gentoo.org>
+ +files/gv-3.6.1-fixedmedia.patch, +gv-3.6.1-r4.ebuild:
+ Remove landscape and add fixedmedia patch thanks to Carl Michal
+ <michal@physics.ubc.ca> in bug 121849
21 Apr 2006; Marcelo Goes <vanquirius@gentoo.org> gv-3.6.1-r3.ebuild:
Remove virtual/pdfviewer and virtual/psviewer PROVIDE for bug 130746,
diff --git a/app-text/gv/files/digest-gv-3.6.1-r3 b/app-text/gv/files/digest-gv-3.6.1-r3
index 79755eaaa4a0..6437c8cb34a7 100644
--- a/app-text/gv/files/digest-gv-3.6.1-r3
+++ b/app-text/gv/files/digest-gv-3.6.1-r3
@@ -1,2 +1,6 @@
MD5 ace080d647b70f46fca7946e9543b79e gv-3.6.1.tar.gz 453921
+RMD160 d783a15f581eb32efc65981b693db44aed193de2 gv-3.6.1.tar.gz 453921
+SHA256 37eb3f58b62441ce62544cdd81c096713ddeeb454e313c3b3b7a93970e85bd08 gv-3.6.1.tar.gz 453921
MD5 e617286de8652e709b7c303c125ff61c gv_3.6.1-13.diff.gz 13880
+RMD160 bd9e00f4248274e0eeab42e48e52f206eaf95163 gv_3.6.1-13.diff.gz 13880
+SHA256 769ceed1e519c796c37080214d6dc1f8900689e54e24adf4145462072e1f56d5 gv_3.6.1-13.diff.gz 13880
diff --git a/app-text/gv/files/digest-gv-3.6.1-r4 b/app-text/gv/files/digest-gv-3.6.1-r4
new file mode 100644
index 000000000000..6437c8cb34a7
--- /dev/null
+++ b/app-text/gv/files/digest-gv-3.6.1-r4
@@ -0,0 +1,6 @@
+MD5 ace080d647b70f46fca7946e9543b79e gv-3.6.1.tar.gz 453921
+RMD160 d783a15f581eb32efc65981b693db44aed193de2 gv-3.6.1.tar.gz 453921
+SHA256 37eb3f58b62441ce62544cdd81c096713ddeeb454e313c3b3b7a93970e85bd08 gv-3.6.1.tar.gz 453921
+MD5 e617286de8652e709b7c303c125ff61c gv_3.6.1-13.diff.gz 13880
+RMD160 bd9e00f4248274e0eeab42e48e52f206eaf95163 gv_3.6.1-13.diff.gz 13880
+SHA256 769ceed1e519c796c37080214d6dc1f8900689e54e24adf4145462072e1f56d5 gv_3.6.1-13.diff.gz 13880
diff --git a/app-text/gv/files/gv-3.6.1-fixedmedia.patch b/app-text/gv/files/gv-3.6.1-fixedmedia.patch
new file mode 100644
index 000000000000..31902eecbc97
--- /dev/null
+++ b/app-text/gv/files/gv-3.6.1-fixedmedia.patch
@@ -0,0 +1,24 @@
+diff -ru gv-3.6.1/src/Makefile.am src.orig/Makefile.am
+--- src/Makefile.am 2006-04-13 16:24:11.000000000 -0700
++++ src.orig/Makefile.am 2006-04-13 16:25:49.000000000 -0700
+@@ -195,7 +195,7 @@
+ @echo "GV.gsX11AlphaDevice: -sDEVICE=x11 -dTextAlphaBits=4 -dGraphicsAlphaBits=2 -dMaxBitmap=10000000 -dNOPLATFONTS" >> $(srcdir)/gv_intern_res_unix.dat
+ @echo "GV.gsSafer: True" >> $(srcdir)/gv_intern_res_unix.dat
+ @echo "GV.gsQuiet: True" >> $(srcdir)/gv_intern_res_unix.dat
+- @echo "GV.gsArguments:" >> $(srcdir)/gv_intern_res_unix.dat
++ @echo "GV.gsArguments: -dFIXEDMEDIA" >> $(srcdir)/gv_intern_res_unix.dat
+ @echo "GV.uncompressCommand: gzip -d -c %s > %s" >> $(srcdir)/gv_intern_res_unix.dat
+ @echo "GV.printCommand: $(PRINT_COMMAND)" >> $(srcdir)/gv_intern_res_unix.dat
+
+diff -ru gv-3.6.1/src/Makefile.in src.orig/Makefile.in
+--- src/Makefile.in 2006-04-13 16:25:04.000000000 -0700
++++ src.orig/Makefile.in 2006-04-13 16:25:49.000000000 -0700
+@@ -769,7 +769,7 @@
+ @echo "GV.gsX11AlphaDevice: -sDEVICE=x11 -dTextAlphaBits=4 -dGraphicsAlphaBits=2 -dMaxBitmap=10000000 -dNOPLATFONTS" >> $(srcdir)/gv_intern_res_unix.dat
+ @echo "GV.gsSafer: True" >> $(srcdir)/gv_intern_res_unix.dat
+ @echo "GV.gsQuiet: True" >> $(srcdir)/gv_intern_res_unix.dat
+- @echo "GV.gsArguments:" >> $(srcdir)/gv_intern_res_unix.dat
++ @echo "GV.gsArguments: -dFIXEDMEDIA" >> $(srcdir)/gv_intern_res_unix.dat
+ @echo "GV.uncompressCommand: gzip -d -c %s > %s" >> $(srcdir)/gv_intern_res_unix.dat
+ @echo "GV.printCommand: $(PRINT_COMMAND)" >> $(srcdir)/gv_intern_res_unix.dat
+
diff --git a/app-text/gv/gv-3.6.1-r4.ebuild b/app-text/gv/gv-3.6.1-r4.ebuild
new file mode 100644
index 000000000000..85a841467197
--- /dev/null
+++ b/app-text/gv/gv-3.6.1-r4.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/gv/gv-3.6.1-r4.ebuild,v 1.1 2006/06/01 18:23:21 genstef Exp $
+
+inherit eutils
+
+DESCRIPTION="gv is used to view PostScript and PDF documents using Ghostscript"
+HOMEPAGE="http://www.gnu.org/software/gv/"
+SRC_URI="ftp://ftp.gnu.org/gnu/gv/${P}.tar.gz
+ mirror://debian/pool/main/g/gv/gv_3.6.1-13.diff.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc-macos ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND="|| ( (
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXmu
+ x11-libs/libXpm
+ x11-libs/libXt
+ ) virtual/x11
+ )
+ x11-libs/Xaw3d
+ virtual/ghostscript"
+
+DEPEND="${RDEPEND}
+ || (
+ x11-libs/libXt
+ virtual/x11
+ )"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-setenv.patch
+ epatch "${FILESDIR}"/${P}-a0.patch
+ epatch "${FILESDIR}"/${P}-fixedmedia.patch
+ epatch "${WORKDIR}"/gv_3.6.1-13.diff
+ epatch ${P}/debian/patches/*.dpatch
+}
+
+src_compile() {
+ econf --enable-scrollbar-code || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS ChangeLog INSTALL README TODO
+}