[maemo-developers] Problem making .deb package

From: Daniel Martín Yerga dyerga at gmail.com
Date: Thu Dec 6 15:52:03 EET 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 6 Dec 2007 14:39:18 +0100
"Aniello Del Sorbo" <anidel at gmail.com> wrote:

> 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}

I compiled gail yesterday and uploaded it to extras-devel repository. I
needed it to compile libgtkhtml2 and python-gtkhtml2. Which are also in
the extras-devel repository.

http://repository.maemo.org/extras-devel/pool/chinook/free/g/gail/

If you have some problem with it, comment me.


Regards.
- -- 
Daniel Martín Yerga
dyerga at gmail.com
http://yerga.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHV/6IcnvB1T3xmfMRAqrOAJ9aAu9G7Jk27FeimUQY2aCxXh1RZQCfS7Ed
G0Z4/XCg6iwzrTXVIisGXMQ=
=IjPy
-----END PGP SIGNATURE-----
More information about the maemo-developers mailing list