mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 11:37:20 -08:00
net-print/cups-filters: Removed old.
Package-Manager: Portage-2.3.11, Repoman-2.3.3
This commit is contained in:
@@ -2,4 +2,3 @@ DIST cups-filters-1.13.5.tar.xz 1424764 SHA256 35db1c5821c9ff0e0fedcf87b3ae68a42
|
||||
DIST cups-filters-1.16.4.tar.xz 1440964 SHA256 2642c6a3cbf10a38d91f20b7b292583d19acb64e786eb6513b7b45738a2e5aed SHA512 367c2c1d6755800b88f79808ef0c595aa80b080634299d015828bfb8f0e27085aa052c77e3f3f1645833340caca709bec8e00b46070ff4d13b9994fb1400da60 WHIRLPOOL 30f4e70770c60a743ca845e294e1bf79f3efa83e10f01398a0432461d31e59eac6568e6a302425250bd0417963e63b1ef208e35e5ddcf1a1f4125bdd80480324
|
||||
DIST cups-filters-1.17.8.tar.xz 1455096 SHA256 9acefd72f8e6a6e5fb6e80d37aad8c712c326bf484afb735e8ff7d7b86975870 SHA512 01f4499fb1db456a1fb11b8e39b5de273229c7aa2f87d079e237501ccd70bf637ca5e15d19fb9f7930be700ab6958e1a597bda8d0970260b5e7577eb5447f797 WHIRLPOOL 2bfd485b053b33882cff8cff27b7db62a903be30f4597324326b8cf70d1e3ce75b1ee5c1712099ced498fb1267274032f20c85dddac0d4033dc98dfc34f435ff
|
||||
DIST cups-filters-1.17.9.tar.xz 1454068 SHA256 98ae3f8c8309ea950144e582d252e65f4636e8812832a982edd0ab83eddef544 SHA512 811d2671c660a2129c207d5d8daaa576b027ba14ac4cf4753d0e8c1190866a684e284f1e7439b864aaab332e429befbc13c567bf6c9fc1a502fe2cd7d11e5ed4 WHIRLPOOL 0b838e546bc505353a7e6294b536ddd3a68b767fa63495f289faa96f9196b2b345a75e611cf082d3c45976658be8eaad60ea5a11d57f7bff9f826b6f3a1835d7
|
||||
DIST cups-filters-1.5.0.tar.xz 1375588 SHA256 f22a8864e8d5b693795605a31345c08cc68f85120ebde9a0aa7bc27639815932 SHA512 81574f8368aaef61aeee4369caa394f2c8cdc717b03687d8a17c7927892f07cff68f1efb8d674757cb97001b55fd58fa5c14784a510ce9d31e385b1a73cd18c7 WHIRLPOOL 4201d08a2bb76d349a6b9f7220eb48dea86bb81c0cedbe8dcb8796c49ce26f67f6a7c49677b4fc7b6f865eb20e3c806746f565668e9f9e1e3935630621d032cd
|
||||
|
||||
@@ -1,117 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
GENTOO_DEPEND_ON_PERL=no
|
||||
|
||||
inherit eutils perl-module systemd
|
||||
|
||||
if [[ "${PV}" == "9999" ]] ; then
|
||||
inherit bzr
|
||||
EBZR_REPO_URI="http://bzr.linuxfoundation.org/openprinting/cups-filters"
|
||||
else
|
||||
SRC_URI="http://www.openprinting.org/download/${PN}/${P}.tar.xz"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-fbsd ~m68k-mint"
|
||||
fi
|
||||
DESCRIPTION="Cups filters"
|
||||
HOMEPAGE="https://wiki.linuxfoundation.org/openprinting/cups-filters"
|
||||
|
||||
LICENSE="MIT GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="dbus +foomatic jpeg ldap perl png static-libs tiff zeroconf"
|
||||
|
||||
RDEPEND="
|
||||
>=app-text/ghostscript-gpl-9.09
|
||||
>=app-text/poppler-0.32:=[cxx,jpeg?,lcms,tiff?,utils,xpdf-headers(+)]
|
||||
>=app-text/qpdf-3.0.2:=
|
||||
dev-libs/glib:2
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype:2
|
||||
media-libs/lcms:2
|
||||
>=net-print/cups-1.7.3
|
||||
!<=net-print/cups-1.5.9999
|
||||
sys-devel/bc
|
||||
sys-libs/zlib
|
||||
dbus? ( sys-apps/dbus )
|
||||
foomatic? ( !net-print/foomatic-filters )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
ldap? ( net-nds/openldap )
|
||||
perl? ( dev-lang/perl:= )
|
||||
png? ( media-libs/libpng:0= )
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
zeroconf? ( net-dns/avahi[dbus] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/gdbus-codegen
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
$(use_enable dbus) \
|
||||
$(use_enable zeroconf avahi) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable ldap) \
|
||||
--with-fontdir="fonts/conf.avail" \
|
||||
--with-pdftops=pdftops \
|
||||
--enable-imagefilters \
|
||||
$(use_with jpeg) \
|
||||
$(use_with png) \
|
||||
$(use_with tiff) \
|
||||
--with-rcdir=no \
|
||||
--with-browseremoteprotocols=DNSSD,CUPS \
|
||||
--without-php
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
MAKEOPTS=-j1 default
|
||||
|
||||
if use perl; then
|
||||
pushd "${S}/scripting/perl" > /dev/null
|
||||
perl-module_src_configure
|
||||
perl-module_src_compile
|
||||
popd > /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use perl; then
|
||||
pushd "${S}/scripting/perl" > /dev/null
|
||||
perl-module_src_install
|
||||
perl_delete_localpod
|
||||
popd > /dev/null
|
||||
fi
|
||||
|
||||
# workaround: some printer drivers still require pstoraster and pstopxl, bug #383831
|
||||
dosym /usr/libexec/cups/filter/gstoraster /usr/libexec/cups/filter/pstoraster
|
||||
dosym /usr/libexec/cups/filter/gstopxl /usr/libexec/cups/filter/pstopxl
|
||||
|
||||
prune_libtool_files --all
|
||||
|
||||
cp "${FILESDIR}"/cups-browsed.init.d "${T}"/cups-browsed || die
|
||||
|
||||
if ! use zeroconf ; then
|
||||
sed -i -e 's:need cupsd avahi-daemon:need cupsd:g' "${T}"/cups-browsed || die
|
||||
sed -i -e 's:cups\.service avahi-daemon\.service:cups.service:g' "${S}"/utils/cups-browsed.service || die
|
||||
fi
|
||||
|
||||
if ! use foomatic ; then
|
||||
# this needs an upstream solution / configure switch
|
||||
rm -v "${ED}/usr/bin/foomatic-rip" || die
|
||||
rm -v "${ED}/usr/libexec/cups/filter/foomatic-rip" || die
|
||||
rm -v "${ED}/usr/share/man/man1/foomatic-rip.1" || die
|
||||
fi
|
||||
|
||||
doinitd "${T}"/cups-browsed
|
||||
systemd_dounit "${S}/utils/cups-browsed.service"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use foomatic ; then
|
||||
ewarn "You are disabling the foomatic code in cups-filters. Please do that ONLY if absolutely."
|
||||
ewarn "necessary. net-print/foomatic-filters as replacement is deprecated and unmaintained."
|
||||
fi
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
PIDFILE=/var/run/cups-browsed.pid
|
||||
|
||||
depend() {
|
||||
need cupsd avahi-daemon
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting cups-browsed"
|
||||
start-stop-daemon --start --make-pidfile --pidfile "${PIDFILE}" \
|
||||
--background --quiet --exec /usr/sbin/cups-browsed
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping cups-browsed"
|
||||
start-stop-daemon --stop --pidfile "${PIDFILE}" --quiet --exec /usr/sbin/cupsd
|
||||
eend $?
|
||||
}
|
||||
Reference in New Issue
Block a user