pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [pkgsrc-2026Q3] pkgsrc/audio/exaile



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Sun Nov 15 14:44:37 UTC 2026

Modified Files:
        pkgsrc/audio/exaile [pkgsrc-2026Q3]: Makefile distinfo
Added Files:
        pkgsrc/audio/exaile/patches [pkgsrc-2026Q3]: patch-xl_main.py
            patch-xl_plugins.py

Log Message:
Pullup ticket #7387 - requested by nia
audio/exaile: build fix

Revisions pulled up:
- audio/exaile/Makefile                                         1.102
- audio/exaile/distinfo                                         1.20
- audio/exaile/patches/patch-xl_main.py                         1.1
- audio/exaile/patches/patch-xl_plugins.py                      1.1

---
   Module Name: pkgsrc
   Committed By:        nia
   Date:                Fri Nov 13 14:37:34 UTC 2026

   Modified Files:
        pkgsrc/audio/exaile: Makefile distinfo
   Added Files:
        pkgsrc/audio/exaile/patches: patch-xl_main.py patch-xl_plugins.py

   Log Message:
   exaile: Fix compatibility with latest GIRepository.

   Patch taken from upstream. Should fix running exaile.


To generate a diff of this commit:
cvs rdiff -u -r1.97 -r1.97.2.1 pkgsrc/audio/exaile/Makefile
cvs rdiff -u -r1.19 -r1.19.24.1 pkgsrc/audio/exaile/distinfo
cvs rdiff -u -r0 -r1.1.2.2 pkgsrc/audio/exaile/patches/patch-xl_main.py \
    pkgsrc/audio/exaile/patches/patch-xl_plugins.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/exaile/Makefile
diff -u pkgsrc/audio/exaile/Makefile:1.97 pkgsrc/audio/exaile/Makefile:1.97.2.1
--- pkgsrc/audio/exaile/Makefile:1.97   Wed Sep  2 19:00:47 2026
+++ pkgsrc/audio/exaile/Makefile        Sun Nov 15 14:44:37 2026
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.97 2026/09/02 19:00:47 wiz Exp $
+# $NetBSD: Makefile,v 1.97.2.1 2026/11/15 14:44:37 bsiegert Exp $
 
 DISTNAME=      exaile-4.1.3
-PKGREVISION=   11
+PKGREVISION=   15
 CATEGORIES=    audio
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=exaile/}
 GITHUB_PROJECT=        exaile

Index: pkgsrc/audio/exaile/distinfo
diff -u pkgsrc/audio/exaile/distinfo:1.19 pkgsrc/audio/exaile/distinfo:1.19.24.1
--- pkgsrc/audio/exaile/distinfo:1.19   Sun Nov 19 23:38:27 2023
+++ pkgsrc/audio/exaile/distinfo        Sun Nov 15 14:44:37 2026
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.19 2023/11/19 23:38:27 nia Exp $
+$NetBSD: distinfo,v 1.19.24.1 2026/11/15 14:44:37 bsiegert Exp $
 
 BLAKE2s (exaile-4.1.3.tar.gz) = e8e61f030f1c5fdf66fc84313ebd8eff5d078f4843a8e26de903ecb4efcf5a34
 SHA512 (exaile-4.1.3.tar.gz) = f01dba6e66cfa71ba79746af9dea9294c85994ff38f4be56a9d074f62f1a656d71aebc344a4a00ecb926c94ca0aeabdde44a142a210842b86dd15f7f0d3ca823
 Size (exaile-4.1.3.tar.gz) = 3919798 bytes
 SHA1 (patch-exaile) = 738848e3f57ff4cf202478be6d1fe30bc3a93533
+SHA1 (patch-xl_main.py) = 545761868c65b42209051ef4e886da3b93102939
+SHA1 (patch-xl_plugins.py) = a80d4803206951ec5a12e7aed29cc29e040927f3

Added files:

Index: pkgsrc/audio/exaile/patches/patch-xl_main.py
diff -u /dev/null pkgsrc/audio/exaile/patches/patch-xl_main.py:1.1.2.2
--- /dev/null   Sun Nov 15 14:44:37 2026
+++ pkgsrc/audio/exaile/patches/patch-xl_main.py        Sun Nov 15 14:44:37 2026
@@ -0,0 +1,26 @@
+$NetBSD: patch-xl_main.py,v 1.1.2.2 2026/11/15 14:44:37 bsiegert Exp $
+
+From b503b4a5b500a8af20a3844ab308b7a49e681b75 Mon Sep 17 00:00:00 2001
+From: Johannes Sasongko <johannes%sasongko.org@localhost>
+Date: Tue, 25 Mar 2025 14:50:14 +1100
+Subject: [PATCH] plugins: Support GIRepository-3.0
+
+GLib 2.84 integrates GIRepository (as `-3.0`). Rather than checking the
+GLib version for the right GIRepository version to `require_version`, this
+commit simply uses a try-except.
+
+This also moves the `require_version` call from main.py to plugins.py,
+where the GIRepository import actually is.
+
+Fixes: https://github.com/exaile/exaile/issues/962
+
+--- xl/main.py.orig    2023-08-02 09:23:35.000000000 +0000
++++ xl/main.py
+@@ -54,7 +54,6 @@ def _do_heavy_imports():
+     gi.require_version('Gdk', '3.0')
+     gi.require_version('Gtk', '3.0')
+     gi.require_version('Gst', '1.0')
+-    gi.require_version('GIRepository', '2.0')
+     gi.require_version('GstPbutils', '1.0')
+ 
+     from gi.repository import GLib, Gio, Gtk
Index: pkgsrc/audio/exaile/patches/patch-xl_plugins.py
diff -u /dev/null pkgsrc/audio/exaile/patches/patch-xl_plugins.py:1.1.2.2
--- /dev/null   Sun Nov 15 14:44:37 2026
+++ pkgsrc/audio/exaile/patches/patch-xl_plugins.py     Sun Nov 15 14:44:37 2026
@@ -0,0 +1,32 @@
+$NetBSD: patch-xl_plugins.py,v 1.1.2.2 2026/11/15 14:44:37 bsiegert Exp $
+
+From b503b4a5b500a8af20a3844ab308b7a49e681b75 Mon Sep 17 00:00:00 2001
+From: Johannes Sasongko <johannes%sasongko.org@localhost>
+Date: Tue, 25 Mar 2025 14:50:14 +1100
+Subject: [PATCH] plugins: Support GIRepository-3.0
+
+GLib 2.84 integrates GIRepository (as `-3.0`). Rather than checking the
+GLib version for the right GIRepository version to `require_version`, this
+commit simply uses a try-except.
+
+This also moves the `require_version` call from main.py to plugins.py,
+where the GIRepository import actually is.
+
+Fixes: https://github.com/exaile/exaile/issues/962
+
+--- xl/plugins.py.orig 2023-08-02 09:23:35.000000000 +0000
++++ xl/plugins.py
+@@ -259,6 +259,13 @@ class PluginsManager:
+         :param info: The data returned from get_plugin_info()
+         """
+         import pkgutil
++        import gi
++
++        # https://github.com/exaile/exaile/issues/962
++        try:
++            gi.require_version('GIRepository', '3.0')
++        except ValueError:
++            gi.require_version('GIRepository', '2.0')
+         from gi.repository import GIRepository
+ 
+         gir = GIRepository.Repository.get_default()



Home | Main Index | Thread Index | Old Index