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 /dev-ml/camlimages | |
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 'dev-ml/camlimages')
-rw-r--r-- | dev-ml/camlimages/Manifest | 4 | ||||
-rw-r--r-- | dev-ml/camlimages/camlimages-4.0.1.ebuild | 74 | ||||
-rw-r--r-- | dev-ml/camlimages/camlimages-4.1.1.ebuild | 65 | ||||
-rw-r--r-- | dev-ml/camlimages/camlimages-4.1.2.ebuild | 66 | ||||
-rw-r--r-- | dev-ml/camlimages/camlimages-4.2.1.ebuild | 66 | ||||
-rw-r--r-- | dev-ml/camlimages/files/camlimages-4.0.1-libpng15.patch | 67 | ||||
-rw-r--r-- | dev-ml/camlimages/metadata.xml | 5 |
7 files changed, 347 insertions, 0 deletions
diff --git a/dev-ml/camlimages/Manifest b/dev-ml/camlimages/Manifest new file mode 100644 index 000000000000..0e91b435a096 --- /dev/null +++ b/dev-ml/camlimages/Manifest @@ -0,0 +1,4 @@ +DIST camlimages-4.0.1.tar.bz2 2010729 SHA256 b6a5e79abcfba1316a516f2e0290e6f06c90fa1ed94d8dcd5533a2e3d51c0c89 SHA512 1d80e6b1ab7f48e4219b7bcf6287b8403b6ad56f88d39fb8d9403b5e6f8c4b346c98112874094824ed001c71605e73fd0f4ca044669a07bcf6965619c5ff4811 WHIRLPOOL 22107c7d96995e0e2d68688c5eaa502db21e493a59a9361a59f413fa27349a3f82186d21ea4e17df12bb428d7316c5c4ccaedf0bb03d192671e187b1e5ef6410 +DIST camlimages-4.1.1.tar.bz2 1098450 SHA256 22c4485f69ddda6fa94fcb62c1f996756c93ceb59d6d61962d41df59fa27e346 SHA512 79dc5680ef632968d39513cac161f0e5daf4faecec12f100d56755051d257b1c0e4e45990d4215c4b95596b5d94cebc93b6d828953450b15a4e48993013637b2 WHIRLPOOL f18c3b7046c39c7ae05c91845cd4bd7f8cc52043180be6e21d9f19cfd055aba630cc7f9fc839d2caaba47946269008e952ee31e27aee5e0f184366ab2a183f7c +DIST camlimages-4.1.2.tar.bz2 1099399 SHA256 71de393656d60555ce3fb0ca7da13a6e0a74fdebad541a7790395e3b1d6cedde SHA512 8c41eef07418719643fc69d62f2d02b248731cb64efd81bc02cc61363da71ad11cf85eb9010674a10d17f9e90d169ca98e5c61d95ae835d0476cf9cfc492f453 WHIRLPOOL d6b3908b6d9c18462b69d7806113e423a5835812148e6e835329c3ab378a351c7f58423e63c942771e37bb30bdf4d61c089ab2d0212936150f0b1831b961d966 +DIST camlimages-4.2.1.tar.bz2 1098703 SHA256 3d9b9d6a41f4b80e36574e8046acbe0514c1fcf2c5ffa11d375891485be1f266 SHA512 611a5f1eb383efed9b3ffd4801b28386f8317abe7bb25ff45a61a7e7ba911b6632852c8d3082b830d9e780fc70c03cb480c7a9f1440aa1259c60036813d07792 WHIRLPOOL eecf3a4ff1adfc458c2a48d5091ff4432fdd137e127a496cf288e13a071dbc0421045242a3fc43b8efe0d3041e8cc490d8e941290dd3f52e1888762eb69cd585 diff --git a/dev-ml/camlimages/camlimages-4.0.1.ebuild b/dev-ml/camlimages/camlimages-4.0.1.ebuild new file mode 100644 index 000000000000..318539c0c141 --- /dev/null +++ b/dev-ml/camlimages/camlimages-4.0.1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils vcs-snapshot findlib multilib + +DESCRIPTION="An image manipulation library for ocaml" +HOMEPAGE="http://gallium.inria.fr/camlimages/" +SRC_URI="http://bitbucket.org/camlspotter/camlimages/get/v4.0.1.tar.bz2 -> ${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0/${PV}" +KEYWORDS="~amd64 ppc x86" +IUSE="doc gif gtk jpeg png postscript tiff truetype X xpm zlib" + +RDEPEND=">=dev-lang/ocaml-3.10.2:=[X?,ocamlopt] + gif? ( media-libs/giflib ) + gtk? ( dev-ml/lablgtk ) + jpeg? ( virtual/jpeg ) + tiff? ( media-libs/tiff ) + png? ( >=media-libs/libpng-1.4:0 ) + postscript? ( app-text/ghostscript-gpl ) + truetype? ( >=media-libs/freetype-2 ) + xpm? ( x11-libs/libXpm ) + X? ( x11-apps/rgb ) + zlib? ( sys-libs/zlib ) + " +DEPEND="${DEPEND} + doc? ( dev-python/sphinx[latex] ) + dev-util/omake + dev-ml/findlib" + +REQUIRED_USE="png? ( zlib )" + +src_prepare() { + epatch "${FILESDIR}/${P}-libpng15.patch" +} + +camlimages_disable_have() { + if ! use $1 ; then + sed -i -e "s/^[[:space:]]*HAVE_$2.*\$/ HAVE_$2 = false/" OMakefile || die + sed -i -e "s/^[[:space:]]*SUPPORT_$2.*\$/\0\n SUPPORT_$2 = false/" OMakefile || die + fi +} + +src_configure() { + camlimages_disable_have gif GIF + camlimages_disable_have zlib Z + camlimages_disable_have png PNG + camlimages_disable_have jpeg JPEG + camlimages_disable_have tiff TIFF + camlimages_disable_have xpm XPM + camlimages_disable_have postscript PS + camlimages_disable_have gtk LABLGTK2 + camlimages_disable_have X GRAPHICS + camlimages_disable_have X RGB_TXT + camlimages_disable_have truetype FREETYPE +} + +src_compile() { + omake --force-dotomake || die + if use doc ; then + sphinx-build doc/sphinx sphinxdoc || die + fi +} + +src_install() { + findlib_src_preinst + omake --force-dotomake DESTDIR="${D}" install || die + dodoc README + use doc && dohtml -r sphinxdoc/* +} diff --git a/dev-ml/camlimages/camlimages-4.1.1.ebuild b/dev-ml/camlimages/camlimages-4.1.1.ebuild new file mode 100644 index 000000000000..664dd782e307 --- /dev/null +++ b/dev-ml/camlimages/camlimages-4.1.1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils vcs-snapshot findlib multilib + +DESCRIPTION="An image manipulation library for ocaml" +HOMEPAGE="http://gallium.inria.fr/camlimages/" +SRC_URI="http://bitbucket.org/camlspotter/camlimages/get/${PV}.tar.bz2 -> ${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc exif gif gtk jpeg png postscript tiff truetype X xpm" + +RDEPEND=">=dev-lang/ocaml-3.10.2:=[X?,ocamlopt] + exif? ( media-libs/libexif ) + gif? ( media-libs/giflib ) + gtk? ( dev-ml/lablgtk ) + jpeg? ( virtual/jpeg ) + tiff? ( media-libs/tiff ) + png? ( >=media-libs/libpng-1.4:0 ) + postscript? ( app-text/ghostscript-gpl ) + truetype? ( >=media-libs/freetype-2 ) + xpm? ( x11-libs/libXpm ) + X? ( x11-apps/rgb ) + sys-libs/zlib + " +DEPEND="${DEPEND} + doc? ( dev-python/sphinx[latex] ) + dev-util/omake + virtual/pkgconfig + dev-ml/findlib" + +camlimages_arg_want() { + echo "ARG_WANT_${2}=$(usex $1 1 0)" +} + +src_compile() { + omake \ + $(camlimages_arg_want exif EXIF ) \ + $(camlimages_arg_want gif GIF ) \ + $(camlimages_arg_want png PNG ) \ + $(camlimages_arg_want jpeg JPEG ) \ + $(camlimages_arg_want tiff TIFF ) \ + $(camlimages_arg_want xpm XPM ) \ + $(camlimages_arg_want postscript GS ) \ + $(camlimages_arg_want gtk LABLGTK2) \ + $(camlimages_arg_want X GRAPHICS) \ + $(camlimages_arg_want truetype FREETYPE) \ + --force-dotomake || die + + if use doc ; then + sphinx-build doc/sphinx sphinxdoc || die + fi +} + +src_install() { + findlib_src_preinst + omake --force-dotomake DESTDIR="${D}" install || die + dodoc README.rst + use doc && dohtml -r sphinxdoc/* +} diff --git a/dev-ml/camlimages/camlimages-4.1.2.ebuild b/dev-ml/camlimages/camlimages-4.1.2.ebuild new file mode 100644 index 000000000000..a365d01b804a --- /dev/null +++ b/dev-ml/camlimages/camlimages-4.1.2.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils vcs-snapshot findlib multilib + +DESCRIPTION="An image manipulation library for ocaml" +HOMEPAGE="http://gallium.inria.fr/camlimages/" +SRC_URI="http://bitbucket.org/camlspotter/camlimages/get/${PV}.tar.bz2 -> ${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc exif gif gtk jpeg png postscript tiff truetype X xpm" + +RDEPEND=">=dev-lang/ocaml-3.10.2:=[X?,ocamlopt] + exif? ( media-libs/libexif ) + gif? ( media-libs/giflib ) + gtk? ( dev-ml/lablgtk ) + jpeg? ( virtual/jpeg ) + tiff? ( media-libs/tiff ) + png? ( >=media-libs/libpng-1.4:0 ) + postscript? ( app-text/ghostscript-gpl ) + truetype? ( >=media-libs/freetype-2 ) + xpm? ( x11-libs/libXpm ) + X? ( x11-apps/rgb ) + sys-libs/zlib + " +DEPEND="${DEPEND} + doc? ( dev-python/sphinx[latex] ) + dev-util/omake + virtual/pkgconfig + dev-ml/findlib" + +camlimages_arg_want() { + echo "ARG_WANT_${2}=$(usex $1 1 0)" +} + +src_compile() { + omake \ + $(camlimages_arg_want exif EXIF ) \ + $(camlimages_arg_want gif GIF ) \ + $(camlimages_arg_want png PNG ) \ + $(camlimages_arg_want jpeg JPEG ) \ + $(camlimages_arg_want tiff TIFF ) \ + $(camlimages_arg_want xpm XPM ) \ + $(camlimages_arg_want postscript GS ) \ + $(camlimages_arg_want gtk LABLGTK2) \ + $(camlimages_arg_want X GRAPHICS) \ + $(camlimages_arg_want truetype FREETYPE) \ + PATH_GS=/bin/true \ + --force-dotomake || die + + if use doc ; then + sphinx-build doc/sphinx sphinxdoc || die + fi +} + +src_install() { + findlib_src_preinst + omake --force-dotomake DESTDIR="${D}" install || die + dodoc README.rst + use doc && dohtml -r sphinxdoc/* +} diff --git a/dev-ml/camlimages/camlimages-4.2.1.ebuild b/dev-ml/camlimages/camlimages-4.2.1.ebuild new file mode 100644 index 000000000000..38c392de3e05 --- /dev/null +++ b/dev-ml/camlimages/camlimages-4.2.1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils vcs-snapshot findlib multilib + +DESCRIPTION="An image manipulation library for ocaml" +HOMEPAGE="http://gallium.inria.fr/camlimages/" +SRC_URI="http://bitbucket.org/camlspotter/camlimages/get/${PV}.tar.bz2 -> ${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc exif gif gtk jpeg png postscript tiff truetype X xpm" + +RDEPEND=">=dev-lang/ocaml-3.10.2:=[X?,ocamlopt] + exif? ( media-libs/libexif ) + gif? ( media-libs/giflib ) + gtk? ( dev-ml/lablgtk ) + jpeg? ( virtual/jpeg ) + tiff? ( media-libs/tiff ) + png? ( >=media-libs/libpng-1.4:0 ) + postscript? ( app-text/ghostscript-gpl ) + truetype? ( >=media-libs/freetype-2 ) + xpm? ( x11-libs/libXpm ) + X? ( x11-apps/rgb ) + sys-libs/zlib + " +DEPEND="${DEPEND} + doc? ( dev-python/sphinx[latex] ) + dev-util/omake + virtual/pkgconfig + dev-ml/findlib" + +camlimages_arg_want() { + echo "ARG_WANT_${2}=$(usex $1 1 0)" +} + +src_compile() { + omake \ + $(camlimages_arg_want exif EXIF ) \ + $(camlimages_arg_want gif GIF ) \ + $(camlimages_arg_want png PNG ) \ + $(camlimages_arg_want jpeg JPEG ) \ + $(camlimages_arg_want tiff TIFF ) \ + $(camlimages_arg_want xpm XPM ) \ + $(camlimages_arg_want postscript GS ) \ + $(camlimages_arg_want gtk LABLGTK2) \ + $(camlimages_arg_want X GRAPHICS) \ + $(camlimages_arg_want truetype FREETYPE) \ + PATH_GS=/bin/true \ + --force-dotomake || die + + if use doc ; then + sphinx-build doc/sphinx sphinxdoc || die + fi +} + +src_install() { + findlib_src_preinst + omake --force-dotomake DESTDIR="${D}" install || die + dodoc README.rst + use doc && dohtml -r sphinxdoc/* +} diff --git a/dev-ml/camlimages/files/camlimages-4.0.1-libpng15.patch b/dev-ml/camlimages/files/camlimages-4.0.1-libpng15.patch new file mode 100644 index 000000000000..460b3c11edf1 --- /dev/null +++ b/dev-ml/camlimages/files/camlimages-4.0.1-libpng15.patch @@ -0,0 +1,67 @@ +# HG changeset patch +# User Jun Furuse <jun.furuse@gmail.com> +# Date 1329456902 -28800 +# Node ID 4ecc49e79369d413af732c4feeab7128e2f6f11a +# Parent 9b5cbcd07ae5a88561fbaa4eec3938af5e8b7574 +png_ptr->jmpbuf => png_jmpbuf(png_ptr) + +diff -r 9b5cbcd07ae5 -r 4ecc49e79369 src/pngread.c +--- a/src/pngread.c Tue Jan 31 22:40:50 2012 +0900 ++++ b/src/pngread.c Fri Feb 17 13:35:02 2012 +0800 +@@ -69,7 +69,7 @@ + } + + /* error handling */ +- if (setjmp(png_ptr->jmpbuf)) { ++ if (setjmp(png_jmpbuf(png_ptr))) { + /* Free all of the memory associated with the png_ptr and info_ptr */ + png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp)NULL); + fclose(fp); +@@ -134,7 +134,7 @@ + png_set_rows(png_ptr, info_ptr, row_pointers); + + /* Later, we can return something */ +- if (setjmp(png_ptr->jmpbuf)) { ++ if (setjmp(png_jmpbuf(png_ptr))) { + /* Free all of the memory associated with the png_ptr and info_ptr */ + png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp)NULL); + fclose(fp); +@@ -243,7 +243,7 @@ + } + + /* error handling */ +- if (setjmp(png_ptr->jmpbuf)) { ++ if (setjmp(png_jmpbuf(png_ptr))) { + /* Free all of the memory associated with the png_ptr and info_ptr */ + png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp)NULL); + fclose(fp); +@@ -302,7 +302,7 @@ + png_set_rows(png_ptr, info_ptr, row_pointers); + + /* Later, we can return something */ +- if (setjmp(png_ptr->jmpbuf)) { ++ if (setjmp(png_jmpbuf(png_ptr))) { + /* Free all of the memory associated with the png_ptr and info_ptr */ + png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp)NULL); + fclose(fp); +diff -r 9b5cbcd07ae5 -r 4ecc49e79369 src/pngwrite.c +--- a/src/pngwrite.c Tue Jan 31 22:40:50 2012 +0900 ++++ b/src/pngwrite.c Fri Feb 17 13:35:02 2012 +0800 +@@ -62,7 +62,7 @@ + } + + /* error handling */ +- if (setjmp(png_ptr->jmpbuf)) { ++ if (setjmp(png_jmpbuf(png_ptr))) { + /* Free all of the memory associated with the png_ptr and info_ptr */ + png_destroy_write_struct(&png_ptr, &info_ptr); + fclose(fp); +@@ -171,7 +171,7 @@ + } + + /* error handling */ +- if (setjmp(png_ptr->jmpbuf)) { ++ if (setjmp(png_jmpbuf(png_ptr))) { + /* Free all of the memory associated with the png_ptr and info_ptr */ + png_destroy_write_struct(&png_ptr, &info_ptr); + fclose(fp); diff --git a/dev-ml/camlimages/metadata.xml b/dev-ml/camlimages/metadata.xml new file mode 100644 index 000000000000..2193d772e351 --- /dev/null +++ b/dev-ml/camlimages/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>ml</herd> +</pkgmetadata> |