[arch-commits] Commit in opengtl/repos (6 files)

Evangelos Foutras foutrelis at archlinux.org
Tue Dec 25 01:18:00 UTC 2012


    Date: Monday, December 24, 2012 @ 20:18:00
  Author: foutrelis
Revision: 173855

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  opengtl/repos/staging-i686/
  opengtl/repos/staging-i686/PKGBUILD
    (from rev 173854, opengtl/trunk/PKGBUILD)
  opengtl/repos/staging-i686/opengtl-0.9.17-fix-ftbfs-with-llvm-3.2.patch
    (from rev 173854, opengtl/trunk/opengtl-0.9.17-fix-ftbfs-with-llvm-3.2.patch)
  opengtl/repos/staging-x86_64/
  opengtl/repos/staging-x86_64/PKGBUILD
    (from rev 173854, opengtl/trunk/PKGBUILD)
  opengtl/repos/staging-x86_64/opengtl-0.9.17-fix-ftbfs-with-llvm-3.2.patch
    (from rev 173854, opengtl/trunk/opengtl-0.9.17-fix-ftbfs-with-llvm-3.2.patch)

-------------------------------------------------------------+
 staging-i686/PKGBUILD                                       |   42 ++++++++++
 staging-i686/opengtl-0.9.17-fix-ftbfs-with-llvm-3.2.patch   |   38 +++++++++
 staging-x86_64/PKGBUILD                                     |   42 ++++++++++
 staging-x86_64/opengtl-0.9.17-fix-ftbfs-with-llvm-3.2.patch |   38 +++++++++
 4 files changed, 160 insertions(+)

Copied: opengtl/repos/staging-i686/PKGBUILD (from rev 173854, opengtl/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2012-12-25 01:18:00 UTC (rev 173855)
@@ -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/staging-i686/opengtl-0.9.17-fix-ftbfs-with-llvm-3.2.patch (from rev 173854, opengtl/trunk/opengtl-0.9.17-fix-ftbfs-with-llvm-3.2.patch)
===================================================================
--- staging-i686/opengtl-0.9.17-fix-ftbfs-with-llvm-3.2.patch	                        (rev 0)
+++ staging-i686/opengtl-0.9.17-fix-ftbfs-with-llvm-3.2.patch	2012-12-25 01:18:00 UTC (rev 173855)
@@ -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>

Copied: opengtl/repos/staging-x86_64/PKGBUILD (from rev 173854, opengtl/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2012-12-25 01:18:00 UTC (rev 173855)
@@ -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/staging-x86_64/opengtl-0.9.17-fix-ftbfs-with-llvm-3.2.patch (from rev 173854, opengtl/trunk/opengtl-0.9.17-fix-ftbfs-with-llvm-3.2.patch)
===================================================================
--- staging-x86_64/opengtl-0.9.17-fix-ftbfs-with-llvm-3.2.patch	                        (rev 0)
+++ staging-x86_64/opengtl-0.9.17-fix-ftbfs-with-llvm-3.2.patch	2012-12-25 01:18:00 UTC (rev 173855)
@@ -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