[csw-pkgsubmissions] newpkgs libhistory4, libhistory5, libhistory6(...)

Dagobert Michelsen dam at opencsw.org
Sat Jul 2 10:33:36 CEST 2011


Hi Phil,

(picking up the thread again)

Am 14.03.2011 um 18:51 schrieb Philip Brown:
> On Mon, Mar 14, 2011 at 10:27 AM, Dagobert Michelsen <dam at opencsw.org> wrote:
>> 
>> Am 11.03.2011 um 00:04 schrieb Philip Brown:
>> 
>>> Given the naming of the other "separate" libhistory and libreadline,
>>> that almost implies it is only for "libreadline".. which may make
>>> people looking at "libhistory" wonder where its dev files are.
>>> If you're being strictly consistent, seems like you should Either make
>>> a more generic
>>> "readline_dev"
>>> 
>>> Or, make *both*
>>> libreadline_dev
>>> libhistory_dev
>> 
>> This is not good. Usually we have just one -dev package regardless of the
>> number of libraries involved where the name of the -dev package is
>> derived from the upstream name
>> and usually is lent from one of the libraries.
> 
> If there is "only one" library (which is most commonly the case), then
> it can make sense to have the _dev name follow from "the library".

Either this, or if the devel files are relevant to the libraries only.

> but I dont think this is so good  in the case where there are multiple
> libraries belonging to "one" package.

Then it should IMHO be namely aligned with the "main" library.
This is because there is no plain "CSWreadline" package and I find
it confusing to have CSWreadline-dev but CSWlibreadline6.

> I think that, if there is only going to be one _dev package that
> covers all the libraries for a software group, then it makes the most
> sense to name the _dev package, after the core name.
> 
> And, interestingly, although I havent made a study of all the
> multi-lib splits that we have
> (I suspect we have very few...)
> in at least one case, you yourself have followed this methodology :)
> 
> libpcre0-8.12,REV=2011.01.18-SunOS5.9-sparc-CSW.pkg.gz
> libpcrecpp0-8.12,REV=2011.01.18-SunOS5.9-sparc-CSW.pkg.gz
> libpcreposix0-8.12,REV=2011.01.18-SunOS5.9-sparc-CSW.pkg.gz
> pcre-8.12,REV=2011.01.18-SunOS5.9-sparc-CSW.pkg.gz
> pcre_devel-8.12,REV=2011.01.18-SunOS5.9-sparc-CSW.pkg.gz

I would name it CSWlibpcre-dev and libpcre_dev for all of them.


Best regards

  -- Dago

-- 
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896



More information about the pkgsubmissions mailing list