* [gentoo-commits] gentoo-x86 commit in net-print/gutenprint: ChangeLog gutenprint-5.2.7-r1.ebuild gutenprint-5.2.7.ebuild
@ 2011-09-15 21:30 Tim Harder (radhermit)
0 siblings, 0 replies; only message in thread
From: Tim Harder (radhermit) @ 2011-09-15 21:30 UTC (permalink / raw
To: gentoo-commits
radhermit 11/09/15 21:30:05
Modified: ChangeLog
Added: gutenprint-5.2.7-r1.ebuild
Removed: gutenprint-5.2.7.ebuild
Log:
Revision bump and remove old. Fixes bug #382927 with help from Martin von Gagern and Rafał Mużyło.
(Portage version: 2.2.0_alpha58/cvs/Linux x86_64)
Revision Changes Path
1.26 net-print/gutenprint/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/gutenprint/ChangeLog?rev=1.26&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/gutenprint/ChangeLog?rev=1.26&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/gutenprint/ChangeLog?r1=1.25&r2=1.26
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-print/gutenprint/ChangeLog,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- ChangeLog 11 Sep 2011 07:28:19 -0000 1.25
+++ ChangeLog 15 Sep 2011 21:30:05 -0000 1.26
@@ -1,6 +1,13 @@
# ChangeLog for net-print/gutenprint
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/gutenprint/ChangeLog,v 1.25 2011/09/11 07:28:19 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/gutenprint/ChangeLog,v 1.26 2011/09/15 21:30:05 radhermit Exp $
+
+*gutenprint-5.2.7-r1 (15 Sep 2011)
+
+ 15 Sep 2011; Tim Harder <radhermit@gentoo.org> -gutenprint-5.2.7.ebuild,
+ +gutenprint-5.2.7-r1.ebuild, +files/gutenprint-5.2.7-genppd.patch:
+ Revision bump and remove old. Fixes bug #382927 with help from Martin von
+ Gagern and Rafał Mużyło.
11 Sep 2011; Tim Harder <radhermit@gentoo.org> gutenprint-5.2.7.ebuild:
Respect CFLAGS and build genppd statically (fixes bug #382027).
1.1 net-print/gutenprint/gutenprint-5.2.7-r1.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/gutenprint/gutenprint-5.2.7-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/gutenprint/gutenprint-5.2.7-r1.ebuild?rev=1.1&content-type=text/plain
Index: gutenprint-5.2.7-r1.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-print/gutenprint/gutenprint-5.2.7-r1.ebuild,v 1.1 2011/09/15 21:30:05 radhermit Exp $
EAPI=4
inherit eutils multilib autotools
DESCRIPTION="Ghostscript and cups printer drivers"
HOMEPAGE="http://gutenprint.sourceforge.net"
SRC_URI="mirror://sourceforge/gimp-print/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="cups foomaticdb gimp gtk nls readline ppds static-libs"
RDEPEND="app-text/ghostscript-gpl
dev-lang/perl
sys-libs/readline
cups? ( >=net-print/cups-1.1.14 )
foomaticdb? ( net-print/foomatic-db-engine )
gimp? ( >=media-gfx/gimp-2.2 x11-libs/gtk+:2 )
gtk? ( x11-libs/gtk+:2 )
nls? ( virtual/libintl )"
DEPEND="${RDEPEND}
gtk? ( dev-util/pkgconfig )
nls? ( sys-devel/gettext )"
RESTRICT="test"
DOCS=( AUTHORS ChangeLog NEWS README doc/gutenprint-users-manual.{pdf,odt} )
src_prepare() {
epatch "${FILESDIR}/${PN}-5.2.4-CFLAGS.patch" \
"${FILESDIR}"/${P}-genppd.patch
sed -i -e "s:m4local:m4extra:" Makefile.am || die
eautoreconf
}
src_configure() {
if use cups && use ppds; then
myconf="${myconf} --enable-cups-ppds --enable-cups-level3-ppds"
else
myconf="${myconf} --disable-cups-ppds"
fi
if use gtk || use gimp; then
myconf="${myconf} --enable-libgutenprintui2"
else
myconf="${myconf} --disable-libgutenprintui2"
fi
use foomaticdb \
&& myconf="${myconf} --with-foomatic3" \
|| myconf="${myconf} --without-foomatic"
econf \
--enable-test \
--with-ghostscript \
--disable-translated-cups-ppds \
$(use_with gimp gimp2) \
$(use_with gimp gimp2-as-gutenprint) \
$(use_with cups) \
$(use_enable nls) \
$(use_with readline) \
$(use_enable static-libs static) \
${myconf}
}
src_install() {
default
dohtml doc/FAQ.html
dohtml -r doc/gutenprintui2/html
rm -fR "${D}"/usr/share/gutenprint/doc
if ! use gtk && ! use gimp; then
rm -f "${D}"/usr/$(get_libdir)/pkgconfig/gutenprintui2.pc
rm -rf "${D}"/usr/include/gutenprintui2
fi
find "${D}" -name '*.la' -exec rm -f '{}' +
}
pkg_postinst() {
if [ "${ROOT}" == "/" ] && [ -x /usr/sbin/cups-genppdupdate ]; then
elog "Updating installed printer ppd files"
elog $(/usr/sbin/cups-genppdupdate)
else
elog "You need to update installed ppds manually using cups-genppdupdate"
fi
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-09-15 21:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-15 21:30 [gentoo-commits] gentoo-x86 commit in net-print/gutenprint: ChangeLog gutenprint-5.2.7-r1.ebuild gutenprint-5.2.7.ebuild Tim Harder (radhermit)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox