Gentoo Archives: gentoo-commits

From: Bernard Cafarelli <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-print/splix/
Date: Wed, 07 Feb 2018 10:31:49
Message-Id: 1517999487.dd48dc5b0a5bdfdc99904399c79510aeaa94d52f.voyageur@gentoo
1 commit: dd48dc5b0a5bdfdc99904399c79510aeaa94d52f
2 Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 7 09:48:29 2018 +0000
4 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 7 10:31:27 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd48dc5b
7
8 net-print/splix: drop old
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 net-print/splix/Manifest | 1 -
13 net-print/splix/splix-2.0.0_p20111206.ebuild | 71 ----------------------------
14 2 files changed, 72 deletions(-)
15
16 diff --git a/net-print/splix/Manifest b/net-print/splix/Manifest
17 index 52c4d861690..4df920013ea 100644
18 --- a/net-print/splix/Manifest
19 +++ b/net-print/splix/Manifest
20 @@ -1,3 +1,2 @@
21 DIST samsung-cms-20120312.tar.xz 3354884 BLAKE2B ebff80c7e4ddebb87c46b0d282c64037d7584170ed224931e5b17fc93a76b162bd1b33ed00c59371464dcaef345cf6c33d428aa42c7b67c82958a23384ed0bac SHA512 448f111493540dc93b88d59fa50857bdca2aa9eb772e53c1d227402235d878ad599683d74bc4d815b4789527b5e7ebe207bb0c8fa9194eaf61ca95b78a1444db
22 -DIST splix-2.0.0_p20111206.tar.bz2 122216 BLAKE2B d7f2986b57a3ea3397112c7a9d001f8e38be97cf2dcfdee971f3eb3aa73c91fd82e7cdbc502369519a43ec3a5d68f7b705553b42f5a9e625f07bef187791cbf2 SHA512 370840b646acb7d62814a7b8a123fb4e7b51360f83ea6c2ec4b7b1ecc15a42d7538bfa9bdb3bcc52c6f1e2cd46a0f72467ab8a8f9753341b823ac9986820d3b5
23 DIST splix-2.0.0_p20130826.tar.bz2 127278 BLAKE2B 6a8eb6b15e5208dd4173d50bf2b41d0e0f136057fbb46f36fb68ab1302c0c8a6b735311bc03f15e7afce0de802b3fa62df04ad5cd016532216b67a74e39835c3 SHA512 dda07e24b4321e6c1e3d4fbdd03fcc2b5931465db36ed9d8676a62313c4c64b7cbd58bf41996ddd1ab02086438f225439db0506aca7f0269f6c84e80eff72cb0
24
25 diff --git a/net-print/splix/splix-2.0.0_p20111206.ebuild b/net-print/splix/splix-2.0.0_p20111206.ebuild
26 deleted file mode 100644
27 index 57df07148cd..00000000000
28 --- a/net-print/splix/splix-2.0.0_p20111206.ebuild
29 +++ /dev/null
30 @@ -1,71 +0,0 @@
31 -# Copyright 1999-2012 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=4
35 -inherit eutils toolchain-funcs
36 -
37 -DESCRIPTION="A set of CUPS printer drivers for SPL (Samsung Printer Language) printers"
38 -HOMEPAGE="http://splix.sourceforge.net/"
39 -SRC_URI="https://dev.gentoo.org/~voyageur/distfiles/${P}.tar.bz2
40 - http://dev.gentooexperimental.org/~scarabeus/samsung-cms-20120312.tar.xz"
41 -
42 -# If you can't find your printer cms open the new bug if you recheck the
43 -# cms home and it is contained there. Otherwise bummer.
44 -# The cms can be found here:
45 -# http://www.bchemnet.com/suldr/smfpv3.html
46 -# It is stored int he unifieddriver tarball and repacked.
47 -
48 -LICENSE="GPL-2"
49 -SLOT="0"
50 -KEYWORDS="amd64 x86"
51 -IUSE="+jbig"
52 -
53 -DEPEND=">=app-text/ghostscript-gpl-9.02
54 - >=net-print/cups-1.4.0
55 - jbig? ( media-libs/jbigkit )"
56 -RDEPEND="${DEPEND}"
57 -
58 -S=${WORKDIR}/${PN}
59 -
60 -src_prepare() {
61 - # Honor LDFLAGS
62 - sed -e "/[a-z]_LDFLAGS/s/:=.*/:= $\{LDFLAGS\}/" -i module.mk \
63 - || die "module.mk sed failed"
64 - # Correct link comand, do not strip on install
65 - sed -e "s/g++/$\{LINKER\}/" -e "/install/s/-s //" -i rules.mk \
66 - || die "rules.mk sed failed"
67 -}
68 -
69 -src_compile() {
70 - local options="MODE=optimized"
71 - use jbig || options="${options} DISABLE_JBIG=1"
72 - emake ${options} PSTORASTER=gstoraster CXX="$(tc-getCXX)" \
73 - OPTIM_CFLAGS="${CFLAGS}" OPTIM_CXXFLAGS="${CXXFLAGS}"
74 -}
75 -
76 -src_install() {
77 - emake DESTDIR="${D}" install
78 - gzip "${ED}"/$(cups-config --datadir)/model/*/*.ppd || die "ppd gzip failed"
79 -
80 - # it is expected to be at:
81 - # /usr/share/cups/profiles/{samsung,xerox,dell}
82 - # instead it is only at:
83 - # /usr/share/cups/profiles/samsung
84 - emake DESTDIR="${D}" CMSDIR="${WORKDIR}"/cms MANUFACTURER=samsung installcms
85 - dosym $(cups-config --datadir)/profiles/samsung $(cups-config --datadir)/profiles/xerox
86 - dosym $(cups-config --datadir)/profiles/samsung $(cups-config --datadir)/profiles/dell
87 -}
88 -
89 -pkg_postinst() {
90 - ewarn "You *MUST* make sure that the PPD files that CUPS is using"
91 - ewarn "for actually installed printers are updated if you upgraded"
92 - ewarn "from a previous version of splix!"
93 - ewarn "Otherwise you will be unable to print (your printer might"
94 - ewarn "spit out blank pages etc.)."
95 - ewarn "To do that, simply delete the corresponding PPD file in"
96 - ewarn "/etc/cups/ppd/, click on 'Modify Printer' belonging to the"
97 - ewarn "corresponding printer in the CUPS webinterface (usually"
98 - ewarn "reachable via http://localhost:631/) and choose the correct"
99 - ewarn "printer make and model, for example:"
100 - ewarn "'Samsung' -> 'Samsung ML-1610, 1.0 (en)'"
101 -}