Accepting request 139789 from multimedia:libs

Update to lcms2 v2.4 (forwarded request 139777 from tittiatcoke)

OBS-URL: https://build.opensuse.org/request/show/139789
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lcms2?expand=0&rev=18
This commit is contained in:
Stephan Kulow 2012-11-02 06:31:05 +00:00 committed by Git OBS Bridge
commit 0748db42eb
6 changed files with 30 additions and 15 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3ea177bbde947be5b9256b817d1cf98ab9c67c558b35703c48f5dbf8e0afafe4
size 4461644

3
lcms2-2.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2a514d10eff26901505c191a15c2588c751eb7fb86577118f6c235aff0be37e8
size 4293291

View File

@ -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.000000000 +0200
+++ src/cmscgats.c 2012-10-28 19:50:34.772962052 +0100
@@ -914,7 +914,7 @@
return;
}
@ -11,16 +11,16 @@ Index: src/cmscgats.c
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 @@ Index: src/cmscgats.c
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);

View File

@ -8,7 +8,7 @@
// Some needed constants
#ifndef M_PI
# define M_PI 3.14159265358979323846
@@ -625,4 +626,5 @@ cmsBool _cmsBuildRGB2XYZtransferMatrix
@@ -602,4 +603,5 @@
#define _lcms_internal_H

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Sun Oct 28 18:52:41 UTC 2012 - tittiatcoke@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.
-------------------------------------------------------------------
Sat Dec 17 13:12:55 UTC 2011 - adrian@suse.de

View File

@ -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 @@ Summary: Little CMS Engine - A color managment library and tools
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 @@ Little CMS Engine - A color managment library and tools.
%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