[arch-commits] Commit in gnome-documents/trunk (PKGBUILD js60.diff)

Jan Steffens heftig at archlinux.org
Wed Sep 12 13:24:51 UTC 2018


    Date: Wednesday, September 12, 2018 @ 13:24:50
  Author: heftig
Revision: 334412

3.30.0-1

Modified:
  gnome-documents/trunk/PKGBUILD
Deleted:
  gnome-documents/trunk/js60.diff

-----------+
 PKGBUILD  |   14 +++++---------
 js60.diff |   28 ----------------------------
 2 files changed, 5 insertions(+), 37 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-12 12:46:08 UTC (rev 334411)
+++ PKGBUILD	2018-09-12 13:24:50 UTC (rev 334412)
@@ -1,8 +1,8 @@
 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
 
 pkgname=gnome-documents
-pkgver=3.29.91+6+gbc9b6cc1
-pkgrel=2
+pkgver=3.30.0
+pkgrel=1
 pkgdesc="A document manager application for GNOME"
 url="https://wiki.gnome.org/Apps/Documents"
 arch=(x86_64)
@@ -12,13 +12,11 @@
 makedepends=(gobject-introspection git meson yelp-tools inkscape)
 optdepends=('libreoffice-fresh: Support for Libreoffice document types')
 groups=(gnome)
-_commit=bc9b6cc1838d0c97f6ae33c0f56ec1c7d3a32b48  # master
+_commit=a8cb36c7a6d21ae1984df85c16ab1da914ef28b9  # tags/3.30.0^0
 source=("git+https://gitlab.gnome.org/GNOME/gnome-documents.git#commit=$_commit"
-        "git+https://gitlab.gnome.org/GNOME/libgd.git"
-        js60.diff)
+        "git+https://gitlab.gnome.org/GNOME/libgd.git")
 sha256sums=('SKIP'
-            'SKIP'
-            '26e86a8a5185f0a4b564b0f4d6658bfa63bd65f1f1a4c0ac7416e183bca4a136')
+            'SKIP')
 
 pkgver() {
   cd $pkgname
@@ -28,8 +26,6 @@
 prepare() {
   cd $pkgname
 
-  patch -Np1 -i ../js60.diff
-
   git submodule init
   git config --local submodule.subprojects/libgd.url "$srcdir/libgd"
   git submodule update

Deleted: js60.diff
===================================================================
--- js60.diff	2018-09-12 12:46:08 UTC (rev 334411)
+++ js60.diff	2018-09-12 13:24:50 UTC (rev 334412)
@@ -1,28 +0,0 @@
-diff --git i/src/evinceview.js w/src/evinceview.js
-index 60c314c5..8f01128a 100644
---- i/src/evinceview.js
-+++ w/src/evinceview.js
-@@ -315,9 +315,9 @@ var EvinceView = new Lang.Class({
-             // the following invocation to work.
-             let evDoc = this._model.get_document();
-             evDoc.find_text();
--        } catch (e if e instanceof TypeError) {
--            canFind = false;
-         } catch (e) {
-+            if (e instanceof TypeError)
-+                canFind = false;
-         }
- 
-         this.getAction('find').enabled = (this.hasPages && canFind);
-diff --git i/src/places.js w/src/places.js
-index 220cd311..0bebbde0 100644
---- i/src/places.js
-+++ w/src/places.js
-@@ -60,7 +60,6 @@ var PlacesDialog = new Lang.Class({
-             // This is a hack to find out if evDoc implements the
-             // EvDocument.DocumentLinks interface or not.
-             docHasLinks = evDoc.has_document_links();
--        } catch (e if e instanceof TypeError) {
-         } catch (e) {
-         }
- 



More information about the arch-commits mailing list