[packman] Problems with gstreamer-plugins-bad and related packages from Packman on TW

Bjørn Lie bjorn.lie at gmail.com
Thu Jan 27 11:06:19 CET 2022



to., jan. 27 2022 at kl. 10.42 +0100 +0100 skrev Manfred Hollstein 
<manfred.h at gmx.net> følgende:
> On Thu, 27 Jan 2022, 10:26:28 +0100, Olaf Hering wrote:
>>  Thu, 27 Jan 2022 10:19:05 +0100 Manfred Hollstein 
>> <manfred.h at gmx.net <mailto:manfred.h at gmx.net>>:
>> 
>>  > Can someone please branch it to Staging and Essentials please?
>> 
>>  This will lead to a conflict because both provide the same API, and 
>> hopefully even the same ABI due to identical SONAME.
>>  Does fdk-aac provide something which is not provided by 
>> fdk-aac-free?
>> 
>>  Even if they slightly differ, requesting functionality via 
>> BuildRequires is done with 'pkgconfig(string)'.
> 
> Yeah, spot on! This one needs to be changed:
> 
> <https://pmbs.links2linux.org/package/view_file/Essentials/A_tw-gstreamer-plugins-bad/gstreamer-plugins-bad.spec?expand=1>
> L42: # Not using pkgconfig(fdk-aac) but explitcitly the modified 
> fdk-aac-free-devel
> L43: BuildRequires:  fdk-aac-free-devel >= 0.1.4
> 
>>  Olaf
> 
> Cheers.
> 
> l8er
> manfred
> 

No I added that one due to knowing that you on packman did not want to 
build it with full fdk-aac in the past.
Hence I did it this way, so that it would be built with the altered 
sources we have in main obs, and not the full fdk-aac.

Take a look at https://pmbs.links2linux.org/project/prjconf/Essentials 
- I suspect this could be the reason for the hickup

# have choice for pkgconfig(fdk-aac): fdk-aac-devel libfdk-aac-devel
Prefer: -libfdk-aac-devel

---

This could however all have been avoided if we switched packman to only 
build the extra codecs in orig addon.
Those are the only plugins that differ, and what people need.

There is no reason whatsoever for rebuilding and providing the "normal" 
plugins.

See examples of how this could be done in

https://pmbs.links2linux.org/package/show/home:zaitor/gstreamer-plugins-bad-codecs
and
https://pmbs.links2linux.org/package/show/home:zaitor/gstreamer-plugins-ugly-codecs

That way there would be no "vendor switching" when installing the extra 
codecs.

/Bjørn






More information about the Packman mailing list