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/sfftobmp | |
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/sfftobmp')
-rw-r--r-- | media-gfx/sfftobmp/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/sfftobmp/files/sfftobmp-3.1.1-gcc44-and-boost-1_37.patch | 33 | ||||
-rw-r--r-- | media-gfx/sfftobmp/files/sfftobmp-3.1.2-boost_fs3.patch | 21 | ||||
-rw-r--r-- | media-gfx/sfftobmp/metadata.xml | 9 | ||||
-rw-r--r-- | media-gfx/sfftobmp/sfftobmp-3.1.2-r1.ebuild | 38 |
5 files changed, 102 insertions, 0 deletions
diff --git a/media-gfx/sfftobmp/Manifest b/media-gfx/sfftobmp/Manifest new file mode 100644 index 000000000000..8bfebbb5135e --- /dev/null +++ b/media-gfx/sfftobmp/Manifest @@ -0,0 +1 @@ +DIST sfftobmp3_1_2_src.zip 121478 SHA256 08f8080ead0e0c1fee4cfb0061ea08edfd95dae60f333269337ae17d9562d970 SHA512 3c460dcd60486954f792ecc8e864d109dabbae30b56a6ba4b3228a42dd489fd88793e4d93e2d032e6cd1c552bf5e217bc2afb3eae85a1a4e1db340f7761905b7 WHIRLPOOL bde9c8d2bd9f9b1a25af99fc19e781501764de1715ad7f6be33e53cee88b0672d629de28be2601bf1001eb8be3deb837413e42b72a3125dea01aae3049c4743c diff --git a/media-gfx/sfftobmp/files/sfftobmp-3.1.1-gcc44-and-boost-1_37.patch b/media-gfx/sfftobmp/files/sfftobmp-3.1.1-gcc44-and-boost-1_37.patch new file mode 100644 index 000000000000..3ba832afaed6 --- /dev/null +++ b/media-gfx/sfftobmp/files/sfftobmp-3.1.1-gcc44-and-boost-1_37.patch @@ -0,0 +1,33 @@ +Only in sfftobmp3_1_1: Makefile.am.orig +Only in sfftobmp3_1_1: Makefile.am.rej +diff -ur sfftobmp3_1_1.orig/src/cmdline.cpp sfftobmp3_1_1/src/cmdline.cpp +--- sfftobmp3_1_1.orig/src/cmdline.cpp 2007-10-07 22:01:21.000000000 +0300 ++++ sfftobmp3_1_1/src/cmdline.cpp 2009-05-09 00:33:06.000000000 +0300 +@@ -35,6 +35,7 @@ + + ---RCS-Info--------------------------------------------------*/ + ++#include <cstdio> + #include <vector> + #include <cassert> + #include <iostream> +diff -ur sfftobmp3_1_1.orig/src/common.cpp sfftobmp3_1_1/src/common.cpp +--- sfftobmp3_1_1.orig/src/common.cpp 2007-10-07 22:01:20.000000000 +0300 ++++ sfftobmp3_1_1/src/common.cpp 2009-05-09 00:28:37.000000000 +0300 +@@ -49,6 +49,7 @@ + #include <sys/utime.h> + #endif + ++#include <cstdio> + #include <cassert> + #include <iostream> + +diff -ur sfftobmp3_1_1.orig/src/Makefile.am sfftobmp3_1_1/src/Makefile.am +--- sfftobmp3_1_1.orig/src/Makefile.am 2006-10-24 23:14:19.000000000 +0300 ++++ sfftobmp3_1_1/src/Makefile.am 2009-05-09 00:27:42.000000000 +0300 +@@ -3,4 +3,4 @@ + INCLUDES = -I$(top_builddir) -I$(top_srcdir) + bin_PROGRAMS = sfftobmp + sfftobmp_SOURCES = my_getopt.c cmdline.cpp codes.cpp common.cpp decoder.cpp input.cpp main.cpp output.cpp +-sfftobmp_LDADD = @TIFF_LIB@ @JPEG_LIB@ -lboost_filesystem ++sfftobmp_LDADD = @TIFF_LIB@ @JPEG_LIB@ -lboost_filesystem -lboost_system diff --git a/media-gfx/sfftobmp/files/sfftobmp-3.1.2-boost_fs3.patch b/media-gfx/sfftobmp/files/sfftobmp-3.1.2-boost_fs3.patch new file mode 100644 index 000000000000..f39d157e1972 --- /dev/null +++ b/media-gfx/sfftobmp/files/sfftobmp-3.1.2-boost_fs3.patch @@ -0,0 +1,21 @@ +http://bugs.gentoo.org/425364 + +--- src/cmdline.cpp ++++ src/cmdline.cpp +@@ -264,14 +264,14 @@ + } + do { + if (!(fd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)) { +- m_vFiles.push_back( fs::path(fd.cFileName, fs::native) ); ++ m_vFiles.push_back( fs::path(fd.cFileName) ); + } + } while (::FindNextFile(hFind, &fd)); + ::FindClose(hFind); + #else + int n = optind; + while (n < m_argc) { +- m_vFiles.push_back( fs::path(m_argv[n], fs::native) ); ++ m_vFiles.push_back( fs::path(m_argv[n]) ); + ++n; + } + #endif diff --git a/media-gfx/sfftobmp/metadata.xml b/media-gfx/sfftobmp/metadata.xml new file mode 100644 index 000000000000..39922da90f27 --- /dev/null +++ b/media-gfx/sfftobmp/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>graphics</herd> + <longdescription>sff to bmp converter</longdescription> + <upstream> + <remote-id type="sourceforge">sfftools</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-gfx/sfftobmp/sfftobmp-3.1.2-r1.ebuild b/media-gfx/sfftobmp/sfftobmp-3.1.2-r1.ebuild new file mode 100644 index 000000000000..0f3103fc1e27 --- /dev/null +++ b/media-gfx/sfftobmp/sfftobmp-3.1.2-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils flag-o-matic + +MY_P=${PN}${PV//./_} + +DESCRIPTION="sff to bmp converter" +HOMEPAGE="http://sfftools.sourceforge.net/" +SRC_URI="mirror://sourceforge/sfftools/${MY_P}_src.zip" + +LICENSE="HPND MIT" +SLOT="0" +KEYWORDS="amd64 ~hppa ppc x86" +IUSE="" + +RDEPEND=">=dev-libs/boost-1.49 + media-libs/tiff:0 + virtual/jpeg:0" +DEPEND="${RDEPEND} + app-arch/unzip" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-3.1.1-gcc44-and-boost-1_37.patch \ + "${FILESDIR}"/${PN}-3.1.2-boost_fs3.patch + append-cppflags -DBOOST_FILESYSTEM_VERSION=3 + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install + dodoc doc/{changes,credits,readme} +} |