From dde213c0bad69af070eba316a73fc0dc2f40301b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Tue, 26 Mar 2019 08:07:11 +0000 Subject: vars/build.vars:native_packages_etc: adds ghostscript v9.26 (via Redfoxmoon.) patches/ghostscript-9.26.local.patch: via Redfoxmoon. vars/ghostscript.vars: via Redfoxmoon. --- vars/build.vars | 8 +++++++- vars/ghostscript.vars | 12 ++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 vars/ghostscript.vars (limited to 'vars') diff --git a/vars/build.vars b/vars/build.vars index cf4e807e..b9917efc 100644 --- a/vars/build.vars +++ b/vars/build.vars @@ -1237,7 +1237,7 @@ bdwgc bison chicken cparser diffutils flex lunix m4 make mandoc nasm patch patch # # Packages list native_packages_etc NATIVE_PACKAGES_ETC_PACKAGES=" -ca_certificates cron dante debianutils emacs fetchmail ffmpeg gnuchess hexcurse htop icecast isync infounzip +ca_certificates cron dante debianutils emacs fetchmail ffmpeg gnuchess ghostscript hexcurse htop icecast isync infounzip infozip jamvm classpath john less mlogin mc mintty nano ncdu p7zip procps_ng qemu qpdf rdesktop rw rxvt_unicode st tmux tzdb vim xcowsay xeyes xorriso xterm xwd"; : ${PKG_CA_CERTIFICATES_URLS_GIT:="ca-certificates=https://github.com/Redfoxmoon3/ca-certificates@master"}; @@ -1277,6 +1277,12 @@ tmux tzdb vim xcowsay xeyes xorriso xterm xwd"; : ${PKG_GNUCHESS_SHA256SUM:=9a99e963355706cab32099d140b698eda9de164ebce40a5420b1b9772dd04802}; : ${PKG_GNUCHESS_VERSION:=6.2.5}; : ${PKG_GNUCHESS_URL:=http://ftp.gnu.org/gnu/chess/gnuchess-${PKG_GNUCHESS_VERSION}.tar.gz}; +: ${PKG_GHOSTSCRIPT_SHA256SUM:=831fc019bd477f7cc2d481dc5395ebfa4a593a95eb2fe1eb231a97e450d7540d}; +: ${PKG_GHOSTSCRIPT_VERSION:=9.26}; +: ${PKG_GHOSTSCRIPT_URL:=https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs926/ghostscript-${PKG_GHOSTSCRIPT_VERSION}.tar.gz}; +: ${PKG_GHOSTSCRIPT_CONFIGURE_ARGS_EXTRA:="CCAUX=gcc --without-x --disable-compile-inits --enable-dynamic --with-system-libtiff --with-memory-alignment=8"}; +: ${PKG_GHOSTSCRIPT_MAKEFLAGS_BUILD:=-j1}; +: ${PKG_GHOSTSCRIPT_IN_TREE:=1}; : ${PKG_HEXCURSE_URLS_GIT:="hexcurse=https://github.com/LonnyGomes/hexcurse@master"}; : ${PKG_HEXCURSE_CFLAGS_CONFIGURE_EXTRA:=-I${PREFIX_NATIVE}/include/ncursesw}; : ${PKG_HTOP_SHA256SUM:=d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57}; diff --git a/vars/ghostscript.vars b/vars/ghostscript.vars new file mode 100644 index 00000000..9b429c90 --- /dev/null +++ b/vars/ghostscript.vars @@ -0,0 +1,12 @@ +# +# set -o errexit -o noglob are assumed. +# + +pkg_ghostscript_configure_patch_pre() { + ex_rtl_fileop rm "${PKG_BASE_DIR}/ghostscript-9.26/zlib"; + ex_rtl_fileop rm "${PKG_BASE_DIR}/ghostscript-9.26/libpng"; + ex_rtl_fileop rm "${PKG_PREFIX}/freetype"; + ex_rtl_fileop rm "${PKG_PREFIX}/lcms2mt"; +}; + +# vim:filetype=sh -- cgit v1.2.3