[maemo-developers] Problem making .deb package

From: Aniello Del Sorbo anidel at gmail.com
Date: Thu Dec 6 15:39:18 EET 2007
Hello,

I am porting an application to Maemo 4.0 (Xournal)
I have successfully modified it to compile and run in my scratchbox
(CHINOOK_X86 target)
(I haven't been kind and "make install"ed what was needed instead of
packaging stuff the proper way.

Anyway I wanted to do it clean for the ARMEL target. So I started packaging
the dependencies first.
For example gail-1.20.1.

I've created the gail-1.20.1 with the clean sources in it and (from the dir)
I've ran:

dh_make -e anidel at gmail.com -f ../packages/gail-1.20.1.tar.gz

and told it that gail is a library.
dh_make complained about a BROKEN package name "gailBROKEN" thus I went to
debian/control

and  used the package name "gail". I didn't change anythng else a part from
the descriptions
I've removed useless files from the debian dir as stated in the Creating
Debian Package HOWTO.
Finally I've ran the command:

dpkg-buildpackage -rfakeroot

to build the deb files.

Here comes the issue. It created the debian/tmp dir with the binaries in it
(everything compiled just fine),
but it did not packaged them into the .deb file, just the debian/{control,
changelog, copyright... } files...
(as shown by : dpkg -c ../gail_1.20.1-1_armel.deb)

What I am doing wrong ?
I've been struggling with the issue since this morning...

PS: at the end it also complained about unkown substitution variables:

dpkg-gencontrol: warning: unknown substitution variable ${shlibs:Depends}
dpkg-gencontrol: warning: unknown substitution variable ${misc:Depends}

-- 
anidel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20071206/44d95a8d/attachment.htm 
More information about the maemo-developers mailing list