summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-04-02 22:12:35 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-04-02 22:12:35 +0000
commit9d9bd09206376d6b415c230eeb2be23411d9c6ef (patch)
tree10bf232b4e7b0a06841e98eea7528890532b9a4b /app-text/gsview
parentAdded ~amd64 keyword. (diff)
downloadhistorical-9d9bd09206376d6b415c230eeb2be23411d9c6ef.tar.gz
historical-9d9bd09206376d6b415c230eeb2be23411d9c6ef.tar.bz2
historical-9d9bd09206376d6b415c230eeb2be23411d9c6ef.zip
Version bump, remove old, add gsesp patch thanks to Marek Szuba <cyberman@if.pw.edu.pl> in bug 123870
Package-Manager: portage-2.1_pre7-r2
Diffstat (limited to 'app-text/gsview')
-rw-r--r--app-text/gsview/ChangeLog12
-rw-r--r--app-text/gsview/Manifest25
-rw-r--r--app-text/gsview/files/digest-gsview-4.6-r11
-rw-r--r--app-text/gsview/files/digest-gsview-4.71
-rw-r--r--app-text/gsview/files/digest-gsview-4.83
-rw-r--r--app-text/gsview/files/gsview-4.8-gsesp.patch13
-rw-r--r--app-text/gsview/gsview-4.7.ebuild50
-rw-r--r--app-text/gsview/gsview-4.8.ebuild (renamed from app-text/gsview/gsview-4.6-r1.ebuild)17
8 files changed, 58 insertions, 64 deletions
diff --git a/app-text/gsview/ChangeLog b/app-text/gsview/ChangeLog
index 931e12d7dd4d..629725f4317b 100644
--- a/app-text/gsview/ChangeLog
+++ b/app-text/gsview/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-text/gsview
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/gsview/ChangeLog,v 1.17 2005/12/10 21:49:17 vanquirius Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/gsview/ChangeLog,v 1.18 2006/04/02 22:12:35 genstef Exp $
+
+*gsview-4.8 (02 Apr 2006)
+
+ 02 Apr 2006; Stefan Schweizer <genstef@gentoo.org>
+ +files/gsview-4.8-gsesp.patch, -gsview-4.6-r1.ebuild, -gsview-4.7.ebuild,
+ +gsview-4.8.ebuild:
+ Version bump, remove old, add gsesp patch thanks to Marek Szuba
+ <cyberman@if.pw.edu.pl> in bug 123870
10 Dec 2005; Marcelo Goes <vanquirius@gentoo.org> gsview-4.6.ebuild,
gsview-4.6-r1.ebuild, gsview-4.7.ebuild:
diff --git a/app-text/gsview/Manifest b/app-text/gsview/Manifest
index ce2cdfe12490..356afe21f4ae 100644
--- a/app-text/gsview/Manifest
+++ b/app-text/gsview/Manifest
@@ -1,9 +1,24 @@
-MD5 eefc89106f427894f645b91ba6dd45b4 ChangeLog 2086
+MD5 3dd7adc01500673b0f9e7931dec7ef83 ChangeLog 2368
+RMD160 40e60396993a2d341b117e5fc19d4be48be192e8 ChangeLog 2368
+SHA256 448de360a5b65306ef0d40900a5baea081ae4e4123851ee08e24d363aaec375b ChangeLog 2368
MD5 43585e75c85371fbcda163c65204c228 files/digest-gsview-4.6 58
-MD5 43585e75c85371fbcda163c65204c228 files/digest-gsview-4.6-r1 58
-MD5 086bfe5f01739041ea3b909d1b07f1e2 files/digest-gsview-4.7 58
+RMD160 0122099dcfa50d07b215433c107bb738f3802f7d files/digest-gsview-4.6 58
+SHA256 4c1b061a459c8a74f8f00ee52cf75872d8019b1b0edfe9f744104f0724b0c478 files/digest-gsview-4.6 58
+MD5 45c524fb478849a03edcc47d214d060b files/digest-gsview-4.8 220
+RMD160 07b5380b9b834334829a6c59fe650ba00aa73f6c files/digest-gsview-4.8 220
+SHA256 52a515a3136d351db5c59cc7f0f20ac169ba9879727ab12db95d7beb2b248e90 files/digest-gsview-4.8 220
+MD5 96813bf36e2cab2b9a091753c501f796 files/gsview-4.8-gsesp.patch 514
+RMD160 5fc7847e218db1a5262be7c87974f6d8b92594a7 files/gsview-4.8-gsesp.patch 514
+SHA256 e394c3747d44c096b0f798e5be5a3efdc15ea5d97db039a9293d79f81a3f1317 files/gsview-4.8-gsesp.patch 514
MD5 7473af7f015751a24f38bae02288f54c files/gsview-help 300
-MD5 a4efd65a7421372e110c67c684ad6df4 gsview-4.6-r1.ebuild 1152
+RMD160 477c846a3f0a47951dbcf2bb5006a14c33756c14 files/gsview-help 300
+SHA256 9c349814b51fa1f99cd638f7b7f6d3ea132334030995b7705a49a2459b6dbd20 files/gsview-help 300
MD5 571349e8a038b044535631d30df146c3 gsview-4.6.ebuild 1109
-MD5 03537f7fefb1a82396c62a6a57b48665 gsview-4.7.ebuild 1149
+RMD160 29395678d1798fe53e8a5895655790c318bf70e0 gsview-4.6.ebuild 1109
+SHA256 67f89bca38762f4c2c0213b6f91b7e281120fa6cd334858b00690305bfa72f3a gsview-4.6.ebuild 1109
+MD5 ea2c7572f91990c74f3809b4347e0d83 gsview-4.8.ebuild 1201
+RMD160 006f6c35008fb036fe3cb3f393f96e4d2869c254 gsview-4.8.ebuild 1201
+SHA256 74718512f993f4e11a99a643a440dd53a0c8bb00c096f0896be5519432afa240 gsview-4.8.ebuild 1201
MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161
+RMD160 1e5b1e42553c8869b93c4a5448e9a2a2ed9fe525 metadata.xml 161
+SHA256 7c85e6739a71f5bb23e8de36c88677d772946e61f7285892f7554e37bd2bca76 metadata.xml 161
diff --git a/app-text/gsview/files/digest-gsview-4.6-r1 b/app-text/gsview/files/digest-gsview-4.6-r1
deleted file mode 100644
index 10e2dcec0e15..000000000000
--- a/app-text/gsview/files/digest-gsview-4.6-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 6fc65d4b2acff0eb3a5cfb893662ab78 gsv46src.zip 1479984
diff --git a/app-text/gsview/files/digest-gsview-4.7 b/app-text/gsview/files/digest-gsview-4.7
deleted file mode 100644
index 3a539cb85a2b..000000000000
--- a/app-text/gsview/files/digest-gsview-4.7
+++ /dev/null
@@ -1 +0,0 @@
-MD5 119fbba002b528ef8eb0e3cf9fe30e8e gsv47src.zip 1484336
diff --git a/app-text/gsview/files/digest-gsview-4.8 b/app-text/gsview/files/digest-gsview-4.8
new file mode 100644
index 000000000000..bc5c63c0de28
--- /dev/null
+++ b/app-text/gsview/files/digest-gsview-4.8
@@ -0,0 +1,3 @@
+MD5 876c0e8b7aa81a90d8c686d3def816a8 gsv48src.zip 1481063
+RMD160 c5bd8ad82f8d5753b9ae72fda008c228aef4c18d gsv48src.zip 1481063
+SHA256 3a401dfe262370be802fe26a092b420ded1fd7d281c70406a3f32066baa8cf09 gsv48src.zip 1481063
diff --git a/app-text/gsview/files/gsview-4.8-gsesp.patch b/app-text/gsview/files/gsview-4.8-gsesp.patch
new file mode 100644
index 000000000000..3952a5fd4ea0
--- /dev/null
+++ b/app-text/gsview/files/gsview-4.8-gsesp.patch
@@ -0,0 +1,13 @@
+--- gsview-4.7/src/cdll.c 2002-02-10 14:46:00.000000000 +0100
++++ gsview-4.7_new/src/cdll.c 2006-02-17 12:45:47.000000000 +0100
+@@ -106,6 +106,10 @@
+ }
+ dll->revision_number = rv.revision;
+
++ /* Get rid of "wrong version" insanity for three-part GS version numbers */
++ while (dll->revision_number >= 1000)
++ dll->revision_number /= 10;
++
+ if ( (dll->revision_number < GS_REVISION_MIN) ||
+ (dll->revision_number > GS_REVISION_MAX) ) {
+ gs_addmessf("\nWrong version of DLL found.\n\
diff --git a/app-text/gsview/gsview-4.7.ebuild b/app-text/gsview/gsview-4.7.ebuild
deleted file mode 100644
index 409ad8fa780c..000000000000
--- a/app-text/gsview/gsview-4.7.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/gsview/gsview-4.7.ebuild,v 1.2 2005/12/10 21:49:17 vanquirius Exp $
-
-MY_PV="${PV/.}"
-DESCRIPTION="gsView PostScript and PDF viewer"
-SRC_URI="ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/gsv${MY_PV}src.zip"
-HOMEPAGE="http://www.cs.wisc.edu/~ghost/gsview/"
-
-IUSE="doc"
-SLOT="0"
-LICENSE="Aladdin"
-KEYWORDS="~x86 ~ppc ~amd64"
-
-RDEPEND="=x11-libs/gtk+-1.2*
- app-text/epstool
- virtual/ghostscript"
-DEPEND="app-arch/unzip"
-PROVIDE="virtual/pdfviewer
- virtual/psviewer"
-
-src_compile() {
- ## copy Unix makefile
- ln -s srcunx/unx.mak Makefile
-
- ## respect CFLAGS
- echo ${P}
- sed -i -e "s:^CFLAGS=-O :CFLAGS=${CFLAGS} :g" Makefile
- sed -i -e "s:GSVIEW_DOCPATH:\"/usr/share/doc/${PF}/html/\":" srcunx/gvx.c
-
- ## run Makefile
- make || die "Error compiling files."
-}
-
-src_install() {
- dobin bin/gsview
-
- doman srcunx/gsview.1
-
- dodoc gsview.css cdorder.txt regorder.txt LICENCE
-
- if use doc
- then
- dobin ${FILESDIR}/gsview-help
- dohtml *.htm bin/*.htm
- fi
-
- insinto /etc/gsview
- doins src/printer.ini
-}
diff --git a/app-text/gsview/gsview-4.6-r1.ebuild b/app-text/gsview/gsview-4.8.ebuild
index e6ec412f6976..10ac2afe8c5d 100644
--- a/app-text/gsview/gsview-4.6-r1.ebuild
+++ b/app-text/gsview/gsview-4.8.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/gsview/gsview-4.6-r1.ebuild,v 1.3 2005/12/10 21:49:17 vanquirius Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/gsview/gsview-4.8.ebuild,v 1.1 2006/04/02 22:12:35 genstef Exp $
+
+inherit eutils
MY_PV="${PV/.}"
DESCRIPTION="gsView PostScript and PDF viewer"
@@ -12,19 +14,24 @@ SLOT="0"
LICENSE="Aladdin"
KEYWORDS="~x86 ~ppc ~amd64"
-RDEPEND="=x11-libs/gtk+-1.2*
+RDEPEND="
app-text/epstool
virtual/ghostscript"
DEPEND="app-arch/unzip"
PROVIDE="virtual/pdfviewer
virtual/psviewer"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gsesp.patch
+}
+
src_compile() {
## copy Unix makefile
ln -s srcunx/unx.mak Makefile
## respect CFLAGS
- echo ${P}
sed -i -e "s:^CFLAGS=-O :CFLAGS=${CFLAGS} :g" Makefile
sed -i -e "s:GSVIEW_DOCPATH:\"/usr/share/doc/${PF}/html/\":" srcunx/gvx.c
@@ -37,7 +44,7 @@ src_install() {
doman srcunx/gsview.1
- dodoc gsview.css cdorder.txt regorder.txt LICENCE
+ dodoc gsview.css cdorder.txt regorder.txt
if use doc
then