Bug 266912

Summary: multimedia/gstreamer1-plugins: does not install multimedia/gstreamer1-plugins-rust
Product: Ports & Packages Reporter: Graham Perrin <grahamperrin>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed Works As Intended    
Severity: Affects Only Me CC: jbeich, multimedia, riggs
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/freebsd/freebsd-ports/blob/main/multimedia/gstreamer1-plugins/Makefile.common
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263949
https://reviews.freebsd.org/D16457

Description Graham Perrin freebsd_committer freebsd_triage 2022-10-09 06:23:51 UTC
Please: is this an omission, or working as intended? 

Remarkable, yesterday, the first of these two deinstallations (the second was easier to understand): 

% grep deinstalled /var/log/messages | grep 33806
Oct  8 14:00:16 mowa219-gjp4-8570p-freebsd pkg[33806]: gstreamer1-plugins-gtk4-1.16.2 deinstalled
Oct  8 14:00:16 mowa219-gjp4-8570p-freebsd pkg[33806]: e2fsprogs-1.46.5_5 deinstalled
% 

From <https://github.com/freebsd/freebsd-ports/commit/afbb72cc3a627083dea0ad451bb887a2f7a922df#diff-8cfe2945583e33f5f0efcb793a56070503fd1f732e5869ee014036d6b513f468R17581> (2022-10-02): 

> x11-toolkits/gstreamer1-plugins-gtk4||2022-10-01|
> No consumers left and deprecated in favor gtk4 plugin from 
> multimedia/gstreamer1-plugins-rust >= 0.8.0

Now: 

* should gstreamer1-plugins-rust become a runtime requirement of 
         gstreamer1-plugins?

<https://www.freshports.org/multimedia/gstreamer1-plugins/#requiredforRun>

<https://www.freshports.org/multimedia/gstreamer1-plugins/#slaveports>
Comment 1 Jan Beich freebsd_committer freebsd_triage 2022-10-09 08:32:35 UTC
- gstreamer1-plugins cannot depend on individual plugins like gstreamer1-plugins-rust as it would cause recursive/cyclic dependency
- gstreamer1-plugins-all can probably include gstreamer1-plugins-rust but it's a growing collection of plugins like gstreamer1-plugins-ugly
- splitting gstreamer1-plugins-rust is complicated due to lack of review D16457 and build system being unlike other plugins (Meson is mostly a wrapper around Cargo)
- gstreamer1-plugins-svt-{av1,hevc,vp9} are also not connected to gstreamer1-plugins-all
Comment 2 Graham Perrin freebsd_committer freebsd_triage 2022-10-14 02:59:31 UTC
(In reply to Jan Beich from comment #1)

Thanks, and sorry, I should have remembered, from bug 263949, the existence of the -all port. 

Writing this, now, in a way, that might help me to remember: 

multimedia/gstreamer1-plugins – a collection, with numerous 
   slave ports (and a runtime dependency on 
   multimedia/gstreamer1) – that does not require 
multimedia/gstreamer1-plugins-all – a meta-port, with numerous 
   gstreamer1 runtime dependencies, including the 
multimedia/gstreamer1-plugins-ugly collection 
   but not exactly all. 

----

Is it sanest to close this bug report, working as intended?