[arch-commits] Commit in libasl/repos/community-x86_64 (5 files)

Evgeniy Alekseev arcanis at archlinux.org
Wed Nov 15 15:29:25 UTC 2017


    Date: Wednesday, November 15, 2017 @ 15:29:24
  Author: arcanis
Revision: 266882

archrelease: copy trunk to community-x86_64

Added:
  libasl/repos/community-x86_64/PKGBUILD
    (from rev 266881, libasl/trunk/PKGBUILD)
  libasl/repos/community-x86_64/suppress-deprecated-warnings.patch
    (from rev 266881, libasl/trunk/suppress-deprecated-warnings.patch)
  libasl/repos/community-x86_64/vtk-8.0.patch
    (from rev 266881, libasl/trunk/vtk-8.0.patch)
Deleted:
  libasl/repos/community-x86_64/PKGBUILD
  libasl/repos/community-x86_64/suppress-deprecated-warnings.patch

------------------------------------+
 PKGBUILD                           |   98 ++++++++++++++++++-----------------
 suppress-deprecated-warnings.patch |   24 ++++----
 vtk-8.0.patch                      |   29 ++++++++++
 3 files changed, 92 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-15 15:29:11 UTC (rev 266881)
+++ PKGBUILD	2017-11-15 15:29:24 UTC (rev 266882)
@@ -1,47 +0,0 @@
-# $Id$
-# Maintainer: Evgeniy Alekseev <arcanis at archlinux dot org>
-# Contributor: Andrejs Mivreņiks <gim at fastmail dot fm>
-
-pkgname=libasl
-pkgver=0.1.7
-pkgrel=5
-pkgdesc='Free and open source hardware accelerated multiphysics simulation platform (Advanced Simulation Library)'
-arch=('i686' 'x86_64')
-url='http://asl.org.il/'
-license=('AGPL3')
-depends=('boost-libs' 'opencl-icd-loader' 'libmatio' 'vtk' 'libjpeg' 'libpng' 'libtiff'
-         'freetype2' 'libgl')
-makedepends=('cmake' 'opencl-headers' 'boost' 'mesa-libgl')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/AvtechScientific/ASL/archive/v${pkgver}.tar.gz"
-        'suppress-deprecated-warnings.patch')
-sha512sums=('337754adefa8619bbc2ab0e06fc811dd1cc550252b165241a265f87224aa84c5ee69fb3bf60324093df5b21aa87712e2210d4bcdd8593f0740183574528a30bd'
-            '6aecf660790ea2ba0d9de48aef4c4a1058b07d04cbc74ad6a9f127a51f02b39fdab5f8faa269d0bbbc003ea5cea6910f54a7d980fbf5e641629869e20528f70a')
-
-prepare() {
-  rm -rf "build"
-  mkdir "build"
-
-  # patch to suppress 'deprecated' warning messages
-  # caused by 'opencl-headers' since update to 2.0
-  cd "ASL-${pkgver}"
-  patch -p1 -i "${srcdir}/suppress-deprecated-warnings.patch"
-}
-
-build() {
-  cd "build"
-  cmake -DCMAKE_INSTALL_PREFIX=/usr \
-        -DCMAKE_INSTALL_LIBDIR=lib \
-        -DBUILD_SHARED_LIBS=ON \
-        -DWITH_EXAMPLES=ON \
-        -DWITH_MATIO=ON \
-        -DWITH_API_DOC=OFF \
-        -DWITH_TESTS=OFF \
-        "../ASL-${pkgver}"
-  make
-}
-
-package() {
-  cd "build"
-  make DESTDIR="${pkgdir}" install
-}
-

Copied: libasl/repos/community-x86_64/PKGBUILD (from rev 266881, libasl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-11-15 15:29:24 UTC (rev 266882)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Evgeniy Alekseev <arcanis at archlinux dot org>
+# Contributor: Andrejs Mivreņiks <gim at fastmail dot fm>
+
+pkgname=libasl
+pkgver=0.1.7
+pkgrel=8
+pkgdesc='Free and open source hardware accelerated multiphysics simulation platform (Advanced Simulation Library)'
+arch=('x86_64')
+url='http://asl.org.il/'
+license=('AGPL3')
+depends=('boost-libs' 'opencl-icd-loader' 'libmatio' 'vtk' 'libjpeg' 'libpng' 'libtiff'
+         'freetype2' 'libgl')
+makedepends=('cmake' 'opencl-headers' 'boost' 'mesa-libgl')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/AvtechScientific/ASL/archive/v${pkgver}.tar.gz"
+        'suppress-deprecated-warnings.patch'
+        'vtk-8.0.patch')
+sha512sums=('337754adefa8619bbc2ab0e06fc811dd1cc550252b165241a265f87224aa84c5ee69fb3bf60324093df5b21aa87712e2210d4bcdd8593f0740183574528a30bd'
+            '6aecf660790ea2ba0d9de48aef4c4a1058b07d04cbc74ad6a9f127a51f02b39fdab5f8faa269d0bbbc003ea5cea6910f54a7d980fbf5e641629869e20528f70a'
+            '1e1e679003ae0f750db1728196b7e4a8703304592f05698f24c359f185d8873e2c623b8152a63737b000109d88de38618b984865669652eb23b27396dd7dad79')
+
+prepare() {
+  rm -rf "build"
+  mkdir "build"
+
+  # patch to suppress 'deprecated' warning messages
+  # caused by 'opencl-headers' since update to 2.0
+  cd "ASL-${pkgver}"
+  patch -p1 -i "${srcdir}/suppress-deprecated-warnings.patch"
+  # update cmake to allow vtk>=8.0
+  patch -p1 -i "${srcdir}/vtk-8.0.patch"
+}
+
+build() {
+  cd "build"
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+        -DCMAKE_INSTALL_LIBDIR=lib \
+        -DBUILD_SHARED_LIBS=ON \
+        -DWITH_EXAMPLES=ON \
+        -DWITH_MATIO=ON \
+        -DWITH_API_DOC=OFF \
+        -DWITH_TESTS=OFF \
+        "../ASL-${pkgver}"
+  make
+}
+
+package() {
+  cd "build"
+  make DESTDIR="${pkgdir}" install
+}
+

Deleted: suppress-deprecated-warnings.patch
===================================================================
--- suppress-deprecated-warnings.patch	2017-11-15 15:29:11 UTC (rev 266881)
+++ suppress-deprecated-warnings.patch	2017-11-15 15:29:24 UTC (rev 266882)
@@ -1,12 +0,0 @@
-diff -ruN ASL-0.1.7-orig/CMakeLists.txt ASL-0.1.7/CMakeLists.txt
---- ASL-0.1.7-orig/CMakeLists.txt	2017-08-07 17:47:37.522927767 +0300
-+++ ASL-0.1.7/CMakeLists.txt	2017-08-07 17:47:58.382410158 +0300
-@@ -37,7 +37,7 @@
- 	set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive -std=c++11")
- else()
- 	set(CMAKE_CXX_STANDARD 11)
--	set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive")
-+	set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive -Wno-deprecated -Wno-deprecated-declarations -Wno-ignored-attributes")
- endif()
- 
- # Enable supplied cmake includes and modules

Copied: libasl/repos/community-x86_64/suppress-deprecated-warnings.patch (from rev 266881, libasl/trunk/suppress-deprecated-warnings.patch)
===================================================================
--- suppress-deprecated-warnings.patch	                        (rev 0)
+++ suppress-deprecated-warnings.patch	2017-11-15 15:29:24 UTC (rev 266882)
@@ -0,0 +1,12 @@
+diff -ruN ASL-0.1.7-orig/CMakeLists.txt ASL-0.1.7/CMakeLists.txt
+--- ASL-0.1.7-orig/CMakeLists.txt	2017-08-07 17:47:37.522927767 +0300
++++ ASL-0.1.7/CMakeLists.txt	2017-08-07 17:47:58.382410158 +0300
+@@ -37,7 +37,7 @@
+ 	set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive -std=c++11")
+ else()
+ 	set(CMAKE_CXX_STANDARD 11)
+-	set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive")
++	set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive -Wno-deprecated -Wno-deprecated-declarations -Wno-ignored-attributes")
+ endif()
+ 
+ # Enable supplied cmake includes and modules

Copied: libasl/repos/community-x86_64/vtk-8.0.patch (from rev 266881, libasl/trunk/vtk-8.0.patch)
===================================================================
--- vtk-8.0.patch	                        (rev 0)
+++ vtk-8.0.patch	2017-11-15 15:29:24 UTC (rev 266882)
@@ -0,0 +1,29 @@
+diff -ruN ASL-0.1.7-orig/CMakeLists.txt ASL-0.1.7/CMakeLists.txt
+--- ASL-0.1.7-orig/CMakeLists.txt	2017-09-27 16:59:25.073568503 +0300
++++ ASL-0.1.7/CMakeLists.txt	2017-09-27 17:00:07.945853532 +0300
+@@ -1,6 +1,6 @@
+ #
+ # Advanced Simulation Library <http://asl.org.il>
+-# 
++#
+ # Copyright 2015 Avtech Scientific <http://avtechscientific.com>
+ #
+ #
+@@ -55,7 +55,7 @@
+ # ToDo: remove support for VTK 6.1 at some point in future
+ find_package(VTK 6.1 QUIET COMPONENTS vtkRenderingCore vtkImagingCore vtkFiltersCore vtkIOCore vtkIOGeometry vtkIOLegacy vtkIOXML vtkIOMINC vtkCommonCore vtkViewsCore vtkftgl vtksys vtkDICOMParser vtkexpat vtkzlib NO_MODULE)
+ if(NOT VTK_FOUND)
+-	find_package(VTK 7.0 REQUIRED COMPONENTS vtkRenderingCore vtkImagingCore vtkFiltersCore vtkIOCore vtkIOGeometry vtkIOLegacy vtkIOXML vtkIOMINC vtkCommonCore vtkViewsCore vtksys vtkDICOMParser vtkexpat vtkzlib NO_MODULE)
++	find_package(VTK 8.0 REQUIRED COMPONENTS vtkRenderingCore vtkImagingCore vtkFiltersCore vtkIOCore vtkIOGeometry vtkIOLegacy vtkIOXML vtkIOMINC vtkCommonCore vtkViewsCore vtksys vtkDICOMParser vtkexpat vtkzlib NO_MODULE)
+ endif()
+ include(${VTK_USE_FILE})
+ 
+@@ -120,7 +120,7 @@
+ 
+ # ASL conforms to Semantic Versioning scheme <http://semver.org/>
+ # Switch to COMPATIBILITY SameMajorVersion on ASL_VERSION 1.0.0
+-# Till then use COMPATIBILITY ExactVersion 
++# Till then use COMPATIBILITY ExactVersion
+ write_basic_package_version_file(
+ 	"${CMAKE_CURRENT_BINARY_DIR}/ASLConfigVersion.cmake"
+ 	VERSION ${ASL_VERSION}


More information about the arch-commits mailing list