1 |
radhermit 11/09/05 06:42:58 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gutenprint-5.2.7.ebuild |
5 |
Log: |
6 |
Version bump (bug #377895 by Raphaël Droz). Add nls and static-libs USE flags. |
7 |
|
8 |
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.24 net-print/gutenprint/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/gutenprint/ChangeLog?rev=1.24&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/gutenprint/ChangeLog?rev=1.24&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/gutenprint/ChangeLog?r1=1.23&r2=1.24 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-print/gutenprint/ChangeLog,v |
20 |
retrieving revision 1.23 |
21 |
retrieving revision 1.24 |
22 |
diff -u -r1.23 -r1.24 |
23 |
--- ChangeLog 9 Jul 2011 09:37:26 -0000 1.23 |
24 |
+++ ChangeLog 5 Sep 2011 06:42:58 -0000 1.24 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for net-print/gutenprint |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-print/gutenprint/ChangeLog,v 1.23 2011/07/09 09:37:26 xarthisius Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-print/gutenprint/ChangeLog,v 1.24 2011/09/05 06:42:58 radhermit Exp $ |
30 |
+ |
31 |
+*gutenprint-5.2.7 (05 Sep 2011) |
32 |
+ |
33 |
+ 05 Sep 2011; Tim Harder <radhermit@g.o> +gutenprint-5.2.7.ebuild: |
34 |
+ Version bump (bug #377895 by Raphaël Droz). Add nls and static-libs USE |
35 |
+ flags. |
36 |
|
37 |
09 Jul 2011; Kacper Kowalik <xarthisius@g.o> gutenprint-5.2.6.ebuild: |
38 |
ppc64 stable wrt #276421 |
39 |
|
40 |
|
41 |
|
42 |
1.1 net-print/gutenprint/gutenprint-5.2.7.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/gutenprint/gutenprint-5.2.7.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/gutenprint/gutenprint-5.2.7.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: gutenprint-5.2.7.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2011 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/net-print/gutenprint/gutenprint-5.2.7.ebuild,v 1.1 2011/09/05 06:42:58 radhermit Exp $ |
52 |
|
53 |
EAPI=4 |
54 |
|
55 |
inherit eutils multilib |
56 |
|
57 |
DESCRIPTION="Ghostscript and cups printer drivers" |
58 |
HOMEPAGE="http://gutenprint.sourceforge.net" |
59 |
SRC_URI="mirror://sourceforge/gimp-print/${P}.tar.bz2" |
60 |
|
61 |
LICENSE="GPL-2" |
62 |
SLOT="0" |
63 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
64 |
IUSE="cups foomaticdb gimp gtk nls readline ppds static-libs" |
65 |
|
66 |
RDEPEND="app-text/ghostscript-gpl |
67 |
dev-lang/perl |
68 |
sys-libs/readline |
69 |
cups? ( >=net-print/cups-1.1.14 ) |
70 |
foomaticdb? ( net-print/foomatic-db-engine ) |
71 |
gimp? ( >=media-gfx/gimp-2.2 x11-libs/gtk+:2 ) |
72 |
gtk? ( x11-libs/gtk+:2 ) |
73 |
nls? ( virtual/libintl )" |
74 |
DEPEND="${RDEPEND} |
75 |
gtk? ( dev-util/pkgconfig ) |
76 |
nls? ( sys-devel/gettext )" |
77 |
|
78 |
RESTRICT="test" |
79 |
|
80 |
DOCS=( AUTHORS ChangeLog NEWS README doc/gutenprint-users-manual.{pdf,odt} ) |
81 |
|
82 |
src_prepare() { |
83 |
epatch "${FILESDIR}/${PN}-5.2.4-CFLAGS.patch" |
84 |
} |
85 |
|
86 |
src_configure() { |
87 |
if use cups && use ppds; then |
88 |
myconf="${myconf} --enable-cups-ppds --enable-cups-level3-ppds" |
89 |
else |
90 |
myconf="${myconf} --disable-cups-ppds" |
91 |
fi |
92 |
|
93 |
if use gtk || use gimp; then |
94 |
myconf="${myconf} --enable-libgutenprintui2" |
95 |
else |
96 |
myconf="${myconf} --disable-libgutenprintui2" |
97 |
fi |
98 |
|
99 |
use foomaticdb \ |
100 |
&& myconf="${myconf} --with-foomatic3" \ |
101 |
|| myconf="${myconf} --without-foomatic" |
102 |
|
103 |
econf \ |
104 |
--enable-test \ |
105 |
--with-ghostscript \ |
106 |
--disable-translated-cups-ppds \ |
107 |
$(use_with gimp gimp2) \ |
108 |
$(use_with gimp gimp2-as-gutenprint) \ |
109 |
$(use_with cups) \ |
110 |
$(use_enable nls) \ |
111 |
$(use_with readline) \ |
112 |
$(use_enable static-libs static) \ |
113 |
${myconf} |
114 |
} |
115 |
|
116 |
src_install() { |
117 |
default |
118 |
|
119 |
dohtml doc/FAQ.html |
120 |
dohtml -r doc/gutenprintui2/html |
121 |
rm -fR "${D}"/usr/share/gutenprint/doc |
122 |
if ! use gtk && ! use gimp; then |
123 |
rm -f "${D}"/usr/$(get_libdir)/pkgconfig/gutenprintui2.pc |
124 |
rm -rf "${D}"/usr/include/gutenprintui2 |
125 |
fi |
126 |
|
127 |
find "${D}" -name '*.la' -exec rm -f '{}' + |
128 |
} |
129 |
|
130 |
pkg_postinst() { |
131 |
if [ "${ROOT}" == "/" ] && [ -x /usr/sbin/cups-genppdupdate ]; then |
132 |
elog "Updating installed printer ppd files" |
133 |
elog $(/usr/sbin/cups-genppdupdate) |
134 |
else |
135 |
elog "You need to update installed ppds manually using cups-genppdupdate" |
136 |
fi |
137 |
} |