[rpmfusion-nonfree-obsolete-packages] Remove nautilus-dropbox and it's sub-package (rfbz#6558)
by Leigh Scott
commit 5dda9c5579da919ac237d3c8837a893bba28d64c
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Mon Mar 20 18:38:54 2023 +0000
Remove nautilus-dropbox and it's sub-package (rfbz#6558)
rpmfusion-nonfree-obsolete-packages.spec | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/rpmfusion-nonfree-obsolete-packages.spec b/rpmfusion-nonfree-obsolete-packages.spec
index 90a0bca..547f13f 100644
--- a/rpmfusion-nonfree-obsolete-packages.spec
+++ b/rpmfusion-nonfree-obsolete-packages.spec
@@ -1,6 +1,6 @@
Name: rpmfusion-nonfree-obsolete-packages
-Version: 37
-Release: 3%{?dist}
+Version: 38
+Release: 1%{?dist}
Summary: A package to obsolete retired packages from rpmfusion-nonfree
License: MIT
@@ -28,11 +28,6 @@ Obsoletes: Mosaic < 2.7-0.13
# Last build gstreamer-plugins-bad-nonfree-0.10.23-10.fc31
Provides: gstreamer-plugins-bad-nonfree = 0.10.23-11
Obsoletes: gstreamer-plugins-bad-nonfree < 0.10.23-11
-# Last build nautilus-dropbox-2020.03.04-3.fc35
-Provides: nautilus-dropbox = 2020.03.04-4
-Obsoletes: nautilus-dropbox < 2020.03.04-4
-Provides: dropbox = 2020.03.04-4
-Obsoletes: dropbox < 2020.03.04-4
# Last build caja-dropbox-1.26.0-2.fc37
Provides: caja-dropbox = 1.26.0-3
Obsoletes: caja-dropbox < 1.26.0-3
@@ -68,6 +63,9 @@ cp -p %{SOURCE0} .
%changelog
+* Mon Mar 20 2023 Leigh Scott <leigh123linux(a)gmail.com> - 38-1
+- Remove nautilus-dropbox and it's sub-package (rfbz#6558)
+
* Fri Sep 23 2022 Leigh Scott <leigh123linux(a)gmail.com> - 37-3
- Add libspotify, mopidy-spotify and python-pyspotify
39 minutes
[nemo-dropbox/f38] Rebuild
by Leigh Scott
Summary of changes:
0fbe55e... Rebuild (*)
(*) This commit already existed in another branch; no separate mail sent
45 minutes
[nemo-dropbox] Rebuild
by Leigh Scott
commit 0fbe55e85ace36e4fc1692643b8f874efe3fe448
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Mon Mar 20 18:31:28 2023 +0000
Rebuild
dropbox | 1605 -----------------------------------------------------
dropbox.1 | 360 ------------
dropbox.desktop | 12 -
dropbox.png | Bin 1554 -> 0 bytes
nemo-dropbox.spec | 35 +-
5 files changed, 7 insertions(+), 2005 deletions(-)
---
diff --git a/nemo-dropbox.spec b/nemo-dropbox.spec
index 84d2fda..5ea085e 100644
--- a/nemo-dropbox.spec
+++ b/nemo-dropbox.spec
@@ -1,26 +1,18 @@
Summary: Dropbox extension for nemo
Name: nemo-dropbox
Version: 5.6.0
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv2+ and LGPLv2+ and MIT
URL: https://github.com/linuxmint/nemo-extensions
Source0: %url/archive/%{version}/nemo-extensions-%{version}.tar.gz
-Source1: dropbox
-Source2: dropbox.1
-Source3: dropbox.desktop
-Source4: dropbox.png
ExclusiveArch: x86_64
BuildRequires: nemo-devel >= %{version}
-BuildRequires: desktop-file-utils
BuildRequires: meson
BuildRequires: libtool
-Requires: /usr/bin/python3
-Requires: libatomic
-Requires: python3-gobject
-Requires: python3-gpg
+Requires: dropbox >= 1:2.10.0
%description
Dropbox extension for nemo file manager
@@ -41,32 +33,19 @@ pushd nemo-dropbox
%meson_install
popd
-rm -rf %{buildroot}%{_datadir}/nemo-dropbox/
-
-mkdir -p %{buildroot}%{_bindir}/
-mkdir -p %{buildroot}%{_datadir}/applications/
-mkdir -p %{buildroot}%{_mandir}/man1/
-mkdir -p %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/
-install -p -m 0755 %{SOURCE1} %{buildroot}%{_bindir}/
-install -p -m 0644 %{SOURCE2} %{buildroot}%{_mandir}/man1/
-install -p -m 0644 %{SOURCE3} %{buildroot}%{_datadir}/applications/
-install -p -m 0644 %{SOURCE4} %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/
-
-%check
-desktop-file-validate %{buildroot}%{_datadir}/applications/dropbox.desktop
+rm -rf %{buildroot}%{_bindir}
+rm -rf %{buildroot}%{_datadir}
%files
%doc nemo-dropbox/{AUTHORS,ChangeLog,NEWS,README}
%license nemo-dropbox/COPYING
-%{_bindir}/dropbox
%{_libdir}/nemo/extensions-3.0/libnemo-dropbox.so
-%{_datadir}/applications/dropbox.desktop
-%{_datadir}/icons/hicolor/48x48/apps/dropbox.png
-%{_datadir}/icons/hicolor/symbolic/apps/nemo-dropbox-symbolic.svg
-%{_mandir}/man1/dropbox.1.*
%changelog
+* Mon Mar 20 2023 Leigh Scott <leigh123linux(a)gmail.com> - 5.6.0-2
+- Rebuild
+
* Sat Dec 10 2022 Leigh Scott <leigh123linux(a)gmail.com> - 5.6.0-1
- Update to 5.6.0
47 minutes
[nautilus-dropbox/f38] (7 commits) ...Further review feedback implementation:
by Julian Sikorski
Summary of changes:
c22b6b7... Revert "Doesn't support gtk4 nautilus" (*)
bbf64b6... Add PR fixing nautilus 43+ support (*)
7858c1d... Update the PR code to latest (*)
a2bfedf... Add hack fixing missing emblems (*)
ff0e705... Update to 2022.12.05 (*)
3ec6833... Implement package review feedback: (*)
344abd8... Further review feedback implementation: (*)
(*) This commit already existed in another branch; no separate mail sent
1 hour, 11 minutes
[nautilus-dropbox] Further review feedback implementation:
by Julian Sikorski
commit 344abd8b4cb38b4401dc2149c51c554440ffda5a
Author: Julian Sikorski <belegdol(a)fedoraproject.org>
Date: Fri Mar 17 16:45:51 2023 +0100
Further review feedback implementation:
It is the dropbox package which requires hicolor-icon-theme
Drop i686 arch and make the dropbox package arched
Switch to Source0
Add a note that the dropbox package is a downloader for the actual client
nautilus-dropbox.spec | 24 ++++++++++++++++--------
1 file changed, 16 insertions(+), 8 deletions(-)
---
diff --git a/nautilus-dropbox.spec b/nautilus-dropbox.spec
index 5d9191f..aa823ea 100644
--- a/nautilus-dropbox.spec
+++ b/nautilus-dropbox.spec
@@ -1,17 +1,17 @@
Name: nautilus-dropbox
Epoch: 1
Version: 2022.12.05
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Dropbox extension for Nautilus
License: GPL-3.0-or-later AND CC-BY-ND-3.0
URL: https://www.dropbox.com
-Source: https://linux.dropbox.com/packages/%{name}-%{version}.tar.bz2
+Source0: https://linux.dropbox.com/packages/%{name}-%{version}.tar.bz2
# add 10 second delay to autostart to ensure it loads on session startup
Patch0: add_startup_delay.patch
Patch3: missing-icons-hack.patch
-ExclusiveArch: i686 x86_64
+ExclusiveArch: x86_64
BuildRequires: automake
BuildRequires: desktop-file-utils
@@ -22,22 +22,24 @@ BuildRequires: nautilus-devel
BuildRequires: python3-docutils
BuildRequires: python3-gobject
Requires: dropbox >= %{?epoch}:%{version}-%{release}
-Requires: hicolor-icon-theme
%description
Dropbox extension for nautilus file manager
%package -n dropbox
Summary: Client for Linux
-BuildArch: noarch
+Requires: hicolor-icon-theme
Requires: python3-gobject
Requires: python3-gpg
Requires: libatomic
%description -n dropbox
-Dropbox allows you to sync your files online and across
-your computers automatically.
-
+Dropbox allows you to sync your files online and across your computers
+automatically.
+Note: This package installs an open-source helper application. The version
+of this application does not change as frequently as the main Dropbox
+application. These packages will always install the latest version of Dropbox
+for Linux.
%prep
%autosetup -p1
@@ -69,6 +71,12 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/dropbox.desktop
%changelog
+* Thu Mar 16 2023 Julian Sikorski <belegdol(a)fedoraproject.org> - 1:2022.12.05-3
+- It is the dropbox package which requires hicolor-icon-theme
+- Drop i686 arch and make the dropbox package arched
+- Switch to Source0
+- Add a note that the dropbox package is a downloader for the actual client
+
* Tue Mar 14 2023 Julian Sikorski <belegdol(a)fedoraproject.org> - 1:2022.12.05-2
- Switch the License field to SPDX
- Add missing CC-BY-ND-3.0 license
1 hour, 14 minutes
[nautilus-dropbox] Implement package review feedback:
by Julian Sikorski
commit 3ec683389bc1ef900c4aa11814427b667521b63b
Author: Julian Sikorski <belegdol(a)fedoraproject.org>
Date: Tue Mar 14 17:19:04 2023 +0100
Implement package review feedback:
Switch the License field to SPDX
Add missing CC-BY-ND-3.0 license
Add hicolor-icon-theme to Requires
Re-download the source
nautilus-dropbox.spec | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/nautilus-dropbox.spec b/nautilus-dropbox.spec
index 4b9b1b4..5d9191f 100644
--- a/nautilus-dropbox.spec
+++ b/nautilus-dropbox.spec
@@ -1,9 +1,9 @@
Name: nautilus-dropbox
Epoch: 1
Version: 2022.12.05
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Dropbox extension for Nautilus
-License: GPLv3+
+License: GPL-3.0-or-later AND CC-BY-ND-3.0
URL: https://www.dropbox.com
Source: https://linux.dropbox.com/packages/%{name}-%{version}.tar.bz2
@@ -22,6 +22,7 @@ BuildRequires: nautilus-devel
BuildRequires: python3-docutils
BuildRequires: python3-gobject
Requires: dropbox >= %{?epoch}:%{version}-%{release}
+Requires: hicolor-icon-theme
%description
Dropbox extension for nautilus file manager
@@ -68,6 +69,12 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/dropbox.desktop
%changelog
+* Tue Mar 14 2023 Julian Sikorski <belegdol(a)fedoraproject.org> - 1:2022.12.05-2
+- Switch the License field to SPDX
+- Add missing CC-BY-ND-3.0 license
+- Add hicolor-icon-theme to Requires
+- Re-download the source
+
* Thu Dec 15 2022 Julian Sikorski <belegdol(a)fedoraproject.org> - 1:2022.12.05-1
- Update to 2022.12.05
- Drop upstreamed patches
1 hour, 14 minutes
[nautilus-dropbox] Update to 2022.12.05
by Julian Sikorski
commit ff0e705f4c8547edcc0c9e3f54f8d6ecfb1331cd
Author: Julian Sikorski <belegdol(a)fedoraproject.org>
Date: Thu Dec 15 18:47:45 2022 +0100
Update to 2022.12.05
Drop upstreamed patches
105.patch | 416 --------------------------------------------
fix_nautilus_includes.patch | 13 --
nautilus-dropbox.spec | 10 +-
sources | 2 +-
4 files changed, 7 insertions(+), 434 deletions(-)
---
diff --git a/nautilus-dropbox.spec b/nautilus-dropbox.spec
index 413e408..4b9b1b4 100644
--- a/nautilus-dropbox.spec
+++ b/nautilus-dropbox.spec
@@ -1,7 +1,7 @@
Name: nautilus-dropbox
Epoch: 1
-Version: 2020.03.04
-Release: 7%{?dist}
+Version: 2022.12.05
+Release: 1%{?dist}
Summary: Dropbox extension for Nautilus
License: GPLv3+
URL: https://www.dropbox.com
@@ -9,8 +9,6 @@ Source: https://linux.dropbox.com/packages/%{name}-%{version}.tar.bz2
# add 10 second delay to autostart to ensure it loads on session startup
Patch0: add_startup_delay.patch
-Patch1: fix_nautilus_includes.patch
-Patch2: 105.patch
Patch3: missing-icons-hack.patch
ExclusiveArch: i686 x86_64
@@ -70,6 +68,10 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/dropbox.desktop
%changelog
+* Thu Dec 15 2022 Julian Sikorski <belegdol(a)fedoraproject.org> - 1:2022.12.05-1
+- Update to 2022.12.05
+- Drop upstreamed patches
+
* Tue Nov 22 2022 Julian Sikorski <belegdol(a)fedoraproject.org> - 1:2020.03.04-7
- Update the PR code to latest
- Add hack fixing missing emblems
diff --git a/sources b/sources
index 09bad39..3f43c00 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (nautilus-dropbox-2020.03.04.tar.bz2) = 8f26165a48d1767b3bccb34f95f19357e8fd209f383270ac2d40f773df139d640c3fb33db28cf1fa7e2d7063a7a37b15ed7f4f22f85019e05885c097cea39a48
+SHA512 (nautilus-dropbox-2022.12.05.tar.bz2) = 249ff7f6b8d936c04f61721c3b9bdd9bb6cee627c555fe2b555000289ac0db41c5b03906c549634e83735c92c3695950737fbedaae64cfa0f1eab0ca4ce375ea
1 hour, 14 minutes
[nautilus-dropbox] Add hack fixing missing emblems
by Julian Sikorski
commit a2bfedfddbdc9bcafb26517fbfb542494be383cc
Author: Julian Sikorski <belegdol(a)fedoraproject.org>
Date: Tue Nov 22 17:12:34 2022 +0100
Add hack fixing missing emblems
missing-icons-hack.patch | 17 +++++++++++++++++
nautilus-dropbox.spec | 7 ++++++-
2 files changed, 23 insertions(+), 1 deletion(-)
---
diff --git a/missing-icons-hack.patch b/missing-icons-hack.patch
new file mode 100644
index 0000000..e5f7543
--- /dev/null
+++ b/missing-icons-hack.patch
@@ -0,0 +1,17 @@
+diff -up nautilus-dropbox-2020.03.04/src/nautilus-dropbox.c.emblemhack nautilus-dropbox-2020.03.04/src/nautilus-dropbox.c
+--- nautilus-dropbox-2020.03.04/src/nautilus-dropbox.c.emblemhack 2022-11-22 17:07:41.447839189 +0100
++++ nautilus-dropbox-2020.03.04/src/nautilus-dropbox.c 2022-11-22 17:10:42.294970396 +0100
+@@ -361,7 +361,12 @@ nautilus_dropbox_finish_file_info_comman
+ int i;
+ for ( i = 0; status[i] != NULL; i++) {
+ if (status[i][0])
+- nautilus_file_info_add_emblem(dficr->dfic->file, status[i]);
++ {
++ gchar *emblem = status[i];
++ if (g_strcmp0(emblem, "people") == 0)
++ emblem = "shared";
++ nautilus_file_info_add_emblem(dficr->dfic->file, emblem);
++ }
+ }
+ result = NAUTILUS_OPERATION_COMPLETE;
+ }
diff --git a/nautilus-dropbox.spec b/nautilus-dropbox.spec
index 02a514f..413e408 100644
--- a/nautilus-dropbox.spec
+++ b/nautilus-dropbox.spec
@@ -1,7 +1,7 @@
Name: nautilus-dropbox
Epoch: 1
Version: 2020.03.04
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: Dropbox extension for Nautilus
License: GPLv3+
URL: https://www.dropbox.com
@@ -11,6 +11,7 @@ Source: https://linux.dropbox.com/packages/%{name}-%{version}.tar.bz2
Patch0: add_startup_delay.patch
Patch1: fix_nautilus_includes.patch
Patch2: 105.patch
+Patch3: missing-icons-hack.patch
ExclusiveArch: i686 x86_64
@@ -69,6 +70,10 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/dropbox.desktop
%changelog
+* Tue Nov 22 2022 Julian Sikorski <belegdol(a)fedoraproject.org> - 1:2020.03.04-7
+- Update the PR code to latest
+- Add hack fixing missing emblems
+
* Tue Nov 15 2022 Julian Sikorski <belegdol(a)fedoraproject.org> - 1:2020.03.04-6
- Add PR fixing nautilus 43+ support
1 hour, 14 minutes
[nautilus-dropbox] Update the PR code to latest
by Julian Sikorski
commit 7858c1d81171b3330a8add32142d72070347f94a
Author: Julian Sikorski <belegdol(a)fedoraproject.org>
Date: Tue Nov 22 17:05:14 2022 +0100
Update the PR code to latest
105.patch | 158 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----
1 file changed, 148 insertions(+), 10 deletions(-)
---
diff --git a/105.patch b/105.patch
index 114f85c..efd0574 100644
--- a/105.patch
+++ b/105.patch
@@ -1,7 +1,7 @@
-From 9b9d7edaa9012e4e52f169d0b590cb25f265e119 Mon Sep 17 00:00:00 2001
+From 5587be23bec68281e5d6de2b302dbd2a79ea47aa Mon Sep 17 00:00:00 2001
From: Corey Berla <corey(a)berla.me>
Date: Tue, 13 Sep 2022 15:03:59 -0700
-Subject: [PATCH 1/5] Bump to libnautilus-extension-4
+Subject: [PATCH 1/9] Bump to libnautilus-extension-4
Nautilus 43 comes with libnautilus-extension-4 which has several
breaking changes
@@ -45,10 +45,10 @@ index 025289c..737dc26 100644
AC_MSG_RESULT([${NAUTILUS_EXTENSION_DIR}])
-From c5d80f702758ad68cedc7bd0a113286464c44ba5 Mon Sep 17 00:00:00 2001
+From 90067c37aa0894b3e090dc5bdbaa963224226614 Mon Sep 17 00:00:00 2001
From: Corey Berla <corey(a)berla.me>
Date: Tue, 13 Sep 2022 15:06:07 -0700
-Subject: [PATCH 2/5] Update / remove deprecated (now removed) symbols and
+Subject: [PATCH 2/9] Update / remove deprecated (now removed) symbols and
headers
---
@@ -109,10 +109,10 @@ index 65734be..44faa27 100644
#include "dropbox-command-client.h"
#include "nautilus-dropbox-hooks.h"
-From 0fe0f7d193b26037d55371af12cf14ab65a40151 Mon Sep 17 00:00:00 2001
+From 3f778e011daad826882893812e0d6290bdf12cba Mon Sep 17 00:00:00 2001
From: Corey Berla <corey(a)berla.me>
Date: Tue, 13 Sep 2022 15:06:46 -0700
-Subject: [PATCH 3/5] Include gtk4 directly
+Subject: [PATCH 3/9] Include gtk4 directly
This used to be included from libnautilus-extension, but now that
Nautilus has been ported to gtk4, there is a desire to separate gtk
@@ -164,10 +164,10 @@ index 0d59559..f52e0fb 100644
static GType type_list[1];
-From 1ca648c017483d9713c469ba55a194a3790b6770 Mon Sep 17 00:00:00 2001
+From 4188fea5ce15a5bd0ac359e4c18eaa9039413c83 Mon Sep 17 00:00:00 2001
From: Corey Berla <corey(a)berla.me>
Date: Tue, 13 Sep 2022 15:07:54 -0700
-Subject: [PATCH 4/5] Remove old / unnecessary fix
+Subject: [PATCH 4/9] Remove old / unnecessary fix
This was causes problems with the build and doesn't appear
to be necessary anymore
@@ -218,10 +218,10 @@ index 837f9ab..bc1b5bd 100644
g_string_free(new_action_string, TRUE);
ret++;
-From 585195ce25ffdaa6906d22a2361072c97ac47660 Mon Sep 17 00:00:00 2001
+From def0ce2b69a5d3fec6e2fab360473c5560b947e6 Mon Sep 17 00:00:00 2001
From: Corey Berla <corey(a)berla.me>
Date: Tue, 13 Sep 2022 15:08:16 -0700
-Subject: [PATCH 5/5] Update code for gtk4
+Subject: [PATCH 5/9] Update code for gtk4
---
src/nautilus-dropbox.c | 14 ++++++--------
@@ -276,3 +276,141 @@ index bc1b5bd..b9c10b4 100644
}
g_strfreev(paths);
+
+From d0bb693ce7d2e48562e516771afcd310ccb14ae1 Mon Sep 17 00:00:00 2001
+From: Corey Berla <corey(a)berla.me>
+Date: Sun, 20 Nov 2022 13:56:38 -0800
+Subject: [PATCH 6/9] dropbox: Drop threads_init()
+
+This became unnecessary long ago
+
+https://pygobject.readthedocs.io/en/latest/guide/threading.html#threads-faq
+---
+ dropbox.in | 3 ---
+ 1 file changed, 3 deletions(-)
+ mode change 100755 => 100644 dropbox.in
+
+diff --git a/dropbox.in b/dropbox.in
+old mode 100755
+new mode 100644
+index 4a480bb..31519e2
+--- a/dropbox.in
++++ b/dropbox.in
+@@ -294,14 +294,11 @@ if GUI_AVAILABLE:
+ import gi
+ gi.require_version('Gdk', '3.0')
+ gi.require_version('Gtk', '3.0')
+- from gi.repository import GObject
+ from gi.repository import Gdk
+ from gi.repository import Gtk
+ from gi.repository import Pango
+ import webbrowser
+
+- GObject.threads_init()
+-
+ load_serialized_images()
+
+ global FatalVisibleError
+
+From 1e878e57023370f8932791e90bc6cd8814219c25 Mon Sep 17 00:00:00 2001
+From: Corey Berla <corey(a)berla.me>
+Date: Sun, 20 Nov 2022 13:57:17 -0800
+Subject: [PATCH 7/9] dropbox: Replace deprecated GObject.idle_add with
+ GLib.idle_add
+
+---
+ dropbox.in | 7 ++++---
+ 1 file changed, 4 insertions(+), 3 deletions(-)
+
+diff --git a/dropbox.in b/dropbox.in
+index 31519e2..fc306b0 100644
+--- a/dropbox.in
++++ b/dropbox.in
+@@ -294,6 +294,7 @@ if GUI_AVAILABLE:
+ import gi
+ gi.require_version('Gdk', '3.0')
+ gi.require_version('Gtk', '3.0')
++ from gi.repository import GLib
+ from gi.repository import Gdk
+ from gi.repository import Gtk
+ from gi.repository import Pango
+@@ -328,17 +329,17 @@ if GUI_AVAILABLE:
+ ret = ()
+ if not isinstance(ret, tuple):
+ ret = (ret,)
+- GObject.idle_add(self.loop_callback, *ret)
++ GLib.idle_add(self.loop_callback, *ret)
+
+ if self._stopped:
+ _thread.exit()
+ except Exception as e:
+ print(e)
+ if self.on_exception is not None:
+- GObject.idle_add(self.on_exception, e)
++ GLib.idle_add(self.on_exception, e)
+ else:
+ if self.on_done is not None:
+- GObject.idle_add(self.on_done)
++ GLib.idle_add(self.on_done)
+
+ def start(self, *args, **kwargs):
+ t = threading.Thread(target=self._run, args=args, kwargs=kwargs)
+
+From de01c7f7cab560b226eeb1f1cbcfd348c922e5d4 Mon Sep 17 00:00:00 2001
+From: Corey Berla <corey(a)berla.me>
+Date: Sun, 20 Nov 2022 13:58:15 -0800
+Subject: [PATCH 8/9] dropbox: Threading set daemon as property
+
+setDaemon() is deprecated
+
+https://docs.python.org/3/library/threading.html#threading.Thread.setDaemon
+---
+ dropbox.in | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/dropbox.in b/dropbox.in
+index fc306b0..4b7f923 100644
+--- a/dropbox.in
++++ b/dropbox.in
+@@ -342,8 +342,7 @@ if GUI_AVAILABLE:
+ GLib.idle_add(self.on_done)
+
+ def start(self, *args, **kwargs):
+- t = threading.Thread(target=self._run, args=args, kwargs=kwargs)
+- t.setDaemon(True)
++ t = threading.Thread(target=self._run, args=args, kwargs=kwargs, daemon=True)
+ t.start()
+
+ def stop(self):
+
+From 34024ef1ccc60d905e810057c3e28e0e185eac78 Mon Sep 17 00:00:00 2001
+From: Corey Berla <corey(a)berla.me>
+Date: Sun, 20 Nov 2022 13:59:46 -0800
+Subject: [PATCH 9/9] dropbox: Stop using GtkStock
+
+It was deprecated in 3.10
+
+https://docs.gtk.org/gtk3/ctor.Button.new_from_stock.html
+---
+ dropbox.in | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/dropbox.in b/dropbox.in
+index 4b7f923..380818f 100644
+--- a/dropbox.in
++++ b/dropbox.in
+@@ -447,12 +447,12 @@ if GUI_AVAILABLE:
+ self.user_cancelled = False
+ self.task = None
+
+- self.ok = ok = Gtk.Button(stock=Gtk.STOCK_OK)
++ self.ok = ok = Gtk.Button.new_with_mnemonic("_OK")
+ ok.connect('clicked', self.handle_ok)
+ self.action_area.add(ok)
+ ok.show()
+
+- cancel = Gtk.Button(stock=Gtk.STOCK_CANCEL)
++ cancel = Gtk.Button.new_with_mnemonic("_Cancel")
+ cancel.connect('clicked', self.handle_cancel)
+ self.action_area.add(cancel)
+ cancel.show()
1 hour, 14 minutes