1 |
dilfridge 13/12/27 22:32:17 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: cups-filters-1.0.43.ebuild |
5 |
Log: |
6 |
Version bump, without keywords since deps on foomatic-filters need to be fixed first |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 84AD142F) |
9 |
|
10 |
Revision Changes Path |
11 |
1.92 net-print/cups-filters/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/cups-filters/ChangeLog?rev=1.92&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/cups-filters/ChangeLog?rev=1.92&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/cups-filters/ChangeLog?r1=1.91&r2=1.92 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-print/cups-filters/ChangeLog,v |
20 |
retrieving revision 1.91 |
21 |
retrieving revision 1.92 |
22 |
diff -u -r1.91 -r1.92 |
23 |
--- ChangeLog 27 Dec 2013 22:09:41 -0000 1.91 |
24 |
+++ ChangeLog 27 Dec 2013 22:32:17 -0000 1.92 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for net-print/cups-filters |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-print/cups-filters/ChangeLog,v 1.91 2013/12/27 22:09:41 dilfridge Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-print/cups-filters/ChangeLog,v 1.92 2013/12/27 22:32:17 dilfridge Exp $ |
30 |
+ |
31 |
+*cups-filters-1.0.43 (27 Dec 2013) |
32 |
+ |
33 |
+ 27 Dec 2013; Andreas K. Huettel <dilfridge@g.o> |
34 |
+ +cups-filters-1.0.43.ebuild: |
35 |
+ Version bump, without keywords since deps on foomatic-filters need to be |
36 |
+ fixed first |
37 |
|
38 |
27 Dec 2013; Andreas K. Huettel <dilfridge@g.o> |
39 |
cups-filters-9999.ebuild: |
40 |
|
41 |
|
42 |
|
43 |
1.1 net-print/cups-filters/cups-filters-1.0.43.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/cups-filters/cups-filters-1.0.43.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/cups-filters/cups-filters-1.0.43.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: cups-filters-1.0.43.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2013 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/net-print/cups-filters/cups-filters-1.0.43.ebuild,v 1.1 2013/12/27 22:32:17 dilfridge Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
|
56 |
GENTOO_DEPEND_ON_PERL=no |
57 |
|
58 |
inherit base eutils perl-module autotools systemd |
59 |
|
60 |
if [[ "${PV}" == "9999" ]] ; then |
61 |
inherit bzr |
62 |
EBZR_REPO_URI="http://bzr.linuxfoundation.org/openprinting/cups-filters" |
63 |
KEYWORDS="" |
64 |
else |
65 |
SRC_URI="http://www.openprinting.org/download/${PN}/${P}.tar.xz" |
66 |
# KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~m68k-mint" |
67 |
KEYWORDS="" |
68 |
fi |
69 |
DESCRIPTION="Cups PDF filters" |
70 |
HOMEPAGE="http://www.linuxfoundation.org/collaborate/workgroups/openprinting/pdfasstandardprintjobformat" |
71 |
|
72 |
LICENSE="MIT GPL-2" |
73 |
SLOT="0" |
74 |
IUSE="jpeg perl png static-libs tiff zeroconf" |
75 |
|
76 |
RDEPEND=" |
77 |
>=app-text/ghostscript-gpl-9.09 |
78 |
app-text/poppler:=[cxx,jpeg?,lcms,tiff?,xpdf-headers(+)] |
79 |
>=app-text/qpdf-3.0.2:= |
80 |
media-libs/fontconfig |
81 |
media-libs/freetype:2 |
82 |
media-libs/lcms:2 |
83 |
>net-print/cups-1.5.9999 |
84 |
!<=net-print/cups-1.5.9999 |
85 |
sys-devel/bc |
86 |
sys-libs/zlib |
87 |
!net-print/foomatic-filters |
88 |
jpeg? ( virtual/jpeg:0 ) |
89 |
perl? ( dev-lang/perl ) |
90 |
png? ( media-libs/libpng:0= ) |
91 |
tiff? ( media-libs/tiff ) |
92 |
zeroconf? ( net-dns/avahi[dbus] ) |
93 |
" |
94 |
DEPEND="${RDEPEND}" |
95 |
|
96 |
src_prepare() { |
97 |
base_src_prepare |
98 |
sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die |
99 |
eautoreconf |
100 |
} |
101 |
|
102 |
src_configure() { |
103 |
econf \ |
104 |
--docdir="${EPREFIX}/usr/share/doc/${PF}" \ |
105 |
$(use_enable zeroconf avahi) \ |
106 |
$(use_enable static-libs static) \ |
107 |
--with-fontdir="fonts/conf.avail" \ |
108 |
--with-pdftops=pdftops \ |
109 |
--enable-imagefilters \ |
110 |
$(use_with jpeg) \ |
111 |
$(use_with png) \ |
112 |
$(use_with tiff) \ |
113 |
--with-rcdir=no \ |
114 |
--with-browseremoteprotocols=DNSSD,CUPS \ |
115 |
--without-php |
116 |
} |
117 |
|
118 |
src_compile() { |
119 |
default |
120 |
|
121 |
if use perl; then |
122 |
pushd "${S}/scripting/perl" > /dev/null |
123 |
perl-module_src_prep |
124 |
perl-module_src_compile |
125 |
popd > /dev/null |
126 |
fi |
127 |
} |
128 |
|
129 |
src_install() { |
130 |
default |
131 |
|
132 |
if use perl; then |
133 |
pushd "${S}/scripting/perl" > /dev/null |
134 |
perl-module_src_install |
135 |
fixlocalpod |
136 |
popd > /dev/null |
137 |
fi |
138 |
|
139 |
# workaround: some printer drivers still require pstoraster and pstopxl, bug #383831 |
140 |
dosym /usr/libexec/cups/filter/gstoraster /usr/libexec/cups/filter/pstoraster |
141 |
dosym /usr/libexec/cups/filter/gstopxl /usr/libexec/cups/filter/pstopxl |
142 |
|
143 |
prune_libtool_files --all |
144 |
|
145 |
cp "${FILESDIR}"/cups-browsed.init.d "${T}"/cups-browsed || die |
146 |
|
147 |
if ! use zeroconf ; then |
148 |
sed -i -e 's:need cupsd avahi-daemon:need cupsd:g' "${T}"/cups-browsed || die |
149 |
sed -i -e 's:cups\.service avahi-daemon\.service:cups.service:g' "${S}"/utils/cups-browsed.service || die |
150 |
fi |
151 |
|
152 |
doinitd "${T}"/cups-browsed |
153 |
systemd_dounit "${S}/utils/cups-browsed.service" |
154 |
} |
155 |
|
156 |
pkg_postinst() { |
157 |
perl-module_pkg_postinst |
158 |
|
159 |
elog "This version of cups-filters includes cups-browsed, a daemon that autodiscovers" |
160 |
elog "remote queues via avahi or cups-1.5 browsing protocol and adds them to your cups" |
161 |
elog "configuration. You may want to add it to your default runlevel." |
162 |
} |