[arch-commits] Commit in opengtl/repos (8 files)
Evangelos Foutras
foutrelis at archlinux.org
Sun Dec 30 15:30:38 UTC 2012
Date: Sunday, December 30, 2012 @ 10:30:38
Author: foutrelis
Revision: 173974
db-move: moved opengtl from [testing] to [extra] (i686, x86_64)
Added:
opengtl/repos/extra-i686/PKGBUILD
(from rev 173972, opengtl/repos/testing-i686/PKGBUILD)
opengtl/repos/extra-i686/opengtl-0.9.17-fix-ftbfs-with-llvm-3.2.patch
(from rev 173972, opengtl/repos/testing-i686/opengtl-0.9.17-fix-ftbfs-with-llvm-3.2.patch)
opengtl/repos/extra-x86_64/PKGBUILD
(from rev 173972, opengtl/repos/testing-x86_64/PKGBUILD)
opengtl/repos/extra-x86_64/opengtl-0.9.17-fix-ftbfs-with-llvm-3.2.patch
(from rev 173972, opengtl/repos/testing-x86_64/opengtl-0.9.17-fix-ftbfs-with-llvm-3.2.patch)
Deleted:
opengtl/repos/extra-i686/PKGBUILD
opengtl/repos/extra-x86_64/PKGBUILD
opengtl/repos/testing-i686/
opengtl/repos/testing-x86_64/
-----------------------------------------------------------+
extra-i686/PKGBUILD | 74 ++++++------
extra-i686/opengtl-0.9.17-fix-ftbfs-with-llvm-3.2.patch | 38 ++++++
extra-x86_64/PKGBUILD | 74 ++++++------
extra-x86_64/opengtl-0.9.17-fix-ftbfs-with-llvm-3.2.patch | 38 ++++++
4 files changed, 160 insertions(+), 64 deletions(-)
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2012-12-30 15:30:36 UTC (rev 173973)
+++ extra-i686/PKGBUILD 2012-12-30 15:30:38 UTC (rev 173974)
@@ -1,32 +0,0 @@
-# $Id$
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-# Contributor: Andries Radu <admiral0 at live.it>
-
-pkgname=opengtl
-pkgver=0.9.17
-pkgrel=1
-pkgdesc="A set of library for using and integrating transformation algorithms (such as filter or color conversion) in graphics applications"
-url="http://www.opengtl.org"
-arch=('i686' 'x86_64')
-license=('GPL')
-depends=('gcc-libs' 'llvm')
-makedepends=('cmake' 'libpng')
-optdepends=('libpng: for using the png extension')
-source=(http://download.opengtl.org/OpenGTL-${pkgver}.tar.bz2)
-sha1sums=('10369bd11109312466389b3b050469dd69e54d2b')
-
-build() {
- cd "${srcdir}"
- mkdir build
- cd build
- cmake ../OpenGTL-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_SKIP_RPATH=ON \
- -DCMAKE_INSTALL_PREFIX=/usr
- make
-}
-
-package() {
- cd "${srcdir}/build"
- make DESTDIR="${pkgdir}" install
-}
Copied: opengtl/repos/extra-i686/PKGBUILD (from rev 173972, opengtl/repos/testing-i686/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2012-12-30 15:30:38 UTC (rev 173974)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer:
+# Contributor: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Andries Radu <admiral0 at live.it>
+
+pkgname=opengtl
+pkgver=0.9.17
+pkgrel=2
+pkgdesc="A set of libraries for using and integrating transformation algorithms (such as filter or color conversion) in graphics applications"
+url="http://www.opengtl.org"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('gcc-libs' 'llvm')
+makedepends=('cmake' 'libpng')
+optdepends=('libpng: for using the png extension')
+source=(http://download.opengtl.org/OpenGTL-$pkgver.tar.bz2
+ opengtl-0.9.17-fix-ftbfs-with-llvm-3.2.patch)
+sha256sums=('89a37394fe71f2e771d7230333c86b93706f0083f86a58a86a670bca7e4f905e'
+ 'd3e12d964c927e6f659df00e6210815c803c9126b34e9e92d4ccfebd6d30c8d7')
+
+build() {
+ cd "$srcdir"
+
+ # Fix build with LLVM 3.2
+ patch -d OpenGTL-$pkgver -Np1 -i \
+ "$srcdir/opengtl-0.9.17-fix-ftbfs-with-llvm-3.2.patch"
+
+ mkdir build
+ cd build
+ cmake ../OpenGTL-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=ON
+ make
+}
+
+package() {
+ cd "$srcdir/build"
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
Copied: opengtl/repos/extra-i686/opengtl-0.9.17-fix-ftbfs-with-llvm-3.2.patch (from rev 173972, opengtl/repos/testing-i686/opengtl-0.9.17-fix-ftbfs-with-llvm-3.2.patch)
===================================================================
--- extra-i686/opengtl-0.9.17-fix-ftbfs-with-llvm-3.2.patch (rev 0)
+++ extra-i686/opengtl-0.9.17-fix-ftbfs-with-llvm-3.2.patch 2012-12-30 15:30:38 UTC (rev 173974)
@@ -0,0 +1,38 @@
+diff -upr OpenGTL-0.9.17.orig/CMakeLists.txt OpenGTL-0.9.17/CMakeLists.txt
+--- OpenGTL-0.9.17.orig/CMakeLists.txt 2012-06-04 17:51:43.000000000 +0300
++++ OpenGTL-0.9.17/CMakeLists.txt 2012-12-25 03:00:30.000000000 +0200
+@@ -47,8 +47,8 @@ configure_file(config-endian.h.cmake ${C
+
+ find_package(LLVM REQUIRED)
+
+-if( NOT MSVC AND NOT (LLVM_VERSION STREQUAL "3.1" OR LLVM_VERSION STREQUAL "3.0" ) ) # There is no way with MSVC to know the llvm version
+- message(FATAL_ERROR "LLVM 3.0 or 3.1 is required.")
++if( NOT MSVC AND NOT LLVM_VERSION STREQUAL "3.2" ) # There is no way with MSVC to know the llvm version
++ message(FATAL_ERROR "LLVM 3.2 is required.")
+ endif()
+
+ if(MSVC)
+diff -upr OpenGTL-0.9.17.orig/OpenCTL/OpenCTL/Program.cpp OpenGTL-0.9.17/OpenCTL/OpenCTL/Program.cpp
+--- OpenGTL-0.9.17.orig/OpenCTL/OpenCTL/Program.cpp 2012-06-04 17:51:43.000000000 +0300
++++ OpenGTL-0.9.17/OpenCTL/OpenCTL/Program.cpp 2012-12-25 02:59:17.000000000 +0200
+@@ -29,7 +29,7 @@
+ #include <llvm/PassManager.h>
+ #include <llvm/Analysis/LoopPass.h>
+ #include <llvm/Analysis/Verifier.h>
+-#include <llvm/Target/TargetData.h>
++#include <llvm/DataLayout.h>
+ #include <llvm/GlobalVariable.h>
+
+ // GTLCore
+diff -upr OpenGTL-0.9.17.orig/OpenGTL/GTLCore/ModuleData_p.cpp OpenGTL-0.9.17/OpenGTL/GTLCore/ModuleData_p.cpp
+--- OpenGTL-0.9.17.orig/OpenGTL/GTLCore/ModuleData_p.cpp 2012-06-04 17:51:43.000000000 +0300
++++ OpenGTL-0.9.17/OpenGTL/GTLCore/ModuleData_p.cpp 2012-12-25 02:59:34.000000000 +0200
+@@ -23,7 +23,7 @@
+
+ #include <llvm/Module.h>
+ #include <llvm/PassManager.h>
+-#include <llvm/Target/TargetData.h>
++#include <llvm/DataLayout.h>
+ #include <llvm/Target/TargetMachine.h>
+ #include <llvm/Analysis/Verifier.h>
+ #include <llvm/Transforms/Utils/Cloning.h>
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2012-12-30 15:30:36 UTC (rev 173973)
+++ extra-x86_64/PKGBUILD 2012-12-30 15:30:38 UTC (rev 173974)
@@ -1,32 +0,0 @@
-# $Id$
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-# Contributor: Andries Radu <admiral0 at live.it>
-
-pkgname=opengtl
-pkgver=0.9.17
-pkgrel=1
-pkgdesc="A set of library for using and integrating transformation algorithms (such as filter or color conversion) in graphics applications"
-url="http://www.opengtl.org"
-arch=('i686' 'x86_64')
-license=('GPL')
-depends=('gcc-libs' 'llvm')
-makedepends=('cmake' 'libpng')
-optdepends=('libpng: for using the png extension')
-source=(http://download.opengtl.org/OpenGTL-${pkgver}.tar.bz2)
-sha1sums=('10369bd11109312466389b3b050469dd69e54d2b')
-
-build() {
- cd "${srcdir}"
- mkdir build
- cd build
- cmake ../OpenGTL-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_SKIP_RPATH=ON \
- -DCMAKE_INSTALL_PREFIX=/usr
- make
-}
-
-package() {
- cd "${srcdir}/build"
- make DESTDIR="${pkgdir}" install
-}
Copied: opengtl/repos/extra-x86_64/PKGBUILD (from rev 173972, opengtl/repos/testing-x86_64/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2012-12-30 15:30:38 UTC (rev 173974)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer:
+# Contributor: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Andries Radu <admiral0 at live.it>
+
+pkgname=opengtl
+pkgver=0.9.17
+pkgrel=2
+pkgdesc="A set of libraries for using and integrating transformation algorithms (such as filter or color conversion) in graphics applications"
+url="http://www.opengtl.org"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('gcc-libs' 'llvm')
+makedepends=('cmake' 'libpng')
+optdepends=('libpng: for using the png extension')
+source=(http://download.opengtl.org/OpenGTL-$pkgver.tar.bz2
+ opengtl-0.9.17-fix-ftbfs-with-llvm-3.2.patch)
+sha256sums=('89a37394fe71f2e771d7230333c86b93706f0083f86a58a86a670bca7e4f905e'
+ 'd3e12d964c927e6f659df00e6210815c803c9126b34e9e92d4ccfebd6d30c8d7')
+
+build() {
+ cd "$srcdir"
+
+ # Fix build with LLVM 3.2
+ patch -d OpenGTL-$pkgver -Np1 -i \
+ "$srcdir/opengtl-0.9.17-fix-ftbfs-with-llvm-3.2.patch"
+
+ mkdir build
+ cd build
+ cmake ../OpenGTL-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=ON
+ make
+}
+
+package() {
+ cd "$srcdir/build"
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
Copied: opengtl/repos/extra-x86_64/opengtl-0.9.17-fix-ftbfs-with-llvm-3.2.patch (from rev 173972, opengtl/repos/testing-x86_64/opengtl-0.9.17-fix-ftbfs-with-llvm-3.2.patch)
===================================================================
--- extra-x86_64/opengtl-0.9.17-fix-ftbfs-with-llvm-3.2.patch (rev 0)
+++ extra-x86_64/opengtl-0.9.17-fix-ftbfs-with-llvm-3.2.patch 2012-12-30 15:30:38 UTC (rev 173974)
@@ -0,0 +1,38 @@
+diff -upr OpenGTL-0.9.17.orig/CMakeLists.txt OpenGTL-0.9.17/CMakeLists.txt
+--- OpenGTL-0.9.17.orig/CMakeLists.txt 2012-06-04 17:51:43.000000000 +0300
++++ OpenGTL-0.9.17/CMakeLists.txt 2012-12-25 03:00:30.000000000 +0200
+@@ -47,8 +47,8 @@ configure_file(config-endian.h.cmake ${C
+
+ find_package(LLVM REQUIRED)
+
+-if( NOT MSVC AND NOT (LLVM_VERSION STREQUAL "3.1" OR LLVM_VERSION STREQUAL "3.0" ) ) # There is no way with MSVC to know the llvm version
+- message(FATAL_ERROR "LLVM 3.0 or 3.1 is required.")
++if( NOT MSVC AND NOT LLVM_VERSION STREQUAL "3.2" ) # There is no way with MSVC to know the llvm version
++ message(FATAL_ERROR "LLVM 3.2 is required.")
+ endif()
+
+ if(MSVC)
+diff -upr OpenGTL-0.9.17.orig/OpenCTL/OpenCTL/Program.cpp OpenGTL-0.9.17/OpenCTL/OpenCTL/Program.cpp
+--- OpenGTL-0.9.17.orig/OpenCTL/OpenCTL/Program.cpp 2012-06-04 17:51:43.000000000 +0300
++++ OpenGTL-0.9.17/OpenCTL/OpenCTL/Program.cpp 2012-12-25 02:59:17.000000000 +0200
+@@ -29,7 +29,7 @@
+ #include <llvm/PassManager.h>
+ #include <llvm/Analysis/LoopPass.h>
+ #include <llvm/Analysis/Verifier.h>
+-#include <llvm/Target/TargetData.h>
++#include <llvm/DataLayout.h>
+ #include <llvm/GlobalVariable.h>
+
+ // GTLCore
+diff -upr OpenGTL-0.9.17.orig/OpenGTL/GTLCore/ModuleData_p.cpp OpenGTL-0.9.17/OpenGTL/GTLCore/ModuleData_p.cpp
+--- OpenGTL-0.9.17.orig/OpenGTL/GTLCore/ModuleData_p.cpp 2012-06-04 17:51:43.000000000 +0300
++++ OpenGTL-0.9.17/OpenGTL/GTLCore/ModuleData_p.cpp 2012-12-25 02:59:34.000000000 +0200
+@@ -23,7 +23,7 @@
+
+ #include <llvm/Module.h>
+ #include <llvm/PassManager.h>
+-#include <llvm/Target/TargetData.h>
++#include <llvm/DataLayout.h>
+ #include <llvm/Target/TargetMachine.h>
+ #include <llvm/Analysis/Verifier.h>
+ #include <llvm/Transforms/Utils/Cloning.h>
More information about the arch-commits
mailing list