Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 38135 Details for
Bug 61589
ploticus_lib-2.21.ebuild (new package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ploticus_lib-2.21.ebuild (new package)
ploticus_lib-2.21.ebuild (text/plain), 3.80 KB, created by
Tim Cera
on 2004-08-24 19:05:49 UTC
(
hide
)
Description:
ploticus_lib-2.21.ebuild (new package)
Filename:
MIME Type:
Creator:
Tim Cera
Created:
2004-08-24 19:05:49 UTC
Size:
3.80 KB
patch
obsolete
># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > > >inherit eutils >MY_P=${P/ploticus_lib-2.21/pl221src} > >S=${WORKDIR}/${MY_P} >DESCRIPTION="A library for producing graphs and charts" >HOMEPAGE="http://ploticus.sourceforge.net" >SRC_URI="http://ploticus.sourceforge.net/download/${MY_P}.tar.gz" >LICENSE="GPL-2" >SLOT=0 >KEYWORDS="~x86" >IUSE="gd gd-external flash gif no-locale no-cpulimit svg svgz truetype X" >DEPEND="media-libs/libpng > gd-external? ( >=media-libs/libgd-1.84 media-libs/jpeg ) > flash? ( =media-libs/ming-0.2a ) > truetype? ( =media-libs/freetype-2* ) > X? ( virtual/x11 )" > >src_unpack() { > unpack ${A} > # Fixes a problem with NOX11. > epatch ${FILESDIR}/pl221-fixes.patch > # Changes the install directory and comments all flash and gd-related > # options. (These options will be selectively uncommented later.) > epatch ${FILESDIR}/pl221-makefile_api.patch >} > >src_compile() { > cd src > # ploticus may be compiled using the external libgd, a libgd provided with > # the package, or no gd support at all. > if use gd-external; then > # PNG and JPEG are supported by default. > GD18LIBS="-lgd -lpng -lz -ljpeg" > # Note that truetype works only with the external gd lib. > if use truetype; then > GD18LIBS="${GD18LIBS} -lfreetype" > sed -ie 's/# GDFREETYPE = -DGDFREETYPE$/GDFREETYPE = -DGDFREETYPE/' Makefile_api > else > sed -ie 's/# GDFREETYPE = $/GDFREETYPE =/' Makefile_api > fi > # Use the external libgd. I imagine that this is 1.8 or higher. > sed -ie 's/# GDLEVEL = -DGD18/GDLEVEL = -DGD18/' Makefile_api > elif use gd; then > # Determine graphics formats (gif and png) to support. > if use gif; then > # Use the internal libgd (png and gif). > # Note that gif works only with the internal gd. > sed -ie 's/# GDOBJ = gd13.o gdfontg.o gdfontl.o gdfontmb.o gdfonts.o gdfontt.o/GDOBJ = gd13.o gdfontg.o gdfontl.o gdfontmb.o gdfonts.o gdfontt.o/' Makefile_api > sed -ie 's,# GDINC = -I./gd13,GDINC = -I./gd13,' Makefile_api > else > # Use the internal libgd (png only). > sed -ie 's/# GDOBJ = gd16.o gd_io.o gd_io_dp.o gd_io_file.o gd_png.o gdfontg.o gdfontl.o gdfontmb.o gdfonts.o gdfontt.o/GDOBJ = gd16.o gd_io.o gd_io_dp.o gd_io_file.o gd_png.o gdfontg.o gdfontl.o gdfontmb.o gdfonts.o gdfontt.o/' Makefile_api > sed -ie 's,# GDINC = -I./gd16,GDINC = -I./gd16,' Makefile_api > fi > else > # No support for libgd at all. > # Note that gif and truetype do not work without gd. > sed -ie 's/# GDOBJ =/GDOBJ =/' Makefile_api > fi > > # Support for non-roman alphabets and collation. (Enabled by default.) > if ! use no-locale; then > sed -ie 's/# LOCALEOBJ = localef.o/LOCALEOBJ = localef.o/' Makefile_api > sed -ie 's/# LOCALE_FLAG = -DLOCALE/LOCALE_FLAG = -DLOCALE/' Makefile_api > fi > > # Support for compressed or uncompressed svg. svgz implies svg. If the > # external gd library is used, the svgz format will always be available if > # ploticus was compiled with support for svg (even if the svgz flag was not > # specified and even if the -svgz flag was used). > if ! use svgz; then > sed -ie 's/# ZFLAG =/ZFLAG =/' Makefile_api > fi > > if ! use svg; then > sed -ie 's/# NOSWFFLAG =/NOSWFFLAG = -DNOSWF/' Makefile_api > fi > > # Support for X11 output. > if ! use X; then > sed -ie 's/# NOXFLAG = -DNOX11/NOXFLAG = -DNOX11/' Makefile_api > sed -ie 's/# XLIBS =/XLIBS =/' Makefile_api > sed -ie 's/# XOBJ =/XOBJ =/' Makefile_api > fi > > # Support for Flash output. > if use flash; then > sed -ie 's/# MING = -lming/MING = -lming/' Makefile_api > else > sed -ie 's/# NOSWFFLAG = -DNOSWF/NOSWFFLAG = -DNOSWF/' Makefile_api > fi > > # Support for limiting CPU utilization. (Enabled by default.) > if use no-cpulimit; then > sed -ie 's/# NORLIMFLAG = -DNORLIMIT/NORLIMFLAG = -DNORLIMIT/' Makefile_api > fi > make -f Makefile_api DESTDIR=${D} || die >} > >src_install() { > cd ${S}/src > doins /usr/lib > dolib libploticus.* > >} > >
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 61589
: 38135 |
38136
|
38137
|
38139