[libkdcraw] libkdcraw update from digikam-3.0.0-beta2

nucleo nucleo at fedoraproject.org
Sat Oct 13 02:00:50 UTC 2012


commit 355ab03fe4ca2e16e017047a55d6efb4ed9ae8be
Author: nucleo <nucleo at fedoraproject.org>
Date:   Sat Oct 13 05:00:36 2012 +0300

    libkdcraw update from digikam-3.0.0-beta2
    
    - enable build against lcms2
    - enable RawSpeed libraw codec

 .gitignore     |    1 +
 libkdcraw.spec |   18 +++++++++++++-----
 sources        |    2 +-
 3 files changed, 15 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1a5a845..424a5ed 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 /libkdcraw-4.8.5.tar.xz
 /libkdcraw-4.9.1.tar.xz
 /libkdcraw-4.9.2.tar.xz
+/libkdcraw-4.9.50.tar.xz
diff --git a/libkdcraw.spec b/libkdcraw.spec
index 80af752..e4db576 100644
--- a/libkdcraw.spec
+++ b/libkdcraw.spec
@@ -1,6 +1,6 @@
 Name:    libkdcraw
 Summary: A C++ interface around LibRaw library 
-Version: 4.9.2
+Version: 4.9.50
 Release: 1%{?dist}
 
 # libkdcraw is GPLv2+,
@@ -16,9 +16,12 @@ URL:     https://projects.kde.org/projects/kde/kdegraphics/libs/libkdcraw
 %endif
 Source0: ftp://ftp.kde.org/pub/kde/%{stable}/%{version}/src/%{name}-%{version}.tar.xz
 
-BuildRequires: kdelibs4-devel >= %{version}
+# 4.9.50 is not real version, its sources from digikam 3.0.0 beta2 tarball
+#BuildRequires:  kdelibs4-devel >= %{version}
+BuildRequires:  kdelibs4-devel
+# libjpeg 80 or higher needed for the LibRaw DNG lossy codec
 BuildRequires: libjpeg-devel
-BuildRequires: pkgconfig(lcms)
+BuildRequires: pkgconfig(lcms2)
 
 Requires: kdelibs4%{?_isa} >= %{_kde4_version}
 
@@ -56,7 +59,7 @@ cp -a libraw/COPYRIGHT COPYRIGHT.libraw
 %build
 mkdir -p %{_target_platform}
 pushd %{_target_platform}
-%{cmake_kde4} ..
+%{cmake_kde4} -DENABLE_LCMS2=ON -DENABLE_RAWSPEED=ON ..
 popd
 
 make %{?_smp_mflags} -C %{_target_platform}
@@ -93,7 +96,7 @@ fi
 %files
 %doc AUTHORS ChangeLog COPYING NEWS README TODO
 %doc COPYRIGHT.libraw README.libraw libraw/README.demosaic-packs libraw/LICENSE.LGPL
-%{_kde4_libdir}/libkdcraw.so.21*
+%{_kde4_libdir}/libkdcraw.so.22*
 %{_kde4_appsdir}/libkdcraw/
 %{_kde4_iconsdir}/hicolor/*/*/*
 
@@ -104,6 +107,11 @@ fi
 
 
 %changelog
+* Sat Oct 13 2012 Alexey Kurov <nucleo at fedoraproject.org> - 4.9.50-1
+- libkdcraw update from digikam-3.0.0-beta2
+- enable build against lcms2
+- enable RawSpeed libraw codec
+
 * Fri Sep 28 2012 Rex Dieter <rdieter at fedoraproject.org> - 4.9.2-1
 - 4.9.2
 
diff --git a/sources b/sources
index ff7c57e..103f5cc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-78e880ba8ef6f8a84306b03b2346e9c7  libkdcraw-4.9.2.tar.xz
+3f7c8227a0cb0bd01be9311f68c28435  libkdcraw-4.9.50.tar.xz


More information about the scm-commits mailing list