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

Andreas Radke andyrtr at archlinux.org
Wed Dec 9 07:39:53 UTC 2020


    Date: Wednesday, December 9, 2020 @ 07:39:52
  Author: andyrtr
Revision: 403179

archrelease: copy trunk to extra-x86_64

Added:
  gutenprint/repos/extra-x86_64/PKGBUILD
    (from rev 403178, gutenprint/trunk/PKGBUILD)
  gutenprint/repos/extra-x86_64/gutenprint.install
    (from rev 403178, gutenprint/trunk/gutenprint.install)
Deleted:
  gutenprint/repos/extra-x86_64/PKGBUILD
  gutenprint/repos/extra-x86_64/gutenprint.install

--------------------+
 PKGBUILD           |  155 +++++++++++++++++++++++++--------------------------
 gutenprint.install |   18 ++---
 2 files changed, 87 insertions(+), 86 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-09 07:39:42 UTC (rev 403178)
+++ PKGBUILD	2020-12-09 07:39:52 UTC (rev 403179)
@@ -1,77 +0,0 @@
-# Maintainer: Andreas Radke <andyrtr at archlinux.org>
-
-pkgbase=gutenprint
-pkgname=('gutenprint' 'foomatic-db-gutenprint-ppds')
-pkgver=5.3.3
-pkgrel=2
-pkgdesc="Top quality printer drivers for POSIX systems"
-arch=('x86_64')
-license=('GPL')
-url="http://gimp-print.sourceforge.net/" # no https
-makedepends=('gimp' 'gtk2' 'cups' 'ghostscript'
-            # for the docs
-            'dialog' 'doxygen' 'docbook-utils' 'texi2html' 'texlive-bin')
-source=(https://downloads.sourceforge.net/gimp-print/$pkgname-$pkgver.tar.xz)
-options=('!emptydirs')
-sha1sums=('edfab4bafe8e6420c7c321915eeb2dd16e899c59')
-
-prepare(){
-  cd "${pkgbase}"-${pkgver}
-  # sbindir is not properly taken over there
-  sed -i "s:cups_sbindir=\"\${cups_exec_prefix}\/sbin\":cups_sbindir=\"\${cups_exec_prefix}\/bin\":" m4local/stp_cups.m4
-  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')
-  optdepends=('gimp:	adds gutenprint plugin to gimp'
-            'libusb:	required for drivers that depend on gutenprint52usb backend'
-            'foomatic-db-gutenprint-ppds: prebuilt ppd files'
-            'perl:	to run cups-genppdupdate')
-  replaces=('gimp-print')
-  options=('!emptydirs')
-  
-  cd "${pkgname}"-${pkgver}
-  make DESTDIR="${pkgdir}" install
-  
-  # split out files
-  mkdir "$srcdir"/tmp_foomatic-db-gutenprint-ppds
-  
-  mv "${pkgdir}"/usr/share/cups/model "$srcdir"/tmp_foomatic-db-gutenprint-ppds/
-
-  # cleanup
-  rm -rf "${pkgdir}"/usr/share/foomatic 
-  rm -rf "${pkgdir}"/etc
-}
-
-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/extra-x86_64/PKGBUILD (from rev 403178, gutenprint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-09 07:39:52 UTC (rev 403179)
@@ -0,0 +1,78 @@
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgbase=gutenprint
+pkgname=('gutenprint' 'foomatic-db-gutenprint-ppds')
+pkgver=5.3.4
+pkgrel=1
+pkgdesc="Top quality printer drivers for POSIX systems"
+arch=('x86_64')
+license=('GPL')
+url="http://gimp-print.sourceforge.net/" # no https
+makedepends=('gimp' 'gtk2' 'cups' 'ghostscript'
+            # for the docs
+            'dialog' 'doxygen' 'docbook-utils' 'texi2html' 'texlive-bin')
+source=(https://downloads.sourceforge.net/gimp-print/$pkgname-$pkgver.tar.xz)
+options=('!emptydirs')
+sha1sums=('46167d00c2a4fb07c3fd3d62c80cd3fa004629f0')
+
+prepare(){
+  cd "${pkgbase}"-${pkgver}
+  # sbindir is not properly taken over there
+  sed -i "s:cups_sbindir=\"\${cups_exec_prefix}\/sbin\":cups_sbindir=\"\${cups_exec_prefix}\/bin\":" m4local/stp_cups.m4
+  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
+
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package_gutenprint() {
+  pkgdesc="Top quality printer drivers for POSIX systems"
+  install=gutenprint.install
+  depends=('cups' 'cups-filters')
+  optdepends=('gimp:	adds gutenprint plugin to gimp'
+            'libusb:	required for drivers that depend on gutenprint52usb backend'
+            'foomatic-db-gutenprint-ppds: prebuilt ppd files'
+            'perl:	to run cups-genppdupdate')
+  replaces=('gimp-print')
+  options=('!emptydirs')
+  
+  cd "${pkgname}"-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  
+  # split out files
+  mkdir "$srcdir"/tmp_foomatic-db-gutenprint-ppds
+  
+  mv "${pkgdir}"/usr/share/cups/model "$srcdir"/tmp_foomatic-db-gutenprint-ppds/
+
+  # cleanup
+  rm -rf "${pkgdir}"/usr/share/foomatic 
+  rm -rf "${pkgdir}"/etc
+}
+
+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/
+}

Deleted: gutenprint.install
===================================================================
--- gutenprint.install	2020-12-09 07:39:42 UTC (rev 403178)
+++ gutenprint.install	2020-12-09 07:39:52 UTC (rev 403179)
@@ -1,9 +0,0 @@
-post_install() {
- echo ">>please run /usr/bin/cups-genppdupdate"
- echo ">>and restart cups daemon"
-}
-
-post_upgrade() {
-   post_install
-}
-

Copied: gutenprint/repos/extra-x86_64/gutenprint.install (from rev 403178, gutenprint/trunk/gutenprint.install)
===================================================================
--- gutenprint.install	                        (rev 0)
+++ gutenprint.install	2020-12-09 07:39:52 UTC (rev 403179)
@@ -0,0 +1,9 @@
+post_install() {
+ echo ">>please run /usr/bin/cups-genppdupdate"
+ echo ">>and restart cups daemon"
+}
+
+post_upgrade() {
+   post_install
+}
+



More information about the arch-commits mailing list