Thanks for the tips. I clearly understood when "lib_package" should and
should not be used with the examples you have shown.

> Manpages disappeared too.  Do they need to be enabled, or were they
removed?

I thought there should be no manpages in target so removed with cmake
option. I guess, I should have created packageconfigs for both "manpages"
and "shared lib" options and enable only shared lib in bb. If people don't
want to use shared lib or want to add manpages, it can be added from
bbappend.

Best Regards,
Alper Ak


Ross Burton <[email protected]>, 9 Oca 2024 Sal, 14:32 tarihinde şunu
yazdı:

>
>
> > On 8 Jan 2024, at 18:10, Alper Ak via lists.openembedded.org
> <[email protected]> wrote:
> >
> > -inherit autotools lib_package
>
> You removed lib_package, which will change the packaging.  Always remember
> to check the packaging only changes in ways you expect (buildhistory-diff
> is very useful for this):
>
> packages/cortexa57-poky-linux/wavpack: PACKAGES: removed "wavpack-bin”
>
> This is because you removed lib_package, which adds that package.  This
> class pulls ${bindir} into ${PN}-bin, so the main package is _just_ the
> library.  Of course there may be no binaries in bindir so it could have
> been a redundant inherit.
>
> packages/cortexa57-poky-linux/wavpack/wavpack: PKG changed from
> libwavpack1 to wavpack [default] - may indicate debian renaming failure
>
> This is what happens when the base package used to just contain a library
> (so it gets renamed to reflect the library name) and now doesn’t, so can’t
> be renamed. This suggests that it was not a redundant inherit after all.
>
> packages/cortexa57-poky-linux/wavpack/wavpack: FILELIST: removed
> "/usr/lib/libwavpack.so.1.2.0", added "/usr/bin/wavpack /usr/bin/wvgain
> /usr/lib/libwavpack.so.1.2.5 /usr/bin/wvunpack /usr/bin/wvtag”
>
> Here we can see .so.1.2.0 being replaced with .so.1.2.5 which is expected,
> but also ${bindir} being added as the -bin package no longer exists.  This
> is wrong and lib_package should be inherited.
>
> packages/cortexa57-poky-linux/wavpack/wavpack-dev: RRECOMMENDS: added
> "openssl-dev”
>
> This is expected as you depend on openssl now.
>
> packages/cortexa57-poky-linux/wavpack/wavpack-doc: FILELIST: removed all
> items "/usr/share/man/man1/wavpack.1 /usr/share/man/man1/wvunpack.1
> /usr/share/man/man1/wvtag.1 /usr/share/man/man1/wvgain.1”
> packages/cortexa57-poky-linux/wavpack/wavpack-doc: PKGSIZE changed from
> 25522 to 0 (-100%)
>
> Manpages disappeared too.  Do they need to be enabled, or were they
> removed?
>
> Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#108188): 
https://lists.openembedded.org/g/openembedded-devel/message/108188
Mute This Topic: https://lists.openembedded.org/mt/103603320/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to