Gentoo Archives: gentoo-commits

From: "Alexey Shvetsov (alexxy)" <alexxy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-print/gutenprint: ChangeLog gutenprint-5.2.6.ebuild gutenprint-5.2.4.ebuild gutenprint-5.2.3.ebuild gutenprint-5.1.7.ebuild gutenprint-5.2.5.ebuild
Date: Thu, 25 Nov 2010 13:22:40
Message-Id: 20101125132235.63E3420051@flycatcher.gentoo.org
1 alexxy 10/11/25 13:22:35
2
3 Modified: ChangeLog
4 Added: gutenprint-5.2.6.ebuild
5 Removed: gutenprint-5.2.4.ebuild gutenprint-5.2.3.ebuild
6 gutenprint-5.1.7.ebuild gutenprint-5.2.5.ebuild
7 Log:
8 [net-print/gutenprint] Version bump per bug #333791. Remove old
9
10 (Portage version: 2.2.0_alpha5_p2/cvs/Linux x86_64)
11
12 Revision Changes Path
13 1.13 net-print/gutenprint/ChangeLog
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/gutenprint/ChangeLog?rev=1.13&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/gutenprint/ChangeLog?rev=1.13&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/gutenprint/ChangeLog?r1=1.12&r2=1.13
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/net-print/gutenprint/ChangeLog,v
22 retrieving revision 1.12
23 retrieving revision 1.13
24 diff -u -r1.12 -r1.13
25 --- ChangeLog 9 Nov 2010 21:38:02 -0000 1.12
26 +++ ChangeLog 25 Nov 2010 13:22:35 -0000 1.13
27 @@ -1,6 +1,15 @@
28 # ChangeLog for net-print/gutenprint
29 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/net-print/gutenprint/ChangeLog,v 1.12 2010/11/09 21:38:02 dilfridge Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/net-print/gutenprint/ChangeLog,v 1.13 2010/11/25 13:22:35 alexxy Exp $
32 +
33 +*gutenprint-5.2.6 (25 Nov 2010)
34 +
35 + 25 Nov 2010; Alexey Shvetsov <alexxy@g.o> -gutenprint-5.1.7.ebuild,
36 + -files/gutenprint-5.1.7-parallel-build.patch, -gutenprint-5.2.3.ebuild,
37 + -files/gutenprint-5.2.3-CFLAGS.patch,
38 + -files/gutenprint-5.2.3-parallel-build.patch, -gutenprint-5.2.4.ebuild,
39 + -gutenprint-5.2.5.ebuild, +gutenprint-5.2.6.ebuild:
40 + Version bump per bug #333791. Remove old
41
42 09 Nov 2010; Andreas K. Huettel <dilfridge@g.o>
43 gutenprint-5.2.5-r1.ebuild:
44
45
46
47 1.1 net-print/gutenprint/gutenprint-5.2.6.ebuild
48
49 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/gutenprint/gutenprint-5.2.6.ebuild?rev=1.1&view=markup
50 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/gutenprint/gutenprint-5.2.6.ebuild?rev=1.1&content-type=text/plain
51
52 Index: gutenprint-5.2.6.ebuild
53 ===================================================================
54 # Copyright 1999-2010 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 # $Header: /var/cvsroot/gentoo-x86/net-print/gutenprint/gutenprint-5.2.6.ebuild,v 1.1 2010/11/25 13:22:35 alexxy Exp $
57
58 EAPI="3"
59
60 inherit autotools flag-o-matic eutils multilib
61
62 IUSE="cups foomaticdb gimp gtk readline ppds"
63
64 DESCRIPTION="Ghostscript and cups printer drivers"
65 HOMEPAGE="http://gutenprint.sourceforge.net"
66 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
67 SRC_URI="mirror://sourceforge/gimp-print/${P}.tar.bz2"
68 RESTRICT="test"
69
70 RDEPEND="cups? ( >=net-print/cups-1.1.14 )
71 app-text/ghostscript-gpl
72 sys-libs/readline
73 gtk? ( >=x11-libs/gtk+-2.0 )
74 gimp? ( >=media-gfx/gimp-2.2 >=x11-libs/gtk+-2.0 )
75 dev-lang/perl
76 foomaticdb? ( net-print/foomatic-db-engine )"
77 DEPEND="${RDEPEND}
78 gtk? ( dev-util/pkgconfig )"
79
80 LICENSE="GPL-2"
81 SLOT="0"
82
83 src_prepare() {
84 epatch "${FILESDIR}/${PN}-5.2.4-CFLAGS.patch"
85 # IJS Patch
86 sed -i -e "s:<ijs\([^/]\):<ijs/ijs\1:g" src/ghost/ijsgutenprint.c || die "sed failed"
87 # Regen configure
88 mkdir m4local
89 AT_M4DIR="m4extra" eautoreconf
90 }
91
92 src_configure() {
93 if use cups && use ppds; then
94 myconf="${myconf} --enable-cups-ppds --enable-cups-level3-ppds"
95 else
96 myconf="${myconf} --disable-cups-ppds"
97 fi
98
99 if use gtk || use gimp; then
100 myconf="${myconf} --enable-libgutenprintui2"
101 else
102 myconf="${myconf} --disable-libgutenprintui2"
103 fi
104
105 use foomaticdb \
106 && myconf="${myconf} --with-foomatic3" \
107 || myconf="${myconf} --without-foomatic"
108
109 econf \
110 --enable-test \
111 --enable-epson \
112 --with-ghostscript \
113 --with-user-guide \
114 --with-samples \
115 --with-escputil \
116 --disable-translated-cups-ppds \
117 --enable-nls \
118 $(use_with readline) \
119 $(use_with gimp gimp2) \
120 $(use_with gimp gimp2-as-gutenprint) \
121 $(use_with cups) \
122 ${myconf} || die "econf failed"
123 }
124
125 src_install () {
126 emake DESTDIR="${D}" install || die "emake install failed"
127
128 dodoc AUTHORS ChangeLog NEWS README doc/gutenprint-users-manual.{pdf,odt}
129 dohtml doc/FAQ.html
130 dohtml -r doc/gutenprintui2/html doc/gutenprint/developer-html
131 rm -fR "${D}"/usr/share/gutenprint/doc
132 if ! use gtk && ! use gimp; then
133 rm -f "${D}"/usr/$(get_libdir)/pkgconfig/gutenprintui2.pc
134 rm -rf "${D}"/usr/include/gutenprintui2
135 fi
136 }
137
138 pkg_postinst() {
139 if [ "${ROOT}" == "/" ] && [ -x /usr/sbin/cups-genppdupdate ]; then
140 elog "Updating installed printer ppd files"
141 elog $(/usr/sbin/cups-genppdupdate)
142 else
143 elog "You need to update installed ppds manually using cups-genppdupdate"
144 fi
145 }