Gentoo Archives: gentoo-commits

From: "Bernard Cafarelli (voyageur)" <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-print/splix: ChangeLog splix-2.0.0_p20110219.ebuild
Date: Tue, 29 Mar 2011 10:04:50
Message-Id: 20110329100440.32F8C20054@flycatcher.gentoo.org
1 voyageur 11/03/29 10:04:40
2
3 Modified: ChangeLog
4 Added: splix-2.0.0_p20110219.ebuild
5 Log:
6 Update to a snapshot version, adds support for a series of newer printer and other fixes, fixes bug #359823
7
8 (Portage version: 2.2.0_alpha29/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.18 net-print/splix/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/splix/ChangeLog?rev=1.18&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/splix/ChangeLog?rev=1.18&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/splix/ChangeLog?r1=1.17&r2=1.18
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-print/splix/ChangeLog,v
20 retrieving revision 1.17
21 retrieving revision 1.18
22 diff -u -r1.17 -r1.18
23 --- ChangeLog 28 Mar 2011 17:32:00 -0000 1.17
24 +++ ChangeLog 29 Mar 2011 10:04:40 -0000 1.18
25 @@ -1,6 +1,13 @@
26 # ChangeLog for net-print/splix
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-print/splix/ChangeLog,v 1.17 2011/03/28 17:32:00 angelos Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-print/splix/ChangeLog,v 1.18 2011/03/29 10:04:40 voyageur Exp $
30 +
31 +*splix-2.0.0_p20110219 (29 Mar 2011)
32 +
33 + 29 Mar 2011; Bernard Cafarelli <voyageur@g.o>
34 + +splix-2.0.0_p20110219.ebuild:
35 + Update to a snapshot version, adds support for a series of newer printer and
36 + other fixes, fixes bug #359823
37
38 28 Mar 2011; Christoph Mende <angelos@g.o> splix-2.0.0.ebuild:
39 Stable on amd64 wrt bug #360567
40
41
42
43 1.1 net-print/splix/splix-2.0.0_p20110219.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/splix/splix-2.0.0_p20110219.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/splix/splix-2.0.0_p20110219.ebuild?rev=1.1&content-type=text/plain
47
48 Index: splix-2.0.0_p20110219.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/splix/splix-2.0.0_p20110219.ebuild,v 1.1 2011/03/29 10:04:40 voyageur Exp $
53
54 EAPI=2
55 inherit eutils toolchain-funcs
56
57 DESCRIPTION="A set of CUPS printer drivers for SPL (Samsung Printer Language) printers"
58 HOMEPAGE="http://splix.sourceforge.net/"
59 SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/${P}.tar.bz2
60 http://splix.ap2c.org/samsung_cms.tar.bz2"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65 IUSE="+jbig"
66
67 DEPEND="|| ( >=net-print/cups-1.4.0 net-print/cupsddk )
68 jbig? ( media-libs/jbigkit )"
69 RDEPEND="${DEPEND}"
70
71 S=${WORKDIR}/${PN}
72
73 src_prepare() {
74 # Honor LDFLAGS
75 sed -e "/[a-z]_LDFLAGS/s/:=.*/:= $\{LDFLAGS\}/" -i module.mk \
76 || die "module.mk sed failed"
77 # Correct link comand, do not strip on install
78 sed -e "s/g++/$\{LINKER\}/" -e "/install/s/-s //" -i rules.mk \
79 || die "rules.mk sed failed"
80 }
81
82 src_compile() {
83 local options="MODE=optimized"
84 use jbig || options="${options} DISABLE_JBIG=1"
85 emake ${options} CXX="$(tc-getCXX)" \
86 OPTIM_CFLAGS="${CFLAGS}" OPTIM_CXXFLAGS="${CXXFLAGS}" \
87 || die "emake failed"
88 }
89
90 src_install() {
91 emake DESTDIR="${D}" install || die "emake install failed"
92 gzip "${D}"/$(cups-config --datadir)/model/*/*.ppd || die "ppd gzip failed"
93
94 insinto $(cups-config --datadir)/model/samsung
95 doins -r "${WORKDIR}"/cms
96 }
97
98 pkg_postinst() {
99 ewarn "You *MUST* make sure that the PPD files that CUPS is using"
100 ewarn "for actually installed printers are updated if you upgraded"
101 ewarn "from a previous version of splix!"
102 ewarn "Otherwise you will be unable to print (your printer might"
103 ewarn "spit out blank pages etc.)."
104 ewarn "To do that, simply delete the corresponding PPD file in"
105 ewarn "/etc/cups/ppd/, click on 'Modify Printer' belonging to the"
106 ewarn "corresponding printer in the CUPS webinterface (usually"
107 ewarn "reachable via http://localhost:631/) and choose the correct"
108 ewarn "printer make and model, for example:"
109 ewarn "'Samsung' -> 'Samsung ML-1610, 1.0 (en)'"
110 }