[packages/exact-image] - up to 1.0.1

baggins baggins at pld-linux.org
Mon Sep 3 13:50:57 CEST 2018


commit 0f3a68392c290f0d7dfc702e7f65ad6a04406b8b
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Sep 3 13:50:45 2018 +0200

    - up to 1.0.1

 exact-image-ub.patch |  2 +-
 exact-image.spec     | 10 ++++------
 swig.patch           | 11 -----------
 3 files changed, 5 insertions(+), 18 deletions(-)
---
diff --git a/exact-image.spec b/exact-image.spec
index b064e48..f438e0d 100644
--- a/exact-image.spec
+++ b/exact-image.spec
@@ -5,7 +5,7 @@
 %bcond_without	gif	# GIF support
 %bcond_without	lua	# Lua API
 %bcond_without	perl	# Perl API
-%bcond_without	php	# PHP API
+%bcond_with	php	# PHP API
 %bcond_without	python	# Python API
 %bcond_with	ruby	# Ruby API [still not finished as of 0.9.2]
 
@@ -14,18 +14,17 @@
 Summary:	A fast, modern and generic image processing library
 Summary(pl.UTF-8):	Szybka, nowoczesna i ogólna biblioteka do przetwarzania obrazu
 Name:		exact-image
-Version:	0.9.2
-Release:	3
+Version:	1.0.1
+Release:	1
 License:	GPL v2
 Group:		Applications/Graphics
 Source0:	http://dl.exactcode.de/oss/exact-image/%{name}-%{version}.tar.bz2
-# Source0-md5:	bb9c8be82a4b5126be0224529ea7c4c7
+# Source0-md5:	1f03ef559ca81cf7a1651a72fd9fe98f
 Patch0:		%{name}-libs.patch
 Patch1:		%{name}-ub.patch
 Patch2:		%{name}-make.patch
 Patch3:		%{name}-evas.patch
 Patch4:		%{name}-install.patch
-Patch5:		swig.patch
 URL:		http://www.exactcode.de/site/open_source/exactimage/
 BuildRequires:	OpenEXR-devel >= 1.2.0
 BuildRequires:	agg-devel >= 2.3
@@ -119,7 +118,6 @@ API ExactImage dla Pythona.
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
-%patch5 -p1
 
 %if %{with php}
 %if "%(php%{?php_suffix}-config --version)" >= "7.0"
diff --git a/exact-image-ub.patch b/exact-image-ub.patch
index 82bc647..1a6ba3e 100644
--- a/exact-image-ub.patch
+++ b/exact-image-ub.patch
@@ -28,7 +28,7 @@
 +      if (table[i].maximum) maximum = table[i].maximum;
        if (table[i].trans[0]) {
  	for (raw_color = j=0; j < 12; j++)
--	  cam_xyz[0][j] = table[i].trans[j] / 10000.0;
+-	  ((double *)cam_xyz)[j] = table[i].trans[j] / 10000.0;
 +	  cam_xyz[j / 3][j % 3] = table[i].trans[j] / 10000.0;
  	cam_xyz_coeff (rgb_cam, cam_xyz);
        }
diff --git a/swig.patch b/swig.patch
deleted file mode 100644
index dcf9fe6..0000000
--- a/swig.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- exact-image-0.8.9/api/api-swig.hh~	2009-03-19 14:00:11.000000000 +0100
-+++ exact-image-0.8.9/api/api-swig.hh	2015-12-27 13:53:37.704789844 +0100
-@@ -22,7 +22,7 @@
- %include "cstring.i"
- %include "std_string.i"
- 
--# manually include it, otherwise SWIG will not source it
-+/* manually include it, otherwise SWIG will not source it */
- %include "config.h"
- 
- %{
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/exact-image.git/commitdiff/0f3a68392c290f0d7dfc702e7f65ad6a04406b8b



More information about the pld-cvs-commit mailing list