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 /media-gfx/sam2p | |
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 'media-gfx/sam2p')
-rw-r--r-- | media-gfx/sam2p/Manifest | 2 | ||||
-rw-r--r-- | media-gfx/sam2p/files/sam2p-0.45-cflags.patch | 37 | ||||
-rw-r--r-- | media-gfx/sam2p/files/sam2p-0.45-fbsd.patch | 14 | ||||
-rw-r--r-- | media-gfx/sam2p/files/sam2p-0.45-nostrip.patch | 13 | ||||
-rw-r--r-- | media-gfx/sam2p/files/sam2p-0.49-glibc-2.20.patch | 18 | ||||
-rw-r--r-- | media-gfx/sam2p/files/sam2p-0.49.1-build.patch | 42 | ||||
-rw-r--r-- | media-gfx/sam2p/files/sam2p-0.49.1-gcc48.patch | 39 | ||||
-rw-r--r-- | media-gfx/sam2p/metadata.xml | 8 | ||||
-rw-r--r-- | media-gfx/sam2p/sam2p-0.49.1.ebuild | 44 | ||||
-rw-r--r-- | media-gfx/sam2p/sam2p-0.49.2.ebuild | 43 |
10 files changed, 260 insertions, 0 deletions
diff --git a/media-gfx/sam2p/Manifest b/media-gfx/sam2p/Manifest new file mode 100644 index 000000000000..639fc75be5d7 --- /dev/null +++ b/media-gfx/sam2p/Manifest @@ -0,0 +1,2 @@ +DIST sam2p-0.49.1.tar.gz 562304 SHA256 d97a270e3ad4ad138378b5fcb10e489e9af48a8150f308458771808dfceb069a SHA512 58565fdcb7c450ad23c2971b70f0362dbf4ecfd8c4dedf19c25b56fc98c8799696c6ecf75d47650bc3b21f88b8454d7c4e6b206f7c0ae0e5de35d608262c1220 WHIRLPOOL 809512e56f7e0b4ac0b8a00be1da1088a1249fbccf1b59470b4e25036ffdaf36884374c7735bad6a3440166e835c02ade7f87dc9eb00b92b84382602884517d5 +DIST sam2p-0.49.2.tar.gz 562733 SHA256 0e75d94bed380f8d8bd629f7797a0ca533b5d0b40eba2dab339146dedc1f79bf SHA512 8e4d629df192381bddf8468687c6a41d459b70788a5e9defc68d5497f855cbae838f2f6f924237b17e4a8e6fbf982fb2709615c8fb1d9c8cec5ec7ecf91ec6ce WHIRLPOOL 90ede2ba7b8f1dbc056cfdcfbaedd3cc995ccb58439050d6b4c51ab24a33f91b022110ea3a72ffe8b72e42f9104e936511fdbcdc1bf579fdac26c145ff2bb949 diff --git a/media-gfx/sam2p/files/sam2p-0.45-cflags.patch b/media-gfx/sam2p/files/sam2p-0.45-cflags.patch new file mode 100644 index 000000000000..d6636d5308cf --- /dev/null +++ b/media-gfx/sam2p/files/sam2p-0.45-cflags.patch @@ -0,0 +1,37 @@ +Index: sam2p-0.45/configure.in +=================================================================== +--- sam2p-0.45.orig/configure.in ++++ sam2p-0.45/configure.in +@@ -81,7 +81,7 @@ fi + dnl Checks for programs. + dnl AC_PROG_CC + AC_LANG_CPLUSPLUS +-CXXFLAGS=" " ++#CXXFLAGS=" " + dnl ^^^ set it to non-empty, so AC_PROG_CXX won't include `-g' + CCC="$CCC g++" + dnl ^^^ check g++ before c++ (see acspecific.m4, grep AC_PROG_CXX) +@@ -215,7 +215,7 @@ AC_OUTPUT(Makehelp) + + dnl AC_PTS_RUN_OK([perl -x -S ./ccdep.pl $CXX], [], [AC_MSG_ERROR(cannot compute depends)]) + rm -f Makedep +-AC_PTS_RUN_OK([make Makedep], [], [AC_MSG_ERROR(cannot compute depends)]) ++AC_PTS_RUN_OK([gmake Makedep], [], [AC_MSG_ERROR(cannot compute depends)]) + AC_PTS_OK + echo "configure done. Now you should run: make; make install" + +Index: sam2p-0.45/Makefile +=================================================================== +--- sam2p-0.45.orig/Makefile ++++ sam2p-0.45/Makefile +@@ -49,8 +49,8 @@ IDE_MODES := release debug + IDE_TARGETS_debug := $(patsubst %,%.yes, $(TARGETS)) + IDE_TARGETS_release := $(TARGETS) + +-CXD_assert =$(CXX) -s -O2 +-CXD_no =$(CXX) -s -DNDEBUG -O3 ++CXD_assert =$(CXX) ++CXD_no =$(CXX) -DNDEBUG + # CXD_yes =$(CXX) $(GFLAG) -lefence + CXD_yes =$(CXX) $(GFLAG) + CXD_checker=checkerg++ $(GFLAG) diff --git a/media-gfx/sam2p/files/sam2p-0.45-fbsd.patch b/media-gfx/sam2p/files/sam2p-0.45-fbsd.patch new file mode 100644 index 000000000000..aed13acf08dd --- /dev/null +++ b/media-gfx/sam2p/files/sam2p-0.45-fbsd.patch @@ -0,0 +1,14 @@ +--- gensio.cpp.orig Fri Feb 7 02:24:56 2003 ++++ gensio.cpp Fri Feb 7 02:25:11 2003 +@@ -491,11 +491,7 @@ + /* --- */ + + +-#if HAVE_lstat_in_sys_stat +-# define PTS_lstat lstat +-#else + # define PTS_lstat stat +-#endif + + /** @param fname must start with '/' (dir separator) + * @return true if file successfully created diff --git a/media-gfx/sam2p/files/sam2p-0.45-nostrip.patch b/media-gfx/sam2p/files/sam2p-0.45-nostrip.patch new file mode 100644 index 000000000000..d60a77c36207 --- /dev/null +++ b/media-gfx/sam2p/files/sam2p-0.45-nostrip.patch @@ -0,0 +1,13 @@ +Index: sam2p-0.45/Makefile +=================================================================== +--- sam2p-0.45.orig/Makefile ++++ sam2p-0.45/Makefile +@@ -17,7 +17,7 @@ PERL_BADLANG=x + export PERL_BADLANG + + CXXX=$(CXD_assert) +-LDALL=$(LDXX) -s $(LDFLAGS) $(LIBS) ++LDALL=$(LDXX) $(LDFLAGS) $(LIBS) + ifeq ($(ENABLE_DEBUG), no) + CXXX=$(CXD_no) + endif diff --git a/media-gfx/sam2p/files/sam2p-0.49-glibc-2.20.patch b/media-gfx/sam2p/files/sam2p-0.49-glibc-2.20.patch new file mode 100644 index 000000000000..f96a97969390 --- /dev/null +++ b/media-gfx/sam2p/files/sam2p-0.49-glibc-2.20.patch @@ -0,0 +1,18 @@ +https://bugs.gentoo.org/524048 + +ignore warnings w/newer glibc-2.20 + +patch by Dmitry Derevyanko + +--- a/ccdep.pl ++++ b/ccdep.pl +@@ -233,6 +233,9 @@ + } elsif ($S=~/\A([^:]+):\d+:(\d+:)? warning: this is the location of /) { + # ^^^ gcc-3.1 + undef $included_from; ++ } elsif ($S=~/\A([^:]+):\d+:(\d+:)? warning: .*\bdeprecated\b/) { ++ # Example: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] ++ undef $included_from; + } elsif ($S=~/: No such file or directory$/) { # Depends on $ENV{LC_ALL}. + # ^^^ gcc-3.3 + undef $included_from; diff --git a/media-gfx/sam2p/files/sam2p-0.49.1-build.patch b/media-gfx/sam2p/files/sam2p-0.49.1-build.patch new file mode 100644 index 000000000000..ba421463d536 --- /dev/null +++ b/media-gfx/sam2p/files/sam2p-0.49.1-build.patch @@ -0,0 +1,42 @@ +--- configure.in ++++ configure.in +@@ -81,7 +81,7 @@ + dnl Checks for programs. + dnl AC_PROG_CC + AC_LANG_CPLUSPLUS +-CXXFLAGS=" " ++#CXXFLAGS=" " + dnl ^^^ set it to non-empty, so AC_PROG_CXX won't include `-g' + CCC="$CCC g++" + dnl ^^^ check g++ before c++ (see acspecific.m4, grep AC_PROG_CXX) +@@ -215,7 +215,7 @@ + + dnl AC_PTS_RUN_OK([perl -x -S ./ccdep.pl $CXX], [], [AC_MSG_ERROR(cannot compute depends)]) + rm -f Makedep +-AC_PTS_RUN_OK([make Makedep], [], [AC_MSG_ERROR(cannot compute depends)]) ++AC_PTS_RUN_OK([gmake Makedep], [], [AC_MSG_ERROR(cannot compute depends)]) + AC_PTS_OK + echo "configure done. Now you should run: make; make install" + +--- Makefile ++++ Makefile +@@ -17,7 +17,7 @@ + export PERL_BADLANG + + CXXX=$(CXD_assert) +-LDALL=$(LDXX) -s $(LDFLAGS) $(LIBS) ++LDALL=$(LDXX) $(LDFLAGS) $(LIBS) + ifeq ($(ENABLE_DEBUG), no) + CXXX=$(CXD_no) + endif +@@ -51,8 +51,8 @@ + IDE_TARGETS_debug := $(patsubst %,%.yes, $(TARGETS)) + IDE_TARGETS_release := $(TARGETS) + +-CXD_assert =$(CXX) -s -O2 +-CXD_no =$(CXX) -s -DNDEBUG -O3 ++CXD_assert =$(CXX) ++CXD_no =$(CXX) -DNDEBUG + # CXD_yes =$(CXX) $(GFLAG) -lefence + CXD_yes =$(CXX) $(GFLAG) + CXD_checker=checkerg++ $(GFLAG) diff --git a/media-gfx/sam2p/files/sam2p-0.49.1-gcc48.patch b/media-gfx/sam2p/files/sam2p-0.49.1-gcc48.patch new file mode 100644 index 000000000000..d427c2076d3c --- /dev/null +++ b/media-gfx/sam2p/files/sam2p-0.49.1-gcc48.patch @@ -0,0 +1,39 @@ +Index: ccdep.pl +=================================================================== +--- ccdep.pl (revision 123) ++++ ccdep.pl (revision 125) +@@ -137,13 +137,20 @@ + + my @DS=find_ds(); + my @DSQ=map{shq$_}@DS; +-my $R="$GCCP -DOBJDEP -M -MG -E 2>&1 @DSQ"; +-$R=backtick($R); ++my $DIAG=" -fno-diagnostics-show-caret"; ++my $Q="$GCCP -DOBJDEP$DIAG -M -MG -E 2>&1 @DSQ"; ++my $R=backtick($Q); ++if ($R=~/\berror: .*-fno-diagnostics-show-caret\b/) { ++ # gcc-4.6 and earlier don't have this flag, and they fail. ++ $Q=~s@ -fno-diagnostics-show-caret(?=\s)@@; ++ $DIAG=""; ++ $R=backtick($Q); ++} + + if ($R!~/: warning: #warning\b/) { + # config2.h:314:4: warning: #warning REQUIRES: c_lgcc3.o + # Dat: g++-3.3 ignores #warning with -M -MG -E +- $R.="\n".backtick("$GCCP -DOBJDEP -E 2>&1 >/dev/null @DSQ"); ++ $R.="\n".backtick("$GCCP -DOBJDEP$DIAG -E 2>&1 >/dev/null @DSQ"); + } + + ## die $R; +--- rule.hpp 2013-04-18 12:14:20.385333527 +0200 ++++ rule.hpp 2013-04-18 12:14:35.818870070 +0200 +@@ -88,7 +88,7 @@ + PR_PNGAuto=15, + PR_PNGAutoMaybe=25, + PR_PNGAutoBadUnsigned=45, +- PR_PNGAutoBadSigned=55, ++ PR_PNGAutoBadSigned=55 + END_STATIC_ENUM() + pr_t Predictor; + diff --git a/media-gfx/sam2p/metadata.xml b/media-gfx/sam2p/metadata.xml new file mode 100644 index 000000000000..8c6fbf3b4e63 --- /dev/null +++ b/media-gfx/sam2p/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>tex</herd> + <upstream> + <remote-id type="google-code">sam2p</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-gfx/sam2p/sam2p-0.49.1.ebuild b/media-gfx/sam2p/sam2p-0.49.1.ebuild new file mode 100644 index 000000000000..235b7cafa1c3 --- /dev/null +++ b/media-gfx/sam2p/sam2p-0.49.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit autotools eutils toolchain-funcs + +DESCRIPTION="Utility to convert raster images to EPS, PDF and many others" +HOMEPAGE="http://code.google.com/p/sam2p/" +SRC_URI="http://sam2p.googlecode.com/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="examples gif" + +RDEPEND="" +DEPEND="dev-lang/perl" + +RESTRICT="test" + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-0.45-fbsd.patch \ + "${FILESDIR}"/${PN}-0.49.1-build.patch \ + "${FILESDIR}"/${PN}-0.49.1-gcc48.patch \ + "${FILESDIR}"/${PN}-0.49-glibc-2.20.patch + eautoreconf + tc-export CXX +} + +src_configure() { + econf --enable-lzw $(use_enable gif) +} + +src_install() { + dobin sam2p + dodoc README + + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins examples/* + fi +} diff --git a/media-gfx/sam2p/sam2p-0.49.2.ebuild b/media-gfx/sam2p/sam2p-0.49.2.ebuild new file mode 100644 index 000000000000..6f962ef1cadb --- /dev/null +++ b/media-gfx/sam2p/sam2p-0.49.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit autotools eutils toolchain-funcs + +DESCRIPTION="Utility to convert raster images to EPS, PDF and many others" +HOMEPAGE="http://code.google.com/p/sam2p/" +SRC_URI="http://sam2p.googlecode.com/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="examples gif" + +RDEPEND="" +DEPEND="dev-lang/perl" + +RESTRICT="test" + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-0.45-fbsd.patch \ + "${FILESDIR}"/${PN}-0.49.1-build.patch \ + "${FILESDIR}"/${PN}-0.49-glibc-2.20.patch + eautoreconf + tc-export CXX +} + +src_configure() { + econf --enable-lzw $(use_enable gif) +} + +src_install() { + dobin sam2p + dodoc README + + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins examples/* + fi +} |