to., jan. 27 2022 at kl. 18.22 +0100 +0100 skrev Olaf Hering <[email protected]> følgende:
Thu, 27 Jan 2022 11:06:19 +0100 Bjørn Lie <[email protected]>:

This could however all have been avoided if we switched packman to only
 build the extra codecs in orig addon.

If gstreamer is really modular, remove all conditionals from gstreamer-plugins-bad/ugly and split the problematic parts into a separate specfile. This new package should be maintained also in OBS to give the maintainers full control. In packman only these two extra package need to be build. They need to be installed manually.


Olaf

It is modular, you don't have to take my word for it, test for yourself.

Change ALL gstreamer packages (inc the libs/typelibs/lang , heck change gstreamer-plugins-libav too if you have that installed from packman) to OSS repo.

Leave ONLY
gstreamer-plugins-bad-orig-addon (and 32bit version if you have that installed) and gstreamer-plugins-ugly-orig-addon (and 32bit version if you have that installed).

Nuke your gstreamer registry ( rm -v ~/.cache/gstreamer-1.0/registry.x86_64.bin )

Now run gst-instpect-1.0 -> see all your plugins. Feel free to grep it for h264/5 or aac

Test various media with gstreamer based media player eg. totem.

When it comes to removing the conditionals from bad/ugly - Nope I will not do that. We have had those in there for countless years now, and I have no idea how many of our users who are recompiling the src rpm with the needed dependencies themselves. I will not take away that possibility.

As to adding the "naugthy" bits in a separate spec - There is no way I can get those specs into Factory, as they will not be able to build on the main obs at all, since the dependencies are not available. If you mean doing it as a a _multibuild or old style linked spec, factory maintainers will nack a non built/resolvable spec. Just getting the non-building specs into multimedia:libs will probably prove a hassle.

What we have to ask ourselves here is what are we doing this for - ourselves or our endusers. Yes having the spec's we build just on the pmbs will add extra work, but it is not like there is not countless other specs that only exist on pmbs and not the main one. Also why do you insist on the packages needing to be manually installed? The way I have it in my home repo here on pmbs, will allow users to just add packman repo, type zypper inr, and bad/ugly-extra packages and their deps will automagically install. Why make it harder than it is needed to be? Lets provide endusers with as simple as possible and as few as possible package that gives the functionality that they are after.
(* see end of mail)

Now if you worry about this due to consern about the gstreamer maintainers in the distro, then please realize that I am and have been the main maintainer for the gstreamer packages for years. But no matter - why should the other maintainers care what "addon/extra" feature packages are out there?

If we go for my suggestion of building JUST the naugthy parts of gst-bad on packman our user would see:

gstreamer-plugins-bad-codecs
gstreamer-plugins-bad-codecs-32bit

for gst-bad vs what they see today:

package uploaded downloads
gstreamer-plugins-bad-1.18.5-8.1.x86_64.rpm 11 hours ago 2
gstreamer-plugins-bad-32bit-1.18.5-8.1.x86_64.rpm 11 hours ago 0
gstreamer-plugins-bad-chromaprint-1.18.5-8.1.x86_64.rpm 11 hours ago 0
gstreamer-plugins-bad-chromaprint-32bit-1.18.5-8.1.x86_64.rpm 11 hours ago 0
gstreamer-plugins-bad-fluidsynth-1.18.5-8.1.x86_64.rpm 11 hours ago 0
gstreamer-plugins-bad-fluidsynth-32bit-1.18.5-8.1.x86_64.rpm 11 hours ago 0
gstreamer-plugins-bad-orig-addon-1.18.5-8.1.x86_64.rpm 11 hours ago 0
gstreamer-plugins-bad-orig-addon-32bit-1.18.5-8.1.x86_64.rpm 11 hours ago 0
gstreamer-transcoder-1.18.5-8.1.x86_64.rpm 11 hours ago 0
libgstadaptivedemux-1_0-0-1.18.5-8.1.x86_64.rpm 11 hours ago 0
libgstadaptivedemux-1_0-0-32bit-1.18.5-8.1.x86_64.rpm 11 hours ago 0
libgstbadaudio-1_0-0-1.18.5-8.1.x86_64.rpm 11 hours ago 0
libgstbadaudio-1_0-0-32bit-1.18.5-8.1.x86_64.rpm 11 hours ago 0
libgstbasecamerabinsrc-1_0-0-1.18.5-8.1.x86_64.rpm 11 hours ago 0
libgstbasecamerabinsrc-1_0-0-32bit-1.18.5-8.1.x86_64.rpm 11 hours ago 0
libgstcodecparsers-1_0-0-1.18.5-8.1.x86_64.rpm 11 hours ago 0
libgstcodecparsers-1_0-0-32bit-1.18.5-8.1.x86_64.rpm 11 hours ago 0
libgstcodecs-1_0-0-1.18.5-8.1.x86_64.rpm 11 hours ago 0
libgstcodecs-1_0-0-32bit-1.18.5-8.1.x86_64.rpm 11 hours ago 0
libgstinsertbin-1_0-0-1.18.5-8.1.x86_64.rpm 11 hours ago 0
libgstinsertbin-1_0-0-32bit-1.18.5-8.1.x86_64.rpm 11 hours ago 0
libgstisoff-1_0-0-1.18.5-8.1.x86_64.rpm 11 hours ago 0
libgstisoff-1_0-0-32bit-1.18.5-8.1.x86_64.rpm 11 hours ago 0
libgstmpegts-1_0-0-1.18.5-8.1.x86_64.rpm 11 hours ago 0
libgstmpegts-1_0-0-32bit-1.18.5-8.1.x86_64.rpm 11 hours ago 0
libgstphotography-1_0-0-1.18.5-8.1.x86_64.rpm 11 hours ago 0
libgstphotography-1_0-0-32bit-1.18.5-8.1.x86_64.rpm 11 hours ago 0
libgstplayer-1_0-0-1.18.5-8.1.x86_64.rpm 11 hours ago 0
libgstplayer-1_0-0-32bit-1.18.5-8.1.x86_64.rpm 11 hours ago 0
libgstsctp-1_0-0-1.18.5-8.1.x86_64.rpm 11 hours ago 0
libgstsctp-1_0-0-32bit-1.18.5-8.1.x86_64.rpm 11 hours ago 0
libgsttranscoder-1_0-0-1.18.5-8.1.x86_64.rpm 11 hours ago 0
libgsturidownloader-1_0-0-1.18.5-8.1.x86_64.rpm 11 hours ago 0
libgsturidownloader-1_0-0-32bit-1.18.5-8.1.x86_64.rpm 11 hours ago 0
libgstvulkan-1_0-0-1.18.5-8.1.x86_64.rpm 11 hours ago 0
libgstvulkan-1_0-0-32bit-1.18.5-8.1.x86_64.rpm 11 hours ago 0
libgstwayland-1_0-0-1.18.5-8.1.x86_64.rpm 11 hours ago 0
libgstwayland-1_0-0-32bit-1.18.5-8.1.x86_64.rpm 11 hours ago 0
libgstwebrtc-1_0-0-1.18.5-8.1.x86_64.rpm 11 hours ago 0
libgstwebrtc-1_0-0-32bit-1.18.5-8.1.x86_64.rpm 11 hours ago 0
typelib-1_0-GstBadAudio-1_0-1.18.5-8.1.x86_64.rpm 11 hours ago 0
typelib-1_0-GstCodecs-1_0-1.18.5-8.1.x86_64.rpm 11 hours ago 0
typelib-1_0-GstInsertBin-1_0-1.18.5-8.1.x86_64.rpm 11 hours ago 0
typelib-1_0-GstMpegts-1_0-1.18.5-8.1.x86_64.rpm 11 hours ago 0
typelib-1_0-GstPlayer-1_0-1.18.5-8.1.x86_64.rpm 11 hours ago 0
typelib-1_0-GstTranscoder-1_0-1.18.5-8.1.x86_64.rpm 11 hours ago 0
typelib-1_0-GstVulkan-1_0-1.18.5-8.1.x86_64.rpm 11 hours ago 0
typelib-1_0-GstVulkanWayland-1_0-1.18.5-8.1.x86_64.rpm 11 hours ago 0
typelib-1_0-GstVulkanXCB-1_0-1.18.5-8.1.x86_64.rpm 11 hours ago 0
typelib-1_0-GstWebRTC-1_0-1.18.5-8.1.x86_64.rpm 11 hours ago 0
gstreamer-plugins-bad-devel-1.18.5-8.1.x86_64.rpm 11 hours ago 0
gstreamer-transcoder-devel-1.18.5-8.1.x86_64.rpm 11 hours ago 1
gstreamer-plugins-bad-lang-1.18.5-8.1.noarch.rpm

Yet the only 2 gstreamer packages they need from the above list are:

gstreamer-plugins-bad-orig-addon-1.18.5-8.1.x86_64.rpm 11 hours ago 0
gstreamer-plugins-bad-orig-addon-32bit-1.18.5-8.1.x86_64.rpm 11 hours ago 0

Now for ugly is not that horrible, there it's just 4 packages vs 2 with my "plan"
Granted that is 50 % reduction in numbers.

Lets make life for our users easier, not harder just because that is what is comfortable.


/Bjørn




_______________________________________________
Packman mailing list
[email protected]
https://lists.links2linux.de/cgi-bin/mailman/listinfo/packman

Antwort per Email an