Compare commits

...

No commits in common. 'c9' and 'i8' have entirely different histories.
c9 ... i8

@ -0,0 +1,37 @@
From f9b10b97246f723cde725d77001308f9e6ed56d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
Date: Wed, 24 May 2023 12:13:20 +0200
Subject: [PATCH] Don't use enhanced annotations
---
gnome_browser_connector/application.py | 2 --
gnome_browser_connector/connector.py | 2 --
2 files changed, 4 deletions(-)
diff --git a/gnome_browser_connector/application.py b/gnome_browser_connector/application.py
index 8e57ef1..2069a34 100644
--- a/gnome_browser_connector/application.py
+++ b/gnome_browser_connector/application.py
@@ -1,7 +1,5 @@
# SPDX-License-Identifer: GPL-3.0-or-later
-from __future__ import annotations
-
import signal
import sys
import traceback
diff --git a/gnome_browser_connector/connector.py b/gnome_browser_connector/connector.py
index e72c432..a81b5ed 100644
--- a/gnome_browser_connector/connector.py
+++ b/gnome_browser_connector/connector.py
@@ -1,7 +1,5 @@
# SPDX-License-Identifer: GPL-3.0-or-later
-from __future__ import annotations
-
import json
import struct
import sys
--
2.40.0

@ -0,0 +1,57 @@
From 0619a89ea7cd42996cdd45dbe1bf8a0595ac2cec Mon Sep 17 00:00:00 2001
From: tigro <tigro@msvsphere-os.ru>
Date: Sun, 24 Dec 2023 22:00:07 +0300
Subject: [PATCH 2/2] Fix work with Python 3.6
---
gnome_browser_connector/application.py | 4 ++--
gnome_browser_connector/connector.py | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/gnome_browser_connector/application.py b/gnome_browser_connector/application.py
index 2069a34..8322202 100644
--- a/gnome_browser_connector/application.py
+++ b/gnome_browser_connector/application.py
@@ -4,7 +4,7 @@ import signal
import sys
import traceback
from types import TracebackType
-from typing import Any, Callable, Optional, Sequence
+from typing import Type, Any, Callable, Optional, Sequence
from gi.repository import GLib, Gio
@@ -118,7 +118,7 @@ class Application(BaseGioApplication):
def default_exception_hook(
self,
- exception_type: type[BaseException],
+ exception_type: Type[BaseException],
value: BaseException,
tb: TracebackType
) -> None:
diff --git a/gnome_browser_connector/connector.py b/gnome_browser_connector/connector.py
index a81b5ed..9516609 100644
--- a/gnome_browser_connector/connector.py
+++ b/gnome_browser_connector/connector.py
@@ -3,7 +3,7 @@
import json
import struct
import sys
-from typing import Any, Optional
+from typing import Dict, Any, Optional
from gi.repository import Gio, GLib, GObject
from .base import ApplicationHandler, BaseGioApplication
@@ -189,7 +189,7 @@ class Connector(ApplicationHandler):
except IOError as e:
raise Exception(f'IOError occured: {e.strerror}')
- def process_request(self, request: dict[str, Any]) -> None:
+ def process_request(self, request: Dict[str, Any]) -> None:
self._log.debug("Execute: to %s", request['execute'])
if request['execute'] == 'initialize':
--
2.43.0

@ -3,7 +3,7 @@
Name: chrome-gnome-shell
Version: 42.1
Release: 1%{?dist}
Release: 1%{?dist}.inferit
Summary: Support for managing GNOME Shell Extensions through web browsers
License: GPLv3+
@ -21,6 +21,9 @@ Requires: hicolor-icon-theme
Requires: mozilla-filesystem
Requires: python3-gobject-base
Patch1: 0001-Don-t-use-enhanced-annotations.patch
Patch2: 0002-Fix-work-with-Python-3.6.patch
%description
Browser extension for Google Chrome/Chromium, Firefox, Vivaldi, Opera (and
other Browser Extension, Chrome Extension or WebExtensions capable browsers)
@ -54,41 +57,34 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.BrowserC
%{_datadir}/icons/hicolor/*/apps/org.gnome.BrowserConnector.png
%changelog
* Wed May 17 2023 Florian Müllner <fmuellner@redhat.com> - 42.1-1
- Update to gnome-browser-connector-42.1
Resolves: #2204484
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 10.1-14
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Sun Dec 24 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 42.1-1.inferit
- Fix work with Python 3.6
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 10.1-13
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Tue Jul 25 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 42.1-1
- Rebuilt for MSVSphere 8.8
* Fri Feb 05 2021 Kalev Lember <klember@redhat.com> - 10.1-12
- Install icons into hicolor icon theme
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 10.1-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed May 17 2023 Florian Müllner <fmuellner@redhat.com> - 42.1-1
- Update to gnome-browser-connector-42.1
Resolves: #2209628
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 10.1-10
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jan 25 2021 Florian Müllner <fmuellner@redhat.com> - 10.1-7
- Disable updates support
Resolves: #1802105
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 10.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jul 12 2019 Florian Müllner <fmuellner@redhat.com> - 10.1-6
- Install icons in 'hicolor' instead of 'gnome'
Related: #1694203
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 10.1-8
- Rebuilt for Python 3.9
* Thu Jul 12 2019 Tomas Pelka <tpelka@redhat.com> - 10.1-5
- bump release num to correctly start gating process
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 10.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Related: #1694203
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 10.1-6
- Rebuilt for Python 3.8
* Thu Jul 11 2019 Florian Müllner <fmuellner@redhat.com> - 10.1-4
- Adjust Fedora spec to build on RHEL:
- build missing BuildRequire
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 10.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Related: #1694203
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 10.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

Loading…
Cancel
Save