Re: Re: LibtoolArchives, v0.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



rdieter@xxxxxxxxxxxx (Rex Dieter) writes:

>>> http://fedoraproject.org/wiki/PackagingDrafts/LibtoolArchives
>>> ...
>>> Comments?
>> 
>> | MUST: If .la libtool archives in $LD_LIBRARY_PATH2 cannot be excluded,
>> | they MUST be included in -devel (with associated .so symlink).
>> 
>> is wrong... it should be
>> 
>> | MUST: If .la libtool archives in $LD_LIBRARY_PATH cannot be excluded,
>> | they MUST be included in main-package but NOT in -devel.
>
> Huh?  .la libtool archives in LD_LIBRARY_PATH are those used for *linking*,
> so why not -devel?

E.g. /usr/lib/kde3/kded_kdeprintd.la contains

| dependency_libs=' ... /usr/lib/libkio.la ... '

--> /usr/lib/libkio.la is needed at runtime and must be in a main
package.

Saying that packager has to decide on a case-by-case base does not help;
e.g. when he ships 'libfoo.la' in -devel, a year later somebody else
might create a module with "dependency_libs='/usr/lib/libfoo.la'" which
would require 'libfoo.la' to be in a main-package.


A rule like

| MUST: a .la libtool archive MUST NOT list other .la archives in its
| 'dependency_libs' list

might be a solution, but I am not sure if this rule is complete.



Enrico

--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux