libofx update + needed rebuilds

This commit is contained in:
Anke 2012-08-19 21:00:10 +00:00
parent f7f71bbe54
commit 736a6491cf
4 changed files with 40 additions and 27 deletions

View File

@ -1,30 +1,35 @@
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
# maintainer: abveritas@chakra-project.org
pkgname=alkimia
pkgver=4.3.1
pkgver=4.3.2
pkgrel=1
pkgdesc="A library with common classes and functionality used by finance applications for the KDE SC."
depends=()
makedepends=('cmake' 'automoc4')
conflicts=()
depends=('kdelibs')
makedepends=('cmake' 'automoc4' 'doxygen')
url=('http://kde-apps.org/content/show.php/libalkimia?content=137323')
license=('LGPL')
arch=('i686' 'x86_64')
source=("http://kde-apps.org/CONTENT/content-files/137323-libalkimia-$pkgver.tar.bz2")
md5sums=('73d7f1365118019030b2045d95c92456')
build()
md5sums=('8d7b529c7be5f72ae1cbb02e818e9b79')
{
cd $srcdir/libalkimia-$pkgver
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=DebugFull
make
make DESTDIR=$startdir/pkg install
build() {
cd "${srcdir}"
mkdir build
cd build
cmake ../libalkimia-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-Wno-dev
make
}
package() {
cd "${srcdir}"/build
make DESTDIR="${pkgdir}" install
}

View File

@ -6,7 +6,7 @@
pkgname=aqbanking-qt4
pkgver=5.0.25
_dnrel=95
pkgrel=1
pkgrel=2
pkgdesc="A library for online banking and financial applications"
arch=(i686 x86_64)
options=('!libtool')

View File

@ -1,14 +1,10 @@
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
# maintainer abveritas@chakra-project.org
pkgbase=libofx
pkgname=('libofx' 'libofx-doc')
pkgver=0.9.4
pkgver=0.9.5
pkgrel=1
pkgdesc="API for the OFX banking standard"
arch=('i686' 'x86_64')
@ -16,12 +12,13 @@ url="http://libofx.sourceforge.net"
license=('GPL')
depends=('opensp' 'curl' 'libxml++')
checkdepends=('gnupg')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('f2419bf8d01c0cff74efe7084e0a26c5')
sha1sums=('7370245c011ac4ea9313ba24a88c70e0eb9c317b')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz gcc47.patch)
md5sums=('58443fd7fa00dbbb6a36c75830774368'
'6cd9128973e4d90ea8129ea0a785fcbe' )
build() {
cd "$srcdir/$pkgbase-$pkgver"
patch -p1 -i "$srcdir/gcc47.patch"
./configure --prefix=/usr
make
}

11
libofx/gcc47.patch Normal file
View File

@ -0,0 +1,11 @@
diff -Nru libofx-0.9.4/debian/patches/fix-ftbfs-gcc4.7.diff libofx-0.9.4/debian/patches/fix-ftbfs-gcc4.7.diff
--- libofx-0.9.4.orig/ofxconnect/ofxpartner.cpp 2011-03-30 22:30:50.000000000 +0000
+++ libofx-0.9.4/ofxconnect/ofxpartner.cpp 2012-04-17 06:08:38.711940892 +0000
@@ -37,6 +37,7 @@
#include <vector>
#include <algorithm>
#include <string.h>
+#include <unistd.h>
using std::string;
using std::vector;