Hello community, here is the log from the commit of package blueberry for openSUSE:Leap:15.2 checked in at 2020-05-28 20:11:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/blueberry (Old) and /work/SRC/openSUSE:Leap:15.2/.blueberry.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "blueberry" Thu May 28 20:11:11 2020 rev:22 rq:809753 version:1.3.6 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/blueberry/blueberry.changes 2020-01-15 14:48:42.869352800 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.blueberry.new.3606/blueberry.changes 2020-05-28 20:11:12.367186514 +0200 @@ -1,0 +2,96 @@ +Sun Mar 22 07:13:49 UTC 2020 - Maurizio Galli <maurizio.ga...@gmail.com> + +- Update to version 1.3.6 + * tray: Switch to symbolic icons (#100) + * Lower min requirement to GTK 3.22 + * Update tranlsations + +------------------------------------------------------------------- +Sat Feb 8 05:56:04 UTC 2020 - Maurizio Galli <maurizio.ga...@gmail.com> + +- Update to version 1.3.5 + * blueberry.py: Fix handling of the device name/alias. +- Other changes since version 1.2.7 + * Handle error from rfkill (#94) + * Add support for XAppStatusIcon + * StatusIcon: Switch to activate signal + * obex: check for None when setting shared path + * rework override to be compatible with any version + * Fix tray icon not shown with window (#89) + * blueberry: UI redesign + * rfkillMagic: support hotpluggable bt devices + * rfkillMagic: support device indexes above 9 + * blueberry: rework rfkill error to be switch-specific + * cleanup some unneded code + * UI: Ensure burger menu is visible + * Don't spin spinner in devices tab (#85) + * Update translations + +------------------------------------------------------------------- +Thu Oct 17 14:46:28 UTC 2019 - Richard Brown <rbr...@suse.com> + +- Remove obsolete Groups tag (fate#326485) + +------------------------------------------------------------------- +Sun Jul 21 06:00:26 UTC 2019 - Maurizio Galli <maurizio.ga...@gmail.com> + +- Update to version 1.2.8 + * Don't spin spinner in devices tab (#85) +------------------------------------------------------------------- +Fri Jul 19 01:53:01 UTC 2019 - Maurizio Galli <maurizio.ga...@gmail.com> + +- 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 + +------------------------------------------------------------------- +Fri Dec 14 12:54:01 UTC 2018 - sor.ale...@meowr.ru + +- Update to version 1.2.5: + * Update translations. + +------------------------------------------------------------------- +Fri Nov 30 17:46:42 UTC 2018 - sor.ale...@meowr.ru + +- Update to version 1.2.4: + * Update translations. + +------------------------------------------------------------------- +Sat Sep 1 21:23:09 UTC 2018 - sor.ale...@meowr.ru + +- Do not use /usr/bin/env for Python scripts. +- Add blueberry-rfkill.rules to fix boo#957071. + +------------------------------------------------------------------- +Fri Aug 17 17:47:25 UTC 2018 - sor.ale...@meowr.ru + +- Revert to Python 2: the switch to Python 3 was actually in + shebangs of just two basic launcher scripts, nothing more + (boo#1105239). + +------------------------------------------------------------------- +Tue Jun 26 17:30:24 UTC 2018 - sor.ale...@meowr.ru + +- Update to version 1.2.3 (changes isnce 1.2.1): + * Add a 2s timeout around bt-adapter -i. + * Update translations. + +------------------------------------------------------------------- +Sat May 26 10:16:07 UTC 2018 - sor.ale...@meowr.ru + +- Update to version 1.2.1: + * Update translations. + +------------------------------------------------------------------- Old: ---- blueberry-1.2.0.tar.gz New: ---- blueberry-1.3.6.tar.gz blueberry-rfkill.rules ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ blueberry.spec ++++++ --- /var/tmp/diff_new_pack.t6uoQ2/_old 2020-05-28 20:11:12.659187383 +0200 +++ /var/tmp/diff_new_pack.t6uoQ2/_new 2020-05-28 20:11:12.659187383 +0200 @@ -1,7 +1,7 @@ # # spec file for package blueberry # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,19 +12,19 @@ # 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/ # %define __requires_exclude typelib\\((St)\\) Name: blueberry -Version: 1.2.0 +Version: 1.3.6 Release: 0 Summary: A configuration tool for Bluetooth License: GPL-3.0-or-later -Group: System/GUI/Other URL: https://github.com/linuxmint/blueberry Source: https://github.com/linuxmint/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source1: blueberry-rfkill.rules # PATCH-FIX-OPENSUSE blueberry-fix-rfkill-path.patch boo#1076134 sor.ale...@meowr.ru -- Fix rfkill's path. Patch0: blueberry-fix-rfkill-path.patch BuildRequires: bluez-tools @@ -34,21 +34,15 @@ BuildRequires: python3 Requires: bluez-tools Requires: gnome-bluetooth >= 3.14 -Requires: python3-gobject -Requires: python3-gobject-Gdk -Requires: python3-setproctitle Requires: wmctrl Recommends: %{name}-lang BuildArch: noarch %glib2_gsettings_schema_requires -%if 0%{?suse_version} >= 1500 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-python3 -Requires: rfkill -%endif %description Utility for Bluetooth devices graphical configuration. @@ -56,38 +50,26 @@ %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 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} cp -a .%{_sysconfdir} %{buildroot}%{_sysconfdir} +install -Dpm 0644 %{name}-rfkill.rules \ + %{buildroot}%{_libexecdir}/udev/rules.d/61-%{name}-rfkill.rules %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 -%if 0%{?suse_version} >= 1500 %license COPYING -%else -%doc COPYING -%endif %doc README.md debian/changelog %{_sysconfdir}/xdg/autostart/%{name}-tray.desktop %{_sysconfdir}/xdg/autostart/%{name}-obex-agent.desktop @@ -99,6 +81,7 @@ %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/*/%{name}* %{_datadir}/glib-2.0/schemas/org.%{name}.gschema.xml +%{_libexecdir}/udev/rules.d/61-%{name}-rfkill.rules %files lang -f %{name}.lang ++++++ blueberry-1.2.0.tar.gz -> blueberry-1.3.6.tar.gz ++++++ ++++ 28752 lines of diff (skipped) ++++++ blueberry-fix-rfkill-path.patch ++++++ --- /var/tmp/diff_new_pack.t6uoQ2/_old 2020-05-28 20:11:12.795187788 +0200 +++ /var/tmp/diff_new_pack.t6uoQ2/_new 2020-05-28 20:11:12.795187788 +0200 @@ -1,27 +1,30 @@ +From 953ef86b38f590c5b95b4efc414c088e7bb200f7 Mon Sep 17 00:00:00 2001 +From: "Maurizio Galli (MauG)" <maurizio.ga...@gmail.com> +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"] + ++++++ blueberry-rfkill.rules ++++++ # Get access to /dev/rfkill for users # This is taken from 61-gnome-settings-daemon-rfkill.rules # # See https://bugzilla.redhat.com/show_bug.cgi?id=514798 # # Simplified by Kay Sievers # https://bugzilla.redhat.com/show_bug.cgi?id=733326 # See also https://bugzilla.gnome.org/show_bug.cgi?id=711373 KERNEL=="rfkill", SUBSYSTEM=="misc", TAG+="uaccess"