Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > Mandriva

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-14-2008, 07:53 PM
David Mathog
 
Posts: n/a
rpm naming convention libfoo vs libfoo-devel

Is there supposed to be a naming convention such that

libfoo

has a corresponding

libfoo-devel

?

If so, there are some violations in 2008.1, for instance, consider
these:

libfftw-devel-3.1.2-8mdv2008.1
libfftw3-3.1.2-8mdv2008.1

Originally my system had libfftw3, so I tried:

% urpmi libfftw3-devel

and that failed, because the name was not as expected.

I looked into this a bit further and it seems that some libraries are
like this one:

libxvmc1-1.0.4-2mdv2008.1
libxvmc1-devel-1.0.4-2mdv2008.1

and others like this one:

libxxf86dga1-1.0.2-2mdv2008.1
libxxf86dga-devel-1.0.2-2mdv2008.1

Does it really make sense to do it both ways???

Also, what's the point of duplicating some of the version number onto
the library name? There are certainly a few packages which have a
numeric identifier unrelated to the version number (libstdc++5 vs.
libstdc++6) but for the vast majority of libraries "libfoo" and a
version number "x.y.z" are sufficient to identify the rpm.

Thanks,

David Mathog


Reply With Quote
  #2 (permalink)  
Old 07-15-2008, 01:25 AM
Jim Beard
 
Posts: n/a
Re: rpm naming convention libfoo vs libfoo-devel

David Mathog wrote:
> Is there supposed to be a naming convention such that
>
> libfoo
>
> has a corresponding
>
> libfoo-devel
>
> ?
>
> If so, there are some violations in 2008.1, for instance, consider
> these:
>
> libfftw-devel-3.1.2-8mdv2008.1
> libfftw3-3.1.2-8mdv2008.1
>
> Originally my system had libfftw3, so I tried:
>
> % urpmi libfftw3-devel
>
> and that failed, because the name was not as expected.
>
> I looked into this a bit further and it seems that some libraries are
> like this one:
>
> libxvmc1-1.0.4-2mdv2008.1
> libxvmc1-devel-1.0.4-2mdv2008.1


The above should be the libraries for use, and the libraries
for development, of the same libraries. If you are not compiling,
you don't need the devel package.
>
> and others like this one:
>
> libxxf86dga1-1.0.2-2mdv2008.1
> libxxf86dga-devel-1.0.2-2mdv2008.1


This should be libraries for use for one set of libraries and
the libraries for development of a different set of libraries
(dga1 and dga being different sets of libraries).
>
> Does it really make sense to do it both ways???


If the second example pertained to the same libraries, someone
made a typo.
>
> Also, what's the point of duplicating some of the version number onto
> the library name? There are certainly a few packages which have a
> numeric identifier unrelated to the version number (libstdc++5 vs.
> libstdc++6) but for the vast majority of libraries "libfoo" and a
> version number "x.y.z" are sufficient to identify the rpm.


Different sets of libraries. The basic functionality may be the
same, but they are different, and normally are not interchangable.

jim b.

--
UNIX is not user unfriendly; it merely
expects users to be computer-friendly.
Reply With Quote
  #3 (permalink)  
Old 07-16-2008, 06:07 AM
Doug Laidlaw
 
Posts: n/a
Re: rpm naming convention libfoo vs libfoo-devel

Jim Beard wrote:

> David Mathog wrote:
>> Is there supposed to be a naming convention such that
>>
>> libfoo
>>
>> has a corresponding
>>
>> libfoo-devel
>>
>> ?
>>
>> If so, there are some violations in 2008.1, for instance, consider
>> these:
>>
>> libfftw-devel-3.1.2-8mdv2008.1
>> libfftw3-3.1.2-8mdv2008.1
>>
>> Originally my system had libfftw3, so I tried:
>>
>> % urpmi libfftw3-devel
>>
>> and that failed, because the name was not as expected.
>>
>> I looked into this a bit further and it seems that some libraries are
>> like this one:
>>
>> libxvmc1-1.0.4-2mdv2008.1
>> libxvmc1-devel-1.0.4-2mdv2008.1

>
> The above should be the libraries for use, and the libraries
> for development, of the same libraries. If you are not compiling,
> you don't need the devel package.
>>
>> and others like this one:
>>
>> libxxf86dga1-1.0.2-2mdv2008.1
>> libxxf86dga-devel-1.0.2-2mdv2008.1

>
> This should be libraries for use for one set of libraries and
> the libraries for development of a different set of libraries
> (dga1 and dga being different sets of libraries).
>>
>> Does it really make sense to do it both ways???

>
> If the second example pertained to the same libraries, someone
> made a typo.
>>
>> Also, what's the point of duplicating some of the version number onto
>> the library name? There are certainly a few packages which have a
>> numeric identifier unrelated to the version number (libstdc++5 vs.
>> libstdc++6) but for the vast majority of libraries "libfoo" and a
>> version number "x.y.z" are sufficient to identify the rpm.

>
> Different sets of libraries. The basic functionality may be the
> same, but they are different, and normally are not interchangable.
>
> jim b.
>

Sometimes the "libfoo" and "libfoo-devel" have not been updated the same
number of times. Then the last digit "2mdv" will differ, but otherwise
they usually match. The example for libxxf86dga does seem anomalous.

Doug.
Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > Mandriva


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 02:16 PM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109