diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2012-04-27 21:19:13 +0000 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2012-04-27 21:19:13 +0000 |
commit | e3e0c385c7b4b3887720ed736f09b7faf9593402 (patch) | |
tree | 16971c97c8d88543028b90c98746f6f06c049022 | |
parent | Version bump to 7.0.1 (diff) | |
download | gentoo-2-e3e0c385c7b4b3887720ed736f09b7faf9593402.tar.gz gentoo-2-e3e0c385c7b4b3887720ed736f09b7faf9593402.tar.bz2 gentoo-2-e3e0c385c7b4b3887720ed736f09b7faf9593402.zip |
Bugfix version bump, adds a trivial one-line change to fix compilation against cups-1.5, bug 413711
(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
-rw-r--r-- | net-print/gtklp/ChangeLog | 10 | ||||
-rw-r--r-- | net-print/gtklp/gtklp-1.2.8a.ebuild | 47 |
2 files changed, 55 insertions, 2 deletions
diff --git a/net-print/gtklp/ChangeLog b/net-print/gtklp/ChangeLog index 4a1c2401c383..dbd18feb6d36 100644 --- a/net-print/gtklp/ChangeLog +++ b/net-print/gtklp/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-print/gtklp -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-print/gtklp/ChangeLog,v 1.42 2011/06/20 10:54:00 pva Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-print/gtklp/ChangeLog,v 1.43 2012/04/27 21:19:13 dilfridge Exp $ + +*gtklp-1.2.8a (27 Apr 2012) + + 27 Apr 2012; Andreas K. Huettel <dilfridge@gentoo.org> +gtklp-1.2.8a.ebuild: + Bugfix version bump, adds a trivial one-line change to fix compilation + against cups-1.5, bug 413711 20 Jun 2011; Peter Volkov <pva@gentoo.org> -gtklp-1.2.7.ebuild, gtklp-1.2.8.ebuild: diff --git a/net-print/gtklp/gtklp-1.2.8a.ebuild b/net-print/gtklp/gtklp-1.2.8a.ebuild new file mode 100644 index 000000000000..49fd0f1271a8 --- /dev/null +++ b/net-print/gtklp/gtklp-1.2.8a.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-print/gtklp/gtklp-1.2.8a.ebuild,v 1.1 2012/04/27 21:19:13 dilfridge 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://sourceforge/gtklp/logo.xpm.gz -> gtklp-logo.xpm.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) \ + --enable-forte #369003 +} + +src_install () { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS BUGS ChangeLog README TODO USAGE || die + + doicon "${WORKDIR}"/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' +} |