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/lm1100 | |
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/lm1100')
-rw-r--r-- | net-print/lm1100/Manifest | 2 | ||||
-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/files/lm1100-1.0.2a-fix-compile-gcc-4.1.patch | 73 | ||||
-rw-r--r-- | net-print/lm1100/files/lm1100-1.0.2a-makefile.patch | 35 | ||||
-rw-r--r-- | net-print/lm1100/files/lm1100maint-firmware.patch | 14 | ||||
-rw-r--r-- | net-print/lm1100/lm1100-1.0.2a-r1.ebuild | 46 | ||||
-rw-r--r-- | net-print/lm1100/metadata.xml | 8 |
8 files changed, 224 insertions, 0 deletions
diff --git a/net-print/lm1100/Manifest b/net-print/lm1100/Manifest new file mode 100644 index 000000000000..28d3da0b50d4 --- /dev/null +++ b/net-print/lm1100/Manifest @@ -0,0 +1,2 @@ +DIST lm1100.1.0.2a.tar.gz 64316 SHA256 680da0b4a7decef197fa833a57b85e66aa2ec0d67fbcd4345c426fdaca6412fb SHA512 3dda80602af99d93a570e066ca2a121afd93b28b5d28b6f49b52c2c90e288de7b87cefdd5e00bf4edd73439fb6088433fabe884b841befd24183f27a12fcbcb1 WHIRLPOOL b57fc0191d43b66d5c7660c190098d0e09543bfdf86d2f1571ca90f1918dab568489eec437b44468ceeb6fe749b36377484a584a7ce67119177a88a321c630f6 +DIST lm1100maint.tar.gz 708 SHA256 832586bd028e2516f62651bb8e23ced87ea2714831156b1a069231a34971281d SHA512 fe81351705c36dd30e01d402461820ed583d2a8222af8dd81f4dff35c6629592e09fb6dbc0740b9ba0f555de65aeae41c0cb953fbedd0c8620db29b37d797b02 WHIRLPOOL 1d75b48678db43aad319031f6afdd77004a7ee7c9a53101bd4079c3e10255bf163b0776eaf94b076aff3149ea6306929dd65bafd6c2b27f8f174f0fe6980b96e 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 000000000000..b771e1bf1449 --- /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 000000000000..60e1b5c2e7a3 --- /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/files/lm1100-1.0.2a-fix-compile-gcc-4.1.patch b/net-print/lm1100/files/lm1100-1.0.2a-fix-compile-gcc-4.1.patch new file mode 100644 index 000000000000..bc797a09a44b --- /dev/null +++ b/net-print/lm1100/files/lm1100-1.0.2a-fix-compile-gcc-4.1.patch @@ -0,0 +1,73 @@ +diff -ru lm1100.1.0.2a~/Jet.h lm1100.1.0.2a/Jet.h +--- lm1100.1.0.2a~/Jet.h 2006-12-02 18:48:16.000000000 +0100 ++++ lm1100.1.0.2a/Jet.h 2006-12-02 18:49:54.000000000 +0100 +@@ -45,7 +45,7 @@ + Coord imageStart; // start of image from edge of paper + + bool insideImage(int x, int y); +- bool Jet::needsPainting(int ix, int iy, int bit); ++ bool needsPainting(int ix, int iy, int bit); + + public: + /* Range of paper jet covers when head is at 0,0 */ +@@ -54,7 +54,7 @@ + /* Range of paper jet needs to cover to get the entire image */ + void getImageRange(Rect *dest); + Coord *getPreferredImageStart(Coord *start); +- int Jet::getPreferredEnd(); ++ int getPreferredEnd(); + bool finished(); + void setImageStart(Coord *imageStart); + void paint(int startX, int endX, int y, class LexmarkProtocol *protocol); +diff -ru lm1100.1.0.2a~/LinkedList.h lm1100.1.0.2a/LinkedList.h +--- lm1100.1.0.2a~/LinkedList.h 2006-12-02 18:48:16.000000000 +0100 ++++ lm1100.1.0.2a/LinkedList.h 2006-12-02 18:49:54.000000000 +0100 +@@ -26,8 +26,8 @@ + void *object; + LinkedList *next; + +- LinkedList::LinkedList(); +- LinkedList::LinkedList(void * object); ++ LinkedList(); ++ LinkedList(void * object); + }; + + #endif +diff -ru lm1100.1.0.2a~/Map.h lm1100.1.0.2a/Map.h +--- lm1100.1.0.2a~/Map.h 2006-12-02 18:48:16.000000000 +0100 ++++ lm1100.1.0.2a/Map.h 2006-12-02 18:49:54.000000000 +0100 +@@ -41,7 +41,7 @@ + int height; /* height of map in cells */ + + Map(int width, int height, int cellSize); +- Map::~Map(); ++ ~Map(); + + void cacheLines(int start, int len); + void addAlgorithm(MapAlgorithm *algorithm); +diff -ru lm1100.1.0.2a~/PPMRaw.h lm1100.1.0.2a/PPMRaw.h +--- lm1100.1.0.2a~/PPMRaw.h 2006-12-02 18:48:16.000000000 +0100 ++++ lm1100.1.0.2a/PPMRaw.h 2006-12-02 18:49:54.000000000 +0100 +@@ -32,7 +32,7 @@ + + public: + PPMRaw(Reader *reader,bool readMagic); +- static void PPMRaw::readHeader(int *width, int *height, int *maxval, Reader *reader, bool readMagic); ++ static void readHeader(int *width, int *height, int *maxval, Reader *reader, bool readMagic); + + virtual void getRGB(RGB *rgb, int x, int y); + +diff -ru lm1100.1.0.2a~/Rect.h lm1100.1.0.2a/Rect.h +--- lm1100.1.0.2a~/Rect.h 2006-12-02 18:48:16.000000000 +0100 ++++ lm1100.1.0.2a/Rect.h 2006-12-02 18:49:54.000000000 +0100 +@@ -23,8 +23,8 @@ + class Rect + { + public: +- Rect::Rect(); +- Rect::Rect(int x, int y, int width, int height); ++ Rect(); ++ Rect(int x, int y, int width, int height); + + int x,y,width,height; + diff --git a/net-print/lm1100/files/lm1100-1.0.2a-makefile.patch b/net-print/lm1100/files/lm1100-1.0.2a-makefile.patch new file mode 100644 index 000000000000..b1f0a2ac4913 --- /dev/null +++ b/net-print/lm1100/files/lm1100-1.0.2a-makefile.patch @@ -0,0 +1,35 @@ +--- lm1100.1.0.2a~/Makefile 2001-02-26 01:40:16.000000000 +0100 ++++ lm1100.1.0.2a/Makefile 2006-10-23 19:01:57.000000000 +0200 +@@ -7,17 +7,19 @@ + VERSION=lm1100.1.0.2a + TARFILES = $(FILES:%=$(VERSION)/%) + +-CC = g++ -O2 ++CXX?=g++ ++CXXFLAGS?= -O2 ++#CC = g++ -O2 + #CC = g++ -g + + lm1100: $(OBJS) +- $(CC) -o lm1100 $(OBJS) $(LIBS) ++ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o lm1100 $(OBJS) $(LIBS) + + bufcat: SpongeWriter.o ThreadSafeCircleBuffer.o bufcat.o +- $(CC) -o bufcat SpongeWriter.o ThreadSafeCircleBuffer.o bufcat.o -lpthread ++ $(CXX) $(CXXFLAGS) -o bufcat SpongeWriter.o ThreadSafeCircleBuffer.o bufcat.o -lpthread + + leak: $(OBJS) +- $(CC) -o lm1100 $(OBJS) $(LIBS) /usr/local/LeakTracer/LeakTracer.o ++ $(CXX) $(CXXFLAGS) -o lm1100 $(OBJS) $(LIBS) /usr/local/LeakTracer/LeakTracer.o + + tarball: $(FILES) + rm $(VERSION);ln -s . $(VERSION);tar -cf - $(TARFILES) | gzip > $(VERSION).tar.gz +@@ -27,7 +29,7 @@ + rm *.o + + %.o: %.cc +- $(CC) $(DEFINES) -c $< ++ $(CXX) $(CXXFLAGS) $(DEFINES) -c $< + + TAGS: $(SRCS) + etag $(SRCS) diff --git a/net-print/lm1100/files/lm1100maint-firmware.patch b/net-print/lm1100/files/lm1100maint-firmware.patch new file mode 100644 index 000000000000..5c3f4c92ea86 --- /dev/null +++ b/net-print/lm1100/files/lm1100maint-firmware.patch @@ -0,0 +1,14 @@ +diff -ur lm1100maint~/lm1100back lm1100maint/lm1100back +--- lm1100maint~/lm1100back 2006-06-26 19:48:51.000000000 +0200 ++++ lm1100maint/lm1100back 2006-06-26 19:50:41.000000000 +0200 +@@ -1,2 +1,2 @@ + #!/bin/sh +-dd if=/usr/share/lm1100maint/lexmarkback of=/dev/lp0 ++dd if=/usr/share/lm1100/lexmarkback of=/dev/lp0 +diff -ur lm1100maint~/lm1100change lm1100maint/lm1100change +--- lm1100maint~/lm1100change 2006-06-26 19:48:51.000000000 +0200 ++++ lm1100maint/lm1100change 2006-06-26 19:50:55.000000000 +0200 +@@ -1,2 +1,2 @@ + #!/bin/sh +-dd if=/usr/share/lm1100maint/lexmarkchange of=/dev/lp0 ++dd if=/usr/share/lm1100/lexmarkchange of=/dev/lp0 diff --git a/net-print/lm1100/lm1100-1.0.2a-r1.ebuild b/net-print/lm1100/lm1100-1.0.2a-r1.ebuild new file mode 100644 index 000000000000..04568a86a2d4 --- /dev/null +++ b/net-print/lm1100/lm1100-1.0.2a-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +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="mirror://gentoo/${MY_P}.tar.gz + mirror://gentoo/${PN}maint.tar.gz" +#http://www.linuxprinting.org/download/printing/${PN}/${PN}maint.tar.gz +#http://www.linuxprinting.org/download/printing/${PN}/${MY_P}.tar.gz + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" +DEPEND="" +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch "${FILESDIR}/${P}-fix-compile-gcc-3.4.patch"\ + "${FILESDIR}/${P}-fix-compile-gcc-4.1.patch"\ + "${FILESDIR}/${P}-class.patch"\ + "${FILESDIR}/${P}-makefile.patch" + cd "${WORKDIR}/${PN}maint" || die + epatch "${FILESDIR}/${PN}maint-firmware.patch" +} + +src_compile() { + emake CXX="$(tc-getCXX)" +} + +src_install() { + dobin lm1100 + dodoc README RELEASE.txt + + cd "${WORKDIR}/${PN}maint" || die + dobin lm1100back lm1100change + insinto "/usr/share/${PN}" + doins lexmarkback lexmarkchange + newdoc README README.maint +} diff --git a/net-print/lm1100/metadata.xml b/net-print/lm1100/metadata.xml new file mode 100644 index 000000000000..ba6569ff247f --- /dev/null +++ b/net-print/lm1100/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> + <email>maintainer-needed@gentoo.org</email> +</maintainer> +<longdescription>The Tim Engler's Lexmark 1100 driver</longdescription> +</pkgmetadata> |