summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Schlich <wschlich@gentoo.org>2007-10-14 18:29:22 +0000
committerWolfram Schlich <wschlich@gentoo.org>2007-10-14 18:29:22 +0000
commitc0aa9ffaa61e40146675bd523e23ebe189a40e45 (patch)
tree1415b23ddb0dad044504f2b26c9b5c3f1bc4fa75 /net-print
parentvirtual/tetex -> virtual/latex-base, quote D (diff)
downloadgentoo-2-c0aa9ffaa61e40146675bd523e23ebe189a40e45.tar.gz
gentoo-2-c0aa9ffaa61e40146675bd523e23ebe189a40e45.tar.bz2
gentoo-2-c0aa9ffaa61e40146675bd523e23ebe189a40e45.zip
Initial import from sunrise with version bump
(Portage version: 2.1.3.7)
Diffstat (limited to 'net-print')
-rw-r--r--net-print/cupsddk/ChangeLog11
-rw-r--r--net-print/cupsddk/Manifest20
-rw-r--r--net-print/cupsddk/cupsddk-1.2.3.ebuild50
-rw-r--r--net-print/cupsddk/files/cupsddk-1.2.3-fltk-automagic.patch27
-rw-r--r--net-print/cupsddk/files/digest-cupsddk-1.2.33
-rw-r--r--net-print/cupsddk/metadata.xml10
6 files changed, 121 insertions, 0 deletions
diff --git a/net-print/cupsddk/ChangeLog b/net-print/cupsddk/ChangeLog
new file mode 100644
index 000000000000..91435d978d94
--- /dev/null
+++ b/net-print/cupsddk/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-print/cupsddk
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/cupsddk/ChangeLog,v 1.1 2007/10/14 18:29:21 wschlich Exp $
+
+*cupsddk-1.2.3 (14 Oct 2007)
+
+ 14 Oct 2007; Wolfram Schlich <wschlich@gentoo.org>
+ +files/cupsddk-1.2.3-fltk-automagic.patch, +metadata.xml,
+ +cupsddk-1.2.3.ebuild:
+ Initial import from sunrise with version bump
+
diff --git a/net-print/cupsddk/Manifest b/net-print/cupsddk/Manifest
new file mode 100644
index 000000000000..bb7c4425a9e5
--- /dev/null
+++ b/net-print/cupsddk/Manifest
@@ -0,0 +1,20 @@
+AUX cupsddk-1.2.3-fltk-automagic.patch 1009 RMD160 41ffb445539bbd997dad4c4d69220ea8e1641a4a SHA1 f2c65a8f0120166695289453ac45a28a59899981 SHA256 9968b0991fad987e2c22b4d7ef06afd2f6a56ee33c456514829c3cfe98f86954
+MD5 2b28c172710cc8a9915a83db26144877 files/cupsddk-1.2.3-fltk-automagic.patch 1009
+RMD160 41ffb445539bbd997dad4c4d69220ea8e1641a4a files/cupsddk-1.2.3-fltk-automagic.patch 1009
+SHA256 9968b0991fad987e2c22b4d7ef06afd2f6a56ee33c456514829c3cfe98f86954 files/cupsddk-1.2.3-fltk-automagic.patch 1009
+DIST cupsddk-1.2.3-source.tar.bz2 2082214 RMD160 423244a5b41e49e8f694836b86f2c9aa59637c9a SHA1 b8fa8925fb8be441a6063cca83e640000ad2c942 SHA256 231533e7c785860850132fb4d9abf6946d0a20dc14c660bf7c9173baa3ae9dab
+EBUILD cupsddk-1.2.3.ebuild 1185 RMD160 196994aad92badefd37140c9c587730e974185cf SHA1 544bf9dfdcafc0a31212f971926565acc3ec7131 SHA256 aa5651b4502af66bd027a778dc065e4f2afb9b2e313672cbe8c128c370e95387
+MD5 ac7e4db7559b5241259ed20bbda626b3 cupsddk-1.2.3.ebuild 1185
+RMD160 196994aad92badefd37140c9c587730e974185cf cupsddk-1.2.3.ebuild 1185
+SHA256 aa5651b4502af66bd027a778dc065e4f2afb9b2e313672cbe8c128c370e95387 cupsddk-1.2.3.ebuild 1185
+MISC ChangeLog 335 RMD160 fed7e9c87d7bfbdd84e45ee0b4c9036dace84ed4 SHA1 b2756f01b9e053eb3ce63efa032d73608843b60d SHA256 63c9270bbd9c878fa4456da1c75e2e53b9cad5a8cc901a8b4973952eeccfe502
+MD5 4a46fb03fb99d3487d7a21167052604e ChangeLog 335
+RMD160 fed7e9c87d7bfbdd84e45ee0b4c9036dace84ed4 ChangeLog 335
+SHA256 63c9270bbd9c878fa4456da1c75e2e53b9cad5a8cc901a8b4973952eeccfe502 ChangeLog 335
+MISC metadata.xml 300 RMD160 3b9c1cd628f9d7ac94b68543ec737d5c2381a47e SHA1 33c5efd31a8aa789118535b921e211ffb5023ac3 SHA256 bc07a9aecce5770d1ace9af0a6c6af8ff6c7b16eb5e7947a1b178d1970855e43
+MD5 3a0673ad138a1626da8160385475f88e metadata.xml 300
+RMD160 3b9c1cd628f9d7ac94b68543ec737d5c2381a47e metadata.xml 300
+SHA256 bc07a9aecce5770d1ace9af0a6c6af8ff6c7b16eb5e7947a1b178d1970855e43 metadata.xml 300
+MD5 df47f048ec534428fffa7a3be5a9736a files/digest-cupsddk-1.2.3 268
+RMD160 35322b5e1589bae0e1500ba12ada4b8fa2d12232 files/digest-cupsddk-1.2.3 268
+SHA256 935010840b2039b84e8119c99bdbda067cbb47efaab25cf114210ec14b7ee45c files/digest-cupsddk-1.2.3 268
diff --git a/net-print/cupsddk/cupsddk-1.2.3.ebuild b/net-print/cupsddk/cupsddk-1.2.3.ebuild
new file mode 100644
index 000000000000..1dc8814bda03
--- /dev/null
+++ b/net-print/cupsddk/cupsddk-1.2.3.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/cupsddk/cupsddk-1.2.3.ebuild,v 1.1 2007/10/14 18:29:21 wschlich Exp $
+
+inherit autotools eutils
+
+DESCRIPTION="A suite of standard drivers, a PPD file compiler, and other utilities to develop printer drivers for CUPS and other printing environments."
+HOMEPAGE="http://www.cups.org/ddk/"
+SRC_URI="ftp://ftp.easysw.com/pub/${PN}/${PV}/${P}-source.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="fltk"
+
+DEPEND=">=net-print/cups-1.2
+ fltk? ( =x11-libs/fltk-1.1* )"
+RDEPEND="${DEPEND}"
+
+WANT_AUTOCONF="latest"
+WANT_AUTOMAKE="latest"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # disable prestripping of compiled binaries
+ sed -i -e "/INSTALL_BIN/s/-s//" Makedefs.in || die "sed failed"
+
+ # fix automagic fltk dependency
+ epatch "${FILESDIR}"/${P}-fltk-automagic.patch
+ eautoconf
+}
+
+src_compile() {
+ econf BUILDROOT="${D}" \
+ --with-docdir=/usr/share/doc/${PF} \
+ $(use_with fltk) \
+ || die "econf failed"
+ emake BUILDROOT="${D}" || die "emake failed"
+}
+
+src_install() {
+ emake BUILDROOT="${D}" install || die "emake install failed"
+ keepdir /usr/share/cups/drv
+
+ rm -f LICENSE.* doc/Makefile
+ dodoc *.txt
+ dohtml -r doc/*
+}
diff --git a/net-print/cupsddk/files/cupsddk-1.2.3-fltk-automagic.patch b/net-print/cupsddk/files/cupsddk-1.2.3-fltk-automagic.patch
new file mode 100644
index 000000000000..ba3591743977
--- /dev/null
+++ b/net-print/cupsddk/files/cupsddk-1.2.3-fltk-automagic.patch
@@ -0,0 +1,27 @@
+diff -urN cupsddk-1.2.3.orig/configure.in cupsddk-1.2.3/configure.in
+--- cupsddk-1.2.3.orig/configure.in 2007-10-05 22:42:17.000000000 +0200
++++ cupsddk-1.2.3/configure.in 2007-10-14 20:19:40.000000000 +0200
+@@ -155,14 +155,16 @@
+ AC_CHECK_HEADER(cups/cups.h,,AC_MSG_ERROR(CUPS headers are not installed!))
+
+ dnl Check for FLTK...
+-AC_PATH_PROG(FLTKCONFIG,fltk-config)
++AC_ARG_WITH([fltk], AS_HELP_STRING([--with-fltk], [Build with fltk library GUI (default: disabled)]))
+
+-if test "x$FLTKCONFIG" = x; then
+-# AC_MSG_ERROR([Sorry, the CUPS DDK requires FLTK 1.1.x.])
+- GUILIBS=""
+-else
+- CXXFLAGS="`$FLTKCONFIG --cflags` $CXXFLAGS"
+- GUILIBS="`$FLTKCONFIG --use-images --ldstaticflags`"
++if test "x$with_fltk" == "xyes"; then
++ AC_PATH_PROG(FLTKCONFIG,fltk-config)
++ if test "x$FLTKCONFIG" = x; then
++ AC_MSG_ERROR([Sorry, the CUPS DDK GUI requires FLTK 1.1.x.])
++ else
++ CXXFLAGS="`$FLTKCONFIG --cflags` $CXXFLAGS"
++ GUILIBS="`$FLTKCONFIG --use-images --ldstaticflags`"
++ fi
+ fi
+
+ AC_SUBST(FLTKCONFIG)
diff --git a/net-print/cupsddk/files/digest-cupsddk-1.2.3 b/net-print/cupsddk/files/digest-cupsddk-1.2.3
new file mode 100644
index 000000000000..70cc6f47f9be
--- /dev/null
+++ b/net-print/cupsddk/files/digest-cupsddk-1.2.3
@@ -0,0 +1,3 @@
+MD5 3ec52813bf12bf9b34d34f8a81bab508 cupsddk-1.2.3-source.tar.bz2 2082214
+RMD160 423244a5b41e49e8f694836b86f2c9aa59637c9a cupsddk-1.2.3-source.tar.bz2 2082214
+SHA256 231533e7c785860850132fb4d9abf6946d0a20dc14c660bf7c9173baa3ae9dab cupsddk-1.2.3-source.tar.bz2 2082214
diff --git a/net-print/cupsddk/metadata.xml b/net-print/cupsddk/metadata.xml
new file mode 100644
index 000000000000..a7162e9b7104
--- /dev/null
+++ b/net-print/cupsddk/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>wschlich@gentoo.org</email>
+ <name>Wolfram Schlich</name>
+ <description>Primary maintainer</description>
+</maintainer>
+</pkgmetadata>