summaryrefslogtreecommitdiff
path: root/gnu/packages/patches
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim@guixotic.coop>2026-03-15 23:20:06 +0900
committerMaxim Cournoyer <maxim@guixotic.coop>2026-03-28 16:26:12 +0900
commit5ca85ad55ec9dfc5955b9536a4e24e3895459670 (patch)
tree28cabb2216f294bc66910c8eef558be1d954f180 /gnu/packages/patches
parentfe237dca8ac10f46574986acb4317317f13a8bfb (diff)
gnu: Add showtime.
* gnu/packages/gnome.scm (showtime): New variable. * gnu/packages/patches/showtime-python-3.11-compat.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. Change-Id: I49d7e852df8cff649b8b9fd23b89422161c99c68
Diffstat (limited to 'gnu/packages/patches')
-rw-r--r--gnu/packages/patches/showtime-python-3.11-compat.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/patches/showtime-python-3.11-compat.patch b/gnu/packages/patches/showtime-python-3.11-compat.patch
new file mode 100644
index 00000000000..462513b96c7
--- /dev/null
+++ b/gnu/packages/patches/showtime-python-3.11-compat.patch
@@ -0,0 +1,18 @@
+Temporary patch to undo some Python 3.12 specific syntax until we have 3.12+ in Guix.
+
+diff -u /tmp/guix-build-showtime-50.0.drv-0/source/showtime/widgets/window.py.old /tmp/guix-build-showtime-50.0.drv-0/source/showtime/widgets/window.py
+--- a/showtime/widgets/window.py.old 2026-03-15 22:57:05.619357847 +0900
++++ b/showtime/widgets/window.py 2026-03-15 22:56:47.823332531 +0900
+@@ -1057,7 +1057,5 @@
+ return
+
+ Gtk.FileDialog(
+- initial_name=f"{
+- get_title(self.play.get_media_info()) or _('Unknown Title')
+- } {nanoseconds_to_timestamp(self.play.get_position(), hours=True)}.png"
++ initial_name=f"{get_title(self.play.get_media_info()) or _('Unknown Title')} {nanoseconds_to_timestamp(self.play.get_position(), hours=True)}.png"
+ ).save(self, None, self._save_screenshot, texture.save_to_png_bytes())
+
+ def _save_screenshot(
+
+Diff finished. Sun Mar 15 22:57:13 2026