summaryrefslogtreecommitdiff
path: root/extra/lensfun
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
commit65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch)
treefbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /extra/lensfun
parentd53c44f055929b18d7d1b25f8367ee5836c435fc (diff)
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'extra/lensfun')
-rw-r--r--extra/lensfun/PKGBUILD12
-rw-r--r--extra/lensfun/lensfun-0.2.3-as-needed.patch13
-rw-r--r--extra/lensfun/lensfun-0.2.3-glibc-2.10.patch11
-rw-r--r--extra/lensfun/lensfun-0.2.8-make-4.0.patch11
4 files changed, 19 insertions, 28 deletions
diff --git a/extra/lensfun/PKGBUILD b/extra/lensfun/PKGBUILD
index a3a2cedd0..0db15eecf 100644
--- a/extra/lensfun/PKGBUILD
+++ b/extra/lensfun/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 182923 2013-04-16 07:16:05Z tpowa $
+# $Id: PKGBUILD 201246 2013-12-06 16:02:09Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=lensfun
-pkgver=0.2.7
+pkgver=0.2.8
pkgrel=1
pkgdesc="Database of photographic lenses and a library that allows advanced access to the database"
arch=(i686 x86_64)
@@ -10,11 +10,14 @@ url="http://lensfun.berlios.de/"
license=('LGPL3')
depends=('glibc' 'glib2')
makedepends=('python2' 'libpng' 'doxygen')
-source=("http://download.berlios.de/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
+source=("http://download.berlios.de/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+ lensfun-0.2.8-make-4.0.patch)
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed -i 's|#!/usr/bin/python|#!/usr/bin/python2|' configure
+ # fix configure script for make 4.0
+ patch -Np0 -i "${srcdir}/lensfun-0.2.8-make-4.0.patch"
}
build() {
@@ -29,4 +32,5 @@ package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make INSTALL_PREFIX="$pkgdir" install
}
-md5sums=('6061cc2d00a42d3e62512878426fc841')
+md5sums=('db2988505e7432c6b331aa597789c639'
+ '9464d933a5e4ccefed7fc38656a9ec18')
diff --git a/extra/lensfun/lensfun-0.2.3-as-needed.patch b/extra/lensfun/lensfun-0.2.3-as-needed.patch
deleted file mode 100644
index 12287dba2..000000000
--- a/extra/lensfun/lensfun-0.2.3-as-needed.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -ru lensfun-0.2.3.orig/build/mak/compiler/gcc.mak lensfun-0.2.3/build/mak/compiler/gcc.mak
---- lensfun-0.2.3.orig/build/mak/compiler/gcc.mak 2009-03-15 02:42:40.000000000 +0100
-+++ lensfun-0.2.3/build/mak/compiler/gcc.mak 2009-03-15 02:43:37.000000000 +0100
-@@ -71,7 +71,7 @@
- endef
-
- LINK.GCC.AR = $(GCC.AR) $(GCC.ARFLAGS) $@ $^
--LINK.GCC.EXEC = $(GCC.LD) -o $@ $(GCC.LDFLAGS) $(LDFLAGS) $1 $^ $(GCC.LDFLAGS.LIBS) $(LDFLAGS.LIBS) $2
-+LINK.GCC.EXEC = $(GCC.LD) $(LDFLAGS) $^ $2 $(GCC.LDFLAGS.LIBS) $(LDFLAGS.LIBS) $(GCC.LDFLAGS) $1 -o $@
- define LINK.GCC.SO
- $(GCC.LD) -o $@.$(SHARED.$3) -Wl,"-soname=$(notdir $@).$(basename $(basename $(SHARED.$3)))" $(GCC.LDFLAGS.SHARED) $(GCC.LDFLAGS) $(LDFLAGS) $1 $^ $(GCC.LDFLAGS.LIBS) $(LDFLAGS.LIBS) $2
- ln -fs $(notdir $@.$(SHARED.$3)) $@.$(basename $(basename $(SHARED.$3)))
-Only in lensfun-0.2.3/out/posix/release: deps
diff --git a/extra/lensfun/lensfun-0.2.3-glibc-2.10.patch b/extra/lensfun/lensfun-0.2.3-glibc-2.10.patch
deleted file mode 100644
index 41a29563a..000000000
--- a/extra/lensfun/lensfun-0.2.3-glibc-2.10.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- lensfun-0.2.3.orig/tools/makedep/cppsetup.cpp 2009-07-04 21:20:49.000000000 +0200
-+++ lensfun-0.2.3/tools/makedep/cppsetup.cpp 2009-07-04 22:19:18.000000000 +0200
-@@ -195,7 +195,7 @@
- }
- while (s);
-
-- eol = strchr (var, 0);
-+ eol = (char *)strchr (var, 0);
-
- // Skip parentheses which Microsoft likes so much
- if (*var == '(')
diff --git a/extra/lensfun/lensfun-0.2.8-make-4.0.patch b/extra/lensfun/lensfun-0.2.8-make-4.0.patch
new file mode 100644
index 000000000..c7694457d
--- /dev/null
+++ b/extra/lensfun/lensfun-0.2.8-make-4.0.patch
@@ -0,0 +1,11 @@
+--- configure.old 2013-12-06 16:55:09.098654166 +0100
++++ configure 2013-12-06 16:55:20.298676545 +0100
+@@ -45,7 +45,7 @@
+ }
+
+ # Check for tools
+-tibs.check_program ("GNU Make", "make --version", ".*?([0-9\.]+).*", "3.81", True)
++tibs.check_program ("GNU Make", "make --version", ".*?([0-9\.]+).*", "4.0", True)
+ if tibs.check_program ("makedep", "makedep -V", ".*Version.*?([0-9\.]+).*", "0.1.0"):
+ tibs.add_config_mak ("MAKEDEP", "makedep")
+ makedep = "yes"