Hello community,
here is the log from the commit of package gnome-sound-recorder for
openSUSE:Factory checked in at 2018-12-28 12:35:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-sound-recorder (Old)
and /work/SRC/openSUSE:Factory/.gnome-sound-recorder.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnome-sound-recorder"
Fri Dec 28 12:35:47 2018 rev:20 rq:661652 version:3.28.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/gnome-sound-recorder/gnome-sound-recorder.changes
2018-04-17 11:16:26.601432914 +0200
+++
/work/SRC/openSUSE:Factory/.gnome-sound-recorder.new.28833/gnome-sound-recorder.changes
2018-12-28 12:35:50.979941334 +0100
@@ -1,0 +2,7 @@
+Wed Dec 19 23:15:18 UTC 2018 - [email protected]
+
+- Add gsr-Remove-usage-conditional-catch-statements.patch: Remove
+ usage of conditional catch statements. They are no longer
+ supported in mozjs60.
+
+-------------------------------------------------------------------
New:
----
gsr-Remove-usage-conditional-catch-statements.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gnome-sound-recorder.spec ++++++
--- /var/tmp/diff_new_pack.d6a9q4/_old 2018-12-28 12:35:51.587940908 +0100
+++ /var/tmp/diff_new_pack.d6a9q4/_new 2018-12-28 12:35:51.587940908 +0100
@@ -13,7 +13,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -26,6 +26,9 @@
URL: https://wiki.gnome.org/Design/Apps/SoundRecorder
Source:
http://download.gnome.org/sources/gnome-sound-recorder/3.28/%{name}-%{version}.tar.xz
Source99: gnome-sound-recorder-rpmlintrc
+# PATCH-FIX-UPSTREAM gsr-Remove-usage-conditional-catch-statements.patch --
Remove usage of conditional catch statements
+Patch0: gsr-Remove-usage-conditional-catch-statements.patch
+
BuildRequires: gjs
BuildRequires: gstreamer-plugins-bad
BuildRequires: gstreamer-plugins-base
@@ -53,7 +56,7 @@
%lang_package
%prep
-%autosetup
+%autosetup -p1
%build
%configure \
++++++ gsr-Remove-usage-conditional-catch-statements.patch ++++++
>From 455ba5f9e327b6d9495b1fd7dc5dd0a6bd95ae99 Mon Sep 17 00:00:00 2001
From: Tim Lunn <[email protected]>
Date: Mon, 10 Sep 2018 18:02:03 +1000
Subject: [PATCH] Remove usage of conditional catch statements
The are no longer supported in mozjs60
Closes https://gitlab.gnome.org/GNOME/gnome-sound-recorder/issues/35
---
src/listview.js | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/listview.js b/src/listview.js
index 33cbec0..afe508a 100644
--- a/src/listview.js
+++ b/src/listview.js
@@ -111,7 +111,10 @@ const Listview = new Lang.Class({
if (returnedNumber > trackNumber)
trackNumber = returnedNumber;
- } catch (e if e instanceof TypeError) {
+ } catch (e) {
+ if (!e instanceof TypeError)
+ throw e;
+
log("Tracknumber not returned");
// Don't handle the error
}
--
2.18.1