diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-08-26 17:28:18 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-08-26 18:07:14 +0200 |
commit | 2d449014e89a0cdd9278a805fcccd057da70d29c (patch) | |
tree | cd8a3befd063e51272e88638ce5dbfc50392bfb6 /dev-php | |
parent | dev-php/myclabs-deepcopy: drop 1.6.0, 1.6.1, 1.9.4 (diff) | |
download | gentoo-2d449014e89a0cdd9278a805fcccd057da70d29c.tar.gz gentoo-2d449014e89a0cdd9278a805fcccd057da70d29c.tar.bz2 gentoo-2d449014e89a0cdd9278a805fcccd057da70d29c.zip |
dev-php/jpgraph: drop 4.0.2, 4.2.0
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-php')
-rw-r--r-- | dev-php/jpgraph/Manifest | 2 | ||||
-rw-r--r-- | dev-php/jpgraph/files/gentoo_ttf_dir.patch | 31 | ||||
-rw-r--r-- | dev-php/jpgraph/jpgraph-4.0.2.ebuild | 63 | ||||
-rw-r--r-- | dev-php/jpgraph/jpgraph-4.2.0.ebuild | 63 |
4 files changed, 0 insertions, 159 deletions
diff --git a/dev-php/jpgraph/Manifest b/dev-php/jpgraph/Manifest index 3e079e09a2b1..1cca75dfc431 100644 --- a/dev-php/jpgraph/Manifest +++ b/dev-php/jpgraph/Manifest @@ -1,3 +1 @@ -DIST jpgraph-4.0.2.tar.gz 13298314 BLAKE2B 46506f5a3f331157329c92f61f4843faa7d0774fbdb0cafe58a5609d1c9e9c2f73d4634ffd09cad3c874a45b2ac8658271a343b5e0dfb673f810bf7af6083189 SHA512 db1877c09c13a26d24ef7df4aae50799f55c6d72ca0cdb0b8d8c05928c1bc860f8a86eb52a5fb05bdc1c07574931825baa2989f006e9a4cc57e60913e8b67a3e -DIST jpgraph-4.2.0.tar.gz 13298982 BLAKE2B b5fab9754239f78fbdfebd84872b824400d27fce89a80d82028d2521f7d64ada79efe4eb9c5460f56d882e827f5930eb10a57c3b41a81865dd618b9baf628cf9 SHA512 f0f164663f2e0fca5b827d89c57aaa144765a987ca4ebb82f18102f8cb80057c7f7639b8faae5d6d6ce459257bdfa609d2df6ffe648a7334c58c87ddfe86c334 DIST jpgraph-4.3.5.tar.gz 13293351 BLAKE2B 246d2446b02b0f01fd8e3960d645897c21604c726541177aa5573620b63ab9a1f5d5318309e1c3ffd159257f02c0d1c7a7b8b563758abeea18161327a4939668 SHA512 7e826147f8f551171463d15add17f65587e879d6e666fcec9872367b7bdea77b2b1fd6b0af03984680d23dfe7c1e21b4f5d2cfd9a45a60c52b62812a5c1ab7ac diff --git a/dev-php/jpgraph/files/gentoo_ttf_dir.patch b/dev-php/jpgraph/files/gentoo_ttf_dir.patch deleted file mode 100644 index a10479b3f673..000000000000 --- a/dev-php/jpgraph/files/gentoo_ttf_dir.patch +++ /dev/null @@ -1,31 +0,0 @@ -From fd1fc5e3c72ac4511f86852b1704821c440bdb3d Mon Sep 17 00:00:00 2001 -From: Michael Orlitzky <michael@orlitzky.com> -Date: Tue, 3 Jan 2017 12:56:18 -0500 -Subject: [PATCH 1/1] Set TTF_DIR to the Gentoo corefonts location. - -The default value of TTF_DIR in jpg-config.inc.php points to -/usr/share/fonts/truetype, a location that does not exist on -Gentoo. Since JpGraph largely only supports the Microsoft -corefonts, we point it to /usr/share/fonts/corefonts instead. -If the user does not have the corefonts installed, this is no -great loss: neither location exists. ---- - src/jpg-config.inc.php | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/jpg-config.inc.php b/src/jpg-config.inc.php -index ea16c1e..98cbdc7 100755 ---- a/src/jpg-config.inc.php -+++ b/src/jpg-config.inc.php -@@ -36,7 +36,7 @@ - // - //------------------------------------------------------------------------ - // define('CACHE_DIR','/tmp/jpgraph_cache/'); --// define('TTF_DIR','/usr/share/fonts/TrueType/'); -+define('TTF_DIR','/usr/share/fonts/corefonts/'); - // define('MBTTF_DIR','/usr/share/fonts/TrueType/'); - - //------------------------------------------------------------------------- --- -2.10.2 - diff --git a/dev-php/jpgraph/jpgraph-4.0.2.ebuild b/dev-php/jpgraph/jpgraph-4.0.2.ebuild deleted file mode 100644 index 4a7a1f338b46..000000000000 --- a/dev-php/jpgraph/jpgraph-4.0.2.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -DESCRIPTION="Object-oriented graphing library for PHP" -HOMEPAGE="http://jpgraph.net/" -# Upstream didn't have a stable download URL when this was packaged. -SRC_URI="https://dev.gentoo.org/~mjo/distfiles/${P}.tar.gz" -LICENSE="QPL-1.0" -SLOT="0" -KEYWORDS="~alpha amd64 ~hppa ppc sparc x86" -IUSE="truetype examples" - -DEPEND="" -RDEPEND="truetype? ( media-fonts/corefonts ) - dev-lang/php[gd,truetype?]" - -src_prepare() { - default - - # The DejaVu fonts are now bundled with the library and don't need - # to be found in TTF_DIR. Since most of the fonts supported by - # JpGraph are corefonts, we point the sole TTF_DIR towards them for - # maximum impact. Why not apply the patch unconditionally? We want - # to avoid a situation where TTF fonts appear to work, but then - # break without warning when the user e.g. removes corefonts. By - # applying the patch conditionally, we ensure a dependency on - # media-fonts/corefonts before anything will work. - use truetype && eapply "${FILESDIR}/gentoo_ttf_dir.patch" - - # Some of the documentation and examples are shipped in the "src" - # directory. We want them outside of that tree so that we can simply - # call doins recursively on "src". First, rename the existing "docs" - # directory which contains the HTML manual and class reference. - mv docs html || die 'failed to rename "docs" directory' - mv src/README ./ || die 'failed to relocate the README' - mv src/Examples ./examples || die 'failed to relocate the examples' - - # These are present (duplicated) in the other Examples directory, - # and don't work anyway. - rm -r src/barcode || die 'failed to remove some barcode examples' - - # We'll also want to install the config file to /etc, since it may - # need to be edited by the user. - mv src/jpg-config.inc.php ./ || die 'failed to relocate the config file' - rm src/jpg-config.inc.php.orig || die 'failed to remove original config file' -} - -src_install() { - dodoc README - dodoc -r html - use examples && dodoc -r examples - - insinto "/usr/share/php/${PN}" - doins -r src/* - - insinto /etc - doins jpg-config.inc.php - # Create a symlink for the config file, because the library will only - # look for it in its own source tree (not in /etc where we've put it). - dosym ../../../../etc/jpg-config.inc.php "/usr/share/php/${PN}/jpg-config.inc.php" -} diff --git a/dev-php/jpgraph/jpgraph-4.2.0.ebuild b/dev-php/jpgraph/jpgraph-4.2.0.ebuild deleted file mode 100644 index b7565d393188..000000000000 --- a/dev-php/jpgraph/jpgraph-4.2.0.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -DESCRIPTION="Object-oriented graphing library for PHP" -HOMEPAGE="http://jpgraph.net/" -# Upstream didn't have a stable download URL when this was packaged. -SRC_URI="https://dev.gentoo.org/~grknight/distfiles/${P}.tar.gz" -LICENSE="QPL-1.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86" -IUSE="truetype examples" - -DEPEND="" -RDEPEND="truetype? ( media-fonts/corefonts ) - dev-lang/php[gd,truetype?]" - -src_prepare() { - default - - # The DejaVu fonts are now bundled with the library and don't need - # to be found in TTF_DIR. Since most of the fonts supported by - # JpGraph are corefonts, we point the sole TTF_DIR towards them for - # maximum impact. Why not apply the patch unconditionally? We want - # to avoid a situation where TTF fonts appear to work, but then - # break without warning when the user e.g. removes corefonts. By - # applying the patch conditionally, we ensure a dependency on - # media-fonts/corefonts before anything will work. - use truetype && eapply "${FILESDIR}/gentoo_ttf_dir.patch" - - # Some of the documentation and examples are shipped in the "src" - # directory. We want them outside of that tree so that we can simply - # call doins recursively on "src". First, rename the existing "docs" - # directory which contains the HTML manual and class reference. - mv docs html || die 'failed to rename "docs" directory' - mv src/README ./ || die 'failed to relocate the README' - mv src/Examples ./examples || die 'failed to relocate the examples' - - # These are present (duplicated) in the other Examples directory, - # and don't work anyway. - rm -r src/barcode || die 'failed to remove some barcode examples' - - # We'll also want to install the config file to /etc, since it may - # need to be edited by the user. - mv src/jpg-config.inc.php ./ || die 'failed to relocate the config file' - rm src/jpg-config.inc.php.orig || die 'failed to remove original config file' -} - -src_install() { - dodoc README - dodoc -r html - use examples && dodoc -r examples - - insinto "/usr/share/php/${PN}" - doins -r src/* - - insinto /etc - doins jpg-config.inc.php - # Create a symlink for the config file, because the library will only - # look for it in its own source tree (not in /etc where we've put it). - dosym ../../../../etc/jpg-config.inc.php "/usr/share/php/${PN}/jpg-config.inc.php" -} |