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
commit0384e1e3e053dfd8858c351f07dfaed177adabae (patch)
tree9d35e7e97f744472f1098b19c5054d394d0fd034 /app-text
parentAdded ~amd64 keyword. (diff)
downloadgentoo-2-0384e1e3e053dfd8858c351f07dfaed177adabae.tar.gz
gentoo-2-0384e1e3e053dfd8858c351f07dfaed177adabae.tar.bz2
gentoo-2-0384e1e3e053dfd8858c351f07dfaed177adabae.zip
Version bump, remove old, add gsesp patch thanks to Marek Szuba <cyberman@if.pw.edu.pl> in bug 123870
(Portage version: 2.1_pre7-r2)
Diffstat (limited to 'app-text')
-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..c37608245dad 100644
--- a/app-text/gsview/Manifest
+++ b/app-text/gsview/Manifest
@@ -1,9 +1,24 @@
-MD5 eefc89106f427894f645b91ba6dd45b4 ChangeLog 2086
+MD5 d9fac872783147c766f72cfe90e79afc ChangeLog 2371
+RMD160 cb4345a29f0f59623a7c635440d0e3ab02d3e899 ChangeLog 2371
+SHA256 d5059bb75bc1795d45733619a46536bf84543c389382b12f90f46840f0a95d06 ChangeLog 2371
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 f9fc35b3501fcd4e740aea046e7bba26 gsview-4.8.ebuild 1204
+RMD160 a8c2ae9edf322772d45c1051e7fbdfca6a9f6237 gsview-4.8.ebuild 1204
+SHA256 587c37145b02c0df304043f796f6721fede333bba034a6b40cc95e6c839ecc1f gsview-4.8.ebuild 1204
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