summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngmar Vanhassel <ingmar@gentoo.org>2008-02-17 03:17:38 +0000
committerIngmar Vanhassel <ingmar@gentoo.org>2008-02-17 03:17:38 +0000
commit57f8159eeb0248b0d5e1af366aa7aecfbf993969 (patch)
treedc3b6bcd0267d16c24e3d75bfc56d13ed4d26a25 /kde-base/kpdf
parentSpring cleaning. (diff)
downloadgentoo-2-57f8159eeb0248b0d5e1af366aa7aecfbf993969.tar.gz
gentoo-2-57f8159eeb0248b0d5e1af366aa7aecfbf993969.tar.bz2
gentoo-2-57f8159eeb0248b0d5e1af366aa7aecfbf993969.zip
Spring cleaning.
(Portage version: 2.1.4.4)
Diffstat (limited to 'kde-base/kpdf')
-rw-r--r--kde-base/kpdf/ChangeLog11
-rw-r--r--kde-base/kpdf/files/kpdf-3.5.7-hash_path.diff10
-rw-r--r--kde-base/kpdf/files/post-3.5.5-kdegraphics-CVE-2007-0104.diff61
-rw-r--r--kde-base/kpdf/files/post-3.5.7-kdegraphics-CVE-2007-3387.diff17
-rw-r--r--kde-base/kpdf/kpdf-3.5.5-r1.ebuild38
-rw-r--r--kde-base/kpdf/kpdf-3.5.5.ebuild41
-rw-r--r--kde-base/kpdf/kpdf-3.5.6-r1.ebuild36
-rw-r--r--kde-base/kpdf/kpdf-3.5.7-r1.ebuild38
-rw-r--r--kde-base/kpdf/kpdf-3.5.7-r2.ebuild39
-rw-r--r--kde-base/kpdf/kpdf-3.5.7-r3.ebuild50
-rw-r--r--kde-base/kpdf/kpdf-3.5.7.ebuild36
-rw-r--r--kde-base/kpdf/kpdf-3.5.8.ebuild40
12 files changed, 10 insertions, 407 deletions
diff --git a/kde-base/kpdf/ChangeLog b/kde-base/kpdf/ChangeLog
index 06c7a8f676a5..7f7777f27408 100644
--- a/kde-base/kpdf/ChangeLog
+++ b/kde-base/kpdf/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for kde-base/kpdf
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kpdf/ChangeLog,v 1.152 2008/01/31 15:30:33 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kpdf/ChangeLog,v 1.153 2008/02/17 03:17:37 ingmar Exp $
+
+ 17 Feb 2008; Ingmar Vanhassel <ingmar@gentoo.org>
+ -files/post-3.5.5-kdegraphics-CVE-2007-0104.diff,
+ -files/kpdf-3.5.7-hash_path.diff,
+ -files/post-3.5.7-kdegraphics-CVE-2007-3387.diff, -kpdf-3.5.5.ebuild,
+ -kpdf-3.5.5-r1.ebuild, -kpdf-3.5.6-r1.ebuild, -kpdf-3.5.7.ebuild,
+ -kpdf-3.5.7-r1.ebuild, -kpdf-3.5.7-r2.ebuild, -kpdf-3.5.7-r3.ebuild,
+ -kpdf-3.5.8.ebuild:
+ Spring cleaning
31 Jan 2008; Brent Baude <ranger@gentoo.org> kpdf-3.5.8-r1.ebuild:
Marking kpdf-3.5.8-r1 ppc for bug 207634
diff --git a/kde-base/kpdf/files/kpdf-3.5.7-hash_path.diff b/kde-base/kpdf/files/kpdf-3.5.7-hash_path.diff
deleted file mode 100644
index 1c3ac507c049..000000000000
--- a/kde-base/kpdf/files/kpdf-3.5.7-hash_path.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- branches/KDE/3.5/kdegraphics/kpdf/part.cpp #703563:703564
-@@ -612,7 +612,7 @@
- m_pageView->showText(i18n("Reloading the document..."), 0);
- }
-
-- if (KParts::ReadOnlyPart::openURL(m_file))
-+ if (KParts::ReadOnlyPart::openURL(KURL::fromPathOrURL(m_file)))
- {
- if (m_viewportDirty.pageNumber >= (int)m_document->pages()) m_viewportDirty.pageNumber = (int)m_document->pages() - 1;
- m_document->setViewport(m_viewportDirty);
diff --git a/kde-base/kpdf/files/post-3.5.5-kdegraphics-CVE-2007-0104.diff b/kde-base/kpdf/files/post-3.5.5-kdegraphics-CVE-2007-0104.diff
deleted file mode 100644
index 092cf67f360b..000000000000
--- a/kde-base/kpdf/files/post-3.5.5-kdegraphics-CVE-2007-0104.diff
+++ /dev/null
@@ -1,61 +0,0 @@
---- kpdf/xpdf/xpdf/Catalog.cc
-+++ kpdf/xpdf/xpdf/Catalog.cc
-@@ -26,6 +26,12 @@
- #include "UGString.h"
- #include "Catalog.h"
-
-+// This define is used to limit the depth of recursive readPageTree calls
-+// This is needed because the page tree nodes can reference their parents
-+// leaving us in an infinite loop
-+// Most sane pdf documents don't have a call depth higher than 10
-+#define MAX_CALL_DEPTH 1000
-+
- //------------------------------------------------------------------------
- // Catalog
- //------------------------------------------------------------------------
-@@ -76,7 +82,7 @@ Catalog::Catalog(XRef *xrefA) {
- pageRefs[i].num = -1;
- pageRefs[i].gen = -1;
- }
-- numPages = readPageTree(pagesDict.getDict(), NULL, 0);
-+ numPages = readPageTree(pagesDict.getDict(), NULL, 0, 0);
- if (numPages != numPages0) {
- error(-1, "Page count in top-level pages object is incorrect");
- }
-@@ -191,7 +197,7 @@ GString *Catalog::readMetadata() {
- return s;
- }
-
--int Catalog::readPageTree(Dict *pagesDict, PageAttrs *attrs, int start) {
-+int Catalog::readPageTree(Dict *pagesDict, PageAttrs *attrs, int start, int callDepth) {
- Object kids;
- Object kid;
- Object kidRef;
-@@ -236,9 +242,13 @@ int Catalog::readPageTree(Dict *pagesDic
- // This should really be isDict("Pages"), but I've seen at least one
- // PDF file where the /Type entry is missing.
- } else if (kid.isDict()) {
-- if ((start = readPageTree(kid.getDict(), attrs1, start))
-- < 0)
-- goto err2;
-+ if (callDepth > MAX_CALL_DEPTH) {
-+ error(-1, "Limit of %d recursive calls reached while reading the page tree. If your document is correct and not a test to try to force a crash, please report a bug.", MAX_CALL_DEPTH);
-+ } else {
-+ if ((start = readPageTree(kid.getDict(), attrs1, start, callDepth + 1))
-+ < 0)
-+ goto err2;
-+ }
- } else {
- error(-1, "Kid object (page %d) is wrong type (%s)",
- start+1, kid.getTypeName());
---- kpdf/xpdf/xpdf/Catalog.h
-+++ kpdf/xpdf/xpdf/Catalog.h
-@@ -128,7 +128,7 @@ private:
- Object acroForm; // AcroForm dictionary
- GBool ok; // true if catalog is valid
-
-- int readPageTree(Dict *pages, PageAttrs *attrs, int start);
-+ int readPageTree(Dict *pages, PageAttrs *attrs, int start, int callDepth);
- Object *findDestInTree(Object *tree, GString *name, Object *obj);
- };
-
diff --git a/kde-base/kpdf/files/post-3.5.7-kdegraphics-CVE-2007-3387.diff b/kde-base/kpdf/files/post-3.5.7-kdegraphics-CVE-2007-3387.diff
deleted file mode 100644
index e28add87e275..000000000000
--- a/kde-base/kpdf/files/post-3.5.7-kdegraphics-CVE-2007-3387.diff
+++ /dev/null
@@ -1,17 +0,0 @@
-Index: kpdf/xpdf/xpdf/Stream.cc
-===================================================================
---- kpdf/xpdf/xpdf/Stream.cc (revision 689574)
-+++ kpdf/xpdf/xpdf/Stream.cc (working copy)
-@@ -411,9 +411,9 @@ StreamPredictor::StreamPredictor(Stream
-
- nVals = width * nComps;
- if (width <= 0 || nComps <= 0 || nBits <= 0 ||
-- nComps >= INT_MAX / nBits ||
-- width >= INT_MAX / nComps / nBits ||
-- nVals * nBits + 7 < 0) {
-+ nComps > gfxColorMaxComps || nBits > 16 ||
-+ width >= INT_MAX / nComps ||
-+ nVals >= (INT_MAX - 7) / nBits) {
- return;
- }
- pixBytes = (nComps * nBits + 7) >> 3;
diff --git a/kde-base/kpdf/kpdf-3.5.5-r1.ebuild b/kde-base/kpdf/kpdf-3.5.5-r1.ebuild
deleted file mode 100644
index edea252a5b0f..000000000000
--- a/kde-base/kpdf/kpdf-3.5.5-r1.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kpdf/kpdf-3.5.5-r1.ebuild,v 1.7 2007/02/14 19:00:56 dertobi123 Exp $
-
-KMNAME=kdegraphics
-MAXKDEVER=$PV
-KM_DEPRANGE="$PV $MAXKDEVER"
-inherit kde-meta flag-o-matic
-
-DESCRIPTION="kpdf, a kde pdf viewer based on xpdf"
-KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd"
-IUSE=""
-KMEXTRA="kfile-plugins/pdf"
-
-DEPEND=">=media-libs/freetype-2.0.5
- media-libs/t1lib
- >=app-text/poppler-0.5.1
- >=app-text/poppler-bindings-0.5.1"
-RDEPEND="${DEPEND}
- $(deprange-dual $PV $MAXKDEVER kde-base/kdeprint)"
-
-PATCHES="${FILESDIR}/post-3.5.5-kdegraphics-CVE-2007-0104.diff"
-
-pkg_setup() {
- kde_pkg_setup
- # check for qt still until it had a revision bump in both ~arch and stable.
- if ! built_with_use app-text/poppler-bindings qt3; then
- eerror "This package requires app-text/poppler-bindings compiled with Qt 3.x support."
- eerror "Please reemerge app-text/poppler-bindings with USE=\"qt3\"."
- die "Please reemerge app-text/poppler-bindings with USE=\"qt3\"."
- fi
-}
-
-src_compile() {
- local myconf="--with-poppler"
- replace-flags "-Os" "-O2" # see bug 114822
- kde-meta_src_compile
-}
diff --git a/kde-base/kpdf/kpdf-3.5.5.ebuild b/kde-base/kpdf/kpdf-3.5.5.ebuild
deleted file mode 100644
index a0a22bba74e4..000000000000
--- a/kde-base/kpdf/kpdf-3.5.5.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kpdf/kpdf-3.5.5.ebuild,v 1.8 2006/12/11 12:49:43 kloeri Exp $
-
-KMNAME=kdegraphics
-MAXKDEVER=$PV
-KM_DEPRANGE="$PV $MAXKDEVER"
-inherit kde-meta flag-o-matic
-
-DESCRIPTION="kpdf, a kde pdf viewer based on xpdf"
-KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd"
-IUSE=""
-KMEXTRA="kfile-plugins/pdf"
-
-DEPEND=">=media-libs/freetype-2.0.5
- media-libs/t1lib
- >=app-text/poppler-0.5.1
- >=app-text/poppler-bindings-0.5.1"
-RDEPEND="${DEPEND}
- $(deprange-dual $PV $MAXKDEVER kde-base/kdeprint)"
-
-SRC_URI="${SRC_URI}
- mirror://gentoo/${PN}-3.5.3-poppler-bis.patch.bz2"
-
-PATCHES="${DISTDIR}/${PN}-3.5.3-poppler-bis.patch.bz2"
-
-pkg_setup() {
- kde_pkg_setup
- # check for qt still until it had a revision bump in both ~arch and stable.
- if ! built_with_use app-text/poppler-bindings qt3; then
- eerror "This package requires app-text/poppler-bindings compiled with Qt 3.x support."
- eerror "Please reemerge app-text/poppler-bindings with USE=\"qt3\"."
- die "Please reemerge app-text/poppler-bindings with USE=\"qt3\"."
- fi
-}
-
-src_compile() {
- local myconf="--with-poppler"
- replace-flags "-Os" "-O2" # see bug 114822
- kde-meta_src_compile
-}
diff --git a/kde-base/kpdf/kpdf-3.5.6-r1.ebuild b/kde-base/kpdf/kpdf-3.5.6-r1.ebuild
deleted file mode 100644
index 99affda39bed..000000000000
--- a/kde-base/kpdf/kpdf-3.5.6-r1.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kpdf/kpdf-3.5.6-r1.ebuild,v 1.1 2007/01/27 17:19:33 flameeyes Exp $
-
-KMNAME=kdegraphics
-MAXKDEVER=$PV
-KM_DEPRANGE="$PV $MAXKDEVER"
-inherit kde-meta flag-o-matic
-
-DESCRIPTION="kpdf, a kde pdf viewer based on xpdf"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-IUSE=""
-KMEXTRA="kfile-plugins/pdf"
-
-DEPEND=">=media-libs/freetype-2.0.5
- media-libs/t1lib
- >=app-text/poppler-0.5.1
- >=app-text/poppler-bindings-0.5.1"
-RDEPEND="${DEPEND}
- $(deprange-dual $PV $MAXKDEVER kde-base/kdeprint)"
-
-pkg_setup() {
- kde_pkg_setup
- # check for qt still until it had a revision bump in both ~arch and stable.
- if ! built_with_use app-text/poppler-bindings qt3; then
- eerror "This package requires app-text/poppler-bindings compiled with Qt 3.x support."
- eerror "Please reemerge app-text/poppler-bindings with USE=\"qt3\"."
- die "Please reemerge app-text/poppler-bindings with USE=\"qt3\"."
- fi
-}
-
-src_compile() {
- local myconf="--with-poppler"
- replace-flags "-Os" "-O2" # see bug 114822
- kde-meta_src_compile
-}
diff --git a/kde-base/kpdf/kpdf-3.5.7-r1.ebuild b/kde-base/kpdf/kpdf-3.5.7-r1.ebuild
deleted file mode 100644
index 7b66408fd3f2..000000000000
--- a/kde-base/kpdf/kpdf-3.5.7-r1.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kpdf/kpdf-3.5.7-r1.ebuild,v 1.7 2007/08/11 15:53:45 armin76 Exp $
-
-KMNAME=kdegraphics
-MAXKDEVER=$PV
-KM_DEPRANGE="$PV $MAXKDEVER"
-inherit kde-meta flag-o-matic
-
-DESCRIPTION="kpdf, a kde pdf viewer based on xpdf"
-KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd"
-IUSE=""
-KMEXTRA="kfile-plugins/pdf"
-
-DEPEND=">=media-libs/freetype-2.0.5
- media-libs/t1lib
- >=app-text/poppler-0.5.1
- >=app-text/poppler-bindings-0.5.1"
-RDEPEND="${DEPEND}
- $(deprange-dual $PV $MAXKDEVER kde-base/kdeprint)"
-
-PATCHES="${FILESDIR}/post-3.5.7-kdegraphics-CVE-2007-3387.diff"
-
-pkg_setup() {
- kde_pkg_setup
- # check for qt still until it had a revision bump in both ~arch and stable.
- if ! built_with_use app-text/poppler-bindings qt3; then
- eerror "This package requires app-text/poppler-bindings compiled with Qt 3.x support."
- eerror "Please reemerge app-text/poppler-bindings with USE=\"qt3\"."
- die "Please reemerge app-text/poppler-bindings with USE=\"qt3\"."
- fi
-}
-
-src_compile() {
- local myconf="--with-poppler"
- replace-flags "-Os" "-O2" # see bug 114822
- kde-meta_src_compile
-}
diff --git a/kde-base/kpdf/kpdf-3.5.7-r2.ebuild b/kde-base/kpdf/kpdf-3.5.7-r2.ebuild
deleted file mode 100644
index c8ecc69d2974..000000000000
--- a/kde-base/kpdf/kpdf-3.5.7-r2.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kpdf/kpdf-3.5.7-r2.ebuild,v 1.1 2007/08/23 15:14:39 philantrop Exp $
-
-KMNAME=kdegraphics
-MAXKDEVER=$PV
-KM_DEPRANGE="$PV $MAXKDEVER"
-inherit kde-meta flag-o-matic
-
-DESCRIPTION="kpdf, a kde pdf viewer based on xpdf"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-IUSE=""
-KMEXTRA="kfile-plugins/pdf"
-
-DEPEND=">=media-libs/freetype-2.0.5
- media-libs/t1lib
- >=app-text/poppler-0.5.1
- >=app-text/poppler-bindings-0.5.1"
-RDEPEND="${DEPEND}
- $(deprange-dual $PV $MAXKDEVER kde-base/kdeprint)"
-
-PATCHES="${FILESDIR}/post-3.5.7-kdegraphics-CVE-2007-3387.diff
- ${FILESDIR}/${P}-hash_path.diff"
-
-pkg_setup() {
- kde_pkg_setup
- # check for qt still until it had a revision bump in both ~arch and stable.
- if ! built_with_use app-text/poppler-bindings qt3; then
- eerror "This package requires app-text/poppler-bindings compiled with Qt 3.x support."
- eerror "Please reemerge app-text/poppler-bindings with USE=\"qt3\"."
- die "Please reemerge app-text/poppler-bindings with USE=\"qt3\"."
- fi
-}
-
-src_compile() {
- local myconf="--with-poppler"
- replace-flags "-Os" "-O2" # see bug 114822
- kde-meta_src_compile
-}
diff --git a/kde-base/kpdf/kpdf-3.5.7-r3.ebuild b/kde-base/kpdf/kpdf-3.5.7-r3.ebuild
deleted file mode 100644
index 32fda5906532..000000000000
--- a/kde-base/kpdf/kpdf-3.5.7-r3.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kpdf/kpdf-3.5.7-r3.ebuild,v 1.7 2007/12/25 13:02:17 carlo Exp $
-
-KMNAME=kdegraphics
-MAXKDEVER=$PV
-KM_DEPRANGE="$PV $MAXKDEVER"
-inherit kde-meta flag-o-matic
-
-DESCRIPTION="kpdf, a kde pdf viewer based on xpdf"
-KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd"
-IUSE=""
-KMEXTRA="kfile-plugins/pdf"
-
-DEPEND=">=media-libs/freetype-2.0.5
- media-libs/t1lib
- >=app-text/poppler-0.6.1
- >=app-text/poppler-bindings-0.6.1"
-RDEPEND="${DEPEND}
- $(deprange-dual $PV $MAXKDEVER kde-base/kdeprint)"
-
-PATCHES="${FILESDIR}/post-3.5.7-kdegraphics-CVE-2007-3387.diff
- ${FILESDIR}/${P}-hash_path.diff
- ${FILESDIR}/post-3.5.8-kdegraphics-kpdf.diff"
-
-pkg_setup() {
- kde_pkg_setup
- # check for qt still until it had a revision bump in both ~arch and stable.
- if ! built_with_use app-text/poppler-bindings qt3; then
- eerror "This package requires app-text/poppler-bindings compiled with Qt 3.x support."
- eerror "Please reemerge app-text/poppler-bindings with USE=\"qt3\"."
- die "Please reemerge app-text/poppler-bindings with USE=\"qt3\"."
- fi
-}
-
-src_unpack() {
- kde-meta_src_unpack
-
- # Fixing the desktop file
- sed -i -e "s:^\(MimeType=.*\):&;:" "${S}"/kpdf/shell/kpdf.desktop \
- || die "Desktop file fix 1 failed"
- sed -i -e "s:^\(Categories=.*\)\(PDFViewer\):\1X-\2:" "${S}"/kpdf/shell/kpdf.desktop \
- || die "Desktop file fix 2 failed"
-}
-
-src_compile() {
- local myconf="--with-poppler"
- replace-flags "-Os" "-O2" # see bug 114822
- kde-meta_src_compile
-}
diff --git a/kde-base/kpdf/kpdf-3.5.7.ebuild b/kde-base/kpdf/kpdf-3.5.7.ebuild
deleted file mode 100644
index bf882c71343d..000000000000
--- a/kde-base/kpdf/kpdf-3.5.7.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kpdf/kpdf-3.5.7.ebuild,v 1.1 2007/05/23 01:01:12 carlo Exp $
-
-KMNAME=kdegraphics
-MAXKDEVER=$PV
-KM_DEPRANGE="$PV $MAXKDEVER"
-inherit kde-meta flag-o-matic
-
-DESCRIPTION="kpdf, a kde pdf viewer based on xpdf"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-IUSE=""
-KMEXTRA="kfile-plugins/pdf"
-
-DEPEND=">=media-libs/freetype-2.0.5
- media-libs/t1lib
- >=app-text/poppler-0.5.1
- >=app-text/poppler-bindings-0.5.1"
-RDEPEND="${DEPEND}
- $(deprange-dual $PV $MAXKDEVER kde-base/kdeprint)"
-
-pkg_setup() {
- kde_pkg_setup
- # check for qt still until it had a revision bump in both ~arch and stable.
- if ! built_with_use app-text/poppler-bindings qt3; then
- eerror "This package requires app-text/poppler-bindings compiled with Qt 3.x support."
- eerror "Please reemerge app-text/poppler-bindings with USE=\"qt3\"."
- die "Please reemerge app-text/poppler-bindings with USE=\"qt3\"."
- fi
-}
-
-src_compile() {
- local myconf="--with-poppler"
- replace-flags "-Os" "-O2" # see bug 114822
- kde-meta_src_compile
-}
diff --git a/kde-base/kpdf/kpdf-3.5.8.ebuild b/kde-base/kpdf/kpdf-3.5.8.ebuild
deleted file mode 100644
index fe39dc106626..000000000000
--- a/kde-base/kpdf/kpdf-3.5.8.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kpdf/kpdf-3.5.8.ebuild,v 1.1 2007/10/19 23:22:31 philantrop Exp $
-
-KMNAME=kdegraphics
-MAXKDEVER=$PV
-KM_DEPRANGE="$PV $MAXKDEVER"
-inherit kde-meta flag-o-matic
-
-DESCRIPTION="kpdf, a kde pdf viewer based on xpdf"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-IUSE=""
-KMEXTRA="kfile-plugins/pdf"
-
-DEPEND=">=media-libs/freetype-2.0.5
- media-libs/t1lib
- >=app-text/poppler-0.5.1
- >=app-text/poppler-bindings-0.5.1"
-RDEPEND="${DEPEND}
- $(deprange-dual $PV $MAXKDEVER kde-base/kdeprint)"
-
-pkg_setup() {
- kde_pkg_setup
- # check for qt still until it had a revision bump in both ~arch and stable.
- if ! built_with_use app-text/poppler-bindings qt3; then
- eerror "This package requires app-text/poppler-bindings compiled with Qt 3.x support."
- eerror "Please reemerge app-text/poppler-bindings with USE=\"qt3\"."
- die "Please reemerge app-text/poppler-bindings with USE=\"qt3\"."
- fi
-}
-
-src_compile() {
- local myconf="--with-poppler"
- replace-flags "-Os" "-O2" # see bug 114822
-
- # Fix the desktop file.
- sed -i -e "s:PDFViewer;:Viewer;:" "${S}/kpdf/shell/kpdf.desktop"
-
- kde-meta_src_compile
-}