[arch-commits] Commit in opencascade/repos/community-x86_64 (8 files)

Kyle Keen kkeen at archlinux.org
Mon Nov 23 03:22:03 UTC 2020


    Date: Monday, November 23, 2020 @ 03:22:03
  Author: kkeen
Revision: 759829

archrelease: copy trunk to community-x86_64

Added:
  opencascade/repos/community-x86_64/PKGBUILD
    (from rev 759828, opencascade/trunk/PKGBUILD)
  opencascade/repos/community-x86_64/cmake-fix-variable.patch
    (from rev 759828, opencascade/trunk/cmake-fix-variable.patch)
  opencascade/repos/community-x86_64/fix-install-dir-references.patch
    (from rev 759828, opencascade/trunk/fix-install-dir-references.patch)
  opencascade/repos/community-x86_64/opencascade.sh
    (from rev 759828, opencascade/trunk/opencascade.sh)
Deleted:
  opencascade/repos/community-x86_64/PKGBUILD
  opencascade/repos/community-x86_64/cmake-fix-variable.patch
  opencascade/repos/community-x86_64/fix-install-dir-references.patch
  opencascade/repos/community-x86_64/opencascade.sh

----------------------------------+
 PKGBUILD                         |  131 ++++++++++++++++++-------------------
 cmake-fix-variable.patch         |   24 +++---
 fix-install-dir-references.patch |   48 ++++++-------
 opencascade.sh                   |   48 ++++++-------
 4 files changed, 126 insertions(+), 125 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-23 03:21:44 UTC (rev 759828)
+++ PKGBUILD	2020-11-23 03:22:03 UTC (rev 759829)
@@ -1,65 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: Gabriel Souza Franco <Z2FicmllbGZyYW5jb3NvdXphQGdtYWlsLmNvbQ==>
-# Contributor: Florian Pritz <bluewind at xinu.at>
-# Contributor: Giuseppe Borzi <gborzi at ieee.org>
-# Contributor: Brice Méalier <mealier_brice at yahoo.fr>
-# Contributor: Michele Mocciola <mickele>
-
-pkgname=opencascade
-pkgver=7.5.0
-_pkgver=V7_5_0
-#_pkgver=${pkgver//_/}
-#_pkgver=V${_pkgver//./_}
-pkgrel=1
-pkgdesc="Open CASCADE Technology, 3D modeling & numerical simulation"
-arch=('x86_64')
-url="https://www.opencascade.org"
-license=('custom')
-depends=('tk' 'vtk' 'gl2ps' 'ffmpeg' 'freeimage' 'intel-tbb')
-makedepends=('cmake' 'qt5-base') # VTK requires Qt5 to build
-source=("opencascade-${pkgver}.tgz::https://git.dev.opencascade.org/gitweb/?p=occt.git;a=snapshot;h=refs/tags/${_pkgver};sf=tgz"
-        'opencascade.sh' 'fix-install-dir-references.patch'
-        'cmake-fix-variable.patch')
-sha256sums=('c8df7d23051b86064f61299a5f7af30004c115bdb479df471711bab0c7166654'
-            '2064536a85d46fee368a8f1a712b2c6c77ca79c5bffcc68cba79d70d36efa2f4'
-            'afb584aa453993ae8d9e2b983594558531ede735a5892754b812be30650c9fb5'
-            'c7427082400b2d1ac58c59549d4dd1ee5b27d06847b7907842e9e2f2b68980fa')
-
-prepare() {
-  cd "occt-${_pkgver}"
-  patch -Np1 -i "$srcdir/fix-install-dir-references.patch"
-  patch -Np1 -i "$srcdir/cmake-fix-variable.patch"
-}
-
-build() {
-  cd "occt-${_pkgver}"
-  mkdir -p build && cd build
-
-  cmake .. \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DUSE_GL2PS=ON \
-    -DUSE_FREEIMAGE=ON \
-    -DUSE_FFMPEG=ON \
-    -DUSE_VTK=ON \
-    -DUSE_TBB=ON
-
-  make
-}
-
-package() {
-  cd "occt-${_pkgver}/build"
-
-  make DESTDIR="$pkgdir" install
-
-  cd ..
-
-  install -Dm755 "$srcdir/opencascade.sh" "$pkgdir/etc/profile.d/opencascade.sh"
-  install -dm755 "$pkgdir/usr/share/licenses/$pkgname/"
-  mv "$pkgdir/usr/share/doc/opencascade/"* "$pkgdir/usr/share/licenses/$pkgname"
-  rm -r "$pkgdir/usr/share/doc"
-
-  rm "$pkgdir/usr/bin/"*.sh
-}
-
-# vim:set ts=2 sw=2 et:

Copied: opencascade/repos/community-x86_64/PKGBUILD (from rev 759828, opencascade/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-23 03:22:03 UTC (rev 759829)
@@ -0,0 +1,66 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Gabriel Souza Franco <Z2FicmllbGZyYW5jb3NvdXphQGdtYWlsLmNvbQ==>
+# Contributor: Florian Pritz <bluewind at xinu.at>
+# Contributor: Giuseppe Borzi <gborzi at ieee.org>
+# Contributor: Brice Méalier <mealier_brice at yahoo.fr>
+# Contributor: Michele Mocciola <mickele>
+
+pkgname=opencascade
+pkgver=7.5.0
+_pkgver=V7_5_0
+#_pkgver=${pkgver//_/}
+#_pkgver=V${_pkgver//./_}
+pkgrel=2
+pkgdesc="Open CASCADE Technology, 3D modeling & numerical simulation"
+arch=('x86_64')
+url="https://www.opencascade.org"
+license=('custom')
+depends=('tk' 'vtk' 'gl2ps' 'ffmpeg' 'freeimage' 'intel-tbb')
+makedepends=('cmake' 'qt5-base') # VTK requires Qt5 to build
+source=("opencascade-${pkgver}.tgz::https://git.dev.opencascade.org/gitweb/?p=occt.git;a=snapshot;h=refs/tags/${_pkgver};sf=tgz"
+        'opencascade.sh' 'fix-install-dir-references.patch'
+        'cmake-fix-variable.patch')
+sha256sums=('c8df7d23051b86064f61299a5f7af30004c115bdb479df471711bab0c7166654'
+            '2064536a85d46fee368a8f1a712b2c6c77ca79c5bffcc68cba79d70d36efa2f4'
+            'afb584aa453993ae8d9e2b983594558531ede735a5892754b812be30650c9fb5'
+            'c7427082400b2d1ac58c59549d4dd1ee5b27d06847b7907842e9e2f2b68980fa')
+
+prepare() {
+  cd "occt-${_pkgver}"
+  patch -Np1 -i "$srcdir/fix-install-dir-references.patch"
+  patch -Np1 -i "$srcdir/cmake-fix-variable.patch"
+}
+
+build() {
+  cd "occt-${_pkgver}"
+  mkdir -p build && cd build
+
+  cmake .. \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DBUILD_RELEASE_DISABLE_EXCEPTIONS=OFF \
+    -DUSE_GL2PS=ON \
+    -DUSE_FREEIMAGE=ON \
+    -DUSE_FFMPEG=ON \
+    -DUSE_VTK=ON \
+    -DUSE_TBB=ON
+
+  make
+}
+
+package() {
+  cd "occt-${_pkgver}/build"
+
+  make DESTDIR="$pkgdir" install
+
+  cd ..
+
+  install -Dm755 "$srcdir/opencascade.sh" "$pkgdir/etc/profile.d/opencascade.sh"
+  install -dm755 "$pkgdir/usr/share/licenses/$pkgname/"
+  mv "$pkgdir/usr/share/doc/opencascade/"* "$pkgdir/usr/share/licenses/$pkgname"
+  rm -r "$pkgdir/usr/share/doc"
+
+  rm "$pkgdir/usr/bin/"*.sh
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: cmake-fix-variable.patch
===================================================================
--- cmake-fix-variable.patch	2020-11-23 03:21:44 UTC (rev 759828)
+++ cmake-fix-variable.patch	2020-11-23 03:22:03 UTC (rev 759829)
@@ -1,12 +0,0 @@
-diff -Naur occt-V7_3_0/adm/templates/OpenCASCADEConfig.cmake.in occt-V7_3_0_new/adm/templates/OpenCASCADEConfig.cmake.in
---- occt-V7_3_0/adm/templates/OpenCASCADEConfig.cmake.in	2018-05-29 12:14:02.000000000 +0200
-+++ occt-V7_3_0.new/adm/templates/OpenCASCADEConfig.cmake.in	2018-05-29 12:14:02.000000000 +0200
-@@ -26,7 +26,7 @@
- if (OpenCASCADE_INSTALL_PREFIX MATCHES "/cmake$")
-   get_filename_component (OpenCASCADE_INSTALL_PREFIX "${OpenCASCADE_INSTALL_PREFIX}" PATH)
- endif()
--if (OpenCASCADE_INSTALL_PREFIX MATCHES "/lib$")
-+if (OpenCASCADE_INSTALL_PREFIX MATCHES "/lib(64)?$")
-   get_filename_component (OpenCASCADE_INSTALL_PREFIX "${OpenCASCADE_INSTALL_PREFIX}" PATH)
- endif()
- 

Copied: opencascade/repos/community-x86_64/cmake-fix-variable.patch (from rev 759828, opencascade/trunk/cmake-fix-variable.patch)
===================================================================
--- cmake-fix-variable.patch	                        (rev 0)
+++ cmake-fix-variable.patch	2020-11-23 03:22:03 UTC (rev 759829)
@@ -0,0 +1,12 @@
+diff -Naur occt-V7_3_0/adm/templates/OpenCASCADEConfig.cmake.in occt-V7_3_0_new/adm/templates/OpenCASCADEConfig.cmake.in
+--- occt-V7_3_0/adm/templates/OpenCASCADEConfig.cmake.in	2018-05-29 12:14:02.000000000 +0200
++++ occt-V7_3_0.new/adm/templates/OpenCASCADEConfig.cmake.in	2018-05-29 12:14:02.000000000 +0200
+@@ -26,7 +26,7 @@
+ if (OpenCASCADE_INSTALL_PREFIX MATCHES "/cmake$")
+   get_filename_component (OpenCASCADE_INSTALL_PREFIX "${OpenCASCADE_INSTALL_PREFIX}" PATH)
+ endif()
+-if (OpenCASCADE_INSTALL_PREFIX MATCHES "/lib$")
++if (OpenCASCADE_INSTALL_PREFIX MATCHES "/lib(64)?$")
+   get_filename_component (OpenCASCADE_INSTALL_PREFIX "${OpenCASCADE_INSTALL_PREFIX}" PATH)
+ endif()
+ 

Deleted: fix-install-dir-references.patch
===================================================================
--- fix-install-dir-references.patch	2020-11-23 03:21:44 UTC (rev 759828)
+++ fix-install-dir-references.patch	2020-11-23 03:22:03 UTC (rev 759829)
@@ -1,24 +0,0 @@
-diff -aur occt-V7_1_0/CMakeLists.txt occt-V7_1_0.new/CMakeLists.txt
---- occt-V7_1_0/CMakeLists.txt	2016-11-25 11:50:18.000000000 +0100
-+++ occt-V7_1_0.new/CMakeLists.txt	2017-03-18 08:44:10.406668714 +0100
-@@ -906,7 +906,7 @@
- endforeach()
- # install OpenCASCADE config file with compile definitions and C/C++ flags ONLY for current configuration
- install (CODE "string (TOLOWER \"\${CMAKE_INSTALL_CONFIG_NAME}\" CMAKE_INSTALL_CONFIG_NAME_LOWER)")
--install (CODE "configure_file(\"${CMAKE_BINARY_DIR}/OpenCASCADECompileDefinitionsAndFlags-\${CMAKE_INSTALL_CONFIG_NAME_LOWER}.cmake\" \"${INSTALL_DIR}/${INSTALL_DIR_CMAKE}/OpenCASCADECompileDefinitionsAndFlags-\${CMAKE_INSTALL_CONFIG_NAME_LOWER}.cmake\" COPYONLY)")
-+install (CODE "configure_file(\"${CMAKE_BINARY_DIR}/OpenCASCADECompileDefinitionsAndFlags-\${CMAKE_INSTALL_CONFIG_NAME_LOWER}.cmake\" \"\$ENV{DESTDIR}${INSTALL_DIR}/${INSTALL_DIR_CMAKE}/OpenCASCADECompileDefinitionsAndFlags-\${CMAKE_INSTALL_CONFIG_NAME_LOWER}.cmake\" COPYONLY)")
- 
- foreach (OCCT_MODULE ${OCCT_MODULES})
-   if (BUILD_MODULE_${OCCT_MODULE})
-diff -aur occt-V7_1_0/adm/cmake/occt_macros.cmake occt-V7_1_0.new/adm/cmake/occt_macros.cmake
---- occt-V7_1_0/adm/cmake/occt_macros.cmake	2016-11-25 11:50:18.000000000 +0100
-+++ occt-V7_1_0.new/adm/cmake/occt_macros.cmake	2017-03-18 08:44:10.406668714 +0100
-@@ -558,7 +558,7 @@
-   "cmake_policy(PUSH)
-   cmake_policy(SET CMP0007 NEW)
-   string (TOLOWER \"\${CMAKE_INSTALL_CONFIG_NAME}\" CMAKE_INSTALL_CONFIG_NAME_LOWERCASE)
--  file (GLOB ALL_OCCT_TARGET_FILES \"${INSTALL_DIR}/${INSTALL_DIR_CMAKE}/OpenCASCADE*Targets-\${CMAKE_INSTALL_CONFIG_NAME_LOWERCASE}.cmake\")
-+  file (GLOB ALL_OCCT_TARGET_FILES \"\$ENV{DESTDIR}${INSTALL_DIR}/${INSTALL_DIR_CMAKE}/OpenCASCADE*Targets-\${CMAKE_INSTALL_CONFIG_NAME_LOWERCASE}.cmake\")
-   foreach(TARGET_FILENAME \${ALL_OCCT_TARGET_FILES})
-     file (STRINGS \"\${TARGET_FILENAME}\" TARGET_FILE_CONTENT)
-     file (REMOVE \"\${TARGET_FILENAME}\")

Copied: opencascade/repos/community-x86_64/fix-install-dir-references.patch (from rev 759828, opencascade/trunk/fix-install-dir-references.patch)
===================================================================
--- fix-install-dir-references.patch	                        (rev 0)
+++ fix-install-dir-references.patch	2020-11-23 03:22:03 UTC (rev 759829)
@@ -0,0 +1,24 @@
+diff -aur occt-V7_1_0/CMakeLists.txt occt-V7_1_0.new/CMakeLists.txt
+--- occt-V7_1_0/CMakeLists.txt	2016-11-25 11:50:18.000000000 +0100
++++ occt-V7_1_0.new/CMakeLists.txt	2017-03-18 08:44:10.406668714 +0100
+@@ -906,7 +906,7 @@
+ endforeach()
+ # install OpenCASCADE config file with compile definitions and C/C++ flags ONLY for current configuration
+ install (CODE "string (TOLOWER \"\${CMAKE_INSTALL_CONFIG_NAME}\" CMAKE_INSTALL_CONFIG_NAME_LOWER)")
+-install (CODE "configure_file(\"${CMAKE_BINARY_DIR}/OpenCASCADECompileDefinitionsAndFlags-\${CMAKE_INSTALL_CONFIG_NAME_LOWER}.cmake\" \"${INSTALL_DIR}/${INSTALL_DIR_CMAKE}/OpenCASCADECompileDefinitionsAndFlags-\${CMAKE_INSTALL_CONFIG_NAME_LOWER}.cmake\" COPYONLY)")
++install (CODE "configure_file(\"${CMAKE_BINARY_DIR}/OpenCASCADECompileDefinitionsAndFlags-\${CMAKE_INSTALL_CONFIG_NAME_LOWER}.cmake\" \"\$ENV{DESTDIR}${INSTALL_DIR}/${INSTALL_DIR_CMAKE}/OpenCASCADECompileDefinitionsAndFlags-\${CMAKE_INSTALL_CONFIG_NAME_LOWER}.cmake\" COPYONLY)")
+ 
+ foreach (OCCT_MODULE ${OCCT_MODULES})
+   if (BUILD_MODULE_${OCCT_MODULE})
+diff -aur occt-V7_1_0/adm/cmake/occt_macros.cmake occt-V7_1_0.new/adm/cmake/occt_macros.cmake
+--- occt-V7_1_0/adm/cmake/occt_macros.cmake	2016-11-25 11:50:18.000000000 +0100
++++ occt-V7_1_0.new/adm/cmake/occt_macros.cmake	2017-03-18 08:44:10.406668714 +0100
+@@ -558,7 +558,7 @@
+   "cmake_policy(PUSH)
+   cmake_policy(SET CMP0007 NEW)
+   string (TOLOWER \"\${CMAKE_INSTALL_CONFIG_NAME}\" CMAKE_INSTALL_CONFIG_NAME_LOWERCASE)
+-  file (GLOB ALL_OCCT_TARGET_FILES \"${INSTALL_DIR}/${INSTALL_DIR_CMAKE}/OpenCASCADE*Targets-\${CMAKE_INSTALL_CONFIG_NAME_LOWERCASE}.cmake\")
++  file (GLOB ALL_OCCT_TARGET_FILES \"\$ENV{DESTDIR}${INSTALL_DIR}/${INSTALL_DIR_CMAKE}/OpenCASCADE*Targets-\${CMAKE_INSTALL_CONFIG_NAME_LOWERCASE}.cmake\")
+   foreach(TARGET_FILENAME \${ALL_OCCT_TARGET_FILES})
+     file (STRINGS \"\${TARGET_FILENAME}\" TARGET_FILE_CONTENT)
+     file (REMOVE \"\${TARGET_FILENAME}\")

Deleted: opencascade.sh
===================================================================
--- opencascade.sh	2020-11-23 03:21:44 UTC (rev 759828)
+++ opencascade.sh	2020-11-23 03:22:03 UTC (rev 759829)
@@ -1,24 +0,0 @@
-export CASROOT=/usr
-
-export CSF_LANGUAGE=us
-export MMGT_CLEAR=1
-export CSF_EXCEPTION_PROMPT=1
-
-export CSF_OCCTResourcePath=$CASROOT/share/opencascade/resources
-export CSF_SHMessage=$CSF_OCCTResourcePath/SHMessage
-export CSF_MDTVTexturesDirectory=$CSF_OCCTResourcePath/Textures
-export CSF_ShadersDirectory=$CSF_OCCTResourcePath/Shaders
-export CSF_XSMessage=$CSF_OCCTResourcePath/XSMessage
-export CSF_TObjMessage=$CSF_OCCTResourcePath/TObj
-export CSF_StandardDefaults=$CSF_OCCTResourcePath/StdResource
-export CSF_PluginDefaults=$CSF_OCCTResourcePath/StdResource
-export CSF_XCAFDefaults=$CSF_OCCTResourcePath/StdResource
-export CSF_TObjDefaults=$CSF_OCCTResourcePath/StdResource
-export CSF_StandardLiteDefaults=$CSF_OCCTResourcePath/StdResource
-export CSF_IGESDefaults=$CSF_OCCTResourcePath/XSTEPResource
-export CSF_STEPDefaults=$CSF_OCCTResourcePath/XSTEPResource
-export CSF_XmlOcafResource=$CSF_OCCTResourcePath/XmlOcafResource
-export CSF_MIGRATION_TYPES=$CSF_OCCTResourcePath/StdResource/MigrationSheet.txt
-export CSF_DrawPluginDefaults=$CSF_OCCTResourcePath/DrawResources
-export DRAWHOME=$CSF_OCCTResourcePath/DrawResources
-export DRAWDEFAULT=$CSF_OCCTResourcePath/DrawResources/DrawDefault

Copied: opencascade/repos/community-x86_64/opencascade.sh (from rev 759828, opencascade/trunk/opencascade.sh)
===================================================================
--- opencascade.sh	                        (rev 0)
+++ opencascade.sh	2020-11-23 03:22:03 UTC (rev 759829)
@@ -0,0 +1,24 @@
+export CASROOT=/usr
+
+export CSF_LANGUAGE=us
+export MMGT_CLEAR=1
+export CSF_EXCEPTION_PROMPT=1
+
+export CSF_OCCTResourcePath=$CASROOT/share/opencascade/resources
+export CSF_SHMessage=$CSF_OCCTResourcePath/SHMessage
+export CSF_MDTVTexturesDirectory=$CSF_OCCTResourcePath/Textures
+export CSF_ShadersDirectory=$CSF_OCCTResourcePath/Shaders
+export CSF_XSMessage=$CSF_OCCTResourcePath/XSMessage
+export CSF_TObjMessage=$CSF_OCCTResourcePath/TObj
+export CSF_StandardDefaults=$CSF_OCCTResourcePath/StdResource
+export CSF_PluginDefaults=$CSF_OCCTResourcePath/StdResource
+export CSF_XCAFDefaults=$CSF_OCCTResourcePath/StdResource
+export CSF_TObjDefaults=$CSF_OCCTResourcePath/StdResource
+export CSF_StandardLiteDefaults=$CSF_OCCTResourcePath/StdResource
+export CSF_IGESDefaults=$CSF_OCCTResourcePath/XSTEPResource
+export CSF_STEPDefaults=$CSF_OCCTResourcePath/XSTEPResource
+export CSF_XmlOcafResource=$CSF_OCCTResourcePath/XmlOcafResource
+export CSF_MIGRATION_TYPES=$CSF_OCCTResourcePath/StdResource/MigrationSheet.txt
+export CSF_DrawPluginDefaults=$CSF_OCCTResourcePath/DrawResources
+export DRAWHOME=$CSF_OCCTResourcePath/DrawResources
+export DRAWDEFAULT=$CSF_OCCTResourcePath/DrawResources/DrawDefault



More information about the arch-commits mailing list