summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
Diffstat (limited to 'community')
-rw-r--r--community/amsn/PKGBUILD7
-rw-r--r--community/fcitx-anthy/PKGBUILD6
-rw-r--r--community/fcitx-anthy/fcitx-anthy.install2
-rw-r--r--community/fcitx-googlepinyin/PKGBUILD6
-rw-r--r--community/fcitx-googlepinyin/fcitx-googlepinyin.install2
-rw-r--r--community/fcitx-hangul/PKGBUILD5
-rw-r--r--community/fcitx-hangul/fcitx-hangul.install2
-rw-r--r--community/fcitx-libpinyin/PKGBUILD4
-rw-r--r--community/fcitx-libpinyin/fcitx-libpinyin.install2
-rw-r--r--community/fcitx-rime/PKGBUILD4
-rw-r--r--community/fcitx-rime/fcitx-rime.install2
-rw-r--r--community/fcitx-sunpinyin/PKGBUILD6
-rw-r--r--community/fcitx-sunpinyin/fcitx-sunpinyin.install2
-rw-r--r--community/fcitx-unikey/PKGBUILD8
-rw-r--r--community/fcitx-unikey/fcitx-unikey.install2
-rw-r--r--community/gtkhotkey/PKGBUILD40
-rw-r--r--community/pidgin-lwqq/PKGBUILD6
-rw-r--r--community/pidgin-lwqq/pidgin-lwqq.install2
-rw-r--r--community/python2-imaging/PKGBUILD4
-rw-r--r--community/sage-mathematics/PKGBUILD8
-rw-r--r--community/synapse/PKGBUILD54
-rw-r--r--community/synapse/check-null-exec.patch16
-rw-r--r--community/synapse/fix-check-desktop.patch30
-rw-r--r--community/synapse/synapse.install13
-rwxr-xr-xcommunity/xnoise/PKGBUILD33
-rw-r--r--community/xnoise/xnoise.install13
26 files changed, 239 insertions, 40 deletions
diff --git a/community/amsn/PKGBUILD b/community/amsn/PKGBUILD
index 0d3367dca..6a913e026 100644
--- a/community/amsn/PKGBUILD
+++ b/community/amsn/PKGBUILD
@@ -1,18 +1,19 @@
-# $Id: PKGBUILD 71853 2012-06-02 11:00:55Z jlichtblau $
+# $Id: PKGBUILD 81685 2012-12-26 19:27:13Z foutrelis $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Jeff Mickey <j@codemac.net>
pkgname=amsn
pkgver=0.98.9
-pkgrel=1
+pkgrel=2
pkgdesc="MSN client written in Tcl/Tk"
arch=('i686' 'x86_64')
url="http://amsn.sourceforge.net/"
license=('GPL2')
depends=('tk' 'tls')
makedepends=('libjpeg' 'libpng' 'farstream' 'libv4l')
-optdepends=('farstream: for video conferencing')
+# not compatible with farstream 0.2
+#optdepends=('farstream: for video conferencing')
changelog=$pkgname.changelog
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver-src.tar.bz2
$pkgname-$pkgver-v4l2.patch
diff --git a/community/fcitx-anthy/PKGBUILD b/community/fcitx-anthy/PKGBUILD
index 0adcca773..086398231 100644
--- a/community/fcitx-anthy/PKGBUILD
+++ b/community/fcitx-anthy/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id$
+# $Id: PKGBUILD 81663 2012-12-26 08:40:15Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: lh <jason52lh@gmail.com>
pkgname=fcitx-anthy
pkgver=0.1.1
-pkgrel=1
+pkgrel=2
pkgdesc="Fcitx Wrapper for anthy."
arch=('i686' 'x86_64')
url="http://code.google.com/p/fcitx"
@@ -12,7 +12,7 @@ license=('GPL')
depends=('fcitx>=4.2.5' 'anthy')
makedepends=('cmake' 'intltool')
source=("http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz")
-install='fcitx-anthy.install'
+install=fcitx-anthy.install
build(){
cd "$srcdir"/${pkgname}-${pkgver}
diff --git a/community/fcitx-anthy/fcitx-anthy.install b/community/fcitx-anthy/fcitx-anthy.install
index c0797237a..6b1b64bdd 100644
--- a/community/fcitx-anthy/fcitx-anthy.install
+++ b/community/fcitx-anthy/fcitx-anthy.install
@@ -1,5 +1,5 @@
post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}
post_upgrade() {
diff --git a/community/fcitx-googlepinyin/PKGBUILD b/community/fcitx-googlepinyin/PKGBUILD
index 8e15d8c38..f10ec9238 100644
--- a/community/fcitx-googlepinyin/PKGBUILD
+++ b/community/fcitx-googlepinyin/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 80519 2012-11-23 12:06:38Z fyan $
+# $Id: PKGBUILD 81673 2012-12-26 11:44:06Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
pkgname=fcitx-googlepinyin
pkgver=0.1.6
-pkgrel=2
+pkgrel=3
pkgdesc="Fcitx Wrapper for googlepinyin"
arch=('i686' 'x86_64')
url="http://code.google.com/p/fcitx"
@@ -11,7 +11,7 @@ license=('GPL')
depends=('fcitx>=4.2.0' 'libgooglepinyin>=0.1.2')
makedepends=('cmake' 'intltool')
source=("http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz")
-install='fcitx-googlepinyin.install'
+install=fcitx-googlepinyin.install
md5sums=('7ee33bbb66d29536819b0d2f73b69713')
build() {
diff --git a/community/fcitx-googlepinyin/fcitx-googlepinyin.install b/community/fcitx-googlepinyin/fcitx-googlepinyin.install
index c0797237a..6b1b64bdd 100644
--- a/community/fcitx-googlepinyin/fcitx-googlepinyin.install
+++ b/community/fcitx-googlepinyin/fcitx-googlepinyin.install
@@ -1,5 +1,5 @@
post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}
post_upgrade() {
diff --git a/community/fcitx-hangul/PKGBUILD b/community/fcitx-hangul/PKGBUILD
index 9cadde6a5..6f706043a 100644
--- a/community/fcitx-hangul/PKGBUILD
+++ b/community/fcitx-hangul/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 81140 2012-12-12 01:20:35Z fyan $
+# $Id: PKGBUILD 81667 2012-12-26 11:35:33Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
pkgname=fcitx-hangul
pkgver=0.2.0
-pkgrel=1
+pkgrel=2
pkgdesc="Hangul (Korean) support for fcitx"
arch=('i686' 'x86_64')
url="http://code.google.com/p/fcitx/"
@@ -31,5 +31,4 @@ package() {
make DESTDIR="$pkgdir" install
}
-
md5sums=('168b51487797879cf41ed6f6d086694a')
diff --git a/community/fcitx-hangul/fcitx-hangul.install b/community/fcitx-hangul/fcitx-hangul.install
index c0797237a..6b1b64bdd 100644
--- a/community/fcitx-hangul/fcitx-hangul.install
+++ b/community/fcitx-hangul/fcitx-hangul.install
@@ -1,5 +1,5 @@
post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}
post_upgrade() {
diff --git a/community/fcitx-libpinyin/PKGBUILD b/community/fcitx-libpinyin/PKGBUILD
index cfa311719..875b3f05f 100644
--- a/community/fcitx-libpinyin/PKGBUILD
+++ b/community/fcitx-libpinyin/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 80511 2012-11-23 11:30:00Z fyan $
+# $Id: PKGBUILD 81661 2012-12-26 06:37:02Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: poplarch <poplarch@gmail.com>
pkgname=fcitx-libpinyin
pkgver=0.2.1
-pkgrel=2
+pkgrel=3
pkgdesc="Fcitx Wrapper for libpinyin, Library to deal with pinyin"
arch=('i686' 'x86_64')
url="https://github.com/fcitx/fcitx-libpinyin"
diff --git a/community/fcitx-libpinyin/fcitx-libpinyin.install b/community/fcitx-libpinyin/fcitx-libpinyin.install
index c0797237a..6b1b64bdd 100644
--- a/community/fcitx-libpinyin/fcitx-libpinyin.install
+++ b/community/fcitx-libpinyin/fcitx-libpinyin.install
@@ -1,5 +1,5 @@
post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}
post_upgrade() {
diff --git a/community/fcitx-rime/PKGBUILD b/community/fcitx-rime/PKGBUILD
index 6d9cee68c..69d666fa7 100644
--- a/community/fcitx-rime/PKGBUILD
+++ b/community/fcitx-rime/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id$
+# $Id: PKGBUILD 81659 2012-12-26 06:28:38Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: lh <jason52lh@gmail.com>
pkgname=fcitx-rime
pkgver=0.1.2
-pkgrel=2
+pkgrel=3
_rimever=0.9.3
pkgdesc="Fcitx Wrapper for librime"
arch=('i686' 'x86_64')
diff --git a/community/fcitx-rime/fcitx-rime.install b/community/fcitx-rime/fcitx-rime.install
index c0797237a..6b1b64bdd 100644
--- a/community/fcitx-rime/fcitx-rime.install
+++ b/community/fcitx-rime/fcitx-rime.install
@@ -1,5 +1,5 @@
post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}
post_upgrade() {
diff --git a/community/fcitx-sunpinyin/PKGBUILD b/community/fcitx-sunpinyin/PKGBUILD
index 25539e1ff..b281b2246 100644
--- a/community/fcitx-sunpinyin/PKGBUILD
+++ b/community/fcitx-sunpinyin/PKGBUILD
@@ -1,14 +1,14 @@
-# $Id: PKGBUILD 80506 2012-11-23 11:24:07Z fyan $
+# $Id: PKGBUILD 81657 2012-12-26 06:18:47Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
pkgname=fcitx-sunpinyin
pkgver=0.3.9
-pkgrel=2
+pkgrel=3
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'
+install=fcitx-sunpinyin.install
depends=('fcitx>=4.2.5' 'sunpinyin>2.0.3')
makedepends=('cmake' 'intltool')
source=("http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz")
diff --git a/community/fcitx-sunpinyin/fcitx-sunpinyin.install b/community/fcitx-sunpinyin/fcitx-sunpinyin.install
index c0797237a..6b1b64bdd 100644
--- a/community/fcitx-sunpinyin/fcitx-sunpinyin.install
+++ b/community/fcitx-sunpinyin/fcitx-sunpinyin.install
@@ -1,5 +1,5 @@
post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}
post_upgrade() {
diff --git a/community/fcitx-unikey/PKGBUILD b/community/fcitx-unikey/PKGBUILD
index b2cd0abf7..6c9c4b98b 100644
--- a/community/fcitx-unikey/PKGBUILD
+++ b/community/fcitx-unikey/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 80099 2012-11-16 03:00:26Z fyan $
+# $Id: PKGBUILD 81669 2012-12-26 11:38:22Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
pkgname=fcitx-unikey
pkgver=0.1.1
-pkgrel=2
+pkgrel=3
pkgdesc="Fcitx Wrapper for unikey"
arch=('i686' 'x86_64')
url="http://code.google.com/p/fcitx"
@@ -11,8 +11,8 @@ license=('GPL')
depends=('fcitx>=4.2.3')
optdepends=('qt: To run the fcitx unikey macro editor')
makedepends=('cmake' 'intltool' 'qt')
-source=(http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz)
-install='fcitx-unikey.install'
+source=("http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz")
+install=fcitx-unikey.install
build(){
cd "$srcdir/${pkgname}-${pkgver}"
diff --git a/community/fcitx-unikey/fcitx-unikey.install b/community/fcitx-unikey/fcitx-unikey.install
index c0797237a..6b1b64bdd 100644
--- a/community/fcitx-unikey/fcitx-unikey.install
+++ b/community/fcitx-unikey/fcitx-unikey.install
@@ -1,5 +1,5 @@
post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}
post_upgrade() {
diff --git a/community/gtkhotkey/PKGBUILD b/community/gtkhotkey/PKGBUILD
new file mode 100644
index 000000000..ea0b42b8d
--- /dev/null
+++ b/community/gtkhotkey/PKGBUILD
@@ -0,0 +1,40 @@
+# $Id: PKGBUILD 81675 2012-12-26 12:18:55Z fyan $
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+# Contributor: kiefer <jorgelmadrid@gmail.com>
+# Contributor: Alessio Sergi <asergi at archlinux dot us>
+# Contributor: Gaute Hope <eg@gaute.vetsj.com>
+# Contributor: Marcos Heredia <chelqo@gmail.com>
+
+pkgname=gtkhotkey
+pkgver=0.2.1
+pkgrel=8
+pkgdesc="Platform independent hotkey handling for Gtk+ applications"
+arch=('i686' 'x86_64')
+url="https://launchpad.net/gtkhotkey"
+license=('LGPL3')
+depends=('gtk2')
+makedepends=('intltool')
+options=('!libtool')
+source=("http://launchpad.net/$pkgname/0.2/$pkgver/+download/$pkgname-$pkgver.tar.gz")
+md5sums=('bfdc73e68e9adbe0d506d31a25862914')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # doc path fix
+ sed -i '/gtkhotkeydocdir/s/\${prefix}/\${datadir}/g' Makefile.{am,in}
+
+ # glib2 fix
+ sed -i 's|glib/gquark\.h|glib.h|' src/gtk-hotkey-error.h
+ sed -i 's|glib/gtypes\.h|glib.h|' src/x11/tomboykeybinder.h
+
+ ./configure --prefix=/usr \
+ --disable-static
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/community/pidgin-lwqq/PKGBUILD b/community/pidgin-lwqq/PKGBUILD
index c6280985b..1d65995fb 100644
--- a/community/pidgin-lwqq/PKGBUILD
+++ b/community/pidgin-lwqq/PKGBUILD
@@ -1,15 +1,15 @@
-# $Id: PKGBUILD 81454 2012-12-21 09:33:44Z fyan $
+# $Id: PKGBUILD 81655 2012-12-26 06:16:37Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
pkgname=pidgin-lwqq
pkgver=0.1a
_pkgver=0.1-a
-pkgrel=2
+pkgrel=3
pkgdesc="A pidgin plugin based on lwqq, a excellent safe useful library for webqq protocol"
arch=('i686' 'x86_64')
url="https://github.com/xiehuc/pidgin-lwqq"
license=('GPL3')
-depends=('libpurple' 'curl' 'libev' 'hicolor-icon-theme')
+depends=('libpurple' 'curl' 'libev' 'hicolor-icon-theme' 'gtk-update-icon-cache')
optdepends=('telepathy-haze: Empathy plugin support')
makedepends=('git' 'cmake')
install=$pkgname.install
diff --git a/community/pidgin-lwqq/pidgin-lwqq.install b/community/pidgin-lwqq/pidgin-lwqq.install
index c0797237a..6b1b64bdd 100644
--- a/community/pidgin-lwqq/pidgin-lwqq.install
+++ b/community/pidgin-lwqq/pidgin-lwqq.install
@@ -1,5 +1,5 @@
post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}
post_upgrade() {
diff --git a/community/python2-imaging/PKGBUILD b/community/python2-imaging/PKGBUILD
index aa479aafc..c5cb6db71 100644
--- a/community/python2-imaging/PKGBUILD
+++ b/community/python2-imaging/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 81607 2012-12-25 00:34:12Z foutrelis $
+# $Id: PKGBUILD 81687 2012-12-26 19:34:45Z foutrelis $
# Maintainer: Kyle Keen <keenerd@gmail.com>
# Contributor: Stéphane Gaudreault <stephane@archlinux.org>
# Contributor: Allan McRae <allan@archlinux.org>
@@ -6,7 +6,7 @@
pkgname=python2-imaging
pkgver=1.1.7
-pkgrel=6
+pkgrel=7
pkgdesc="PIL. Provides image processing capabilities for python"
arch=('i686' 'x86_64')
url="http://www.pythonware.com/products/pil/index.htm"
diff --git a/community/sage-mathematics/PKGBUILD b/community/sage-mathematics/PKGBUILD
index a0f739560..feea10efe 100644
--- a/community/sage-mathematics/PKGBUILD
+++ b/community/sage-mathematics/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 81283 2012-12-16 01:26:32Z dwallace $
+# $Id: PKGBUILD 81694 2012-12-27 00:16:01Z dwallace $
# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
# Contributor: Antonio Rojas < nqn1976 @ gmail.com >
# Contributor: Thomas Dziedzic < gostrc at gmail >
@@ -7,7 +7,7 @@
# Special thanks to Nareto for moving the compile from the .install to the PKGBUILD
pkgname=sage-mathematics
-pkgver=5.4.1
+pkgver=5.5
pkgrel=1
pkgdesc='SAGE: Open Source Mathematics Software, a viable free alternative to Magma, Maple, Mathematica, and Matlab.'
url='http://www.sagemath.org'
@@ -23,6 +23,8 @@ options=('!makeflags')
install="${pkgname}.install"
source=("http://sage.math.washington.edu/home/release/sage-${pkgver}/sage-${pkgver}.tar"
'SAGE-notebook.desktop')
+md5sums=('1162b607cf42859e31e81591600960d3'
+ 'b82f94383829eee26648feb977e2d89b')
build() {
cd sage-${pkgver}
@@ -95,5 +97,3 @@ package() {
}
# vim :set ts=2 sw=2 et:
-md5sums=('069fa0c705a253710a66f76ee9d6168e'
- 'b82f94383829eee26648feb977e2d89b')
diff --git a/community/synapse/PKGBUILD b/community/synapse/PKGBUILD
new file mode 100644
index 000000000..c54dbcd3a
--- /dev/null
+++ b/community/synapse/PKGBUILD
@@ -0,0 +1,54 @@
+# $Id: PKGBUILD 81698 2012-12-27 01:23:31Z fyan $
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+# Contributor: Alessio Sergi <asergi at archlinux dot us>
+
+pkgname=synapse
+pkgver=0.2.10
+pkgrel=3
+pkgdesc="A semantic file launcher"
+arch=('i686' 'x86_64')
+url="https://launchpad.net/synapse-project"
+license=('GPL3')
+depends=('gtkhotkey' 'hicolor-icon-theme' 'json-glib' 'libgee' 'libnotify' \
+ 'libunique' 'libzeitgeist' 'rest' 'xdg-utils')
+makedepends=('intltool' 'vala')
+optdepends=('banshee: banshee plugin'
+ 'bc: calculator plugin'
+ 'devhelp: documentation plugin'
+ 'gnome-screensaver: screensaver plugin'
+ 'gnome-utils: dictionary plugin'
+ 'openssh: ssh plugin'
+ 'pastebinit: pastebin plugin'
+ 'rhythmbox: rhythmbox plugin'
+ 'xnoise: xnoise plugin')
+install=$pkgname.install
+source=("https://launchpad.net/$pkgname-project/0.2/$pkgver/+download/$pkgname-$pkgver.tar.gz"
+ "fix-check-desktop.patch"
+ "check-null-exec.patch")
+sha1sums=('6e8a800bdbdded4e167734c8e49d95a9e44998ff'
+ 'b64fa4efc4efd01f77f84d19a7a63c10186d0211'
+ 'f494e5b36a77421114ce04b7085369abe5c00d68')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # XDG_CURRENT_DESKTOP fix
+ patch -Np1 -i "$srcdir"/fix-check-desktop.patch
+
+ # don't crash on empty Exec field
+ patch -Np1 -i "$srcdir"/check-null-exec.patch
+
+ # DSO fix
+ export LDFLAGS="$LDFLAGS -lm"
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/community/synapse/check-null-exec.patch b/community/synapse/check-null-exec.patch
new file mode 100644
index 000000000..77820ecbb
--- /dev/null
+++ b/community/synapse/check-null-exec.patch
@@ -0,0 +1,16 @@
+diff -Naur synapse-0.2.10.orig/src/core/desktop-file-service.vala synapse-0.2.10/src/core/desktop-file-service.vala
+--- synapse-0.2.10.orig/src/core/desktop-file-service.vala 2012-03-18 20:02:41.000000000 +0100
++++ synapse-0.2.10/src/core/desktop-file-service.vala 2012-12-26 18:07:55.962276823 +0100
+@@ -125,7 +125,11 @@
+ }
+
+ name = app_info.get_name ();
+- exec = app_info.get_executable ();
++ exec = app_info.get_commandline ();
++ if (exec == null)
++ {
++ throw new DesktopFileError.UNINTERESTING_ENTRY ("Unable to get exec for %s".printf (name));
++ }
+
+ // check for hidden desktop files
+ if (keyfile.has_key (GROUP, "Hidden") &&
diff --git a/community/synapse/fix-check-desktop.patch b/community/synapse/fix-check-desktop.patch
new file mode 100644
index 000000000..16e039b48
--- /dev/null
+++ b/community/synapse/fix-check-desktop.patch
@@ -0,0 +1,30 @@
+diff -Naur synapse-0.2.10.orig/src/core/desktop-file-service.vala synapse-0.2.10/src/core/desktop-file-service.vala
+--- synapse-0.2.10.orig/src/core/desktop-file-service.vala 2012-03-18 20:02:41.000000000 +0100
++++ synapse-0.2.10/src/core/desktop-file-service.vala 2012-03-19 12:06:43.080443401 +0100
+@@ -248,13 +248,23 @@
+
+ private void get_environment_type ()
+ {
+- unowned string? session_var = Environment.get_variable ("DESKTOP_SESSION");
+-
++ unowned string? session_var;
++ session_var = Environment.get_variable ("XDG_CURRENT_DESKTOP");
++ if (session_var == null)
++ {
++ session_var = Environment.get_variable ("DESKTOP_SESSION");
++ }
++
+ if (session_var == null) return;
+
+ string session = session_var.down ();
+
+- if (session.has_prefix ("kde"))
++ if (session.has_prefix ("unity"))
++ {
++ session_type = DesktopFileInfo.EnvironmentType.UNITY;
++ session_type_str = "Unity";
++ }
++ else if (session.has_prefix ("kde"))
+ {
+ session_type = DesktopFileInfo.EnvironmentType.KDE;
+ session_type_str = "KDE";
diff --git a/community/synapse/synapse.install b/community/synapse/synapse.install
new file mode 100644
index 000000000..704cb339e
--- /dev/null
+++ b/community/synapse/synapse.install
@@ -0,0 +1,13 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &>/dev/null
+}
+
+post_upgrade() {
+ post_install "$1"
+}
+
+post_remove() {
+ post_install "$1"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/community/xnoise/PKGBUILD b/community/xnoise/PKGBUILD
new file mode 100755
index 000000000..e44b7b3f7
--- /dev/null
+++ b/community/xnoise/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+# Contributor: archtux <antonio dot arias99999 at gmail dot com>
+
+pkgname=xnoise
+pkgver=0.2.14
+pkgrel=5
+pkgdesc="Media player with a slick GUI, great speed and lots of features."
+arch=('i686' 'x86_64')
+url="http://www.xnoise-media-player.com/"
+license=('GPL2')
+depends=('desktop-file-utils' 'gnome-icon-theme' 'gstreamer0.10-base-plugins' 'gtk3' 'libsoup' 'sqlite' 'taglib')
+makedepends=('gettext' 'intltool')
+options=('!libtool')
+install=$pkgname.install
+source=("https://bitbucket.org/shuerhaaken/xnoise/downloads/$pkgname-$pkgver.tar.gz")
+md5sums=('774b52c94d5b1d3de963307835ade35b')
+
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+
+ # Remove obsolete files
+ rm -rf $pkgdir/usr/include $pkgdir/usr/share/vala
+}
diff --git a/community/xnoise/xnoise.install b/community/xnoise/xnoise.install
new file mode 100644
index 000000000..8f2bcd263
--- /dev/null
+++ b/community/xnoise/xnoise.install
@@ -0,0 +1,13 @@
+
+post_install() {
+ gtk-update-icon-cache -t -f /usr/share/icons/hicolor
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}