Skip to content

Commit

Permalink
adding qhull 2012.1 & fltk 1.3.2 to the repo, virtuoso & octave rebui…
Browse files Browse the repository at this point in the history
…ld, glpk 4.48, 4.50 missing libs for octave
  • Loading branch information
KdeOs committed May 31, 2013
1 parent 8424369 commit 8767299
Show file tree
Hide file tree
Showing 7 changed files with 121 additions and 50 deletions.
43 changes: 43 additions & 0 deletions fltk/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@

pkgname=fltk
pkgver=1.3.2
pkgrel=1
pkgdesc="Graphical user interface toolkit for X."
arch=('x86_64')
screenshot="http://www.fltk.org/images/fltk-widgets-std.png"
license=('custom:LGPL')
url="http://www.fltk.org/"
depends=('libjpeg-turbo' 'libpng' 'libxft' 'libxinerama' 'hicolor-icon-theme'
'desktop-file-utils' 'xdg-utils' 'libgl')
makedepends=('mesa' 'doxygen' 'alsa-lib')
options=('!docs')
groups=('system')
install="fltk.install"
source=("http://fltk.org/pub/fltk/${pkgver}/${pkgname}-${pkgver}-source.tar.gz")
md5sums=('9f7e707d4fb7a5a76f0f9b73ff70623d')

build() {
cd "${srcdir}/${pkgname}-${pkgver}"

sed -i -e 's/$(LINKFLTK)/$(LINKSHARED)/' \
-e 's/$(LINKFLTKIMG)/$(LINKSHARED)/' test/Makefile

./configure --prefix=/usr \
--enable-shared \
--enable-threads \
--enable-xft \
--enable-gl

make
cd documentation && make html
}

package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
( cd fluid && make DESTDIR="${pkgdir}" install install-linux )

chmod 644 "${pkgdir}/usr/lib"/*.a
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

12 changes: 12 additions & 0 deletions fltk/fltk.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
update-desktop-database -q
}

post_upgrade() {
post_install
}

post_remove() {
post_install
}
9 changes: 2 additions & 7 deletions glpk/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas[at]chakra-project[dot]org>

pkgname=glpk
pkgver=4.47
pkgver=4.48
pkgrel=1
pkgdesc="GNU Linear Programming Kit : solve LP, MIP and other problems."
arch=('x86_64')
Expand All @@ -13,13 +9,12 @@ license=('GPL')
depends=('glibc')
options=('!libtool')
source=("http://ftp.gnu.org/gnu/glpk/${pkgname}-${pkgver}.tar.gz")
md5sums=('8653bf20c1f7db96b9ed369a8598a1ce')
md5sums=('1484ef197444305b2afbc942bf3f0905')

build() {
cd ${srcdir}/${pkgname}-${pkgver}

./configure --prefix=/usr

make CFLAGS="$CFLAGS -fPIC"
}

Expand Down
13 changes: 7 additions & 6 deletions octave/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@

pkgname=octave
pkgver=3.6.4
pkgrel=2
pkgrel=3
pkgdesc="A high-level language, primarily intended for numerical computations."
arch=('x86_64')
url="http://www.octave.org"
license=('GPL')
depends=('fftw' 'pcre' 'curl' 'libx11' 'graphicsmagick' 'glpk' 'hdf5' 'gcc-libs' 'qhull'
'arpack' 'suitesparse' 'gnuplot' 'gperf')
depends=('fftw' 'curl' 'graphicsmagick' 'glpk' 'hdf5' 'gcc-libs' 'qhull' 'fltk'
'arpack' 'suitesparse' 'gperf')
makedepends=('texlive-core' 'gcc-fortran' 'python2')
optdepends=('texinfo: for help-support in octave')
source=("ftp://ftp.gnu.org/gnu/octave/octave-$pkgver.tar.bz2")
Expand All @@ -23,9 +23,10 @@ build() {
# http://www.nabble.com/Random-rounding-errors-td16010966.html
FFLAGS="-O -ffloat-store" \

./configure --prefix=/usr --libexecdir=/usr/lib \
--enable-shared --disable-static \
--with-umfpack="-lumfpack -lsuitesparseconfig"
./configure --prefix=/usr \
--libexecdir=/usr/lib \
--enable-shared --disable-static \
--with-umfpack="-lumfpack -lsuitesparseconfig"

LANG=C make
}
Expand Down
32 changes: 32 additions & 0 deletions qhull/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@

pkgname=qhull
pkgver=2012.1
pkgrel=1
pkgdesc="A general dimension code for computing convex hulls and related structures"
arch=('x86_64')
url="http://www.qhull.org/"
license=('custom')
depends=('glibc')
makedepends=('cmake')
options=('!libtool')
source=("http://www.qhull.org/download/$pkgname-$pkgver-src.tgz")
md5sums=('d0f978c0d8dfb2e919caefa56ea2953c')

build() {
cd "$srcdir/$pkgname-$pkgver"

mkdir compile
cd compile
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_CXX_FLAGS=-fPIC \
-DCMAKE_C_FLAGS=-fPIC ..
make
}

package() {
cd "$srcdir/$pkgname-$pkgver/compile"
make DESTDIR=$pkgdir install

install -Dm644 $srcdir/$pkgname-$pkgver/COPYING.txt "$pkgdir/usr/share/licenses/$pkgname/license.txt"
}

40 changes: 25 additions & 15 deletions virtuoso/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,40 +1,50 @@
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org

pkgname=virtuoso
pkgver=6.1.5
pkgrel=1
arch=('i686' 'x86_64')
pkgver=6.1.6
pkgrel=2
arch=('x86_64')
pkgdesc='A scalable cross-platform server that combines SQL/RDF/XML Data Management with Web Application Server and Web Services Platform functionality'
url='http://virtuoso.openlinksw.com/wiki/main/Main/'
license=('GPL')
depends=('libldap')
makedepends=('bison' 'flex')
options=('!libtool' '!makeflags')
makedepends=('bison' 'flex' 'gperf' 'gawk' 'm4' 'openssl' 'zlib' 'python2' 'unixodbc' 'libiodbc')
options=('!libtool')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-opensource-${pkgver}.tar.gz")
md5sums=('61b53395e14a11dd7e7715b50261b9eb')
md5sums=('3991149c570f3738c3e819ce603e487f')

build() {
cd ${srcdir}/${pkgname}-opensource-${pkgver}
cd ${srcdir}/virtuoso-opensource-${pkgver}

CFLAGS="$CFLAGS -I/usr/include/libiodbc"
CXXFLAGS="$CXXFLAGS -I/usr/include/libiodbc/"
LDFLAGS="$LDFLAGS -L/usr/include/libiodbc/"

./configure --prefix=/usr \
./autogen.sh
./configure --without-internal-zlib \
--prefix=/usr \
--localstatedir=/var \
--sysconfdir=/etc \
--disable-rendezvous \
--disable-hslookup \
--disable-all-vads
--disable-all-vads \
--disable-static \
--enable-python \
--with-iodbc=/usr/include/libiodbc/
make
}

package() {
# install server
cd ${srcdir}/${pkgname}-opensource-${pkgver}/binsrc/virtuoso
cd ${srcdir}/virtuoso-opensource-${pkgver}/binsrc/virtuoso
make DESTDIR=${pkgdir} install

# install driver
cd ${srcdir}/${pkgname}-opensource-${pkgver}/binsrc/driver
cd ${srcdir}/virtuoso-opensource-${pkgver}/binsrc/driver
make DESTDIR=${pkgdir} install

# Install some useful tools; rename to avoid conflicts
for bin in isql isqlw; do
install -Dm755 ${srcdir}/virtuoso-opensource-${pkgver}/binsrc/tests/$bin \
${pkgdir}/usr/bin/$bin-vt
done
}
22 changes: 0 additions & 22 deletions virtuoso/truegpatch

This file was deleted.

0 comments on commit 8767299

Please sign in to comment.