FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Packaging

 
 
LinkBack Thread Tools
 
Old 10-28-2011, 10:48 PM
Sergio Pascual
 
Default Packaging thread safe version of libraries

Hi list

In this bug https://bugzilla.redhat.com/show_bug.cgi?id=743249 the
user requests to enable thread safety in the cfitsio library. I'm not
completely sure of substituting one library by the other.

So I was wondering if it's a good idea to compile the code twice and
distribute two versions of the library, libcfitsio.so and
libcfitsio-mt.so. This implies to distribute two pkg-config files,
cfistio.pc and cfitsio-mt.pc

Are there any recommendations or good practices regarding this issue?

Best, Sergio
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging
 
Old 10-28-2011, 11:12 PM
Bruce-Robert Pocock
 
Default Packaging thread safe version of libraries

...Debian's "alternatives" system...?

On Oct 28, 2011 6:49 PM, "Sergio Pascual" <sergio.pasra@gmail.com> wrote:
Hi list



In this bug https://bugzilla.redhat.com/show_bug.cgi?id=743249 the

user requests to enable thread safety in the cfitsio library. I'm not

completely sure of substituting *one library by the other.



So I was wondering if it's a good idea to compile the code twice and

distribute two versions of the library, libcfitsio.so and

libcfitsio-mt.so. This implies to distribute two pkg-config files,

cfistio.pc and cfitsio-mt.pc



Are there any recommendations or good practices regarding this issue?



Best, Sergio

--

packaging mailing list

packaging@lists.fedoraproject.org

https://admin.fedoraproject.org/mailman/listinfo/packaging
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging
 
Old 10-28-2011, 11:34 PM
Thomas Spura
 
Default Packaging thread safe version of libraries

On Sat, 29 Oct 2011 00:48:53 +0200
Sergio Pascual wrote:

> So I was wondering if it's a good idea to compile the code twice and
> distribute two versions of the library, libcfitsio.so and
> libcfitsio-mt.so. This implies to distribute two pkg-config files,
> cfistio.pc and cfitsio-mt.pc
>
> Are there any recommendations or good practices regarding this issue?

boost does that too, so having both libraries should be a good
practice.

Completely replacing the library with a thread safe version
would make the library slower, when using without threads. Don't know
if that's a big issue here?

Tom
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging
 
Old 10-28-2011, 11:45 PM
Toshio Kuratomi
 
Default Packaging thread safe version of libraries

On Fri, Oct 28, 2011 at 07:12:31PM -0400, Bruce-Robert Pocock wrote:
> ...Debian's "alternatives" system...?
>
Alternatives would be the wrong answer. Alternatives is really for
sysadmins to select between one or another equivalent things for use system
wide.

Here we have something that's more likely a developer choice. The developer
may be a Fedora end user or they may be the upstream for one of our
packages.

-Toshio
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging
 

Thread Tools




All times are GMT. The time now is 04:33 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org