[arch-commits] Commit in ghostscript/repos/extra-x86_64 (4 files)

2018-01-09 Thread Jan Steffens via arch-commits
Date: Tuesday, January 9, 2018 @ 18:32:26
  Author: heftig
Revision: 314301

archrelease: copy trunk to extra-x86_64

Added:
  ghostscript/repos/extra-x86_64/PKGBUILD
(from rev 314300, ghostscript/trunk/PKGBUILD)
  ghostscript/repos/extra-x86_64/ghostscript-9.22-restore-flushpage.patch
(from rev 314300, 
ghostscript/trunk/ghostscript-9.22-restore-flushpage.patch)
Deleted:
  ghostscript/repos/extra-x86_64/PKGBUILD
  ghostscript/repos/extra-x86_64/ghostscript-9.22-restore-flushpage.patch

--+
 PKGBUILD |  222 +
 ghostscript-9.22-restore-flushpage.patch |   56 +++
 2 files changed, 133 insertions(+), 145 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-01-09 18:29:37 UTC (rev 314300)
+++ PKGBUILD2018-01-09 18:32:26 UTC (rev 314301)
@@ -1,117 +0,0 @@
-# $Id$
-# Maintainer: AndyRTR 
-
-pkgbase=ghostscript
-pkgname=(ghostscript ghostxps ghostpcl)
-pkgver=9.22
-pkgrel=6
-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' '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
-ghostscript-9.22-restore-flushpage.patch)
-sha256sums=('f4e46bc1f8285a61ab036007705fc2b532cc40f4448fe6bc156bd130733f306b'
-'22156c892ea27572386f5211f51a10a17079a9974ded9ec9af3f37a93a1bb8ca')
-
-prepare() {
-  cd ghostpdl-${pkgver}
-
-  # 
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=19ebb5f1f497b6f2d50fe13d17d3e627dfb6c868
-  patch -Np1 --no-backup-if-mismatch -i 
../ghostscript-9.22-restore-flushpage.patch
-
-  # force it to use system-libs
-  rm -r cups/libs expat ijs jbig2dec jpeg lcms2 libpng openjpeg tiff zlib
-  # using tree freetype because of https://bugs.archlinux.org/task/56849
-
-  autoreconf -fvi
-}
-
-build() {
-  cd ghostpdl-${pkgver}
-
-  local fontpath p
-  for p in /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 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
-}

Copied: ghostscript/repos/extra-x86_64/PKGBUILD (from rev 314300, 
ghostscript/trunk/PKGBUILD)
===
--- PKGBUILD

[arch-commits] Commit in ghostscript/repos/extra-x86_64 (4 files)

2017-12-26 Thread Jan Steffens via arch-commits
Date: Wednesday, December 27, 2017 @ 06:08:22
  Author: heftig
Revision: 313672

archrelease: copy trunk to extra-x86_64

Added:
  ghostscript/repos/extra-x86_64/PKGBUILD
(from rev 313671, ghostscript/trunk/PKGBUILD)
  ghostscript/repos/extra-x86_64/ghostscript-9.22-restore-flushpage.patch
(from rev 313671, 
ghostscript/trunk/ghostscript-9.22-restore-flushpage.patch)
Deleted:
  ghostscript/repos/extra-x86_64/PKGBUILD
  ghostscript/repos/extra-x86_64/ghostscript-9.22-restore-flushpage.patch

--+
 PKGBUILD |  233 ++---
 ghostscript-9.22-restore-flushpage.patch |   56 +++---
 2 files changed, 145 insertions(+), 144 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2017-12-27 06:06:02 UTC (rev 313671)
+++ PKGBUILD2017-12-27 06:08:22 UTC (rev 313672)
@@ -1,116 +0,0 @@
-# $Id$
-# Maintainer: AndyRTR 
-
-pkgbase=ghostscript
-pkgname=(ghostscript ghostxps ghostpcl)
-pkgver=9.22
-pkgrel=5
-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' '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
-ghostscript-9.22-restore-flushpage.patch)
-sha256sums=('f4e46bc1f8285a61ab036007705fc2b532cc40f4448fe6bc156bd130733f306b'
-'22156c892ea27572386f5211f51a10a17079a9974ded9ec9af3f37a93a1bb8ca')
-
-prepare() {
-  cd ghostpdl-${pkgver}
-
-  # 
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=19ebb5f1f497b6f2d50fe13d17d3e627dfb6c868
-  patch -Np1 --no-backup-if-mismatch -i 
../ghostscript-9.22-restore-flushpage.patch
-
-  # 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/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 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
-}

Copied: ghostscript/repos/extra-x86_64/PKGBUILD (from rev 313671, 
ghostscript/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2017-12-27 

[arch-commits] Commit in ghostscript/repos/extra-x86_64 (4 files)

2017-12-19 Thread Jan Steffens via arch-commits
Date: Wednesday, December 20, 2017 @ 03:28:01
  Author: heftig
Revision: 313378

archrelease: copy trunk to extra-x86_64

Added:
  ghostscript/repos/extra-x86_64/PKGBUILD
(from rev 313377, ghostscript/trunk/PKGBUILD)
  ghostscript/repos/extra-x86_64/ghostscript-9.22-fix-Fontmap.GS.patch
(from rev 313377, ghostscript/trunk/ghostscript-9.22-fix-Fontmap.GS.patch)
  ghostscript/repos/extra-x86_64/ghostscript-9.22-restore-flushpage.patch
(from rev 313377, 
ghostscript/trunk/ghostscript-9.22-restore-flushpage.patch)
Deleted:
  ghostscript/repos/extra-x86_64/PKGBUILD

--+
 PKGBUILD |  248 +++--
 ghostscript-9.22-fix-Fontmap.GS.patch|   63 +++
 ghostscript-9.22-restore-flushpage.patch |   28 +++
 3 files changed, 220 insertions(+), 119 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2017-12-20 03:27:25 UTC (rev 313377)
+++ PKGBUILD2017-12-20 03:28:01 UTC (rev 313378)
@@ -1,119 +0,0 @@
-# $Id$
-# Maintainer: AndyRTR 
-
-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
-}

Copied: ghostscript/repos/extra-x86_64/PKGBUILD (from rev 313377, 
ghostscript/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD