diff options
author | Sebastian Bergmann <sebastian@gentoo.org> | 2006-02-11 12:16:49 +0000 |
---|---|---|
committer | Sebastian Bergmann <sebastian@gentoo.org> | 2006-02-11 12:16:49 +0000 |
commit | 8dcdf5cbac849e62b7f8a94eddd4771ec40de42d (patch) | |
tree | 1d6ee2a83b0337fc88527705f25fb33ed358d5f6 /dev-php4 | |
parent | Version bump, see bug #121918. (diff) | |
download | historical-8dcdf5cbac849e62b7f8a94eddd4771ec40de42d.tar.gz historical-8dcdf5cbac849e62b7f8a94eddd4771ec40de42d.tar.bz2 historical-8dcdf5cbac849e62b7f8a94eddd4771ec40de42d.zip |
Version bump.
Package-Manager: portage-2.1_pre4-r1
Diffstat (limited to 'dev-php4')
-rw-r--r-- | dev-php4/jpgraph/ChangeLog | 8 | ||||
-rw-r--r-- | dev-php4/jpgraph/Manifest | 22 | ||||
-rw-r--r-- | dev-php4/jpgraph/files/digest-jpgraph-1.20.2 | 3 | ||||
-rw-r--r-- | dev-php4/jpgraph/jpgraph-1.20.2.ebuild | 84 |
4 files changed, 112 insertions, 5 deletions
diff --git a/dev-php4/jpgraph/ChangeLog b/dev-php4/jpgraph/ChangeLog index 07a387063f8d..28bca2c6bb61 100644 --- a/dev-php4/jpgraph/ChangeLog +++ b/dev-php4/jpgraph/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-php4/jpgraph # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php4/jpgraph/ChangeLog,v 1.5 2006/02/03 20:06:52 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php4/jpgraph/ChangeLog,v 1.6 2006/02/11 12:16:49 sebastian Exp $ + +*jpgraph-1.20.2 (11 Feb 2006) + + 11 Feb 2006; Sebastian Bergmann <sebastian@gentoo.org> + +jpgraph-1.20.2.ebuild: + Version bump. 03 Feb 2006; <nixnut@gentoo.org> jpgraph-1.19.ebuild: Added ~ppc keyword. bug 121023 diff --git a/dev-php4/jpgraph/Manifest b/dev-php4/jpgraph/Manifest index e5e7aed56124..b18219e6a565 100644 --- a/dev-php4/jpgraph/Manifest +++ b/dev-php4/jpgraph/Manifest @@ -1,14 +1,28 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 2211d7516cc2ea8da99583dbb4f86c4b ChangeLog 740 +MD5 8632f524f893207991f6a30c2f42303a ChangeLog 874 +RMD160 1170f8730adbba5d355325fe88577724f198e235 ChangeLog 874 +SHA256 3f85146742d45b3b3caf7231e9e96a98d5a992af775ab33abbe978a96d41d24e ChangeLog 874 MD5 5808c16ea2ebf688f36553295fd2caee files/digest-jpgraph-1.19 65 +RMD160 9be541168378f82c5666e308f8a9cac5cca70c49 files/digest-jpgraph-1.19 65 +SHA256 a78b26af1b1ac999b80264629bf31229a4d918ae3222b14fea4bbd482e26e8ca files/digest-jpgraph-1.19 65 +MD5 eed11e708883690ce658e545b2ad96ea files/digest-jpgraph-1.20.2 247 +RMD160 a0c6ec8173063eaf6da682dec8b91cd06300f9b4 files/digest-jpgraph-1.20.2 247 +SHA256 c91822be21d1e0ca9a380bfa431684c3f23c8703876122b1d5d7b69ec10a8344 files/digest-jpgraph-1.20.2 247 MD5 3cbe7705ebe83566da56e634513ac713 jpgraph-1.19.ebuild 2510 +RMD160 06badc018a7a4161152ec413c359c077733ba4c6 jpgraph-1.19.ebuild 2510 +SHA256 de08caca71aadaa9fb80d730fc833fc3993e6fc74df20c904b764c43da2e49d6 jpgraph-1.19.ebuild 2510 +MD5 3613033439f17b963e10c060e00b7a4d jpgraph-1.20.2.ebuild 2515 +RMD160 bfe584566312a46600ab544245e79c7f9a9a920a jpgraph-1.20.2.ebuild 2515 +SHA256 caf99aac1da0db2e74193dd1c7ba9d9d52366caab3006eb6533beddc1d6b44d2 jpgraph-1.20.2.ebuild 2515 MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 +RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a metadata.xml 157 +SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1 metadata.xml 157 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) -iD8DBQFD47e3oFw4q70f3SsRAsNeAKDE46vtYJKNUhJRzJTrqz3uCeJkzgCgnbIl -Dndyh+A5f35GpDK0xqEWtgc= -=prei +iD8DBQFD7dXBaGfFFLhbXWkRAl/WAJ41FE689ipnUki5zFprIkNR9gZStACfV5FM +1yPpxwaiplNAnzM+x8KGIDk= +=QpwI -----END PGP SIGNATURE----- diff --git a/dev-php4/jpgraph/files/digest-jpgraph-1.20.2 b/dev-php4/jpgraph/files/digest-jpgraph-1.20.2 new file mode 100644 index 000000000000..516336c40c2d --- /dev/null +++ b/dev-php4/jpgraph/files/digest-jpgraph-1.20.2 @@ -0,0 +1,3 @@ +MD5 e7903d725a4d61168d8ada554bba29e5 jpgraph-1.20.2.tar.gz 4529485 +RMD160 0b36883f3a23e025ed93583df9d33a49877f9044 jpgraph-1.20.2.tar.gz 4529485 +SHA256 951c6eb4a763ee032bf732943a4bb9d69a98a1dbdf5ba30072031583f4bdca7a jpgraph-1.20.2.tar.gz 4529485 diff --git a/dev-php4/jpgraph/jpgraph-1.20.2.ebuild b/dev-php4/jpgraph/jpgraph-1.20.2.ebuild new file mode 100644 index 000000000000..e56dfbd5f11d --- /dev/null +++ b/dev-php4/jpgraph/jpgraph-1.20.2.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php4/jpgraph/jpgraph-1.20.2.ebuild,v 1.1 2006/02/11 12:16:49 sebastian Exp $ + +inherit php-lib-r1 + +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +DESCRIPTION="Fully OO graph drawing library for PHP." +HOMEPAGE="http://www.aditus.nu/jpgraph/" +SRC_URI="http://members.chello.se/jpgraph/jpgdownloads/${P}.tar.gz" +LICENSE="QPL-1.0" +SLOT="0" +IUSE="truetype" + +RDEPEND="${RDEPEND} + truetype? ( media-fonts/corefonts )" + +need_php_by_category + +JPGRAPH_CACHE_DIR="/var/cache/jpgraph" +COREFONTS_DIR="/usr/share/fonts/corefonts" + +pkg_setup() { + has_php + + # we need the GD functionality of PHP + require_gd + + # check to wich user:group the cache dir will go + if has_version "net-www/apache" ; then + HTTPD_USER="apache" + HTTPD_GROUP="apache" + einfo "Configuring cache dir ${JPGRAPH_CACHE_DIR} for Apache." + else + HTTPD_USER="root" + HTTPD_GROUP="root" + ewarn "No Apache webserver detected - ${JPGRAPH_CACHE_DIR} will be" + ewarn "owned by ${HTTPD_USER}:${HTTPD_GROUP} instead." + fi +} + +src_install() { + # some patches to adapt the config to Gentoo + einfo "Patching jpg-config.inc" + + # patch 1: + # make jpgraph use the correct group for file permissions + + sed -i "s|^DEFINE(\"CACHE_FILE_GROUP\",\"wwwadmin\");|DEFINE(\"CACHE_FILE_GROUP\",\"${HTTPD_GROUP}\");|" src/jpg-config.inc + + # patch 2: + # make jpgraph use the correct directory for caching + + sed -i "s|.*DEFINE(\"CACHE_DIR\",\"/tmp/jpgraph_cache/\");|DEFINE(\"CACHE_DIR\",\"${JPGRAPH_CACHE_DIR}/\");|" src/jpg-config.inc + + # patch 3: + # make jpgraph use the correct directory for the corefonts if the truetype USE flag is set + + if use truetype ; then + sed -i "s|.*DEFINE(\"TTF_DIR\",\"/usr/X11R6/lib/X11/fonts/truetype/\");|DEFINE(\"TTF_DIR\",\"${COREFONTS_DIR}/\");|" src/jpg-config.inc + fi + + # patch 4: + # disable READ_CACHE in jpgraph + + sed -i "s|^DEFINE(\"READ_CACHE\",true);|DEFINE(\"READ_CACHE\",false);|" src/jpg-config.inc + + # install php files + einfo "Building list of files to install" + php-lib-r1_src_install src `cd src ; find . -type f -print` + + # install documentation + einfo "Installing documentation" + dodoc-php README QPL.txt + dohtml -r docs/* + + # setup the cache dir + # cachedir must be world-writable, because PHP/CLI doesn't run + # as the apache user! + einfo "Setting up the cache dir" + keepdir "${JPGRAPH_CACHE_DIR}" + fowners ${HTTPD_USER}:${HTTPD_GROUP} "${JPGRAPH_CACHE_DIR}" + fperms 700 "${JPGRAPH_CACHE_DIR}" +} |