summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-print/c2esp
downloadgentoo-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 'net-print/c2esp')
-rw-r--r--net-print/c2esp/Manifest2
-rw-r--r--net-print/c2esp/c2esp-25c.ebuild53
-rw-r--r--net-print/c2esp/c2esp-26.ebuild53
-rw-r--r--net-print/c2esp/files/c2esp-24-ldflags-cppflags.patch32
-rw-r--r--net-print/c2esp/files/c2esp-25c-ldflags-cppflags.patch32
-rw-r--r--net-print/c2esp/files/c2esp-26-ldflags-cppflags.patch33
-rw-r--r--net-print/c2esp/metadata.xml12
7 files changed, 217 insertions, 0 deletions
diff --git a/net-print/c2esp/Manifest b/net-print/c2esp/Manifest
new file mode 100644
index 000000000000..c48aaba5530b
--- /dev/null
+++ b/net-print/c2esp/Manifest
@@ -0,0 +1,2 @@
+DIST c2esp25c.tar.gz 338047 SHA256 5627086e5579fad4bcb2eef42d388c3118c630db32f63e11b5016d046baef521 SHA512 788da75c0049c1aa445890d67a7088bc4e7aa5c4e3e67689677fa5bee0e17e29fbb6e7ba9397aaec99f43ba79043aca7d147b6c510e3dd472d238ce6e2636b12 WHIRLPOOL 5446a704e4116c152978864dd35a509df5f0bb30d6d0b6574a14522b2b92601b3623fe97b2f319c81fa86bc68635cfa9b12f9902961cd31936dc286eb9d6764b
+DIST c2esp26.tar.gz 127593 SHA256 9c1427ca9a7374b2dc052953084f5c1a3675ec6842ea77b8e2ae86fa3bfa5856 SHA512 aa1ca61f895de4892e1058b349fcf1830da78455ffbd0d9989b7ac4e922076e184de91a2b79f285d946d29ece7a6d8159f62c900ed8d6c76859a4261c92da359 WHIRLPOOL 32fea85eeeece5b0ea84ca6291fc1a0102c783ecfe6e8f1f4d059ed7f3a26031ccb70cb2d0bc6667a4914d1eac228241a4c949b7a1bc4a3e81d8f42baa6be874
diff --git a/net-print/c2esp/c2esp-25c.ebuild b/net-print/c2esp/c2esp-25c.ebuild
new file mode 100644
index 000000000000..4934dc4a568d
--- /dev/null
+++ b/net-print/c2esp/c2esp-25c.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+MY_P=${PN}${PV}
+
+DESCRIPTION="A cups filter for Kodak ESP printers"
+HOMEPAGE="http://cupsdriverkodak.sf.net/"
+SRC_URI="mirror://sourceforge/cupsdriverkodak/files/${MY_P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+S=${WORKDIR}/${MY_P}
+
+DEPEND=">=media-libs/jbigkit-2.0-r1
+ >=net-print/cups-1.4"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-ldflags-cppflags.patch
+
+ # Remove embedded media-libs/jbigkit
+ rm -f *jbig* || die
+
+ # Remove the embedded jbig files from the Makefile's dependencies:
+ sed -i \
+ -e '/^[a-z0-9.]*:/s/\$(LIBJBG[[:digit:]]*)//g' \
+ -e '/^[a-z0-9.]*:/s/jbig[^ ]*\.h//g' \
+ -e '/\$(INSTALL).*COPYING/d' \
+ Makefile || die
+
+ # Use Gentoo-style cups paths
+ sed -i -e s,/usr/lib/cups/filter,/usr/libexec/cups/filter,g ppd/*.ppd || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" LIBJBG=-ljbig LIBJBG85=-ljbig85
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ FILTERBIN="${D}"/usr/libexec/cups/filter \
+ DOCDIR="${ED}"/usr/share/doc/${PF} \
+ install
+}
diff --git a/net-print/c2esp/c2esp-26.ebuild b/net-print/c2esp/c2esp-26.ebuild
new file mode 100644
index 000000000000..dbd45ef6bf2e
--- /dev/null
+++ b/net-print/c2esp/c2esp-26.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+MY_P=${PN}${PV}
+
+DESCRIPTION="A cups filter for Kodak ESP printers"
+HOMEPAGE="http://cupsdriverkodak.sf.net/"
+SRC_URI="mirror://sourceforge/cupsdriverkodak/files/${MY_P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+S=${WORKDIR}/${MY_P}
+
+DEPEND=">=media-libs/jbigkit-2.0-r1
+ >=net-print/cups-1.4"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-ldflags-cppflags.patch
+
+ # Remove embedded media-libs/jbigkit
+ rm -f *jbig* || die
+
+ # Remove the embedded jbig files from the Makefile's dependencies:
+ sed -i \
+ -e '/^[a-z0-9.]*:/s/\$(LIBJBG[[:digit:]]*)//g' \
+ -e '/^[a-z0-9.]*:/s/jbig[^ ]*\.h//g' \
+ -e '/\$(INSTALL).*COPYING/d' \
+ Makefile || die
+
+ # Use Gentoo-style cups paths
+ sed -i -e s,/usr/lib/cups/filter,/usr/libexec/cups/filter,g ppd/*.ppd || die
+}
+
+src_compile() {
+ emake -j1 CC="$(tc-getCC)" LIBJBG=-ljbig LIBJBG85=-ljbig85
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ FILTERBIN="${D}"/usr/libexec/cups/filter \
+ DOCDIR="${ED}"/usr/share/doc/${PF} \
+ install
+}
diff --git a/net-print/c2esp/files/c2esp-24-ldflags-cppflags.patch b/net-print/c2esp/files/c2esp-24-ldflags-cppflags.patch
new file mode 100644
index 000000000000..f1059c465330
--- /dev/null
+++ b/net-print/c2esp/files/c2esp-24-ldflags-cppflags.patch
@@ -0,0 +1,32 @@
+--- a/Makefile
++++ b/Makefile
+@@ -166,16 +166,16 @@
+ @echo
+
+ c2esp: c2esp.o c2espcommon.o $(LIBJBG85)
+- $(CC) $(CFLAGS) -o $@ c2esp.o c2espcommon.o -lcupsimage -lcups -lcupsdriver $(LIBJBG85)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ c2esp.o c2espcommon.o -lcupsimage -lcups -lcupsdriver $(LIBJBG85)
+
+ c2espC: c2espC.o c2espcommon.o
+- $(CC) $(CFLAGS) -o $@ c2espC.o c2espcommon.o -lcupsimage -lcups -lcupsdriver -lz
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ c2espC.o c2espcommon.o -lcupsimage -lcups -lcupsdriver -lz
+
+ command2esp: command2esp.o c2espcommon.o
+- $(CC) $(CFLAGS) -o $@ command2esp.o c2espcommon.o -lcups -lcupsdriver
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ command2esp.o c2espcommon.o -lcups -lcupsdriver
+
+ myopldecode: myopldecode.o $(LIBJBG)
+- $(CC) $(CFLAGS) -o $@ $@.o $(LIBJBG) -lz
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $@.o $(LIBJBG) -lz
+
+ #
+ # Installation rules
+@@ -326,3 +326,8 @@
+ #
+ ppdc KodakESP_10.drv
+ ppdc KodakESP_C_06.drv
++
++# Respect CPPFLAGS.
++.SUFFIXES: .c .o
++.c.o:
++ $(CC) -c $(CFLAGS) $(CPPFLAGS) -o '$@' '$<'
diff --git a/net-print/c2esp/files/c2esp-25c-ldflags-cppflags.patch b/net-print/c2esp/files/c2esp-25c-ldflags-cppflags.patch
new file mode 100644
index 000000000000..a551cc0f46ab
--- /dev/null
+++ b/net-print/c2esp/files/c2esp-25c-ldflags-cppflags.patch
@@ -0,0 +1,32 @@
+--- a/Makefile
++++ b/Makefile
+@@ -166,16 +166,16 @@
+ @echo
+
+ c2esp: c2esp.o c2espcommon.o $(LIBJBG85)
+- $(CC) $(CFLAGS) -o $@ c2esp.o c2espcommon.o -lcupsimage -lcups -lcupsdriver $(LIBJBG85)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ c2esp.o c2espcommon.o -lcupsimage -lcups -lcupsdriver $(LIBJBG85)
+
+ c2espC: c2espC.o c2espcommon.o
+- $(CC) $(CFLAGS) -o $@ c2espC.o c2espcommon.o -lcupsimage -lcups -lcupsdriver -lz
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ c2espC.o c2espcommon.o -lcupsimage -lcups -lcupsdriver -lz
+
+ command2esp: command2esp.o c2espcommon.o
+- $(CC) $(CFLAGS) -o $@ command2esp.o c2espcommon.o -lcups -lcupsdriver
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ command2esp.o c2espcommon.o -lcups -lcupsdriver
+
+ myopldecode: myopldecode.o $(LIBJBG)
+- $(CC) $(CFLAGS) -o $@ $@.o $(LIBJBG) -lz
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $@.o $(LIBJBG) -lz
+
+ #
+ # Installation rules
+@@ -351,3 +326,8 @@
+ command2esp.o: c2espcommon.h
+ c2espcommon.o: c2espcommon.h
+
++
++# Respect CPPFLAGS.
++.SUFFIXES: .c .o
++.c.o:
++ $(CC) -c $(CFLAGS) $(CPPFLAGS) -o '$@' '$<'
diff --git a/net-print/c2esp/files/c2esp-26-ldflags-cppflags.patch b/net-print/c2esp/files/c2esp-26-ldflags-cppflags.patch
new file mode 100644
index 000000000000..1ea36482687d
--- /dev/null
+++ b/net-print/c2esp/files/c2esp-26-ldflags-cppflags.patch
@@ -0,0 +1,33 @@
+diff -Naur a/Makefile b/Makefile
+--- a/Makefile 2012-09-06 00:18:06.000000000 +0100
++++ b/Makefile 2013-08-01 19:56:01.884969274 +0100
+@@ -234,16 +234,16 @@
+ @echo
+
+ c2esp: c2esp.o c2espcommon.o $(LIBJBG85)
+- $(CC) $(CFLAGS) -o $@ c2esp.o c2espcommon.o $(LIBCUPSDRIVER) $(LIBCUPSIMAGE) $(LIBJBG85)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ c2esp.o c2espcommon.o $(LIBCUPSDRIVER) $(LIBCUPSIMAGE) $(LIBJBG85)
+
+ c2espC: c2espC.o c2espcommon.o
+- $(CC) $(CFLAGS) -o $@ c2espC.o c2espcommon.o $(LIBCUPSDRIVER) $(LIBCUPSIMAGE) -lz
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ c2espC.o c2espcommon.o $(LIBCUPSDRIVER) $(LIBCUPSIMAGE) -lz
+
+ command2esp: command2esp.o c2espcommon.o
+- $(CC) $(CFLAGS) -o $@ command2esp.o c2espcommon.o $(LIBCUPSDRIVER)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ command2esp.o c2espcommon.o $(LIBCUPSDRIVER)
+
+ myopldecode: myopldecode.o $(LIBJBG)
+- $(CC) $(CFLAGS) -o $@ $@.o $(LIBJBG) -lz
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $@.o $(LIBJBG) -lz
+
+ #
+ # Installation rules
+@@ -403,3 +403,8 @@
+ command2esp.o: c2espcommon.h
+ c2espcommon.o: c2espcommon.h
+
++# Respect CPPFLAGS.
++.SUFFIXES: .c .o
++.c.o:
++ $(CC) -c $(CFLAGS) $(CPPFLAGS) -o '$@' '$<'
++
diff --git a/net-print/c2esp/metadata.xml b/net-print/c2esp/metadata.xml
new file mode 100644
index 000000000000..dd23d29d0696
--- /dev/null
+++ b/net-print/c2esp/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>printing</herd>
+ <maintainer>
+ <email>binki@gentoo.org</email>
+ <name>Nathan Phillip Brink</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">cupsdriverkodak</remote-id>
+ </upstream>
+</pkgmetadata>