tsp-devel
[Top][All Lists]
Advanced

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

Re: [Tsp-devel] [PATCH] RPM package fixes


From: Robert de Vries
Subject: Re: [Tsp-devel] [PATCH] RPM package fixes
Date: Sun, 11 Nov 2007 16:21:24 +0100
User-agent: KMail/1.9.6 (enterprise 0.20070907.709405)

On Friday 09 November 2007 09:48:46 pm Eric Noulard wrote:
> 2007/11/9, Robert de Vries <address@hidden>:
> > Hi all,
> >
> > When I was checking the contents of the current RPM package, I noticed a
> > couple of things.
> > The profile files for tsp are no longer necessary, now that the TSP
> > libraries are in /usr/lib, the binaries in /usr/bin. I also removed them
> > from /usr/share/tsp/scripts.
>
> I think it would be better to keep them in /usr/share/tsp/scripts
> while removing thing from /etc/profile.d
> this way one may install tsp at unusual location
> (may be with rpm -i --prefix=/unsual/path)
> and eventually use those scripts files.
>

OK, I'll leave that in. I have not yet created relocatable packages yet, so 
I'll leave those files in for now, until someone figures out what to do to 
make a package actually relocatable.
>
> > Maybe we should rename tsp-apidoc to tsp-devel-doc to better indicate the
> > intended audience.

I  renamed it to tsp-doc for now.
If we could integrate the documentation in the tsp_docs directory into this 
package that would be useful.

>
> This package is ill-named in the first place since you may find
> developer documentation AND user doc for example for the
> tsp applications;
>
> see for examples sub-modules of TSP_Applications:
> http://www.ts2p.org/tsp/API_doc/html/group__TSP__Applications.html
> (this generated doc is oudated but the idea is here)
>
>
> Seems Ok with the 2 remarks:
>
>    1) keep scripts in /usr/share/tsp/scripts
>    2) may be tsp-apidoc should be renamed as tsp-doc?
>        (but the doxygen content is not finished [yet])
>
> You are very active on TSP those days keep going :=)

If you are fine with the attached patch I will commit it.

I think we should add version numbers to the .so files and also add version 
scripts to the link lines of the .so files.
I also would like to see that some of the .so files to be combined.
To link a consumer application you have to link against 3 tsp libraries:
tsp_consumer tsp_common and tsp_services.
The sizes of these libraries are:
175236  /usr/lib/libtsp_consumer.so
10546  /usr/lib/libtsp_services.so
12173  /usr/lib/libtsp_util.so

For a provider the same libraries are needed (replace consumer lib with 
provider lib)

    Robert


Attachment: rpm_pkg2.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]