diff options
author | Gregorio Guidi <greg_g@gentoo.org> | 2005-10-07 17:07:08 +0000 |
---|---|---|
committer | Gregorio Guidi <greg_g@gentoo.org> | 2005-10-07 17:07:08 +0000 |
commit | 5fba392635c211eea5804c9881268da2e06b4e9d (patch) | |
tree | 6a3850909301c3ea17496cae6f6c455152817fda /kde-base/kdegraphics | |
parent | Updates to patches for PPC (diff) | |
download | gentoo-2-5fba392635c211eea5804c9881268da2e06b4e9d.tar.gz gentoo-2-5fba392635c211eea5804c9881268da2e06b4e9d.tar.bz2 gentoo-2-5fba392635c211eea5804c9881268da2e06b4e9d.zip |
Remove old ebuilds.
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'kde-base/kdegraphics')
10 files changed, 0 insertions, 398 deletions
diff --git a/kde-base/kdegraphics/files/digest-kdegraphics-3.3.2-r2 b/kde-base/kdegraphics/files/digest-kdegraphics-3.3.2-r2 deleted file mode 100644 index 19c2a1ed829e..000000000000 --- a/kde-base/kdegraphics/files/digest-kdegraphics-3.3.2-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 03092b8be2f7054d71895b8fd58ad26e kdegraphics-3.3.2.tar.bz2 6234394 diff --git a/kde-base/kdegraphics/files/digest-kdegraphics-3.4.1 b/kde-base/kdegraphics/files/digest-kdegraphics-3.4.1 deleted file mode 100644 index 74738527d810..000000000000 --- a/kde-base/kdegraphics/files/digest-kdegraphics-3.4.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 d91ef530a416bd8407abb28103bc049c kdegraphics-3.4.1.tar.bz2 6581563 diff --git a/kde-base/kdegraphics/files/digest-kdegraphics-3.4.2 b/kde-base/kdegraphics/files/digest-kdegraphics-3.4.2 deleted file mode 100644 index 80c5b0d96ab2..000000000000 --- a/kde-base/kdegraphics/files/digest-kdegraphics-3.4.2 +++ /dev/null @@ -1 +0,0 @@ -MD5 50916460952c4142329a7c6a47fe1530 kdegraphics-3.4.2.tar.bz2 6579227 diff --git a/kde-base/kdegraphics/files/digest-kdegraphics-3.4.2-r1 b/kde-base/kdegraphics/files/digest-kdegraphics-3.4.2-r1 deleted file mode 100644 index 80c5b0d96ab2..000000000000 --- a/kde-base/kdegraphics/files/digest-kdegraphics-3.4.2-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 50916460952c4142329a7c6a47fe1530 kdegraphics-3.4.2.tar.bz2 6579227 diff --git a/kde-base/kdegraphics/files/post-3.2.3-kdegraphics-2.diff b/kde-base/kdegraphics/files/post-3.2.3-kdegraphics-2.diff deleted file mode 100644 index 9e6828bfeb72..000000000000 --- a/kde-base/kdegraphics/files/post-3.2.3-kdegraphics-2.diff +++ /dev/null @@ -1,51 +0,0 @@ ---- kpdf/xpdf/Gfx.cc 28 Sep 2003 12:17:12 -0000 1.4 -+++ kpdf/xpdf/Gfx.cc 22 Dec 2004 12:04:49 -0000 -@@ -2379,11 +2379,13 @@ void Gfx::doImage(Object *ref, Stream *s - - // get the mask - haveMask = gFalse; - dict->lookup("Mask", &maskObj); - if (maskObj.isArray()) { -- for (i = 0; i < maskObj.arrayGetLength(); ++i) { -+ for (i = 0; -+ i < maskObj.arrayGetLength() && i < 2*gfxColorMaxComps; -+ ++i) { - maskObj.arrayGet(i, &obj1); - maskColors[i] = obj1.getInt(); - obj1.free(); - } - haveMask = gTrue; ---- kpdf/xpdf/GfxState.cc 20 Aug 2003 21:25:12 -0000 1.3 -+++ kpdf/xpdf/GfxState.cc 22 Dec 2004 12:04:49 -0000 -@@ -706,10 +706,15 @@ GfxColorSpace *GfxICCBasedColorSpace::pa - obj1.free(); - return NULL; - } - nCompsA = obj2.getInt(); - obj2.free(); -+ if (nCompsA > gfxColorMaxComps) { -+ error(-1, "ICCBased color space with too many (%d > %d) components", -+ nCompsA, gfxColorMaxComps); -+ nCompsA = gfxColorMaxComps; -+ } - if (dict->lookup("Alternate", &obj2)->isNull() || - !(altA = GfxColorSpace::parse(&obj2))) { - switch (nCompsA) { - case 1: - altA = new GfxDeviceGrayColorSpace(); -@@ -1045,10 +1050,15 @@ GfxColorSpace *GfxDeviceNColorSpace::par - if (!arr->get(1, &obj1)->isArray()) { - error(-1, "Bad DeviceN color space (names)"); - goto err2; - } - nCompsA = obj1.arrayGetLength(); -+ if (nCompsA > gfxColorMaxComps) { -+ error(-1, "DeviceN color space with too many (%d > %d) components", -+ nCompsA, gfxColorMaxComps); -+ nCompsA = gfxColorMaxComps; -+ } - for (i = 0; i < nCompsA; ++i) { - if (!obj1.arrayGet(i, &obj2)->isName()) { - error(-1, "Bad DeviceN color space (names)"); - obj2.free(); - goto err2; diff --git a/kde-base/kdegraphics/files/post-3.2.3-kdegraphics_2.diff b/kde-base/kdegraphics/files/post-3.2.3-kdegraphics_2.diff deleted file mode 100644 index 4f8401096c8e..000000000000 --- a/kde-base/kdegraphics/files/post-3.2.3-kdegraphics_2.diff +++ /dev/null @@ -1,92 +0,0 @@ ---- kdegraphics/kpdf/xpdf/Catalog.cc 2003/08/20 21:25:12 1.3 -+++ kdegraphics/kpdf/xpdf/Catalog.cc 2004/10/28 09:25:05 1.3.2.3 -@@ -12,6 +12,7 @@ - #pragma implementation - #endif - -+#include <limits.h> - #include <stddef.h> - #include "gmem.h" - #include "Object.h" -@@ -63,6 +64,12 @@ Catalog::Catalog(XRef *xrefA) { - } - pagesSize = numPages0 = obj.getInt(); - obj.free(); -+ if ((unsigned) pagesSize >= INT_MAX / sizeof(Page *) || -+ (unsigned) pagesSize >= INT_MAX / sizeof(Ref)) { -+ error(-1, "Invalid 'pagesSize'"); -+ ok = gFalse; -+ return; -+ } - pages = (Page **)gmalloc(pagesSize * sizeof(Page *)); - pageRefs = (Ref *)gmalloc(pagesSize * sizeof(Ref)); - for (i = 0; i < pagesSize; ++i) { -@@ -190,6 +197,11 @@ int Catalog::readPageTree(Dict *pagesDic - } - if (start >= pagesSize) { - pagesSize += 32; -+ if ((unsigned) pagesSize >= INT_MAX / sizeof(Page *) || -+ (unsigned) pagesSize >= INT_MAX / sizeof(Ref)) { -+ error(-1, "Invalid 'pagesSize' parameter."); -+ goto err3; -+ } - pages = (Page **)grealloc(pages, pagesSize * sizeof(Page *)); - pageRefs = (Ref *)grealloc(pageRefs, pagesSize * sizeof(Ref)); - for (j = pagesSize - 32; j < pagesSize; ++j) { ---- kdegraphics/kpdf/xpdf/XRef.cc 2003/08/20 21:25:12 1.3 -+++ kdegraphics/kpdf/xpdf/XRef.cc 2004/10/28 09:35:21 1.3.2.4 -@@ -12,6 +12,7 @@ - #pragma implementation - #endif - -+#include <limits.h> - #include <stdlib.h> - #include <stddef.h> - #include <string.h> -@@ -76,6 +77,12 @@ XRef::XRef(BaseStream *strA, GString *ow - - // trailer is ok - read the xref table - } else { -+ if ((unsigned) size >= INT_MAX / sizeof(XRefEntry)) { -+ error(-1, "Invalid 'size' inside xref table."); -+ ok = gFalse; -+ errCode = errDamaged; -+ return; -+ } - entries = (XRefEntry *)gmalloc(size * sizeof(XRefEntry)); - for (i = 0; i < size; ++i) { - entries[i].offset = 0xffffffff; -@@ -267,6 +274,10 @@ GBool XRef::readXRef(Guint *pos) { - // table size - if (first + n > size) { - newSize = size + 256; -+ if ((unsigned) newSize >= INT_MAX / sizeof(XRefEntry)) { -+ error(-1, "Invalid 'newSize'"); -+ goto err2; -+ } - entries = (XRefEntry *)grealloc(entries, newSize * sizeof(XRefEntry)); - for (i = size; i < newSize; ++i) { - entries[i].offset = 0xffffffff; -@@ -415,6 +426,10 @@ GBool XRef::constructXRef() { - if (!strncmp(p, "obj", 3)) { - if (num >= size) { - newSize = (num + 1 + 255) & ~255; -+ if ((unsigned) newSize >= INT_MAX / sizeof(XRefEntry)) { -+ error(-1, "Invalid 'obj' parameters."); -+ return gFalse; -+ } - entries = (XRefEntry *) - grealloc(entries, newSize * sizeof(XRefEntry)); - for (i = size; i < newSize; ++i) { -@@ -436,6 +451,11 @@ GBool XRef::constructXRef() { - } else if (!strncmp(p, "endstream", 9)) { - if (streamEndsLen == streamEndsSize) { - streamEndsSize += 64; -+ if ((unsigned) streamEndsSize >= INT_MAX / sizeof(int)) { -+ error(-1, "Invalid 'endstream' parameter."); -+ return gFalse; -+ } -+ - streamEnds = (Guint *)grealloc(streamEnds, - streamEndsSize * sizeof(int)); - } diff --git a/kde-base/kdegraphics/kdegraphics-3.3.2-r2.ebuild b/kde-base/kdegraphics/kdegraphics-3.3.2-r2.ebuild deleted file mode 100644 index a37f04939794..000000000000 --- a/kde-base/kdegraphics/kdegraphics-3.3.2-r2.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdegraphics/kdegraphics-3.3.2-r2.ebuild,v 1.12 2005/07/08 05:33:17 hardave Exp $ - -inherit kde-dist eutils - -DESCRIPTION="KDE graphics-related apps" - -KEYWORDS="alpha amd64 hppa ia64 mips ppc ppc64 sparc x86" -IUSE="gphoto2 imlib jpeg2k opengl povray scanner tetex" - -DEPEND="~kde-base/kdebase-${PV} - gphoto2? ( media-gfx/gphoto2 ) - scanner? ( media-gfx/sane-backends ) - media-libs/libart_lgpl - media-libs/lcms - dev-libs/fribidi - opengl? ( virtual/glut virtual/opengl ) - imlib? ( media-libs/imlib ) - virtual/ghostscript - media-libs/tiff - x86? ( scanner? ( sys-libs/libieee1284 ) ) - povray? ( x86? ( media-gfx/povray ) ) - jpeg2k? ( x86? ( media-libs/jasper ) )" - -RDEPEND="${DEPEND} - app-text/xpdf - tetex? ( - || ( >=app-text/tetex-2 - app-text/ptex - app-text/cstetex - app-text/dvipdfm ) - )" - -src_unpack() { - kde_src_unpack - epatch ${FILESDIR}/post-3.3.2-kdegraphics.diff - epatch ${FILESDIR}/CAN-2005-0064.patch -} - -src_compile() { - use gphoto2 \ - && myconf="$myconf --with-kamera \ - --with-gphoto2-includes=/usr/include/gphoto2 \ - --with-gphoto2-libraries=/usr/lib/gphoto2" \ - || myconf="$myconf --without-kamera" - - use tetex && myconf="$myconf --with-system-kpathsea --with-tex-datadir=/usr/share" - - use scanner || DO_NOT_COMPILE="$DO_NOT_COMPILE kooka libkscan" - - use imlib \ - && myconf="$myconf --with-imlib --with-imlib-config=/usr/bin" \ - || myconf="$myconf --without-imlib" - - kde_src_compile -} diff --git a/kde-base/kdegraphics/kdegraphics-3.4.1.ebuild b/kde-base/kdegraphics/kdegraphics-3.4.1.ebuild deleted file mode 100644 index bfbbc58d969b..000000000000 --- a/kde-base/kdegraphics/kdegraphics-3.4.1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdegraphics/kdegraphics-3.4.1.ebuild,v 1.9 2005/07/25 20:23:53 gmsoft Exp $ - -inherit kde-dist eutils - -DESCRIPTION="KDE graphics-related apps" - -KEYWORDS="~alpha amd64 ~ia64 ppc sparc x86 hppa" -IUSE="gphoto2 imlib nodrm opengl povray scanner tetex" - -DEPEND="~kde-base/kdebase-${PV} - gphoto2? ( media-libs/libgphoto2 ) - scanner? ( media-gfx/sane-backends ) - media-libs/libart_lgpl - media-libs/lcms - dev-libs/fribidi - imlib? ( media-libs/imlib ) - virtual/ghostscript - media-libs/tiff - povray? ( media-gfx/povray - virtual/opengl )" - -RDEPEND="${DEPEND} - app-text/xpdf - tetex? ( - || ( >=app-text/tetex-2 - app-text/ptex - app-text/cstetex - app-text/dvipdfm ) )" - -src_unpack() { - kde_src_unpack - - # Fix detection of gocr (kde bug 90082). - epatch "${FILESDIR}/${P}-gocr.patch" -} - -src_compile() { - if use gphoto2; then - myconf="${myconf} --with-kamera \ - --with-gphoto2-includes=/usr/include/gphoto2 \ - --with-gphoto2-libraries=/usr/lib/gphoto2" - else - myconf="${myconf} --without-kamera" - fi - - use scanner || export DO_NOT_COMPILE="${DO_NOT_COMPILE} kooka libkscan" - use povray || export DO_NOT_COMPILE="${DO_NOT_COMPILE} kpovmodeler" - - myconf="${myconf} $(use_with imlib) $(use_enable !nodrm kpdf-drm)" - - kde_src_compile -} diff --git a/kde-base/kdegraphics/kdegraphics-3.4.2-r1.ebuild b/kde-base/kdegraphics/kdegraphics-3.4.2-r1.ebuild deleted file mode 100644 index a84cee43d754..000000000000 --- a/kde-base/kdegraphics/kdegraphics-3.4.2-r1.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdegraphics/kdegraphics-3.4.2-r1.ebuild,v 1.1 2005/08/05 10:50:18 greg_g Exp $ - -inherit kde-dist eutils - -DESCRIPTION="KDE graphics-related apps" - -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86" -IUSE="gphoto2 imlib nodrm openexr opengl povray scanner tetex" - -DEPEND="~kde-base/kdebase-${PV} - >=media-libs/freetype-2 - media-libs/fontconfig - gphoto2? ( media-libs/libgphoto2 ) - scanner? ( media-gfx/sane-backends ) - media-libs/libart_lgpl - media-libs/lcms - dev-libs/fribidi - imlib? ( media-libs/imlib ) - virtual/ghostscript - media-libs/tiff - openexr? ( >=media-libs/openexr-1.2 ) - povray? ( media-gfx/povray - virtual/opengl )" - -RDEPEND="${DEPEND} - app-text/xpdf - tetex? ( - || ( >=app-text/tetex-2 - app-text/ptex - app-text/cstetex - app-text/dvipdfm ) )" - -DEPEND="${DEPEND} - dev-util/pkgconfig" - -src_unpack() { - kde_src_unpack - - # Fix detection of gocr (kde bug 90082). - epatch "${FILESDIR}/kdegraphics-3.4.1-gocr.patch" - - # Fix regression in kpdf (kde bug 110000). Applied for 3.4.3. - epatch "${FILESDIR}/kdegraphics-3.4.2-kpdf-fix.patch" - - # Fix compilation with gcc4. Applied for 3.5. - epatch "${FILESDIR}/kdegraphics-3.4-gcc4.patch" - - # Configure patch. Applied for 3.5. - epatch "${FILESDIR}/kdegraphics-3.4-configure.patch" - - # For the configure patch. - make -f admin/Makefile.common -} - -src_compile() { - if use gphoto2; then - myconf="${myconf} --with-kamera \ - --with-gphoto2-includes=/usr/include/gphoto2 \ - --with-gphoto2-libraries=/usr/lib/gphoto2" - else - myconf="${myconf} --without-kamera" - fi - - use scanner || export DO_NOT_COMPILE="${DO_NOT_COMPILE} kooka libkscan" - use povray || export DO_NOT_COMPILE="${DO_NOT_COMPILE} kpovmodeler" - - myconf="${myconf} $(use_with imlib) $(use_enable !nodrm kpdf-drm) - $(use_with openexr)" - - kde_src_compile -} diff --git a/kde-base/kdegraphics/kdegraphics-3.4.2.ebuild b/kde-base/kdegraphics/kdegraphics-3.4.2.ebuild deleted file mode 100644 index ca2326e482fc..000000000000 --- a/kde-base/kdegraphics/kdegraphics-3.4.2.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdegraphics/kdegraphics-3.4.2.ebuild,v 1.1 2005/07/28 12:56:36 greg_g Exp $ - -inherit kde-dist eutils - -DESCRIPTION="KDE graphics-related apps" - -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86" -IUSE="gphoto2 imlib nodrm openexr opengl povray scanner tetex" - -DEPEND="~kde-base/kdebase-${PV} - >=media-libs/freetype-2 - media-libs/fontconfig - gphoto2? ( media-libs/libgphoto2 ) - scanner? ( media-gfx/sane-backends ) - media-libs/libart_lgpl - media-libs/lcms - dev-libs/fribidi - imlib? ( media-libs/imlib ) - virtual/ghostscript - media-libs/tiff - openexr? ( >=media-libs/openexr-1.2 ) - povray? ( media-gfx/povray - virtual/opengl )" - -RDEPEND="${DEPEND} - app-text/xpdf - tetex? ( - || ( >=app-text/tetex-2 - app-text/ptex - app-text/cstetex - app-text/dvipdfm ) )" - -DEPEND="${DEPEND} - dev-util/pkgconfig" - -src_unpack() { - kde_src_unpack - - # Fix detection of gocr (kde bug 90082). - epatch "${FILESDIR}/kdegraphics-3.4.1-gocr.patch" - - # Configure patch. Applied for 3.5. - epatch "${FILESDIR}/kdegraphics-3.4-configure.patch" - - # For the configure patch. - make -f admin/Makefile.common -} - -src_compile() { - if use gphoto2; then - myconf="${myconf} --with-kamera \ - --with-gphoto2-includes=/usr/include/gphoto2 \ - --with-gphoto2-libraries=/usr/lib/gphoto2" - else - myconf="${myconf} --without-kamera" - fi - - use scanner || export DO_NOT_COMPILE="${DO_NOT_COMPILE} kooka libkscan" - use povray || export DO_NOT_COMPILE="${DO_NOT_COMPILE} kpovmodeler" - - myconf="${myconf} $(use_with imlib) $(use_enable !nodrm kpdf-drm) - $(use_with openexr)" - - kde_src_compile -} |