[arch-commits] Commit in opengtl/trunk (PKGBUILD opengtl-0.9.18-llvm-3.3.patch)
Date: Thursday, June 13, 2013 @ 12:47:21 Author: foutrelis Revision: 188240 upgpkg: opengtl 0.9.18-3 LLVM 3.3 rebuild. Added: opengtl/trunk/opengtl-0.9.18-llvm-3.3.patch Modified: opengtl/trunk/PKGBUILD ---+ PKGBUILD | 13 opengtl-0.9.18-llvm-3.3.patch | 732 2 files changed, 742 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-06-13 10:29:58 UTC (rev 188239) +++ PKGBUILD2013-06-13 10:47:21 UTC (rev 188240) @@ -5,21 +5,28 @@ pkgname=opengtl pkgver=0.9.18 -pkgrel=2 +pkgrel=3 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') +depends=('gcc-libs' 'llvm-libs') +makedepends=('cmake' 'libpng' 'llvm') optdepends=('libpng: for using the png extension') source=(http://download.opengtl.org/OpenGTL-$pkgver.tar.bz2 +opengtl-0.9.18-llvm-3.3.patch opengtl-0.9.18-memcpy.patch) sha256sums=('f094b3d2a1a60519975bb3badc05e704f2b93c7a3d2cb753041f2ff27cfcd9f8' +'c43418bc039660ae86cb86b8b8175342793cb1361c699faa9b6342bc896e3d6c' '357cc2e538bbaaffe7d58956959d8a7fbae09741d4a87488a5a8c51ec645d23a') prepare() { mkdir build + + # Fix build with LLVM 3.3 (patch from Fedora) + patch -d OpenGTL-$pkgver -Np1 -i $srcdir/opengtl-0.9.18-llvm-3.3.patch + + # Fix build with libpng 1.6 patch -d OpenGTL-$pkgver -Np1 -i $srcdir/opengtl-0.9.18-memcpy.patch } Added: opengtl-0.9.18-llvm-3.3.patch === --- opengtl-0.9.18-llvm-3.3.patch (rev 0) +++ opengtl-0.9.18-llvm-3.3.patch 2013-06-13 10:47:21 UTC (rev 188240) @@ -0,0 +1,732 @@ +diff -up OpenGTL-0.9.18/CMakeLists.txt.jx OpenGTL-0.9.18/CMakeLists.txt +--- OpenGTL-0.9.18/CMakeLists.txt.jx 2012-12-29 06:27:12.0 -0500 OpenGTL-0.9.18/CMakeLists.txt 2013-05-08 15:39:25.090057193 -0400 +@@ -78,8 +78,8 @@ else(MSVC) + FIND_LLVM_LIBS( ${LLVM_CONFIG_EXECUTABLE} native bitwriter linker bitreader jit interpreter support ipo LLVM_LIBS LLVM_NATIVE_OBJECTS ) + endif(MSVC) + +-if( NOT MSVC AND NOT (LLVM_VERSION STREQUAL 3.1 OR LLVM_VERSION STREQUAL 3.0 OR LLVM_VERSION STREQUAL 3.2svn OR LLVM_VERSION STREQUAL 3.2 ) ) # There is no way with MSVC to know the llvm version +- message(FATAL_ERROR LLVM 3.0 or 3.1 or 3.2 is required.) ++if( NOT MSVC AND NOT (LLVM_VERSION STREQUAL 3.3svn OR LLVM_VERSION STREQUAL 3.3 ) ) # There is no way with MSVC to know the llvm version ++ message(FATAL_ERROR LLVM 3.3 is required.) + endif() + + if(MSVC) +diff -up OpenGTL-0.9.18/OpenCTL/OpenCTL/compiler/Compiler.cpp.jx OpenGTL-0.9.18/OpenCTL/OpenCTL/compiler/Compiler.cpp +--- OpenGTL-0.9.18/OpenCTL/OpenCTL/compiler/Compiler.cpp.jx2012-12-29 06:27:12.0 -0500 OpenGTL-0.9.18/OpenCTL/OpenCTL/compiler/Compiler.cpp 2013-05-08 15:39:25.091057197 -0400 +@@ -27,10 +27,10 @@ + #include climits + + // LLVM +-#include llvm/InstrTypes.h ++#include llvm/IR/InstrTypes.h + // #include llvm/Linker.h +-#include llvm/DerivedTypes.h +-#include llvm/Module.h ++#include llvm/IR/DerivedTypes.h ++#include llvm/IR/Module.h + // #include llvm/Transforms/Utils/Cloning.h + // Library Loader + #ifdef LLVM_27_OR_28 +@@ -214,7 +214,7 @@ bool Compiler::compile(bool _isStandardL + return success; + } + +-#include llvm/ValueSymbolTable.h ++#include llvm/IR/ValueSymbolTable.h + + bool Compiler::importModule(const GTLCore::String name) + { +diff -up OpenGTL-0.9.18/OpenCTL/OpenCTL/compiler/ParserNG.cpp.jx OpenGTL-0.9.18/OpenCTL/OpenCTL/compiler/ParserNG.cpp +--- OpenGTL-0.9.18/OpenCTL/OpenCTL/compiler/ParserNG.cpp.jx2012-12-29 06:27:12.0 -0500 OpenGTL-0.9.18/OpenCTL/OpenCTL/compiler/ParserNG.cpp 2013-05-08 15:39:25.091057197 -0400 +@@ -19,9 +19,9 @@ + + #include ParserNG.h + +-#include llvm/Constants.h +-#include llvm/DerivedTypes.h +-#include llvm/Type.h ++#include llvm/IR/Constants.h ++#include llvm/IR/DerivedTypes.h ++#include llvm/IR/Type.h + + #include GTLCore/LLVMBackend/CodeGenerator_p.h + #include GTLCore/CompilationMessage.h +diff -up OpenGTL-0.9.18/OpenCTL/OpenCTL/Module.cpp.jx OpenGTL-0.9.18/OpenCTL/OpenCTL/Module.cpp +--- OpenGTL-0.9.18/OpenCTL/OpenCTL/Module.cpp.jx 2012-12-29 06:27:12.0 -0500 OpenGTL-0.9.18/OpenCTL/OpenCTL/Module.cpp 2013-05-08 15:39:25.091057197 -0400 +@@ -38,7 +38,7 @@ + using namespace OpenCTL; + + // LLVM +-#include llvm/Module.h ++#include llvm/IR/Module.h + #include llvm/Bitcode/ReaderWriter.h + #ifdef LLVM_27_OR_28 + #include llvm/System/Path.h +@@ -47,8 +47,7 @@ using namespace OpenCTL; + #include llvm/Support/Path.h + #include
[arch-commits] Commit in opengtl/trunk (PKGBUILD opengtl-0.9.18-memcpy.patch)
Date: Sunday, April 28, 2013 @ 01:16:09 Author: foutrelis Revision: 183780 upgpkg: opengtl 0.9.18-2 libpng 1.6 rebuild. Added: opengtl/trunk/opengtl-0.9.18-memcpy.patch Modified: opengtl/trunk/PKGBUILD -+ PKGBUILD| 17 +++-- opengtl-0.9.18-memcpy.patch | 11 +++ 2 files changed, 22 insertions(+), 6 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-04-27 23:16:07 UTC (rev 183779) +++ PKGBUILD2013-04-27 23:16:09 UTC (rev 183780) @@ -5,7 +5,7 @@ pkgname=opengtl pkgver=0.9.18 -pkgrel=1 +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') @@ -13,13 +13,18 @@ depends=('gcc-libs' 'llvm') makedepends=('cmake' 'libpng') optdepends=('libpng: for using the png extension') -source=(http://download.opengtl.org/OpenGTL-$pkgver.tar.bz2) -sha256sums=('f094b3d2a1a60519975bb3badc05e704f2b93c7a3d2cb753041f2ff27cfcd9f8') +source=(http://download.opengtl.org/OpenGTL-$pkgver.tar.bz2 +opengtl-0.9.18-memcpy.patch) +sha256sums=('f094b3d2a1a60519975bb3badc05e704f2b93c7a3d2cb753041f2ff27cfcd9f8' +'357cc2e538bbaaffe7d58956959d8a7fbae09741d4a87488a5a8c51ec645d23a') +prepare() { + mkdir build + patch -d OpenGTL-$pkgver -Np1 -i $srcdir/opengtl-0.9.18-memcpy.patch +} + build() { - cd $srcdir - mkdir build - cd build + cd $srcdir/build cmake ../OpenGTL-$pkgver \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ Added: opengtl-0.9.18-memcpy.patch === --- opengtl-0.9.18-memcpy.patch (rev 0) +++ opengtl-0.9.18-memcpy.patch 2013-04-27 23:16:09 UTC (rev 183780) @@ -0,0 +1,11 @@ +diff -r 99a2017746c0 Extensions/PngDC/PngDC.cpp +--- a/Extensions/PngDC/PngDC.cpp Wed Jan 30 05:28:12 2013 +1100 b/Extensions/PngDC/PngDC.cpp Tue Apr 16 01:59:10 2013 +1000 +@@ -20,6 +20,7 @@ + #include PngDC.h + + #include png.h ++#include string.h + + #include config-endian.h +
[arch-commits] Commit in opengtl/trunk (PKGBUILD)
Date: Tuesday, October 30, 2012 @ 06:47:28 Author: foutrelis Revision: 169816 upgpkg: opengtl 0.9.17-1 New upstream release. Modified: opengtl/trunk/PKGBUILD --+ PKGBUILD | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) Modified: PKGBUILD === --- PKGBUILD2012-10-30 08:04:35 UTC (rev 169815) +++ PKGBUILD2012-10-30 10:47:28 UTC (rev 169816) @@ -3,8 +3,8 @@ # Contributor: Andries Radu admir...@live.it pkgname=opengtl -pkgver=0.9.16 -pkgrel=2 +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') @@ -13,15 +13,10 @@ makedepends=('cmake' 'libpng') optdepends=('libpng: for using the png extension') source=(http://download.opengtl.org/OpenGTL-${pkgver}.tar.bz2) -sha1sums=('3cfe4a08e5778c13f7e74dfc822adb68f97ad048') +sha1sums=('10369bd11109312466389b3b050469dd69e54d2b') build() { cd ${srcdir} - # Fix build with LLVM 3.1 - sed -i 's/LLVM_VERSION STREQUAL 3.0/LLVM_VERSION STREQUAL 3.1/' \ -OpenGTL-${pkgver}/CMakeLists.txt - sed -i 's/ConstantArray::get/ConstantDataArray::getString/' \ -OpenGTL-${pkgver}/OpenGTL/GTLCore/AST/Expression.cpp mkdir build cd build cmake ../OpenGTL-${pkgver} \
[arch-commits] Commit in opengtl/trunk (PKGBUILD)
Date: Tuesday, May 22, 2012 @ 16:36:07 Author: foutrelis Revision: 159375 upgpkg: opengtl 0.9.16-2 Rebuild against LLVM 3.1. Modified: opengtl/trunk/PKGBUILD --+ PKGBUILD |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2012-05-22 19:47:00 UTC (rev 159374) +++ PKGBUILD2012-05-22 20:36:07 UTC (rev 159375) @@ -4,7 +4,7 @@ pkgname=opengtl pkgver=0.9.16 -pkgrel=1 +pkgrel=2 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') @@ -17,6 +17,11 @@ build() { cd ${srcdir} + # Fix build with LLVM 3.1 + sed -i 's/LLVM_VERSION STREQUAL 3.0/LLVM_VERSION STREQUAL 3.1/' \ +OpenGTL-${pkgver}/CMakeLists.txt + sed -i 's/ConstantArray::get/ConstantDataArray::getString/' \ +OpenGTL-${pkgver}/OpenGTL/GTLCore/AST/Expression.cpp mkdir build cd build cmake ../OpenGTL-${pkgver} \
[arch-commits] Commit in opengtl/trunk (PKGBUILD)
Date: Monday, January 23, 2012 @ 20:24:53 Author: foutrelis Revision: 147179 upgpkg: opengtl 0.9.16-1 New upstream release. libpng 1.5 rebuild. Modified: opengtl/trunk/PKGBUILD --+ PKGBUILD |9 - 1 file changed, 4 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2012-01-24 01:21:47 UTC (rev 147178) +++ PKGBUILD2012-01-24 01:24:53 UTC (rev 147179) @@ -3,18 +3,17 @@ # Contributor: Andries Radu admir...@live.it pkgname=opengtl -pkgver=0.9.15.1 +pkgver=0.9.16 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') -makedepends=('cmake' 'llvm' 'libpng') +depends=('gcc-libs' 'llvm') +makedepends=('cmake' 'libpng') optdepends=('libpng: for using the png extension') source=(http://download.opengtl.org/OpenGTL-${pkgver}.tar.bz2) -md5sums=('052fc8504ced601e356e4d20621699f7') -sha1sums=('ddd25b1f5eb11ae0b438c67d5a2a73481e919a0a') +sha1sums=('3cfe4a08e5778c13f7e74dfc822adb68f97ad048') build() { cd ${srcdir}
[arch-commits] Commit in opengtl/trunk (PKGBUILD)
Date: Monday, April 25, 2011 @ 17:17:33 Author: eric Revision: 120658 upgpkg: opengtl 0.9.15.1-1 Upstream update Modified: opengtl/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-04-25 21:16:50 UTC (rev 120657) +++ PKGBUILD2011-04-25 21:17:33 UTC (rev 120658) @@ -3,7 +3,7 @@ # Contributor: Andries Radu admir...@live.it pkgname=opengtl -pkgver=0.9.15 +pkgver=0.9.15.1 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; @@ -13,8 +13,8 @@ makedepends=('cmake' 'llvm' 'libpng') optdepends=('libpng: for using the png extension') source=(http://download.opengtl.org/OpenGTL-${pkgver}.tar.bz2) -md5sums=('9e59817fddfc7085a8d23a6bbea60bdc') -sha1sums=('12d53a6ba660d278906539f74d28b464601a08a3') +md5sums=('052fc8504ced601e356e4d20621699f7') +sha1sums=('ddd25b1f5eb11ae0b438c67d5a2a73481e919a0a') build() { cd ${srcdir}
[arch-commits] Commit in opengtl/trunk (PKGBUILD)
Date: Wednesday, February 23, 2011 @ 21:31:10 Author: eric Revision: 13 upgpkg: opengtl 0.9.15-1 Upstream update, Added libpng optdepends Modified: opengtl/trunk/PKGBUILD(contents, properties) --+ PKGBUILD | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-02-24 01:49:53 UTC (rev 12) +++ PKGBUILD2011-02-24 02:31:10 UTC (rev 13) @@ -1,31 +1,33 @@ -# $Id: $ +# $Id$ # Maintainer: Ronald van Haren ronald.archlinux.org # Contributor: Andries Radu admir...@live.it pkgname=opengtl -pkgver=0.9.12 -pkgrel=3 +pkgver=0.9.15 +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') -makedepends=('cmake' 'llvm' 'libpng') +makedepends=('cmake' 'llvm' 'libpng') +optdepends=('libpng: for using the png extension') source=(http://www.opengtl.org/download/OpenGTL-${pkgver}.tar.bz2) -md5sums=('c45fddf10c922ebcf9cb5b7c5df89220') +md5sums=('9e59817fddfc7085a8d23a6bbea60bdc') +sha1sums=('12d53a6ba660d278906539f74d28b464601a08a3') build() { - cd ${srcdir} + cd ${srcdir} mkdir build cd build cmake ../OpenGTL-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SKIP_RPATH=ON \ - -DCMAKE_INSTALL_PREFIX=/usr || return 1 - make || return 1 + -DCMAKE_INSTALL_PREFIX=/usr + make } package() { - cd ${srcdir}/build - make DESTDIR=${pkgdir} install + cd ${srcdir}/build + make DESTDIR=${pkgdir} install } Property changes on: opengtl/trunk/PKGBUILD ___ Added: svn:keywords + Id
[arch-commits] Commit in opengtl/trunk (PKGBUILD)
Date: Thursday, February 24, 2011 @ 01:35:03 Author: eric Revision: 22 Fixed source url Modified: opengtl/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2011-02-24 05:05:36 UTC (rev 21) +++ PKGBUILD2011-02-24 06:35:03 UTC (rev 22) @@ -12,7 +12,7 @@ depends=('gcc-libs') makedepends=('cmake' 'llvm' 'libpng') optdepends=('libpng: for using the png extension') -source=(http://www.opengtl.org/download/OpenGTL-${pkgver}.tar.bz2) +source=(http://download.opengtl.org/OpenGTL-${pkgver}.tar.bz2) md5sums=('9e59817fddfc7085a8d23a6bbea60bdc') sha1sums=('12d53a6ba660d278906539f74d28b464601a08a3')
[arch-commits] Commit in opengtl/trunk (PKGBUILD)
Date: Thursday, April 8, 2010 @ 09:42:51 Author: andrea Revision: 76156 removed useless cmake LINKER_FLAGS; use package() function Modified: opengtl/trunk/PKGBUILD --+ PKGBUILD | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) Modified: PKGBUILD === --- PKGBUILD2010-04-08 13:41:17 UTC (rev 76155) +++ PKGBUILD2010-04-08 13:42:51 UTC (rev 76156) @@ -1,3 +1,4 @@ +# $Id: $ # Maintainer: Ronald van Haren ronald.archlinux.org # Contributor: Andries Radu admir...@live.it @@ -4,8 +5,7 @@ pkgname=opengtl pkgver=0.9.12 pkgrel=3 -pkgdesc=A set of library for using and integrating transformation algorithms (such as filter or color conversion) in -graphics applications. +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') @@ -14,15 +14,18 @@ source=(http://www.opengtl.org/download/OpenGTL-${pkgver}.tar.bz2) md5sums=('c45fddf10c922ebcf9cb5b7c5df89220') - build() { - install -d ${srcdir}/build - cd ${srcdir}/build || return 1 + cd ${srcdir} + mkdir build + cd build cmake ../OpenGTL-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SKIP_RPATH=ON \ --DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \ -DCMAKE_INSTALL_PREFIX=/usr || return 1 make || return 1 +} + +package() { + cd ${srcdir}/build make DESTDIR=${pkgdir} install }
[arch-commits] Commit in opengtl/trunk (PKGBUILD)
Date: Tuesday, January 19, 2010 @ 06:27:44 Author: ronald Revision: 64032 upgpkg: opengtl 0.9.12-3 fix dependencies Modified: opengtl/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2010-01-19 10:54:13 UTC (rev 64031) +++ PKGBUILD2010-01-19 11:27:44 UTC (rev 64032) @@ -8,9 +8,9 @@ graphics applications. url=http://www.opengtl.org; arch=('i686' 'x86_64') -depends=('llvm' 'libpng') license=('GPL') -makedepends=('cmake') +depends=('gcc-libs') +makedepends=('cmake' 'llvm' 'libpng') source=(http://www.opengtl.org/download/OpenGTL-${pkgver}.tar.bz2) md5sums=('c45fddf10c922ebcf9cb5b7c5df89220')