Accepting request 96930 from multimedia:libs

version update (forwarded request 96929 from adrianSuSE)

OBS-URL: https://build.opensuse.org/request/show/96930
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lcms2?expand=0&rev=16
This commit is contained in:
Stephan Kulow 2011-12-21 13:56:54 +00:00 committed by Git OBS Bridge
commit 97017c3e51
5 changed files with 34 additions and 20 deletions

View File

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

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

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

View File

@ -1,6 +1,8 @@
Index: src/cmscgats.c
===================================================================
--- src/cmscgats.c.orig --- src/cmscgats.c.orig
+++ src/cmscgats.c +++ src/cmscgats.c
@@ -835,7 +835,7 @@ void InSymbol(cmsIT8* it8) @@ -836,7 +836,7 @@ void InSymbol(cmsIT8* it8)
return; return;
} }
@ -9,7 +11,7 @@
if (FileNest->Stream == NULL) { if (FileNest->Stream == NULL) {
SynError(it8, "File %s not found", FileNest->FileName); SynError(it8, "File %s not found", FileNest->FileName);
@@ -1669,7 +1669,7 @@ cmsBool CMSEXPORT cmsIT8SaveToFile(cmsHA @@ -1670,7 +1670,7 @@ cmsBool CMSEXPORT cmsIT8SaveToFile(cmsHA
memset(&sd, 0, sizeof(sd)); memset(&sd, 0, sizeof(sd));
@ -17,8 +19,8 @@
+ sd.stream = fopen(cFileName, "wte"); + sd.stream = fopen(cFileName, "wte");
if (!sd.stream) return FALSE; if (!sd.stream) return FALSE;
WriteStr(&sd, it8->SheetType); for (i=0; i < it8 ->TablesCount; i++) {
@@ -2142,7 +2142,7 @@ cmsBool IsMyFile(const char* FileName) @@ -2178,7 +2178,7 @@ cmsBool IsMyFile(const char* FileName)
cmsUInt32Number Size; cmsUInt32Number Size;
cmsUInt8Number Ptr[133]; cmsUInt8Number Ptr[133];
@ -27,7 +29,7 @@
if (!fp) { if (!fp) {
cmsSignalError(0, cmsERROR_FILE, "File '%s' not found", FileName); cmsSignalError(0, cmsERROR_FILE, "File '%s' not found", FileName);
return FALSE; return FALSE;
@@ -2220,7 +2220,7 @@ cmsHANDLE CMSEXPORT cmsIT8LoadFromFile( @@ -2256,7 +2256,7 @@ cmsHANDLE CMSEXPORT cmsIT8LoadFromFile(
if (!hIT8) return NULL; if (!hIT8) return NULL;

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Dec 17 13:12:55 UTC 2011 - adrian@suse.de
- update to version 2.3
* Full support for ICC 4.3
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 24 02:12:00 UTC 2011 - crrodriguez@opensuse.org Thu Nov 24 02:12:00 UTC 2011 - crrodriguez@opensuse.org

View File

@ -15,27 +15,36 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: lcms2 Name: lcms2
Summary: Little CMS Engine - A color managment library and tools
License: MIT License: MIT
Group: Productivity/Graphics/Other Group: Productivity/Graphics/Other
Summary: Little CMS Engine - A color managment library and tools
Url: http://www.littlecms.com/ Url: http://www.littlecms.com/
Version: 2.2 Version: 2.3
Release: 1 Release: 0
%if 0%{?suse_version} %if 0%{?suse_version}
BuildRequires: libjpeg-devel libtiff-devel pkg-config zlib-devel BuildRequires: libjpeg-devel
BuildRequires: libtiff-devel
BuildRequires: pkg-config
BuildRequires: zlib-devel
%endif %endif
%if 0%{?fedora_version} %if 0%{?fedora_version}
BuildRequires: gcc libjpeg-devel libtiff-devel pkgconfig zlib-devel BuildRequires: gcc
BuildRequires: libjpeg-devel
BuildRequires: libtiff-devel
BuildRequires: pkgconfig
BuildRequires: zlib-devel
%endif %endif
%if 0%{?mandriva_version} %if 0%{?mandriva_version}
BuildRequires: gcc libjpeg-devel libtiff-devel pkgconfig zlib-devel BuildRequires: gcc
BuildRequires: libjpeg-devel
BuildRequires: libtiff-devel
BuildRequires: pkgconfig
BuildRequires: zlib-devel
%endif %endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -54,7 +63,6 @@ regarding to color management. The ICC specification is widely used and is
referred to in many International and other de-facto standards. referred to in many International and other de-facto standards.
%package -n liblcms2-2 %package -n liblcms2-2
License: MIT
Summary: Libraries for the Little CMS Engine Summary: Libraries for the Little CMS Engine
Group: System/Libraries Group: System/Libraries
@ -62,17 +70,15 @@ Group: System/Libraries
Little CMS Engine - A color managment library and tools. Little CMS Engine - A color managment library and tools.
%package -n liblcms2-devel %package -n liblcms2-devel
License: MIT
Summary: Include Files and Libraries Mandatory for Development Summary: Include Files and Libraries Mandatory for Development
Requires: liblcms2-2 = %{version} glibc-devel
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: liblcms2-2 = %{version} glibc-devel
%description -n liblcms2-devel %description -n liblcms2-devel
This package contains all necessary include files and libraries needed This package contains all necessary include files and libraries needed
to develop applications that require these. to develop applications that require these.
%package -n liblcms2-doc %package -n liblcms2-doc
License: MIT
Summary: User and developer documentation for lcms2 Summary: User and developer documentation for lcms2
Group: Documentation/Other Group: Documentation/Other
%if 0%{?suse_version} >= 1120 %if 0%{?suse_version} >= 1120