public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [gentoo-commits] gentoo-x86 commit in net-print/splix: ChangeLog splix-2.0.0_p20111206.ebuild
@ 2012-01-30 11:52 99% Bernard Cafarelli (voyageur)
  0 siblings, 0 replies; 1+ results
From: Bernard Cafarelli (voyageur) @ 2012-01-30 11:52 UTC (permalink / raw
  To: gentoo-commits

voyageur    12/01/30 11:52:00

  Modified:             ChangeLog
  Added:                splix-2.0.0_p20111206.ebuild
  Log:
  New snapshot, bugfixes and support for newer printers, ebuild cleanups
  
  (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)

Revision  Changes    Path
1.25                 net-print/splix/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/splix/ChangeLog?rev=1.25&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/splix/ChangeLog?rev=1.25&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/splix/ChangeLog?r1=1.24&r2=1.25

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-print/splix/ChangeLog,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- ChangeLog	31 Oct 2011 22:36:37 -0000	1.24
+++ ChangeLog	30 Jan 2012 11:52:00 -0000	1.25
@@ -1,6 +1,12 @@
 # ChangeLog for net-print/splix
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/splix/ChangeLog,v 1.24 2011/10/31 22:36:37 ssuominen Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/splix/ChangeLog,v 1.25 2012/01/30 11:52:00 voyageur Exp $
+
+*splix-2.0.0_p20111206 (30 Jan 2012)
+
+  30 Jan 2012; Bernard Cafarelli <voyageur@gentoo.org>
+  +splix-2.0.0_p20111206.ebuild:
+  New snapshot, bugfixes and support for newer printers, ebuild cleanups
 
   31 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> -splix-2.0.0.ebuild,
   -splix-2.0.0_p20110219.ebuild,



1.1                  net-print/splix/splix-2.0.0_p20111206.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/splix/splix-2.0.0_p20111206.ebuild?rev=1.1&view=markup
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

Index: splix-2.0.0_p20111206.ebuild
===================================================================
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $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 $

EAPI=4
inherit eutils toolchain-funcs

DESCRIPTION="A set of CUPS printer drivers for SPL (Samsung Printer Language) printers"
HOMEPAGE="http://splix.sourceforge.net/"
SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/${P}.tar.bz2
	http://splix.ap2c.org/samsung_cms.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+jbig"

DEPEND=">=app-text/ghostscript-gpl-9.02
	>=net-print/cups-1.4.0
	jbig? ( media-libs/jbigkit )"
RDEPEND="${DEPEND}"

S=${WORKDIR}/${PN}

src_prepare() {
	# Honor LDFLAGS
	sed -e "/[a-z]_LDFLAGS/s/:=.*/:= $\{LDFLAGS\}/" -i module.mk \
		|| die "module.mk sed failed"
	# Correct link comand, do not strip on install
	sed -e "s/g++/$\{LINKER\}/" -e "/install/s/-s //" -i rules.mk \
		|| die "rules.mk sed failed"
}

src_compile() {
	local options="MODE=optimized"
	use jbig || options="${options} DISABLE_JBIG=1"
	emake ${options} PSTORASTER=gstoraster CXX="$(tc-getCXX)" \
		OPTIM_CFLAGS="${CFLAGS}" OPTIM_CXXFLAGS="${CXXFLAGS}"
}

src_install() {
	emake DESTDIR="${D}" install
	gzip "${D}"/$(cups-config --datadir)/model/*/*.ppd || die "ppd gzip failed"

	#insinto $(cups-config --datadir)/model/samsung
	#doins -r "${WORKDIR}"/cms
	emake DESTDIR="${D}" CMSDIR="${WORKDIR}"/cms installcms
}

pkg_postinst() {
	ewarn "You *MUST* make sure that the PPD files that CUPS is using"
	ewarn "for actually installed printers are updated if you upgraded"
	ewarn "from a previous version of splix!"
	ewarn "Otherwise you will be unable to print (your printer might"
	ewarn "spit out blank pages etc.)."
	ewarn "To do that, simply delete the corresponding PPD file in"
	ewarn "/etc/cups/ppd/, click on 'Modify Printer' belonging to the"
	ewarn "corresponding printer in the CUPS webinterface (usually"
	ewarn "reachable via http://localhost:631/) and choose the correct"
	ewarn "printer make and model, for example:"
	ewarn "'Samsung' -> 'Samsung ML-1610, 1.0 (en)'"
}






^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2012-01-30 11:52 99% [gentoo-commits] gentoo-x86 commit in net-print/splix: ChangeLog splix-2.0.0_p20111206.ebuild Bernard Cafarelli (voyageur)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox