diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-print/splix | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-print/splix')
-rw-r--r-- | net-print/splix/Manifest | 3 | ||||
-rw-r--r-- | net-print/splix/metadata.xml | 14 | ||||
-rw-r--r-- | net-print/splix/splix-2.0.0_p20111206.ebuild | 72 | ||||
-rw-r--r-- | net-print/splix/splix-2.0.0_p20130826.ebuild | 63 |
4 files changed, 152 insertions, 0 deletions
diff --git a/net-print/splix/Manifest b/net-print/splix/Manifest new file mode 100644 index 000000000000..dbeaf958daa4 --- /dev/null +++ b/net-print/splix/Manifest @@ -0,0 +1,3 @@ +DIST samsung-cms-20120312.tar.xz 3354884 SHA256 66af6a617ff390a076a827e35e5a138467a67b024a8e1f16a99422b93334b5af SHA512 448f111493540dc93b88d59fa50857bdca2aa9eb772e53c1d227402235d878ad599683d74bc4d815b4789527b5e7ebe207bb0c8fa9194eaf61ca95b78a1444db WHIRLPOOL 31d1b8af1b3568f3ba2b3375fb08986c68e80ee59470565cfa5e342b1846f65305edfff4fe785caa58f2ff0229836ff8389219725119b9e0e43e4f016a819f42 +DIST splix-2.0.0_p20111206.tar.bz2 122216 SHA256 3d4805e8dfb04305ac420dc297aebf36622e876ada40a08e997ec17f79755a3f +DIST splix-2.0.0_p20130826.tar.bz2 127278 SHA256 ff7bca0f294b74c631804b56dd8c8de4909fa4c850a6ec78726b6ebcce581d30 SHA512 dda07e24b4321e6c1e3d4fbdd03fcc2b5931465db36ed9d8676a62313c4c64b7cbd58bf41996ddd1ab02086438f225439db0506aca7f0269f6c84e80eff72cb0 WHIRLPOOL 2b4656deb17ffc935c74c68a734cfdcecaf0387d30bc5660eacfdb8ea667fe064b76d006c7050eed280be1c215128067e1b11ec32df085692e972436acaad504 diff --git a/net-print/splix/metadata.xml b/net-print/splix/metadata.xml new file mode 100644 index 000000000000..06ac4fb6e275 --- /dev/null +++ b/net-print/splix/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>printing</herd> +<maintainer> + <email>wschlich@gentoo.org</email> + <name>Wolfram Schlich</name> + <description>Primary maintainer</description> +</maintainer> +<maintainer> + <email>voyageur@gentoo.org</email> + <name>Bernard Cafarelli</name> +</maintainer> +</pkgmetadata> diff --git a/net-print/splix/splix-2.0.0_p20111206.ebuild b/net-print/splix/splix-2.0.0_p20111206.ebuild new file mode 100644 index 000000000000..7246ffe81ea0 --- /dev/null +++ b/net-print/splix/splix-2.0.0_p20111206.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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://dev.gentooexperimental.org/~scarabeus/samsung-cms-20120312.tar.xz" + +# If you can't find your printer cms open the new bug if you recheck the +# cms home and it is contained there. Otherwise bummer. +# The cms can be found here: +# http://www.bchemnet.com/suldr/smfpv3.html +# It is stored int he unifieddriver tarball and repacked. + +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 "${ED}"/$(cups-config --datadir)/model/*/*.ppd || die "ppd gzip failed" + + # it is expected to be at: + # /usr/share/cups/profiles/{samsung,xerox,dell} + # instead it is only at: + # /usr/share/cups/profiles/samsung + emake DESTDIR="${D}" CMSDIR="${WORKDIR}"/cms MANUFACTURER=samsung installcms + dosym $(cups-config --datadir)/profiles/samsung $(cups-config --datadir)/profiles/xerox + dosym $(cups-config --datadir)/profiles/samsung $(cups-config --datadir)/profiles/dell +} + +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)'" +} diff --git a/net-print/splix/splix-2.0.0_p20130826.ebuild b/net-print/splix/splix-2.0.0_p20130826.ebuild new file mode 100644 index 000000000000..342ccd7979dd --- /dev/null +++ b/net-print/splix/splix-2.0.0_p20130826.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +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://dev.gentoo.org/~voyageur/samsung-cms-20120312.tar.xz" + +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}" + +src_prepare() { + # Move to correct place + mv *.ppd ppd/ || die "ppd files move failed" + # Honor LDFLAGS + sed -e "/[a-z]_LDFLAGS/s/:=.*/:= $\{LDFLAGS\}/" -i module.mk \ + || die "module.mk sed failed" + # Correct link comand + sed -e "s/g++/$\{LINKER\}/" -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 "${ED}"/$(cups-config --datadir)/model/*/*.ppd || die "ppd gzip failed" + + emake DESTDIR="${D}" CMSDIR="${WORKDIR}"/cms MANUFACTURER=samsung installcms + # Add symlinks for xerox and dell models (installed in samsung) + dosym $(cups-config --datadir)/profiles/samsung $(cups-config --datadir)/profiles/xerox + dosym $(cups-config --datadir)/profiles/samsung $(cups-config --datadir)/profiles/dell +} + +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)'" +} |