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: splix-2.0.0_p20130826.ebuild ChangeLog
Date: Sat, 07 Jun 2014 19:45:36
Message-Id: 20140607194532.58DE02004E@flycatcher.gentoo.org
1 voyageur 14/06/07 19:45:32
2
3 Modified: ChangeLog
4 Added: splix-2.0.0_p20130826.ebuild
5 Log:
6 Bump to latest snapshot, adds some new models support and some fixes. Also fetch cms tarball from my devspace
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key C74525F2)
9
10 Revision Changes Path
11 1.29 net-print/splix/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/splix/ChangeLog?rev=1.29&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/splix/ChangeLog?rev=1.29&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/splix/ChangeLog?r1=1.28&r2=1.29
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-print/splix/ChangeLog,v
20 retrieving revision 1.28
21 retrieving revision 1.29
22 diff -u -r1.28 -r1.29
23 --- ChangeLog 16 Aug 2013 09:30:33 -0000 1.28
24 +++ ChangeLog 7 Jun 2014 19:45:32 -0000 1.29
25 @@ -1,6 +1,13 @@
26 # ChangeLog for net-print/splix
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-print/splix/ChangeLog,v 1.28 2013/08/16 09:30:33 mrueg Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-print/splix/ChangeLog,v 1.29 2014/06/07 19:45:32 voyageur Exp $
31 +
32 +*splix-2.0.0_p20130826 (07 Jun 2014)
33 +
34 + 07 Jun 2014; Bernard Cafarelli <voyageur@g.o>
35 + +splix-2.0.0_p20130826.ebuild:
36 + Bump to latest snapshot, adds some new models support and some fixes. Also
37 + fetch cms tarball from my devspace
38
39 16 Aug 2013; Manuel RĂ¼ger <mrueg@g.o> -splix-2.0.0_p20110219-r1.ebuild:
40 Cleanup.
41
42
43
44 1.1 net-print/splix/splix-2.0.0_p20130826.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/splix/splix-2.0.0_p20130826.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/splix/splix-2.0.0_p20130826.ebuild?rev=1.1&content-type=text/plain
48
49 Index: splix-2.0.0_p20130826.ebuild
50 ===================================================================
51 # Copyright 1999-2014 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/net-print/splix/splix-2.0.0_p20130826.ebuild,v 1.1 2014/06/07 19:45:32 voyageur Exp $
54
55 EAPI=5
56 inherit eutils toolchain-funcs
57
58 DESCRIPTION="A set of CUPS printer drivers for SPL (Samsung Printer Language) printers"
59 HOMEPAGE="http://splix.sourceforge.net/"
60 SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/${P}.tar.bz2
61 http://dev.gentoo.org/~voyageur/samsung-cms-20120312.tar.xz"
62
63 LICENSE="GPL-2"
64 SLOT="0"
65 KEYWORDS="~amd64 ~x86"
66 IUSE="+jbig"
67
68 DEPEND=">=app-text/ghostscript-gpl-9.02
69 >=net-print/cups-1.4.0
70 jbig? ( media-libs/jbigkit )"
71 RDEPEND="${DEPEND}"
72
73 src_prepare() {
74 # Move to correct place
75 mv *.ppd ppd/ || die "ppd files move failed"
76 # Honor LDFLAGS
77 sed -e "/[a-z]_LDFLAGS/s/:=.*/:= $\{LDFLAGS\}/" -i module.mk \
78 || die "module.mk sed failed"
79 # Correct link comand
80 sed -e "s/g++/$\{LINKER\}/" -i rules.mk \
81 || die "rules.mk sed failed"
82 }
83
84 src_compile() {
85 local options="MODE=optimized"
86 use jbig || options="${options} DISABLE_JBIG=1"
87 emake ${options} PSTORASTER=gstoraster CXX="$(tc-getCXX)" \
88 OPTIM_CFLAGS="${CFLAGS}" OPTIM_CXXFLAGS="${CXXFLAGS}"
89 }
90
91 src_install() {
92 emake DESTDIR="${D}" install
93 gzip "${ED}"/$(cups-config --datadir)/model/*/*.ppd || die "ppd gzip failed"
94
95 emake DESTDIR="${D}" CMSDIR="${WORKDIR}"/cms MANUFACTURER=samsung installcms
96 # Add symlinks for xerox and dell models (installed in samsung)
97 dosym $(cups-config --datadir)/profiles/samsung $(cups-config --datadir)/profiles/xerox
98 dosym $(cups-config --datadir)/profiles/samsung $(cups-config --datadir)/profiles/dell
99 }
100
101 pkg_postinst() {
102 ewarn "You *MUST* make sure that the PPD files that CUPS is using"
103 ewarn "for actually installed printers are updated if you upgraded"
104 ewarn "from a previous version of splix!"
105 ewarn "Otherwise you will be unable to print (your printer might"
106 ewarn "spit out blank pages etc.)."
107 ewarn "To do that, simply delete the corresponding PPD file in"
108 ewarn "/etc/cups/ppd/, click on 'Modify Printer' belonging to the"
109 ewarn "corresponding printer in the CUPS webinterface (usually"
110 ewarn "reachable via http://localhost:631/) and choose the correct"
111 ewarn "printer make and model, for example:"
112 ewarn "'Samsung' -> 'Samsung ML-1610, 1.0 (en)'"
113 }