On 2011-11-23 08:48-0700 Orion Poplawski wrote:

>> Meanwhile, could you give me a complete list of PLplot libraries which
>> generate the rpmlint warnings about unused direct dependencies?
>
> Attached.

Hi Orion:

Thanks for that.  I was concerned that rpmlint would complain about our
driver plugins, but apparently the only concern is our principal
libraries.

>
> Don't forget about the pkg-config issue as well.
>

The pkg-config man page gives the reason why we get transitive linking
in that case:

        Requires:
               This  is a comma-separated list of packages that are required by
               your package. Flags from dependent packages will be merged in to
               the flags reported for your package....

The solution I am investigating for CMake automatically disables
transitive linking for the shared case but uses transitive linking for
the static case (which I believe is necessary from the accompanying
discusssion).  So we will want to do the same for the pkg-config
case. From reading further in the pkg-config man page it appears you
would get that by replacing the Requires: line in our *.pc files by
the corresponding Requires.private: line.  That is, for plplotd-c++.pc
change

Requires: plplotd
==>
Requires.private: plplotd

and similarly for our other *.pc files.

Could you try that plplotd-c++.pc change by hand (or by editing
bindings/c++/CMakeLists.txt) to see if that satisfies your pkg-config
need for libplplotcxxd while I am working on the other question of
dropping transitive linking from our CMake-generated linking?

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to