Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 596 - publib-0.31.ebuild (New Package)
Summary: publib-0.31.ebuild (New Package)
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: chouser (RETIRED)
Depends on:
Reported: 2002-02-07 20:06 UTC by Ilian Zarov
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

publib-0.31.ebuild (publib-0.31.ebuild,900 bytes, text/plain)
2002-02-07 20:07 UTC, Ilian Zarov

Note You need to log in before you can comment on or make changes to this bug.
Description Ilian Zarov 2002-02-07 20:06:12 UTC
 Publib is a library of C functions for various purposes. It has
been written so that it is easy to extend. It's build tools can
easily be used for other libraries.
 The library contains functions for memory allocation, bit arrays,
configuration files, comparing standard C types for qsort and
bsearch, error messages, expression parsing and evaluation,
filenames, hash tables, integer sets, log files, the Linux Software
Map, NNTP, priority queues, normal queues, editor buffers, stacks,
and strings.
 I suggest dev-libs/publib

P.S. The source code is directly downloaded from cause afaik the
author of publib is a debian developer. I couldn't find it anywhere else except
as a rpm package.
Comment 1 Ilian Zarov 2002-02-07 20:07:55 UTC
Created attachment 141 [details]
Comment 2 Ilian Zarov 2002-02-13 08:14:08 UTC
 Are there any problems with this ebuild ? If so, please contact me.
Comment 3 chouser (RETIRED) gentoo-dev 2002-02-26 20:56:39 UTC
Sorry for the delay -- it was simply due to the number of items ahead of this
ebuild in my work list, not because of anything in the ebuild itself.

Here are my comments, made as I went through and tested each part of the ebuild.
 Please don't take them personally. :-)

I reworded the DESCRIPTION to try to pack more info into the one line.

I think I found the "home page" and primary location of the source, but it
wasn't easy.  Thanks for digging out such an obscure package -- I'm sure it will
prove useful!  Anyway, I adjusted the SRC_URI and added a HOMEPAGE.  The version
number in the SRC_URI shouldn't be hardcoded -- use ${PV} or ${P} allows the URI
to be calculated based on the ebuild file name.

cd ${S} isn't needed anymore, and this package doesn't need the --infodir line.

I added more error messages to some "die" lines.  They're not required, but I
like verbose error messages.

I added some dodoc lines to install various little text files from around the
source tree.

The make install mandir should be ${D}/usr/share/man, not ${D}/usr/man -- same
for the mkdir commands.
The debian package also renames all the "foo.3" man pages to "foo.3pub" instead.
 This is good, because otherwise we would overwrite existing man pages (like
/usr/share/man/man3/hash.3).  If we name them "foo.o" and put them in the mano
directory, then the man command can find them with the default /etc/man.conf. 
If this isn't acceptable, we may have to find some other solution later (like
creating a new man3pub dir and adding it to /etc/man.conf)

All fixed up and submitted to CVS.  Thanks for contributing!
Comment 4 Ilian Zarov 2002-03-02 14:42:01 UTC
 Thanks for the thorough comments. I guess I overlooked the man pages extention
in the output. 
 P.S. Why did you remove the author line ? By the way, it would be a good idea
an Author line to contain two (or more) names or a separate line (e.g. Original
Author and Modifications by) :).
Comment 5 chouser (RETIRED) gentoo-dev 2002-03-03 00:04:24 UTC
We used to have Author and Maintainer lines in the ebuild, but both of these
have been deprecated in favor of listing the details in the ChangeLog.  If you
look there, you will see your name for the initial ebuild, as well as mine the
changes I made.