summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2007-10-31 14:07:52 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2007-10-31 14:07:52 +0000
commit6b6d4498fdc206f8489c2a692f58a68419fa88bc (patch)
treea341a86de4fb07bcab76edd396e0380d58cc1ea2 /gnustep-libs
parentRemove pdfkit and applications that use/need it (bugs #131690, #172887, #1881... (diff)
downloadgentoo-2-6b6d4498fdc206f8489c2a692f58a68419fa88bc.tar.gz
gentoo-2-6b6d4498fdc206f8489c2a692f58a68419fa88bc.tar.bz2
gentoo-2-6b6d4498fdc206f8489c2a692f58a68419fa88bc.zip
Remove pdfkit and applications that use/need it (bugs #131690, #172887, #188146, and security bug #188185)
Diffstat (limited to 'gnustep-libs')
-rw-r--r--gnustep-libs/imagekits/ChangeLog22
-rw-r--r--gnustep-libs/imagekits/Manifest16
-rw-r--r--gnustep-libs/imagekits/files/digest-imagekits-0.63
-rw-r--r--gnustep-libs/imagekits/imagekits-0.6.ebuild22
-rw-r--r--gnustep-libs/imagekits/metadata.xml18
-rw-r--r--gnustep-libs/pdfkit/ChangeLog65
-rw-r--r--gnustep-libs/pdfkit/Manifest40
-rw-r--r--gnustep-libs/pdfkit/files/digest-pdfkit-0.8-r43
-rw-r--r--gnustep-libs/pdfkit/files/digest-pdfkit-0.9_pre0629063
-rw-r--r--gnustep-libs/pdfkit/files/xpdf-3.00-CESA-2004-007.diff296
-rw-r--r--gnustep-libs/pdfkit/files/xpdf-3.00pl2.patch54
-rw-r--r--gnustep-libs/pdfkit/files/xpdf-3.00pl3.patch14
-rw-r--r--gnustep-libs/pdfkit/files/xpdf-goo-sizet.patch57
-rw-r--r--gnustep-libs/pdfkit/metadata.xml8
-rw-r--r--gnustep-libs/pdfkit/pdfkit-0.8-r4.ebuild32
-rw-r--r--gnustep-libs/pdfkit/pdfkit-0.9_pre062906.ebuild33
16 files changed, 0 insertions, 686 deletions
diff --git a/gnustep-libs/imagekits/ChangeLog b/gnustep-libs/imagekits/ChangeLog
deleted file mode 100644
index 76428d3a5df9..000000000000
--- a/gnustep-libs/imagekits/ChangeLog
+++ /dev/null
@@ -1,22 +0,0 @@
-# ChangeLog for gnustep-libs/imagekits
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnustep-libs/imagekits/ChangeLog,v 1.4 2007/02/22 00:29:59 peper Exp $
-
- 22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
- Transition to Manifest2.
-
- 11 Nov 2004; Armando Di Cianno <fafhrd@gentoo.org> imagekits-0.6.ebuild:
- Mass Update: gnustep.eclass revamped to allow configurable root install;
- gnustep-base/libs/apps updated to utilize new gnustep.eclass (only versions
- bumped where files would change); some KEYWORDS were accidentally dropped
- between version bumps of packages -- this has been resolved; windowmaker
- correctly supports gnustep now
-
-*imagekits-0.6 (10 Oct 2004)
-
- 10 Oct 2004; David Holm <dholm@gentoo.org> imagekits-0.6.ebuild:
- Added to ~ppc.
-
- 10 Sep 2004; Armando Di Cianno <fafhrd@gentoo.org> :
- Added package
-
diff --git a/gnustep-libs/imagekits/Manifest b/gnustep-libs/imagekits/Manifest
deleted file mode 100644
index ad750fc49d26..000000000000
--- a/gnustep-libs/imagekits/Manifest
+++ /dev/null
@@ -1,16 +0,0 @@
-DIST ImageKits-0.6.tar.gz 1770874 RMD160 53ad5a552d1e56c106fb74599a5e1831022360c9 SHA1 b8d08dfa7730eabb07cfd2e9ebe95f21268c4fff SHA256 c2ef142c8e9bfe3d6dd59c98fabd18b2273414f1a12f6dd8c79c14e6a09b0ae3
-EBUILD imagekits-0.6.ebuild 770 RMD160 0e054203b9b46cf90b466fa2057f449695a53e46 SHA1 38e5726a5ebb744ab7090779dd4883dfab6764a2 SHA256 880160b1d33ab786981f12a8272d1add719ae3a9e18f2b236314eff59999ec99
-MD5 d7273d2c487d5960645a63b485b05f95 imagekits-0.6.ebuild 770
-RMD160 0e054203b9b46cf90b466fa2057f449695a53e46 imagekits-0.6.ebuild 770
-SHA256 880160b1d33ab786981f12a8272d1add719ae3a9e18f2b236314eff59999ec99 imagekits-0.6.ebuild 770
-MISC ChangeLog 908 RMD160 1dc26107a83fb715d1eef062d5389773cf105aa8 SHA1 94e671860064141c367460c0a2198b455995ef1a SHA256 c106d2fd3439e3994165b13dd54851216195167caeb73484719cc26b525bc7a5
-MD5 ebf47159b069a4613d5a40b28d6369ad ChangeLog 908
-RMD160 1dc26107a83fb715d1eef062d5389773cf105aa8 ChangeLog 908
-SHA256 c106d2fd3439e3994165b13dd54851216195167caeb73484719cc26b525bc7a5 ChangeLog 908
-MISC metadata.xml 2087 RMD160 caa0aa3dbaaa7855aa00757c957bc3125b5bd4ea SHA1 9cb0be55cce61078199319c8843ca22fd659f232 SHA256 452bdd0391fc01315ed6922924c0e642acf811acec7bc3d7375a0a295f29cc1f
-MD5 5b0cd312b15525fffa44c03aae4f9f49 metadata.xml 2087
-RMD160 caa0aa3dbaaa7855aa00757c957bc3125b5bd4ea metadata.xml 2087
-SHA256 452bdd0391fc01315ed6922924c0e642acf811acec7bc3d7375a0a295f29cc1f metadata.xml 2087
-MD5 4b4861b6a98391112bd327b5c7fed8a5 files/digest-imagekits-0.6 244
-RMD160 2b9ddbae8aa18dc886e9539d957a6c6898b84548 files/digest-imagekits-0.6 244
-SHA256 ae4cc1ea517d328106f2099980b742b67a11e02ad974d5505050b483f7b14ae7 files/digest-imagekits-0.6 244
diff --git a/gnustep-libs/imagekits/files/digest-imagekits-0.6 b/gnustep-libs/imagekits/files/digest-imagekits-0.6
deleted file mode 100644
index dfa5ffc45499..000000000000
--- a/gnustep-libs/imagekits/files/digest-imagekits-0.6
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 370a3ed4e12a063fa9df7acadf184fc3 ImageKits-0.6.tar.gz 1770874
-RMD160 53ad5a552d1e56c106fb74599a5e1831022360c9 ImageKits-0.6.tar.gz 1770874
-SHA256 c2ef142c8e9bfe3d6dd59c98fabd18b2273414f1a12f6dd8c79c14e6a09b0ae3 ImageKits-0.6.tar.gz 1770874
diff --git a/gnustep-libs/imagekits/imagekits-0.6.ebuild b/gnustep-libs/imagekits/imagekits-0.6.ebuild
deleted file mode 100644
index 6e10581df9ee..000000000000
--- a/gnustep-libs/imagekits/imagekits-0.6.ebuild
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnustep-libs/imagekits/imagekits-0.6.ebuild,v 1.5 2006/03/26 12:10:09 grobian Exp $
-
-inherit gnustep
-
-S=${WORKDIR}/${PN/imagek/ImageK}
-
-DESCRIPTION="ImageKits is a collection of frameworks to support the applications of ImageApps."
-# 26 Mar 2006: http://mac.wms-network.de/ has redirect, but page seems
-# dead
-HOMEPAGE="http://mac.wms-network.de/gnustep/imageapps/imagekits/imagekits.html"
-SRC_URI="http://mac.wms-network.de/gnustep/imageapps/imagekits/${P/imagek/ImageK}.tar.gz"
-LICENSE="GPL-2"
-KEYWORDS="~ppc ~x86"
-SLOT="0"
-
-IUSE=""
-DEPEND="${GS_DEPEND}"
-RDEPEND="${GS_RDEPEND}"
-
-egnustep_install_domain "System"
diff --git a/gnustep-libs/imagekits/metadata.xml b/gnustep-libs/imagekits/metadata.xml
deleted file mode 100644
index 942d18fa5550..000000000000
--- a/gnustep-libs/imagekits/metadata.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>gnustep</herd>
-<longdescription>
-The frameworks in ImageKits
-
-PDFKit
-PDFKit is a framework to support the rendering of PDF content in GNUstep applications. This is achieved by providing a PDF implementation of NSImageRep, called PDFImageRep. This approach should integrate well with the concepts of the GNUstep framework. With the release of ImageKits 0.6, PDFImageRep has been dramatically improved, mostly due to a new release of xpdf (see below) on which PDFKit is based. Ghostscript based rendering is not supported any more since PDFImageRep does this job now very well (and much faster). When rendering PDF content, PDFKit does not use the fonts from GNUstep. Instead, it uses some standard URW fonts that are included in the ImageKits distribution. These fonts are part of the PDFKit framework and thus will be installed when PDFKit/ImageKits is installed. You will not notice the fonts in the FontPanel or somewhere else, they are inside the PDFKit framework.
-
-PDFKit provides some more nice features including an outline for PDF documents (if the document has one), searching in documents and getting the text in a particular area on a particular page.
-
-PDFKit is based on xpdf, i would like to thank the author for the great work. Without xpdf, PDFKit wouldn't be there where it is today. xpdf is licensed under GPL 2, for more informations see the corresponding files in the xpdf directory in the PDFKit distribution.
-
-GuiImageKit
-This goal of this framework is to provide a pool for gui components that are used in ImageApps and may be of interest for other applications as well. Currently, it contains a PageLayoutPanel that allows the user to adjust the size and orientation of a document via a comfortable panel. Note that this panel is intended to be moved to the GNUstep core framework. After this has been done, GuiImageKit is empty :-( and wait's for components that want to stay inside this framework.
-</longdescription>
-</pkgmetadata>
diff --git a/gnustep-libs/pdfkit/ChangeLog b/gnustep-libs/pdfkit/ChangeLog
deleted file mode 100644
index 4fc1c980d474..000000000000
--- a/gnustep-libs/pdfkit/ChangeLog
+++ /dev/null
@@ -1,65 +0,0 @@
-# ChangeLog for gnustep-libs/pdfkit
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnustep-libs/pdfkit/ChangeLog,v 1.11 2006/10/11 20:45:06 grobian Exp $
-
- 11 Oct 2006; Fabian Groffen <grobian@gentoo.org>
- pdfkit-0.9_pre062906.ebuild:
- Marked ~amd64, with small ebuild change. Dmitry S. Kulyabov in bug #148980
-
-*pdfkit-0.9_pre062906 (03 Sep 2006)
-
- 03 Sep 2006; Fabian Groffen <grobian@gentoo.org> -pdfkit-0.8-r3.ebuild,
- +pdfkit-0.9_pre062906.ebuild:
- Version bump and removal of old version (bug #143073)
-
- 28 Jan 2006; Simon Stelling <blubb@gentoo.org>
- +files/xpdf-3.00-CESA-2004-007.diff,
- -files/xpdf-3.00-CESA-2004-007.diff.bz2, pdfkit-0.8-r3.ebuild,
- pdfkit-0.8-r4.ebuild:
- no need to bzip a smallish patch
-
- 08 Jan 2006; Michael Hanselmann <hansmi@gentoo.org> metadata.xml:
- Remove retiring dev from metadata.
-
- 06 Jun 2005; Armando Di Cianno <fafhrd@gentoo.org> pdfkit-0.8-r4.ebuild:
- Stabilization for GNUstep GWorkspace related ebuilds
-
-*pdfkit-0.8-r4 (19 Jan 2005)
-
- 19 Jan 2005; Armando Di Cianno <fafhrd@gentoo.org>
- +files/xpdf-3.00pl3.patch, -pdfkit-0.8-r2.ebuild, +pdfkit-0.8-r4.ebuild:
- Security patch for bug 78630 added; two-times-older version pruned out
-
-*pdfkit-0.8-r3 (12 Jan 2005)
-
- 12 Jan 2005; Armando Di Cianno <fafhrd@gentoo.org>
- +files/xpdf-3.00pl2.patch, -pdfkit-0.8-r1.ebuild, +pdfkit-0.8-r3.ebuild,
- -pdfkit-0.8.ebuild:
- Security fixes per xpdf related security issues in bug 75199 and bug 75191
-
- 11 Nov 2004; Armando Di Cianno <fafhrd@gentoo.org>
- files/xpdf-3.00-CESA-2004-007.diff.bz2, pdfkit-0.8-r2.ebuild:
- Mass Update: gnustep.eclass revamped to allow configurable root install;
- gnustep-base/libs/apps updated to utilize new gnustep.eclass (only versions
- bumped where files would change); some KEYWORDS were accidentally dropped
- between version bumps of packages -- this has been resolved; windowmaker
- correctly supports gnustep now
-
-*pdfkit-0.8-r2 (01 Nov 2004)
-
- 01 Nov 2004; Armando Di Cianno <fafhrd@gentoo.org>
- +files/xpdf-goo-sizet.patch, +pdfkit-0.8-r2.ebuild:
- security fixes bug 69662
-
-*pdfkit-0.8-r1 (29 Oct 2004)
-
- 29 Oct 2004; Armando Di Cianno <fafhrd@gentoo.org>
- +files/xpdf-CESA-2004-002-xpdf3-newer.diff.bz2, +pdfkit-0.8-r1.ebuild:
- Security fixes for bugs #69008 (and #68058)
-
-*pdfkit-0.8 (21 Oct 2004)
-
- 21 Oct 2004; Armando Di Cianno <fafhrd@gentoo.org> +metadata.xml,
- +pdfkit-0.8.ebuild:
- New package; keyworded for ~ppc.
-
diff --git a/gnustep-libs/pdfkit/Manifest b/gnustep-libs/pdfkit/Manifest
deleted file mode 100644
index 01f977b5d15f..000000000000
--- a/gnustep-libs/pdfkit/Manifest
+++ /dev/null
@@ -1,40 +0,0 @@
-AUX xpdf-3.00-CESA-2004-007.diff 8045 RMD160 8ecd9eb1d6180458a48d0c895e2caf56e40d3871 SHA1 1b3ab4c27d4edaf1959ce525a5e31b9784d09169 SHA256 d9bc8f9140785d04f3db0828bfd09c79fd35442f5a5b85e0efbe85ff4c716a2d
-MD5 4706bf82a44313ebec12eb8dc10484da files/xpdf-3.00-CESA-2004-007.diff 8045
-RMD160 8ecd9eb1d6180458a48d0c895e2caf56e40d3871 files/xpdf-3.00-CESA-2004-007.diff 8045
-SHA256 d9bc8f9140785d04f3db0828bfd09c79fd35442f5a5b85e0efbe85ff4c716a2d files/xpdf-3.00-CESA-2004-007.diff 8045
-AUX xpdf-3.00pl2.patch 1645 RMD160 70fc8d6cccb02adb2ba32ea6911682ead6a1649a SHA1 9b406ea1514b508893460c3ec9cb6131287b1c9c SHA256 e1bd3b910ba41d1bcdeb285c6e7dc4cca4c921046f3bed45d5e091dda1295939
-MD5 d4de4d643cf7db65c2a6cdbd4ac868e2 files/xpdf-3.00pl2.patch 1645
-RMD160 70fc8d6cccb02adb2ba32ea6911682ead6a1649a files/xpdf-3.00pl2.patch 1645
-SHA256 e1bd3b910ba41d1bcdeb285c6e7dc4cca4c921046f3bed45d5e091dda1295939 files/xpdf-3.00pl2.patch 1645
-AUX xpdf-3.00pl3.patch 346 RMD160 7fb5521b698589245f9e0ccea753a6d4e30badf8 SHA1 c29b9ea13d1f8567a4521e12d50e497bf1681608 SHA256 c51f769fcac31cbb95dd3124deb1b658e0874a3a90fe17d9752c9be937773621
-MD5 c32a612ce419b9930ff273cf382558bf files/xpdf-3.00pl3.patch 346
-RMD160 7fb5521b698589245f9e0ccea753a6d4e30badf8 files/xpdf-3.00pl3.patch 346
-SHA256 c51f769fcac31cbb95dd3124deb1b658e0874a3a90fe17d9752c9be937773621 files/xpdf-3.00pl3.patch 346
-AUX xpdf-goo-sizet.patch 1424 RMD160 c52769d3ac95b372593e22d46ad4742dc44e47d3 SHA1 a4883eaa770acca923fb48aecf72d7b68fea16b7 SHA256 d1a75bcb1764383ee1f5bd1c2d678cdadc69cd123069657f1dced0825964cbb0
-MD5 2fce5bedd61300fad1566a41f991a782 files/xpdf-goo-sizet.patch 1424
-RMD160 c52769d3ac95b372593e22d46ad4742dc44e47d3 files/xpdf-goo-sizet.patch 1424
-SHA256 d1a75bcb1764383ee1f5bd1c2d678cdadc69cd123069657f1dced0825964cbb0 files/xpdf-goo-sizet.patch 1424
-DIST PDFKit-0.8.tar.bz2 1735057 RMD160 d31581f774c150ba978d227988654ff0cfcd8037 SHA1 1e2d02239d1804c3ca8db2a38d3f8dee5ea5bff8 SHA256 35213abb5cc6b1533c43ed504581266f119ad39f5e17a302f1d5d2c6e38072d6
-DIST pdfkit-062906.tar.gz 1991631 RMD160 e4a29f2df2ae63af0901fc7eb3023ace1837c61f SHA1 5be1871946d24576740f6e6389136b0ad94435bc SHA256 bd8671948599a3f4f88ee981cb387acb9a5bbe97f3d27a16cd40d6fa2c43d21d
-EBUILD pdfkit-0.8-r4.ebuild 984 RMD160 0c52a7423b80d2577727bdc51ce432685f40545b SHA1 839619e7c81588ef66c5d9fb88ce0adbceb26e1d SHA256 a708460e30194c46c45f52e75e493263ef8aaa1955af02f011b48b5b4677a7d3
-MD5 d5ca2657ee5b0aa9e831c30265917f44 pdfkit-0.8-r4.ebuild 984
-RMD160 0c52a7423b80d2577727bdc51ce432685f40545b pdfkit-0.8-r4.ebuild 984
-SHA256 a708460e30194c46c45f52e75e493263ef8aaa1955af02f011b48b5b4677a7d3 pdfkit-0.8-r4.ebuild 984
-EBUILD pdfkit-0.9_pre062906.ebuild 791 RMD160 4d303b2a2f6e3608eae4f2ee4c1371ae820bfcde SHA1 3c1ea86d958b1d836f2500c0b684a244f2940562 SHA256 9b1372917b09a2ac3f30cd71c6a4f582740d53f5223ddda4a7279c7a561932f0
-MD5 d9e522c67c71f9d5991e21d7c7f60f01 pdfkit-0.9_pre062906.ebuild 791
-RMD160 4d303b2a2f6e3608eae4f2ee4c1371ae820bfcde pdfkit-0.9_pre062906.ebuild 791
-SHA256 9b1372917b09a2ac3f30cd71c6a4f582740d53f5223ddda4a7279c7a561932f0 pdfkit-0.9_pre062906.ebuild 791
-MISC ChangeLog 2490 RMD160 dcafcee3b82a59333da2c2cd48ce5a559ed21f48 SHA1 ee3ebffdce66ce124290bdd348e81ef98019cc63 SHA256 33c57636984e5879c46f1046cebe38f6243028d1a0ac34b7d620dd730cde2226
-MD5 a03acaa164179bb22fc4c6431d8578c0 ChangeLog 2490
-RMD160 dcafcee3b82a59333da2c2cd48ce5a559ed21f48 ChangeLog 2490
-SHA256 33c57636984e5879c46f1046cebe38f6243028d1a0ac34b7d620dd730cde2226 ChangeLog 2490
-MISC metadata.xml 284 RMD160 40b7155e458d6536b490e81fb1293abbb657409a SHA1 476c14c6ac4ba294d2607486bc18ac3c37067a7f SHA256 c5c44346ce14a8d157c993cbe69b0cde6a6c442b574d9bf95a2eb7f23b1f83b2
-MD5 cfcc071d3dc85531286d96c9cee5a22e metadata.xml 284
-RMD160 40b7155e458d6536b490e81fb1293abbb657409a metadata.xml 284
-SHA256 c5c44346ce14a8d157c993cbe69b0cde6a6c442b574d9bf95a2eb7f23b1f83b2 metadata.xml 284
-MD5 b19977b33b48216569145269be2452f8 files/digest-pdfkit-0.8-r4 238
-RMD160 d71dbc8cf4fa855c253d11e808cf957ac5e87950 files/digest-pdfkit-0.8-r4 238
-SHA256 e3091d21970629eb5c1b8e9b64eaab1b6d7fdacd825b2f9ccee916a953904b84 files/digest-pdfkit-0.8-r4 238
-MD5 2e499cccd6d9dd7cc7f08d87ece894ea files/digest-pdfkit-0.9_pre062906 244
-RMD160 c9d97901a862294e63e378eba51feae948344515 files/digest-pdfkit-0.9_pre062906 244
-SHA256 fbfd7035221b4b8b14064b9b42c0f2d0013aa6d953b8b580f80c3f9ea95f6506 files/digest-pdfkit-0.9_pre062906 244
diff --git a/gnustep-libs/pdfkit/files/digest-pdfkit-0.8-r4 b/gnustep-libs/pdfkit/files/digest-pdfkit-0.8-r4
deleted file mode 100644
index 4ee12a332682..000000000000
--- a/gnustep-libs/pdfkit/files/digest-pdfkit-0.8-r4
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 75a0a437f2e9aa82ecf2189a67a67b35 PDFKit-0.8.tar.bz2 1735057
-RMD160 d31581f774c150ba978d227988654ff0cfcd8037 PDFKit-0.8.tar.bz2 1735057
-SHA256 35213abb5cc6b1533c43ed504581266f119ad39f5e17a302f1d5d2c6e38072d6 PDFKit-0.8.tar.bz2 1735057
diff --git a/gnustep-libs/pdfkit/files/digest-pdfkit-0.9_pre062906 b/gnustep-libs/pdfkit/files/digest-pdfkit-0.9_pre062906
deleted file mode 100644
index f7df6e510fc5..000000000000
--- a/gnustep-libs/pdfkit/files/digest-pdfkit-0.9_pre062906
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 0bf6c2441d8821c4276c4d92691ad1bb pdfkit-062906.tar.gz 1991631
-RMD160 e4a29f2df2ae63af0901fc7eb3023ace1837c61f pdfkit-062906.tar.gz 1991631
-SHA256 bd8671948599a3f4f88ee981cb387acb9a5bbe97f3d27a16cd40d6fa2c43d21d pdfkit-062906.tar.gz 1991631
diff --git a/gnustep-libs/pdfkit/files/xpdf-3.00-CESA-2004-007.diff b/gnustep-libs/pdfkit/files/xpdf-3.00-CESA-2004-007.diff
deleted file mode 100644
index 4003fe41645e..000000000000
--- a/gnustep-libs/pdfkit/files/xpdf-3.00-CESA-2004-007.diff
+++ /dev/null
@@ -1,296 +0,0 @@
---- Catalog.cc 2004-10-18 16:51:35.824126848 +0200
-+++ Catalog.cc 2004-10-18 16:53:06.634620045 +0200
-@@ -64,6 +64,15 @@
- }
- pagesSize = numPages0 = (int)obj.getNum();
- obj.free();
-+ // The gcc doesnt optimize this away, so this check is ok,
-+ // even if it looks like a pagesSize != pagesSize check
-+ if (pagesSize*sizeof(Page *)/sizeof(Page *) != pagesSize ||
-+ pagesSize*sizeof(Ref)/sizeof(Ref) != pagesSize) {
-+ 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) {
-@@ -191,6 +200,11 @@
- }
- if (start >= pagesSize) {
- pagesSize += 32;
-+ if (pagesSize*sizeof(Page *)/sizeof(Page *) != pagesSize ||
-+ pagesSize*sizeof(Ref)/sizeof(Ref) != pagesSize) {
-+ 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) {
---- XRef.cc 2004-10-11 15:51:14.000000000 +0200
-+++ XRef.cc 2004-10-11 15:56:48.000000000 +0200
-@@ -96,7 +96,7 @@
- }
- nObjects = obj1.getInt();
- obj1.free();
-- if (nObjects == 0) {
-+ if (nObjects <= 0) {
- goto err1;
- }
-
-@@ -106,7 +106,15 @@
- }
- first = obj1.getInt();
- obj1.free();
-+ if (first < 0) {
-+ goto err1;
-+ }
-
-+ if (nObjects*sizeof(int)/sizeof(int) != nObjects) {
-+ error(-1, "Invalid 'nObjects'");
-+ goto err1;
-+ }
-+
- objs = new Object[nObjects];
- objNums = (int *)gmalloc(nObjects * sizeof(int));
- offsets = (int *)gmalloc(nObjects * sizeof(int));
-@@ -130,6 +138,12 @@
- offsets[i] = obj2.getInt();
- obj1.free();
- obj2.free();
-+ if (objNums[i] < 0 || offsets[i] < 0 ||
-+ (i > 0 && offsets[i] < offsets[i-1])) {
-+ delete parser;
-+ gfree(offsets);
-+ goto err1;
-+ }
- }
- while (str->getChar() != EOF) ;
- delete parser;
-@@ -369,10 +383,21 @@
- }
- n = obj.getInt();
- obj.free();
-+ if (first < 0 || n < 0 || first + n < 0) {
-+ goto err1;
-+ }
- if (first + n > size) {
- for (newSize = size ? 2 * size : 1024;
-- first + n > newSize;
-+ first + n > newSize && newSize > 0;
- newSize <<= 1) ;
-+ if (newSize < 0) {
-+ goto err1;
-+ }
-+ if (newSize*sizeof(XRefEntry)/sizeof(XRefEntry) != newSize) {
-+ error(-1, "Invalid 'obj' parameters'");
-+ goto err1;
-+ }
-+
- entries = (XRefEntry *)grealloc(entries, newSize * sizeof(XRefEntry));
- for (i = size; i < newSize; ++i) {
- entries[i].offset = 0xffffffff;
-@@ -443,7 +468,7 @@
-
- // check for an 'XRefStm' key
- if (obj.getDict()->lookup("XRefStm", &obj2)->isInt()) {
-- pos2 = obj2.getInt();
-+ pos2 = (Guint)obj2.getInt();
- readXRef(&pos2);
- if (!ok) {
- goto err1;
-@@ -474,7 +499,14 @@
- }
- newSize = obj.getInt();
- obj.free();
-+ if (newSize < 0) {
-+ goto err1;
-+ }
- if (newSize > size) {
-+ if (newSize * sizeof(XRefEntry)/sizeof(XRefEntry) != newSize) {
-+ error(-1, "Invalid 'size' parameter.");
-+ return gFalse;
-+ }
- entries = (XRefEntry *)grealloc(entries, newSize * sizeof(XRefEntry));
- for (i = size; i < newSize; ++i) {
- entries[i].offset = 0xffffffff;
-@@ -494,6 +526,9 @@
- }
- w[i] = obj2.getInt();
- obj2.free();
-+ if (w[i] < 0 || w[i] > 4) {
-+ goto err1;
-+ }
- }
- obj.free();
-
-@@ -513,13 +548,14 @@
- }
- n = obj.getInt();
- obj.free();
-- if (!readXRefStreamSection(xrefStr, w, first, n)) {
-+ if (first < 0 || n < 0 ||
-+ !readXRefStreamSection(xrefStr, w, first, n)) {
- idx.free();
- goto err0;
- }
- }
- } else {
-- if (!readXRefStreamSection(xrefStr, w, 0, size)) {
-+ if (!readXRefStreamSection(xrefStr, w, 0, newSize)) {
- idx.free();
- goto err0;
- }
-@@ -551,10 +587,20 @@
- Guint offset;
- int type, gen, c, newSize, i, j;
-
-+ if (first + n < 0) {
-+ return gFalse;
-+ }
- if (first + n > size) {
- for (newSize = size ? 2 * size : 1024;
-- first + n > newSize;
-+ first + n > newSize && newSize > 0;
- newSize <<= 1) ;
-+ if (newSize < 0) {
-+ return gFalse;
-+ }
-+ if (newSize*sizeof(XRefEntry)/sizeof(XRefEntry) != newSize) {
-+ error(-1, "Invalid 'size' inside xref table.");
-+ return gFalse;
-+ }
- entries = (XRefEntry *)grealloc(entries, newSize * sizeof(XRefEntry));
- for (i = size; i < newSize; ++i) {
- entries[i].offset = 0xffffffff;
-@@ -585,24 +631,26 @@
- }
- gen = (gen << 8) + c;
- }
-- switch (type) {
-- case 0:
-- entries[i].offset = offset;
-- entries[i].gen = gen;
-- entries[i].type = xrefEntryFree;
-- break;
-- case 1:
-- entries[i].offset = offset;
-- entries[i].gen = gen;
-- entries[i].type = xrefEntryUncompressed;
-- break;
-- case 2:
-- entries[i].offset = offset;
-- entries[i].gen = gen;
-- entries[i].type = xrefEntryCompressed;
-- break;
-- default:
-- return gFalse;
-+ if (entries[i].offset == 0xffffffff) {
-+ switch (type) {
-+ case 0:
-+ entries[i].offset = offset;
-+ entries[i].gen = gen;
-+ entries[i].type = xrefEntryFree;
-+ break;
-+ case 1:
-+ entries[i].offset = offset;
-+ entries[i].gen = gen;
-+ entries[i].type = xrefEntryUncompressed;
-+ break;
-+ case 2:
-+ entries[i].offset = offset;
-+ entries[i].gen = gen;
-+ entries[i].type = xrefEntryCompressed;
-+ break;
-+ default:
-+ return gFalse;
-+ }
- }
- }
-
-@@ -664,38 +712,48 @@
- // look for object
- } else if (isdigit(*p)) {
- num = atoi(p);
-- do {
-- ++p;
-- } while (*p && isdigit(*p));
-- if (isspace(*p)) {
-+ if (num > 0) {
- do {
- ++p;
-- } while (*p && isspace(*p));
-- if (isdigit(*p)) {
-- gen = atoi(p);
-+ } while (*p && isdigit(*p));
-+ if (isspace(*p)) {
- do {
- ++p;
-- } while (*p && isdigit(*p));
-- if (isspace(*p)) {
-+ } while (*p && isspace(*p));
-+ if (isdigit(*p)) {
-+ gen = atoi(p);
- do {
- ++p;
-- } while (*p && isspace(*p));
-- if (!strncmp(p, "obj", 3)) {
-- if (num >= size) {
-- newSize = (num + 1 + 255) & ~255;
-- entries = (XRefEntry *)
-- grealloc(entries, newSize * sizeof(XRefEntry));
-- for (i = size; i < newSize; ++i) {
-- entries[i].offset = 0xffffffff;
-- entries[i].type = xrefEntryFree;
-+ } while (*p && isdigit(*p));
-+ if (isspace(*p)) {
-+ do {
-+ ++p;
-+ } while (*p && isspace(*p));
-+ if (!strncmp(p, "obj", 3)) {
-+ if (num >= size) {
-+ newSize = (num + 1 + 255) & ~255;
-+ if (newSize < 0) {
-+ error(-1, "Bad object number");
-+ return gFalse;
-+ }
-+ if (newSize*sizeof(XRefEntry)/sizeof(XRefEntry) != newSize) {
-+ error(-1, "Invalid 'obj' parameters.");
-+ return gFalse;
-+ }
-+ entries = (XRefEntry *)
-+ grealloc(entries, newSize * sizeof(XRefEntry));
-+ for (i = size; i < newSize; ++i) {
-+ entries[i].offset = 0xffffffff;
-+ entries[i].type = xrefEntryFree;
-+ }
-+ size = newSize;
-+ }
-+ if (entries[num].type == xrefEntryFree ||
-+ gen >= entries[num].gen) {
-+ entries[num].offset = pos - start;
-+ entries[num].gen = gen;
-+ entries[num].type = xrefEntryUncompressed;
- }
-- size = newSize;
-- }
-- if (entries[num].type == xrefEntryFree ||
-- gen >= entries[num].gen) {
-- entries[num].offset = pos - start;
-- entries[num].gen = gen;
-- entries[num].type = xrefEntryUncompressed;
- }
- }
- }
-@@ -705,6 +763,10 @@
- } else if (!strncmp(p, "endstream", 9)) {
- if (streamEndsLen == streamEndsSize) {
- streamEndsSize += 64;
-+ if (streamEndsSize*sizeof(int)/sizeof(int) != streamEndsSize) {
-+ error(-1, "Invalid 'endstream' parameter.");
-+ return gFalse;
-+ }
- streamEnds = (Guint *)grealloc(streamEnds,
- streamEndsSize * sizeof(int));
- }
diff --git a/gnustep-libs/pdfkit/files/xpdf-3.00pl2.patch b/gnustep-libs/pdfkit/files/xpdf-3.00pl2.patch
deleted file mode 100644
index 8e5a08d290f1..000000000000
--- a/gnustep-libs/pdfkit/files/xpdf-3.00pl2.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-*** Gfx.cc.orig Sun Dec 12 16:04:43 2004
---- Gfx.cc Sun Dec 12 16:05:16 2004
-***************
-*** 2654,2660 ****
- haveMask = gFalse;
- dict->lookup("Mask", &maskObj);
- if (maskObj.isArray()) {
-! for (i = 0; i < maskObj.arrayGetLength(); ++i) {
- maskObj.arrayGet(i, &obj1);
- maskColors[i] = obj1.getInt();
- obj1.free();
---- 2654,2662 ----
- haveMask = gFalse;
- dict->lookup("Mask", &maskObj);
- if (maskObj.isArray()) {
-! for (i = 0;
-! i < maskObj.arrayGetLength() && i < 2*gfxColorMaxComps;
-! ++i) {
- maskObj.arrayGet(i, &obj1);
- maskColors[i] = obj1.getInt();
- obj1.free();
-*** GfxState.cc.orig Sun Dec 12 16:04:48 2004
---- GfxState.cc Sun Dec 12 16:06:38 2004
-***************
-*** 708,713 ****
---- 708,718 ----
- }
- 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) {
-***************
-*** 1054,1060 ****
- }
- nCompsA = obj1.arrayGetLength();
- if (nCompsA > gfxColorMaxComps) {
-! error(-1, "DeviceN color space with more than %d > %d components",
- nCompsA, gfxColorMaxComps);
- nCompsA = gfxColorMaxComps;
- }
---- 1059,1065 ----
- }
- nCompsA = obj1.arrayGetLength();
- if (nCompsA > gfxColorMaxComps) {
-! error(-1, "DeviceN color space with too many (%d > %d) components",
- nCompsA, gfxColorMaxComps);
- nCompsA = gfxColorMaxComps;
- }
diff --git a/gnustep-libs/pdfkit/files/xpdf-3.00pl3.patch b/gnustep-libs/pdfkit/files/xpdf-3.00pl3.patch
deleted file mode 100644
index d7d2294c8527..000000000000
--- a/gnustep-libs/pdfkit/files/xpdf-3.00pl3.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-*** XRef.cc.orig Wed Jan 12 17:10:53 2005
---- XRef.cc Wed Jan 12 17:11:22 2005
-***************
-*** 793,798 ****
---- 793,801 ----
- } else {
- keyLength = 5;
- }
-+ if (keyLength > 16) {
-+ keyLength = 16;
-+ }
- permFlags = permissions.getInt();
- if (encVersion >= 1 && encVersion <= 2 &&
- encRevision >= 2 && encRevision <= 3) {
diff --git a/gnustep-libs/pdfkit/files/xpdf-goo-sizet.patch b/gnustep-libs/pdfkit/files/xpdf-goo-sizet.patch
deleted file mode 100644
index 5d90c5120bd4..000000000000
--- a/gnustep-libs/pdfkit/files/xpdf-goo-sizet.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-diff -ru xpdf-2.02pl1/goo/gmem.c xpdf-2.02pl1/goo/gmem.c
---- xpdf-2.02pl1/goo/gmem.c 2003-06-16 22:01:26.000000000 +0200
-+++ xpdf-2.02pl1/goo/gmem.c 2004-10-29 15:13:34.866919791 +0200
-@@ -53,9 +53,9 @@
-
- #endif /* DEBUG_MEM */
-
--void *gmalloc(int size) {
-+void *gmalloc(size_t size) {
- #ifdef DEBUG_MEM
-- int size1;
-+ size_t size1;
- char *mem;
- GMemHdr *hdr;
- void *data;
-@@ -94,11 +94,11 @@
- #endif
- }
-
--void *grealloc(void *p, int size) {
-+void *grealloc(void *p, size_t size) {
- #ifdef DEBUG_MEM
- GMemHdr *hdr;
- void *q;
-- int oldSize;
-+ size_t oldSize;
-
- if (size == 0) {
- if (p)
-@@ -137,7 +137,7 @@
-
- void gfree(void *p) {
- #ifdef DEBUG_MEM
-- int size;
-+ size_t size;
- GMemHdr *hdr;
- GMemHdr *prevHdr, *q;
- int lst;
-diff -ru xpdf-2.02pl1/goo/gmem.h xpdf-2.02pl1/goo/gmem.h
---- xpdf-2.02pl1/goo/gmem.h 2003-06-16 22:01:26.000000000 +0200
-+++ xpdf-2.02pl1/goo/gmem.h 2004-10-29 15:13:50.864027201 +0200
-@@ -19,13 +19,13 @@
- * Same as malloc, but prints error message and exits if malloc()
- * returns NULL.
- */
--extern void *gmalloc(int size);
-+extern void *gmalloc(size_t size);
-
- /*
- * Same as realloc, but prints error message and exits if realloc()
- * returns NULL. If <p> is NULL, calls malloc instead of realloc().
- */
--extern void *grealloc(void *p, int size);
-+extern void *grealloc(void *p, size_t size);
-
- /*
- * Same as free, but checks for and ignores NULL pointers.
diff --git a/gnustep-libs/pdfkit/metadata.xml b/gnustep-libs/pdfkit/metadata.xml
deleted file mode 100644
index d1622367196e..000000000000
--- a/gnustep-libs/pdfkit/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>gnustep</herd>
-<longdescription>
-PDFKit is a framework that supports rendering of PDF content in GNUstep applications.
-</longdescription>
-</pkgmetadata>
diff --git a/gnustep-libs/pdfkit/pdfkit-0.8-r4.ebuild b/gnustep-libs/pdfkit/pdfkit-0.8-r4.ebuild
deleted file mode 100644
index 754a8af91569..000000000000
--- a/gnustep-libs/pdfkit/pdfkit-0.8-r4.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnustep-libs/pdfkit/pdfkit-0.8-r4.ebuild,v 1.4 2006/01/28 18:10:51 blubb Exp $
-
-inherit gnustep
-
-S=${WORKDIR}/${PN/pdfk/PDFK}
-
-DESCRIPTION="PDFKit is a framework that supports rendering of PDF content in GNUstep applications"
-HOMEPAGE="http://home.gna.org/gsimageapps/"
-SRC_URI="http://download.gna.org/gsimageapps/${P/pdfk/PDFK}.tar.bz2"
-LICENSE="GPL-2"
-KEYWORDS="~ppc x86"
-SLOT="0"
-
-IUSE=""
-DEPEND="${GS_DEPEND}
- !gnustep-libs/imagekits"
-RDEPEND="${GS_RDEPEND}
- !gnustep-libs/imagekits"
-
-egnustep_install_domain "System"
-
-src_unpack()
-{
- unpack ${A}
- cd ${S}
- ( cd xpdf/xpdf-3.00/xpdf; epatch ${FILESDIR}/xpdf-3.00-CESA-2004-007.diff )
- ( cd xpdf/xpdf-3.00/goo; epatch ${FILESDIR}/xpdf-goo-sizet.patch )
- ( cd xpdf/xpdf-3.00/xpdf; epatch ${FILESDIR}/xpdf-3.00pl2.patch )
- ( cd xpdf/xpdf-3.00/xpdf; epatch ${FILESDIR}/xpdf-3.00pl3.patch )
-}
diff --git a/gnustep-libs/pdfkit/pdfkit-0.9_pre062906.ebuild b/gnustep-libs/pdfkit/pdfkit-0.9_pre062906.ebuild
deleted file mode 100644
index 22e31aff7269..000000000000
--- a/gnustep-libs/pdfkit/pdfkit-0.9_pre062906.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnustep-libs/pdfkit/pdfkit-0.9_pre062906.ebuild,v 1.3 2007/07/15 03:34:37 mr_bones_ Exp $
-
-inherit gnustep
-
-MY_P=${PN}-${PV##*pre}
-
-S=${WORKDIR}/${MY_P/pdfk/PDFK}
-
-DESCRIPTION="A framework for rendering of PDF content in GNUstep applications"
-HOMEPAGE="http://home.gna.org/gsimageapps/"
-SRC_URI="http://www.gnustep.it/enrico/${PN}/${MY_P}.tar.gz"
-LICENSE="GPL-2"
-KEYWORDS="~ppc ~x86 ~amd64"
-SLOT="0"
-
-IUSE=${IUSE}
-DEPEND="${GS_DEPEND}
- !gnustep-libs/imagekits"
-RDEPEND="${GS_RDEPEND}
- !gnustep-libs/imagekits"
-
-egnustep_install_domain "System"
-
-src_compile () {
- egnustep_env
-
- use amd64 && append-flags -fPIC
-
- econf || die
- egnustep_make || die
-}