Gentoo Archives: gentoo-commits

From: "Stefan Schweizer (genstef)" <genstef@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/gimp-print: ChangeLog gimp-print-5.1.4.ebuild
Date: Sat, 22 Dec 2007 11:24:45
Message-Id: E1J62T5-0000JH-9m@stork.gentoo.org
1 genstef 07/12/22 11:24:35
2
3 Modified: ChangeLog
4 Added: gimp-print-5.1.4.ebuild
5 Log:
6 version bump, thanks Pacho Ramos <pacho@××××××××××××××××××××××××.es> in bug 201876
7 (Portage version: 2.1.4_rc11)
8
9 Revision Changes Path
10 1.90 media-gfx/gimp-print/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/gimp-print/ChangeLog?rev=1.90&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/gimp-print/ChangeLog?rev=1.90&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/gimp-print/ChangeLog?r1=1.89&r2=1.90
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-gfx/gimp-print/ChangeLog,v
19 retrieving revision 1.89
20 retrieving revision 1.90
21 diff -u -r1.89 -r1.90
22 --- ChangeLog 14 Oct 2007 07:27:12 -0000 1.89
23 +++ ChangeLog 22 Dec 2007 11:24:34 -0000 1.90
24 @@ -1,6 +1,13 @@
25 # ChangeLog for media-gfx/gimp-print
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp-print/ChangeLog,v 1.89 2007/10/14 07:27:12 genstef Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp-print/ChangeLog,v 1.90 2007/12/22 11:24:34 genstef Exp $
29 +
30 +*gimp-print-5.1.4 (22 Dec 2007)
31 +
32 + 22 Dec 2007; Stefan Schweizer <genstef@g.o>
33 + +gimp-print-5.1.4.ebuild:
34 + version bump, thanks Pacho Ramos <pacho@××××××××××××××××××××××××.es> in bug
35 + 201876
36
37 14 Oct 2007; Stefan Schweizer <genstef@g.o>
38 gimp-print-5.1.3.ebuild:
39
40
41
42 1.1 media-gfx/gimp-print/gimp-print-5.1.4.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/gimp-print/gimp-print-5.1.4.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/gimp-print/gimp-print-5.1.4.ebuild?rev=1.1&content-type=text/plain
46
47 Index: gimp-print-5.1.4.ebuild
48 ===================================================================
49 # Copyright 1999-2007 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp-print/gimp-print-5.1.4.ebuild,v 1.1 2007/12/22 11:24:34 genstef Exp $
52
53 inherit flag-o-matic eutils multilib
54
55 IUSE="cups foomaticdb gimp gtk readline ppds"
56
57 MY_P=gutenprint-${PV/_/-}
58
59 DESCRIPTION="Gimp Print Drivers"
60 HOMEPAGE="http://gimp-print.sourceforge.net"
61 KEYWORDS="~x86 ~ppc ~alpha ~sparc ~hppa ~amd64 ~ppc64"
62 SRC_URI="mirror://sourceforge/gimp-print/${MY_P}.tar.bz2"
63 RESTRICT="test"
64
65 RDEPEND="cups? ( >=net-print/cups-1.1.14 )
66 virtual/ghostscript
67 sys-libs/readline
68 gtk? ( >=x11-libs/gtk+-2.0 )
69 gimp? ( >=media-gfx/gimp-2.2 >=x11-libs/gtk+-2.0 )
70 dev-lang/perl
71 foomaticdb? ( net-print/foomatic-db-engine )"
72 DEPEND="${RDEPEND}
73 gtk? ( dev-util/pkgconfig )"
74
75 LICENSE="GPL-2"
76 SLOT="0"
77
78 S=${WORKDIR}/${MY_P}
79
80 append-flags -fno-inline-functions
81
82 src_compile() {
83 if use cups && use ppds; then
84 myconf="${myconf} --enable-cups-ppds --enable-cups-level3-ppds"
85 else
86 myconf="${myconf} --disable-cups-ppds"
87 fi
88
89 if use gtk || use gimp; then
90 myconf="${myconf} --enable-libgutenprintui2"
91 else
92 myconf="${myconf} --disable-libgutenprintui2"
93 fi
94
95 use foomaticdb \
96 && myconf="${myconf} --with-foomatic3" \
97 || myconf="${myconf} --without-foomatic"
98
99 econf \
100 --enable-test \
101 --enable-epson \
102 --with-ghostscript \
103 --with-user-guide \
104 --with-samples \
105 --with-escputil \
106 --disable-translated-cups-ppds \
107 --enable-nls \
108 $(use_with readline) \
109 $(use_with gimp gimp2) \
110 $(use_with gimp gimp2-as-gutenprint) \
111 $(use_with cups) \
112 $myconf || die "econf failed"
113
114 # IJS Patch
115 sed -i -e "s:<ijs\([^/]\):<ijs/ijs\1:g" src/ghost/ijsgutenprint.c || die "sed failed"
116
117 emake || die "emake failed"
118 }
119
120 src_install () {
121 emake -j1 DESTDIR="${D}" install || die "emake install failed"
122
123 exeinto /usr/share/gutenprint
124 doexe test/{unprint,pcl-unprint,bjc-unprint,parse-escp2,escp2-weavetest,run-testdither,run-weavetest,testdither}
125
126 dodoc AUTHORS ChangeLog NEWS README doc/gutenprint-users-manual.{pdf,odt}
127 dohtml doc/FAQ.html
128 dohtml -r doc/users_guide/html doc/developer/developer-html
129 rm -fR "${D}"/usr/share/gutenprint/doc
130 if ! use gtk && ! use gimp; then
131 rm -f "${D}"/usr/$(get_libdir)/pkgconfig/gutenprintui2.pc
132 rm -rf "${D}"/usr/include/gutenprintui2
133 fi
134 }
135
136 pkg_postinst() {
137 if [ "${ROOT}" == "/" ] && [ -x /usr/sbin/cups-genppdupdate.5.1 ]; then
138 elog "Updating installed printer ppd files"
139 elog $(/usr/sbin/cups-genppdupdate.5.1)
140 else
141 elog "You need to update installed ppds manually using cups-genppdupdate.5.1"
142 fi
143 }
144
145
146
147 --
148 gentoo-commits@g.o mailing list