Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 36264 Details for
Bug 58560
dev-php/jpgraph updated for webapp.eclass
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
jpgraph-1.16.ebuild
eb.txt (text/plain), 1.90 KB, created by
Renat Lumpau (RETIRED)
on 2004-07-27 09:09:57 UTC
(
hide
)
Description:
jpgraph-1.16.ebuild
Filename:
MIME Type:
Creator:
Renat Lumpau (RETIRED)
Created:
2004-07-27 09:09:57 UTC
Size:
1.90 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/dev-php/jpgraph/jpgraph-1.12.2.ebuild,v 1.12 2004/06/30 17:19:42 vapier Exp $ > >inherit php-lib webapp > >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" >KEYWORDS="~x86 ~ppc ~sparc alpha" >IUSE="" > >DEPEND="$DEPEND" >RDEPEND="virtual/php > >=media-libs/gd-1.8" > ># if this changes, don't forget to edit the reconfig script >JPGRAPH_CACHE_DIR="/var/cache/jpgraph" > >src_install() { > webapp_src_preinst > einfo "Patching jpgraph.php" > > # patch 1: > # make jpgraph use the correct group for file permissions > > # this will be done at the reconfig stage > ># sed -i "s|^DEFINE(\"CACHE_FILE_GROUP\",\"wwwadmin\");|DEFINE(\"CACHE_FILE_GROUP\", \"${HTTPD_GROUP}\");|" src/jpgraph.php > # patch 2: > # make jpgraph use the correct directory for caching > > sed -i "s|/tmp/jpgraph_cache/|${JPGRAPH_CACHE_DIR}/|g;" src/jpgraph.php > > # patch 3: > # switch off the directory cache > > sed -i 's|^DEFINE("USE_CACHE",false);|if (!defined("USE_CACHE")) DEFINE("USE_CACHE", false);|' src/jpgraph.php > > # patch 4: > # don't read the READ_CACHE if we're not creating any images in the > # cache in the first place (doh) > > sed -i 's|DEFINE("READ_CACHE",true);|DEFINE("READ_CACHE", USE_CACHE);|' src/jpgraph.php > > # install php files > einfo "Building list of files to install" > php-lib_src_install src `cd src ; find . -type f -print` > > # install documentation > dodoc README src/Changelog > dohtml -r docs/* > > # setup the cache dir > # cachedir must be world-writable, because PHP/CLI doesn't run > # as the apache user! > > keepdir "${JPGRAPH_CACHE_DIR}" > fperms 700 "${JPGRAPH_CACHE_DIR}" > > webapp_hook_script ${FILESDIR}/reconfig > webapp_src_install >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 58560
: 36264 |
36265