public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/lollypop] rawhide: Add lollypop-python-3.15-comp.patch
@ 2026-10-05 12:09 Martin Gansser
  0 siblings, 0 replies; only message in thread
From: Martin Gansser @ 2026-10-05 12:09 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/lollypop
            Branch : rawhide
            Commit : aa8ecd0638853ac7ce18b6b0af9a1b7f12ff17cb
            Author : Martin Gansser <mgansser@netcom-mail.de>
            Date   : 2026-10-05T14:08:50+02:00
            Stats  : +57/-4 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/lollypop/c/aa8ecd0638853ac7ce18b6b0af9a1b7f12ff17cb?branch=rawhide

            Log:
            Add lollypop-python-3.15-comp.patch

Update to 1.4.46

---
diff --git a/.gitignore b/.gitignore
index 9653b5a..2d6adc7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -186,3 +186,4 @@
 /lollypop-1.4.42.tar.xz
 /lollypop-1.4.44.tar.xz
 /lollypop-1.4.45.tar.xz
+/lollypop-1.4.46.tar.xz

diff --git a/lollypop-python-3.15-comp.patch b/lollypop-python-3.15-comp.patch
new file mode 100644
index 0000000..3d8fe69
--- /dev/null
+++ b/lollypop-python-3.15-comp.patch
@@ -0,0 +1,48 @@
+diff -Naur lollypop-1.4.45.orig/lollypop/database_cache.py lollypop-1.4.45/lollypop/database_cache.py
+--- lollypop-1.4.45.orig/lollypop/database_cache.py	2025-12-09 07:41:59.000000000 +0100
++++ lollypop-1.4.45/lollypop/database_cache.py	2026-10-05 13:45:40.484445422 +0200
+@@ -120,7 +120,7 @@
+             Return a new sqlite cursor
+         """
+         try:
+-            c = sqlite3.connect(self.DB_PATH, 600.0)
++            c = sqlite3.connect(self.DB_PATH, timeout=600.0)
+             return c
+         except:
+             exit(-1)
+diff -Naur lollypop-1.4.45.orig/lollypop/database_history.py lollypop-1.4.45/lollypop/database_history.py
+--- lollypop-1.4.45.orig/lollypop/database_history.py	2025-12-09 07:41:59.000000000 +0100
++++ lollypop-1.4.45/lollypop/database_history.py	2026-10-05 13:45:26.812394081 +0200
+@@ -150,7 +150,7 @@
+             Return a new sqlite cursor
+         """
+         try:
+-            return sqlite3.connect(self.__DB_PATH, 600.0)
++            return sqlite3.connect(self.__DB_PATH, timeout=600.0)
+         except:
+             exit(-1)
+ 
+diff -Naur lollypop-1.4.45.orig/lollypop/database.py lollypop-1.4.45/lollypop/database.py
+--- lollypop-1.4.45.orig/lollypop/database.py	2025-12-09 07:41:59.000000000 +0100
++++ lollypop-1.4.45/lollypop/database.py	2026-10-05 13:45:13.165930743 +0200
+@@ -205,7 +205,7 @@
+             Return a new sqlite cursor
+         """
+         try:
+-            c = sqlite3.connect(self.DB_PATH, 600.0)
++            c = sqlite3.connect(self.DB_PATH, timeout=600.0)
+             c.create_collation("LOCALIZED", LocalizedCollation())
+             c.create_function("noaccents", 1, noaccents)
+             c.create_function("sql_escape", 1, sql_escape)
+diff -Naur lollypop-1.4.45.orig/lollypop/playlists.py lollypop-1.4.45/lollypop/playlists.py
+--- lollypop-1.4.45.orig/lollypop/playlists.py	2025-12-09 07:41:59.000000000 +0100
++++ lollypop-1.4.45/lollypop/playlists.py	2026-10-05 13:45:56.788598785 +0200
+@@ -682,7 +682,7 @@
+             Return a new sqlite cursor
+         """
+         try:
+-            sql = sqlite3.connect(self._DB_PATH, 600.0)
++            sql = sqlite3.connect(self._DB_PATH, timeout=600.0)
+             sql.execute('ATTACH DATABASE "%s" AS music' % Database.DB_PATH)
+             sql.create_collation("LOCALIZED", LocalizedCollation())
+             return sql

diff --git a/lollypop.spec b/lollypop.spec
index 99440cc..d1ea3bd 100644
--- a/lollypop.spec
+++ b/lollypop.spec
@@ -3,12 +3,13 @@
 %global provider org.gnome.Lollypop
 
 Name:           lollypop
-Version:        1.4.45
-Release:        4%{?dist}
+Version:        1.4.46
+Release:        1%{?dist}
 Summary:        Music player for GNOME
 License:        GPL-3.0-or-later
 URL:            https://gitlab.gnome.org/World/lollypop
 Source0:        https://adishatz.org/lollypop/%{name}-%{version}.tar.xz
+Patch0:         %{name}-python-3.15-comp.patch
 
 BuildRequires:  gobject-introspection-devel
 BuildRequires:  desktop-file-utils
@@ -51,7 +52,6 @@ Lollypop is a new GNOME music playing application.
 
 %prep
 %autosetup -p1 -n %{name}-%{version}
-sed -i -e 's|libsoup-2.4|libsoup-3.0|' meson.build
 
 %build
 %meson
@@ -87,6 +87,10 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.metainf
 %{_mandir}/man1/%{name}.1*
 
 %changelog
+* Mon Oct 05 2026 Martin Gansser <martinkg@fedoraproject.org> - 1.4.46-1
+- Add %{name}-python-3.15-comp.patch
+- Update to 1.4.46
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.45-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

diff --git a/sources b/sources
index 476ef94..0af8b6b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (lollypop-1.4.45.tar.xz) = 1624e0467940e5a92acf26ec86b7c6a9a83baecc31bc4d3942be87abbe10cfc9110399802d2c42a900250340ad633671dfc9e731c63a9247ea710a03b01112eb
+SHA512 (lollypop-1.4.46.tar.xz) = 2769e5e25b499352d8ef94af2c1efab9a2f1ae7ef2c6e90d1be0d88bd4c0cbb3d6f66035ad341129476b32bf2b59df5879bc024e2d2096251af3a72172ae2b5d

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-05 12:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-05 12:09 [rpms/lollypop] rawhide: Add lollypop-python-3.15-comp.patch Martin Gansser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox