From: | "Bernard Cafarelli (voyageur)" <voyageur@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-print/cups-pdf: ChangeLog cups-pdf-2.5.1-r1.ebuild cups-pdf-2.5.1.ebuild |
Date: | Mon, 30 May 2011 17:05:32 |
Message-Id: | 20110530170521.EF25C20054@flycatcher.gentoo.org |
1 | voyageur 11/05/30 17:05:21 |
2 | |
3 | Modified: ChangeLog |
4 | Added: cups-pdf-2.5.1-r1.ebuild |
5 | Removed: cups-pdf-2.5.1.ebuild |
6 | Log: |
7 | Install backend with correct permissions, bug #365875 |
8 | |
9 | (Portage version: 2.2.0_alpha37/cvs/Linux x86_64) |
10 | |
11 | Revision Changes Path |
12 | 1.46 net-print/cups-pdf/ChangeLog |
13 | |
14 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/cups-pdf/ChangeLog?rev=1.46&view=markup |
15 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/cups-pdf/ChangeLog?rev=1.46&content-type=text/plain |
16 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/cups-pdf/ChangeLog?r1=1.45&r2=1.46 |
17 | |
18 | Index: ChangeLog |
19 | =================================================================== |
20 | RCS file: /var/cvsroot/gentoo-x86/net-print/cups-pdf/ChangeLog,v |
21 | retrieving revision 1.45 |
22 | retrieving revision 1.46 |
23 | diff -u -r1.45 -r1.46 |
24 | --- ChangeLog 30 Apr 2011 15:04:55 -0000 1.45 |
25 | +++ ChangeLog 30 May 2011 17:05:21 -0000 1.46 |
26 | @@ -1,6 +1,12 @@ |
27 | # ChangeLog for net-print/cups-pdf |
28 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 | -# $Header: /var/cvsroot/gentoo-x86/net-print/cups-pdf/ChangeLog,v 1.45 2011/04/30 15:04:55 scarabeus Exp $ |
30 | +# $Header: /var/cvsroot/gentoo-x86/net-print/cups-pdf/ChangeLog,v 1.46 2011/05/30 17:05:21 voyageur Exp $ |
31 | + |
32 | +*cups-pdf-2.5.1-r1 (30 May 2011) |
33 | + |
34 | + 30 May 2011; Bernard Cafarelli <voyageur@g.o> -cups-pdf-2.5.1.ebuild, |
35 | + +cups-pdf-2.5.1-r1.ebuild: |
36 | + Install backend with correct permissions, bug #365875 |
37 | |
38 | *cups-pdf-2.5.1 (30 Apr 2011) |
39 | |
40 | |
41 | |
42 | |
43 | 1.1 net-print/cups-pdf/cups-pdf-2.5.1-r1.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/cups-pdf/cups-pdf-2.5.1-r1.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/cups-pdf/cups-pdf-2.5.1-r1.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: cups-pdf-2.5.1-r1.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2011 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/net-print/cups-pdf/cups-pdf-2.5.1-r1.ebuild,v 1.1 2011/05/30 17:05:21 voyageur Exp $ |
53 | |
54 | EAPI=4 |
55 | |
56 | inherit toolchain-funcs |
57 | |
58 | DESCRIPTION="Provides a virtual printer for CUPS to produce PDF files." |
59 | HOMEPAGE="http://www.cups-pdf.de/" |
60 | SRC_URI="http://www.cups-pdf.de/src/${PN}_${PV}.tar.gz" |
61 | |
62 | LICENSE="GPL-2" |
63 | SLOT="0" |
64 | KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
65 | IUSE="" |
66 | |
67 | DEPEND="net-print/cups |
68 | app-text/ghostscript-gpl" |
69 | RDEPEND="${DEPEND}" |
70 | |
71 | src_compile() { |
72 | cd "${S}"/src |
73 | $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o ${PN} ${PN}.c || die "Compilation failed." |
74 | } |
75 | |
76 | src_install () { |
77 | exeinto /usr/libexec/cups/backend |
78 | exeopts -m0700 |
79 | doexe src/cups-pdf |
80 | |
81 | insinto /usr/share/cups/model |
82 | doins extra/CUPS-PDF.ppd |
83 | |
84 | insinto /etc/cups |
85 | doins extra/cups-pdf.conf |
86 | |
87 | dodoc ChangeLog README |
88 | newdoc contrib/Contents contrib_Contents |
89 | } |
90 | |
91 | pkg_postinst () { |
92 | elog "Please view both the README and contrib_Contents files" |
93 | elog "as you may want to adjust some settings and/or use" |
94 | elog "contributed software. In the latter case you may need" |
95 | elog "to extract some files from the ${P} distfile." |
96 | } |