commit:     c1fad2cdd675feb912e964d0d38cbb3212460d54
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 26 11:42:48 2017 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Thu Jan 26 11:42:48 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1fad2cd

dev-ml/camlimages: remove old

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-ml/camlimages/Manifest                         |  1 -
 dev-ml/camlimages/camlimages-4.0.1.ebuild          | 74 ----------------------
 .../files/camlimages-4.0.1-libpng15.patch          | 67 --------------------
 3 files changed, 142 deletions(-)

diff --git a/dev-ml/camlimages/Manifest b/dev-ml/camlimages/Manifest
index 07e0449..4bb36cc 100644
--- a/dev-ml/camlimages/Manifest
+++ b/dev-ml/camlimages/Manifest
@@ -1,2 +1 @@
-DIST camlimages-4.0.1.tar.bz2 2010729 SHA256 
b6a5e79abcfba1316a516f2e0290e6f06c90fa1ed94d8dcd5533a2e3d51c0c89 SHA512 
1d80e6b1ab7f48e4219b7bcf6287b8403b6ad56f88d39fb8d9403b5e6f8c4b346c98112874094824ed001c71605e73fd0f4ca044669a07bcf6965619c5ff4811
 WHIRLPOOL 
22107c7d96995e0e2d68688c5eaa502db21e493a59a9361a59f413fa27349a3f82186d21ea4e17df12bb428d7316c5c4ccaedf0bb03d192671e187b1e5ef6410
 DIST camlimages-4.2.2.tar.bz2 789441 SHA256 
eb96aa60afb139797836c2569ba1d4e3f2d0e4dbb025c117d7325468ce6c9633 SHA512 
672e192255a9335c45d208b7589a344f712baa798dfc7bc7ccee7d3bda71e603bc06c7b012761f9c6372c683560c67ffa9d2af2742552884211ad4ffb541e3dd
 WHIRLPOOL 
dfe61d34da78b1d70feba1c2cf2717430ae4c99386d39fde3cfe14163665bd35a02947fcbc05f67c03de56b2fba1a13cd60a40031e1adbf6320ac239c1485c15

diff --git a/dev-ml/camlimages/camlimages-4.0.1.ebuild 
b/dev-ml/camlimages/camlimages-4.0.1.ebuild
deleted file mode 100644
index 52d5f38..00000000
--- a/dev-ml/camlimages/camlimages-4.0.1.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# 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="https://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/files/camlimages-4.0.1-libpng15.patch 
b/dev-ml/camlimages/files/camlimages-4.0.1-libpng15.patch
deleted file mode 100644
index 460b3c1..00000000
--- a/dev-ml/camlimages/files/camlimages-4.0.1-libpng15.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-# HG changeset patch
-# User Jun Furuse <[email protected]>
-# 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);

Reply via email to