1 |
mrueg 14/05/30 02:26:09 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gutenprint-5.2.10.ebuild |
5 |
Log: |
6 |
Version bump. Fixes bug #511062. |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key ) |
9 |
|
10 |
Revision Changes Path |
11 |
1.51 net-print/gutenprint/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/gutenprint/ChangeLog?rev=1.51&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/gutenprint/ChangeLog?rev=1.51&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/gutenprint/ChangeLog?r1=1.50&r2=1.51 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-print/gutenprint/ChangeLog,v |
20 |
retrieving revision 1.50 |
21 |
retrieving revision 1.51 |
22 |
diff -u -r1.50 -r1.51 |
23 |
--- ChangeLog 10 Mar 2014 17:09:34 -0000 1.50 |
24 |
+++ ChangeLog 30 May 2014 02:26:09 -0000 1.51 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for net-print/gutenprint |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-print/gutenprint/ChangeLog,v 1.50 2014/03/10 17:09:34 mrueg Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-print/gutenprint/ChangeLog,v 1.51 2014/05/30 02:26:09 mrueg Exp $ |
30 |
+ |
31 |
+*gutenprint-5.2.10 (30 May 2014) |
32 |
+ |
33 |
+ 30 May 2014; Manuel Rüger <mrueg@g.o> |
34 |
+ +files/gutenprint-5.2.10-genppd.patch, +gutenprint-5.2.10.ebuild: |
35 |
+ Version bump. Fixes bug #511062. |
36 |
|
37 |
10 Mar 2014; Manuel Rüger <mrueg@g.o> |
38 |
-files/gutenprint-5.2.7-genppd.patch, -files/gutenprint-5.2.7-stdio.patch, |
39 |
|
40 |
|
41 |
|
42 |
1.1 net-print/gutenprint/gutenprint-5.2.10.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/gutenprint/gutenprint-5.2.10.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/gutenprint/gutenprint-5.2.10.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: gutenprint-5.2.10.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2014 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.10.ebuild,v 1.1 2014/05/30 02:26:09 mrueg Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
|
55 |
inherit eutils multilib autotools |
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 |
readline? ( 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? ( virtual/pkgconfig ) |
76 |
nls? ( sys-devel/gettext )" |
77 |
|
78 |
RESTRICT="test" |
79 |
|
80 |
REQUIRED_USE="gimp? ( gtk )" |
81 |
|
82 |
DOCS=( AUTHORS ChangeLog NEWS README doc/gutenprint-users-manual.{pdf,odt} ) |
83 |
|
84 |
src_prepare() { |
85 |
epatch "${FILESDIR}"/${PN}-5.2.4-CFLAGS.patch\ |
86 |
"${FILESDIR}"/${PN}-5.2.10-genppd.patch # bug 382927 |
87 |
sed -i "s:m4local:m4extra:" Makefile.am || die |
88 |
|
89 |
sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" \ |
90 |
-e "s/AM_PROG_CC_STDC/AC_PROG_CC/" \ |
91 |
-i configure.ac || die |
92 |
|
93 |
eautoreconf |
94 |
} |
95 |
|
96 |
src_configure() { |
97 |
local myconf="" |
98 |
|
99 |
if use cups && use ppds; then |
100 |
myconf+=" --enable-cups-ppds --enable-cups-level3-ppds" |
101 |
else |
102 |
myconf+=" --disable-cups-ppds" |
103 |
fi |
104 |
|
105 |
use foomaticdb \ |
106 |
&& myconf+=" --with-foomatic3" \ |
107 |
|| myconf+=" --without-foomatic" |
108 |
|
109 |
econf \ |
110 |
--enable-test \ |
111 |
--with-ghostscript \ |
112 |
--disable-translated-cups-ppds \ |
113 |
$(use_enable gtk libgutenprintui2) \ |
114 |
$(use_with gimp gimp2) \ |
115 |
$(use_with gimp gimp2-as-gutenprint) \ |
116 |
$(use_with cups) \ |
117 |
$(use_enable nls) \ |
118 |
$(use_with readline) \ |
119 |
$(use_enable static-libs static) \ |
120 |
${myconf} |
121 |
} |
122 |
|
123 |
src_install() { |
124 |
default |
125 |
|
126 |
dohtml doc/FAQ.html |
127 |
dohtml -r doc/gutenprintui2/html |
128 |
rm -fR "${ED}"/usr/share/gutenprint/doc |
129 |
if ! use gtk; then |
130 |
rm -f "${ED}"/usr/$(get_libdir)/pkgconfig/gutenprintui2.pc |
131 |
rm -rf "${ED}"/usr/include/gutenprintui2 |
132 |
fi |
133 |
|
134 |
find "${ED}" -name '*.la' -exec rm -f '{}' + |
135 |
} |
136 |
|
137 |
pkg_postinst() { |
138 |
if [ "${ROOT}" == "/" ] && [ -x /usr/sbin/cups-genppdupdate ]; then |
139 |
elog "Updating installed printer ppd files" |
140 |
elog $(/usr/sbin/cups-genppdupdate) |
141 |
else |
142 |
elog "You need to update installed ppds manually using cups-genppdupdate" |
143 |
fi |
144 |
} |