From 90d4406256323f0ab1d3769636adb9e73bcdbe57 Mon Sep 17 00:00:00 2001 From: Stefan Schweizer Date: Sat, 19 Aug 2006 01:53:01 +0000 Subject: New patch to fix the watch file and reload feature thanks to Johan Nilsson in bug 135384 Package-Manager: portage-2.1.1_pre5-r2 --- app-text/gv/ChangeLog | 9 +++++- app-text/gv/files/digest-gv-3.6.1-r5 | 6 ++++ app-text/gv/files/gv-update.patch | 24 +++++++++++++++ app-text/gv/gv-3.6.1-r5.ebuild | 57 ++++++++++++++++++++++++++++++++++++ 4 files changed, 95 insertions(+), 1 deletion(-) create mode 100644 app-text/gv/files/digest-gv-3.6.1-r5 create mode 100644 app-text/gv/files/gv-update.patch create mode 100644 app-text/gv/gv-3.6.1-r5.ebuild (limited to 'app-text') diff --git a/app-text/gv/ChangeLog b/app-text/gv/ChangeLog index a581a60fb9a3..02b56f4064ce 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.51 2006/06/07 09:21:22 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/gv/ChangeLog,v 1.52 2006/08/19 01:53:00 genstef Exp $ + +*gv-3.6.1-r5 (19 Aug 2006) + + 19 Aug 2006; Stefan Schweizer +files/gv-update.patch, + -gv-3.6.1-r4.ebuild, +gv-3.6.1-r5.ebuild: + New patch to fix the watch file and reload feature thanks to Johan Nilsson + in bug 135384 07 Jun 2006; Stefan Schweizer gv-3.6.1-r4.ebuild: Allow nice font rendering even with gs-8, thanks to xalan diff --git a/app-text/gv/files/digest-gv-3.6.1-r5 b/app-text/gv/files/digest-gv-3.6.1-r5 new file mode 100644 index 000000000000..6437c8cb34a7 --- /dev/null +++ b/app-text/gv/files/digest-gv-3.6.1-r5 @@ -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-update.patch b/app-text/gv/files/gv-update.patch new file mode 100644 index 000000000000..b58b705129d5 --- /dev/null +++ b/app-text/gv/files/gv-update.patch @@ -0,0 +1,24 @@ +Fixes bug "pdf problems with gv" (Bug #13200). +http://savannah.gnu.org/bugs/index.php?func=detailitem&item_id=13200 + +by Markus Steinborn , + Student of Computer Science + University of Paderborn. + +Index: src/callbacks.c +=================================================================== +--- src/callbacks.c (Revision 25) ++++ src/callbacks.c (Revision 26) +@@ -357,7 +357,11 @@ + + BEGINMESSAGE(cb_checkFile) + changed = check_file(((int)client_data)); +- if (changed==1) show_page(current_page,NULL); ++ if (changed==1) ++ { ++ cb_stopInterpreter(page,NULL,NULL); ++ show_page(current_page,NULL); ++ } + ENDMESSAGE(cb_checkFile) + } + diff --git a/app-text/gv/gv-3.6.1-r5.ebuild b/app-text/gv/gv-3.6.1-r5.ebuild new file mode 100644 index 000000000000..7c58ec5ca5ee --- /dev/null +++ b/app-text/gv/gv-3.6.1-r5.ebuild @@ -0,0 +1,57 @@ +# 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-r5.ebuild,v 1.1 2006/08/19 01:53:00 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 ${FILESDIR}/gv-update.patch + epatch ${P}/debian/patches/*.dpatch + # Make font render nicely even with gs-8, bug 135354 + sed -i -e "s:-dGraphicsAlphaBits=2:\0 -dAlignToPixels=0:" \ + src/{gv_{class,user,system}.ad,Makefile.{am,in}} +} + +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 +} -- cgit v1.2.3-65-gdbad