Bug#923306: unblock: kazam/1.4.5-2.1
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
Please unblock package kazam.
It's a popular option for screen capture (both screenshots and video), and we
don't seem to have alternatives for it in the archive, that work out-of-the-box.
(That was the reason I used it in the first place.)
I performed a NMU early this month, to solve the bug that got it removed from
testing:
$ debdiff kazam_1.4.5-2.dsc /opt/deb/buildarea/kazam_1.4.5-2.1.dsc
diff -Nru kazam-1.4.5/debian/changelog kazam-1.4.5/debian/changelog
--- kazam-1.4.5/debian/changelog 2015-10-13 03:33:29.000000000 +0200
+++ kazam-1.4.5/debian/changelog 2019-02-08 12:24:25.000000000 +0100
@@ -1,3 +1,11 @@
+kazam (1.4.5-2.1) unstable; urgency=high
+
+ * Non-maintainer upload.
+ * Patch after configuration API change (Closes: #916416)
+ * debian/control: Add missing build dependency on dh-python
+
+ -- Nicolas Braud-Santoni <nicoo@debian.org> Fri, 08 Feb 2019 12:24:25 +0100
+
kazam (1.4.5-2) unstable; urgency=medium
* configparser_api_changes.patch: Update for changes
diff -Nru kazam-1.4.5/debian/control kazam-1.4.5/debian/control
--- kazam-1.4.5/debian/control 2015-10-13 03:32:51.000000000 +0200
+++ kazam-1.4.5/debian/control 2019-02-08 12:24:25.000000000 +0100
@@ -3,6 +3,7 @@
Priority: optional
Maintainer: Andrew Starr-Bochicchio <asb@debian.org>
Build-Depends: debhelper (>= 9),
+ dh-python,
gettext,
intltool,
python3-all (>= 3.2),
diff -Nru kazam-1.4.5/debian/patches/fix-configuration-handling.patch kazam-1.4.5/debian/patches/fix-configuration-handling.patch
--- kazam-1.4.5/debian/patches/fix-configuration-handling.patch 1970-01-01 01:00:00.000000000 +0100
+++ kazam-1.4.5/debian/patches/fix-configuration-handling.patch 2019-02-08 12:24:25.000000000 +0100
@@ -0,0 +1,51 @@
+Subject: Fix configuration handling
+
+Origin: vendor
+Bug: https://bugs.debian.org/916416
+Forwarded: https://github.com/hzbd/kazam/pull/21
+From: Sergey Spitsyn <sswebcoder@gmail.com>
+Reviewed-by: Nicolas Braud-Santoni <nicoo@debian.org>
+Last-Update: 2019-02-07
+Applied-Upstream: no
+
+---
+ kazam/backend/config.py | 11 ++++-------
+ 1 file changed, 4 insertions(+), 7 deletions(-)
+
+diff --git a/kazam/backend/config.py b/kazam/backend/config.py
+index 64b5117..2274435 100644
+--- a/kazam/backend/config.py
++++ b/kazam/backend/config.py
+@@ -73,7 +73,7 @@ class KazamConfig(ConfigParser):
+ CONFIGFILE = os.path.join(CONFIGDIR, "kazam.conf")
+
+ def __init__(self):
+- ConfigParser.__init__(self, self.DEFAULTS[0]['keys'])
++ super().__init__(self)
+ if not os.path.isdir(self.CONFIGDIR):
+ os.makedirs(self.CONFIGDIR)
+ if not os.path.isfile(self.CONFIGFILE):
+@@ -98,10 +98,9 @@ class KazamConfig(ConfigParser):
+ if d_key == key:
+ return d_section["keys"][key]
+
+- def get(self, section, key, raw=True, fallback=None):
++ def get(self, section, key, **kwargs):
+ try:
+- return super(KazamConfig, self).get(section,
+- key, raw=True, fallback=fallback)
++ return super(KazamConfig, self).get(section, key, **kwargs)
+ except NoSectionError:
+ default = self.find_default(section, key)
+ self.set(section, key, default)
+@@ -123,9 +122,7 @@ class KazamConfig(ConfigParser):
+ def set(self, section, option, value):
+ # If the section referred to doesn't exist (rare case),
+ # then create it
+- if not self.has_section(section):
+- self.add_section(section)
+- ConfigParser.set(self, section, option, str(value))
++ super().set(section, option, str(value))
+
+ def write(self):
+ file_ = open(self.CONFIGFILE, "w")
diff -Nru kazam-1.4.5/debian/patches/series kazam-1.4.5/debian/patches/series
--- kazam-1.4.5/debian/patches/series 2015-10-13 03:23:18.000000000 +0200
+++ kazam-1.4.5/debian/patches/series 2019-02-08 12:24:25.000000000 +0100
@@ -1 +1,2 @@
configparser_api_changes.patch
+fix-configuration-handling.patch
Best,
nicoo
unblock kazam/1.4.5-2.1
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-2-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Reply to: