summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2009-10-02 06:52:06 +0000
committerPeter Volkov <pva@gentoo.org>2009-10-02 06:52:06 +0000
commit8b1e01c8375226eb002dd88ff7e96098ff1edad9 (patch)
treef2f444c75e378530ff335b76d2b10b68a65d01ae /net-print/gtklp
parentReduce gnome-power-manager dependency to 2.22.1 - we are staying with that fo... (diff)
downloadgentoo-2-8b1e01c8375226eb002dd88ff7e96098ff1edad9.tar.gz
gentoo-2-8b1e01c8375226eb002dd88ff7e96098ff1edad9.tar.bz2
gentoo-2-8b1e01c8375226eb002dd88ff7e96098ff1edad9.zip
Version bump, bug #267067, thank Ivan Miljenovic for report.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'net-print/gtklp')
-rw-r--r--net-print/gtklp/ChangeLog10
-rw-r--r--net-print/gtklp/gtklp-1.2.7.ebuild47
-rw-r--r--net-print/gtklp/metadata.xml10
3 files changed, 65 insertions, 2 deletions
diff --git a/net-print/gtklp/ChangeLog b/net-print/gtklp/ChangeLog
index b35bee822a9a..180aadb808e4 100644
--- a/net-print/gtklp/ChangeLog
+++ b/net-print/gtklp/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-print/gtklp
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/gtklp/ChangeLog,v 1.31 2008/01/17 16:28:50 flameeyes Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/gtklp/ChangeLog,v 1.32 2009/10/02 06:52:06 pva Exp $
+
+*gtklp-1.2.7 (02 Oct 2009)
+
+ 02 Oct 2009; Peter Volkov <pva@gentoo.org> +gtklp-1.2.7.ebuild,
+ metadata.xml:
+ Version bump, bug #267067, thank Ivan Miljenovic for report.
17 Jan 2008; Diego Pettenò <flameeyes@gentoo.org> gtklp-1.2.5.ebuild:
Add missing pkg-config dependency. Thanks Patrick in bug #204804.
diff --git a/net-print/gtklp/gtklp-1.2.7.ebuild b/net-print/gtklp/gtklp-1.2.7.ebuild
new file mode 100644
index 000000000000..cf659e8a6051
--- /dev/null
+++ b/net-print/gtklp/gtklp-1.2.7.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/gtklp/gtklp-1.2.7.ebuild,v 1.1 2009/10/02 06:52:06 pva Exp $
+
+EAPI="2"
+
+inherit autotools eutils
+
+DESCRIPTION="A GUI for cupsd"
+HOMEPAGE="http://gtklp.sourceforge.net"
+SRC_URI="mirror://sourceforge/gtklp/${P}.src.tar.gz
+ mirror://gentoo/gtklp-logo.png.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="nls ssl"
+
+RDEPEND=">=x11-libs/gtk+-2
+ >=net-print/cups-1.1.12
+ nls? ( sys-devel/gettext )
+ ssl? ( dev-libs/openssl )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_prepare() {
+ sed -e '/DEF_BROWSER_CMD/{s:netscape:firefox:}' \
+ -e '/DEF_HELP_HOME/{s:631/sum.html#STANDARD_OPTIONS:631/help/:}' \
+ -i include/defaults.h
+ eautoreconf # avoid "maintainer mode"
+}
+
+src_configure() {
+ econf \
+ $(use_enable nls) \
+ $(use_enable ssl)
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS BUGS ChangeLog README TODO USAGE || die
+
+ mv gtklp/{logo,gtklp-logo}.xpm
+ doicon gtklp/gtklp-logo.xpm
+ make_desktop_entry 'gtklp -i' "print files via CUPS" gtklp-logo 'System;Printing'
+ make_desktop_entry gtklpq "CUPS queue manager" gtklp-logo 'System;Printing'
+}
diff --git a/net-print/gtklp/metadata.xml b/net-print/gtklp/metadata.xml
index 1fa0ca569505..27d8e7d95531 100644
--- a/net-print/gtklp/metadata.xml
+++ b/net-print/gtklp/metadata.xml
@@ -2,4 +2,14 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>printing</herd>
+<maintainer>
+ <email>pva@gentoo.org</email>
+ <name>Peter Volkov</name>
+</maintainer>
+<longdescription>
+ GtkLP is an graphical frontend for CUPS, the Common UNIX Printing System.
+ It is used to have an easy (and graphical) access to all of the many options
+ of cups-managed printers. Package also includes GtkLPQ - a graphical
+ frontend for CUPS-Printqueues.
+</longdescription>
</pkgmetadata>