pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
yamusic-tui-git: update to 0.8.0
Module Name: pkgsrc-wip
Committed By: Alexander Kondrat <a%kondrat.su@localhost>
Pushed By: a.kondrat
Date: Wed Oct 7 10:05:59 2026 +0300
Changeset: e8caf78cdb7a6f1df677b75e7d844f1b2a0b8b23
Modified Files:
yamusic-tui-git/Makefile
yamusic-tui-git/distinfo
yamusic-tui-git/go-modules.mk
Added Files:
yamusic-tui-git/patches/patch-ui_model_mainPage_playlistControl.go
Log Message:
yamusic-tui-git: update to 0.8.0
Upstream changes:
* Theming support (configurable colors and "icons");
* MacOS media control integration;
* UI components toggle;
* Volume indicator;
* Switched to a new rotor API for my wave;
* Various tracklist fixes and pages keybinding;
* Support for HTTP proxy and self-signed SSL certs;
* Parallel initial load and fetching playing track info;
* Liked albums and UI changes for displaying albums;
* Improved search results (now displays all of the artist's albums instead of popular tracks);
* Show artist's albums action;
* Fixed errors in offline mode;
* Fixed mpris:artUrl field for linux media controls;
* Fixed terminal title;
* Fixed playlist controls;
* Fixed rewind.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e8caf78cdb7a6f1df677b75e7d844f1b2a0b8b23
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
yamusic-tui-git/Makefile | 8 ++++----
yamusic-tui-git/distinfo | 19 ++++++++++---------
yamusic-tui-git/go-modules.mk | 4 ++--
.../patch-ui_model_mainPage_playlistControl.go | 18 ++++++++++++++++++
4 files changed, 34 insertions(+), 15 deletions(-)
diffs:
diff --git a/yamusic-tui-git/Makefile b/yamusic-tui-git/Makefile
index 81dac2ebf4..cd01315408 100644
--- a/yamusic-tui-git/Makefile
+++ b/yamusic-tui-git/Makefile
@@ -1,8 +1,8 @@
# $NetBSD$
GITHUB_PROJECT= yamusic-tui
-GITHUB_TAG= 09956111a118d81a2f30f3d0142e879001aa5971
-DISTNAME= yamusic-tui
+GITHUB_TAG= v0.8.0
+DISTNAME= yamusic-tui-0.8.0
PKGNAME= yamusic-tui-git
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_GITHUB:=DECE2183/}
@@ -19,8 +19,8 @@ PKGSRC_MKPIE= no
GOFLAGS+= -tags nomedia
DEPENDS+= alsa-plugins-oss>=1.2.7.1:../../audio/alsa-plugins-oss
-DOCDIR= ${PREFIX}/share/doc/${DISTNAME}
-INSTALLATION_DIRS+= share/doc/${DISTNAME}
+DOCDIR= ${PREFIX}/share/doc/${GITHUB_PROJECT}
+INSTALLATION_DIRS+= share/doc/${GITHUB_PROJECT}
post-install:
${INSTALL_DATA} ${FILESDIR}/README.pkgsrc ${DESTDIR}${DOCDIR}/README
diff --git a/yamusic-tui-git/distinfo b/yamusic-tui-git/distinfo
index 7d26f4da7b..3ce69a39bc 100644
--- a/yamusic-tui-git/distinfo
+++ b/yamusic-tui-git/distinfo
@@ -60,12 +60,12 @@ Size (github.com_dece2183_go-clipboard_@v_v1.0.0.mod) = 49 bytes
BLAKE2s (github.com_dece2183_go-clipboard_@v_v1.0.0.zip) = 7e504f0056432e5332ed84002b631f61dffc5acc2a9e713abc4cc4d0063d40f1
SHA512 (github.com_dece2183_go-clipboard_@v_v1.0.0.zip) = 78b7bc3fdf9e7a817fbe70638e1d8c9665bb72002da6d9fff29d4aaf8d40d06f1a0632c9e86ac9bbdac4dd2e4c6ceb715536efee52baf1fc4e7b097db92ebad2
Size (github.com_dece2183_go-clipboard_@v_v1.0.0.zip) = 24772 bytes
-BLAKE2s (github.com_dece2183_go-stream-mp3_@v_v1.0.1.mod) = ddce0e3365c625bf6fab7f97502260153daeb6015c297dcec55e433afcc83cdb
-SHA512 (github.com_dece2183_go-stream-mp3_@v_v1.0.1.mod) = 8b30add56b2faf582f96f98d02a5fbd7d4fc01980063f4679b10a974fd3270c9c0598f27f446338b41c2a4cca950148cfda666c9ef8374179dd2d8528f5b9a7f
-Size (github.com_dece2183_go-stream-mp3_@v_v1.0.1.mod) = 96 bytes
-BLAKE2s (github.com_dece2183_go-stream-mp3_@v_v1.0.1.zip) = 57bfd2ef4e9fe9757fd05e16ffff6e9e941c8781b95406d6af7292c16ce26b0d
-SHA512 (github.com_dece2183_go-stream-mp3_@v_v1.0.1.zip) = cbfee133d68c10662a61d976a7750c427d5450cbb280172591d38e13880f63badfc0902317fa1e2b5a18d74ec4d5084068c500dc2efb2824c632e8585c6b03f4
-Size (github.com_dece2183_go-stream-mp3_@v_v1.0.1.zip) = 11696281 bytes
+BLAKE2s (github.com_dece2183_go-stream-mp3_@v_v1.0.2.mod) = ddce0e3365c625bf6fab7f97502260153daeb6015c297dcec55e433afcc83cdb
+SHA512 (github.com_dece2183_go-stream-mp3_@v_v1.0.2.mod) = 8b30add56b2faf582f96f98d02a5fbd7d4fc01980063f4679b10a974fd3270c9c0598f27f446338b41c2a4cca950148cfda666c9ef8374179dd2d8528f5b9a7f
+Size (github.com_dece2183_go-stream-mp3_@v_v1.0.2.mod) = 96 bytes
+BLAKE2s (github.com_dece2183_go-stream-mp3_@v_v1.0.2.zip) = 66dfabda9accf9a8b3db494c381627894f725c220a5247191e7f52a9f9b1f55e
+SHA512 (github.com_dece2183_go-stream-mp3_@v_v1.0.2.zip) = b24bcfb420f0de3d4d61c25bd71e49b52bcbc6e17efdffd37bcc531394aada91bde3f7e62fdfb4e05f98123bfbe9b034ffb99cc4910296f8812cc47524428915
+Size (github.com_dece2183_go-stream-mp3_@v_v1.0.2.zip) = 11795181 bytes
BLAKE2s (github.com_dece2183_media-winrt-go_@v_v0.0.0-20250304161442-46653f733234.mod) = e1c089417497a7a6bbc750112d34b2a3413b7699adcfce995999f55dc77a7c32
SHA512 (github.com_dece2183_media-winrt-go_@v_v0.0.0-20250304161442-46653f733234.mod) = a5edb93b1de12574f2547b60506b0e004c92f76214bd1709b225c814dc8600e9bbd6c88e400da8d386d80c90cfcd814c9d6481ceb22038a2f7d82050e916171a
Size (github.com_dece2183_media-winrt-go_@v_v0.0.0-20250304161442-46653f733234.mod) = 660 bytes
@@ -279,6 +279,7 @@ Size (gopkg.in_yaml.v3_@v_v3.0.1.mod) = 95 bytes
BLAKE2s (gopkg.in_yaml.v3_@v_v3.0.1.zip) = 2e80fa896e65b1ae160400012c71aeac70e22a31cac82ec4921c85a93d65774c
SHA512 (gopkg.in_yaml.v3_@v_v3.0.1.zip) = d57b0d42c71ad6503415e42979b51b0dc7f6344072c728ab2e3d4bab88da7b7d775e7f261868909f990f6b44aed6c533966c97bbe333a0acd65fc8bac9d1d4ff
Size (gopkg.in_yaml.v3_@v_v3.0.1.zip) = 104623 bytes
-BLAKE2s (yamusic-tui-09956111a118d81a2f30f3d0142e879001aa5971.tar.gz) = e52d7f0f0056b760bf68d5f163097619c6a90492bb8126ed6e0acb9f9cdf2ee7
-SHA512 (yamusic-tui-09956111a118d81a2f30f3d0142e879001aa5971.tar.gz) = e33c79ea41f99f030c73fbae0bd59629e4c9a58d885ab9b1f645f4a0cd6ac521a2008b4a788f2f0511506a56a006d77060abe83e53774254b933d9c1f2623ace
-Size (yamusic-tui-09956111a118d81a2f30f3d0142e879001aa5971.tar.gz) = 817731 bytes
+BLAKE2s (yamusic-tui-0.8.0.tar.gz) = 98c19ddb0933bb3a1d02ac6421c86bd2c016011ee8ccef1b30115d032201b3d8
+SHA512 (yamusic-tui-0.8.0.tar.gz) = a03fb1d33bdb6c8dc53f0a52d43b027a49c0498b02b084335c69e8a40e1c78e846da5ff24b930285315f19ca16b1dcbea9c37b431d8021bb42095aa72c1d9eb9
+Size (yamusic-tui-0.8.0.tar.gz) = 822020 bytes
+SHA1 (patch-ui_model_mainPage_playlistControl.go) = f85878004fd626ca9e1e318ae40c4128ce4e5cd2
diff --git a/yamusic-tui-git/go-modules.mk b/yamusic-tui-git/go-modules.mk
index 2be6205b6d..1f67c3af7d 100644
--- a/yamusic-tui-git/go-modules.mk
+++ b/yamusic-tui-git/go-modules.mk
@@ -20,8 +20,8 @@ GO_MODULE_FILES+= github.com/charmbracelet/x/term/@v/v0.2.1.mod
GO_MODULE_FILES+= github.com/charmbracelet/x/term/@v/v0.2.1.zip
GO_MODULE_FILES+= github.com/dece2183/go-clipboard/@v/v1.0.0.mod
GO_MODULE_FILES+= github.com/dece2183/go-clipboard/@v/v1.0.0.zip
-GO_MODULE_FILES+= github.com/dece2183/go-stream-mp3/@v/v1.0.1.mod
-GO_MODULE_FILES+= github.com/dece2183/go-stream-mp3/@v/v1.0.1.zip
+GO_MODULE_FILES+= github.com/dece2183/go-stream-mp3/@v/v1.0.2.mod
+GO_MODULE_FILES+= github.com/dece2183/go-stream-mp3/@v/v1.0.2.zip
GO_MODULE_FILES+= github.com/dece2183/media-winrt-go/@v/v0.0.0-20250304161442-46653f733234.mod
GO_MODULE_FILES+= github.com/dece2183/media-winrt-go/@v/v0.0.0-20250304161442-46653f733234.zip
GO_MODULE_FILES+= github.com/ebitengine/oto/v3/@v/v3.3.2.mod
diff --git a/yamusic-tui-git/patches/patch-ui_model_mainPage_playlistControl.go b/yamusic-tui-git/patches/patch-ui_model_mainPage_playlistControl.go
new file mode 100644
index 0000000000..a7f4d581b5
--- /dev/null
+++ b/yamusic-tui-git/patches/patch-ui_model_mainPage_playlistControl.go
@@ -0,0 +1,18 @@
+$NetBSD$
+
+Guard pl.Albums[pl.SelectedAlbum] with an upper-bound check in
+displayPlaylist. An ALBUMS playlist with an empty Albums list but
+SelectedAlbum >= 0 otherwise indexes out of range and panics at
+runtime (index out of range); it now falls back to the plain title.
+
+--- ui/model/mainPage/playlistControl.go.orig 2026-10-06 15:01:33.041870456 +0300
++++ ui/model/mainPage/playlistControl.go 2026-10-06 18:21:13.916653760 +0300
+@@ -319,7 +319,7 @@
+ case playlist.LOCAL:
+ m.tracklist.Title = "Cached tracks"
+ case playlist.ALBUMS:
+- if pl.SelectedAlbum >= 0 {
++ if pl.SelectedAlbum >= 0 && pl.SelectedAlbum < len(pl.Albums) {
+ album := pl.Albums[pl.SelectedAlbum]
+ title := style.TrackTitleStyle.Render(album.Title)
+ artists := style.TrackArtistStyle.Render(" (" + helpers.ArtistList(album.Artists) + ")")
Home |
Main Index |
Thread Index |
Old Index