Date: Monday, April 22, 2013 @ 00:16:50 Author: heftig Revision: 88681
db-move: moved synapse from [community-testing] to [community] (i686, x86_64) Added: synapse/repos/community-i686/PKGBUILD (from rev 88672, synapse/repos/community-testing-i686/PKGBUILD) synapse/repos/community-i686/check-null-exec.patch (from rev 88672, synapse/repos/community-testing-i686/check-null-exec.patch) synapse/repos/community-i686/fix-check-desktop.patch (from rev 88672, synapse/repos/community-testing-i686/fix-check-desktop.patch) synapse/repos/community-i686/synapse.install (from rev 88672, synapse/repos/community-testing-i686/synapse.install) synapse/repos/community-x86_64/PKGBUILD (from rev 88672, synapse/repos/community-testing-x86_64/PKGBUILD) synapse/repos/community-x86_64/check-null-exec.patch (from rev 88672, synapse/repos/community-testing-x86_64/check-null-exec.patch) synapse/repos/community-x86_64/fix-check-desktop.patch (from rev 88672, synapse/repos/community-testing-x86_64/fix-check-desktop.patch) synapse/repos/community-x86_64/synapse.install (from rev 88672, synapse/repos/community-testing-x86_64/synapse.install) Deleted: synapse/repos/community-i686/PKGBUILD synapse/repos/community-i686/check-null-exec.patch synapse/repos/community-i686/fix-check-desktop.patch synapse/repos/community-i686/synapse.install synapse/repos/community-testing-i686/ synapse/repos/community-testing-x86_64/ synapse/repos/community-x86_64/PKGBUILD synapse/repos/community-x86_64/check-null-exec.patch synapse/repos/community-x86_64/fix-check-desktop.patch synapse/repos/community-x86_64/synapse.install ------------------------------------------+ /PKGBUILD | 108 +++++++++++++++++++++++++++++ /check-null-exec.patch | 32 ++++++++ /fix-check-desktop.patch | 60 ++++++++++++++++ /synapse.install | 26 ++++++ community-i686/PKGBUILD | 54 -------------- community-i686/check-null-exec.patch | 16 ---- community-i686/fix-check-desktop.patch | 30 -------- community-i686/synapse.install | 13 --- community-x86_64/PKGBUILD | 54 -------------- community-x86_64/check-null-exec.patch | 16 ---- community-x86_64/fix-check-desktop.patch | 30 -------- community-x86_64/synapse.install | 13 --- 12 files changed, 226 insertions(+), 226 deletions(-) Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2013-04-21 22:16:49 UTC (rev 88680) +++ community-i686/PKGBUILD 2013-04-21 22:16:50 UTC (rev 88681) @@ -1,54 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@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: Copied: synapse/repos/community-i686/PKGBUILD (from rev 88672, synapse/repos/community-testing-i686/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2013-04-21 22:16:50 UTC (rev 88681) @@ -0,0 +1,54 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@gmail.com> +# Contributor: Alessio Sergi <asergi at archlinux dot us> + +pkgname=synapse +pkgver=0.2.10 +pkgrel=5 +pkgdesc="A semantic file launcher" +arch=('i686' 'x86_64') +url="https://launchpad.net/synapse-project" +license=('GPL3') +depends=('gtkhotkey' 'hicolor-icon-theme' 'json-glib' 'libgee06' 'libnotify' \ + 'libunique' 'libzeitgeist' 'rest' 'xdg-utils') +makedepends=('intltool' 'vala') +optdepends=('banshee: banshee plugin' + 'bc: calculator plugin' + 'devhelp: documentation plugin' + 'gnome-screensaver: screensaver plugin' + 'gnome-dictionary: 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: Deleted: community-i686/check-null-exec.patch =================================================================== --- community-i686/check-null-exec.patch 2013-04-21 22:16:49 UTC (rev 88680) +++ community-i686/check-null-exec.patch 2013-04-21 22:16:50 UTC (rev 88681) @@ -1,16 +0,0 @@ -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") && Copied: synapse/repos/community-i686/check-null-exec.patch (from rev 88672, synapse/repos/community-testing-i686/check-null-exec.patch) =================================================================== --- community-i686/check-null-exec.patch (rev 0) +++ community-i686/check-null-exec.patch 2013-04-21 22:16:50 UTC (rev 88681) @@ -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") && Deleted: community-i686/fix-check-desktop.patch =================================================================== --- community-i686/fix-check-desktop.patch 2013-04-21 22:16:49 UTC (rev 88680) +++ community-i686/fix-check-desktop.patch 2013-04-21 22:16:50 UTC (rev 88681) @@ -1,30 +0,0 @@ -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"; Copied: synapse/repos/community-i686/fix-check-desktop.patch (from rev 88672, synapse/repos/community-testing-i686/fix-check-desktop.patch) =================================================================== --- community-i686/fix-check-desktop.patch (rev 0) +++ community-i686/fix-check-desktop.patch 2013-04-21 22:16:50 UTC (rev 88681) @@ -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"; Deleted: community-i686/synapse.install =================================================================== --- community-i686/synapse.install 2013-04-21 22:16:49 UTC (rev 88680) +++ community-i686/synapse.install 2013-04-21 22:16:50 UTC (rev 88681) @@ -1,13 +0,0 @@ -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: Copied: synapse/repos/community-i686/synapse.install (from rev 88672, synapse/repos/community-testing-i686/synapse.install) =================================================================== --- community-i686/synapse.install (rev 0) +++ community-i686/synapse.install 2013-04-21 22:16:50 UTC (rev 88681) @@ -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: Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2013-04-21 22:16:49 UTC (rev 88680) +++ community-x86_64/PKGBUILD 2013-04-21 22:16:50 UTC (rev 88681) @@ -1,54 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@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: Copied: synapse/repos/community-x86_64/PKGBUILD (from rev 88672, synapse/repos/community-testing-x86_64/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2013-04-21 22:16:50 UTC (rev 88681) @@ -0,0 +1,54 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@gmail.com> +# Contributor: Alessio Sergi <asergi at archlinux dot us> + +pkgname=synapse +pkgver=0.2.10 +pkgrel=5 +pkgdesc="A semantic file launcher" +arch=('i686' 'x86_64') +url="https://launchpad.net/synapse-project" +license=('GPL3') +depends=('gtkhotkey' 'hicolor-icon-theme' 'json-glib' 'libgee06' 'libnotify' \ + 'libunique' 'libzeitgeist' 'rest' 'xdg-utils') +makedepends=('intltool' 'vala') +optdepends=('banshee: banshee plugin' + 'bc: calculator plugin' + 'devhelp: documentation plugin' + 'gnome-screensaver: screensaver plugin' + 'gnome-dictionary: 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: Deleted: community-x86_64/check-null-exec.patch =================================================================== --- community-x86_64/check-null-exec.patch 2013-04-21 22:16:49 UTC (rev 88680) +++ community-x86_64/check-null-exec.patch 2013-04-21 22:16:50 UTC (rev 88681) @@ -1,16 +0,0 @@ -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") && Copied: synapse/repos/community-x86_64/check-null-exec.patch (from rev 88672, synapse/repos/community-testing-x86_64/check-null-exec.patch) =================================================================== --- community-x86_64/check-null-exec.patch (rev 0) +++ community-x86_64/check-null-exec.patch 2013-04-21 22:16:50 UTC (rev 88681) @@ -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") && Deleted: community-x86_64/fix-check-desktop.patch =================================================================== --- community-x86_64/fix-check-desktop.patch 2013-04-21 22:16:49 UTC (rev 88680) +++ community-x86_64/fix-check-desktop.patch 2013-04-21 22:16:50 UTC (rev 88681) @@ -1,30 +0,0 @@ -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"; Copied: synapse/repos/community-x86_64/fix-check-desktop.patch (from rev 88672, synapse/repos/community-testing-x86_64/fix-check-desktop.patch) =================================================================== --- community-x86_64/fix-check-desktop.patch (rev 0) +++ community-x86_64/fix-check-desktop.patch 2013-04-21 22:16:50 UTC (rev 88681) @@ -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"; Deleted: community-x86_64/synapse.install =================================================================== --- community-x86_64/synapse.install 2013-04-21 22:16:49 UTC (rev 88680) +++ community-x86_64/synapse.install 2013-04-21 22:16:50 UTC (rev 88681) @@ -1,13 +0,0 @@ -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: Copied: synapse/repos/community-x86_64/synapse.install (from rev 88672, synapse/repos/community-testing-x86_64/synapse.install) =================================================================== --- community-x86_64/synapse.install (rev 0) +++ community-x86_64/synapse.install 2013-04-21 22:16:50 UTC (rev 88681) @@ -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: