summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-01-22 19:07:07 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-01-22 19:07:07 +0000
commit61ea7fc9d44625283cde3654273a77b1231f6858 (patch)
tree3b63356493fee0440d6fba5e293fd832c9fed671 /app-text
parentRemove old versions. (diff)
downloadgentoo-2-61ea7fc9d44625283cde3654273a77b1231f6858.tar.gz
gentoo-2-61ea7fc9d44625283cde3654273a77b1231f6858.tar.bz2
gentoo-2-61ea7fc9d44625283cde3654273a77b1231f6858.zip
Version bump wrt #398225 by Pavel Sanda. Fix building with libXaw3d >= 1.6 wrt #399753 by Helmut Jarausch.
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/gv/ChangeLog11
-rw-r--r--app-text/gv/files/gv-3.7.3-libXaw3d-1.6.patch15
-rw-r--r--app-text/gv/gv-3.7.3.ebuild49
3 files changed, 73 insertions, 2 deletions
diff --git a/app-text/gv/ChangeLog b/app-text/gv/ChangeLog
index 6f53878bc496..c2cb618e4d21 100644
--- a/app-text/gv/ChangeLog
+++ b/app-text/gv/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-text/gv
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/gv/ChangeLog,v 1.94 2011/10/06 17:48:47 jer Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/gv/ChangeLog,v 1.95 2012/01/22 19:07:07 ssuominen Exp $
+
+*gv-3.7.3 (22 Jan 2012)
+
+ 22 Jan 2012; Samuli Suominen <ssuominen@gentoo.org> +gv-3.7.3.ebuild,
+ +files/gv-3.7.3-libXaw3d-1.6.patch:
+ Version bump wrt #398225 by Pavel Sanda. Fix building with libXaw3d >= 1.6
+ wrt #399753 by Helmut Jarausch.
06 Oct 2011; Jeroen Roovers <jer@gentoo.org> gv-3.7.1-r1.ebuild:
Stable for HPPA (bug #371807).
diff --git a/app-text/gv/files/gv-3.7.3-libXaw3d-1.6.patch b/app-text/gv/files/gv-3.7.3-libXaw3d-1.6.patch
new file mode 100644
index 000000000000..76c88b158b27
--- /dev/null
+++ b/app-text/gv/files/gv-3.7.3-libXaw3d-1.6.patch
@@ -0,0 +1,15 @@
+This piece of code is from libXaw3d-1.6/src/Scrollbar.c (Line 644)
+
+http://bugs.gentoo.org/399753
+
+--- src/Scrollbar.c
++++ src/Scrollbar.c
+@@ -1006,7 +1006,7 @@
+ TOPLOC = newtop;
+ SHOWNLENGTH = newbot-newtop+1;
+
+- (*swclass->threeD_class.shadowdraw) (w, event, region, FALSE);
++ (*swclass->threeD_class.shadowdraw) (w, event, region, sbw->threeD.relief, FALSE);
+
+ ENDMESSAGE(Redisplay)
+ }
diff --git a/app-text/gv/gv-3.7.3.ebuild b/app-text/gv/gv-3.7.3.ebuild
new file mode 100644
index 000000000000..054e28cbe06d
--- /dev/null
+++ b/app-text/gv/gv-3.7.3.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/gv/gv-3.7.3.ebuild,v 1.1 2012/01/22 19:07:07 ssuominen Exp $
+
+EAPI=4
+inherit eutils
+
+DESCRIPTION="Viewer for PostScript and PDF documents using Ghostscript"
+HOMEPAGE="http://www.gnu.org/software/gv/"
+SRC_URI="mirror://gnu/gv/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="xinerama"
+
+RDEPEND="app-text/ghostscript-gpl
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ >=x11-libs/libXaw3d-1.6
+ x11-libs/libXext
+ x11-libs/libXmu
+ x11-libs/libXpm
+ x11-libs/libXt
+ xinerama? ( x11-libs/libXinerama )"
+DEPEND="${RDEPEND}
+ x11-proto/xproto"
+
+DOCS="AUTHORS ChangeLog NEWS README"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-3.7.3-libXaw3d-1.6.patch
+}
+
+src_configure() {
+ # For $(use_enable unicode international), see bug #372395
+
+ export ac_cv_lib_Xinerama_main=$(usex xinerama)
+
+ econf --enable-scrollbar-code
+}
+
+src_install() {
+ default
+
+ doicon "${FILESDIR}"/gv_icon.xpm
+ make_desktop_entry gv GhostView gv_icon "Graphics;Viewer"
+}