[arch-commits] Commit in ghostscript/repos/testing-x86_64 (PKGBUILD PKGBUILD)

Jan Steffens heftig at archlinux.org
Wed Dec 6 14:17:45 UTC 2017


    Date: Wednesday, December 6, 2017 @ 14:17:41
  Author: heftig
Revision: 311680

archrelease: copy trunk to testing-x86_64

Added:
  ghostscript/repos/testing-x86_64/PKGBUILD
    (from rev 311679, ghostscript/trunk/PKGBUILD)
Deleted:
  ghostscript/repos/testing-x86_64/PKGBUILD

----------+
 PKGBUILD |  240 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 119 insertions(+), 121 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-06 14:14:45 UTC (rev 311679)
+++ PKGBUILD	2017-12-06 14:17:41 UTC (rev 311680)
@@ -1,121 +0,0 @@
-# $Id$
-# Maintainer: AndyRTR <andyrtr at archlinux.org>
-
-pkgbase=ghostscript
-pkgname=(ghostscript ghostxps ghostpcl)
-pkgver=9.22
-pkgrel=2
-pkgdesc="An interpreter for the PostScript language"
-url="https://www.ghostscript.com/"
-arch=('x86_64')
-license=('AGPL' 'custom')
-depends=('libxt' 'libcups' 'fontconfig' 'zlib' 'libpng' 'libjpeg' 'jbig2dec'
-         'libtiff' 'lcms2' 'dbus' 'libpaper' 'ijs' 'gsfonts' 'poppler-data'
-         'openjpeg2')
-makedepends=('gtk3' 'gnutls' 'glu' 'freeglut')
-# https://github.com/ArtifexSoftware/ghostpdl-downloads/releases
-source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${pkgver/./}/ghostpdl-${pkgver}.tar.xz)
-sha256sums=('f4e46bc1f8285a61ab036007705fc2b532cc40f4448fe6bc156bd130733f306b')
-
-prepare() {
-  cd ghostpdl-${pkgver}
-
-  # force it to use system-libs
-  rm -r cups/libs expat freetype ijs jbig2dec jpeg lcms2 libpng openjpeg tiff zlib
-
-  autoreconf -fvi
-}
-
-build() {
-  cd ghostpdl-${pkgver}
-
-  local fontpath p
-  for p in \
-    /usr/share/fonts/gsfonts \
-    /usr/share/fonts \
-    /usr/share/poppler/cMap/*
-  do
-    fontpath="${fontpath}${fontpath:+:}${p}"
-  done
-
-  ./configure --prefix=/usr \
-              --enable-dynamic \
-              --with-ijs \
-              --with-jbig2dec \
-              --with-x \
-              --with-drivers=ALL \
-              --with-fontpath="$fontpath" \
-              --enable-fontconfig \
-              --enable-freetype \
-              --enable-openjpeg \
-              --without-luratech \
-              --with-system-libtiff \
-              --with-libpaper \
-              --disable-compile-inits #--help # needed for linking with system-zlib
-
-  make so-only
-}
-
-package_ghostscript() {
-  optdepends=('texlive-core:      needed for dvipdf'
-              'gtk3:              needed for gsx')
-
-  cd ghostpdl-${pkgver}
-
-  make DESTDIR="${pkgdir}" \
-       CUPSSERVERROOT="${pkgdir}$(cups-config --serverroot)" \
-       CUPSSERVERBIN="${pkgdir}$(cups-config --serverbin)" \
-       soinstall
-  ln -s gsc "${pkgdir}"/usr/bin/gs
-
-  # install missing doc files # http://bugs.archlinux.org/task/18023
-  install -Dt "${pkgdir}"/usr/share/ghostscript/${pkgver}/doc \
-    -m644 doc/{VectorDevices.htm,gs-vms.hlp,gsdoc.el,pscet_status.txt}
-
-  # remove unwanted localized manpages
-  rm -r "${pkgdir}"/usr/share/man/de
-
-  # remove fonts we already ship in gsfonts
-  rm -r "${pkgdir}"/usr/share/ghostscript/${pkgver}/Resource/Font
-
-  # remove cmaps we already ship in poppler-data
-  local f
-  for f in "${pkgdir}"/usr/share/ghostscript/${pkgver}/Resource/CMap/*; do
-    [[ $f == */Identity* ]] && continue
-    rm $f
-  done
-
-  install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE
-}
-
-package_ghostxps() {
-  pkgdesc="${pkgdesc/PostScript/XPS document}"
-  depends=("ghostscript=${pkgver}-${pkgrel}")
-
-  cd ghostpdl-${pkgver}
-
-  install -Dt "${pkgdir}"/usr/bin sobin/gxpsc
-  ln -s gxpsc "${pkgdir}"/usr/bin/gxps
-
-  install -Dt "${pkgdir}"/usr/lib sobin/libgxps.so.${pkgver}
-  ln -s libgxps.so.${pkgver} "${pkgdir}"/usr/lib/libgxps.so.${pkgver%.*}
-  ln -s libgxps.so.${pkgver} "${pkgdir}"/usr/lib/libgxps.so
-
-  install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE
-}
-
-package_ghostpcl() {
-  pkgdesc="${pkgdesc/PostScript/PCL 6}"
-  depends=("ghostscript=${pkgver}-${pkgrel}")
-
-  cd ghostpdl-${pkgver}
-
-  install -Dt "${pkgdir}"/usr/bin sobin/gpcl6c
-  ln -sf gpcl6c "${pkgdir}"/usr/bin/gpcl6
-
-  install -Dt "${pkgdir}"/usr/lib sobin/libgpcl6.so.${pkgver}
-  ln -s libgpcl6.so.${pkgver} "${pkgdir}"/usr/lib/libgpcl6.so.${pkgver%.*}
-  ln -s libgpcl6.so.${pkgver} "${pkgdir}"/usr/lib/libgpcl6.so
-
-  install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE
-}

Copied: ghostscript/repos/testing-x86_64/PKGBUILD (from rev 311679, ghostscript/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-12-06 14:17:41 UTC (rev 311680)
@@ -0,0 +1,119 @@
+# $Id$
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+
+pkgbase=ghostscript
+pkgname=(ghostscript ghostxps ghostpcl)
+pkgver=9.22
+pkgrel=3
+pkgdesc="An interpreter for the PostScript language"
+url="https://www.ghostscript.com/"
+arch=('x86_64')
+license=('AGPL' 'custom')
+depends=('libxt' 'libcups' 'fontconfig' 'zlib' 'libpng' 'libjpeg' 'jbig2dec'
+         'libtiff' 'lcms2' 'dbus' 'libpaper' 'ijs' 'gsfonts' 'poppler-data'
+         'openjpeg2')
+makedepends=('gtk3' 'gnutls' 'glu' 'freeglut')
+# https://github.com/ArtifexSoftware/ghostpdl-downloads/releases
+source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${pkgver/./}/ghostpdl-${pkgver}.tar.xz)
+sha256sums=('f4e46bc1f8285a61ab036007705fc2b532cc40f4448fe6bc156bd130733f306b')
+
+prepare() {
+  cd ghostpdl-${pkgver}
+
+  # force it to use system-libs
+  rm -r cups/libs expat freetype ijs jbig2dec jpeg lcms2 libpng openjpeg tiff zlib
+
+  autoreconf -fvi
+}
+
+build() {
+  cd ghostpdl-${pkgver}
+
+  local fontpath p
+  for p in \
+    /usr/share/fonts/gsfonts \
+    /usr/share/fonts \
+    /usr/share/poppler/cMap/*
+  do
+    fontpath="${fontpath}${fontpath:+:}${p}"
+  done
+
+  ./configure --prefix=/usr \
+              --enable-dynamic \
+              --with-ijs \
+              --with-jbig2dec \
+              --with-x \
+              --with-drivers=ALL \
+              --with-fontpath="$fontpath" \
+              --enable-fontconfig \
+              --enable-freetype \
+              --enable-openjpeg \
+              --without-luratech \
+              --with-system-libtiff \
+              --with-libpaper \
+              --disable-compile-inits #--help # needed for linking with system-zlib
+
+  make so-only
+}
+
+package_ghostscript() {
+  optdepends=('texlive-core:      needed for dvipdf'
+              'gtk3:              needed for gsx')
+
+  cd ghostpdl-${pkgver}
+
+  make DESTDIR="${pkgdir}" \
+       CUPSSERVERROOT="${pkgdir}$(cups-config --serverroot)" \
+       CUPSSERVERBIN="${pkgdir}$(cups-config --serverbin)" \
+       soinstall
+  ln -s gsc "${pkgdir}"/usr/bin/gs
+
+  # install missing doc files # http://bugs.archlinux.org/task/18023
+  install -Dt "${pkgdir}"/usr/share/ghostscript/${pkgver}/doc \
+    -m644 doc/{VectorDevices.htm,gs-vms.hlp,gsdoc.el,pscet_status.txt}
+
+  # remove unwanted localized manpages
+  rm -r "${pkgdir}"/usr/share/man/de
+
+  # remove fonts we already ship in gsfonts
+  rm -r "${pkgdir}"/usr/share/ghostscript/${pkgver}/Resource/Font
+
+  # remove cmaps we already ship in poppler-data
+  local f
+  for f in "${pkgdir}"/usr/share/ghostscript/${pkgver}/Resource/CMap/*; do
+    [[ $f == */Identity* ]] && continue
+    rm $f
+  done
+
+  install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE
+}
+
+package_ghostxps() {
+  pkgdesc="${pkgdesc/PostScript/XPS document}"
+  depends=("ghostscript=${pkgver}-${pkgrel}")
+
+  cd ghostpdl-${pkgver}
+
+  install -Dt "${pkgdir}"/usr/bin sobin/gxpsc
+  ln -s gxpsc "${pkgdir}"/usr/bin/gxps
+
+  install -Dt "${pkgdir}"/usr/lib sobin/libgxps.so.${pkgver}
+  ln -s libgxps.so.${pkgver} "${pkgdir}"/usr/lib/libgxps.so.${pkgver%.*}
+
+  install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE
+}
+
+package_ghostpcl() {
+  pkgdesc="${pkgdesc/PostScript/PCL 6}"
+  depends=("ghostscript=${pkgver}-${pkgrel}")
+
+  cd ghostpdl-${pkgver}
+
+  install -Dt "${pkgdir}"/usr/bin sobin/gpcl6c
+  ln -sf gpcl6c "${pkgdir}"/usr/bin/gpcl6
+
+  install -Dt "${pkgdir}"/usr/lib sobin/libgpcl6.so.${pkgver}
+  ln -s libgpcl6.so.${pkgver} "${pkgdir}"/usr/lib/libgpcl6.so.${pkgver%.*}
+
+  install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE
+}



More information about the arch-commits mailing list