Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 82797 Details for
Bug 107342
ebuild request for gsdjvu
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ebuild for gsdjvu
ghostscript-gnu-8.16-r1.ebuild (text/plain), 4.10 KB, created by
E. Scaglione
on 2006-03-21 10:59:55 UTC
(
hide
)
Description:
ebuild for gsdjvu
Filename:
MIME Type:
Creator:
E. Scaglione
Created:
2006-03-21 10:59:55 UTC
Size:
4.10 KB
patch
obsolete
># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-gnu/ghostscript-gnu-8.16-r1.ebuild,v 1.9 2006/03/12 02:29:31 yoswink Exp $ > >inherit eutils > >DESCRIPTION="GNU Ghostscript" >HOMEPAGE="http://www.gnu.org/software/ghostscript/" > >MY_PN="gnu-ghostscript" >MY_P=${MY_PN}-${PV} >CUPS_PV=1.1.20 >GSDJVU_PV=1.1 > >SRC_URI="ftp://ftp.gnu.org/gnu/ghostscript/${MY_P}.tar.gz > cjk? ( http://www.matsusaka-u.ac.jp/mirror/gs-cjk/adobe-cmaps-200204.tar.gz > http://www.matsusaka-u.ac.jp/mirror/gs-cjk/acro5-cmaps-2001.tar.gz ) > cups? ( mirror://gentoo/cups-${CUPS_PV}-source.tar.bz2 ) > djvu? ( mirror://gentoo/gsdjvu-${GSDJVU_PV}.tar.gz )" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~alpha amd64 ppc x86" >IUSE="X cups cjk gtk djvu" > >PROVIDE="virtual/ghostscript" > >DEPEND="virtual/libc > media-libs/tiff > >=media-libs/jpeg-6b > >=media-libs/libpng-1.2.5 > >=sys-libs/zlib-1.2.0 > X? ( || ( x11-libs/libXt virtual/x11 ) ) > djvu? (app-text/djvu) > cjk? ( media-fonts/arphicfonts > media-fonts/kochi-substitute > media-fonts/baekmuk-fonts ) > cups? ( >=net-print/cups-1.1.20 ) > gtk? ( =x11-libs/gtk+-1.2* ) > !virtual/ghostscript > media-fonts/gnu-gs-fonts-std" > >RDEPEND="X? ( || ( ( x11-libs/libXt > x11-libs/libXi ) > virtual/x11 ) ) > media-libs/tiff > >=media-libs/jpeg-6b > >=media-libs/libpng-1.2.5 > >=sys-libs/zlib-1.2.0 > djvu? (app-text/djvu) > cups? ( >=net-print/cups-1.1.20 ) > " > >S=${WORKDIR}/${MY_P} > >src_unpack() { > unpack ${MY_P}.tar.gz > > # cups support > if use cups; then > unpack cups-${CUPS_PV}-source.tar.bz2 > cp -r cups-${CUPS_PV}/pstoraster ${S} > cd ${S}/pstoraster > sed -e 's:@prefix@:/usr:' -e 's:@exec_prefix@:${prefix}:' -e 's:@bindir@:${exec_prefix}/bin:' -e 's:@GS@:gs:' pstopxl.in > pstopxl > sed -i -e 's:/usr/local:/usr:' pstoraster > sed -i -e "s:pstopcl6:pstopxl:" cups.mak > cd .. > epatch pstoraster/gs811-lib.patch > fi > > # djvu support > if use djvu; then > unpack gsdjvu-${GSDJVU_PV}.tar.gz > cp gsdjvu-${GSDJVU_PV}/gsdjvu ${S} > cp gsdjvu-${GSDJVU_PV}/gdevdjvu.c ${S}/src > cp gsdjvu-${GSDJVU_PV}/ps2utf8.ps ${S}/lib > cp ${S}/src/contrib.mak ${S}/src/contrib.mak.gsdjvu > grep -q djvusep ${S}/src/contrib.mak || \ > cat gsdjvu-${GSDJVU_PV}/gsdjvu.mak >> ${S}/src/contrib.mak > fi > > > > # enable cfax device > sed -i -e 's:DEVICE_DEVS7=$(DD)faxg3.dev $(DD)faxg32d.dev $(DD)faxg4.dev:DEVICE_DEVS7=$(DD)faxg3.dev $(DD)faxg32d.dev $(DD)faxg4.dev $(DD)cfax.dev:' ${S}/Makefile.in >} > >src_compile() { > myconf="--with-ijs" > > use X && myconf="${myconf} --with-x" \ > || myconf="${myconf} --without-x" > > # don't build gtk frontend if not in use > use gtk || sed -i -e 's:$(INSTALL_PROGRAM) $(GSSOX):#:' src/unix-dll.mak \ > -e 's:$(GSSOX)::' src/unix-dll.mak > > econf ${myconf} || die "econf failed" > > # build cups driver with cups > if use cups; then > echo 'include pstoraster/cups.mak' >> Makefile > sed -i -e 's:DEVICE_DEVS17=:DEVICE_DEVS17=$(DD)cups.dev:' Makefile > sed -i -e 's:EXTRALIBS=\(.*\):EXTRALIBS=\1 -lcups -lcupsimage:' Makefile > fi > > # build djvu driver with djvu > if use djvu; then > sed -i -e 's!$(DD)bbox.dev!& $(DD)djvumask.dev $(DD)djvusep.dev!g' Makefile > sed -i -e 's:(/\(Resource/[a-zA-Z/]*\)):(\1) findlibfile {pop} {pop &} > ifelse:' lib/gs_res.ps > fi > > # search path fix > sed -i -e 's:$(gsdir)/fonts:/usr/share/fonts/default/ghostscript/:' Makefile > > make || die "make failed" > make so || die "make so failed" > > # build ijs > cd ijs > libtoolize --copy --force > econf || die "econf failed" > make || die "make failed" > cd .. >} > >src_install() { > einstall D=/ install_prefix=${D} soinstall > > rm -fr ${D}/usr/share/ghostscript/${PV}/doc || die > dodoc doc/README > dohtml doc/*.html doc/*.htm > insinto /usr/share/emacs/site-lisp > doins doc/gsdoc.el || die > if use djvu ; then > dobin gsdjvu > fi > > if use cjk ; then > dodir /usr/share/ghostscript/${PV}/Resource > dodir /usr/share/ghostscript/${PV}/Resource/Font > dodir /usr/share/ghostscript/${PV}/Resource/CIDFont > cd ${D}/usr/share/ghostscript/${PV}/Resource > unpack adobe-cmaps-200204.tar.gz > unpack acro5-cmaps-2001.tar.gz > fi > > # install ijs > cd ${S}/ijs > dodir /usr/bin /usr/include /usr/lib > einstall D=/ install_prefix=${D} >}
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 107342
: 82797 |
87704
|
100162
|
100163