From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- media-gfx/hp2xx/Manifest | 1 + media-gfx/hp2xx/files/hp2xx-3.4.4-docbuild.patch | 14 +++ media-gfx/hp2xx/files/hp2xx-3.4.4-r1.patch | 137 +++++++++++++++++++++++ media-gfx/hp2xx/hp2xx-3.4.4-r1.ebuild | 70 ++++++++++++ media-gfx/hp2xx/hp2xx-3.4.4.ebuild | 45 ++++++++ media-gfx/hp2xx/metadata.xml | 10 ++ 6 files changed, 277 insertions(+) create mode 100644 media-gfx/hp2xx/Manifest create mode 100644 media-gfx/hp2xx/files/hp2xx-3.4.4-docbuild.patch create mode 100644 media-gfx/hp2xx/files/hp2xx-3.4.4-r1.patch create mode 100644 media-gfx/hp2xx/hp2xx-3.4.4-r1.ebuild create mode 100644 media-gfx/hp2xx/hp2xx-3.4.4.ebuild create mode 100644 media-gfx/hp2xx/metadata.xml (limited to 'media-gfx/hp2xx') diff --git a/media-gfx/hp2xx/Manifest b/media-gfx/hp2xx/Manifest new file mode 100644 index 00000000000..8a191ea7823 --- /dev/null +++ b/media-gfx/hp2xx/Manifest @@ -0,0 +1 @@ +DIST hp2xx-3.4.4.tar.gz 610330 SHA256 47b72fb386a189b52f07e31e424c038954c4e0ce405803841bed742bab488817 SHA512 ccfe4a23ca482471506e59d6d459ce3ed56d9d775613e3238bd82d11cf4ea0595bf57ff95b3bd22a674865ec7f07dc63c1bcf0deb2a430b7ae241734c7e57ccd WHIRLPOOL ee3415eadaef3065239859de414d78f6619feef9e70c80a53fc835b52a2acb476645d7040880d2ab480cd92b53f002f58da7a6774bc436a5bfe587acc6b38f00 diff --git a/media-gfx/hp2xx/files/hp2xx-3.4.4-docbuild.patch b/media-gfx/hp2xx/files/hp2xx-3.4.4-docbuild.patch new file mode 100644 index 00000000000..4245eea6125 --- /dev/null +++ b/media-gfx/hp2xx/files/hp2xx-3.4.4-docbuild.patch @@ -0,0 +1,14 @@ +https://bugs.gentoo.org/attachment.cgi?id=399898 +Only first hunk preserved. +diff -ruN hp2xx-3.4.4-r0/doc/hp2xxinf.tex hp2xx-3.4.4-r3/doc/hp2xxinf.tex +--- hp2xx-3.4.4-r0/doc/hp2xxinf.tex 2003-06-21 17:41:16.000000000 +0200 ++++ hp2xx-3.4.4-r3/doc/hp2xxinf.tex 2015-03-27 20:36:32.000000000 +0100 +@@ -92,7 +92,7 @@ + @page + @tex + {\parskip=0pt +-\hfill mk\@daveg.com\par ++\hfill mk@@daveg.com\par + \hfill {\it Using HP2XX}, \manvers\par + \hfill \TeX{}info \texinfoversion\par + } diff --git a/media-gfx/hp2xx/files/hp2xx-3.4.4-r1.patch b/media-gfx/hp2xx/files/hp2xx-3.4.4-r1.patch new file mode 100644 index 00000000000..9bff4f43b92 --- /dev/null +++ b/media-gfx/hp2xx/files/hp2xx-3.4.4-r1.patch @@ -0,0 +1,137 @@ +diff -ruN hp2xx-3.4.4.orig/makes/generic.mak hp2xx-3.4.4/makes/generic.mak +--- hp2xx-3.4.4.orig/makes/generic.mak 2003-06-21 17:16:35.000000000 +0200 ++++ hp2xx-3.4.4/makes/generic.mak 2012-02-07 22:30:29.000000000 +0100 +@@ -30,11 +30,11 @@ + CP = cp + MKINFO = makeinfo + RMCMD = rm -f +-STRIP = strip ++STRIP = true + + # Installation sites (GNU conventions): + # +-prefix = /usr/local ++prefix = /usr + bindir = $(prefix)/bin + includedir = $(prefix)/include + mandir = $(prefix)/man +@@ -44,10 +44,10 @@ + # CC and CFLAGS set for gcc, but any ANSI-C compiler should work. + # For non-gcc compilers, simply set CFLAGS = -O (to start with) + # +-CC = gcc +-CFLAGS = -O2 -Wall -finline-functions ++#CC = gcc ++#CFLAGS = -O2 -Wall -finline-functions + +-LFLAGS = # only sometimes needed; see below for examples ++LFLAGS = $(LDFLAGS) # only sometimes needed; see below for examples + CPPFLAGS = -I. # only sometimes needed; see below for examples + BINDCMD = # only needed for EMX and DJGPP DOS extenders + +@@ -62,7 +62,7 @@ + # + DEFINES = -DUNIX -DHAS_UNIX_X11 + PREVIEWER = to_x11 +-ALL_LIBS = -lX11 -lm # Maybe -lX instead of -lX11 is needed? ++ALL_LIBS = -L/usr/X11R6/lib/ -lX11 -lm # Maybe -lX instead of -lX11 is needed? + # + # Generic UNIX, no previewer + # +@@ -195,31 +195,41 @@ + EX_SRC = + EX_OBJ = + EX_DEFS = ++EX_LIBS = -lz + # + # PNG support (requires -lpng and -lz on the ALL_LIBS line) +-#EX_SRC = png.c to_png.c +-#EX_OBJ = png.o to_png.o +-#EX_DEFS= -DPNG ++EX_SRC += png.c to_png.c ++EX_OBJ += png.o to_png.o ++EX_DEFS += -DPNG ++EX_LIBS += -lpng + # + # TIFF support (requires -ltiff and possibly -lz on the ALL_LIBS line) +-#EX_SRC = to_tif.c +-#EX_OBJ = to_tif.o +-#EX_DEFS = -DTIF ++EX_SRC += to_tif.c ++EX_OBJ += to_tif.o ++EX_DEFS += -DTIF ++EX_LIBS += -ltiff + # + # JPEG support (requires -ljpeg) +-#EX_SRC = to_jpg.c +-#EX_OBJ = to_jpg.o +-#EX_DEFS = -DJPG ++EX_SRC += to_jpg.c ++EX_OBJ += to_jpg.o ++EX_DEFS += -DJPG ++EX_LIBS += -ljpeg + # + # PDF support (requires -lpdf) +-#EX_SRC = to_pdf.c +-#EX_OBJ = to_pdf.o +-#EX_DEFS = -DUSEPDF ++#EX_SRC += to_pdf.c ++#EX_OBJ += to_pdf.o ++#EX_DEFS += -DUSEPDF ++#EX_LIBS += -lpdf + # + # Include extras: +-# EX_SRC = to_pic.c to_pac.c +-# EX_OBJ = to_pic.o to_pac.o +-# EX_DEFS = -DPIC_PAC ++EX_SRC += to_pic.c to_pac.c ++EX_OBJ += to_pic.o to_pac.o ++EX_DEFS += -DPIC_PAC ++# ++# Epson Esc/P2 support ++EX_SRC += to_escp2.c ++EX_OBJ += to_escp2.o ++EX_DEFS += -DEPSON + # + ############################################################################# + # No user-serviceable parts below! +@@ -245,8 +255,8 @@ + PROGRAM = hp2xx + + default: +- @echo "This makefile needs manual configuration! Edit it now! +- @echo "After configuration, you may use the following commands: ++ @echo "This makefile needs manual configuration! Edit it now!" ++ @echo "After configuration, you may use the following commands:" + @echo "" + @echo "make all Compile everything" + @echo "make check Run a color application in preview mode" +@@ -267,7 +277,7 @@ + ######################################################################### + + all: $(OBJS) +- $(CC) $(LFLAGS) $(OBJS) $(ALL_LIBS) -o $(PROGRAM) ++ $(CC) $(LFLAGS) $(OBJS) $(ALL_LIBS) $(EX_LIBS) -o $(PROGRAM) + $(BINDCMD) + + +diff -ruN hp2xx-3.4.4.orig/sources/png.c hp2xx-3.4.4/sources/png.c +--- hp2xx-3.4.4.orig/sources/png.c 2003-06-21 17:31:51.000000000 +0200 ++++ hp2xx-3.4.4/sources/png.c 2012-02-07 22:26:33.000000000 +0100 +@@ -5,6 +5,7 @@ + #include + #include + #include "to_png.h" ++#include + #include + + #define PDNCOL 256 +@@ -36,7 +37,7 @@ + } + + /* set up error handlimg for libpng */ +- if (setjmp(png_ptr->jmpbuf)) { ++ if (setjmp(png_jmpbuf(png_ptr))) { + png_destroy_write_struct(&png_ptr, &info_ptr); + return; + } diff --git a/media-gfx/hp2xx/hp2xx-3.4.4-r1.ebuild b/media-gfx/hp2xx/hp2xx-3.4.4-r1.ebuild new file mode 100644 index 00000000000..6b5b8157e33 --- /dev/null +++ b/media-gfx/hp2xx/hp2xx-3.4.4-r1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils base + +DESCRIPTION="Versatile tool to convert Hewlett-Packard's HP-GL plotter language into other graphics formats" +HOMEPAGE="http://www.gnu.org/software/hp2xx/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="X jpeg png tiff" + +RDEPEND=" + png? ( media-libs/libpng sys-libs/zlib ) + tiff? ( media-libs/tiff ) + jpeg? ( virtual/jpeg ) + X? ( x11-libs/libX11 )" +DEPEND="${RDEPEND} + sys-apps/texinfo" + +PATCHES=( "${FILESDIR}"/${P}-r1.patch + "${FILESDIR}"/${P}-docbuild.patch ) + +src_prepare() { + base_src_prepare + cp -v makes/generic.mak sources/Makefile || die +} + +src_compile() { + cd "${S}/sources" || die + export PREVIEWER="no_prev" + export EX_SRC= + export EX_OBJ= + export EX_DEFS=-DUNIX + export ALL_LIBS=-lm + use X && \ + PREVIEWER="to_x11" \ + EX_DEFS="-DHAS_UNIX_X11" \ + ALL_LIBS="${ALL_LIBS} -lX11" + use jpeg && \ + EX_SRC="${EX_SRC} to_jpg.c" \ + EX_OBJ="${EX_OBJ} to_jpg.o" \ + EX_DEFS="${EX_DEFS} -DJPG" \ + ALL_LIBS="${ALL_LIBS} -ljpeg" + use png && \ + EX_SRC="${EX_SRC} png.c to_png.c" \ + EX_OBJ="${EX_OBJ} png.o to_png.o" \ + EX_DEFS="${EX_DEFS} -DPNG" \ + ALL_LIBS="${ALL_LIBS} -lpng" + use tiff && \ + EX_SRC="${EX_SRC} to_tif.c" \ + EX_OBJ="${EX_OBJ} to_tif.o" \ + EX_DEFS="${EX_DEFS} -DTIF" \ + ALL_LIBS="${ALL_LIBS} -ltiff" + emake all +} + +src_install() { + dodir /usr/bin /usr/share/info /usr/share/man/man1 + + make prefix="${D}/usr" \ + mandir="${D}/usr/share/man" \ + infodir="${D}/usr/share/info" \ + install || die +} diff --git a/media-gfx/hp2xx/hp2xx-3.4.4.ebuild b/media-gfx/hp2xx/hp2xx-3.4.4.ebuild new file mode 100644 index 00000000000..6ce876f83a7 --- /dev/null +++ b/media-gfx/hp2xx/hp2xx-3.4.4.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils base + +DESCRIPTION="Versatile tool to convert Hewlett-Packard's HP-GL plotter language into other graphics formats" +HOMEPAGE="http://www.gnu.org/software/hp2xx/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=" + media-libs/libpng + media-libs/tiff + sys-libs/zlib + virtual/jpeg +" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/${P}-r1.patch" ) + +src_prepare() { + base_src_prepare + cp -v makes/generic.mak sources/Makefile || die +} + +src_compile() { + cd "${S}/sources" || die + emake all +} + +src_install() { + dodir /usr/bin /usr/share/info /usr/share/man/man1 + + make prefix="${D}/usr" \ + mandir="${D}/usr/share/man" \ + infodir="${D}/usr/share/info" \ + install || die +} diff --git a/media-gfx/hp2xx/metadata.xml b/media-gfx/hp2xx/metadata.xml new file mode 100644 index 00000000000..6f8798ceede --- /dev/null +++ b/media-gfx/hp2xx/metadata.xml @@ -0,0 +1,10 @@ + + + + + konstantin@muenning.com + Konstantin Münning + + printing + proxy-maintainers + -- cgit v1.2.1