diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-text/psutils | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-text/psutils')
-rw-r--r-- | app-text/psutils/Manifest | 1 | ||||
-rw-r--r-- | app-text/psutils/files/psutils-1.17-ldflags.patch | 44 | ||||
-rw-r--r-- | app-text/psutils/files/psutils-1.17-no-fixmacps.patch | 26 | ||||
-rw-r--r-- | app-text/psutils/metadata.xml | 5 | ||||
-rw-r--r-- | app-text/psutils/psutils-1.17-r2.ebuild | 40 |
5 files changed, 116 insertions, 0 deletions
diff --git a/app-text/psutils/Manifest b/app-text/psutils/Manifest new file mode 100644 index 000000000000..388fda34fb44 --- /dev/null +++ b/app-text/psutils/Manifest @@ -0,0 +1 @@ +DIST psutils_1.17.dfsg.orig.tar.gz 40296 SHA256 53e24aff04895b47fb2178dc9df3acb78d91c33c2d6bd524c49e9641479c4f6c SHA512 a4ee49ecea9a948c0cfb8b51d10471409ec461a07bb94c1158c64e433f02ede4770fcb961d6ec79088bf247176db9757389d3e1cf5b64246b3b90b5584b59ff3 WHIRLPOOL a621251c2956f40eeacbae77a68287a808446655b15d9c17b5d51d3f1946ddb427ae12a6172d49f5c82f31afb3b54fcf00f12aeb258e0cd08b7c9a60df1524f6 diff --git a/app-text/psutils/files/psutils-1.17-ldflags.patch b/app-text/psutils/files/psutils-1.17-ldflags.patch new file mode 100644 index 000000000000..124768062a43 --- /dev/null +++ b/app-text/psutils/files/psutils-1.17-ldflags.patch @@ -0,0 +1,44 @@ +Index: psutils/Makefile.unix +=================================================================== +--- psutils.orig/Makefile.unix ++++ psutils/Makefile.unix +@@ -39,7 +39,7 @@ MANEXT = 1 + MANDIR = /usr/local/share/man/man$(MANEXT) + + CC = gcc +-CFLAGS = -DPAPER=\"$(PAPER)\" -DUNIX -O -Wall ++CFLAGS += -DPAPER=\"$(PAPER)\" -DUNIX -Wall + + BIN = psbook psselect pstops epsffit psnup \ + psresize +@@ -65,30 +65,24 @@ pserror.o: psutil.h patchlev.h pserror.h + epsffit.o: epsffit.c pserror.h patchlev.h + + epsffit: epsffit.o pserror.o +- $(CC) $(CCFLAGS) -o epsffit pserror.o epsffit.o + + psnup: psnup.o psutil.o psspec.o pserror.o +- $(CC) $(CCFLAGS) -o psnup psutil.o psspec.o pserror.o psnup.o + + psnup.o: psutil.h patchlev.h psspec.h pserror.h psnup.c + + psresize: psresize.o psutil.o pserror.o psspec.o +- $(CC) $(CCFLAGS) -o psresize psutil.o psspec.o pserror.o psresize.o + + psresize.o: psutil.h patchlev.h psspec.h pserror.h psresize.c + + psbook: psbook.o psutil.o pserror.o +- $(CC) $(CCFLAGS) -o psbook psutil.o pserror.o psbook.o + + psbook.o: psutil.h patchlev.h pserror.h psbook.c + + psselect: psselect.o psutil.o pserror.o +- $(CC) $(CCFLAGS) -o psselect psutil.o pserror.o psselect.o + + psselect.o: psutil.h patchlev.h pserror.h psselect.c + + pstops: pstops.o psutil.o psspec.o pserror.o +- $(CC) $(CCFLAGS) -o pstops psutil.o psspec.o pserror.o pstops.o + + pstops.o: psutil.h patchlev.h psspec.h pserror.h pstops.c + diff --git a/app-text/psutils/files/psutils-1.17-no-fixmacps.patch b/app-text/psutils/files/psutils-1.17-no-fixmacps.patch new file mode 100644 index 000000000000..16a3c13484a2 --- /dev/null +++ b/app-text/psutils/files/psutils-1.17-no-fixmacps.patch @@ -0,0 +1,26 @@ +Files md68_0.ps md71_0.ps have unknown copyright and license and are +therefore not included in the "DFSG" tarball. Suppress these files +(and the fixmacps program that references them) in Makefile. +https://bugs.gentoo.org/show_bug.cgi?id=440938 + +--- psutils-1.17.orig/Makefile.unix ++++ psutils/Makefile.unix +@@ -44,15 +44,15 @@ + 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 ++INCLUDES = + + all: $(BIN) $(PERLSCRIPTS) $(MANPAGES) $(SHELLSCRIPTS) + diff --git a/app-text/psutils/metadata.xml b/app-text/psutils/metadata.xml new file mode 100644 index 000000000000..ba6a8a8800d5 --- /dev/null +++ b/app-text/psutils/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>tex</herd> +</pkgmetadata> diff --git a/app-text/psutils/psutils-1.17-r2.ebuild b/app-text/psutils/psutils-1.17-r2.ebuild new file mode 100644 index 000000000000..22ecb3f2b010 --- /dev/null +++ b/app-text/psutils/psutils-1.17-r2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 + +inherit toolchain-funcs eutils + +DESCRIPTION="PostScript Utilities" +HOMEPAGE="http://web.archive.org/web/20110722005140/http://www.tardis.ed.ac.uk/~ajcd/psutils/" +SRC_URI="mirror://debian/pool/main/p/${PN}/${PN}_${PV}.dfsg.orig.tar.gz" + +LICENSE="psutils" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND="" +DEPEND="${RDEPEND} + dev-lang/perl" + +S="${WORKDIR}/${P}.orig" + +src_prepare() { + epatch "${FILESDIR}/${P}-ldflags.patch" + epatch "${FILESDIR}/${P}-no-fixmacps.patch" + sed \ + -e "s:/usr/local:\$(DESTDIR)${EPREFIX}/usr:" \ + "${S}/Makefile.unix" > "${S}/Makefile" +} + +src_compile() { + emake CC="$(tc-getCC)" || die +} + +src_install () { + dodir /usr/{bin,share/man} + emake DESTDIR="${D}" install || die + dodoc README +} |