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

Felix Yan fyan at archlinux.org
Sun Dec 6 23:00:23 UTC 2015


    Date: Monday, December 7, 2015 @ 00:00:22
  Author: fyan
Revision: 149328

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

Added:
  freemat/repos/community-staging-i686/
  freemat/repos/community-staging-i686/ChangeLog
    (from rev 149327, freemat/trunk/ChangeLog)
  freemat/repos/community-staging-i686/PKGBUILD
    (from rev 149327, freemat/trunk/PKGBUILD)
  freemat/repos/community-staging-i686/build-fix.patch
    (from rev 149327, freemat/trunk/build-fix.patch)
  freemat/repos/community-staging-i686/freemat.install
    (from rev 149327, freemat/trunk/freemat.install)
  freemat/repos/community-staging-x86_64/
  freemat/repos/community-staging-x86_64/ChangeLog
    (from rev 149327, freemat/trunk/ChangeLog)
  freemat/repos/community-staging-x86_64/PKGBUILD
    (from rev 149327, freemat/trunk/PKGBUILD)
  freemat/repos/community-staging-x86_64/build-fix.patch
    (from rev 149327, freemat/trunk/build-fix.patch)
  freemat/repos/community-staging-x86_64/freemat.install
    (from rev 149327, freemat/trunk/freemat.install)

------------------------------------------+
 community-staging-i686/ChangeLog         |    3 +
 community-staging-i686/PKGBUILD          |   49 +++++++++++++++++++++++++++++
 community-staging-i686/build-fix.patch   |   21 ++++++++++++
 community-staging-i686/freemat.install   |    7 ++++
 community-staging-x86_64/ChangeLog       |    3 +
 community-staging-x86_64/PKGBUILD        |   49 +++++++++++++++++++++++++++++
 community-staging-x86_64/build-fix.patch |   21 ++++++++++++
 community-staging-x86_64/freemat.install |    7 ++++
 8 files changed, 160 insertions(+)

Copied: freemat/repos/community-staging-i686/ChangeLog (from rev 149327, freemat/trunk/ChangeLog)
===================================================================
--- community-staging-i686/ChangeLog	                        (rev 0)
+++ community-staging-i686/ChangeLog	2015-12-06 23:00:22 UTC (rev 149328)
@@ -0,0 +1,3 @@
+2007-06-27 tardo <tardo at nagi-fanboi.net>
+* Built for x86_64
+

Copied: freemat/repos/community-staging-i686/PKGBUILD (from rev 149327, freemat/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-12-06 23:00:22 UTC (rev 149328)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: William Rea <sillywilly at gmail.com>
+
+pkgname=freemat
+pkgver=4.2
+pkgrel=6
+pkgdesc="A free environment for rapid engineering, scientific prototyping and data processing"
+arch=('i686' 'x86_64')
+url="http://freemat.sourceforge.net"
+license=('GPL')
+depends=('arpack' 'fftw' 'glu' 'portaudio' 'qtwebkit' 'qt4' 'libffi')
+makedepends=('cmake' 'python2' 'suitesparse' 'doxygen' 'gcc-fortran')
+install=freemat.install
+source=(http://downloads.sourceforge.net/project/freemat/FreeMat4/FreeMat-$pkgver-Source.tar.gz
+	build-fix.patch)
+md5sums=('ace147e49273ae935d363da8e2a56d4d'
+         '042f43dcae863e3fc4c9a10b46761344')
+
+prepare() {
+  cd $srcdir/FreeMat-$pkgver-Source
+  patch -p1 <$srcdir/build-fix.patch
+}
+
+build() {
+  cd $srcdir/FreeMat-$pkgver-Source
+  unset LDFLAGS CFLAGS CXXFLAGS CPPFLAGS
+  rm -f CMakeCache.txt
+  find . -type f -name '*.moc.cpp' -exec rm -f {} \;
+  find . -type f -name 'add.so' -exec rm -f {} \;
+  echo >libs/libMatC/CJitFuncClang.hpp
+  echo >libs/libMatC/CJitFuncClang.cpp
+
+  cmake \
+	-DCMAKE_INSTALL_PREFIX=/usr \
+	-DUSE_LLVM=OFF \
+	-DFORCE_BUNDLED_UMFPACK=ON \
+	-DFFI_INCLUDE_DIR=/usr/lib/libffi-`pacman -Q libffi | cut -f2 -d\ |cut -f1 -d-`/include/ \
+	-DPYTHON_EXECUTABLE=/usr/bin/python2 \
+	.
+  make
+}
+package() {
+  cd $srcdir/FreeMat-$pkgver-Source
+
+  make DESTDIR=$pkgdir install -j1
+  sed -i "s|/FreeMat-.*/|/FreeMat-$pkgver/|g" $startdir/freemat.install
+  rm $pkgdir/usr/bin/blas.ini
+}

Copied: freemat/repos/community-staging-i686/build-fix.patch (from rev 149327, freemat/trunk/build-fix.patch)
===================================================================
--- community-staging-i686/build-fix.patch	                        (rev 0)
+++ community-staging-i686/build-fix.patch	2015-12-06 23:00:22 UTC (rev 149328)
@@ -0,0 +1,21 @@
+diff -wbBur FreeMat-4.2-Source/CMakeLists.txt FreeMat-4.2-Source.q/CMakeLists.txt
+--- FreeMat-4.2-Source/CMakeLists.txt	2013-07-28 01:27:12.000000000 +0400
++++ FreeMat-4.2-Source.q/CMakeLists.txt	2014-05-29 21:13:35.263893395 +0400
+@@ -250,17 +250,6 @@
+ ######################################################################
+ OPTION(USE_LLVM "Build with LLVM support?" ON)
+ 
+-FIND_PACKAGE(LLVM)
+-FIND_PACKAGE(CLANG)
+-
+-IF (LLVM_FOUND AND CLANG_FOUND)
+-  add_definitions(-DHAVE_LLVM)
+-  include_directories(${LLVM_INCLUDE_DIRS})
+-  link_directories(${LLVM_LIBRARY_DIRS})
+-  llvm_map_components_to_libraries(REQ_LLVM_LIBRARIES jit interpreter nativecodegen asmparser bitreader bitwriter codegen ipo linker selectiondag instrumentation)
+-  set(OPTIONAL_LIBS ${OPTIONAL_LIBS} ${CLANG_LIBRARIES} ${REQ_LLVM_LIBRARIES})
+-ENDIF()
+-
+ ##############################################################################
+ #Extra libraries
+ IF(NOT WIN32)

Copied: freemat/repos/community-staging-i686/freemat.install (from rev 149327, freemat/trunk/freemat.install)
===================================================================
--- community-staging-i686/freemat.install	                        (rev 0)
+++ community-staging-i686/freemat.install	2015-12-06 23:00:22 UTC (rev 149328)
@@ -0,0 +1,7 @@
+post_install() {
+  echo "-- Use FreeMat -i /usr/share/FreeMat-4.2/ to adjust docs location"
+}
+
+post_upgrade() {
+  echo "-- Use FreeMat -i /usr/share/FreeMat-4.2/ to adjust docs location"
+}

Copied: freemat/repos/community-staging-x86_64/ChangeLog (from rev 149327, freemat/trunk/ChangeLog)
===================================================================
--- community-staging-x86_64/ChangeLog	                        (rev 0)
+++ community-staging-x86_64/ChangeLog	2015-12-06 23:00:22 UTC (rev 149328)
@@ -0,0 +1,3 @@
+2007-06-27 tardo <tardo at nagi-fanboi.net>
+* Built for x86_64
+

Copied: freemat/repos/community-staging-x86_64/PKGBUILD (from rev 149327, freemat/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-12-06 23:00:22 UTC (rev 149328)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: William Rea <sillywilly at gmail.com>
+
+pkgname=freemat
+pkgver=4.2
+pkgrel=6
+pkgdesc="A free environment for rapid engineering, scientific prototyping and data processing"
+arch=('i686' 'x86_64')
+url="http://freemat.sourceforge.net"
+license=('GPL')
+depends=('arpack' 'fftw' 'glu' 'portaudio' 'qtwebkit' 'qt4' 'libffi')
+makedepends=('cmake' 'python2' 'suitesparse' 'doxygen' 'gcc-fortran')
+install=freemat.install
+source=(http://downloads.sourceforge.net/project/freemat/FreeMat4/FreeMat-$pkgver-Source.tar.gz
+	build-fix.patch)
+md5sums=('ace147e49273ae935d363da8e2a56d4d'
+         '042f43dcae863e3fc4c9a10b46761344')
+
+prepare() {
+  cd $srcdir/FreeMat-$pkgver-Source
+  patch -p1 <$srcdir/build-fix.patch
+}
+
+build() {
+  cd $srcdir/FreeMat-$pkgver-Source
+  unset LDFLAGS CFLAGS CXXFLAGS CPPFLAGS
+  rm -f CMakeCache.txt
+  find . -type f -name '*.moc.cpp' -exec rm -f {} \;
+  find . -type f -name 'add.so' -exec rm -f {} \;
+  echo >libs/libMatC/CJitFuncClang.hpp
+  echo >libs/libMatC/CJitFuncClang.cpp
+
+  cmake \
+	-DCMAKE_INSTALL_PREFIX=/usr \
+	-DUSE_LLVM=OFF \
+	-DFORCE_BUNDLED_UMFPACK=ON \
+	-DFFI_INCLUDE_DIR=/usr/lib/libffi-`pacman -Q libffi | cut -f2 -d\ |cut -f1 -d-`/include/ \
+	-DPYTHON_EXECUTABLE=/usr/bin/python2 \
+	.
+  make
+}
+package() {
+  cd $srcdir/FreeMat-$pkgver-Source
+
+  make DESTDIR=$pkgdir install -j1
+  sed -i "s|/FreeMat-.*/|/FreeMat-$pkgver/|g" $startdir/freemat.install
+  rm $pkgdir/usr/bin/blas.ini
+}

Copied: freemat/repos/community-staging-x86_64/build-fix.patch (from rev 149327, freemat/trunk/build-fix.patch)
===================================================================
--- community-staging-x86_64/build-fix.patch	                        (rev 0)
+++ community-staging-x86_64/build-fix.patch	2015-12-06 23:00:22 UTC (rev 149328)
@@ -0,0 +1,21 @@
+diff -wbBur FreeMat-4.2-Source/CMakeLists.txt FreeMat-4.2-Source.q/CMakeLists.txt
+--- FreeMat-4.2-Source/CMakeLists.txt	2013-07-28 01:27:12.000000000 +0400
++++ FreeMat-4.2-Source.q/CMakeLists.txt	2014-05-29 21:13:35.263893395 +0400
+@@ -250,17 +250,6 @@
+ ######################################################################
+ OPTION(USE_LLVM "Build with LLVM support?" ON)
+ 
+-FIND_PACKAGE(LLVM)
+-FIND_PACKAGE(CLANG)
+-
+-IF (LLVM_FOUND AND CLANG_FOUND)
+-  add_definitions(-DHAVE_LLVM)
+-  include_directories(${LLVM_INCLUDE_DIRS})
+-  link_directories(${LLVM_LIBRARY_DIRS})
+-  llvm_map_components_to_libraries(REQ_LLVM_LIBRARIES jit interpreter nativecodegen asmparser bitreader bitwriter codegen ipo linker selectiondag instrumentation)
+-  set(OPTIONAL_LIBS ${OPTIONAL_LIBS} ${CLANG_LIBRARIES} ${REQ_LLVM_LIBRARIES})
+-ENDIF()
+-
+ ##############################################################################
+ #Extra libraries
+ IF(NOT WIN32)

Copied: freemat/repos/community-staging-x86_64/freemat.install (from rev 149327, freemat/trunk/freemat.install)
===================================================================
--- community-staging-x86_64/freemat.install	                        (rev 0)
+++ community-staging-x86_64/freemat.install	2015-12-06 23:00:22 UTC (rev 149328)
@@ -0,0 +1,7 @@
+post_install() {
+  echo "-- Use FreeMat -i /usr/share/FreeMat-4.2/ to adjust docs location"
+}
+
+post_upgrade() {
+  echo "-- Use FreeMat -i /usr/share/FreeMat-4.2/ to adjust docs location"
+}



More information about the arch-commits mailing list