Hello community, here is the log from the commit of package blueberry for openSUSE:Factory checked in at 2019-07-22 12:20:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/blueberry (Old) and /work/SRC/openSUSE:Factory/.blueberry.new.4126 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "blueberry" Mon Jul 22 12:20:54 2019 rev:34 rq:717329 version:1.2.8 Changes: -------- --- /work/SRC/openSUSE:Factory/blueberry/blueberry.changes 2018-12-18 14:58:09.730272194 +0100 +++ /work/SRC/openSUSE:Factory/.blueberry.new.4126/blueberry.changes 2019-07-22 12:20:54.515656210 +0200 @@ -1,0 +2,24 @@ +Sun Jul 21 06:00:26 UTC 2019 - Maurizio Galli <[email protected]> + +- Update to version 1.2.8 + * Don't spin spinner in devices tab (#85) +------------------------------------------------------------------- +Fri Jul 19 01:53:01 UTC 2019 - Maurizio Galli <[email protected]> + +- Update to version 1.2.7 + * Update translations +- 1.2.6 changes + * Fix generate_desktop_files + * Convert everything to use Python 3 (#66) + * Add paired submenu for quick connect/disconnect (#69) + * Tray: Use a tick image to represent connected device + * l10n: Update POT + * Tray: Fix paired menu when no devices are paired + * Use shell launchers and use setproctitle to name the python processes + * rfkill: Show error message on permission denied (#83) + * rfkill: Show the error message in the UI + * l10n: Update POT +- Updated and cleaned up spec file +- Rebased blueberry-fix-rfkill-path.patch + +------------------------------------------------------------------- Old: ---- blueberry-1.2.5.tar.gz New: ---- blueberry-1.2.8.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ blueberry.spec ++++++ --- /var/tmp/diff_new_pack.h7ZA95/_old 2019-07-22 12:20:55.255656015 +0200 +++ /var/tmp/diff_new_pack.h7ZA95/_new 2019-07-22 12:20:55.259656015 +0200 @@ -1,7 +1,7 @@ # # spec file for package blueberry # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %define __requires_exclude typelib\\((St)\\) Name: blueberry -Version: 1.2.5 +Version: 1.2.8 Release: 0 Summary: A configuration tool for Bluetooth License: GPL-3.0-or-later @@ -32,27 +32,18 @@ BuildRequires: fdupes BuildRequires: gobject-introspection-devel BuildRequires: hicolor-icon-theme -BuildRequires: python +BuildRequires: python3 Requires: bluez-tools Requires: gnome-bluetooth >= 3.14 Requires: wmctrl Recommends: %{name}-lang BuildArch: noarch %glib2_gsettings_schema_requires -%if 0%{?suse_version} >= 1500 -Requires: python2-dbus-python -Requires: python2-gobject -Requires: python2-gobject-Gdk -Requires: python2-setproctitle +Requires: python3-dbus-python +Requires: python3-gobject +Requires: python3-gobject-Gdk +Requires: python3-setproctitle Requires: util-linux -%else -BuildRequires: update-desktop-files -Requires: dbus-1-python -Requires: python-gobject -Requires: python-gobject-Gdk -Requires: python-setproctitle -Requires: rfkill -%endif %description Utility for Bluetooth devices graphical configuration. @@ -60,16 +51,15 @@ %lang_package %prep -%setup -q -%patch0 -p1 +%autosetup -p1 cp -a %{SOURCE1} %{name}-rfkill.rules # Do not use env for Python scripts. -sed -i '/^#!/s/env python2$/python2/' .%{_libexecdir}/%{name}/* +sed -i '/^#!/s/env python3$/python3/' .%{_libexecdir}/%{name}/* # Replace the icon with an existing one. sed -i 's/^\(Icon=\).*$/\1%{name}/' .%{_datadir}/applications/%{name}.desktop %build -make %{?_smp_mflags} V=1 +%make_build %install cp -a .%{_prefix} %{buildroot}%{_prefix} @@ -79,18 +69,6 @@ %find_lang %{name} %fdupes %{buildroot}%{_datadir}/ -%if 0%{?suse_version} < 1500 -%post -%desktop_database_post -%icon_theme_cache_post -%glib2_gsettings_schema_post - -%postun -%desktop_database_postun -%icon_theme_cache_postun -%glib2_gsettings_schema_postun -%endif - %files %license COPYING %doc README.md debian/changelog ++++++ blueberry-1.2.5.tar.gz -> blueberry-1.2.8.tar.gz ++++++ ++++ 24468 lines of diff (skipped) ++++++ blueberry-fix-rfkill-path.patch ++++++ --- /var/tmp/diff_new_pack.h7ZA95/_old 2019-07-22 12:20:55.399655978 +0200 +++ /var/tmp/diff_new_pack.h7ZA95/_new 2019-07-22 12:20:55.399655978 +0200 @@ -1,27 +1,30 @@ +From 953ef86b38f590c5b95b4efc414c088e7bb200f7 Mon Sep 17 00:00:00 2001 +From: "Maurizio Galli (MauG)" <[email protected]> +Date: Fri, 19 Jul 2019 10:10:59 +0800 +Subject: [PATCH] Rebased blueberry-fix-rfkill-path.patch + +--- + usr/lib/blueberry/rfkillMagic.py | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/usr/lib/blueberry/rfkillMagic.py b/usr/lib/blueberry/rfkillMagic.py +index 6d54308..361f68e 100644 --- a/usr/lib/blueberry/rfkillMagic.py +++ b/usr/lib/blueberry/rfkillMagic.py -@@ -2,14 +2,20 @@ - import thread +@@ -1,9 +1,15 @@ + + import _thread as thread import subprocess - import os +import os.path import re from gi.repository import GLib --RFKILL_CHK = ["/usr/sbin/rfkill", "list", "bluetooth"] --RFKILL_BLOCK = ["/usr/sbin/rfkill", "block", "bluetooth"] --RFKILL_UNBLOCK = ["/usr/sbin/rfkill", "unblock", "bluetooth"] +if os.path.isfile("/usr/bin/rfkill"): + RFKILL_BINARY = "/usr/bin/rfkill" +else: + RFKILL_BINARY = "/usr/sbin/rfkill" - --RFKILL_EVENT_MONITOR = ["/usr/lib/blueberry/safechild", "/usr/sbin/rfkill", "event"] -+RFKILL_CHK = [RFKILL_BINARY, "list", "bluetooth"] -+RFKILL_BLOCK = [RFKILL_BINARY, "block", "bluetooth"] -+RFKILL_UNBLOCK = [RFKILL_BINARY, "unblock", "bluetooth"] + -+RFKILL_EVENT_MONITOR = ["/usr/lib/blueberry/safechild", RFKILL_BINARY, "event"] - - class Interface: - def __init__(self, output_callback, debug): + RFKILL_CHK = ["/usr/sbin/rfkill", "list", "bluetooth"] + RFKILL_BLOCK = ["/usr/sbin/rfkill", "block", "bluetooth"] + RFKILL_UNBLOCK = ["/usr/sbin/rfkill", "unblock", "bluetooth"] +
