diff options
author | Cédric Krier <cedk@gentoo.org> | 2006-06-22 17:30:09 +0000 |
---|---|---|
committer | Cédric Krier <cedk@gentoo.org> | 2006-06-22 17:30:09 +0000 |
commit | 0b479b8ede28c6ff703ef504dd6b09b1077c32dc (patch) | |
tree | 7d23366c392b204d51bd5d446528c35db965f160 /net-print | |
parent | New ebuild for nzbperl, thanks to Ben Kohler (ben@bkohler.net), bug #124582 (diff) | |
download | sunrise-0b479b8ede28c6ff703ef504dd6b09b1077c32dc.tar.gz sunrise-0b479b8ede28c6ff703ef504dd6b09b1077c32dc.tar.bz2 sunrise-0b479b8ede28c6ff703ef504dd6b09b1077c32dc.zip |
New Ebuild for bug 73441
svn path=/sunrise/; revision=191
Diffstat (limited to 'net-print')
-rw-r--r-- | net-print/lm1100/ChangeLog | 7 | ||||
-rw-r--r-- | net-print/lm1100/Manifest | 6 | ||||
-rw-r--r-- | net-print/lm1100/files/digest-lm1100-1.0.2a | 1 | ||||
-rw-r--r-- | net-print/lm1100/files/lm1100-1.0.2a-class.patch | 24 | ||||
-rw-r--r-- | net-print/lm1100/files/lm1100-1.0.2a-fix-compile-gcc-3.4.patch | 22 | ||||
-rw-r--r-- | net-print/lm1100/lm1100-1.0.2a.ebuild | 30 | ||||
-rw-r--r-- | net-print/lm1100/metadata.xml | 5 |
7 files changed, 95 insertions, 0 deletions
diff --git a/net-print/lm1100/ChangeLog b/net-print/lm1100/ChangeLog new file mode 100644 index 000000000..84988853d --- /dev/null +++ b/net-print/lm1100/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for <CATEGORY>/<PACKAGE_NAME> +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 22 Jun 2006; Cedric Krier <ced@ced.homedns.org> ChangeLog: + New Ebuild for bug 73441 + diff --git a/net-print/lm1100/Manifest b/net-print/lm1100/Manifest new file mode 100644 index 000000000..355083997 --- /dev/null +++ b/net-print/lm1100/Manifest @@ -0,0 +1,6 @@ +MD5 889575db32ffa2550d3f3b05aa262262 ChangeLog 215 +MD5 18092190170a867a3078d5ba394f80ad files/digest-lm1100-1.0.2a 64 +MD5 ca3ce790ea4e3094a12b80382a4a6447 files/lm1100-1.0.2a-class.patch 709 +MD5 1745c18b44d2c9673e415d9661b90529 files/lm1100-1.0.2a-fix-compile-gcc-3.4.patch 866 +MD5 d1466763cddcc993a2f101e0c58b4aa3 lm1100-1.0.2a.ebuild 716 +MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161 diff --git a/net-print/lm1100/files/digest-lm1100-1.0.2a b/net-print/lm1100/files/digest-lm1100-1.0.2a new file mode 100644 index 000000000..91c932c06 --- /dev/null +++ b/net-print/lm1100/files/digest-lm1100-1.0.2a @@ -0,0 +1 @@ +MD5 2b96b75459f194eabd4321c55c90c797 lm1100.1.0.2a.tar.gz 64316 diff --git a/net-print/lm1100/files/lm1100-1.0.2a-class.patch b/net-print/lm1100/files/lm1100-1.0.2a-class.patch new file mode 100644 index 000000000..b771e1bf1 --- /dev/null +++ b/net-print/lm1100/files/lm1100-1.0.2a-class.patch @@ -0,0 +1,24 @@ +diff -ur lm1100.1.0.2a~/PaintLine300c.h lm1100.1.0.2a/PaintLine300c.h +--- lm1100.1.0.2a~/PaintLine300c.h 2006-06-22 15:14:36.000000000 +0200 ++++ lm1100.1.0.2a/PaintLine300c.h 2006-06-22 15:14:55.000000000 +0200 +@@ -32,7 +32,7 @@ + int size; + int x,y; + +- friend LexmarkProtocol300c; ++ friend class LexmarkProtocol300c; + + public: + void pad(int pad_amount); +diff -ur lm1100.1.0.2a~/PaintLineBW.h lm1100.1.0.2a/PaintLineBW.h +--- lm1100.1.0.2a~/PaintLineBW.h 2006-06-22 15:14:36.000000000 +0200 ++++ lm1100.1.0.2a/PaintLineBW.h 2006-06-22 15:14:55.000000000 +0200 +@@ -33,7 +33,7 @@ + int size; + int x,y; + +- friend LexmarkProtocolBW; ++ friend class LexmarkProtocolBW; + + public: + void pad(int pad_amount); diff --git a/net-print/lm1100/files/lm1100-1.0.2a-fix-compile-gcc-3.4.patch b/net-print/lm1100/files/lm1100-1.0.2a-fix-compile-gcc-3.4.patch new file mode 100644 index 000000000..60e1b5c2e --- /dev/null +++ b/net-print/lm1100/files/lm1100-1.0.2a-fix-compile-gcc-3.4.patch @@ -0,0 +1,22 @@ +--- LexmarkProtocol300c.cc.orig 2000-11-21 09:06:22.000000000 +0100 ++++ LexmarkProtocol300c.cc 2004-06-16 13:28:04.397060286 +0200 +@@ -69,7 +69,7 @@ + Jet **LexmarkProtocol300c::createJets(int *numJets, Map *imageMap) + { + *numJets = 6; +- class Jet **jets = new (Jet *)[6]; ++ class Jet **jets = new Jet*[6]; + jets[0] = new Jet(0,9,0,imageMap,LEFT_JET,0,8); + jets[1] = new Jet(1,0,0,imageMap,RIGHT_JET,0,8); + jets[2] = new Jet(2,-9,20,imageMap,LEFT_JET,1,8); +--- LexmarkProtocolBW.cc.orig 2000-11-21 09:06:22.000000000 +0100 ++++ LexmarkProtocolBW.cc 2004-06-16 13:32:51.291509280 +0200 +@@ -68,7 +68,7 @@ + Jet **LexmarkProtocolBW::createJets(int *numJets, Map *imageMap) + { + *numJets = 2; +- class Jet **jets = new (Jet *)[2]; ++ class Jet **jets = new Jet*[2]; + jets[0] = new Jet(0,9,0,imageMap,LEFT_JET,0,28); + jets[1] = new Jet(0,0,0,imageMap,RIGHT_JET,0,28); + diff --git a/net-print/lm1100/lm1100-1.0.2a.ebuild b/net-print/lm1100/lm1100-1.0.2a.ebuild new file mode 100644 index 000000000..123419776 --- /dev/null +++ b/net-print/lm1100/lm1100-1.0.2a.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils toolchain-funcs + +DESCRIPTION="The Tim Engler's Lexmark 1100 driver" +HOMEPAGE="http://www.linuxprinting.org/show_driver.cgi?driver=lm1100" +MY_P=${P/lm1100-/lm1100.} +SRC_URI="http://www.linuxprinting.org/download/printing/lm1100/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND="" +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack "${A}" + cd ${S} + epatch ${FILESDIR}/${P}-fix-compile-gcc-3.4.patch + epatch ${FILESDIR}/${P}-class.patch + sed -i -e "/^CC/s/=.*/= $(tc-getCXX) ${CXXFLAGS}/" \ + "${S}/Makefile" || die "sed failed." +} + +src_install() { + dobin lm1100 +} diff --git a/net-print/lm1100/metadata.xml b/net-print/lm1100/metadata.xml new file mode 100644 index 000000000..1fa0ca569 --- /dev/null +++ b/net-print/lm1100/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>printing</herd> +</pkgmetadata> |