aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/darktable/darktable-0.9.x_libpaths.patch24
-rw-r--r--graphics/darktable/darktable.SlackBuild5
-rw-r--r--graphics/darktable/darktable.info6
-rw-r--r--graphics/darktable/slack-desc2
4 files changed, 32 insertions, 5 deletions
diff --git a/graphics/darktable/darktable-0.9.x_libpaths.patch b/graphics/darktable/darktable-0.9.x_libpaths.patch
new file mode 100644
index 0000000000000..1dfb45da6d30e
--- /dev/null
+++ b/graphics/darktable/darktable-0.9.x_libpaths.patch
@@ -0,0 +1,24 @@
+diff -u -r darktable-0.9.2//cmake/modules/FindGTK2.cmake darktable-0.9.2-patched//cmake/modules/FindGTK2.cmake
+--- darktable-0.9.2//cmake/modules/FindGTK2.cmake 2011-08-24 10:20:29.000000000 +0100
++++ darktable-0.9.2-patched//cmake/modules/FindGTK2.cmake 2011-08-29 21:10:41.758237394 +0100
+@@ -170,8 +170,6 @@
+ /usr/lib/i386-linux-gnu/
+ /usr/lib/x86_64-linux-gnu/
+ # end fix for Ubuntu >= 11.04 (Natty Narwhal)
+- # look in debian/ubuntu multi-arch path (needs cmake >= 2.85~rc2)
+- /usr/lib/${CMAKE_LIBRARY_ARCHITECTURE}
+ /usr/local/lib64
+ /usr/local/lib
+ /usr/lib64
+diff -u -r darktable-0.9.2//cmake/modules/FindGlib.cmake darktable-0.9.2-patched//cmake/modules/FindGlib.cmake
+--- darktable-0.9.2//cmake/modules/FindGlib.cmake 2011-08-29 21:55:53.743097178 +0100
++++ darktable-0.9.2-patched//cmake/modules/FindGlib.cmake 2011-08-29 21:55:09.927007977 +0100
+@@ -21,7 +21,7 @@
+ find_path(GlibConfig_INCLUDE_DIR
+ NAMES glibconfig.h
+ PATHS ${Glib_PKGCONF_INCLUDE_DIRS} /usr
+- PATH_SUFFIXES lib/glib-2.0/include ../lib/glib-2.0/include
++ PATH_SUFFIXES lib${LIB_SUFFIX}/glib-2.0/include ../lib${LIB_SUFFIX}/glib-2.0/include
+ )
+
+ # Finally the library itself
diff --git a/graphics/darktable/darktable.SlackBuild b/graphics/darktable/darktable.SlackBuild
index f0a81dbdac5ea..6405745a07dc8 100644
--- a/graphics/darktable/darktable.SlackBuild
+++ b/graphics/darktable/darktable.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=darktable
-VERSION=${VERSION:-0.9}
+VERSION=${VERSION:-0.9.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -68,6 +68,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Yet another package that doesn't honour lib64:
+patch -p1 < $CWD/darktable-0.9.x_libpaths.patch
+
mkdir -p build
cd build
cmake \
diff --git a/graphics/darktable/darktable.info b/graphics/darktable/darktable.info
index b4c599cbd5cd5..66fc4c433330b 100644
--- a/graphics/darktable/darktable.info
+++ b/graphics/darktable/darktable.info
@@ -1,8 +1,8 @@
PRGNAM="darktable"
-VERSION="0.9"
+VERSION="0.9.3"
HOMEPAGE="http://darktable.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/darktable/darktable-0.9.tar.gz"
-MD5SUM="02397e09464a9084403270607133b5b5"
+DOWNLOAD="http://downloads.sourceforge.net/darktable/darktable-0.9.3.tar.gz"
+MD5SUM="49253a3a2990a4bf8e0b0a19295f19bd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="David Spencer"
diff --git a/graphics/darktable/slack-desc b/graphics/darktable/slack-desc
index 8e76dc14f7e49..9f9d175286330 100644
--- a/graphics/darktable/slack-desc
+++ b/graphics/darktable/slack-desc
@@ -3,7 +3,7 @@
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
+# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
darktable: darktable (digital photography application)