commit lcms2 for openSUSE:Factory

2020-09-14 Thread root
Hello community,

here is the log from the commit of package lcms2 for openSUSE:Factory checked 
in at 2020-09-14 12:17:47

Comparing /work/SRC/openSUSE:Factory/lcms2 (Old)
 and  /work/SRC/openSUSE:Factory/.lcms2.new.4249 (New)


Package is "lcms2"

Mon Sep 14 12:17:47 2020 rev:31 rq:833813 version:2.11

Changes:

--- /work/SRC/openSUSE:Factory/lcms2/lcms2.changes  2018-10-11 
11:41:43.331071648 +0200
+++ /work/SRC/openSUSE:Factory/.lcms2.new.4249/lcms2.changes2020-09-14 
12:26:22.965024205 +0200
@@ -1,0 +2,19 @@
+Wed Aug  5 13:31:44 UTC 2020 - Matthias Eliasson 
+
+- Update to 2.11
+  * Fixed __cpuid() on fast float plugin to allow gnu gcc
+  * Fixed copy alpha bounds check
+  * Fixed data race condition on contexts pool
+  * Fixed LUT16 write matrix on multichannel V2 profiles
+- Changes in 2.10
+  * Added a compilation toggle to remove "register" keyword in API. 
+  * Previously commercial, fast_float plug-in is now released as open source
+under GPL3 license.
+  * MD5 functions are now accesible through plug-in API.
+  * Added support for Visual Studio 2019
+  * Bug fixing.
+- Drop lcms2-cgats-memory-allocation.patch, its now in upstream code
+- Refresh patches
+- Run spec-cleaner
+
+---

Old:

  lcms2-2.9.tar.gz
  lcms2-cgats-memory-allocation.patch

New:

  lcms2-2.11.tar.gz



Other differences:
--
++ lcms2.spec ++
--- /var/tmp/diff_new_pack.0TdfQy/_old  2020-09-14 12:26:26.525026475 +0200
+++ /var/tmp/diff_new_pack.0TdfQy/_new  2020-09-14 12:26:26.529026478 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package lcms2
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,23 +17,25 @@
 
 
 Name:   lcms2
+Version:2.11
+Release:0
 Summary:Little CMS Engine - A color managment library and tools
 License:MIT
 Group:  Productivity/Graphics/Other
-Url:http://www.littlecms.com/
-Version:2.9
-Release:0
-
+URL:http://www.littlecms.com/
+Source0:
http://sourceforge.net/projects/lcms/files/lcms/%{version}/%{name}-%{version}.tar.gz
+Source1:baselibs.conf
+Patch1: lcms2-ocloexec.patch
+Patch2: lcms2-visibility.patch
 %if 0%{?suse_version}
 BuildRequires:  autoconf
 BuildRequires:  glibc-devel
 BuildRequires:  libjpeg-devel
 BuildRequires:  libtiff-devel
 BuildRequires:  libtool
-BuildRequires:  pkg-config
+BuildRequires:  pkgconfig
 BuildRequires:  zlib-devel
 %endif
-
 %if 0%{?fedora_version}
 BuildRequires:  gcc
 BuildRequires:  libjpeg-devel
@@ -41,7 +43,6 @@
 BuildRequires:  pkgconfig
 BuildRequires:  zlib-devel
 %endif
-
 %if 0%{?mandriva_version}
 BuildRequires:  gcc
 BuildRequires:  libjpeg-devel
@@ -50,14 +51,6 @@
 BuildRequires:  zlib-devel
 %endif
 
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-Source0:
http://sourceforge.net/projects/lcms/files/lcms/%{version}/%{name}-%{version}.tar.gz
-Source1:baselibs.conf
-Patch1: lcms2-ocloexec.patch
-Patch2: lcms2-visibility.patch
-# PATCH-FIX-SECURITY lcms2-cgats-memory-allocation.patch bsc1108813 
CVE-2018-16435 sbra...@suse.cz -- Add check on CGATS memory allocation.
-Patch3: lcms2-cgats-memory-allocation.patch
-
 %description
 Littlecms is a small speed optimized color management engine.
 Little CMS intends to be a small-footprint color management engine
@@ -93,59 +86,51 @@
 %description -n liblcms2-doc
 This package contains user and developer documentation for lcms2.
 
-
 %prep
-%setup -q
-%patch1
-%patch2
-%patch3 -p1
+%autosetup -p1
 
 chmod a-x doc/* COPYING AUTHORS
 
 %build
 
 autoreconf -fiv
-export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
-export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
+export CFLAGS="%{optflags} -fno-strict-aliasing"
+export CXXFLAGS="%{optflags} -fno-strict-aliasing"
 
 # FIXME --without-threads is a workaround for a linker error
 %configure --disable-static --without-threads
 
-make %{?_smp_flags}
+%make_build
 
 %check
 # FIXME before submitting to factory
- make %{?_smp_flags} check || true
- make utils
+ %make_build check || true
+ %make_build utils
 
 %install
-make install DESTDIR=%{buildroot}
+%make_install
 
 rm %{buildroot}/%{_libdir}/liblcms2.la
 
 %post -n liblcms2-2 -p /sbin/ldconfig
-
 %postun -n liblcms2-2 -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root)
-%doc COPYING AUTHORS
+%license COPYING
+%doc AUTHORS
 %{_bindir}/*
 %{_mandir}/man?/*.*
 
 %files -n liblcms2-2
-%defattr(-,root,root)
 %{_libdir}/liblcms2.so.2*
 
 

commit lcms2 for openSUSE:Factory

2018-10-11 Thread root
Hello community,

here is the log from the commit of package lcms2 for openSUSE:Factory checked 
in at 2018-10-11 11:41:38

Comparing /work/SRC/openSUSE:Factory/lcms2 (Old)
 and  /work/SRC/openSUSE:Factory/.lcms2.new (New)


Package is "lcms2"

Thu Oct 11 11:41:38 2018 rev:30 rq:639872 version:2.9

Changes:

--- /work/SRC/openSUSE:Factory/lcms2/lcms2.changes  2017-12-29 
18:48:37.460276443 +0100
+++ /work/SRC/openSUSE:Factory/.lcms2.new/lcms2.changes 2018-10-11 
11:41:43.331071648 +0200
@@ -1,0 +2,6 @@
+Wed Oct  3 17:34:41 CEST 2018 - sbra...@suse.com
+
+- Add check on CGATS memory allocation (bsc1108813, CVE-2018-16435,
+  lcms2-cgats-memory-allocation.patch).
+
+---

New:

  lcms2-cgats-memory-allocation.patch



Other differences:
--
++ lcms2.spec ++
--- /var/tmp/diff_new_pack.xHjXHk/_old  2018-10-11 11:41:43.911070909 +0200
+++ /var/tmp/diff_new_pack.xHjXHk/_new  2018-10-11 11:41:43.911070909 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package lcms2
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -55,7 +55,8 @@
 Source1:baselibs.conf
 Patch1: lcms2-ocloexec.patch
 Patch2: lcms2-visibility.patch
-
+# PATCH-FIX-SECURITY lcms2-cgats-memory-allocation.patch bsc1108813 
CVE-2018-16435 sbra...@suse.cz -- Add check on CGATS memory allocation.
+Patch3: lcms2-cgats-memory-allocation.patch
 
 %description
 Littlecms is a small speed optimized color management engine.
@@ -97,6 +98,7 @@
 %setup -q
 %patch1
 %patch2
+%patch3 -p1
 
 chmod a-x doc/* COPYING AUTHORS
 
@@ -109,7 +111,6 @@
 # FIXME --without-threads is a workaround for a linker error
 %configure --disable-static --without-threads
 
-
 make %{?_smp_flags}
 
 %check

++ lcms2-cgats-memory-allocation.patch ++
Partial patch.
>From 768f70ca405cd3159d990e962d54456773bb8cf8 Mon Sep 17 00:00:00 2001
From: Marti Maria 
Date: Wed, 15 Aug 2018 20:07:56 +0200
Subject: [PATCH] Upgrade Visual studio 2017 15.8

...
- Add check on CGATS memory allocation (thanks to Quang Nguyen for
pointing out this)
---
 Projects/VC2017/jpegicc/jpegicc.vcxproj   |  1 +
 Projects/VC2017/lcms2_DLL/lcms2_DLL.vcxproj   |  2 +-
 Projects/VC2017/lcms2_static/lcms2_static.vcxproj |  2 +-
 Projects/VC2017/linkicc/linkicc.vcxproj   |  2 +-
 Projects/VC2017/psicc/psicc.vcxproj   |  2 +-
 Projects/VC2017/testbed/testbed.vcxproj   |  2 +-
 Projects/VC2017/tiffdiff/tiffdiff.vcxproj |  2 +-
 Projects/VC2017/tifficc/tifficc.vcxproj   |  2 +-
 Projects/VC2017/transicc/transicc.vcxproj |  1 +
 src/cmscgats.c| 14 ++
 10 files changed, 19 insertions(+), 11 deletions(-)

diff --git a/src/cmscgats.c b/src/cmscgats.c
index 1a87613..8c3e96d 100644
--- a/src/cmscgats.c
+++ b/src/cmscgats.c
@@ -1506,10 +1506,16 @@ void AllocateDataSet(cmsIT8* it8)
 t-> nSamples   = atoi(cmsIT8GetProperty(it8, "NUMBER_OF_FIELDS"));
 t-> nPatches   = atoi(cmsIT8GetProperty(it8, "NUMBER_OF_SETS"));
 
-t-> Data = (char**)AllocChunk (it8, ((cmsUInt32Number) t->nSamples + 1) * 
((cmsUInt32Number) t->nPatches + 1) *sizeof (char*));
-if (t->Data == NULL) {
+if (t -> nSamples < 0 || t->nSamples > 0x7ffe || t->nPatches < 0 || 
t->nPatches > 0x7ffe)
+{
+SynError(it8, "AllocateDataSet: too much data");
+}
+else {
+t->Data = (char**)AllocChunk(it8, ((cmsUInt32Number)t->nSamples + 1) * 
((cmsUInt32Number)t->nPatches + 1) * sizeof(char*));
+if (t->Data == NULL) {
 
-SynError(it8, "AllocateDataSet: Unable to allocate data array");
+SynError(it8, "AllocateDataSet: Unable to allocate data array");
+}
 }
 
 }
-- 
2.19.0




commit lcms2 for openSUSE:Factory

2017-12-29 Thread root
Hello community,

here is the log from the commit of package lcms2 for openSUSE:Factory checked 
in at 2017-12-29 18:48:28

Comparing /work/SRC/openSUSE:Factory/lcms2 (Old)
 and  /work/SRC/openSUSE:Factory/.lcms2.new (New)


Package is "lcms2"

Fri Dec 29 18:48:28 2017 rev:29 rq:548488 version:2.9

Changes:

--- /work/SRC/openSUSE:Factory/lcms2/lcms2.changes  2017-01-25 
22:39:06.387478667 +0100
+++ /work/SRC/openSUSE:Factory/.lcms2.new/lcms2.changes 2017-12-29 
18:48:37.460276443 +0100
@@ -1,0 +2,15 @@
+Mon Nov 27 22:57:10 UTC 2017 - plinn...@opensuse.org
+
+- Update to 2.9
+- Drop 0001-Added-an-extra-check-to-MLU-bounds.patch, it is now
+  in the upstream code
+  * Bugfix release
+  + Several fixes related with security, and therefore not detailed here.
+  + C++ compiles now without warnings
+  + Added OSX and clang in travis
+  + Added a travis-ci test matrix for many compilers and OS. 
+Thanks to Thomas Weber (debian) for this great improvement.
+  + testbed can now work with dynamic versions of library 
+  + Fixed wrong planar formatters regarding linestride interpretation
+  
+---

Old:

  0001-Added-an-extra-check-to-MLU-bounds.patch
  lcms2-2.8.tar.gz

New:

  lcms2-2.9.tar.gz



Other differences:
--
++ lcms2.spec ++
--- /var/tmp/diff_new_pack.9vprCs/_old  2017-12-29 18:48:38.312031814 +0100
+++ /var/tmp/diff_new_pack.9vprCs/_new  2017-12-29 18:48:38.316030666 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package lcms2
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,7 +21,7 @@
 License:MIT
 Group:  Productivity/Graphics/Other
 Url:http://www.littlecms.com/
-Version:2.8
+Version:2.9
 Release:0
 
 %if 0%{?suse_version}
@@ -55,7 +55,7 @@
 Source1:baselibs.conf
 Patch1: lcms2-ocloexec.patch
 Patch2: lcms2-visibility.patch
-Patch3:0001-Added-an-extra-check-to-MLU-bounds.patch
+
 
 %description
 Littlecms is a small speed optimized color management engine.
@@ -97,7 +97,7 @@
 %setup -q
 %patch1
 %patch2
-%patch3 -p1
+
 chmod a-x doc/* COPYING AUTHORS
 
 %build

++ lcms2-2.8.tar.gz -> lcms2-2.9.tar.gz ++
/work/SRC/openSUSE:Factory/lcms2/lcms2-2.8.tar.gz 
/work/SRC/openSUSE:Factory/.lcms2.new/lcms2-2.9.tar.gz differ: char 5, line 1




commit lcms2 for openSUSE:Factory

2017-01-25 Thread root
Hello community,

here is the log from the commit of package lcms2 for openSUSE:Factory checked 
in at 2017-01-25 22:39:05

Comparing /work/SRC/openSUSE:Factory/lcms2 (Old)
 and  /work/SRC/openSUSE:Factory/.lcms2.new (New)


Package is "lcms2"

Changes:

--- /work/SRC/openSUSE:Factory/lcms2/lcms2.changes  2016-08-22 
10:06:45.0 +0200
+++ /work/SRC/openSUSE:Factory/.lcms2.new/lcms2.changes 2017-01-25 
22:39:06.387478667 +0100
@@ -1,0 +2,6 @@
+Tue Jan 24 00:47:25 UTC 2017 - plinn...@opensuse.org
+
+- Added 0001-Added-an-extra-check-to-MLU-bounds.patch 
+  * fixes https://bugzilla.suse.com/show_bug.cgi?id=1021364
+
+---

New:

  0001-Added-an-extra-check-to-MLU-bounds.patch



Other differences:
--
++ lcms2.spec ++
--- /var/tmp/diff_new_pack.PvTZBC/_old  2017-01-25 22:39:07.271345114 +0100
+++ /var/tmp/diff_new_pack.PvTZBC/_new  2017-01-25 22:39:07.275344510 +0100
@@ -55,6 +55,7 @@
 Source1:baselibs.conf
 Patch1: lcms2-ocloexec.patch
 Patch2: lcms2-visibility.patch
+Patch3:0001-Added-an-extra-check-to-MLU-bounds.patch
 
 %description
 Littlecms is a small speed optimized color management engine.
@@ -96,6 +97,7 @@
 %setup -q
 %patch1
 %patch2
+%patch3 -p1
 chmod a-x doc/* COPYING AUTHORS
 
 %build

++ 0001-Added-an-extra-check-to-MLU-bounds.patch ++
>From 5ca71a7bc18b6897ab21d815d15e218e204581e2 Mon Sep 17 00:00:00 2001
From: Marti 
Date: Mon, 15 Aug 2016 23:31:39 +0200
Subject: [PATCH] Added an extra check to MLU bounds

Thanks to Ibrahim el-sayed for spotting the bug
---
 src/cmstypes.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/cmstypes.c b/src/cmstypes.c
index cb61860..c7328b9 100644
--- a/src/cmstypes.c
+++ b/src/cmstypes.c
@@ -1460,6 +1460,7 @@ void *Type_MLU_Read(struct _cms_typehandler_struct* self, 
cmsIOHANDLER* io, cmsU
 
 // Check for overflow
 if (Offset < (SizeOfHeader + 8)) goto Error;
+if ((Offset + Len) > SizeOfTag + 8) goto Error;
 
 // True begin of the string
 BeginOfThisString = Offset - SizeOfHeader - 8;
-- 
2.7.4




commit lcms2 for openSUSE:Factory

2016-08-22 Thread h_root
Hello community,

here is the log from the commit of package lcms2 for openSUSE:Factory checked 
in at 2016-08-22 10:06:44

Comparing /work/SRC/openSUSE:Factory/lcms2 (Old)
 and  /work/SRC/openSUSE:Factory/.lcms2.new (New)


Package is "lcms2"

Changes:

--- /work/SRC/openSUSE:Factory/lcms2/lcms2.changes  2016-06-12 
18:53:53.0 +0200
+++ /work/SRC/openSUSE:Factory/.lcms2.new/lcms2.changes 2016-08-22 
10:06:45.0 +0200
@@ -1,0 +2,17 @@
+Tue Aug 16 06:09:50 UTC 2016 - plinn...@opensuse.org
+- Update to 2.8
+
+* Fixed many typos in comments, thanks to Stefan Weil for doing that.
+* Fixed localization bug, added a new test case crayons.icc thnaks to Richard 
Hughes for providing the profile. 
+* Fixed a bug in optimizer that made some formats (i.e, bits planar) 
unavailable
+* Fixed misalignment problems on Alpha. The compiler does not align strings, 
and accessing begin of string as a uint16 makes code to fail.
+* Added some extra checks to the tools and examples.
+* Fix a bug that prevented to read luminance tag
+* BIG amount of functionality contributed/Sponsored  by Alien Skin Software: 
TransformStride, copyAlpha, performance plug-ins. Fixes some warnings as well.
+* added an extra _ to _stdcall to make it more portable
+* Fixed a bug in transicc for named color profiles
+* Fixed several compiler warnings
+* Added support for Visual Studio 2015
+* Fixed for XCODE project
+
+---

Old:

  lcms2-2.7.tar.gz

New:

  lcms2-2.8.tar.gz



Other differences:
--
++ lcms2.spec ++
--- /var/tmp/diff_new_pack.TROeG9/_old  2016-08-22 10:06:46.0 +0200
+++ /var/tmp/diff_new_pack.TROeG9/_new  2016-08-22 10:06:46.0 +0200
@@ -21,7 +21,7 @@
 License:MIT
 Group:  Productivity/Graphics/Other
 Url:http://www.littlecms.com/
-Version:2.7
+Version:2.8
 Release:0
 
 %if 0%{?suse_version}
@@ -99,18 +99,21 @@
 chmod a-x doc/* COPYING AUTHORS
 
 %build
-#export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
-#export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
+
 autoreconf -fiv
+export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
+export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
+
 # FIXME --without-threads is a workaround for a linker error
 %configure --disable-static --without-threads
 
+
 make %{?_smp_flags}
 
-#%check
+%check
 # FIXME before submitting to factory
-# make %{?_smp_flags} check || true
-# make utils
+ make %{?_smp_flags} check || true
+ make utils
 
 %install
 make install DESTDIR=%{buildroot}

++ lcms2-2.7.tar.gz -> lcms2-2.8.tar.gz ++
/work/SRC/openSUSE:Factory/lcms2/lcms2-2.7.tar.gz 
/work/SRC/openSUSE:Factory/.lcms2.new/lcms2-2.8.tar.gz differ: char 5, line 1




commit lcms2 for openSUSE:Factory

2016-06-12 Thread h_root
Hello community,

here is the log from the commit of package lcms2 for openSUSE:Factory checked 
in at 2016-06-12 18:53:52

Comparing /work/SRC/openSUSE:Factory/lcms2 (Old)
 and  /work/SRC/openSUSE:Factory/.lcms2.new (New)


Package is "lcms2"

Changes:

--- /work/SRC/openSUSE:Factory/lcms2/lcms2.changes  2015-07-14 
17:20:20.0 +0200
+++ /work/SRC/openSUSE:Factory/.lcms2.new/lcms2.changes 2016-06-12 
18:53:53.0 +0200
@@ -1,0 +2,5 @@
+Thu Apr 14 11:13:07 UTC 2016 - idon...@suse.com
+
+- Update to GNOME 3.20  Fate#318572
+
+---
@@ -83 +87,0 @@

@@ -84,0 +89 @@
+---



Other differences:
--
++ lcms2.spec ++
--- /var/tmp/diff_new_pack.TwtTRa/_old  2016-06-12 18:53:54.0 +0200
+++ /var/tmp/diff_new_pack.TwtTRa/_new  2016-06-12 18:53:54.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package lcms2
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed




commit lcms2 for openSUSE:Factory

2015-07-14 Thread h_root
Hello community,

here is the log from the commit of package lcms2 for openSUSE:Factory checked 
in at 2015-07-14 17:20:19

Comparing /work/SRC/openSUSE:Factory/lcms2 (Old)
 and  /work/SRC/openSUSE:Factory/.lcms2.new (New)


Package is lcms2

Changes:

--- /work/SRC/openSUSE:Factory/lcms2/lcms2.changes  2014-05-27 
07:09:35.0 +0200
+++ /work/SRC/openSUSE:Factory/.lcms2.new/lcms2.changes 2015-07-14 
17:20:20.0 +0200
@@ -1,0 +2,9 @@
+Fri Jun 26 11:04:33 UTC 2015 - aloi...@gmx.com
+
+- Update to version 2.7
+  * improved multi-threading
+  * added contexts and a new locking plug-in type
+  * bugfixes and other minor features
+- Dropped lcms-endian.patch that was fixed upstream.
+
+---

Old:

  lcms-endian.patch
  lcms2-2.6.tar.gz

New:

  lcms2-2.7.tar.gz



Other differences:
--
++ lcms2.spec ++
--- /var/tmp/diff_new_pack.kpAC4t/_old  2015-07-14 17:20:21.0 +0200
+++ /var/tmp/diff_new_pack.kpAC4t/_new  2015-07-14 17:20:21.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package lcms2
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,7 +21,7 @@
 License:MIT
 Group:  Productivity/Graphics/Other
 Url:http://www.littlecms.com/
-Version:2.6
+Version:2.7
 Release:0
 
 %if 0%{?suse_version}
@@ -53,7 +53,6 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source0:
http://sourceforge.net/projects/lcms/files/lcms/%{version}/%{name}-%{version}.tar.gz
 Source1:baselibs.conf
-Patch:  lcms-endian.patch
 Patch1: lcms2-ocloexec.patch
 Patch2: lcms2-visibility.patch
 
@@ -95,7 +94,6 @@
 
 %prep
 %setup -q
-%patch
 %patch1
 %patch2
 chmod a-x doc/* COPYING AUTHORS

++ lcms2-2.6.tar.gz - lcms2-2.7.tar.gz ++
/work/SRC/openSUSE:Factory/lcms2/lcms2-2.6.tar.gz 
/work/SRC/openSUSE:Factory/.lcms2.new/lcms2-2.7.tar.gz differ: char 5, line 1




commit lcms2 for openSUSE:Factory

2014-05-26 Thread h_root
Hello community,

here is the log from the commit of package lcms2 for openSUSE:Factory checked 
in at 2014-05-27 07:09:34

Comparing /work/SRC/openSUSE:Factory/lcms2 (Old)
 and  /work/SRC/openSUSE:Factory/.lcms2.new (New)


Package is lcms2

Changes:

--- /work/SRC/openSUSE:Factory/lcms2/lcms2.changes  2014-01-09 
17:24:32.0 +0100
+++ /work/SRC/openSUSE:Factory/.lcms2.new/lcms2.changes 2014-05-27 
07:09:35.0 +0200
@@ -1,0 +2,21 @@
+Fri May 16 06:27:26 UTC 2014 - mailaen...@opensuse.org
+
+- Fixed missing dependency pthread
+
+---
+Mon Mar 17 16:20:45 UTC 2014 - adr...@suse.de
+
+- update to version 2.6
+  * Fixed a double free in recovering from a previous error in default intent 
handler.
+  * Fixed some indexing out of bounds in floating point interpolation
+  * Fixed a bug in PCS/Colorspace order when reading V2 Lab devicelinks
+  * Added a way to retrieve matrix shaper always, no matter LUT is present
+  * Changed endianess detection for PowerPC
+  * Fixed memory leaks on error handling
+  * Big revamp on Contexts, from Artifex
+  * New locking plug-in, from Artifex
+  * Added directories for tiff, jpeg in configure script
+  * Fix for delete tag memory corruption
+  * Added pthread dependency. From now lcms supports multithreading
+
+---

Old:

  lcms2-2.5.tar.gz

New:

  lcms2-2.6.tar.gz



Other differences:
--
++ lcms2.spec ++
--- /var/tmp/diff_new_pack.1URTlY/_old  2014-05-27 07:09:36.0 +0200
+++ /var/tmp/diff_new_pack.1URTlY/_new  2014-05-27 07:09:36.0 +0200
@@ -21,10 +21,12 @@
 License:MIT
 Group:  Productivity/Graphics/Other
 Url:http://www.littlecms.com/
-Version:2.5
+Version:2.6
 Release:0
 
 %if 0%{?suse_version}
+BuildRequires:  autoconf
+BuildRequires:  glibc-devel
 BuildRequires:  libjpeg-devel
 BuildRequires:  libtiff-devel
 BuildRequires:  libtool
@@ -102,7 +104,8 @@
 #export CFLAGS=$RPM_OPT_FLAGS -fno-strict-aliasing
 #export CXXFLAGS=$RPM_OPT_FLAGS -fno-strict-aliasing
 autoreconf -fiv
-%configure --disable-static
+# FIXME --without-threads is a workaround for a linker error
+%configure --disable-static --without-threads
 
 make %{?_smp_flags}
 
@@ -112,13 +115,9 @@
 # make utils
 
 %install
+make install DESTDIR=%{buildroot}
 
-%makeinstall
-
-rm $RPM_BUILD_ROOT/%_libdir/liblcms2.la
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+rm %{buildroot}/%{_libdir}/liblcms2.la
 
 %post -n liblcms2-2 -p /sbin/ldconfig
 

++ lcms-endian.patch ++
--- /var/tmp/diff_new_pack.1URTlY/_old  2014-05-27 07:09:36.0 +0200
+++ /var/tmp/diff_new_pack.1URTlY/_new  2014-05-27 07:09:36.0 +0200
@@ -1,3 +1,5 @@
+Index: include/lcms2.h
+===
 --- include/lcms2.h.orig
 +++ include/lcms2.h
 @@ -30,9 +30,6 @@
@@ -10,40 +12,56 @@
  // Uncomment this one if your compiler/machine does NOT support the
  // long long type.
  // #define CMS_DONT_USE_INT641
-@@ -170,33 +167,6 @@ typedef int  cmsBool;
+@@ -173,47 +170,6 @@ typedef int  cmsBool;
  #  define CMS_IS_WINDOWS_ 1
  #endif
  
 -// Try to detect big endian platforms. This list can be endless, so only some 
checks are performed over here.
 -// you can pass this toggle to the compiler by using -DCMS_USE_BIG_ENDIAN or 
something similar
 -
--#if defined(_HOST_BIG_ENDIAN) || defined(__BIG_ENDIAN__) || 
defined(WORDS_BIGENDIAN)
+-#if defined(__sgi__) || defined(__sgi) || defined(sparc)
 -#   define CMS_USE_BIG_ENDIAN  1
 -#endif
 -
--#if defined(__sgi__) || defined(__sgi) || defined(__powerpc__) || 
defined(sparc)
--#   define CMS_USE_BIG_ENDIAN  1
+-#if defined(__s390__) || defined(__s390x__)
+-#   define CMS_USE_BIG_ENDIAN   1
 -#endif
 -
--#if defined(__ppc__) || defined(__s390__) || defined(__s390x__)
+-#  ifdef TARGET_CPU_PPC
+-#if TARGET_CPU_PPC
+-#  define CMS_USE_BIG_ENDIAN   1
+-#endif
+-#  endif
+-
+-#if defined(__powerpc__) || defined(__ppc__) || defined(TARGET_CPU_PPC)
 -#   define CMS_USE_BIG_ENDIAN   1
+-#   if defined (__GNUC__)  defined(__BYTE_ORDER)  defined(__LITTLE_ENDIAN)
+-#   if __BYTE_ORDER  == __LITTLE_ENDIAN
+-//   // Don't use big endian for PowerPC little endian mode
+-#undef CMS_USE_BIG_ENDIAN
+-#   endif
+-#   endif
 -#endif
 -
--#ifdef TARGET_CPU_PPC
--# if TARGET_CPU_PPC
--#   define CMS_USE_BIG_ENDIAN   1
--# endif
+-// WORDS_BIGENDIAN takes precedence
+-#if defined(_HOST_BIG_ENDIAN) || defined(__BIG_ENDIAN__) || 
defined(WORDS_BIGENDIAN)
+-#   define CMS_USE_BIG_ENDIAN  1
 -#endif
 -
 -#ifdef 

commit lcms2 for openSUSE:Factory

2014-01-09 Thread h_root
Hello community,

here is the log from the commit of package lcms2 for openSUSE:Factory checked 
in at 2014-01-09 17:24:30

Comparing /work/SRC/openSUSE:Factory/lcms2 (Old)
 and  /work/SRC/openSUSE:Factory/.lcms2.new (New)


Package is lcms2

Changes:

--- /work/SRC/openSUSE:Factory/lcms2/lcms2.changes  2013-07-04 
10:11:42.0 +0200
+++ /work/SRC/openSUSE:Factory/.lcms2.new/lcms2.changes 2014-01-09 
17:24:32.0 +0100
@@ -1,0 +2,6 @@
+Mon Jan  6 06:02:04 UTC 2014 - crrodrig...@opensuse.org
+
+- Correct lcms-endian.patch to rely on autoconf only, no
+  extra arch specific preprocessor hackery.
+
+---



Other differences:
--
++ lcms2.spec ++
--- /var/tmp/diff_new_pack.hOLz1i/_old  2014-01-09 17:24:33.0 +0100
+++ /var/tmp/diff_new_pack.hOLz1i/_new  2014-01-09 17:24:33.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package lcms2
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,6 +27,7 @@
 %if 0%{?suse_version}
 BuildRequires:  libjpeg-devel
 BuildRequires:  libtiff-devel
+BuildRequires:  libtool
 BuildRequires:  pkg-config
 BuildRequires:  zlib-devel
 %endif
@@ -100,7 +101,7 @@
 %build
 #export CFLAGS=$RPM_OPT_FLAGS -fno-strict-aliasing
 #export CXXFLAGS=$RPM_OPT_FLAGS -fno-strict-aliasing
-
+autoreconf -fiv
 %configure --disable-static
 
 make %{?_smp_flags}

++ lcms-endian.patch ++
--- /var/tmp/diff_new_pack.hOLz1i/_old  2014-01-09 17:24:33.0 +0100
+++ /var/tmp/diff_new_pack.hOLz1i/_new  2014-01-09 17:24:33.0 +0100
@@ -1,15 +1,143 @@
 include/lcms2.h.orig   2010-05-18 16:11:48.852037802 +0200
-+++ include/lcms2.h2010-05-18 16:12:22.116041439 +0200
-@@ -30,8 +30,10 @@
+--- include/lcms2.h.orig
 include/lcms2.h
+@@ -30,9 +30,6 @@
  
  // ** Configuration toggles 
  
 -// Uncomment this one if you are using big endian machines
 -// #define CMS_USE_BIG_ENDIAN   1
-+#include endian.h
-+#if __BYTE_ORDER == __BIG_ENDIAN
-+#define USE_BIG_ENDIAN   1
-+#endif
- 
+-
  // Uncomment this one if your compiler/machine does NOT support the
  // long long type.
+ // #define CMS_DONT_USE_INT641
+@@ -170,33 +167,6 @@ typedef int  cmsBool;
+ #  define CMS_IS_WINDOWS_ 1
+ #endif
+ 
+-// Try to detect big endian platforms. This list can be endless, so only some 
checks are performed over here.
+-// you can pass this toggle to the compiler by using -DCMS_USE_BIG_ENDIAN or 
something similar
+-
+-#if defined(_HOST_BIG_ENDIAN) || defined(__BIG_ENDIAN__) || 
defined(WORDS_BIGENDIAN)
+-#   define CMS_USE_BIG_ENDIAN  1
+-#endif
+-
+-#if defined(__sgi__) || defined(__sgi) || defined(__powerpc__) || 
defined(sparc)
+-#   define CMS_USE_BIG_ENDIAN  1
+-#endif
+-
+-#if defined(__ppc__) || defined(__s390__) || defined(__s390x__)
+-#   define CMS_USE_BIG_ENDIAN   1
+-#endif
+-
+-#ifdef TARGET_CPU_PPC
+-# if TARGET_CPU_PPC
+-#   define CMS_USE_BIG_ENDIAN   1
+-# endif
+-#endif
+-
+-#ifdef macintosh
+-# ifdef __BIG_ENDIAN__
+-#   define CMS_USE_BIG_ENDIAN  1
+-# endif
+-#endif
+-
+ // Calling convention -- this is hardly platform and compiler dependent
+ #ifdef CMS_IS_WINDOWS_
+ #  if defined(CMS_DLL) || defined(CMS_DLL_BUILD)
+--- src/cmsmd5.c.orig
 src/cmsmd5.c
+@@ -26,7 +26,7 @@
+ 
+ #include lcms2_internal.h
+ 
+-#ifdef CMS_USE_BIG_ENDIAN
++#ifdef WORDS_BIGENDIAN
+ 
+ static
+ void byteReverse(cmsUInt8Number * buf, cmsUInt32Number longs)
+--- src/cmsplugin.c.orig
 src/cmsplugin.c
+@@ -36,7 +36,7 @@
+ // Adjust a word value after being readed/ before being written from/to an 
ICC profile
+ cmsUInt16Number CMSEXPORT  _cmsAdjustEndianess16(cmsUInt16Number Word)
+ {
+-#ifndef CMS_USE_BIG_ENDIAN
++#ifndef WORDS_BIGENDIAN
+ 
+ cmsUInt8Number* pByte = (cmsUInt8Number*) Word;
+ cmsUInt8Number tmp;
+@@ -57,7 +57,7 @@ cmsUInt16Number CMSEXPORT  _cmsAdjustEnd
+ 
+ cmsUInt32Number CMSEXPORT  _cmsAdjustEndianess32(cmsUInt32Number DWord)
+ {
+-#ifndef CMS_USE_BIG_ENDIAN
++#ifndef WORDS_BIGENDIAN
+ 
+ cmsUInt8Number* pByte = (cmsUInt8Number*) DWord;
+ cmsUInt8Number temp1;
+@@ -79,7 +79,7 @@ cmsUInt32Number CMSEXPORT  _cmsAdjustEnd
+ void CMSEXPORT  _cmsAdjustEndianess64(cmsUInt64Number* Result, 
cmsUInt64Number* QWord)
+ {
+ 
+-#ifndef CMS_USE_BIG_ENDIAN
++#ifndef WORDS_BIGENDIAN
+ 
+ cmsUInt8Number* pIn  = (cmsUInt8Number*) QWord;
+ cmsUInt8Number* pOut = (cmsUInt8Number*) Result;
+--- testbed/testcms2.c.orig

commit lcms2 for openSUSE:Factory

2013-07-04 Thread h_root
Hello community,

here is the log from the commit of package lcms2 for openSUSE:Factory checked 
in at 2013-07-04 10:11:40

Comparing /work/SRC/openSUSE:Factory/lcms2 (Old)
 and  /work/SRC/openSUSE:Factory/.lcms2.new (New)


Package is lcms2

Changes:

--- /work/SRC/openSUSE:Factory/lcms2/lcms2.changes  2012-11-02 
07:31:08.0 +0100
+++ /work/SRC/openSUSE:Factory/.lcms2.new/lcms2.changes 2013-07-04 
10:11:42.0 +0200
@@ -1,0 +2,10 @@
+Wed Jul  3 02:42:52 UTC 2013 - mrd...@opensuse.org
+
+- Update to version 2.5
+  * Maintenance update 
+  + Focused on incorrect path and error handling. 
+It also updates the black point compensation algorithm 
+to match the ICC including the new black point compensation algorithm
+actually being standarized by TC130, ICC and ISO.
+
+---

Old:

  lcms2-2.4.tar.gz

New:

  lcms2-2.5.tar.gz



Other differences:
--
++ lcms2.spec ++
--- /var/tmp/diff_new_pack.rQtsLk/_old  2013-07-04 10:11:43.0 +0200
+++ /var/tmp/diff_new_pack.rQtsLk/_new  2013-07-04 10:11:43.0 +0200
@@ -21,7 +21,7 @@
 License:MIT
 Group:  Productivity/Graphics/Other
 Url:http://www.littlecms.com/
-Version:2.4
+Version:2.5
 Release:0
 
 %if 0%{?suse_version}

++ lcms2-2.4.tar.gz - lcms2-2.5.tar.gz ++
/work/SRC/openSUSE:Factory/lcms2/lcms2-2.4.tar.gz 
/work/SRC/openSUSE:Factory/.lcms2.new/lcms2-2.5.tar.gz differ: char 5, line 1

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit lcms2 for openSUSE:Factory

2012-11-02 Thread h_root
Hello community,

here is the log from the commit of package lcms2 for openSUSE:Factory checked 
in at 2012-11-02 07:31:05

Comparing /work/SRC/openSUSE:Factory/lcms2 (Old)
 and  /work/SRC/openSUSE:Factory/.lcms2.new (New)


Package is lcms2, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/lcms2/lcms2.changes  2011-12-21 
14:56:58.0 +0100
+++ /work/SRC/openSUSE:Factory/.lcms2.new/lcms2.changes 2012-11-02 
07:31:08.0 +0100
@@ -1,0 +2,14 @@
+Sun Oct 28 18:52:41 UTC 2012 - tittiatc...@gmail.com
+
+- Update to version 2.4
+  * Featured release
++ Performance and stability fixes
++ Black point detection from the algorithm disclosed by Adobe
++ Added support for transforms on planar data with different 
+  stride
++ Added a new plug-in type for optimizing full transforms
++ Linear (gamma 1.0) profiles can now operate in unbounded mode
++ Added half float support
++ Please see the ChangeLog  file for more details.
+
+---

Old:

  lcms2-2.3.tar.gz

New:

  lcms2-2.4.tar.gz



Other differences:
--
++ lcms2.spec ++
--- /var/tmp/diff_new_pack.v9JFvo/_old  2012-11-02 07:31:09.0 +0100
+++ /var/tmp/diff_new_pack.v9JFvo/_new  2012-11-02 07:31:09.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package lcms2
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,7 +21,7 @@
 License:MIT
 Group:  Productivity/Graphics/Other
 Url:http://www.littlecms.com/
-Version:2.3
+Version:2.4
 Release:0
 
 %if 0%{?suse_version}
@@ -72,7 +72,8 @@
 %package -n liblcms2-devel
 Summary:Include Files and Libraries Mandatory for Development
 Group:  Development/Libraries/C and C++
-Requires:   liblcms2-2 = %{version} glibc-devel
+Requires:   glibc-devel
+Requires:   liblcms2-2 = %{version}
 
 %description -n liblcms2-devel
 This package contains all necessary include files and libraries needed

++ lcms2-2.3.tar.gz - lcms2-2.4.tar.gz ++
 39402 lines of diff (skipped)

++ lcms2-ocloexec.patch ++
--- /var/tmp/diff_new_pack.v9JFvo/_old  2012-11-02 07:31:10.0 +0100
+++ /var/tmp/diff_new_pack.v9JFvo/_new  2012-11-02 07:31:10.0 +0100
@@ -1,8 +1,8 @@
 Index: src/cmscgats.c
 ===
 src/cmscgats.c.orig
-+++ src/cmscgats.c
-@@ -836,7 +836,7 @@ void InSymbol(cmsIT8* it8)
+--- src/cmscgats.c 2012-09-10 18:01:51.0 +0200
 src/cmscgats.c 2012-10-28 19:50:34.772962052 +0100
+@@ -914,7 +914,7 @@
  return;
  }
  
@@ -11,16 +11,16 @@
  if (FileNest-Stream == NULL) {
  
  SynError(it8, File %s not found, 
FileNest-FileName);
-@@ -1670,7 +1670,7 @@ cmsBool CMSEXPORT cmsIT8SaveToFile(cmsHA
+@@ -1744,7 +1744,7 @@
  
  memset(sd, 0, sizeof(sd));
  
 -sd.stream = fopen(cFileName, wt);
 +sd.stream = fopen(cFileName, wte);
  if (!sd.stream) return FALSE;
- 
+ 
  for (i=0; i  it8 -TablesCount; i++) {
-@@ -2178,7 +2178,7 @@ cmsBool IsMyFile(const char* FileName)
+@@ -2252,7 +2252,7 @@
 cmsUInt32Number Size;
 cmsUInt8Number Ptr[133];
  
@@ -29,12 +29,12 @@
 if (!fp) {
 cmsSignalError(0, cmsERROR_FILE, File '%s' not found, FileName);
 return FALSE;
-@@ -2256,7 +2256,7 @@ cmsHANDLE  CMSEXPORT cmsIT8LoadFromFile(
+@@ -2330,7 +2330,7 @@
   if (!hIT8) return NULL;
  
  
 - it8 -FileStack[0]-Stream = fopen(cFileName, rt);
 + it8 -FileStack[0]-Stream = fopen(cFileName, rte);
  
-  if (!it8 -FileStack[0]-Stream) { 
+  if (!it8 -FileStack[0]-Stream) {
   cmsIT8Free(hIT8);

++ lcms2-visibility.patch ++
--- /var/tmp/diff_new_pack.v9JFvo/_old  2012-11-02 07:31:10.0 +0100
+++ /var/tmp/diff_new_pack.v9JFvo/_new  2012-11-02 07:31:10.0 +0100
@@ -8,7 +8,7 @@
  // Some needed constants
  #ifndef M_PI
  #   define M_PI3.14159265358979323846
-@@ -625,4 +626,5 @@ cmsBool   _cmsBuildRGB2XYZtransferMatrix
+@@ -602,4 +603,5 @@
  
  
  #define _lcms_internal_H

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit lcms2 for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package lcms2 for openSUSE:Factory checked 
in at 2011-12-06 18:22:22

Comparing /work/SRC/openSUSE:Factory/lcms2 (Old)
 and  /work/SRC/openSUSE:Factory/.lcms2.new (New)


Package is lcms2, Maintainer is 

Changes:




Other differences:
--
++ lcms2.spec ++
--- /var/tmp/diff_new_pack.zGSR8I/_old  2011-12-06 18:39:40.0 +0100
+++ /var/tmp/diff_new_pack.zGSR8I/_new  2011-12-06 18:39:40.0 +0100
@@ -19,7 +19,7 @@
 
 
 Name:   lcms2
-License:MIT License (or similar)
+License:MIT
 Group:  Productivity/Graphics/Other
 Summary:Little CMS Engine - A color managment library and tools
 Url:http://www.littlecms.com/
@@ -54,7 +54,7 @@
 referred to in many International and other de-facto standards.
 
 %package -n liblcms2-2
-License:MIT License (or similar)
+License:MIT
 Summary:Libraries for the Little CMS Engine
 Group:  System/Libraries
 
@@ -62,7 +62,7 @@
 Little CMS Engine - A color managment library and tools.
 
 %package -n liblcms2-devel
-License:MIT License (or similar)
+License:MIT
 Summary:Include Files and Libraries Mandatory for Development
 Requires:   liblcms2-2 = %{version} glibc-devel
 Group:  Development/Libraries/C and C++
@@ -72,7 +72,7 @@
 to develop applications that require these.
 
 %package -n liblcms2-doc
-License:MIT License (or similar)
+License:MIT
 Summary:User and developer documentation for lcms2
 Group:  Documentation/Other
 %if 0%{?suse_version} = 1120

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit lcms2 for openSUSE:Factory

2011-11-25 Thread h_root
Hello community,

here is the log from the commit of package lcms2 for openSUSE:Factory checked 
in at 2011-11-25 11:12:04

Comparing /work/SRC/openSUSE:Factory/lcms2 (Old)
 and  /work/SRC/openSUSE:Factory/.lcms2.new (New)


Package is lcms2, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/lcms2/lcms2.changes  2011-09-23 
02:07:39.0 +0200
+++ /work/SRC/openSUSE:Factory/.lcms2.new/lcms2.changes 2011-11-25 
10:12:33.0 +0100
@@ -1,0 +2,6 @@
+Thu Nov 24 02:12:00 UTC 2011 - crrodrig...@opensuse.org
+
+- Open all fds with O_CLOEXEC
+- Use gcc visibility, symbol table shrinks around 50% ...
+
+---

Old:

  lcms2-2.2.tar.bz2

New:

  lcms2-2.2.tar.gz
  lcms2-ocloexec.patch
  lcms2-visibility.patch



Other differences:
--
++ lcms2.spec ++
--- /var/tmp/diff_new_pack.E8fpuI/_old  2011-11-25 10:12:34.0 +0100
+++ /var/tmp/diff_new_pack.E8fpuI/_new  2011-11-25 10:12:34.0 +0100
@@ -39,9 +39,11 @@
 %endif
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-Source0:%{name}-%{version}.tar.bz2
+Source0:
http://sourceforge.net/projects/lcms/files/lcms/%{version}/%{name}-%{version}.tar.gz
 Source1:baselibs.conf
 Patch:  lcms-endian.patch
+Patch1: lcms2-ocloexec.patch
+Patch2: lcms2-visibility.patch
 
 %description
 Littlecms is a small speed optimized color management engine.
@@ -84,11 +86,13 @@
 %prep
 %setup -q
 %patch
+%patch1
+%patch2
 chmod a-x doc/* COPYING AUTHORS
 
 %build
-export CFLAGS=$RPM_OPT_FLAGS -fno-strict-aliasing
-export CXXFLAGS=$RPM_OPT_FLAGS -fno-strict-aliasing
+#export CFLAGS=$RPM_OPT_FLAGS -fno-strict-aliasing
+#export CXXFLAGS=$RPM_OPT_FLAGS -fno-strict-aliasing
 
 %configure --disable-static
 

++ lcms2-ocloexec.patch ++
--- src/cmscgats.c.orig
+++ src/cmscgats.c
@@ -835,7 +835,7 @@ void InSymbol(cmsIT8* it8)
 return;
 }
 
-FileNest-Stream = fopen(FileNest-FileName, rt);
+FileNest-Stream = fopen(FileNest-FileName, rte);
 if (FileNest-Stream == NULL) {
 
 SynError(it8, File %s not found, FileNest-FileName);
@@ -1669,7 +1669,7 @@ cmsBool CMSEXPORT cmsIT8SaveToFile(cmsHA
 
 memset(sd, 0, sizeof(sd));
 
-sd.stream = fopen(cFileName, wt);
+sd.stream = fopen(cFileName, wte);
 if (!sd.stream) return FALSE;
 
 WriteStr(sd, it8-SheetType);
@@ -2142,7 +2142,7 @@ cmsBool IsMyFile(const char* FileName)
cmsUInt32Number Size;
cmsUInt8Number Ptr[133];
 
-   fp = fopen(FileName, rt);
+   fp = fopen(FileName, rte);
if (!fp) {
cmsSignalError(0, cmsERROR_FILE, File '%s' not found, FileName);
return FALSE;
@@ -2220,7 +2220,7 @@ cmsHANDLE  CMSEXPORT cmsIT8LoadFromFile(
  if (!hIT8) return NULL;
 
 
- it8 -FileStack[0]-Stream = fopen(cFileName, rt);
+ it8 -FileStack[0]-Stream = fopen(cFileName, rte);
 
  if (!it8 -FileStack[0]-Stream) { 
  cmsIT8Free(hIT8);
++ lcms2-visibility.patch ++
--- src/lcms2_internal.h.orig
+++ src/lcms2_internal.h
@@ -37,6 +37,7 @@
 // assert macro is part of C99 as per 7.2
 #include assert.h
 
+#pragma GCC visibility push(hidden)
 // Some needed constants
 #ifndef M_PI
 #   define M_PI3.14159265358979323846
@@ -625,4 +626,5 @@ cmsBool   _cmsBuildRGB2XYZtransferMatrix
 
 
 #define _lcms_internal_H
+#pragma GCC visibility pop
 #endif
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit lcms2 for openSUSE:Factory

2011-06-14 Thread h_root

Hello community,

here is the log from the commit of package lcms2 for openSUSE:Factory
checked in at Tue Jun 14 12:10:12 CEST 2011.




--- lcms2/lcms2.changes 2011-04-19 00:15:55.0 +0200
+++ /mounts/work_src_done/STABLE/lcms2/lcms2.changes2011-06-11 
01:40:52.0 +0200
@@ -1,0 +2,11 @@
+Fri Jun 10 23:36:41 UTC 2011 - mrd...@opensuse.org
+
+-update to 2.2 
+ *maintenance update
+ +Version  2.2 adds stability.
+ - fixes all known bugs
+ - adds support  for dictionary  metatag. Pascal unit now compiles
+   under FPK Pascal as well as Delphi. 
+
+---
+

calling whatdependson for head-i586


Old:

  _service
  _service:recompress:download_url:lcms2-2.1.tar.bz2

New:

  lcms2-2.2.tar.bz2



Other differences:
--
++ lcms2.spec ++
--- /var/tmp/diff_new_pack.RR1k52/_old  2011-06-14 12:09:31.0 +0200
+++ /var/tmp/diff_new_pack.RR1k52/_new  2011-06-14 12:09:31.0 +0200
@@ -23,8 +23,8 @@
 Group:  Productivity/Graphics/Other
 Summary:Little CMS Engine - A color managment library and tools
 Url:http://www.littlecms.com/
-Version:2.1
-Release:7
+Version:2.2
+Release:1
 
 %if 0%{?suse_version}
 BuildRequires:  libjpeg-devel libtiff-devel pkg-config zlib-devel






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit lcms2 for openSUSE:Factory

2011-04-21 Thread h_root

Hello community,

here is the log from the commit of package lcms2 for openSUSE:Factory
checked in at Thu Apr 21 12:09:10 CEST 2011.




--- lcms2/lcms2.changes 2010-12-26 19:49:47.0 +0100
+++ /mounts/work_src_done/STABLE/lcms2/lcms2.changes2011-04-19 
00:15:55.0 +0200
@@ -1,0 +2,5 @@
+Tue Apr 19 00:15:43 CEST 2011 - r...@suse.de
+
+- fix devel package name in baselibs.conf 
+
+---

calling whatdependson for head-i586




Other differences:
--
++ lcms2.spec ++
--- /var/tmp/diff_new_pack.StfnFL/_old  2011-04-21 12:08:50.0 +0200
+++ /var/tmp/diff_new_pack.StfnFL/_new  2011-04-21 12:08:50.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package lcms2 (Version 2.1)
+# spec file for package lcms2
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
 Summary:Little CMS Engine - A color managment library and tools
 Url:http://www.littlecms.com/
 Version:2.1
-Release:1
+Release:7
 
 %if 0%{?suse_version}
 BuildRequires:  libjpeg-devel libtiff-devel pkg-config zlib-devel


++ baselibs.conf ++
--- /var/tmp/diff_new_pack.StfnFL/_old  2011-04-21 12:08:50.0 +0200
+++ /var/tmp/diff_new_pack.StfnFL/_new  2011-04-21 12:08:50.0 +0200
@@ -1,6 +1,6 @@
 liblcms2-2
  provides liblcms2-targettype = version
  obsoletes liblcms2-targettype = version
-liblcms2-2-devel
+liblcms2-devel
  requires -liblcms2-targettype
  requires liblcms2-targettype = version






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org