diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2014-06-07 19:45:45 +0000 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2014-06-07 19:45:45 +0000 |
commit | 6a6a1fa0e7e3d6ff03bb4a1e184d6c519b685dcb (patch) | |
tree | 923b70ce0edf5485ceba3454afbb2384fc9cc7aa /net-print | |
parent | Update libpcre and libsepol deps to include MULTILIB_USEDEP (diff) | |
download | historical-6a6a1fa0e7e3d6ff03bb4a1e184d6c519b685dcb.tar.gz historical-6a6a1fa0e7e3d6ff03bb4a1e184d6c519b685dcb.tar.bz2 historical-6a6a1fa0e7e3d6ff03bb4a1e184d6c519b685dcb.zip |
Bump to latest snapshot, adds some new models support and some fixes. Also fetch cms tarball from my devspace
Package-Manager: portage-2.2.10/cvs/Linux x86_64
Manifest-Sign-Key: 0xC74525F2
Diffstat (limited to 'net-print')
-rw-r--r-- | net-print/splix/ChangeLog | 11 | ||||
-rw-r--r-- | net-print/splix/Manifest | 16 | ||||
-rw-r--r-- | net-print/splix/splix-2.0.0_p20130826.ebuild | 63 |
3 files changed, 86 insertions, 4 deletions
diff --git a/net-print/splix/ChangeLog b/net-print/splix/ChangeLog index d3eddb4673a2..4cf9f5433c39 100644 --- a/net-print/splix/ChangeLog +++ b/net-print/splix/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-print/splix -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-print/splix/ChangeLog,v 1.28 2013/08/16 09:30:33 mrueg Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-print/splix/ChangeLog,v 1.29 2014/06/07 19:45:32 voyageur Exp $ + +*splix-2.0.0_p20130826 (07 Jun 2014) + + 07 Jun 2014; Bernard Cafarelli <voyageur@gentoo.org> + +splix-2.0.0_p20130826.ebuild: + Bump to latest snapshot, adds some new models support and some fixes. Also + fetch cms tarball from my devspace 16 Aug 2013; Manuel Rüger <mrueg@gentoo.org> -splix-2.0.0_p20110219-r1.ebuild: Cleanup. diff --git a/net-print/splix/Manifest b/net-print/splix/Manifest index 0b8b5e308033..63a5ca122e11 100644 --- a/net-print/splix/Manifest +++ b/net-print/splix/Manifest @@ -1,5 +1,17 @@ -DIST samsung-cms-20120312.tar.xz 3354884 SHA256 66af6a617ff390a076a827e35e5a138467a67b024a8e1f16a99422b93334b5af +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +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 EBUILD splix-2.0.0_p20111206.ebuild 2685 SHA256 43db7e7f95fb61ae03c88d68f0f694b54b1a6919580a1ef9dc74a92da92e7456 SHA512 996f439b95cc23cb45748efba28a6b0d8a6ce6ace50f57786901347e24013d5fbdb400735dc0f54c90e63ffaffbbaad3230b7f903c4079191cc5b1772d3a6c69 WHIRLPOOL 4cdcf3bc1c98072912b9f318ca3eaa801662bce81e766fc33ce0f301c95af388398c14cc79696a4e841111c05685fae1f596b1b1cdbb25adeb57bca908134c95 -MISC ChangeLog 5485 SHA256 4ddf6d0cc0d82550bd69b3dfb3884bef09dad7f146e1c90d6f823e4a8ee0375e SHA512 2e5382b50affd0e885e92d9f7101c9fa1c7662586e9198d74e3da9f7233268a7a850fcbd78cf711765b41bf09d6786a2b1bc06ae92bc8df2c00ac93da0f17d1d WHIRLPOOL db7bad26e0366bf3c5ebc67d204e013cf806f6c579c7e5d15882a5d0e39b0ecb87483994b16ad77bc800da8dc44d0d95874c1a89b7ec15763334508c4b542598 +EBUILD splix-2.0.0_p20130826.ebuild 2333 SHA256 25a053307da8b5ae4e2598c3238ba773c47bd75fdc778ebe54f99da0ef95ec63 SHA512 10d32ddbd575a77bf6bee8878636cf1d39f29641d81da06d63c6e9bc05ef134c8249f66dedd5bbc93661255284caa7dcccd76b3b70fbeef1d8efe5fa248536d0 WHIRLPOOL e57012ab0a6b62c242755c32ca62629f1cc57f9ebe74bd23e0a86ef34a446c707aeb58e86cf4929c94953a0e3b0e1627b80f6a3d23e324031703ce14707f57e4 +MISC ChangeLog 5729 SHA256 bb0057c83e2dece172f7b2d98e3b877f8984276a28de44e9f50120a3e1783f05 SHA512 97b8377835dcac6f05e27c7c5937261b2df9dfc9bbd81fb467ae7e3f13e5123fcfa5ffafad199bc5f06cd47cea11d7c4edafeda94443c29a4df3e6bd54039f75 WHIRLPOOL 87fd1682d96301081487374728aa0cab38928c13a27597122b2dd5da4ef89dd226dea88134f557deb02bd853b932490ee8fdf19682a3b52a9f09e1ecf89d6b01 MISC metadata.xml 396 SHA256 004f0a4b1cd4a60f1772e9418f274af9b552c4ad3026ee9dde5e13a0159e99d4 SHA512 b7d6471f4551294df8e146a5f04fa1a4cb176386af3c5c173a70fd0144ab4dd451a2ab6d62759e61ca1d1b121c1dfbd7a61e7bde8037f2cdf7be0a2e831eeea6 WHIRLPOOL 186ddc67e4de4852b98674e09fe6bf47014c66ba85084b88fbb52b66c2fb885905aebab149cee4ccb2c4b9524812d2d0fba9f2f58498387066e7379403475094 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iF4EAREIAAYFAlOTa+cACgkQFYEBGcdFJfKCvQD9G/j7nG+CbrtlyZv3DDirYQOv +E9i+cWElsSe+vwRc0w4A/1P9D+1EwSLxT87QrN9j6Tuis7VZSyP9ErNVgJ8lEJdn +=N2Wn +-----END PGP SIGNATURE----- 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..0f62299253e1 --- /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 +# $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 $ + +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)'" +} |