Bug 275959

Summary: [NEW PORT] audio/sublime-music: GTK3 desktop client for Subsonic-compatible music streaming servers
Product: Ports & Packages Reporter: Lexi Winter <lexi.freebsd>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Open ---    
Severity: Affects Only Me CC: jbo, lexi.freebsd, vvd
Priority: --- Flags: lexi.freebsd: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on: 275945, 275947    
Bug Blocks:    
Attachments:
Description Flags
patch
none
patch
none
patch
none
patch none

Description Lexi Winter 2023-12-27 08:28:40 UTC
Created attachment 247280 [details]
patch

Sublime Music is a feature-packed native GTK client for Subsonic-compatible
music streaming servers, including Subsonic, Navidrome, Airsonic and Gonic.

In addition to streaming, it allows music to be downloaded for offline
playback.

note: requires py-chromecast (PR #275947) and py-python-mpv (PR #275945).
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2023-12-29 05:02:03 UTC
Comment on attachment 247280 [details]
patch

^Triage: convert this to text/plain and set the Patch flag so that the
automation can see it.
Comment 2 Lexi Winter 2024-01-05 04:24:35 UTC
Created attachment 247454 [details]
patch

new patch: fix testport errors
Comment 3 Lexi Winter 2024-01-13 06:02:26 UTC
Created attachment 247612 [details]
patch

new patch: rename the port directory to py-sublime-music and add PKGNAMEPREFIX.
Comment 4 Joel Bodenmann freebsd_committer freebsd_triage 2024-01-21 18:18:57 UTC
As discussed on IRC this needs some investigation regarding the python 3.10 dependencies (at least for 13.2-RELEASE and 14.0-RELEASE).
Comment 5 Mark Linimon freebsd_committer freebsd_triage 2024-01-23 22:26:47 UTC
^Triage: in general we don't assign PRs to non-committers, on the premise that they can't do anything about them .
Comment 6 Lexi Winter 2024-01-29 00:42:13 UTC
Created attachment 248051 [details]
patch

new patch.

this adds IGNORE= if building on Python <= 3.9, so the build doesn't fail.

sorry, i spend 24+ hours of CPU time trying to make this work in testport without DEFAULT_VERSIONS and could not find a way.  you have to testport it with DEFAULT_VERSIONS+=python=3.10, or a later version, in your make.conf.

if there's a better way to do this, i would love to know.
Comment 7 Lexi Winter 2024-01-29 01:33:29 UTC
i can't test the port with Python 3.10 (because pkg wants to remove half my packages to install it, including my web browser), but the Python 3.11 build (py311-sublime-music) is working fine on 15.0.
Comment 8 Vladimir Druzenko freebsd_committer freebsd_triage 2024-01-29 07:27:32 UTC
(In reply to Lexi Winter from comment #7)
Default version of the python will be 3.11 soon: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275494
You don't need to make it work with older versions.