Date: Wednesday, July 27, 2016 @ 19:34:26
  Author: andyrtr
Revision: 272521

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  gutenprint/repos/testing-i686/
  gutenprint/repos/testing-i686/PKGBUILD
    (from rev 272520, gutenprint/trunk/PKGBUILD)
  gutenprint/repos/testing-i686/gutenprint.install
    (from rev 272520, gutenprint/trunk/gutenprint.install)
  gutenprint/repos/testing-x86_64/
  gutenprint/repos/testing-x86_64/PKGBUILD
    (from rev 272520, gutenprint/trunk/PKGBUILD)
  gutenprint/repos/testing-x86_64/gutenprint.install
    (from rev 272520, gutenprint/trunk/gutenprint.install)

-----------------------------------+
 testing-i686/PKGBUILD             |   91 ++++++++++++++++++++++++++++++++++++
 testing-i686/gutenprint.install   |    9 +++
 testing-x86_64/PKGBUILD           |   91 ++++++++++++++++++++++++++++++++++++
 testing-x86_64/gutenprint.install |    9 +++
 4 files changed, 200 insertions(+)

Copied: gutenprint/repos/testing-i686/PKGBUILD (from rev 272520, 
gutenprint/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD                               (rev 0)
+++ testing-i686/PKGBUILD       2016-07-27 19:34:26 UTC (rev 272521)
@@ -0,0 +1,91 @@
+# $Id$
+# Maintainer: Andreas Radke <andy...@archlinux.org>
+
+pkgbase=gutenprint
+pkgname=('gutenprint' 'foomatic-db-gutenprint' 'foomatic-db-gutenprint-ppds')
+pkgver=5.2.11
+pkgrel=4
+pkgdesc="Top quality printer drivers for POSIX systems"
+arch=('i686' 'x86_64')
+license=('GPL')
+makedepends=('gimp' 'gtk2' 'cups' 'foomatic-db-engine' 'ijs' 'ghostscript'
+            # for the docs
+            'dialog' 'doxygen' 'docbook-utils' 'texi2html' 'texlive-bin')
+source=(http://downloads.sourceforge.net/gimp-print/$pkgname-$pkgver.tar.bz2)
+url="http://gimp-print.sourceforge.net/";
+options=('!emptydirs')
+sha1sums=('2a00c84ebb382c701d95e18b7decf1268bb2b9d2')
+
+prepare(){
+  cd ${pkgbase}-${pkgver}
+  # sbindir is not properly taken over there
+  sed -i "s:cups_sbindir=\"\/usr\/sbin\":cups_sbindir=\"\/usr\/bin\":g" 
m4/stp_cups.m4
+  sed -i  
"s:cups_sbindir=\"\${cups_prefix}\/sbin\":cups_sbindir=\"\${cups_prefix}\/bin\":"
 m4/stp_cups.m4
+  sed -i "s:m4local:m4extra:" Makefile.am
+  autoreconf -vfi
+}
+
+build() {
+  cd ${pkgbase}-${pkgver}
+  ./configure --prefix=/usr \
+    --sbindir=/usr/bin \
+    --disable-rpath \
+    --enable-samples \
+       --disable-static \
+       --disable-static-genppd \
+       --enable-cups-ppds \
+       --enable-simplified-cups-ppds=only \
+       --enable-translated-cups-ppds \
+       --enable-globalized-cups-ppds #--help
+
+  # globalized ppds -> put all translations into one ppd file
+  # enable translated cups ppds grows size 9,5MB -> 156MB
+  # simplified cups ppds (yes, no, only) - only offer basic paper sizes, not 
all options 
+  # 4,3MB (only), 17MB (both) -> translated 41MB simpl., 165MB, 231MB both
+       
+  make
+}
+
+package_gutenprint() {
+  pkgdesc="Top quality printer drivers for POSIX systems"
+  install=gutenprint.install
+  depends=('cups' 'cups-filters' 'ijs')
+  optdepends=('gimp:   adds gutenprint plugin to gimp'
+            'libusb:   required for drivers that depend on gutenprint52usb 
backend'
+            'foomatic-db-gutenprint-ppds: prebuilt ppd files')
+  replaces=('gimp-print')
+  options=('!emptydirs')
+  
+  cd ${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+  
+  # split out files
+  mkdir $srcdir/tmp_foomatic-db-gutenprint
+  mkdir $srcdir/tmp_foomatic-db-gutenprint-ppds
+  
+  mv ${pkgdir}/usr/share/foomatic $srcdir/tmp_foomatic-db-gutenprint/
+  
+  mv ${pkgdir}/usr/share/cups/model $srcdir/tmp_foomatic-db-gutenprint-ppds/
+
+  # cleanup
+  rm -rf ${pkgdir}/usr/share/foomatic #/kitload.log
+  rm -rf ${pkgdir}/etc #/cups/command.types
+}
+
+package_foomatic-db-gutenprint() {
+  pkgdesc="database of printers,printer drivers, and driver descriptions"
+  depends=('foomatic-db-engine')
+
+  cd ${pkgbase}-${pkgver}
+  mkdir -p ${pkgdir}/usr/share/gutenprint
+  mv $srcdir/tmp_foomatic-db-gutenprint/foomatic ${pkgdir}/usr/share/foomatic
+}
+
+package_foomatic-db-gutenprint-ppds() {
+  pkgdesc="simplified prebuilt ppd files"
+  optdepends=('cups:   to use cups printer spooler(recommended)')
+  
+  cd ${pkgbase}-${pkgver}
+  mkdir -p ${pkgdir}/usr/share/cups
+  mv $srcdir/tmp_foomatic-db-gutenprint-ppds/* ${pkgdir}//usr/share/cups/
+}

Copied: gutenprint/repos/testing-i686/gutenprint.install (from rev 272520, 
gutenprint/trunk/gutenprint.install)
===================================================================
--- testing-i686/gutenprint.install                             (rev 0)
+++ testing-i686/gutenprint.install     2016-07-27 19:34:26 UTC (rev 272521)
@@ -0,0 +1,9 @@
+post_install() {
+ echo ">>please run /usr/bin/cups-genppdupdate"
+ echo ">>and restart cups deamon"
+}
+
+post_upgrade() {
+   post_install
+}
+

Copied: gutenprint/repos/testing-x86_64/PKGBUILD (from rev 272520, 
gutenprint/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2016-07-27 19:34:26 UTC (rev 272521)
@@ -0,0 +1,91 @@
+# $Id$
+# Maintainer: Andreas Radke <andy...@archlinux.org>
+
+pkgbase=gutenprint
+pkgname=('gutenprint' 'foomatic-db-gutenprint' 'foomatic-db-gutenprint-ppds')
+pkgver=5.2.11
+pkgrel=4
+pkgdesc="Top quality printer drivers for POSIX systems"
+arch=('i686' 'x86_64')
+license=('GPL')
+makedepends=('gimp' 'gtk2' 'cups' 'foomatic-db-engine' 'ijs' 'ghostscript'
+            # for the docs
+            'dialog' 'doxygen' 'docbook-utils' 'texi2html' 'texlive-bin')
+source=(http://downloads.sourceforge.net/gimp-print/$pkgname-$pkgver.tar.bz2)
+url="http://gimp-print.sourceforge.net/";
+options=('!emptydirs')
+sha1sums=('2a00c84ebb382c701d95e18b7decf1268bb2b9d2')
+
+prepare(){
+  cd ${pkgbase}-${pkgver}
+  # sbindir is not properly taken over there
+  sed -i "s:cups_sbindir=\"\/usr\/sbin\":cups_sbindir=\"\/usr\/bin\":g" 
m4/stp_cups.m4
+  sed -i  
"s:cups_sbindir=\"\${cups_prefix}\/sbin\":cups_sbindir=\"\${cups_prefix}\/bin\":"
 m4/stp_cups.m4
+  sed -i "s:m4local:m4extra:" Makefile.am
+  autoreconf -vfi
+}
+
+build() {
+  cd ${pkgbase}-${pkgver}
+  ./configure --prefix=/usr \
+    --sbindir=/usr/bin \
+    --disable-rpath \
+    --enable-samples \
+       --disable-static \
+       --disable-static-genppd \
+       --enable-cups-ppds \
+       --enable-simplified-cups-ppds=only \
+       --enable-translated-cups-ppds \
+       --enable-globalized-cups-ppds #--help
+
+  # globalized ppds -> put all translations into one ppd file
+  # enable translated cups ppds grows size 9,5MB -> 156MB
+  # simplified cups ppds (yes, no, only) - only offer basic paper sizes, not 
all options 
+  # 4,3MB (only), 17MB (both) -> translated 41MB simpl., 165MB, 231MB both
+       
+  make
+}
+
+package_gutenprint() {
+  pkgdesc="Top quality printer drivers for POSIX systems"
+  install=gutenprint.install
+  depends=('cups' 'cups-filters' 'ijs')
+  optdepends=('gimp:   adds gutenprint plugin to gimp'
+            'libusb:   required for drivers that depend on gutenprint52usb 
backend'
+            'foomatic-db-gutenprint-ppds: prebuilt ppd files')
+  replaces=('gimp-print')
+  options=('!emptydirs')
+  
+  cd ${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+  
+  # split out files
+  mkdir $srcdir/tmp_foomatic-db-gutenprint
+  mkdir $srcdir/tmp_foomatic-db-gutenprint-ppds
+  
+  mv ${pkgdir}/usr/share/foomatic $srcdir/tmp_foomatic-db-gutenprint/
+  
+  mv ${pkgdir}/usr/share/cups/model $srcdir/tmp_foomatic-db-gutenprint-ppds/
+
+  # cleanup
+  rm -rf ${pkgdir}/usr/share/foomatic #/kitload.log
+  rm -rf ${pkgdir}/etc #/cups/command.types
+}
+
+package_foomatic-db-gutenprint() {
+  pkgdesc="database of printers,printer drivers, and driver descriptions"
+  depends=('foomatic-db-engine')
+
+  cd ${pkgbase}-${pkgver}
+  mkdir -p ${pkgdir}/usr/share/gutenprint
+  mv $srcdir/tmp_foomatic-db-gutenprint/foomatic ${pkgdir}/usr/share/foomatic
+}
+
+package_foomatic-db-gutenprint-ppds() {
+  pkgdesc="simplified prebuilt ppd files"
+  optdepends=('cups:   to use cups printer spooler(recommended)')
+  
+  cd ${pkgbase}-${pkgver}
+  mkdir -p ${pkgdir}/usr/share/cups
+  mv $srcdir/tmp_foomatic-db-gutenprint-ppds/* ${pkgdir}//usr/share/cups/
+}

Copied: gutenprint/repos/testing-x86_64/gutenprint.install (from rev 272520, 
gutenprint/trunk/gutenprint.install)
===================================================================
--- testing-x86_64/gutenprint.install                           (rev 0)
+++ testing-x86_64/gutenprint.install   2016-07-27 19:34:26 UTC (rev 272521)
@@ -0,0 +1,9 @@
+post_install() {
+ echo ">>please run /usr/bin/cups-genppdupdate"
+ echo ">>and restart cups deamon"
+}
+
+post_upgrade() {
+   post_install
+}
+

Reply via email to