[arch-commits] Commit in synapse/trunk (PKGBUILD fix-build.patch)

Felix Yan felixonmars at archlinux.org
Mon Feb 5 18:51:29 UTC 2018


    Date: Monday, February 5, 2018 @ 18:51:23
  Author: felixonmars
Revision: 289292

upgpkg: synapse 0.2.99.3-1

Modified:
  synapse/trunk/PKGBUILD
Deleted:
  synapse/trunk/fix-build.patch

-----------------+
 PKGBUILD        |   16 ++++------------
 fix-build.patch |   52 ----------------------------------------------------
 2 files changed, 4 insertions(+), 64 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-02-05 18:50:55 UTC (rev 289291)
+++ PKGBUILD	2018-02-05 18:51:23 UTC (rev 289292)
@@ -3,8 +3,8 @@
 # Contributor: Alessio Sergi <asergi at archlinux dot us>
 
 pkgname=synapse
-pkgver=0.2.99.2
-pkgrel=3
+pkgver=0.2.99.3
+pkgrel=1
 pkgdesc="A semantic file launcher"
 arch=('x86_64')
 url="https://launchpad.net/synapse-project"
@@ -19,17 +19,9 @@
             'pastebinit: pastebin plugin'
             'rhythmbox: rhythmbox plugin'
             'xnoise: xnoise plugin')
-source=("https://launchpad.net/$pkgname-project/0.3/$pkgver/+download/$pkgname-$pkgver.tar.xz"
-        fix-build.patch)
-sha1sums=('6720537a239419833fc5b4e521b25935e30a3274'
-          '0ddb104dd7ec2d8de663c48f9d4f3614d17ee824')
+source=("https://launchpad.net/$pkgname-project/0.3/$pkgver/+download/$pkgname-$pkgver.tar.xz")
+sha512sums=('4332b337079e241704f931835635a0c587c231faa815ff0fd9d722f2470a6999fcf89b9a62a2f7ba8a759de20d684ef6e811be3e858fc547c3591533e1907dfa')
 
-prepare() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  patch -Np1 -i ../fix-build.patch
-}
-
 build() {
   cd "$srcdir/$pkgname-$pkgver"
 

Deleted: fix-build.patch
===================================================================
--- fix-build.patch	2018-02-05 18:50:55 UTC (rev 289291)
+++ fix-build.patch	2018-02-05 18:51:23 UTC (rev 289292)
@@ -1,52 +0,0 @@
-From: Tomasz Buchert <tomasz at debian.org>
-Date: Tue, 19 Sep 2017 01:00:01 +0200
-Subject: revisions-652-and-653
-
-Fixes build problems on vala 0.36.
----
- src/core/result-set.vala              | 2 +-
- src/plugins/desktop-file-plugin.vala  | 4 ++--
- src/plugins/hybrid-search-plugin.vala | 2 +-
- 3 files changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/src/core/result-set.vala b/src/core/result-set.vala
-index 6c4059d..10f9f92 100644
---- a/src/core/result-set.vala
-+++ b/src/core/result-set.vala
-@@ -57,7 +57,7 @@ namespace Synapse
-       owned get { return matches.entries; }
-     }
- 
--    public Gee.Iterator<Gee.Map.Entry <Match, int>?> iterator ()
-+    public Gee.Iterator<Gee.Map.Entry <Match, int>> iterator ()
-     {
-       return matches.iterator ();
-     }
-diff --git a/src/plugins/desktop-file-plugin.vala b/src/plugins/desktop-file-plugin.vala
-index 346ae40..e18725c 100644
---- a/src/plugins/desktop-file-plugin.vala
-+++ b/src/plugins/desktop-file-plugin.vala
-@@ -83,8 +83,8 @@ namespace Synapse
-     construct
-     {
-       desktop_files = new Gee.ArrayList<DesktopFileMatch> ();
--      mimetype_map = new Gee.HashMap<string, OpenWithAction> ();
--      actions_map = new Gee.HashMap<string, OpenAppAction> ();
-+      mimetype_map = new Gee.HashMap<string, Gee.List<OpenWithAction>> ();
-+      actions_map = new Gee.HashMap<string, Gee.List<OpenAppAction>> ();
- 
-       var dfs = DesktopFileService.get_default ();
-       dfs.reload_started.connect (() => {
-diff --git a/src/plugins/hybrid-search-plugin.vala b/src/plugins/hybrid-search-plugin.vala
-index dfdb614..c9e1010 100644
---- a/src/plugins/hybrid-search-plugin.vala
-+++ b/src/plugins/hybrid-search-plugin.vala
-@@ -74,7 +74,7 @@ namespace Synapse
-     construct
-     {
-       directory_hits = new Gee.HashMap<string, int> ();
--      directory_contents = new Gee.HashMap<string, Utils.FileInfo?> ();
-+      directory_contents = new Gee.HashMap<string, DirectoryInfo> ();
- 
-       analyze_recent_documents.begin ();
-     }



More information about the arch-commits mailing list