From f8353c263d9f7a1c8d8d481c507c1e2ca3827207 Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Sat, 17 Feb 2007 09:18:14 +0000 Subject: [PATCH] ensure media-libs/gd is built with jpeg and png thanks to suggestion by Panagiotis in bug #166970 Package-Manager: portage-2.1.2-r9 --- media-libs/ploticus/ChangeLog | 9 +++++-- media-libs/ploticus/Manifest | 32 ++++++++++++------------ media-libs/ploticus/ploticus-2.32.ebuild | 14 ++++++++--- media-libs/ploticus/ploticus-2.33.ebuild | 12 +++++++-- 4 files changed, 44 insertions(+), 23 deletions(-) diff --git a/media-libs/ploticus/ChangeLog b/media-libs/ploticus/ChangeLog index c7cf6c459b2e..2b360676bf9e 100644 --- a/media-libs/ploticus/ChangeLog +++ b/media-libs/ploticus/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/ploticus -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/ploticus/ChangeLog,v 1.8 2006/07/16 02:09:32 dragonheart Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/ploticus/ChangeLog,v 1.9 2007/02/17 09:18:14 dragonheart Exp $ + + 17 Feb 2007; Daniel Black ploticus-2.32.ebuild, + ploticus-2.33.ebuild: + ensure media-libs/gd is built with jpeg and png thanks to suggestion by + Panagiotis in bug #166970 *ploticus-2.33 (16 Jul 2006) diff --git a/media-libs/ploticus/Manifest b/media-libs/ploticus/Manifest index 628b63c16413..aec322c9452f 100644 --- a/media-libs/ploticus/Manifest +++ b/media-libs/ploticus/Manifest @@ -23,18 +23,18 @@ RMD160 dbda556ebb903192a60c7e485090d61c1fc42596 files/pl233src.patch 19056 SHA256 5649d20617f7a8fa08a42ac1c342aa5feb41afdf025cce5531298ea2bbf005cd files/pl233src.patch 19056 DIST pl232src.tar.gz 451923 RMD160 1ee4d1fd031aa119e33262f9f316b8b25ce29892 SHA1 d34de8c85cdc9d869f95fbcf54c6452591d46440 SHA256 9b397cf4f8346ad20e587015bb916328782ac303e44d83a2b76b116ba12ebabe DIST pl233src.tar.gz 467168 RMD160 ceb199a1b0925a8578ed1c73e2fa25be50b4f13c SHA1 76b49a730a230023b807c9eeb27793ce5bf64228 SHA256 020b1dd3126c591a90dc89e94dde6598c59a524fd0571b40ee384f323a35ca53 -EBUILD ploticus-2.32.ebuild 3426 RMD160 9715adc3facab82e22e81ef9605b635ceee7ba28 SHA1 03f59c1d2a450a4c589eacbcffebe6b020827ebe SHA256 ce76a5abb439ffe82f78464fe0dfeb3a142ef3a54283923c0c8197e78e7c356f -MD5 7b9737cbe9f70ffc1eb68c8ea85717c3 ploticus-2.32.ebuild 3426 -RMD160 9715adc3facab82e22e81ef9605b635ceee7ba28 ploticus-2.32.ebuild 3426 -SHA256 ce76a5abb439ffe82f78464fe0dfeb3a142ef3a54283923c0c8197e78e7c356f ploticus-2.32.ebuild 3426 -EBUILD ploticus-2.33.ebuild 3421 RMD160 5b2a2d41479191a78a221ba84cdcea7bdae11ee3 SHA1 cfaeebab4d694cf98150048e207e080a9f752f51 SHA256 a44df833dff99a79ea6b35c2f0afb99face8888d9c4ddc50cb9c7528d520b171 -MD5 10be360a1afb14d1922bac941d15fcf5 ploticus-2.33.ebuild 3421 -RMD160 5b2a2d41479191a78a221ba84cdcea7bdae11ee3 ploticus-2.33.ebuild 3421 -SHA256 a44df833dff99a79ea6b35c2f0afb99face8888d9c4ddc50cb9c7528d520b171 ploticus-2.33.ebuild 3421 -MISC ChangeLog 1440 RMD160 43e36969e7dfcf37ff61696138970a36d4deb169 SHA1 7f1a85ceed95e9bc291796ccbc4670f1e4977007 SHA256 ee27408653707804058d6b40c9aab7a5d1fa82b60904661547d30c2d67c8908d -MD5 9fc065545e25942af15c6f6af8826669 ChangeLog 1440 -RMD160 43e36969e7dfcf37ff61696138970a36d4deb169 ChangeLog 1440 -SHA256 ee27408653707804058d6b40c9aab7a5d1fa82b60904661547d30c2d67c8908d ChangeLog 1440 +EBUILD ploticus-2.32.ebuild 3621 RMD160 61e9de03e18110936a83ffba72251931485c1d6a SHA1 b849de092807fbd8e7c48749b366bb6e324adf9c SHA256 9c642c199eb1a6c309e7dc7023f04720e8beecd6c14f8d4efdb6fcea145a806c +MD5 f375f7fb7c9fa1c775ed7f626a97ed4b ploticus-2.32.ebuild 3621 +RMD160 61e9de03e18110936a83ffba72251931485c1d6a ploticus-2.32.ebuild 3621 +SHA256 9c642c199eb1a6c309e7dc7023f04720e8beecd6c14f8d4efdb6fcea145a806c ploticus-2.32.ebuild 3621 +EBUILD ploticus-2.33.ebuild 3612 RMD160 b5fdc90c1c3ed9e69f1f652b9c6c50fca7eb4820 SHA1 2d47f780f14f96ec9770c6b5aa0c982d2df6c181 SHA256 1e68b50ec8e110f3d618faf04538a676425cdf389a6704d8c142f9b9635378c5 +MD5 09e9ca6fb40b47fd2bd254bc9ceefd85 ploticus-2.33.ebuild 3612 +RMD160 b5fdc90c1c3ed9e69f1f652b9c6c50fca7eb4820 ploticus-2.33.ebuild 3612 +SHA256 1e68b50ec8e110f3d618faf04538a676425cdf389a6704d8c142f9b9635378c5 ploticus-2.33.ebuild 3612 +MISC ChangeLog 1642 RMD160 ff4018840eac5506dde698f5e8896e945fbed876 SHA1 d4456437f6d8dd87d6989155357cbba90f0a72b2 SHA256 d55232ee39ef910339a62d5d704362f1093ef227facc85063d33778bcb11764c +MD5 da2807c0e5fe7d13d4385a801efd2d10 ChangeLog 1642 +RMD160 ff4018840eac5506dde698f5e8896e945fbed876 ChangeLog 1642 +SHA256 d55232ee39ef910339a62d5d704362f1093ef227facc85063d33778bcb11764c ChangeLog 1642 MISC metadata.xml 832 RMD160 037bcae67e9d5ebb6e0b666a49549299bc908e8a SHA1 3515dcab7bdd5cf150a07f6c427aab06f6db9104 SHA256 d7d8f7c88ce4402e4045924efb93392b2480b06de04413fd7a40a045012cbf3c MD5 92797bcb47c13ca4661d0ed2de6de765 metadata.xml 832 RMD160 037bcae67e9d5ebb6e0b666a49549299bc908e8a metadata.xml 832 @@ -46,9 +46,9 @@ MD5 2ddd81fc5f0cd09c53471d322525ac54 files/digest-ploticus-2.33 226 RMD160 7a3e698562e3249d8de61cdbf3c3ed3bfdc0a0dd files/digest-ploticus-2.33 226 SHA256 40e113307988934baec1e0a81938f3d9ca023b079223f6dd072f9828f9ad193f files/digest-ploticus-2.33 226 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.4-ecc0.1.6 (GNU/Linux) +Version: GnuPG v2.0.2 (GNU/Linux) -iD8DBQFEuaC4mdTrptrqvGERAnQpAJwMiGo3to/+YpBM2i5xTiWVq6z+cwCcDFzk -w0UUdo4yPsZIIEK+Jhdy9aA= -=jBqi +iD8DBQFF1sh1mdTrptrqvGERAlXnAJ4iQ8AMmcuYnFK9bhMCfW8lJRlTkACgkr4J +jQi7V5O77iqGyn4cHQRrM4Q= +=hQYM -----END PGP SIGNATURE----- diff --git a/media-libs/ploticus/ploticus-2.32.ebuild b/media-libs/ploticus/ploticus-2.32.ebuild index 596ca9427cd9..7d0b3d96fb63 100644 --- a/media-libs/ploticus/ploticus-2.32.ebuild +++ b/media-libs/ploticus/ploticus-2.32.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/ploticus/ploticus-2.32.ebuild,v 1.4 2006/07/16 01:06:13 tsunam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/ploticus/ploticus-2.32.ebuild,v 1.5 2007/02/17 09:18:14 dragonheart Exp $ inherit eutils toolchain-funcs -MY_P=pl${PV/./}src +MY_P=pl${PV/.}src S=${WORKDIR}/${MY_P} DESCRIPTION="A command line application for producing graphs and charts" @@ -20,6 +20,14 @@ DEPEND="media-libs/libpng truetype? ( =media-libs/freetype-2* ) X? ( || ( x11-libs/libX11 virtual/x11 ) )" +pkg_setup() { + if use gd; + then + if ! built_with_use media-libs/gd jpeg || ! built_with_use media-libs/gd png; then + die "media-libs/gd needs to be build with USE=\"png jpeg\"" + fi + fi +} src_unpack() { unpack ${A} # Fixes a problem with NOX11. diff --git a/media-libs/ploticus/ploticus-2.33.ebuild b/media-libs/ploticus/ploticus-2.33.ebuild index 0e6f127b042e..a5c22983272a 100644 --- a/media-libs/ploticus/ploticus-2.33.ebuild +++ b/media-libs/ploticus/ploticus-2.33.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/ploticus/ploticus-2.33.ebuild,v 1.1 2006/07/16 02:09:32 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/ploticus/ploticus-2.33.ebuild,v 1.2 2007/02/17 09:18:14 dragonheart Exp $ inherit eutils toolchain-funcs @@ -20,6 +20,14 @@ DEPEND="media-libs/libpng truetype? ( =media-libs/freetype-2* ) X? ( || ( x11-libs/libX11 virtual/x11 ) )" +pkg_setup() { + if use gd; + then + if ! built_with_use media-libs/gd jpeg || ! built_with_use media-libs/gd png; then + die "media-libs/gd needs to be build with USE=\"png jpeg\"" + fi + fi +} src_unpack() { unpack ${A} # Fixes a problem with NOX11. -- 2.26.2