From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- net-print/splix/Manifest | 8 ++++ net-print/splix/metadata.xml | 20 ++++++++ net-print/splix/splix-2.0.0_p20111206.ebuild | 71 ++++++++++++++++++++++++++++ net-print/splix/splix-2.0.0_p20130826.ebuild | 62 ++++++++++++++++++++++++ 4 files changed, 161 insertions(+) create mode 100644 net-print/splix/Manifest create mode 100644 net-print/splix/metadata.xml create mode 100644 net-print/splix/splix-2.0.0_p20111206.ebuild create mode 100644 net-print/splix/splix-2.0.0_p20130826.ebuild (limited to 'net-print/splix') diff --git a/net-print/splix/Manifest b/net-print/splix/Manifest new file mode 100644 index 000000000000..c7cc59cd9b43 --- /dev/null +++ b/net-print/splix/Manifest @@ -0,0 +1,8 @@ +DIST samsung-cms-20120312.tar.xz 3354884 SHA256 66af6a617ff390a076a827e35e5a138467a67b024a8e1f16a99422b93334b5af SHA512 448f111493540dc93b88d59fa50857bdca2aa9eb772e53c1d227402235d878ad599683d74bc4d815b4789527b5e7ebe207bb0c8fa9194eaf61ca95b78a1444db WHIRLPOOL 31d1b8af1b3568f3ba2b3375fb08986c68e80ee59470565cfa5e342b1846f65305edfff4fe785caa58f2ff0229836ff8389219725119b9e0e43e4f016a819f42 +DIST splix-2.0.0_p20111206.tar.bz2 122216 SHA256 3d4805e8dfb04305ac420dc297aebf36622e876ada40a08e997ec17f79755a3f SHA512 370840b646acb7d62814a7b8a123fb4e7b51360f83ea6c2ec4b7b1ecc15a42d7538bfa9bdb3bcc52c6f1e2cd46a0f72467ab8a8f9753341b823ac9986820d3b5 WHIRLPOOL 14157bfc54135038f99ac2010a64d939b8758b1089d3ee806be3f6da61d3aa3c1978928acf521b2136763aa4bf4e1babbed770bbdcc6cccce720c9a1422250c6 +DIST splix-2.0.0_p20130826.tar.bz2 127278 SHA256 ff7bca0f294b74c631804b56dd8c8de4909fa4c850a6ec78726b6ebcce581d30 SHA512 dda07e24b4321e6c1e3d4fbdd03fcc2b5931465db36ed9d8676a62313c4c64b7cbd58bf41996ddd1ab02086438f225439db0506aca7f0269f6c84e80eff72cb0 WHIRLPOOL 2b4656deb17ffc935c74c68a734cfdcecaf0387d30bc5660eacfdb8ea667fe064b76d006c7050eed280be1c215128067e1b11ec32df085692e972436acaad504 +EBUILD splix-2.0.0_p20111206.ebuild 2564 SHA256 bddcb166d1421375246344555ae458ed872c78691e13e7a94f502d5b8f9269cf SHA512 bedf4cd7730d313a9a7389edc239d5a8b5870f195a1a8adc9f637b8b2d253722b8560d2ed906c2008f6c5c98e98903bbad9cd5698bc087ae19855509a6306327 WHIRLPOOL bd7aaf6082a607489efae6a95ff86396e38273319dcde44a38dcb12f408f28f75f3e0bc97d50350168cb935a26cada193c7effdb272d5305248f87ea9a8f7383 +EBUILD splix-2.0.0_p20130826.ebuild 2224 SHA256 948cf33ff96aa8be6bbc406af47a1a30cf2f630640c0f8e210e07d10e6f58ed6 SHA512 60d44db4d9a6019238ca81351d33f4ba46acd7f7d155202ac29f3bf88ea1e16bffc10d1aed543611f98612d90f77d31d42f99835050b3c7c7bd16be97b49a4f5 WHIRLPOOL 5bd1a39ed9e969aadd608d43c5f20136fe5e6782909726f72f8a7dd03db01eb7a5d09ff79d10d41a66734a0107f4e6b32b6b2f0cc94e0579c4db070995c99f62 +MISC ChangeLog 3277 SHA256 fea31077145f64d05288c30b41db3dfaff147dec9a5161ab537fd582fd8d7aa8 SHA512 29d2fdf91f923330f565fb191363cffbc5e3a52ab2eef2c4ca2f874d3ae0e392f596a3f9037ef601ca9f4362988b62430769aad22893edaa0253533df5f3a206 WHIRLPOOL 2ea6d5d69bbc4933a0a57c55b2e5631e903ad1f092d093ffd62e5795c0bf225160e2dbfae3201196356975b142320fca00337e1002d56f3b32f8b3f7a4d4d13e +MISC ChangeLog-2015 5729 SHA256 bb0057c83e2dece172f7b2d98e3b877f8984276a28de44e9f50120a3e1783f05 SHA512 97b8377835dcac6f05e27c7c5937261b2df9dfc9bbd81fb467ae7e3f13e5123fcfa5ffafad199bc5f06cd47cea11d7c4edafeda94443c29a4df3e6bd54039f75 WHIRLPOOL 87fd1682d96301081487374728aa0cab38928c13a27597122b2dd5da4ef89dd226dea88134f557deb02bd853b932490ee8fdf19682a3b52a9f09e1ecf89d6b01 +MISC metadata.xml 606 SHA256 5fae42b26dab5d4fcd321f242f54cbf2fb17203ca11eca0dc67b06171e685451 SHA512 bcae5483217e119928f51390ece67ae9dd6e27c9721a565707940986c7c8041e669c79ec55d76e4d6afafe4e8206c4883d38e3c9b85c17fa53615db6d8b05235 WHIRLPOOL c79958b5a207e6bd9f59a5131692f089fe190db3835830d705752946f5b5e3a12982d09e9e811945c61ce373c61e2bd628db4884fbd690f2e243bb13a37da735 diff --git a/net-print/splix/metadata.xml b/net-print/splix/metadata.xml new file mode 100644 index 000000000000..9b64ff4d63bf --- /dev/null +++ b/net-print/splix/metadata.xml @@ -0,0 +1,20 @@ + + + + + wschlich@gentoo.org + Wolfram Schlich + Primary maintainer + + + voyageur@gentoo.org + Bernard Cafarelli + + + printing@gentoo.org + Gentoo Printing Project + + + splix + + 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..57df07148cd1 --- /dev/null +++ b/net-print/splix/splix-2.0.0_p20111206.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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="https://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..812bf1acb8a1 --- /dev/null +++ b/net-print/splix/splix-2.0.0_p20130826.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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="https://dev.gentoo.org/~voyageur/distfiles/${P}.tar.bz2 + https://dev.gentoo.org/~voyageur/distfiles/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)'" +} -- cgit v1.2.3