[maemo-developers] Packaging questions

From: Dave Neary dneary at maemo.org
Date: Tue Feb 9 15:29:25 EET 2010
Hi,

Ajai Khattri wrote:
>> That depends, but for the current situation, I would say no. Firstly, 
>> creating multiple binary packages is harder than a single binary, though 
>> not by much. I recommend you start out with just a single binary if you 
>> can.
> 
> OK, but Im curious: what would be an example of a package with multiple 
> binaries?

binutils, for example?
gcc has a few (c89 & c99 versions, for example)
textutils
openssh (scp, sftp, ssh, ...)


>>> 2) I got an error saying it could not find package.orig.tar.gz - what does 
>>> that mean?
>> This means you do not have an original tarball of your package that has the suffix orig.tar.gz.
>>
>> Take a look at the debian documentation here which should help: http://www.debian.org/doc/maint-guide/ch-first.en.html#s-dh_make
> 
> So, to clarify, I need to have a tarball of the original source inside the 
> untarred tarball build directory? :-)

Have a look at this page:
http://wiki.maemo.org/Packaging#A_concrete_example_-_rot13

dh_make takes a -f argument that points to the original .tar.gz, and
generates rot13_0.1.orig.tar.gz, rot13_0.1-1.diff.gz, rot13_0.1-1.dsc
and rot13_0.1-1_i386.changes afterwards.


> I was following the Maemo docs which dont mention anything about licenses. 
> 
> Maybe there ought to be a link to the dh_make man page from there?

Which docs were you following, and how did you get there? we're trying
to make http://wiki.maemo.org/Packaging the standard "quick start" page,
and
http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Packaging%2C_Deploying_and_Distributing
and http://www.debian.org/doc/maint-guide/ the definitive "more than you
ever needed or wanted to know about Debian packaging, but were too
afraid to ignore" pages.

Cheers,
Dave.

-- 
maemo.org docsmaster
Email: dneary at maemo.org
Jabber: bolsh at jabber.org

More information about the maemo-developers mailing list