1 |
voyageur 12/01/30 11:52:00 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: splix-2.0.0_p20111206.ebuild |
5 |
Log: |
6 |
New snapshot, bugfixes and support for newer printers, ebuild cleanups |
7 |
|
8 |
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.25 net-print/splix/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/splix/ChangeLog?rev=1.25&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/splix/ChangeLog?rev=1.25&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/splix/ChangeLog?r1=1.24&r2=1.25 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-print/splix/ChangeLog,v |
20 |
retrieving revision 1.24 |
21 |
retrieving revision 1.25 |
22 |
diff -u -r1.24 -r1.25 |
23 |
--- ChangeLog 31 Oct 2011 22:36:37 -0000 1.24 |
24 |
+++ ChangeLog 30 Jan 2012 11:52:00 -0000 1.25 |
25 |
@@ -1,6 +1,12 @@ |
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.24 2011/10/31 22:36:37 ssuominen Exp $ |
29 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-print/splix/ChangeLog,v 1.25 2012/01/30 11:52:00 voyageur Exp $ |
31 |
+ |
32 |
+*splix-2.0.0_p20111206 (30 Jan 2012) |
33 |
+ |
34 |
+ 30 Jan 2012; Bernard Cafarelli <voyageur@g.o> |
35 |
+ +splix-2.0.0_p20111206.ebuild: |
36 |
+ New snapshot, bugfixes and support for newer printers, ebuild cleanups |
37 |
|
38 |
31 Oct 2011; Samuli Suominen <ssuominen@g.o> -splix-2.0.0.ebuild, |
39 |
-splix-2.0.0_p20110219.ebuild, |
40 |
|
41 |
|
42 |
|
43 |
1.1 net-print/splix/splix-2.0.0_p20111206.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/splix/splix-2.0.0_p20111206.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/splix/splix-2.0.0_p20111206.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: splix-2.0.0_p20111206.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2012 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_p20111206.ebuild,v 1.1 2012/01/30 11:52:00 voyageur Exp $ |
53 |
|
54 |
EAPI=4 |
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=">=app-text/ghostscript-gpl-9.02 |
68 |
>=net-print/cups-1.4.0 |
69 |
jbig? ( media-libs/jbigkit )" |
70 |
RDEPEND="${DEPEND}" |
71 |
|
72 |
S=${WORKDIR}/${PN} |
73 |
|
74 |
src_prepare() { |
75 |
# Honor LDFLAGS |
76 |
sed -e "/[a-z]_LDFLAGS/s/:=.*/:= $\{LDFLAGS\}/" -i module.mk \ |
77 |
|| die "module.mk sed failed" |
78 |
# Correct link comand, do not strip on install |
79 |
sed -e "s/g++/$\{LINKER\}/" -e "/install/s/-s //" -i rules.mk \ |
80 |
|| die "rules.mk sed failed" |
81 |
} |
82 |
|
83 |
src_compile() { |
84 |
local options="MODE=optimized" |
85 |
use jbig || options="${options} DISABLE_JBIG=1" |
86 |
emake ${options} PSTORASTER=gstoraster CXX="$(tc-getCXX)" \ |
87 |
OPTIM_CFLAGS="${CFLAGS}" OPTIM_CXXFLAGS="${CXXFLAGS}" |
88 |
} |
89 |
|
90 |
src_install() { |
91 |
emake DESTDIR="${D}" install |
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 |
emake DESTDIR="${D}" CMSDIR="${WORKDIR}"/cms installcms |
97 |
} |
98 |
|
99 |
pkg_postinst() { |
100 |
ewarn "You *MUST* make sure that the PPD files that CUPS is using" |
101 |
ewarn "for actually installed printers are updated if you upgraded" |
102 |
ewarn "from a previous version of splix!" |
103 |
ewarn "Otherwise you will be unable to print (your printer might" |
104 |
ewarn "spit out blank pages etc.)." |
105 |
ewarn "To do that, simply delete the corresponding PPD file in" |
106 |
ewarn "/etc/cups/ppd/, click on 'Modify Printer' belonging to the" |
107 |
ewarn "corresponding printer in the CUPS webinterface (usually" |
108 |
ewarn "reachable via http://localhost:631/) and choose the correct" |
109 |
ewarn "printer make and model, for example:" |
110 |
ewarn "'Samsung' -> 'Samsung ML-1610, 1.0 (en)'" |
111 |
} |