summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
Diffstat (limited to 'community')
-rw-r--r--community/cython/PKGBUILD6
-rw-r--r--community/dmd/PKGBUILD10
-rw-r--r--community/fcitx-sunpinyin/PKGBUILD6
-rw-r--r--community/freerdp/PKGBUILD17
-rw-r--r--community/galculator/PKGBUILD6
-rw-r--r--community/gstreamermm/PKGBUILD15
-rw-r--r--community/ibus-sunpinyin/PKGBUILD10
-rw-r--r--community/libxkbcommon/PKGBUILD2
-rw-r--r--community/mypaint/PKGBUILD10
-rw-r--r--community/opusfile/PKGBUILD28
-rw-r--r--community/parrot/PKGBUILD6
-rw-r--r--community/pokerth/PKGBUILD21
-rw-r--r--community/qpxtool/PKGBUILD8
-rw-r--r--community/stardict/PKGBUILD49
-rw-r--r--community/stardict/gcc46.patch11
-rw-r--r--community/stardict/glib2.patch36
-rw-r--r--community/stardict/zlib.patch35
-rw-r--r--community/sunpinyin/PKGBUILD27
18 files changed, 221 insertions, 82 deletions
diff --git a/community/cython/PKGBUILD b/community/cython/PKGBUILD
index 50f01ab1e..53bc70047 100644
--- a/community/cython/PKGBUILD
+++ b/community/cython/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 80879 2012-12-05 10:04:35Z spupykin $
+# $Id: PKGBUILD 81893 2013-01-03 10:03:19Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Igor Scabini <furester @ gmail.com>
pkgname=('cython' 'cython2')
pkgbase=cython
-pkgver=0.17.2
+pkgver=0.17.3
pkgrel=1
pkgdesc="C-Extensions for Python "
arch=(i686 x86_64)
@@ -12,7 +12,7 @@ url="http://www.cython.org"
license=('APACHE')
makedepends=('python-distribute' 'python2-distribute')
source=("http://cython.org/release/Cython-$pkgver.tar.gz")
-md5sums=('09dfd4f5f82046f85025a391f084d8f9')
+md5sums=('683241fee8f51a08acd42ab1deea0857')
build() {
true
diff --git a/community/dmd/PKGBUILD b/community/dmd/PKGBUILD
index ecdb153f1..b206344cd 100644
--- a/community/dmd/PKGBUILD
+++ b/community/dmd/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 74747 2012-08-03 04:26:36Z svenstaro $
+# $Id: PKGBUILD 81927 2013-01-03 14:59:08Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Chris Brannon <cmbrannon79@gmail.com>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
@@ -7,15 +7,15 @@
pkgname=('dmd' 'libphobos')
pkgbase=dmd
-pkgver=2.060
+pkgver=2.061
pkgrel=1
arch=('i686' 'x86_64')
url="http://www.digitalmars.com/d/2.0/"
source=(http://ftp.digitalmars.com/$pkgname.$pkgver.zip
tools-${pkgver}.tar.gz::https://github.com/D-Programming-Language/tools/tarball/v${pkgver})
license=('custom')
-md5sums=('6cf237d16625bf37a757a413963fa999'
- '1e75b64dbf725dc8f6fc9e60ded5bef8')
+md5sums=('823aba8a7e0fbb242bb2a2d922ced5c6'
+ '2e301d06071fb24c7c2d504c8ddbbc39')
[[ $CARCH == "x86_64" ]] && _archbits="64"
[[ $CARCH == "i686" ]] && _archbits="32"
@@ -40,7 +40,7 @@ build() {
package_dmd() {
pkgdesc="The Digital Mars D compiler"
backup=('etc/dmd.conf')
- depends=('libphobos' 'gcc-libs')
+ depends=('libphobos' 'gcc')
install -Dm755 $srcdir/dmd2/src/dmd/dmd $pkgdir/usr/bin/dmd
diff --git a/community/fcitx-sunpinyin/PKGBUILD b/community/fcitx-sunpinyin/PKGBUILD
index b281b2246..521a3f4b7 100644
--- a/community/fcitx-sunpinyin/PKGBUILD
+++ b/community/fcitx-sunpinyin/PKGBUILD
@@ -1,15 +1,15 @@
-# $Id: PKGBUILD 81657 2012-12-26 06:18:47Z fyan $
+# $Id: PKGBUILD 81910 2013-01-03 12:33:35Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
pkgname=fcitx-sunpinyin
pkgver=0.3.9
-pkgrel=3
+pkgrel=4
pkgdesc="Fcitx Wrapper for sunpinyin, Statistical Language Model based pinyin IME by Sun"
arch=('i686' 'x86_64')
url="http://code.google.com/p/fcitx"
license=('GPL')
install=fcitx-sunpinyin.install
-depends=('fcitx>=4.2.5' 'sunpinyin>2.0.3')
+depends=('fcitx>=4.2.5' 'sunpinyin>2.0.3' 'sunpinyin-data' 'gtk-update-icon-cache')
makedepends=('cmake' 'intltool')
source=("http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz")
md5sums=('de221daa7b3790b22f5a95d7091d0e38')
diff --git a/community/freerdp/PKGBUILD b/community/freerdp/PKGBUILD
index 183d850d0..a341880e9 100644
--- a/community/freerdp/PKGBUILD
+++ b/community/freerdp/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 74850 2012-08-07 11:38:18Z spupykin $
+# $Id: PKGBUILD 81895 2013-01-03 10:03:44Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Stijn Segers <francesco dot borromini at gmail dot com>
pkgname=freerdp
-pkgver=1.0.1
-pkgrel=8
+pkgver=1.0.2
+pkgrel=1
pkgdesc="Free RDP client"
arch=('i686' 'x86_64')
url="http://freerdp.sourceforge.net"
@@ -15,14 +15,11 @@ makedepends=('krb5' 'cmake' 'damageproto' 'xmlto' 'docbook-xsl')
conflicts=('freerdp-git')
changelog=${pkgname}.changelog
options=('!libtool')
-source=(https://github.com/downloads/FreeRDP/FreeRDP/FreeRDP-$pkgver.tar.gz
- https://github.com/FreeRDP/FreeRDP/commit/c10866db66c0d462ea7c2c38bb01740bcfb4fcb4.patch)
-md5sums=('c843185e0ff22ce8409954651718f338'
- '194fd599d0f706ecce772d5187e08385')
+source=($pkgname-$pkgver.tar.gz::https://github.com/FreeRDP/FreeRDP/archive/$pkgver.tar.gz)
+md5sums=('c260051a94caff590def5caa4fcf59d6')
build() {
- cd `find ${srcdir}/ -type d -name freerdp-\*`
- patch -Np1 <$srcdir/c10866db66c0d462ea7c2c38bb01740bcfb4fcb4.patch
+ cd $srcdir/FreeRDP-$pkgver
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
@@ -32,6 +29,6 @@ build() {
}
package() {
- cd `find ${srcdir}/ -type d -name freerdp-\*`
+ cd $srcdir/FreeRDP-$pkgver
make DESTDIR="${pkgdir}" install
}
diff --git a/community/galculator/PKGBUILD b/community/galculator/PKGBUILD
index 74e5e5bb4..0c5a273fd 100644
--- a/community/galculator/PKGBUILD
+++ b/community/galculator/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 78485 2012-10-19 15:50:56Z bpiotrowski $
+# $Id: PKGBUILD 81934 2013-01-03 21:00:53Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski <barthalion@gmail.com>
# Contributor: SpepS <dreamspepser at yahoo dot it>
# Contributor: Alexander Fehr <pizzapunk gmail com>
pkgname=galculator
-pkgver=2.0
+pkgver=2.0.1
pkgrel=1
pkgdesc='GTK+ based scientific calculator'
arch=('i686' 'x86_64')
@@ -14,7 +14,7 @@ depends=('gtk3' 'hicolor-icon-theme' 'gtk-update-icon-cache' 'desktop-file-utils
makedepends=('intltool')
install=$pkgname.install
source=(http://downloads.sourceforge.net/galculator/galculator-$pkgver.tar.bz2)
-md5sums=('2bec5c1cdab9c5421855f878f8018929')
+md5sums=('c4436478adfef4f3a7d6c42ce8286d34')
build() {
cd $srcdir/$pkgname-$pkgver
diff --git a/community/gstreamermm/PKGBUILD b/community/gstreamermm/PKGBUILD
index f546bc455..9f53179a5 100644
--- a/community/gstreamermm/PKGBUILD
+++ b/community/gstreamermm/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 59618 2007-01-01 00:29:08Z jlichtblau $
+# $Id: PKGBUILD 81906 2013-01-03 11:48:18Z jelle $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
pkgname=gstreamermm
-pkgver=0.10.10
+pkgver=0.10.11
pkgrel=1
pkgdesc="C++ interface for GStreamer"
arch=('i686' 'x86_64')
@@ -12,8 +12,8 @@ depends=('glibmm' 'gstreamer0.10-base>=0.10.25' 'libsigc++2.0' 'libxml++')
makedepends=('doxygen' 'pkgconfig')
options=('!libtool')
changelog=$pkgname.changelog
-source=(http://ftp.gnome.org/pub/GNOME/sources/gstreamermm/0.10/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('f8c31a7d3035d0dada60d27bdd01da04265439364f4469a981ee50d65218d638')
+source=(http://ftp.gnome.org/pub/GNOME/sources/gstreamermm/0.10/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('12b5f377363594a69cb79f2f5cd0a8b1813ca6553680c3216e6354cfd682ebc6')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
@@ -27,3 +27,10 @@ package() {
make DESTDIR=${pkgdir} install
}
+
+check() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+# Make check won't work, since it checks mic input/capture which don't exists on pkgbuild.com
+# make check
+
+}
diff --git a/community/ibus-sunpinyin/PKGBUILD b/community/ibus-sunpinyin/PKGBUILD
index 396b2adc9..e8c1e5878 100644
--- a/community/ibus-sunpinyin/PKGBUILD
+++ b/community/ibus-sunpinyin/PKGBUILD
@@ -1,16 +1,16 @@
-# $Id: PKGBUILD 79729 2012-11-11 16:11:46Z fyan $
+# $Id: PKGBUILD 81918 2013-01-03 13:12:28Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=ibus-sunpinyin
-pkgver=2.0.3.20121107
-_commit=cf3fe3d7aa5bb7aa6aa5b870a759af468b6d5b2b
-pkgrel=2
+pkgver=2.0.3.20130103
+_commit=baf4da89ac04c3eb6ea3b8fb1a10f13bf23f3d87
+pkgrel=1
pkgdesc="IBus Wrapper for sunpinyin."
arch=('i686' 'x86_64')
url="http://sunpinyin.googlecode.com"
license=('LGPL')
-depends=('sunpinyin>2.0.3' 'ibus')
+depends=('sunpinyin>2.0.3' 'sunpinyin-data' 'ibus')
makedepends=('git' 'scons')
__gitroot=git://github.com/sunpinyin/sunpinyin.git
diff --git a/community/libxkbcommon/PKGBUILD b/community/libxkbcommon/PKGBUILD
index 04bacedb1..e65cefa7d 100644
--- a/community/libxkbcommon/PKGBUILD
+++ b/community/libxkbcommon/PKGBUILD
@@ -1,3 +1,4 @@
+# $Id$
# Maintainer: Daniel Micay <danielmicay@gmail.com>
# Contributor: Mladen Pejakovic <pejakm@gmail.com>
@@ -12,6 +13,7 @@ depends=(glibc)
makedepends=(doxygen xorg-util-macros)
source=("http://xkbcommon.org/download/$pkgname-$pkgver.tar.bz2")
md5sums=('2be3d4a255d02c7d46fc6a9486f21f6a')
+options=('!libtool')
build() {
cd $srcdir/$pkgname-$pkgver
diff --git a/community/mypaint/PKGBUILD b/community/mypaint/PKGBUILD
index 5117a9227..c689f166a 100644
--- a/community/mypaint/PKGBUILD
+++ b/community/mypaint/PKGBUILD
@@ -1,19 +1,19 @@
-# $Id: PKGBUILD 63672 2012-02-05 12:05:19Z ibiru $
+# $Id: PKGBUILD 81897 2013-01-03 10:04:06Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Jon Nordby <jononor@gmail.com>
pkgname=mypaint
-pkgver=1.0.0
-pkgrel=2
+pkgver=1.1.0
+pkgrel=1
pkgdesc="A fast and easy painting application for digital painters, with brush dynamics"
arch=('i686' 'x86_64')
url="http://mypaint.intilinux.com/"
license=('GPL' 'LGPL')
-depends=('pygtk' 'python2-numpy' 'protobuf-python' 'python2')
+depends=('pygtk' 'python2-numpy' 'protobuf-python' 'python2' 'json-c' 'lcms2')
makedepends=('scons>=0.97' 'swig>=1.3.39')
install=mypaint.install
source=(http://download.gna.org/$pkgname/$pkgname-$pkgver.tar.bz2)
-md5sums=('dcd43933746a4579e7994f506e097823')
+md5sums=('7846a8406259d0fc81c9a2157a2348bf')
build() {
cd $srcdir/$pkgname-$pkgver
diff --git a/community/opusfile/PKGBUILD b/community/opusfile/PKGBUILD
new file mode 100644
index 000000000..d7a625073
--- /dev/null
+++ b/community/opusfile/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 81936 2013-01-03 21:13:51Z bpiotrowski $
+# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
+# Contributor: DrZaius <lou[at]fakeoutdoorsman[dot]com>
+
+pkgname=opusfile
+pkgver=0.2
+pkgrel=2
+pkgdesc='Library for opening, seeking, and decoding .opus files'
+arch=('i686' 'x86_64')
+url='http://www.opus-codec.org/'
+license=('custom')
+depends=('libogg' 'openssl' 'opus')
+options=('!libtool')
+source=(http://downloads.xiph.org/releases/opus/${pkgname}-${pkgver}.tar.gz)
+md5sums=('454375f51fb2f84bef9bf2fbf9535bb1')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
+
+ install -Dm644 COPYING $pkgdir/usr/share/licenses/opusfile/LICENSE
+}
diff --git a/community/parrot/PKGBUILD b/community/parrot/PKGBUILD
index 50c62f78e..4843f8b55 100644
--- a/community/parrot/PKGBUILD
+++ b/community/parrot/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 80699 2012-11-29 16:18:21Z spupykin $
+# $Id: PKGBUILD 81903 2013-01-03 10:07:48Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: mpie <michael.kyne-phillips1@ntlworld.com>
pkgname=parrot
-pkgver=4.10.0
+pkgver=4.11.0
#_rel=stable
_rel=devel
pkgrel=1
@@ -16,7 +16,7 @@ makedepends=('perl-json')
optdepends=('freeglut')
options=('!makeflags')
source=(ftp://ftp.parrot.org/pub/parrot/releases/$_rel/$pkgver/$pkgname-$pkgver.tar.bz2)
-md5sums=('aab3d07aecfe821a792421fb4fb88a4f')
+md5sums=('fd2e9c0145e224ca022783e61caf6fc5')
build() {
cd "$srcdir/$pkgname-$pkgver"
diff --git a/community/pokerth/PKGBUILD b/community/pokerth/PKGBUILD
index 13be8a7a4..0580eb00c 100644
--- a/community/pokerth/PKGBUILD
+++ b/community/pokerth/PKGBUILD
@@ -1,33 +1,26 @@
-# $Id: PKGBUILD 74006 2012-07-18 01:08:18Z ibiru $
+# $Id: PKGBUILD 81929 2013-01-03 15:09:22Z svenstaro $
# Maintainer: Mateusz Herych <heniekk@gmail.com>
# Maintainer: Bartłomiej Piotrowski <barthalion@gmail.com>
# Contributor: Vasco Costa <vasco.costa@meiodigital.com>
pkgname=pokerth
_realname=PokerTH
-pkgver=0.9.5
-pkgrel=2
+pkgver=1.0
+pkgrel=1
pkgdesc="Poker game written in C++/QT4"
arch=('i686' 'x86_64')
url="http://www.pokerth.net/"
license=('GPL' 'custom')
-depends=('curl' 'boost-libs' 'gsasl' 'gnutls'
+depends=('curl' 'boost-libs' 'gsasl' 'gnutls' 'protobuf'
'qt' 'sdl_mixer' 'libircclient' 'tinyxml')
makedepends=('boost')
source=(http://downloads.sourceforge.net/sourceforge/pokerth/$_realname-$pkgver-src.tar.bz2)
-md5sums=('4bdea98bfc142a825c64b77feb4667d0')
+md5sums=('1d8686b8968475cfc76e873a17a53efc')
build() {
cd "$srcdir/$_realname-$pkgver-src"
- sed -i '1 i #include <unistd.h>' src/third_party/qtsingleapplication/qtlocalpeer.cpp
-
- sed -i '23 i #include <libircclient/libirc_rfcnumeric.h>' src/net/common/ircthread.cpp
-
- # fix g++: error: unrecognized option '-no_dead_strip_inits_and_terms'
- sed \
- -e 's/QMAKE_LFLAGS += -no_dead_strip_inits_and_terms//' \
- -i zlib_compress.pro pokerth_game.pro pokerth_server.pro
+ sed -i '31 i #include <libircclient/libirc_rfcnumeric.h>' src/net/common/ircthread.cpp
qmake $pkgname.pro
make
@@ -38,8 +31,6 @@ package() {
make INSTALL_ROOT="$pkgdir" install
- install -D "$pkgname" "$pkgdir/usr/bin/$pkgname"
install -D -m644 docs/pokerth.1 "$pkgdir/usr/share/man/man1/pokerth.1"
install -D -m644 data/data-copyright.txt "$pkgdir/usr/share/licenses/pokerth/data-copyright.txt"
- rm -f "$pkgdir/usr/share/pokerth/data/data-copyright.txt"
}
diff --git a/community/qpxtool/PKGBUILD b/community/qpxtool/PKGBUILD
index 9147bc92d..52960f4c5 100644
--- a/community/qpxtool/PKGBUILD
+++ b/community/qpxtool/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 63724 2012-02-05 12:09:25Z ibiru $
+# $Id: PKGBUILD 81901 2013-01-03 10:05:25Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Krzysztof Stasiorowski <krzysiekst@gmail.com>
pkgname=qpxtool
-pkgver=0.7.1_002
-pkgrel=3
+pkgver=0.7.2
+pkgrel=1
pkgdesc="Allows better controll over optical drives to include QChecks and optimization settings."
arch=('i686' 'x86_64')
url="http://qpxtool.sourceforge.net/"
@@ -12,7 +12,7 @@ license=('GPL')
depends=('qt')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2
libpng15.patch)
-md5sums=('755321a0196b16d06857550aac74ff50'
+md5sums=('b1235e74b8ef4fe087a6b64f5cfca14a'
'ab9af7610277652c77c6d114422b2266')
build() {
diff --git a/community/stardict/PKGBUILD b/community/stardict/PKGBUILD
new file mode 100644
index 000000000..81843a581
--- /dev/null
+++ b/community/stardict/PKGBUILD
@@ -0,0 +1,49 @@
+# $Id: PKGBUILD 81945 2013-01-04 02:28:55Z fyan $
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+# Contributor: Gaetan Bisson <bisson@archlinux.org>
+# Contributor: Aaron Griffin <aaron@archlinux.org>
+# Contributor: Neil Lin <neil@vip.url.com.tw>
+
+pkgname=stardict
+pkgver=3.0.4
+pkgrel=1
+pkgdesc='International dictionary software'
+arch=('i686' 'x86_64')
+url='http://www.stardict.org/'
+license=('GPL')
+depends=('enchant' 'gtk2' 'libsigc++' 'libsm' 'espeak' 'libgnome')
+makedepends=('intltool' 'popt' 'gnome-doc-utils' 'gnome-common' 'libmysqlclient')
+options=('!libtool' '!emptydirs')
+source=("http://stardict-3.googlecode.com/files/stardict-${pkgver}.tar.bz2"
+ 'gcc46.patch'
+ 'glib2.patch'
+ 'zlib.patch')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ patch -p1 -i ../gcc46.patch
+ patch -p1 -i ../glib2.patch
+ patch -p1 -i ../zlib.patch
+
+ ./configure \
+ PKG_CONFIG=/usr/bin/pkg-config \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --disable-schemas-install \
+ --disable-gucharmap \
+ --disable-festival \
+ --disable-updateinfo \
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
+md5sums=('0a9abf1936c43a3ee255802c75267f1a'
+ '52ff47441c503de07add4b7688510bc5'
+ 'b2f216897c9053c7e4666c3d78705cf1'
+ 'ee26dce70fc83b3ce86e5100fede7fad')
diff --git a/community/stardict/gcc46.patch b/community/stardict/gcc46.patch
new file mode 100644
index 000000000..944b9635c
--- /dev/null
+++ b/community/stardict/gcc46.patch
@@ -0,0 +1,11 @@
+diff -aur old/dict/stardict-plugins/stardict-wordnet-plugin/utils.h new/dict/stardict-plugins/stardict-wordnet-plugin/utils.h
+--- old/dict/stardict-plugins/stardict-wordnet-plugin/utils.h 2011-07-18 06:58:58.519404744 -0700
++++ new/dict/stardict-plugins/stardict-wordnet-plugin/utils.h 2011-07-18 07:01:10.739734313 -0700
+@@ -26,6 +26,7 @@
+ #ifndef __TYPES_H__
+ #define __TYPES_H__
+
++#include <cstddef>
+ #include <math.h>
+
+ typedef float single;
diff --git a/community/stardict/glib2.patch b/community/stardict/glib2.patch
new file mode 100644
index 000000000..bd0f6bac8
--- /dev/null
+++ b/community/stardict/glib2.patch
@@ -0,0 +1,36 @@
+diff -Naur old/dict/configure.ac new/dict/configure.ac
+--- old/dict/configure.ac 2011-07-03 16:58:40.000000000 +1000
++++ new/dict/configure.ac 2012-07-12 22:31:52.875176842 +1000
+@@ -266,6 +266,9 @@
+ fi
+ AC_SUBST(WIKI_PARSEDATA_PLUGIN_DIR)
+
++GMODULE2_LIBS=`pkg-config --libs gmodule-2.0`
++AC_SUBST([GMODULE2_LIBS])
++
+ dnl ================================================================
+ dnl main program checks.
+ dnl ================================================================
+diff -Naur old/dict/src/Makefile.am new/dict/src/Makefile.am
+--- old/dict/src/Makefile.am 2011-07-03 16:58:40.000000000 +1000
++++ new/dict/src/Makefile.am 2012-07-12 22:29:53.714870692 +1000
+@@ -33,7 +33,7 @@
+ stardict_DEPENDENCIES = lib/libstardict.la $(LOCAL_SIGCPP_LIBFILE)
+ stardict_LDFLAGS =
+ ## place libstardict.la before any system library, otherwise build with --as-needed linker option may fail
+-stardict_LDADD = lib/libstardict.la $(STARDICT_LIBS) $(LOCAL_SIGCPP_LIBFILE)
++stardict_LDADD = lib/libstardict.la $(STARDICT_LIBS) $(LOCAL_SIGCPP_LIBFILE) $(GMODULE2_LIBS)
+
+ if !GNOME_SUPPORT
+ if MAEMO_SUPPORT
+diff -Naur old/dict/src/tomboykeybinder.h new/dict/src/tomboykeybinder.h
+--- old/dict/src/tomboykeybinder.h 2011-07-03 16:58:40.000000000 +1000
++++ new/dict/src/tomboykeybinder.h 2012-07-12 22:28:04.337920391 +1000
+@@ -21,7 +21,6 @@
+ #ifndef __TOMBOY_KEY_BINDER_H__
+ #define __TOMBOY_KEY_BINDER_H__
+
+-#include <glib.h>
+
+ G_BEGIN_DECLS
+
diff --git a/community/stardict/zlib.patch b/community/stardict/zlib.patch
new file mode 100644
index 000000000..eb5a9a12a
--- /dev/null
+++ b/community/stardict/zlib.patch
@@ -0,0 +1,35 @@
+diff -Naur old/lib/src/libcommon.cpp new/lib/src/libcommon.cpp
+--- old/lib/src/libcommon.cpp 2012-07-12 11:33:30.343333334 +0000
++++ new/lib/src/libcommon.cpp 2012-07-12 11:34:05.006568754 +0000
+@@ -614,7 +614,7 @@
+ return EXIT_FAILURE;
+ }
+ while(true) {
+- len = gzread(get_impl(in), buf, buffer_size);
++ len = gzread((gzFile)get_impl(in), buf, buffer_size);
+ if(len < 0) {
+ g_critical(read_file_err, arch_file_name, "");
+ return EXIT_FAILURE;
+@@ -871,3 +871,8 @@
+ return res;
+ }
+ }
++
++int gzclose_compat(void * file)
++{
++ return gzclose ((gzFile)file);
++}
+diff -Naur old/lib/src/libcommon.h new/lib/src/libcommon.h
+--- old/lib/src/libcommon.h 2012-07-12 11:33:30.343333334 +0000
++++ new/lib/src/libcommon.h 2012-07-12 11:34:05.006568754 +0000
+@@ -187,8 +187,9 @@
+ typedef ResourceWrapper<FILE, FILE*, int, fclose> File;
+ }
+
++extern int gzclose_compat(void * file);
+ namespace zip {
+-typedef ResourceWrapper<void, void*, int, gzclose> gzFile;
++typedef ResourceWrapper<void, void*, int, gzclose_compat> gzFile;
+ }
+
+ /* Create a new temporary file. Return file name in file name encoding.
diff --git a/community/sunpinyin/PKGBUILD b/community/sunpinyin/PKGBUILD
index ebfb77c2b..01800c6b1 100644
--- a/community/sunpinyin/PKGBUILD
+++ b/community/sunpinyin/PKGBUILD
@@ -1,19 +1,18 @@
-# $Id: PKGBUILD 79715 2012-11-11 14:12:03Z fyan $
+# $Id: PKGBUILD 81888 2013-01-03 05:18:11Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: Thomas Dziedzic < gostrc at gmail >
pkgname=sunpinyin
-pkgver=2.0.3.20121107
-_commit=cf3fe3d7aa5bb7aa6aa5b870a759af468b6d5b2b
+pkgver=2.0.3.20130103
+_commit=baf4da89ac04c3eb6ea3b8fb1a10f13bf23f3d87
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc="Statistical Language Model based pinyin IME by Sun"
-license=('LGPL' 'APACHE')
+license=('LGPL')
url="http://sunpinyin.googlecode.com"
depends=('sqlite' 'make' 'gcc-libs')
+optdepends=('sunpinyin-data: Statistical language model data from open-gram project for sunpinyin')
makedepends=('git' 'scons' 'intltool')
-source=('http://open-gram.googlecode.com/files/lm_sc.t3g.arpa-20121025.tar.bz2'
- 'http://open-gram.googlecode.com/files/dict.utf8-20120830.tar.bz2')
__gitroot=git://github.com/sunpinyin/sunpinyin.git
__gitname=$pkgname
@@ -37,21 +36,10 @@ build() {
cd "$srcdir/$__gitname-build"
git checkout "$_commit"
- # Build sunpinyin
sed -i -e "1s|python|python2|" python/*.py python/importer/*.py
scons \
--prefix=/usr
-
- # Build sunpinyin-data
- mkdir -p "$srcdir/$__gitname-build/raw"
- ln -sf "$srcdir/lm_sc.t3g.arpa" "$srcdir/$__gitname-build/raw/lm_sc.t3g.arpa"
- ln -sf "$srcdir/dict.utf8" "$srcdir/$__gitname-build/raw/dict.utf8"
-
- ln -sf "$srcdir/$__gitname-build/doc/SLM-inst.mk" "$srcdir/$__gitname-build/raw/Makefile"
- cd "$srcdir/$__gitname-build/raw"
- PATH="$srcdir/$__gitname-build/src:$PATH"
- make
}
package() {
@@ -61,10 +49,5 @@ package() {
--prefix=/usr \
--install-sandbox="$pkgdir" \
install
-
- cd "$srcdir/$__gitname-build/raw"
- make DESTDIR="$pkgdir" install
}
-md5sums=('0586241ca33359ad176c842c90bf563e'
- '52b9a47861bef707f65b682d52e8117f')