From d150a5f3e462fa7fe194a805a4aa0076f4d03ab9 Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Sun, 16 Sep 2018 18:48:36 +0200 Subject: Add ports. --- print/cups/cups-1.6.2-autotoolsupdate.patch.xz | Bin 0 -> 5716 bytes print/cups/cups-1.6.2-desktopfile.patch.xz | Bin 0 -> 692 bytes print/cups/cups-1.6.2-logrotate.patch.xz | Bin 0 -> 308 bytes print/cups/cups-1.6.2-noexportssllibs.patch.xz | Bin 0 -> 260 bytes print/cups/cups-1.6.2-nogcrypt.patch.xz | Bin 0 -> 668 bytes print/cups/cups-1.6.2-nomanlinks.patch.xz | Bin 0 -> 348 bytes print/cups/cups-1.6.2-nomanz.patch.xz | Bin 0 -> 308 bytes print/cups/cups-1.6.2-pam.patch.xz | Bin 0 -> 224 bytes print/cups/cups-1.6.2-paths.patch.xz | Bin 0 -> 460 bytes print/cups/cups-1.6.2-systemdsocket.patch.xz | Bin 0 -> 3716 bytes .../cups/cups-filters-1.0.34-fontconfdir.patch.xz | Bin 0 -> 336 bytes print/cups/cups-filters-1.0.34-systemd.patch.xz | Bin 0 -> 344 bytes print/cups/cups.build | 227 +++++++++++++++++++++ .../foomatic-filters-4.0.17-nobailingout.patch.xz | Bin 0 -> 464 bytes 14 files changed, 227 insertions(+) create mode 100644 print/cups/cups-1.6.2-autotoolsupdate.patch.xz create mode 100644 print/cups/cups-1.6.2-desktopfile.patch.xz create mode 100644 print/cups/cups-1.6.2-logrotate.patch.xz create mode 100644 print/cups/cups-1.6.2-noexportssllibs.patch.xz create mode 100644 print/cups/cups-1.6.2-nogcrypt.patch.xz create mode 100644 print/cups/cups-1.6.2-nomanlinks.patch.xz create mode 100644 print/cups/cups-1.6.2-nomanz.patch.xz create mode 100644 print/cups/cups-1.6.2-pam.patch.xz create mode 100644 print/cups/cups-1.6.2-paths.patch.xz create mode 100644 print/cups/cups-1.6.2-systemdsocket.patch.xz create mode 100644 print/cups/cups-filters-1.0.34-fontconfdir.patch.xz create mode 100644 print/cups/cups-filters-1.0.34-systemd.patch.xz create mode 100755 print/cups/cups.build create mode 100644 print/cups/foomatic-filters-4.0.17-nobailingout.patch.xz (limited to 'print/cups') diff --git a/print/cups/cups-1.6.2-autotoolsupdate.patch.xz b/print/cups/cups-1.6.2-autotoolsupdate.patch.xz new file mode 100644 index 0000000..b834978 Binary files /dev/null and b/print/cups/cups-1.6.2-autotoolsupdate.patch.xz differ diff --git a/print/cups/cups-1.6.2-desktopfile.patch.xz b/print/cups/cups-1.6.2-desktopfile.patch.xz new file mode 100644 index 0000000..3924b5e Binary files /dev/null and b/print/cups/cups-1.6.2-desktopfile.patch.xz differ diff --git a/print/cups/cups-1.6.2-logrotate.patch.xz b/print/cups/cups-1.6.2-logrotate.patch.xz new file mode 100644 index 0000000..85a5656 Binary files /dev/null and b/print/cups/cups-1.6.2-logrotate.patch.xz differ diff --git a/print/cups/cups-1.6.2-noexportssllibs.patch.xz b/print/cups/cups-1.6.2-noexportssllibs.patch.xz new file mode 100644 index 0000000..7ea70fd Binary files /dev/null and b/print/cups/cups-1.6.2-noexportssllibs.patch.xz differ diff --git a/print/cups/cups-1.6.2-nogcrypt.patch.xz b/print/cups/cups-1.6.2-nogcrypt.patch.xz new file mode 100644 index 0000000..7bc8ed6 Binary files /dev/null and b/print/cups/cups-1.6.2-nogcrypt.patch.xz differ diff --git a/print/cups/cups-1.6.2-nomanlinks.patch.xz b/print/cups/cups-1.6.2-nomanlinks.patch.xz new file mode 100644 index 0000000..2716397 Binary files /dev/null and b/print/cups/cups-1.6.2-nomanlinks.patch.xz differ diff --git a/print/cups/cups-1.6.2-nomanz.patch.xz b/print/cups/cups-1.6.2-nomanz.patch.xz new file mode 100644 index 0000000..b066197 Binary files /dev/null and b/print/cups/cups-1.6.2-nomanz.patch.xz differ diff --git a/print/cups/cups-1.6.2-pam.patch.xz b/print/cups/cups-1.6.2-pam.patch.xz new file mode 100644 index 0000000..ecbf5dc Binary files /dev/null and b/print/cups/cups-1.6.2-pam.patch.xz differ diff --git a/print/cups/cups-1.6.2-paths.patch.xz b/print/cups/cups-1.6.2-paths.patch.xz new file mode 100644 index 0000000..5f3e55e Binary files /dev/null and b/print/cups/cups-1.6.2-paths.patch.xz differ diff --git a/print/cups/cups-1.6.2-systemdsocket.patch.xz b/print/cups/cups-1.6.2-systemdsocket.patch.xz new file mode 100644 index 0000000..a8f4931 Binary files /dev/null and b/print/cups/cups-1.6.2-systemdsocket.patch.xz differ diff --git a/print/cups/cups-filters-1.0.34-fontconfdir.patch.xz b/print/cups/cups-filters-1.0.34-fontconfdir.patch.xz new file mode 100644 index 0000000..9c0d395 Binary files /dev/null and b/print/cups/cups-filters-1.0.34-fontconfdir.patch.xz differ diff --git a/print/cups/cups-filters-1.0.34-systemd.patch.xz b/print/cups/cups-filters-1.0.34-systemd.patch.xz new file mode 100644 index 0000000..d602846 Binary files /dev/null and b/print/cups/cups-filters-1.0.34-systemd.patch.xz differ diff --git a/print/cups/cups.build b/print/cups/cups.build new file mode 100755 index 0000000..373c43a --- /dev/null +++ b/print/cups/cups.build @@ -0,0 +1,227 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=cups +VERSION=1.6.2 +BUILD=2 +DEPENDS=('gnutls >= 3.2.1-1' 'avahi >= 0.6.31-1' 'libpng >= 1.5.14-1' 'libtiff >= 4.0.3-1') +OPTDEPENDS=('usb >= 1.0.15-1' 'qpdf >= 4.0.1-1' 'poppler >= 0.22.4-1' 'freetype >= 2.4.12-1' 'fontconfig >= 2.10.91-1') + +# Description + +cat > ${PKG}/install/slack-desc <> ${PKG}/install/doinst.sh < ${PKG}${SYS_DIR[etc]}/cups/client.conf.new +touch ${PKG}${SYS_DIR[etc]}/cups/{printers,classes,subscriptions}.conf.new +chgrp lp ${PKG}${SYS_DIR[etc]}/cups/{printers,classes,subscriptions,client}.conf.new +( + cd ${PKG}${SYS_DIR[lib]}/exec/cups/backend + if [ ! -e smb ]; then + ln -sf ${SYS_DIR[bin]}/smbspool smb + fi +) +mv \ + ${PKG}${SYS_DIR[etc]}/rc.d/init.d/cups \ + ${PKG}${SYS_DIR[etc]}/rc.d/rc.cups.new +mv \ + ${PKG}${SYS_DIR[etc]}/dbus-1/system.d/cups.conf \ + ${PKG}${SYS_DIR[etc]}/dbus-1/system.d/cups.conf.new +mv \ + ${PKG}${SYS_DIR[etc]}/cups/cups-files.conf \ + ${PKG}${SYS_DIR[etc]}/cups/cups-files.conf.new +mv \ + ${PKG}${SYS_DIR[etc]}/cups/cupsd.conf \ + ${PKG}${SYS_DIR[etc]}/cups/cupsd.conf.new +mv \ + ${PKG}${SYS_DIR[etc]}/cups/snmp.conf \ + ${PKG}${SYS_DIR[etc]}/cups/snmp.conf.new +rm -rf \ + ${PKG}${SYS_DIR[etc]}/rc.d/{init.d,rc{0,2,3,5}.d} \ + ${PKG}${SYS_DIR[share]}/cups/{banners,data} \ + ${PKG}${SYS_DIR[share]}/cups/ipptool/*.{ps,pdf.jpg} \ + ${PKG}/run +} + +SRCNAME[1]=cups-filters +SRCVERS[1]=1.0.34 +SRCPACK[1]=http://www.openprinting.org/download/cups-filters/${SRCNAME[1]}-${SRCVERS[1]}.tar.xz + +build1() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.in +CPPFLAGS="-I${PKG}${SYS_DIR[include]}" \ +LDFLAGS="-L${PKG}${SYS_DIR[lib]}" \ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --enable-static=no \ + --enable-shared=yes \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --with-cups-config="${PKG}${SYS_DIR[bin]}/cups-config" \ + --with-fontdir="${SYS_DIR[share]}/fonts/config" \ + --with-rcdir=no \ + --enable-avahi +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS +license COPYING +changelog NEWS +install.dir ${PKG}${SYS_DIR[etc]}/fonts.d +install.dir ${PKG}${SYS_DIR[systemdsystemunitdir]} +install.dat cups-browsed.service ${PKG}${SYS_DIR[systemdsystemunitdir]} +mv \ + ${PKG}${SYS_DIR[etc]}/cups/cups-browsed.conf \ + ${PKG}${SYS_DIR[etc]}/cups/cups-browsed.conf.new +# Compress some driver files, adopted from Fedora +find ${PKG}${SYS_DIR[share]}/ppd -name "*.ppd" | xargs gzip -n9f +# Use this trick instead of installing cups-samba +( + cd ${PKG}${SYS_DIR[etc]}/fonts.d + ln -sf ${SYS_DIR[share]}/fonts/config/99pdftoopvp.conf +) +rm -rf \ + ${PKG}${SYS_DIR[doc]}/cups-filters +} + +SRCNAME[2]=foomatic-filters +SRCVERS[2]=4.0.17 +SRCPACK[2]=http://www.openprinting.org/download/foomatic/${SRCNAME[2]}-${SRCVERS[2]}.tar.gz +SRCCOPY[2]="GPL2" + +build2() +{ +export CUPS_SERVERBIN="${SYS_DIR[lib]}/exec/cups" +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} +make install-main install-cups DESTDIR="${PKG}" +changelog ChangeLog +mv \ + ${PKG}${SYS_DIR[etc]}/foomatic/filter.conf \ + ${PKG}${SYS_DIR[etc]}/foomatic/filter.conf.new +} diff --git a/print/cups/foomatic-filters-4.0.17-nobailingout.patch.xz b/print/cups/foomatic-filters-4.0.17-nobailingout.patch.xz new file mode 100644 index 0000000..7c6e122 Binary files /dev/null and b/print/cups/foomatic-filters-4.0.17-nobailingout.patch.xz differ -- cgit v1.2.3-70-g09d2