[arch-commits] Commit in rawstudio/trunk (PKGBUILD lensfun03.patch)

Evangelos Foutras foutrelis at archlinux.org
Wed Jun 24 04:22:55 UTC 2015


    Date: Wednesday, June 24, 2015 @ 06:22:55
  Author: foutrelis
Revision: 135801

Fix build with lensfun 0.3

Added:
  rawstudio/trunk/lensfun03.patch
Modified:
  rawstudio/trunk/PKGBUILD

-----------------+
 PKGBUILD        |    9 ++++++---
 lensfun03.patch |   23 +++++++++++++++++++++++
 2 files changed, 29 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-06-24 04:19:11 UTC (rev 135800)
+++ PKGBUILD	2015-06-24 04:22:55 UTC (rev 135801)
@@ -15,13 +15,16 @@
 	 'libgphoto2' 'gtk-engines' 'desktop-file-utils' 'icu')
 install=${pkgname}.install
 source=(https://sources.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz
-	libpng15.patch)
+	libpng15.patch
+	lensfun03.patch)
 md5sums=('b2f86b8ca6b83ad954e3104c4cb89e9b'
-         '2f8b7acbe10d8096ce613cbea7986fd3')
+         '2f8b7acbe10d8096ce613cbea7986fd3'
+         'a606b05fa260a7afec791f8db92d9a5e')
 
 prepare() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  patch -p1 <$srcdir/libpng15.patch
+  patch -Np1 -i ../libpng15.patch
+  patch -Np1 -i ../lensfun03.patch
 }
 
 build() {

Added: lensfun03.patch
===================================================================
--- lensfun03.patch	                        (rev 0)
+++ lensfun03.patch	2015-06-24 04:22:55 UTC (rev 135801)
@@ -0,0 +1,23 @@
+From cc31d235cd3c4f0adf35614e09965c28175c7c99 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?S=C3=A9rgio=20Basto?= <sergio at serjux.com>
+Date: Tue, 27 Jan 2015 13:30:27 +0000
+Subject: [PATCH] Compile with Lensfun 0.3 version where CCI correction have
+ been removed
+
+---
+ plugins/lensfun/lensfun.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/plugins/lensfun/lensfun.c b/plugins/lensfun/lensfun.c
+index af1f189..4f7fffb 100644
+--- a/plugins/lensfun/lensfun.c
++++ b/plugins/lensfun/lensfun.c
+@@ -668,7 +668,7 @@ get_image(RSFilter *filter, const RSFilterRequest *request)
+ 			}
+ 
+ 			/* Start threads to apply phase 2, Vignetting and CA Correction */
+-			if (effective_flags & (LF_MODIFY_VIGNETTING | LF_MODIFY_CCI)) 
++			if (effective_flags & LF_MODIFY_VIGNETTING)
+ 			{
+ 				/* Phase 2 is corrected inplace, so copy input first */
+ 				guint y_offset, y_per_thread, threaded_h;



More information about the arch-commits mailing list