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

Florian Pritz bluewind at archlinux.org
Fri Dec 5 17:22:39 UTC 2014


    Date: Friday, December 5, 2014 @ 18:22:39
  Author: bluewind
Revision: 123486

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

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

---------------------------------------------+
 community-i686/InterfaceGraphic_X11.patch   |   11 +++++
 community-i686/PKGBUILD                     |   48 ++++++++++++++++++++++++++
 community-i686/env.sh                       |   22 +++++++++++
 community-i686/opencascade.conf             |    1 
 community-i686/opencascade.sh               |    2 +
 community-x86_64/InterfaceGraphic_X11.patch |   11 +++++
 community-x86_64/PKGBUILD                   |   48 ++++++++++++++++++++++++++
 community-x86_64/env.sh                     |   22 +++++++++++
 community-x86_64/opencascade.conf           |    1 
 community-x86_64/opencascade.sh             |    2 +
 10 files changed, 168 insertions(+)

Copied: opencascade/repos/community-i686/InterfaceGraphic_X11.patch (from rev 123485, opencascade/trunk/InterfaceGraphic_X11.patch)
===================================================================
--- community-i686/InterfaceGraphic_X11.patch	                        (rev 0)
+++ community-i686/InterfaceGraphic_X11.patch	2014-12-05 17:22:39 UTC (rev 123486)
@@ -0,0 +1,11 @@
+--- inc/InterfaceGraphic_X11.hxx	2014-04-29 11:40:35.000000000 +0200
++++ inc/InterfaceGraphic_X11.hxx.new	2014-10-10 01:16:49.274370801 +0200
+@@ -21,6 +21,8 @@
+ #include <X11/Xlib.h>
+ #include <X11/Xutil.h>
+ #include <X11/Xatom.h>
++typedef ptrdiff_t GLsizeiptr;
++typedef ptrdiff_t GLintptr;
+ #include <GL/glx.h>
+ 
+ #if defined (sun) || defined (SUNOS) || defined (__alpha) || defined (DECOSF1) || defined (sgi) || defined (IRIX) || defined (__hpux)|| defined (HPUX)

Copied: opencascade/repos/community-i686/PKGBUILD (from rev 123485, opencascade/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2014-12-05 17:22:39 UTC (rev 123486)
@@ -0,0 +1,48 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+# Contributor: Giuseppe Borzi <gborzi at ieee.org>
+# Contributor: Brice M<E9>alier <mealier_brice at yahoo.fr>
+# Contributor: Michele Mocciola <mickele>
+pkgname=opencascade
+pkgver=6.7.1
+pkgrel=3
+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')
+makedepends=('java-environment')
+source=("http://files.opencascade.com/OCCT/OCC_${pkgver}_release/$pkgname-${pkgver}.tgz" "env.sh" "opencascade.sh" "opencascade.conf" "InterfaceGraphic_X11.patch")
+md5sums=('9316150af298a5608d74785c25491fd4'
+         'a96f28ee7f4273ae1771ee033a2a3af3'
+         'd9368b8d348ced3ec4462012977552d2'
+         '2924ecf57c95d25888f51071fdc72ad0'
+         '51b09803e8d14700af0198e25ef9befb')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # fix for Mesa 10.3.0
+  patch -Np0 -i "$srcdir/InterfaceGraphic_X11.patch"
+  # 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 \
+    --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-i686/env.sh (from rev 123485, opencascade/trunk/env.sh)
===================================================================
--- community-i686/env.sh	                        (rev 0)
+++ community-i686/env.sh	2014-12-05 17:22:39 UTC (rev 123486)
@@ -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 CSF_XmlOcafResource="$CASROOT"/src/XmlOcafResource
+export CSF_GraphicShr="$CASROOT"/lib/libTKOpenGl.so

Copied: opencascade/repos/community-i686/opencascade.conf (from rev 123485, opencascade/trunk/opencascade.conf)
===================================================================
--- community-i686/opencascade.conf	                        (rev 0)
+++ community-i686/opencascade.conf	2014-12-05 17:22:39 UTC (rev 123486)
@@ -0,0 +1 @@
+/opt/opencascade/lib

Copied: opencascade/repos/community-i686/opencascade.sh (from rev 123485, opencascade/trunk/opencascade.sh)
===================================================================
--- community-i686/opencascade.sh	                        (rev 0)
+++ community-i686/opencascade.sh	2014-12-05 17:22:39 UTC (rev 123486)
@@ -0,0 +1,2 @@
+export CASROOT=/opt/opencascade
+source /opt/opencascade/env.sh

Copied: opencascade/repos/community-x86_64/InterfaceGraphic_X11.patch (from rev 123485, opencascade/trunk/InterfaceGraphic_X11.patch)
===================================================================
--- community-x86_64/InterfaceGraphic_X11.patch	                        (rev 0)
+++ community-x86_64/InterfaceGraphic_X11.patch	2014-12-05 17:22:39 UTC (rev 123486)
@@ -0,0 +1,11 @@
+--- inc/InterfaceGraphic_X11.hxx	2014-04-29 11:40:35.000000000 +0200
++++ inc/InterfaceGraphic_X11.hxx.new	2014-10-10 01:16:49.274370801 +0200
+@@ -21,6 +21,8 @@
+ #include <X11/Xlib.h>
+ #include <X11/Xutil.h>
+ #include <X11/Xatom.h>
++typedef ptrdiff_t GLsizeiptr;
++typedef ptrdiff_t GLintptr;
+ #include <GL/glx.h>
+ 
+ #if defined (sun) || defined (SUNOS) || defined (__alpha) || defined (DECOSF1) || defined (sgi) || defined (IRIX) || defined (__hpux)|| defined (HPUX)

Copied: opencascade/repos/community-x86_64/PKGBUILD (from rev 123485, opencascade/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2014-12-05 17:22:39 UTC (rev 123486)
@@ -0,0 +1,48 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+# Contributor: Giuseppe Borzi <gborzi at ieee.org>
+# Contributor: Brice M<E9>alier <mealier_brice at yahoo.fr>
+# Contributor: Michele Mocciola <mickele>
+pkgname=opencascade
+pkgver=6.7.1
+pkgrel=3
+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')
+makedepends=('java-environment')
+source=("http://files.opencascade.com/OCCT/OCC_${pkgver}_release/$pkgname-${pkgver}.tgz" "env.sh" "opencascade.sh" "opencascade.conf" "InterfaceGraphic_X11.patch")
+md5sums=('9316150af298a5608d74785c25491fd4'
+         'a96f28ee7f4273ae1771ee033a2a3af3'
+         'd9368b8d348ced3ec4462012977552d2'
+         '2924ecf57c95d25888f51071fdc72ad0'
+         '51b09803e8d14700af0198e25ef9befb')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # fix for Mesa 10.3.0
+  patch -Np0 -i "$srcdir/InterfaceGraphic_X11.patch"
+  # 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 \
+    --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-x86_64/env.sh (from rev 123485, opencascade/trunk/env.sh)
===================================================================
--- community-x86_64/env.sh	                        (rev 0)
+++ community-x86_64/env.sh	2014-12-05 17:22:39 UTC (rev 123486)
@@ -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 CSF_XmlOcafResource="$CASROOT"/src/XmlOcafResource
+export CSF_GraphicShr="$CASROOT"/lib/libTKOpenGl.so

Copied: opencascade/repos/community-x86_64/opencascade.conf (from rev 123485, opencascade/trunk/opencascade.conf)
===================================================================
--- community-x86_64/opencascade.conf	                        (rev 0)
+++ community-x86_64/opencascade.conf	2014-12-05 17:22:39 UTC (rev 123486)
@@ -0,0 +1 @@
+/opt/opencascade/lib

Copied: opencascade/repos/community-x86_64/opencascade.sh (from rev 123485, opencascade/trunk/opencascade.sh)
===================================================================
--- community-x86_64/opencascade.sh	                        (rev 0)
+++ community-x86_64/opencascade.sh	2014-12-05 17:22:39 UTC (rev 123486)
@@ -0,0 +1,2 @@
+export CASROOT=/opt/opencascade
+source /opt/opencascade/env.sh



More information about the arch-commits mailing list