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/enblend | |
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/enblend')
-rw-r--r-- | media-gfx/enblend/Manifest | 3 | ||||
-rw-r--r-- | media-gfx/enblend/enblend-4.1.1-r1.ebuild | 73 | ||||
-rw-r--r-- | media-gfx/enblend/enblend-4.1.1.ebuild | 81 | ||||
-rw-r--r-- | media-gfx/enblend/enblend-4.1.2.ebuild | 74 | ||||
-rw-r--r-- | media-gfx/enblend/enblend-4.1.3.ebuild | 77 | ||||
-rw-r--r-- | media-gfx/enblend/files/enblend-4.1.3-vigra_check.patch | 11 | ||||
-rw-r--r-- | media-gfx/enblend/metadata.xml | 12 |
7 files changed, 331 insertions, 0 deletions
diff --git a/media-gfx/enblend/Manifest b/media-gfx/enblend/Manifest new file mode 100644 index 000000000000..8e9dbf3333a7 --- /dev/null +++ b/media-gfx/enblend/Manifest @@ -0,0 +1,3 @@ +DIST enblend-enfuse-4.1.1.tar.gz 850214 SHA256 9d0947633ebaa0dc1211331b31009408de6fe2108751ad4190760e3a9f181bc9 SHA512 dd4c8f205986beef1268210a8ccad10107125fc15a45b2e7266f250d36a294356f557d577b80e923e04b5f14ed5f6070201793c067cc3a2e7d6020cf5669a61f WHIRLPOOL c9938499116f26f3bfe6eae874414722a15380cbda959c82315bb124cb7b58456550174b0d43355d924cb6e107ef3ee4d1b83f8adc82d7144d974b66207ff965 +DIST enblend-enfuse-4.1.2.tar.gz 869265 SHA256 6dc2682d366776ff771fd6c9ae709bcfef0b7b00cac9e620b56d13bf81faaf6e SHA512 8d4fa80bb455276e79e7ee4e757c8774bb0380fa2ef56835e18a02fda12b710eaad0a90f2849dc2297eb7cd477dc7134a90a61708373928463595d726ded0259 WHIRLPOOL e0834b7e9461ae3d29e52cd21cd8c41384356026f3e62b7c60cbb60ba02edc23c844862afac001cb20b5da828a11ec7f9bd4d604ab77177ca318e400ccf70650 +DIST enblend-enfuse-4.1.3.tar.gz 862079 SHA256 1c00ae95cd05502759d7d47f99e6ba1150f8807f8f4f46c800cd46c5ad0df9ac SHA512 0a3487783afadee896b84411330898393cda4be4cbb79d36013daa98c17ab88f97a298c21a5c398b7cb2ce83e8dc4519a80e18be472c5fec10c3114037b6db73 WHIRLPOOL ab33a8ca5c38d9a5dca6aaeed7cbc806f7c34c5642f9e568a90d14789ecede896c0da888e5fe7e7d30e586778e0734495d06055fc189732e55bc0c013e699b48 diff --git a/media-gfx/enblend/enblend-4.1.1-r1.ebuild b/media-gfx/enblend/enblend-4.1.1-r1.ebuild new file mode 100644 index 000000000000..20e28328a046 --- /dev/null +++ b/media-gfx/enblend/enblend-4.1.1-r1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit cmake-utils + +MY_P="${PN}-enfuse-${PV/_rc/rc}" + +DESCRIPTION="Image Blending with Multiresolution Splines" +HOMEPAGE="http://enblend.sourceforge.net/" +SRC_URI="mirror://sourceforge/enblend/${MY_P}.tar.gz" + +LICENSE="GPL-2 VIGRA" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="debug doc gpu image-cache openmp" + +REQUIRED_USE="openmp? ( !image-cache )" + +RDEPEND=" + media-libs/glew + =media-libs/lcms-2* + >=media-libs/libpng-1.2.43:0= + >=media-libs/openexr-1.0:= + media-libs/plotutils[X] + media-libs/tiff + >=media-libs/vigra-1.8.0 + sci-libs/gsl + virtual/jpeg:0= + debug? ( dev-libs/dmalloc ) + gpu? ( media-libs/freeglut )" +DEPEND="${RDEPEND} + >=dev-libs/boost-1.31.0:= + virtual/pkgconfig + doc? ( + media-gfx/imagemagick + media-gfx/transfig + sci-visualization/gnuplot[gd] + virtual/latex-base + )" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + sed -i -e "/CXX_FLAGS/s:-O3::g" CMakeLists.txt || die + sed -i -e "s:doc/enblend:doc/${P}:" doc/CMakeLists.txt || die + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_CXX_FLAGS_RELEASE="" + $(cmake-utils_use_enable debug DMALLOC) + $(cmake-utils_use doc DOC) + $(cmake-utils_use_enable image-cache IMAGECACHE) + $(cmake-utils_use_enable openmp) + $(cmake-utils_use_enable gpu) + ) + CMAKE_BUILD_TYPE="Release" + cmake-utils_src_configure +} + +src_compile() { + # forcing -j1 as every parallel compilation process needs about 1 GB RAM. + cmake-utils_src_compile -j1 +} + +src_install() { + local DOCS=( AUTHORS ChangeLog NEWS README ) + cmake-utils_src_install +} diff --git a/media-gfx/enblend/enblend-4.1.1.ebuild b/media-gfx/enblend/enblend-4.1.1.ebuild new file mode 100644 index 000000000000..20e6ba7447ab --- /dev/null +++ b/media-gfx/enblend/enblend-4.1.1.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 + +inherit eutils + +MY_P="${PN}-enfuse-${PV/_rc/rc}" + +DESCRIPTION="Image Blending with Multiresolution Splines" +HOMEPAGE="http://enblend.sourceforge.net/" +SRC_URI="mirror://sourceforge/enblend/${MY_P}.tar.gz" + +LICENSE="GPL-2 VIGRA" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="debug doc gpu +image-cache +openexr openmp" + +RDEPEND=" + media-libs/glew + =media-libs/lcms-2* + >=media-libs/libpng-1.2.43 + media-libs/plotutils[X] + media-libs/tiff + >=media-libs/vigra-1.8.0 + sci-libs/gsl + virtual/jpeg + gpu? ( media-libs/freeglut ) + openexr? ( >=media-libs/openexr-1.0 )" +DEPEND="${RDEPEND} + >=dev-libs/boost-1.31.0 + virtual/pkgconfig + doc? ( + media-gfx/transfig + sci-visualization/gnuplot[gd] + virtual/latex-base + )" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + if use image-cache && use openmp; then + ewarn "the openmp and image-cache USE-flags are mutually exclusive" + ewarn "image-cache will be disabled in favour of openmp" + fi +} + +src_configure() { + local myconf="--with-boost-filesystem" + if use image-cache && use openmp; then + myconf="${myconf} --disable-image-cache --enable-openmp" + else + myconf="${myconf} $(use_enable image-cache) $(use_enable openmp)" + fi + + use doc && myconf="${myconf} --with-gnuplot=$(type -p gnuplot)" \ + || myconf="${myconf} --with-gnuplot=false" + + econf \ + --with-x \ + $(use_enable debug) \ + $(use_enable gpu gpu-support) \ + $(use_with openexr) \ + ${myconf} +} + +src_compile() { + # forcing -j1 as every parallel compilation process needs about 1 GB RAM. + emake -j1 || die + if use doc; then + cd doc + make enblend.pdf enfuse.pdf || die + fi +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog NEWS README || die + use doc && dodoc doc/en{blend,fuse}.pdf +} diff --git a/media-gfx/enblend/enblend-4.1.2.ebuild b/media-gfx/enblend/enblend-4.1.2.ebuild new file mode 100644 index 000000000000..5078db95f3ec --- /dev/null +++ b/media-gfx/enblend/enblend-4.1.2.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit cmake-utils + +MY_P="${PN}-enfuse-${PV/_rc/rc}" + +DESCRIPTION="Image Blending with Multiresolution Splines" +HOMEPAGE="http://enblend.sourceforge.net/" +SRC_URI="mirror://sourceforge/enblend/${MY_P}.tar.gz" + +LICENSE="GPL-2 VIGRA" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="debug doc gpu image-cache openmp" + +REQUIRED_USE="openmp? ( !image-cache )" + +RDEPEND=" + media-libs/glew + =media-libs/lcms-2* + >=media-libs/libpng-1.2.43:0= + >=media-libs/openexr-1.0:= + media-libs/plotutils[X] + media-libs/tiff + >=media-libs/vigra-1.8.0 + sci-libs/gsl + virtual/jpeg:0= + debug? ( dev-libs/dmalloc ) + gpu? ( media-libs/freeglut )" +DEPEND="${RDEPEND} + >=dev-libs/boost-1.31.0:= + sys-apps/help2man + virtual/pkgconfig + doc? ( + media-gfx/imagemagick + media-gfx/transfig + sci-visualization/gnuplot[gd] + virtual/latex-base + )" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + sed -i -e "/CXX_FLAGS/s:-O3::g" CMakeLists.txt || die + sed -i -e "s:doc/enblend:doc/${P}:" doc/CMakeLists.txt || die + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_CXX_FLAGS_RELEASE="" + $(cmake-utils_use_enable debug DMALLOC) + $(cmake-utils_use doc DOC) + $(cmake-utils_use_enable image-cache IMAGECACHE) + $(cmake-utils_use_enable openmp) + $(cmake-utils_use_enable gpu) + ) + CMAKE_BUILD_TYPE="Release" + cmake-utils_src_configure +} + +src_compile() { + # forcing -j1 as every parallel compilation process needs about 1 GB RAM. + cmake-utils_src_compile -j1 +} + +src_install() { + local DOCS=( AUTHORS ChangeLog NEWS README ) + cmake-utils_src_install +} diff --git a/media-gfx/enblend/enblend-4.1.3.ebuild b/media-gfx/enblend/enblend-4.1.3.ebuild new file mode 100644 index 000000000000..132ec8d73852 --- /dev/null +++ b/media-gfx/enblend/enblend-4.1.3.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit cmake-utils + +MY_P="${PN}-enfuse-${PV/_rc/rc}" + +DESCRIPTION="Image Blending with Multiresolution Splines" +HOMEPAGE="http://enblend.sourceforge.net/" +SRC_URI="mirror://sourceforge/enblend/${MY_P}.tar.gz" + +LICENSE="GPL-2 VIGRA" +SLOT="0" +KEYWORDS="~amd64 ppc ~x86" +IUSE="debug doc gpu image-cache openmp" + +REQUIRED_USE="openmp? ( !image-cache )" + +RDEPEND=" + >=dev-libs/boost-1.31.0:= + media-libs/glew + >=media-libs/lcms-2.5:2 + >=media-libs/libpng-1.2.43:0= + >=media-libs/openexr-1.0:= + media-libs/plotutils[X] + media-libs/tiff:= + >=media-libs/vigra-1.8.0[openexr] + sci-libs/gsl + virtual/jpeg:0= + debug? ( dev-libs/dmalloc ) + gpu? ( media-libs/freeglut )" +DEPEND="${RDEPEND} + media-gfx/imagemagick + sys-apps/help2man + virtual/pkgconfig + doc? ( + media-gfx/transfig + sci-visualization/gnuplot[gd] + virtual/latex-base + )" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( "${FILESDIR}/${PN}-4.1.3-vigra_check.patch" ) + +src_prepare() { + sed -i -e "/CXX_FLAGS/s:-O3::g" CMakeLists.txt || die + sed -i -e "s:doc/enblend:share/doc/${PF}:" doc/CMakeLists.txt || die + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_CXX_FLAGS_RELEASE="" + -DMAKEINFO_EXE="/bin/true" + $(cmake-utils_use_enable debug DMALLOC) + $(cmake-utils_use doc DOC) + $(cmake-utils_use_enable image-cache IMAGECACHE) + $(cmake-utils_use_enable openmp) + $(cmake-utils_use_enable gpu) + ) + CMAKE_BUILD_TYPE="Release" + cmake-utils_src_configure +} + +src_compile() { + # forcing -j1 as every parallel compilation process needs about 1 GB RAM. + cmake-utils_src_compile -j1 +} + +src_install() { + local DOCS=( AUTHORS ChangeLog NEWS README ) + cmake-utils_src_install +} diff --git a/media-gfx/enblend/files/enblend-4.1.3-vigra_check.patch b/media-gfx/enblend/files/enblend-4.1.3-vigra_check.patch new file mode 100644 index 000000000000..982293e47713 --- /dev/null +++ b/media-gfx/enblend/files/enblend-4.1.3-vigra_check.patch @@ -0,0 +1,11 @@ +--- ConfigureChecks.cmake.orig 2013-10-07 10:50:00.000000000 +0400 ++++ ConfigureChecks.cmake 2015-03-31 13:42:40.179527224 +0300 +@@ -53,7 +53,7 @@ + if(VIGRA_FOUND AND NOT VIGRA_VERSION_CHECK) + unset(VIGRA_SETIMAGEINDEX CACHE) + set(CMAKE_REQUIRED_INCLUDES ${VIGRA_INCLUDE_DIR}) +- set(CMAKE_REQUIRED_LIBRARIES ${VIGRA_LIBRARIES}) ++ set(CMAKE_REQUIRED_LIBRARIES ${VIGRA_LIBRARIES} -lpthread) + check_cxx_source_compiles( + " + #include <vigra/imageinfo.hxx> diff --git a/media-gfx/enblend/metadata.xml b/media-gfx/enblend/metadata.xml new file mode 100644 index 000000000000..f4732882ad96 --- /dev/null +++ b/media-gfx/enblend/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>graphics</herd> + <use> + <flag name="gpu">GPU support for Enblend</flag> + <flag name="image-cache">allow for processing of large images</flag> + </use> + <upstream> + <remote-id type="sourceforge">enblend</remote-id> + </upstream> +</pkgmetadata> |