I'm trying to contribute to Debian with a new package. I have
searched on the BTS and found that the library I want to package has
an open RFP process [1].
I'm not new at all with Debian packaging, but it is my first
contribution to Debian project. I want to know what is the right
process I must follow to package that library:
* Answer to the RFP?
* Open an ITP?
In addition, if you follow the link you will see that the library is
called "jsoncpp". What is the right name I should choose for my
package? I intend that libjsoncpp is appropriate, because I suppose
that all the library packages on Debian are named lib*. Is this
true?
On 09.10.2011 14:08, José Luis Segura Lucas wrote:
> * Answer to the RFP?
> * Open an ITP?
not quite but almost. Please answer to the bug letting the reporter of
the bug know about your intention to package the library.
Moreover, please take over ownership of the bug and change it's title to
"ITP: jsoncpp -- An easy to use, well made C++ json library". Please see
[1] to learn how to do that.
> In addition, if you follow the link you will see that the library is
> called "jsoncpp". What is the right name I should choose for my package?
> I intend that libjsoncpp is appropriate, because I suppose that all the
> library packages on Debian are named lib*. Is this true?
Not all zlib1g is a counter example (although that's a very old library
following a naming scheme not used anymore). Libraries have a very
strict naming schema, typically the name is lib<libraryname><soversion.
Please use the following hacky script to determine the correct name of
your library:
objdump -p /path/to/libfoo-bar.so.1.2.3 |
sed -n -e's/^[[:space:]]*SONAME[[:space:]]*//p' |
sed -e's/([0-9]).so./1-/; s/.so.//'
Also, our policy has a lot of resources about libraries [2], and there
is a library packaging guide [3]. Some people consider the latter not
really helpful though.
Finally, please note a library is not the best package to start with
Debian. Don't hesitate to do it nonetheless, but packaging (or rather:
maintaining) a library is challenging.
[1] http://www.debian.org/Bugs/server-control
[2] http://www.debian.org/doc/debian-policy/ch-sharedlibs.html
[3] http://www.netfort.gr.jp/~dancer/column/libpkg-guide/libpkg-guide.html
- --
with kind regards,
Arno Töll
IRC: daemonkeeper on Freenode/OFTC
GnuPG Key-ID: 0x9D80F36D
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4E91906E.5020000@toell.net">http://lists.debian.org/4E91906E.5020000@toell.net
10-09-2011, 12:22 PM
Adam Borowski
Reply to a RFP on the right way
On Sun, Oct 09, 2011 at 02:08:30PM +0200, José Luis Segura Lucas wrote:
> Hi.
>
> I'm trying to contribute to Debian with a new package. I have
> searched on the BTS and found that the library I want to package has
> an open RFP process.
>
> I'm not new at all with Debian packaging, but it is my first
> contribution to Debian project. I want to know what is the right
> process I must follow to package that library:
>
> * Answer to the RFP?
> * Open an ITP?
Please retitle the RFP to ITP, and set the owner to yourself:
mail control@bugs.debian.org
retitle 617325 ITP: libjsoncpp -- An easy to use, well made C++ json library
owner 617325 !
kthxbye
Of course, a human-readable comment to the bug log itself would be nice,
too.
--
1KB // Yo momma uses IPv4!
10-09-2011, 10:41 PM
Karl Goetz
Reply to a RFP on the right way
On Sun, 09 Oct 2011 14:08:30 +0200
José Luis Segura Lucas <josel.segura@gmx.es> wrote:
> Hi.
>
> I'm trying to contribute to Debian with a new package. I have
> searched on the BTS and found that the library I want to package has
> an open RFP process [1].
>
> I'm not new at all with Debian packaging, but it is my first
> contribution to Debian project.
If you are new to debian packaging, you might find the mentors helpful.
http://lists.debian.org/debian-mentors/
irc://irc.debian.org/debian-mentors
thanks,
kk
--
Karl Goetz, (Kamping_Kaiser / VK7FOSS)
http://www.kgoetz.id.au
No, I won't join your social networking group
10-09-2011, 11:34 PM
Steve Langasek
Reply to a RFP on the right way
On Sun, Oct 09, 2011 at 02:15:42PM +0200, Arno Töll wrote:
> > In addition, if you follow the link you will see that the library is
> > called "jsoncpp". What is the right name I should choose for my package?
> > I intend that libjsoncpp is appropriate, because I suppose that all the
> > library packages on Debian are named lib*. Is this true?
> Not all zlib1g is a counter example (although that's a very old library
> following a naming scheme not used anymore). Libraries have a very
> strict naming schema, typically the name is lib<libraryname><soversion.
> Please use the following hacky script to determine the correct name of
> your library:
> objdump -p /path/to/libfoo-bar.so.1.2.3 |
> sed -n -e's/^[[:space:]]*SONAME[[:space:]]*//p' |
> sed -e's/([0-9]).so./1-/; s/.so.//'
To clarify: the custom is to use the upstream name for the source package,
and to name the binary package after the library soname. You don't want to
change the source package name every time the upstream soname changes.
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
slangasek@ubuntu.com vorlon@debian.org
10-10-2011, 10:02 PM
José Luis Segura Lucas
Reply to a RFP on the right way
Thanks, you are the second that make me that suggestion, I already
followed it. Thanks to you too :-)
El 10/10/11 00:41, Karl Goetz escribió:
If you are new to debian packaging, you might find the mentors helpful.
http://lists.debian.org/debian-mentors/
irc://irc.debian.org/debian-mentors
thanks,
kk
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4E936B84.8@gmx.es">http://lists.debian.org/4E936B84.8@gmx.es
10-10-2011, 10:05 PM
José Luis Segura Lucas
Reply to a RFP on the right way
Arno, Steve, thanks you both for the resources and links, it will be
very helpful.
I know that packaging a library is not the easiest way to start, but I
did the packaging of other stuff in the past for my work (not
contributed to Debian :-( ).
I'm starting the development of a program that will use this library,
and it would be nice if me and the rest of the devel team won't need to
install it from sources :-)
El 10/10/11 01:34, Steve Langasek escribió:
On Sun, Oct 09, 2011 at 02:15:42PM +0200, Arno Töll wrote:
In addition, if you follow the link you will see that the library is
called "jsoncpp". What is the right name I should choose for my package?
I intend that libjsoncpp is appropriate, because I suppose that all the
library packages on Debian are named lib*. Is this true?
Not all zlib1g is a counter example (although that's a very old library
following a naming scheme not used anymore). Libraries have a very
strict naming schema, typically the name is lib<libraryname><soversion.
Please use the following hacky script to determine the correct name of
your library:
objdump -p /path/to/libfoo-bar.so.1.2.3 |
sed -n -e's/^[[:space:]]*SONAME[[:space:]]*//p' |
sed -e's/([0-9]).so./1-/; s/.so.//'
To clarify: the custom is to use the upstream name for the source package,
and to name the binary package after the library soname. You don't want to
change the source package name every time the upstream soname changes.
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4E936C24.7070403@gmx.es">http://lists.debian.org/4E936C24.7070403@gmx.es