summaryrefslogtreecommitdiff
path: root/graphics/hugin
diff options
context:
space:
mode:
authortitopoquito <titopoquito@gmail.com>2013-04-25 18:57:24 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2013-04-25 18:57:24 -0300
commit12f3f7987768bd741eff00f6ec07222903bdb64e (patch)
treea4fdb595ebe66b0a5aa0b946b0aae242f8a8355d /graphics/hugin
parent68c3666b9e794181cc99d2ec21b6fcd91fd12475 (diff)
downloadslackbuilds-12f3f7987768bd741eff00f6ec07222903bdb64e.tar.gz
graphics/hugin: Updated for version 2012.0.0.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'graphics/hugin')
-rw-r--r--graphics/hugin/hugin-gcc47.patch33
-rw-r--r--graphics/hugin/hugin.SlackBuild11
-rw-r--r--graphics/hugin/hugin.info8
3 files changed, 8 insertions, 44 deletions
diff --git a/graphics/hugin/hugin-gcc47.patch b/graphics/hugin/hugin-gcc47.patch
deleted file mode 100644
index 09aaddd6eb..0000000000
--- a/graphics/hugin/hugin-gcc47.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-diff -r 658ded2153f2 src/celeste/Utilities.h
---- a/src/celeste/Utilities.h Sun Jan 01 13:23:39 2012 +0100
-+++ b/src/celeste/Utilities.h Sat Jan 07 19:38:25 2012 +0000
-@@ -33,6 +33,8 @@
- #include <stdio.h>
- #ifdef _WINDOWS
- #include "direct.h"
-+#else
-+#include <unistd.h>
- #endif
-
- using namespace std;
-diff -r 658ded2153f2 src/foreign/zthread/include/zthread/Guard.h
---- a/src/foreign/zthread/include/zthread/Guard.h Sun Jan 01 13:23:39 2012 +0100
-+++ b/src/foreign/zthread/include/zthread/Guard.h Sat Jan 07 19:38:25 2012 +0000
-@@ -428,7 +428,7 @@
- template <class U, class V>
- Guard(Guard<U, V>& g) : LockHolder<LockType>(g) {
-
-- LockingPolicy::shareScope(*this, extract(g));
-+ LockingPolicy::shareScope(*this, this->extract(g));
-
- }
-
-@@ -458,7 +458,7 @@
- template <class U, class V>
- Guard(Guard<U, V>& g, LockType& lock) : LockHolder<LockType>(lock) {
-
-- LockingPolicy::transferScope(*this, extract(g));
-+ LockingPolicy::transferScope(*this, this->extract(g));
-
- }
-
diff --git a/graphics/hugin/hugin.SlackBuild b/graphics/hugin/hugin.SlackBuild
index a52b663f48..0bc15640d3 100644
--- a/graphics/hugin/hugin.SlackBuild
+++ b/graphics/hugin/hugin.SlackBuild
@@ -5,7 +5,8 @@
# Copyright 2009-2010 Erik W. Hanson, Minneapolis, MN, USA
# All rights reserved.
# Modified 2011 for version 2011.0.0 by titopoquito
-# Modified 2012 for version 2011.4.0 by titopoquito
+# Modified 2012 for version 2011.4.0 by titopoquito
+# Modified 2013 for version 2012.0.0 by titopoquito
# (titopoquito@gmail.com)
#
# Redistribution and use of this script, with or without modification, is
@@ -26,8 +27,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=hugin
-VERSION=2011.4.0
-BUILD=${BUILD:-2}
+VERSION=2012.0.0
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -68,10 +69,6 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-# apply patch to make compilation work with gcc 4.7
-# patch taken from https://bugs.launchpad.net/hugin/+bug/913250
-patch -p1 < $CWD/hugin-gcc47.patch
-
cmake \
-DCMAKE_C_FLAGS="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
diff --git a/graphics/hugin/hugin.info b/graphics/hugin/hugin.info
index 19468f505d..0b094b2c73 100644
--- a/graphics/hugin/hugin.info
+++ b/graphics/hugin/hugin.info
@@ -1,10 +1,10 @@
PRGNAM="hugin"
-VERSION="2011.4.0"
+VERSION="2012.0.0"
HOMEPAGE="http://hugin.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/hugin/hugin-2011.4.0.tar.bz2"
-MD5SUM="3e4866dbbc7974972604aa18580eae0e"
+DOWNLOAD="http://downloads.sourceforge.net/hugin/hugin-2012.0.0.tar.bz2"
+MD5SUM="6a4fb2585eb3539ba6769cf4557f6e88"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="enblend-enfuse exiftool libpano13 tclap wxPython"
+REQUIRES="enblend-enfuse exiftool lensfun libpano13 tclap wxPython"
MAINTAINER="titopoquito"
EMAIL="titopoquito@gmail.com"