[arch-commits] Commit in opencascade/repos (10 files)

2015-12-08 Thread Evangelos Foutras
Date: Tuesday, December 8, 2015 @ 12:13:06
  Author: foutrelis
Revision: 150241

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

Added:
  opencascade/repos/community-staging-i686/
  opencascade/repos/community-staging-i686/PKGBUILD
(from rev 150240, opencascade/trunk/PKGBUILD)
  opencascade/repos/community-staging-i686/env.sh
(from rev 150240, opencascade/trunk/env.sh)
  opencascade/repos/community-staging-i686/opencascade.conf
(from rev 150240, opencascade/trunk/opencascade.conf)
  opencascade/repos/community-staging-i686/opencascade.sh
(from rev 150240, opencascade/trunk/opencascade.sh)
  opencascade/repos/community-staging-x86_64/
  opencascade/repos/community-staging-x86_64/PKGBUILD
(from rev 150240, opencascade/trunk/PKGBUILD)
  opencascade/repos/community-staging-x86_64/env.sh
(from rev 150240, opencascade/trunk/env.sh)
  opencascade/repos/community-staging-x86_64/opencascade.conf
(from rev 150240, opencascade/trunk/opencascade.conf)
  opencascade/repos/community-staging-x86_64/opencascade.sh
(from rev 150240, opencascade/trunk/opencascade.sh)

---+
 community-staging-i686/PKGBUILD   |   58 
 community-staging-i686/env.sh |   22 ++
 community-staging-i686/opencascade.conf   |1 
 community-staging-i686/opencascade.sh |2 
 community-staging-x86_64/PKGBUILD |   58 
 community-staging-x86_64/env.sh   |   22 ++
 community-staging-x86_64/opencascade.conf |1 
 community-staging-x86_64/opencascade.sh   |2 
 8 files changed, 166 insertions(+)

Copied: opencascade/repos/community-staging-i686/PKGBUILD (from rev 150240, 
opencascade/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-08 11:13:06 UTC (rev 150241)
@@ -0,0 +1,58 @@
+# Maintainer: Florian Pritz 
+# Contributor: Giuseppe Borzi 
+# Contributor: Brice Malier 
+# Contributor: Michele Mocciola 
+pkgname=opencascade
+pkgver=6.9.0
+pkgrel=2
+pkgdesc="Open CASCADE Technology, 3D modeling & numerical simulation"
+arch=('i686' 'x86_64')
+url="http://www.opencascade.org;
+license=('custom')
+depends=('tk' 'mesa' 'java-runtime' 'libxmu' 'ftgl' 'vtk')
+makedepends=('java-environment')
+source=("http://files.opencascade.com/OCCT/OCC_${pkgver}_release/$pkgname-${pkgver}.tgz;
 "env.sh" "opencascade.sh" "opencascade.conf")
+md5sums=('ba87fe9f5ca47e3dfd62aad7223f0e7f'
+ 'a96f28ee7f4273ae1771ee033a2a3af3'
+ 'd9368b8d348ced3ec4462012977552d2'
+ '2924ecf57c95d25888f51071fdc72ad0')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # fix build with vtk 6.3.0
+  sed -i '/CSF_VTK_LIB/s/-6\.1//g' configure.ac
+
+  # fix for automake 1.13
+  sed -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac
+
+  ./build_configure
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # fix build with vtk 6.3.0
+  CXXFLAGS+=' -DvtkFloatingPointType=double'
+
+  ./configure --disable-debug --enable-production \
+--with-java-include=/usr/lib/jvm/default/include \
+--with-vtk-library=/usr/lib/ --with-vtk-include=/usr/include/vtk/ \
+--prefix=/opt/$pkgname
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # no DESTDIR support so use prefix. This has to suffix match the prefix in 
./configure
+  make prefix="$pkgdir/opt/$pkgname" install
+  cp -r src/UnitsAPI/ "${pkgdir}/opt/$pkgname/src"
+  install -D -m644 "${srcdir}/opencascade.conf" 
"${pkgdir}/etc/ld.so.conf.d/opencascade.conf"
+  install -D -m 755 "${srcdir}/opencascade.sh" 
"${pkgdir}/etc/profile.d/opencascade.sh"
+  install -m 755 "${srcdir}/env.sh" "${pkgdir}/opt/$pkgname"
+  install -dm755 "$pkgdir/usr/share/licenses/$pkgname/"
+  install -m644 LICENSE_LGPL_21.txt OCCT_LGPL_EXCEPTION.txt 
"$pkgdir/usr/share/licenses/$pkgname"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: opencascade/repos/community-staging-i686/env.sh (from rev 150240, 
opencascade/trunk/env.sh)
===
--- community-staging-i686/env.sh   (rev 0)
+++ community-staging-i686/env.sh   2015-12-08 11:13:06 UTC (rev 150241)
@@ -0,0 +1,22 @@
+#!/bin/sh -f
+
+export PATH="$PATH:$CASROOT/bin"
+export LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}$CASROOT/lib"
+
+export CSF_LANGUAGE=us
+export MMGT_CLEAR=1
+export CSF_EXCEPTION_PROMPT=1
+
+export CSF_SHMessage="$CASROOT"/src/SHMessage
+export CSF_MDTVTexturesDirectory="$CASROOT"/src/Textures
+export CSF_XSMessage="$CASROOT"/src/XSMessage
+export CSF_StandardDefaults="$CASROOT"/src/StdResource
+export CSF_PluginDefaults="$CASROOT"/src/StdResource
+export CSF_XCAFDefaults="$CASROOT"/src/StdResource
+export 

[arch-commits] Commit in opencascade/repos (10 files)

2015-05-15 Thread Florian Pritz
Date: Friday, May 15, 2015 @ 14:31:28
  Author: bluewind
Revision: 133508

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  opencascade/repos/community-testing-i686/
  opencascade/repos/community-testing-i686/PKGBUILD
(from rev 133506, opencascade/trunk/PKGBUILD)
  opencascade/repos/community-testing-i686/env.sh
(from rev 133506, opencascade/trunk/env.sh)
  opencascade/repos/community-testing-i686/opencascade.conf
(from rev 133506, opencascade/trunk/opencascade.conf)
  opencascade/repos/community-testing-i686/opencascade.sh
(from rev 133506, opencascade/trunk/opencascade.sh)
  opencascade/repos/community-testing-x86_64/
  opencascade/repos/community-testing-x86_64/PKGBUILD
(from rev 133507, opencascade/trunk/PKGBUILD)
  opencascade/repos/community-testing-x86_64/env.sh
(from rev 133507, opencascade/trunk/env.sh)
  opencascade/repos/community-testing-x86_64/opencascade.conf
(from rev 133507, opencascade/trunk/opencascade.conf)
  opencascade/repos/community-testing-x86_64/opencascade.sh
(from rev 133507, opencascade/trunk/opencascade.sh)

---+
 community-testing-i686/PKGBUILD   |   46 
 community-testing-i686/env.sh |   22 +
 community-testing-i686/opencascade.conf   |1 
 community-testing-i686/opencascade.sh |2 +
 community-testing-x86_64/PKGBUILD |   46 
 community-testing-x86_64/env.sh   |   22 +
 community-testing-x86_64/opencascade.conf |1 
 community-testing-x86_64/opencascade.sh   |2 +
 8 files changed, 142 insertions(+)

Copied: opencascade/repos/community-testing-i686/PKGBUILD (from rev 133506, 
opencascade/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2015-05-15 12:31:28 UTC (rev 133508)
@@ -0,0 +1,46 @@
+# Maintainer: Florian Pritz bluew...@xinu.at
+# Contributor: Giuseppe Borzi gbo...@ieee.org
+# Contributor: Brice ME9alier mealier_br...@yahoo.fr
+# Contributor: Michele Mocciola mickele
+pkgname=opencascade
+pkgver=6.9.0
+pkgrel=1
+pkgdesc=Open CASCADE Technology, 3D modeling  numerical simulation
+arch=('i686' 'x86_64')
+url=http://www.opencascade.org;
+license=('custom')
+depends=('tk' 'mesa' 'java-runtime' 'libxmu' 'ftgl' 'vtk')
+makedepends=('java-environment')
+source=(http://files.opencascade.com/OCCT/OCC_${pkgver}_release/$pkgname-${pkgver}.tgz;
 env.sh opencascade.sh opencascade.conf)
+md5sums=('ba87fe9f5ca47e3dfd62aad7223f0e7f'
+ 'a96f28ee7f4273ae1771ee033a2a3af3'
+ 'd9368b8d348ced3ec4462012977552d2'
+ '2924ecf57c95d25888f51071fdc72ad0')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+
+  # fix for automake 1.13
+  sed -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac
+  ./build_configure
+  ./configure --disable-debug --enable-production \
+--with-java-include=/usr/lib/jvm/default/include \
+--with-vtk-library=/usr/lib/ --with-vtk-include=/usr/include/vtk-6.1/ \
+--prefix=/opt/$pkgname
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+
+  # no DESTDIR support so use prefix. This has to suffix match the prefix in 
./configure
+  make prefix=$pkgdir/opt/$pkgname install
+  cp -r src/UnitsAPI/ ${pkgdir}/opt/$pkgname/src
+  install -D -m644 ${srcdir}/opencascade.conf 
${pkgdir}/etc/ld.so.conf.d/opencascade.conf
+  install -D -m 755 ${srcdir}/opencascade.sh 
${pkgdir}/etc/profile.d/opencascade.sh
+  install -m 755 ${srcdir}/env.sh ${pkgdir}/opt/$pkgname
+  install -dm755 $pkgdir/usr/share/licenses/$pkgname/
+  install -m644 LICENSE_LGPL_21.txt OCCT_LGPL_EXCEPTION.txt 
$pkgdir/usr/share/licenses/$pkgname
+}
+
+# vim:set ts=2 sw=2 et:

Copied: opencascade/repos/community-testing-i686/env.sh (from rev 133506, 
opencascade/trunk/env.sh)
===
--- community-testing-i686/env.sh   (rev 0)
+++ community-testing-i686/env.sh   2015-05-15 12:31:28 UTC (rev 133508)
@@ -0,0 +1,22 @@
+#!/bin/sh -f
+
+export PATH=$PATH:$CASROOT/bin
+export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}$CASROOT/lib
+
+export CSF_LANGUAGE=us
+export MMGT_CLEAR=1
+export CSF_EXCEPTION_PROMPT=1
+
+export CSF_SHMessage=$CASROOT/src/SHMessage
+export CSF_MDTVTexturesDirectory=$CASROOT/src/Textures
+export CSF_XSMessage=$CASROOT/src/XSMessage
+export CSF_StandardDefaults=$CASROOT/src/StdResource
+export CSF_PluginDefaults=$CASROOT/src/StdResource
+export CSF_XCAFDefaults=$CASROOT/src/StdResource
+export CSF_StandardLiteDefaults=$CASROOT/src/StdResource
+export CSF_UnitsLexicon=$CASROOT/src/UnitsAPI/Lexi_Expr.dat
+export CSF_UnitsDefinition=$CASROOT/src/UnitsAPI/Units.dat
+export CSF_IGESDefaults=$CASROOT/src/XSTEPResource
+export CSF_STEPDefaults=$CASROOT/src/XSTEPResource
+export