From b863c91c6c9218e2ad9458231b24385be177ed08 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 12 Nov 2012 01:31:01 -0800 Subject: Mon Nov 12 01:30:54 PST 2012 --- community/avant-window-navigator/688_687.diff | 23 ++++++ community/avant-window-navigator/821_820.diff | 96 ++++++++++++++++++++++ community/avant-window-navigator/824_823.diff | 40 +++++++++ community/avant-window-navigator/PKGBUILD | 67 +++++++++++++++ .../avant-window-navigator.install | 22 +++++ community/dbmail/PKGBUILD | 7 +- community/dbmail/dbmail.tmpfiles | 1 + community/dcron/PKGBUILD | 6 +- community/dcron/service | 1 + community/fcitx-anthy/PKGBUILD | 32 ++++++++ community/fcitx-anthy/fcitx-anthy.install | 11 +++ community/fcitx-chewing/PKGBUILD | 29 +++++++ community/fcitx-sunpinyin/PKGBUILD | 31 +++++++ community/fcitx-sunpinyin/fcitx-sunpinyin.install | 11 +++ community/gtkdatabox/PKGBUILD | 22 +++-- community/ibus-sunpinyin/PKGBUILD | 48 +++++++---- community/ibus-table/PKGBUILD | 9 +- community/knemo/PKGBUILD | 6 +- community/libdesktop-agnostic/PKGBUILD | 36 ++++++++ community/pdns/PKGBUILD | 8 +- community/pdns/pdns.conf | 9 -- community/puzzles/PKGBUILD | 4 +- community/radeontool/PKGBUILD | 8 +- community/shotwell/PKGBUILD | 6 +- community/sunpinyin/PKGBUILD | 20 ++--- 25 files changed, 482 insertions(+), 71 deletions(-) create mode 100644 community/avant-window-navigator/688_687.diff create mode 100644 community/avant-window-navigator/821_820.diff create mode 100644 community/avant-window-navigator/824_823.diff create mode 100644 community/avant-window-navigator/PKGBUILD create mode 100644 community/avant-window-navigator/avant-window-navigator.install create mode 100644 community/dbmail/dbmail.tmpfiles create mode 100644 community/fcitx-anthy/PKGBUILD create mode 100644 community/fcitx-anthy/fcitx-anthy.install create mode 100644 community/fcitx-chewing/PKGBUILD create mode 100644 community/fcitx-sunpinyin/PKGBUILD create mode 100644 community/fcitx-sunpinyin/fcitx-sunpinyin.install create mode 100644 community/libdesktop-agnostic/PKGBUILD (limited to 'community') diff --git a/community/avant-window-navigator/688_687.diff b/community/avant-window-navigator/688_687.diff new file mode 100644 index 000000000..34c5b8fa4 --- /dev/null +++ b/community/avant-window-navigator/688_687.diff @@ -0,0 +1,23 @@ +=== modified file 'libawn/awn-applet-simple.c' +--- libawn/awn-applet-simple.c 2010-01-10 14:43:43 +0000 ++++ libawn/awn-applet-simple.c 2010-04-11 21:08:28 +0000 +@@ -393,16 +393,16 @@ + GStrv states, + GStrv icon_names) + { +- gchar *applet_name; ++ gchar *applet_name=NULL; + + g_return_if_fail (AWN_IS_APPLET_SIMPLE (applet)); +- g_return_if_fail (applet_name); + g_return_if_fail (states); + g_return_if_fail (icon_names); + + g_object_get (applet, + "canonical-name",&applet_name, + NULL); ++ g_return_if_fail (applet_name); + applet->priv->last_set_icon = ICON_THEMED_MANY; + awn_themed_icon_set_size (AWN_THEMED_ICON (applet->priv->icon), + awn_applet_get_size (AWN_APPLET (applet))); + diff --git a/community/avant-window-navigator/821_820.diff b/community/avant-window-navigator/821_820.diff new file mode 100644 index 000000000..bd8c5b279 --- /dev/null +++ b/community/avant-window-navigator/821_820.diff @@ -0,0 +1,96 @@ +=== modified file 'awn-settings/awnClass.py' +--- awn-settings/awnClass.py 2010-08-24 00:21:51 +0000 ++++ awn-settings/awnClass.py 2011-02-13 23:43:42 +0000 +@@ -53,9 +53,13 @@ + import tempfile + import dbus + +-from bzrlib import branch +-from bzrlib.builtins import cmd_branch, cmd_pull +-from bzrlib.plugins.launchpad.lp_directory import LaunchpadDirectory ++try: ++ from bzrlib import branch ++ from bzrlib.builtins import cmd_branch, cmd_pull ++ from bzrlib.plugins.launchpad.lp_directory import LaunchpadDirectory ++ support_bzr = True ++except: ++ support_bzr = False + + defs.i18nize(globals()) + +@@ -127,8 +131,11 @@ + path: a url from a branch + return: the http format of a lp: format, or the same url + ''' +- directory = LaunchpadDirectory() +- return directory._resolve(path).replace("bzr+ssh","http") ++ if support_bzr == True: ++ directory = LaunchpadDirectory() ++ return directory._resolve(path).replace("bzr+ssh","http") ++ else: ++ return path + + def read_list(self, file_path): + ''' Read a flat file and return the content in a list +@@ -148,34 +155,44 @@ + path: the path of the branch + bzr_dir: the location of the futur tree. + ''' +- if os.path.exists(path): +- print ("Error, the path already exist") ++ if support_bzr == False: ++ print (_("Bzr support is not enable, try to install bzr")) + else: +- try: +- bzr_branch = cmd_branch() +- status = StringIO() +- status = bzr_branch._setup_outf() +- bzr_branch.run(from_location=self.lp_path_normalize(bzr_dir), to_location=path) +- except socket.gaierror: +- print 'Socket error, could not create branch.' ++ if os.path.exists(path): ++ print (_("Error, the path already exist")) ++ else: ++ try: ++ bzr_branch = cmd_branch() ++ status = StringIO() ++ status = bzr_branch._setup_outf() ++ bzr_branch.run(from_location=self.lp_path_normalize(bzr_dir), to_location=path) ++ except socket.gaierror: ++ print (_('Socket error, could not create branch.')) + + def update_branch(self, path): + ''' Update a local branch + path: Location of the branch + Return the output of the command + ''' +- bzr_pull = cmd_pull() +- status = StringIO() +- status = bzr_pull._setup_outf() +- bzr_pull.run(directory=path) ++ if support_bzr == False: ++ print (_("Bzr support is not enable, try to install bzr")) ++ else: ++ bzr_pull = cmd_pull() ++ status = StringIO() ++ status = bzr_pull._setup_outf() ++ bzr_pull.run(directory=path) + + def get_revision_from_path(self, path): + ''' Return the last revision number of the branch + specify with path parameter + ''' +- tree = branch.Branch.open(path) +- revision_number, revision_id = tree.last_revision_info() +- return revision_number ++ if support_bzr == False: ++ print (_("Bzr support is not enable, try to install bzr")) ++ return 0 ++ else: ++ tree = branch.Branch.open(path) ++ revision_number, revision_id = tree.last_revision_info() ++ return revision_number + + #Sources.list + def dict_from_sources_list(self, config=defs.HOME_CONFIG_DIR): + diff --git a/community/avant-window-navigator/824_823.diff b/community/avant-window-navigator/824_823.diff new file mode 100644 index 000000000..290b4ad6d --- /dev/null +++ b/community/avant-window-navigator/824_823.diff @@ -0,0 +1,40 @@ +=== modified file 'applets/taskmanager/task-manager.c' +--- applets/taskmanager/task-manager.c 2011-01-15 16:44:44 +0000 ++++ applets/taskmanager/task-manager.c 2011-03-12 21:42:33 +0000 +@@ -1611,11 +1611,6 @@ + g_debug ("%s: Window opened: %s",__func__,wnck_window_get_name (window)); + g_debug ("xid = %lu, pid = %d",wnck_window_get_xid (window),wnck_window_get_pid (window)); + #endif +- /* +- for some reason the skip tasklist property for the taskmanager toggles briefly +- off and on in certain circumstances. Nip this in the bud. +- TODO: Investigate wth this is happening... it bothers me. +- */ + // if ( wnck_window_get_pid (window) == getpid() || + if ( g_strcmp0 (wnck_window_get_name (window),"awn-applet")==0 ) + { +@@ -1626,11 +1621,6 @@ + */ + g_signal_connect (window, "state-changed", G_CALLBACK (on_window_state_changed), manager); + +- if (wnck_window_is_skip_tasklist (window)) +- { +- return; +- } +- + g_signal_connect (window, "state-changed", + G_CALLBACK (check_attention_requested), manager); + +@@ -1798,6 +1787,11 @@ + g_return_if_fail (TASK_IS_MANAGER (manager)); + g_return_if_fail (WNCK_IS_WINDOW (window)); + ++ if (wnck_window_is_skip_tasklist(window)) ++ { ++ return; ++ } ++ + _wnck_get_wmclass (wnck_window_get_xid (window), + &res_name, &class_name); + if (get_special_wait_from_window_data (res_name, + diff --git a/community/avant-window-navigator/PKGBUILD b/community/avant-window-navigator/PKGBUILD new file mode 100644 index 000000000..8f8562a69 --- /dev/null +++ b/community/avant-window-navigator/PKGBUILD @@ -0,0 +1,67 @@ +# $Id: PKGBUILD 79700 2012-11-11 10:30:00Z bgyorgy $ +# Maintainer: Balló György +# Contributor: Jaroslav Lichtblau +# Contributor: Timm Preetz +# Contributor: Daniel J Griffiths + +pkgname=avant-window-navigator +pkgver=0.4.0 +pkgrel=13 +pkgdesc="Fully customisable dock-like window navigator for GNOME" +arch=('i686' 'x86_64') +url="https://launchpad.net/awn" +license=('GPL') +depends=('libdesktop-agnostic' 'libwnck' 'libgtop' 'gconf' 'python2-dbus' 'pygtk' 'python2-xdg' 'hicolor-icon-theme' 'xdg-utils') +makedepends=('gtk-doc' 'vala' 'intltool') +options=('!libtool') +install=$pkgname.install +source=(http://launchpad.net/awn/0.4/$pkgver/+download/$pkgname-$pkgver.tar.gz + 688_687.diff + 821_820.diff + 824_823.diff) +md5sums=('03654b45dd95cbb83fa7e112bd00523c' + '6b05ccb539f811729820d5545eb50d6e' + '2cc0ecf9fccb6e559a98003715ebf6df' + 'd068c19503b7be1868bcce5dab003628') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # Fix uninitialised pointer + # https://bugs.launchpad.net/awn/+bug/562499 + patch -Np0 -i "$srcdir/688_687.diff" + + # Remove bzr dependency + # https://bugs.launchpad.net/awn/+bug/707863 + patch -Np0 -i "$srcdir/821_820.diff" + + # Hide windows with skip taskbar state + # https://bugs.launchpad.net/awn/+bug/707863 + patch -Np0 -i "$srcdir/824_823.diff" + + # Python2 fix + sed -i 's@^#!.*python$@#!/usr/bin/python2@' awn-settings/{awnSettings.py.in,awnSettingsHelper.py} + sed -i 's/with ("python"/with ("python2"/' applet-activation/main.c + + autoreconf -fi + ./configure --prefix=/usr --sysconfdir=/etc \ + --disable-static \ + PYTHON=/usr/bin/python2 + make +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + + make check +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install + + install -m755 -d "$pkgdir/usr/share/gconf/schemas" + gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/awn.schemas" "$pkgdir"/etc/gconf/schemas/*.schemas + rm -r "$pkgdir/etc" +} diff --git a/community/avant-window-navigator/avant-window-navigator.install b/community/avant-window-navigator/avant-window-navigator.install new file mode 100644 index 000000000..f5473a092 --- /dev/null +++ b/community/avant-window-navigator/avant-window-navigator.install @@ -0,0 +1,22 @@ +pkgname=awn + +post_install() { + gconfpkg --install $pkgname + xdg-icon-resource forceupdate +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + gconfpkg --uninstall $pkgname +} + +post_remove() { + xdg-icon-resource forceupdate +} diff --git a/community/dbmail/PKGBUILD b/community/dbmail/PKGBUILD index 665ec24e3..170e4487c 100644 --- a/community/dbmail/PKGBUILD +++ b/community/dbmail/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 79626 2012-11-09 09:24:51Z spupykin $ +# $Id: PKGBUILD 79734 2012-11-11 19:36:41Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Sebastian Faltoni pkgname=dbmail pkgver=3.0.2 -pkgrel=6 +pkgrel=7 pkgdesc="Fast and scalable sql based mail services" arch=('i686' 'x86_64') depends=('gmime24' 'libzdb' 'mhash' 'libevent') @@ -22,6 +22,7 @@ backup=(etc/conf.d/dbmail) source=(http://www.dbmail.org/download/3.0/dbmail-${pkgver/_/-}.tar.gz dbmail.conf.d dbmail.rc.d + dbmail.tmpfiles dbmail-imapd.service dbmail-lmtpd.service dbmail-pop3d.service @@ -29,6 +30,7 @@ source=(http://www.dbmail.org/download/3.0/dbmail-${pkgver/_/-}.tar.gz md5sums=('eb32235abffdf967253ee9d004e0e4a9' 'e7f72bc360decdb2475266391ad12329' '30774513fb016b9da08e9cf6f2a0b8e7' + 'c4b5793c5422b62a675d4c66ff7e9300' '84efa46eaac66057c4eb131d9bc27fa8' '19560277f6a56d1f3f2fdb02315dcf0f' '89a0f793737eaf36291409f8c840891e' @@ -58,4 +60,5 @@ package() { install -Dm0644 $srcdir/dbmail-lmtpd.service $pkgdir/usr/lib/systemd/system/dbmail-lmtpd.service install -Dm0644 $srcdir/dbmail-pop3d.service $pkgdir/usr/lib/systemd/system/dbmail-pop3d.service install -Dm0644 $srcdir/dbmail-timsieved.service $pkgdir/usr/lib/systemd/system/dbmail-timsieved.service + install -Dm0644 $srcdir/dbmail.tmpfiles $pkgdir/usr/lib/tmpfiles.d/dbmail.conf } diff --git a/community/dbmail/dbmail.tmpfiles b/community/dbmail/dbmail.tmpfiles new file mode 100644 index 000000000..4b97c91f5 --- /dev/null +++ b/community/dbmail/dbmail.tmpfiles @@ -0,0 +1 @@ +d /run/dbmail 0755 nobody nobody - diff --git a/community/dcron/PKGBUILD b/community/dcron/PKGBUILD index 3b84ce3bf..959da3325 100644 --- a/community/dcron/PKGBUILD +++ b/community/dcron/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 72785 2012-06-22 12:49:56Z dreisner $ +# $Id: PKGBUILD 79754 2012-11-11 21:14:11Z spupykin $ # Maintainer: Bartłomiej Piotrowski # Contributor: Paul Mattal pkgname=dcron pkgver=4.5 -pkgrel=3 +pkgrel=4 pkgdesc="dillon's lightweight cron daemon" arch=('i686' 'x86_64') license=('GPL') @@ -18,7 +18,7 @@ install=$pkgname.install source=(http://www.jimpryor.net/linux/releases/${pkgname}-${pkgver}.tar.gz service) md5sums=('078833f3281f96944fc30392b1888326' - '5a68a7aee883738e7f7f8549481bb297') + 'e43c3d758384ac644f5e19f460ab5f46') build() { cd "$srcdir/${pkgname}-${pkgver}" diff --git a/community/dcron/service b/community/dcron/service index 59fc64b80..47265791e 100644 --- a/community/dcron/service +++ b/community/dcron/service @@ -5,6 +5,7 @@ Description=Periodic Command Scheduler Type=forking EnvironmentFile=/etc/conf.d/crond ExecStart=/usr/sbin/crond $CROND_ARGS +Restart=always [Install] WantedBy=multi-user.target diff --git a/community/fcitx-anthy/PKGBUILD b/community/fcitx-anthy/PKGBUILD new file mode 100644 index 000000000..0adcca773 --- /dev/null +++ b/community/fcitx-anthy/PKGBUILD @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: lh + +pkgname=fcitx-anthy +pkgver=0.1.1 +pkgrel=1 +pkgdesc="Fcitx Wrapper for anthy." +arch=('i686' 'x86_64') +url="http://code.google.com/p/fcitx" +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' + +build(){ + cd "$srcdir"/${pkgname}-${pkgver} + + rm -rf build + mkdir build + cd build + + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. + make +} + +package() { + cd "$srcdir"/${pkgname}-${pkgver}/build + make DESTDIR=${pkgdir} install +} +md5sums=('651e9a21e5203c14ca0968c63a820157') diff --git a/community/fcitx-anthy/fcitx-anthy.install b/community/fcitx-anthy/fcitx-anthy.install new file mode 100644 index 000000000..c0797237a --- /dev/null +++ b/community/fcitx-anthy/fcitx-anthy.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/fcitx-chewing/PKGBUILD b/community/fcitx-chewing/PKGBUILD new file mode 100644 index 000000000..bb6154d8a --- /dev/null +++ b/community/fcitx-chewing/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 79762 2012-11-12 02:32:12Z fyan $ +# Maintainer: Felix Yan + +pkgname=fcitx-chewing +pkgver=0.1.3 +pkgrel=1 +pkgdesc="Fcitx Wrapper for chewing" +arch=('i686' 'x86_64') +url="https://github.com/fcitx/fcitx-chewing" +license=('GPL') +depends=('libchewing' 'fcitx>=4.2.6') +makedepends=('cmake' 'intltool') +source=(http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz) + +build() { + cd "$srcdir"/${pkgname}-${pkgver} + rm -rf build + mkdir build + cd build + + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. + make +} + +package() { + cd "$srcdir"/${pkgname}-${pkgver}/build + make DESTDIR="$pkgdir" install +} +md5sums=('052e3f146b6e2805918c008005fc9591') diff --git a/community/fcitx-sunpinyin/PKGBUILD b/community/fcitx-sunpinyin/PKGBUILD new file mode 100644 index 000000000..bc69e7750 --- /dev/null +++ b/community/fcitx-sunpinyin/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 79725 2012-11-11 15:48:16Z fyan $ +# Maintainer: Felix Yan + +pkgname=fcitx-sunpinyin +pkgver=0.3.9 +pkgrel=1 +pkgdesc="Fcitx Wrapper for sunpinyin." +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') +makedepends=('cmake' 'intltool') +source=(http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz) +md5sums=('de221daa7b3790b22f5a95d7091d0e38') + +build() { + cd "$srcdir/${pkgname}-${pkgver}" + + rm -rf build + mkdir build + cd build + + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. + make +} + +package() { + cd "$srcdir/${pkgname}-${pkgver}/build" + make DESTDIR="${pkgdir}" install +} diff --git a/community/fcitx-sunpinyin/fcitx-sunpinyin.install b/community/fcitx-sunpinyin/fcitx-sunpinyin.install new file mode 100644 index 000000000..c0797237a --- /dev/null +++ b/community/fcitx-sunpinyin/fcitx-sunpinyin.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/gtkdatabox/PKGBUILD b/community/gtkdatabox/PKGBUILD index e5c8ed830..dd2dff854 100644 --- a/community/gtkdatabox/PKGBUILD +++ b/community/gtkdatabox/PKGBUILD @@ -1,24 +1,28 @@ -# $Id: PKGBUILD 73537 2012-07-09 10:13:52Z spupykin $ +# $Id: PKGBUILD 79742 2012-11-11 19:42:10Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: William Rea pkgname=gtkdatabox -pkgver=0.9.1.3 +pkgver=0.9.2.0 pkgrel=1 pkgdesc="A widget for the Gtk+ library designed to display large amounts of numerical data" arch=(i686 x86_64) -url="http://www.eudoxos.net/gtk/gtkdatabox" -options=('!libtool') +url="http://sourceforge.net/projects/gtkdatabox/" license=("LGPL") -depends=('gtk2') -#source=(http://www.eudoxos.net/gtk/gtkdatabox/download/gtkdatabox-$pkgver.tar.gz) +depends=('gtk2' 'libglade') +makedepends=('gtk-doc') +options=('!libtool' 'docs') source=(http://downloads.sourceforge.net/project/gtkdatabox/gtkdatabox/$pkgver/gtkdatabox-$pkgver.tar.gz) -md5sums=('60a3eebd61a4ca36879d7e60d1aca727') +md5sums=('99c1fe9a918ee94e2b6f967cd22a6f5b') build() { cd $srcdir/gtkdatabox-$pkgver - find -name 'Makefile*' -type f -exec sed -i 's#.*DISABLE_DEPRECATED\\#\\#' {} \; - LDFLAGS=-lm ./configure --prefix=/usr + export LDFLAGS=-lm + ./configure --prefix=/usr \ + --enable-gtk-doc \ + --enable-gtk-doc-html \ + --enable-gtk-doc-pdf \ + --enable-libglade make make DESTDIR=$pkgdir install } diff --git a/community/ibus-sunpinyin/PKGBUILD b/community/ibus-sunpinyin/PKGBUILD index 4d6333f3c..396b2adc9 100644 --- a/community/ibus-sunpinyin/PKGBUILD +++ b/community/ibus-sunpinyin/PKGBUILD @@ -1,32 +1,52 @@ -# $Id: PKGBUILD 79175 2012-10-31 06:11:42Z ebelanger $ -# Maintainer: Daniel J Griffiths +# $Id: PKGBUILD 79729 2012-11-11 16:11:46Z fyan $ +# Maintainer: Felix Yan +# Contributor: Daniel J Griffiths pkgname=ibus-sunpinyin -pkgver=2.0.3 -pkgrel=3 -pkgdesc='The SunPinYin Engine for IBus Input Framework. SunPinYin is a Statistical Language Model based pinyin IME by Sun.' +pkgver=2.0.3.20121107 +_commit=cf3fe3d7aa5bb7aa6aa5b870a759af468b6d5b2b +pkgrel=2 +pkgdesc="IBus Wrapper for sunpinyin." arch=('i686' 'x86_64') -url='http://sunpinyin.googlecode.com' +url="http://sunpinyin.googlecode.com" license=('LGPL') -depends=('ibus' 'sunpinyin') -makedepends=('scons') -source=("http://sunpinyin.googlecode.com/files/ibus-sunpinyin-${pkgver}.tar.gz") -md5sums=('e678b2e1ac70c325cfc64c02fef7041f') +depends=('sunpinyin>2.0.3' 'ibus') +makedepends=('git' 'scons') + +__gitroot=git://github.com/sunpinyin/sunpinyin.git +__gitname=sunpinyin build() { - cd "${srcdir}/ibus-sunpinyin-${pkgver}" + cd "$srcdir" + msg "Connecting to GIT server...." + + if [ -d $__gitname ] ; then + cd $__gitname && git pull origin + msg "The local files are updated." + else + git clone $__gitroot + fi + + msg "GIT checkout done or server timeout" + msg "Starting make..." - sed -i 's/python/&2/' setup/ibus-setup-sunpinyin.in + rm -rf "$srcdir/$__gitname-build" + git clone "$srcdir/$__gitname" "$srcdir/$__gitname-build" + cd "$srcdir/$__gitname-build" + git checkout "$_commit" + cd "$srcdir/$__gitname-build/wrapper/ibus" + sed -i -e "s|python|python2|" setup/ibus-setup-sunpinyin.in + scons \ --prefix=/usr } package() { - cd "${srcdir}/ibus-sunpinyin-${pkgver}" + cd "$srcdir/$__gitname-build/wrapper/ibus" scons \ --prefix=/usr \ - --install-sandbox="${pkgdir}" \ + --install-sandbox="$pkgdir" \ install } diff --git a/community/ibus-table/PKGBUILD b/community/ibus-table/PKGBUILD index eb75f17bd..a6e95cf1a 100644 --- a/community/ibus-table/PKGBUILD +++ b/community/ibus-table/PKGBUILD @@ -1,10 +1,11 @@ -# $Id: PKGBUILD 56830 2011-10-14 06:44:36Z ebelanger $ +# $Id: PKGBUILD 79721 2012-11-11 15:10:35Z fyan $ +# Maintainer: Felix Yan # Contributor: coderoar # Contributor: leemars -# Maintainer: Daniel J Griffiths +# Contributor: Daniel J Griffiths pkgname=ibus-table -pkgver=1.3.9.20110827 +pkgver=1.4.99.20121112 pkgrel=1 pkgdesc='The IM Engine framework for table-based input methods, such as ZhengMa, WuBi, ErBi, CangJie and so on.' arch=('i686' 'x86_64') @@ -12,7 +13,6 @@ url="http://code.google.com/p/ibus/" license=('LGPL') depends=('python2-pyenchant' 'ibus' 'aspell-en') source=("http://ibus.googlecode.com/files/${pkgname}-${pkgver}.tar.gz") -md5sums=('251e2c8ace8ed265d780b30755afc163') build() { cd "${srcdir}/${pkgname}-${pkgver}" @@ -32,3 +32,4 @@ package() { make DESTDIR="${pkgdir}" install } +md5sums=('85c3a57bcbb052d3222c5b6d07e0e565') diff --git a/community/knemo/PKGBUILD b/community/knemo/PKGBUILD index cd60f5d43..b7b1a870a 100644 --- a/community/knemo/PKGBUILD +++ b/community/knemo/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 79245 2012-11-01 17:28:21Z lcarlier $ +# $Id: PKGBUILD 79688 2012-11-11 05:39:50Z lcarlier $ # Maintainer: Laurent Carlier # Contributor: Andrea Scarpino # Contributor: Sergej Pupykin # Contributor: Stefano Zamprogno pkgname=knemo -pkgver=0.7.4 +pkgver=0.7.5 pkgrel=1 pkgdesc="The KDE Network Monitor" arch=('i686' 'x86_64') @@ -16,7 +16,7 @@ makedepends=('cmake' 'automoc4') install=${pkgname}.install options=('libtool') source=("http://www.kde-apps.org/CONTENT/content-files/12956-${pkgname}-${pkgver}.tar.bz2") -md5sums=('e6e9aeef6e0fcd934abe000090771fd9') +md5sums=('fc316e8492d97ffc00fc2e2c6caf136d') build() { cd ${srcdir} diff --git a/community/libdesktop-agnostic/PKGBUILD b/community/libdesktop-agnostic/PKGBUILD new file mode 100644 index 000000000..e6848d808 --- /dev/null +++ b/community/libdesktop-agnostic/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 79732 2012-11-11 19:02:50Z bgyorgy $ +# Maintainer: Balló György +# Contributor: Jan "heftig" Steffens +# Contributor: Daniel J Griffiths + +pkgname=libdesktop-agnostic +pkgver=0.3.92 +pkgrel=5 +pkgdesc="Provides an extensible config API, a unified virtual fs API, and a desktop item editor for GLib-based projects" +arch=('i686' 'x86_64') +url="https://launchpad.net/libdesktop-agnostic" +license=('GPL' 'LGPL') +depends=('pygtk') +makedepends=('intltool' 'vala' 'gconf' 'gobject-introspection') +optdepends=('gconf: gconf configuration backend') +options=('!libtool') +backup=(etc/xdg/libdesktop-agnostic/desktop-agnostic.ini) +source=(https://launchpad.net/$pkgname/0.4/$pkgver/+download/$pkgname-$pkgver.tar.gz) +md5sums=('42374d226a21d57637f97173f6b105a1') + +build() { + cd "$srcdir/$pkgname-$pkgver" + export PYTHON=/usr/bin/python2 + + python2 ./waf configure --prefix=/usr --sysconfdir=/etc \ + --config-backends=gconf,keyfile \ + --vfs-backends=gio \ + --desktop-entry-backends=gio,glib + python2 ./waf +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + python2 ./waf install --destdir="$pkgdir" +} diff --git a/community/pdns/PKGBUILD b/community/pdns/PKGBUILD index ebfcc7fd2..1f2e15ba5 100644 --- a/community/pdns/PKGBUILD +++ b/community/pdns/PKGBUILD @@ -1,15 +1,15 @@ -# $Id: PKGBUILD 79608 2012-11-08 22:00:36Z arodseth $ +# $Id: PKGBUILD 79756 2012-11-12 00:04:11Z arodseth $ # Maintainer: Alexander Rødseth # Contributor: Jan de Groot pkgname=pdns pkgver=3.1 -pkgrel=1 +pkgrel=2 pkgdesc="Modern, advanced and high performance authoritative-only nameserver" arch=('x86_64' 'i686') url='http://www.powerdns.com/' license=('GPL') -depends=('gcc-libs' 'zlib' 'postgresql-libs' 'libmysqlclient' 'sqlite' 'libldap' 'lua' 'boost-libs') +depends=('gcc-libs' 'zlib' 'postgresql-libs' 'libmysqlclient' 'sqlite' 'libldap' 'lua' 'boost-libs' 'openmpi' 'hwloc') makedepends=('boost') provides=('pdns-ldap' 'pdns-mysql' 'pdns-sqlite' 'pdns-pgsql') replaces=('pdns-ldap' 'pdns-mysql' 'pdns-sqlite' 'pdns-pgsql') @@ -24,7 +24,7 @@ source=("http://downloads.powerdns.com/releases/$pkgname-$pkgver.tar.gz" sha256sums=('1400f7bd659207c0b1f4b8296092e559a7b7bf6a2434951970217d9af06922a1' '2a60c4407bcfe19026ae77d3e3b7b477d5a0c6323c0bc78892e9d907003b442a' '0457ffa2baa40518a03393e4f76964d9452c16aebbcb925582814f88367d62c2' - 'e3de30584436a063cdff4b4ca77044da06a0737fc333847b3da89370cf763c0c') + '91c8889f41fe9d6bc9478c3ad53a10f6725e36e10f05e8e9257f9d35c9e2bab6') build() { cd "$srcdir/$pkgname-$pkgver" diff --git a/community/pdns/pdns.conf b/community/pdns/pdns.conf index 1bf24e73f..fba6617a6 100644 --- a/community/pdns/pdns.conf +++ b/community/pdns/pdns.conf @@ -279,12 +279,3 @@ webserver=no # # webserver-print-arguments=no -################################# -# wildcard-url Process URL and MBOXFW records -# -# wildcard-url=no - -################################# -# wildcards Honor wildcards in the database -# -wildcards=yes diff --git a/community/puzzles/PKGBUILD b/community/puzzles/PKGBUILD index 24cf8cd24..7d33b4d16 100644 --- a/community/puzzles/PKGBUILD +++ b/community/puzzles/PKGBUILD @@ -3,7 +3,7 @@ # Maintainer: schuay pkgname=puzzles -pkgver=9682 +pkgver=9694 pkgrel=1 pkgdesc="Simon Tatham's Portable Puzzle Collection" arch=('i686' 'x86_64') @@ -38,4 +38,4 @@ package() { mv ${pkgdir}/usr/bin/blackbox ${pkgdir}/usr/bin/puzzles-blackbox } -md5sums=('2a592b4c43d24504be327367008807f7') +md5sums=('f5e7b7b2a1bab3c939bb03e4ff8201c1') diff --git a/community/radeontool/PKGBUILD b/community/radeontool/PKGBUILD index 83793aa62..974ffc8fc 100644 --- a/community/radeontool/PKGBUILD +++ b/community/radeontool/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 64970 2012-02-19 08:18:34Z lcarlier $ +# $Id: PKGBUILD 79686 2012-11-11 05:31:16Z lcarlier $ # Maintainer : Laurent Carlier pkgname=radeontool -pkgver=1.6.2 -pkgrel=2 +pkgver=1.6.3 +pkgrel=1 pkgdesc="Lowlevel tools to tweak register and dump state on radeon GPUs" url="http://airlied.livejournal.com/" arch=('i686' 'x86_64') @@ -11,7 +11,7 @@ license=('ZLIB') source=(http://people.freedesktop.org/~airlied/radeontool/${pkgname}-${pkgver}.tar.gz license.txt) depends=('libpciaccess') -md5sums=('535cf712cd609c361291dd59ca2664aa' +md5sums=('e4bd75da852840a02cb2290804abd717' 'cc74a55d8e998ca9a2537a0ab78bc582') build() { diff --git a/community/shotwell/PKGBUILD b/community/shotwell/PKGBUILD index cab33a565..f156811aa 100644 --- a/community/shotwell/PKGBUILD +++ b/community/shotwell/PKGBUILD @@ -1,18 +1,18 @@ -# $Id: PKGBUILD 79217 2012-11-01 09:41:09Z spupykin $ +# $Id: PKGBUILD 79739 2012-11-11 19:39:26Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer : Ionut Biru # Contributor: Joeny Ang pkgname=shotwell pkgver=0.13.1 -pkgrel=2 +pkgrel=3 pkgdesc="A digital photo organizer designed for the GNOME desktop environment" arch=('i686' 'x86_64') url="http://yorba.org/shotwell/" license=('LGPL2.1') depends=('libgee' 'libunique3' 'libwebkit3' 'libgexiv2' 'libraw' 'rest' 'desktop-file-utils' 'dconf' 'hicolor-icon-theme' 'json-glib' - 'gstreamer0.10-base-plugins') + 'gstreamer0.10-base-plugins' 'libgphoto2') makedepends=('intltool' 'vala>=0.17.2') install=shotwell.install source=("http://yorba.org/download/shotwell/0.13/shotwell-${pkgver}.tar.xz" diff --git a/community/sunpinyin/PKGBUILD b/community/sunpinyin/PKGBUILD index 199f70b2d..ebfb77c2b 100644 --- a/community/sunpinyin/PKGBUILD +++ b/community/sunpinyin/PKGBUILD @@ -1,15 +1,16 @@ -# $Id: PKGBUILD 79672 2012-11-11 01:07:47Z fyan $ +# $Id: PKGBUILD 79715 2012-11-11 14:12:03Z fyan $ # Maintainer: Felix Yan # Contributor: Thomas Dziedzic < gostrc at gmail > -pkgname=('sunpinyin' 'sunpinyin-data') -pkgbase=sunpinyin +pkgname=sunpinyin pkgver=2.0.3.20121107 _commit=cf3fe3d7aa5bb7aa6aa5b870a759af468b6d5b2b pkgrel=1 arch=('i686' 'x86_64') -url="http://sunpinyin.googlecode.com" +pkgdesc="Statistical Language Model based pinyin IME by Sun" license=('LGPL' 'APACHE') +url="http://sunpinyin.googlecode.com" +depends=('sqlite' 'make' 'gcc-libs') 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') @@ -53,23 +54,14 @@ build() { make } -package_sunpinyin() { - pkgdesc="Statistical Language Model based pinyin IME by Sun" - depends=('sqlite' 'make' 'gcc-libs' "sunpinyin-data") - arch=('i686' 'x86_64') +package() { cd "$srcdir/$__gitname-build" scons \ --prefix=/usr \ --install-sandbox="$pkgdir" \ install -} -package_sunpinyin-data() { - pkgver=2.0.3.20121025 - pkgdesc="Statistical Language Model based pinyin IME by Sun - Data files" - depends=("sunpinyin") - arch=('any') cd "$srcdir/$__gitname-build/raw" make DESTDIR="$pkgdir" install } -- cgit v1.2.3-54-g00ecf