Commit 085c6add authored by José María Fernández's avatar José María Fernández
Browse files

GhostPDL 9.21 (with some luck!)

parent 3441a65e
AUX fontsdir-9.14.patch 540 SHA256 5bbe2996840cf1764ee5df58834ada47375885943a230e0c3099e97708947356 SHA512 a4481b6ea27c1975ddd2c6255b97116172f2fbfdd31772b953b5425c3b0717521208bd65ffcba7e78ef1afc55ab6fd68edf25199aa599b8a8c0f27ff7e08e24e WHIRLPOOL c4113e210ee378aa4852ab259a649840c3c8dda2f9902512d66d57008ead95db65f0556c31cf9b134f04ffb59f38d022a947d2885159c4196b14a05e7c3e80fb
DIST ghostpdl-9.14.tar.gz 43143112 SHA256 3f517d40185ec5a77b8a63d738b5dc556f0b428015d922c0cb6525286f115d4b SHA512 4de4006926ab7afb3cab914367e5e547cfb762737dd4736e94db816723aab95a7cd8c49fe45ef6398eed5e5dc7cb168e44703c339f6813c7bb554ea0a9582787 WHIRLPOOL ca17918fd4c5d29b9475219ab23504ad75cac2d358671296a56888b7075eb1463e8310cc25c7c87c29a529f3c73edb136d187d543d2d4fc6cc47bac690bfcd5f
EBUILD ghostpdl-9.14.ebuild 1391 SHA256 c62810cb654b14a129d7b326a62631c273d0de958033c6da3934d4cc53e0f67f SHA512 5584dbbb829fc71d47081198890cade924604ae622cdacbb2673492ed82d1c8d9c84f369c68e1e31afc7e9d5b90eaf3159f7904aa1e8981ef74c2e3c0c90e5c8 WHIRLPOOL 0b7ed2859b91c384a4da24122bfe2c932c5b25c26fddddc806d2d9742297e6b73196cf17f41d15902aff5651b157dfcec035f1fd249386aeb3cb901b58907654
AUX fontsdir-9.21.patch 591 SHA256 d862bef91271100b39f02f71bd59f31e858bebb58fcc7c4372afc8c4e93377cd SHA512 19b684889b24ba3b1b314630deabce798d5001973481add5d2250e6be336ab8624adee2dc49cdbe59a120f4948b3af331cd4c4addda1c7cb9c7e06619c120a8f WHIRLPOOL 3e8b3f2a37f87d1d4b83da5266b1f1c8a0033ba08457377208e8e6fab0a36cfde7773acc26b417ec34f2ba4fef6323747acd603f6c22e86cf251989910749e3a
AUX pcltops 72 SHA256 37cf4aa806642f02fba58d57c458406e0fbec20d9f0ce35a6d0baab733cdd3c8 SHA512 f6d9c3f84540d857c17389b28f69a7bfb363185474186918dd6dc111ad7b146b99ee8a4977e968c89f09c56d9d23ecae2c826492dee6640f917541a6bcac42a4 WHIRLPOOL 3493fc628c8569368c91188692d0f79c49f194a2e8d5e2185ee4b52388358f59a75feed160976030f63247b9a8745411f208468eb6834a4615dd5debd2470060
DIST ghostpdl-9.21.tar.xz 34416992 SHA256 2dd77a7ff489f7f981406a2031d0e7beb38d466563402794a856071d9a99e339 SHA512 d99cc1a385ffec7cad58ce1b53335322972b9e8c0809dcbe6cf529d1d6dc814d5bc996d897f62f7039f15389f4ed3a295c0221102480319fbfb2891a242cd229 WHIRLPOOL c5ff23081ccd69147f0401827f790a6e07417afb8007e7cb9f9d648c693ebcec8cc3cc90b14b692dbb2cd4335d40c94f4391159d3dd5a746e40bf89b2ebd030b
EBUILD ghostpdl-9.21.ebuild 1549 SHA256 d5bac94730010f1d0785d4131d0bf12280f50fe601d022a0bebe305975823d01 SHA512 66cb7efb75ad629a2ab2253af8e3cb3281f9350b52d5cfdf5e057e52ef6dbfabf3790d38d62520b29a02353337e6343564946cc26b90837b0703272cf8cd8549 WHIRLPOOL 44994be992a75dbd873999621b384b51738581ded01207dac454538887fa794e3057d003fb6feee469131b3ed97cb53a85a71ef460b3bfdaaaadc33ecd94977f
--- pl/pjparse.c.old 2014-04-17 11:53:22.473562905 +0800
+++ pl/pjparse.c 2014-04-17 11:56:30.710036555 +0800
@@ -120,7 +120,8 @@
source table. */
static const pjl_fontsource_t pjl_fontsource_table[] = {
{"I",
- "%rom%ttfonts/;fonts/;urwfonts/;/windows/fonts/;/win95/fonts/;/winnt/fonts/"},
+// "%rom%ttfonts/;fonts/;urwfonts/;/windows/fonts/;/win95/fonts/;/winnt/fonts/"},
+ "%rom%ttfonts/;fonts/;urwfonts/;/usr/share/fonts/pclfonts/"},
{"C", "CART0/", ""},
{"C1", "CART1/", ""},
{"C2", "CART2/", ""},
--- pcl/pl/pjparse.c.old 2017-07-21 21:00:16.554676701 +0200
+++ pcl/pl/pjparse.c 2017-07-21 21:01:37.505672224 +0200
@@ -124,7 +124,8 @@
source table. */
static pjl_fontsource_t pjl_fontsource_table[] = {
{"I",
- "%rom%ttfonts/;urwfonts/;pcl/urwfonts/;ghostpdl/pcl/urwfonts/;/windows/fonts/;", ""},
+// "%rom%ttfonts/;urwfonts/;pcl/urwfonts/;ghostpdl/pcl/urwfonts/;/windows/fonts/;", ""},
+ "%rom%ttfonts/;urwfonts/;pcl/urwfonts/;ghostpdl/pcl/urwfonts/;/usr/share/fonts/pclfonts/;", ""},
{"C", "CART0/", ""},
{"C1", "CART1/", ""},
{"C2", "CART2/", ""},
#!/bin/bash
set -x
gpcl6 -sDEVICE=pswrite -sOutputFile=- -dNOPAUSE "$6"
......@@ -2,38 +2,45 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/ghostpcl.ebuild Exp $
EAPI=6
inherit eutils
DESCRIPTION="AFPL GhostPCL"
HOMEPAGE="http://www.artifex.com/downloads/"
SRC_URI="http://downloads.ghostscript.com/public/${P}.tar.gz"
MY_PV=gs921
SRC_URI="https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/${MY_PV}/${P}.tar.xz"
#SRC_URI="http://downloads.ghostscript.com/public/${P}.tar.gz"
LICENSE="Aladdin"
SLOT="0"
KEYWORDS="x86 amd64"
IUSE="cups X xps svg"
IUSE="cups X gtk2"
RDEPEND="!X? ( x11-libs/libX11 x11-libs/libXt x11-libs/libXext )"
S=${WORKDIR}/${P}
src_compile() {
src_prepare() {
cd ${S}
einfo "Patching default fonts dir to /usr/share/fonts/pclfonts"
epatch ${FILESDIR}/fontsdir-${PV}.patch
econf || die
emake all || die
default
}
src_configure() {
econf \
$(use_enable cups) \
$(use_with cups pdftoraster) \
$(use_enable gtk2 gtk)
}
src_install() {
exeinto "/usr/bin"
doexe ${S}/main/obj/pcl6 ${S}/tools/pcl2pdf ${S}/tools/pcl2pdfwr
use svg && doexe ${S}/svg/obj/gsvg
use xps && doexe ${S}/xps/obj/gxps
doexe ${S}/bin/gpcl6 ${S}/pcl/tools/pcl2pdf ${S}/pcl/tools/pcl2pdfwr
doexe ${S}/bin/gxps
insinto "/usr/share/fonts/pclfonts"
doins ${S}/urwfonts/*.ttf
dodoc ${S}/doc/ghostpdl.* #${S}/NEWS ${S}/README
doins ${S}/pcl/urwfonts/*.ttf
dodoc ${S}/doc/pclxps/ghostpdl.* #${S}/NEWS ${S}/README
if use cups ; then
exeinto "/usr/libexec/cups/filter"
doexe ${FILESDIR}/pcltops
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment