summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/psutils/PKGBUILD56
-rw-r--r--libre/psutils/libre.patch41
-rw-r--r--libre/psutils/psutils-1.17.diff33
3 files changed, 0 insertions, 130 deletions
diff --git a/libre/psutils/PKGBUILD b/libre/psutils/PKGBUILD
deleted file mode 100644
index 8b3d3a0e7..000000000
--- a/libre/psutils/PKGBUILD
+++ /dev/null
@@ -1,56 +0,0 @@
-# Maintainer (Arch): Ronald van Haren <ronald.archlinux.org>
-# Contributor (Arch): eric <eric@archlinux.org>
-# Contributor (Arch): Tom Newsom <Jeepster@gmx.co.uk>
-# Maintainer (Hyperbola): André Silva <emulatorman@hyperbola.info>
-# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
-# Contributor: xihh <hahj87@gmail.com>
-
-pkgname=psutils
-pkgver=1.17
-pkgrel=6
-pkgrel+=.parabola2
-arch=('x86_64')
-arch+=('i686' 'armv7h')
-pkgdesc="A set of postscript utilities"
-pkgdesc+=", without nonfree files"
-url="http://knackered.org/angus/psutils/"
-license=('custom')
-depends=('glibc' 'ghostscript')
-provides=('psutils-lprng')
-replaces=('psutils-lprng')
-options=('!makeflags')
-source=("https://sources.archlinux.org/other/psutils/${pkgname}-${pkgver}.tar.gz"
- 'psutils-1.17.diff')
-source+=('libre.patch')
-sha512sums=('91feff88c885173ab1c4ba6b5ffd0d9e90bfa6105479b074065584fc2a87e78fbe71e4bc90d2e7079d86b467caf092b6744b0ea4234880ba78cad8dd7820de77'
- '795f45c6315e3c02485d1d5243c1541992b669539257249a185f57136e623c489a9f3635d3f171f698428aeb9710332cf36bb0aa0ade8ea351514044630f12f0'
- 'c5eed23aa3be06cd07a79f3ff8bfcd9aa5722302a267d07b2e58a240d92f0c08a7bdde81660ef5509779cab0f6a1ca8b1e0e832818dcfd6a314035bb8df8021f')
-
-prepare() {
- cd "${srcdir}/${pkgname}"
- # apply patch to remove nonfree files support from Makefile
- patch -Np1 -i "${srcdir}/libre.patch"
- # remove nonfree files
- rm -v {fixmacps.{man,pl},md{68_0,71_0}.ps}
-}
-
-build() {
- cd "${srcdir}/${pkgname}"
- patch -Np1 -i "${srcdir}/psutils-1.17.diff"
- make -f Makefile.unix BINDIR=/usr/bin \
- INCLUDEDIR=/usr/include/psutils PERL=/usr/bin/perl \
- MANDIR=/usr/share/man/man1 \
- CFLAGS="$CFLAGS -DPAPER=\\\"letter\\\" -DUNIX -Wall" \
- CCFLAGS="$LDFLAGS"
-}
-
-package() {
- cd "${srcdir}/${pkgname}"
- install -d -m755 "${pkgdir}/usr/include"
- install -d -m755 "${pkgdir}/usr/share/man"
- make -f Makefile.unix BINDIR="${pkgdir}/usr/bin" \
- INCLUDEDIR="${pkgdir}/usr/include/psutils" PERL=/usr/bin/perl \
- MANDIR="${pkgdir}/usr/share/man/man1" install
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/"
-}
diff --git a/libre/psutils/libre.patch b/libre/psutils/libre.patch
deleted file mode 100644
index c2bd21245..000000000
--- a/libre/psutils/libre.patch
+++ /dev/null
@@ -1,41 +0,0 @@
---- psutils.orig/Makefile.unix 2013-06-21 05:46:39.671197867 -0300
-+++ psutils/Makefile.unix 2013-06-21 05:55:30.248672628 -0300
-@@ -44,15 +44,14 @@
- BIN = psbook psselect pstops epsffit psnup \
- psresize
- SHELLSCRIPTS = getafm showchar
--PERLSCRIPTS = fixfmps fixmacps fixpsditps fixpspps \
-+PERLSCRIPTS = fixfmps fixpsditps fixpspps \
- fixtpps fixwfwps fixwpps fixscribeps fixwwps \
- fixdlsrps extractres includeres psmerge
- MANPAGES = psbook.$(MANEXT) psselect.$(MANEXT) pstops.$(MANEXT) epsffit.$(MANEXT) psnup.$(MANEXT) \
- psresize.$(MANEXT) psmerge.$(MANEXT) fixscribeps.$(MANEXT) getafm.$(MANEXT) \
-- fixdlsrps.$(MANEXT) fixfmps.$(MANEXT) fixmacps.$(MANEXT) fixpsditps.$(MANEXT) \
-+ fixdlsrps.$(MANEXT) fixfmps.$(MANEXT) fixpsditps.$(MANEXT) \
- fixpspps.$(MANEXT) fixtpps.$(MANEXT) fixwfwps.$(MANEXT) fixwpps.$(MANEXT) \
- fixwwps.$(MANEXT) extractres.$(MANEXT) includeres.$(MANEXT)
--INCLUDES = md68_0.ps md71_0.ps
-
- all: $(BIN) $(PERLSCRIPTS) $(MANPAGES) $(SHELLSCRIPTS)
-
-@@ -106,10 +105,6 @@
- $(PERL) maketext OS=$(OS) PERL=$(PERL) $? > $@
- $(CHMOD) $(BINMODE) $@
-
--fixmacps: fixmacps.pl
-- $(PERL) maketext OS=$(OS) PERL=$(PERL) INCLUDE=$(INCLUDEDIR) $? > $@
-- $(CHMOD) $(BINMODE) $@
--
- fixpsditps: fixpsditps.pl
- $(PERL) maketext OS=$(OS) PERL=$(PERL) $? > $@
- $(CHMOD) $(BINMODE) $@
-@@ -174,9 +169,6 @@
- fixfmps.$(MANEXT): fixfmps.man
- $(PERL) maketext "MAN=$(MANPAGES)" $? > $@
-
--fixmacps.$(MANEXT): fixmacps.man
-- $(PERL) maketext "MAN=$(MANPAGES)" INCLUDE=$(INCLUDEDIR) $? > $@
--
- fixpsditps.$(MANEXT): fixpsditps.man
- $(PERL) maketext "MAN=$(MANPAGES)" $? > $@
-
diff --git a/libre/psutils/psutils-1.17.diff b/libre/psutils/psutils-1.17.diff
deleted file mode 100644
index 4af32bd7f..000000000
--- a/libre/psutils/psutils-1.17.diff
+++ /dev/null
@@ -1,33 +0,0 @@
-diff -u -r --new-file psutils.orig/Makefile.unix psutils/Makefile.unix
---- psutils.orig/Makefile.unix Tue Mar 11 14:52:59 1997
-+++ psutils/Makefile.unix Thu Jan 18 20:53:36 2001
-@@ -19,16 +19,16 @@
- # psnup puts multiple logical pages on one physical page
- # psresize scales and moves pages to fit on different paper sizes
-
--PAPER=a4
-+PAPER=letter
-
- # Makefile for PSUtils under Unix
-
- OS = UNIX
-
--BINDIR = /usr/local/bin
-+BINDIR = /usr/bin
- SCRIPTDIR = $(BINDIR)
--INCLUDEDIR = /usr/local/share/psutils
--PERL = /usr/local/bin/perl
-+INCLUDEDIR = /usr/share/psutils
-+PERL = /usr/bin/perl
-
- BINMODE = 0755
- MANMODE = 0644
-@@ -36,7 +36,7 @@
- INSTALL = install -c -m $(BINMODE)
- INSTALLMAN = install -c -m $(MANMODE)
- MANEXT = 1
--MANDIR = /usr/local/share/man/man$(MANEXT)
-+MANDIR = /usr/man/man$(MANEXT)
-
- CC = gcc
- CFLAGS = -DPAPER=\"$(PAPER)\" -DUNIX -O -Wall