I did it! It is ALMOST obvious after you get it done the first time but it took me some failed attempts and help from you guys to figure out the steps! Thank you!
In order to help me remember the steps and maybe help some other person trying to package a lib I put together a small "log" of the steps. With some work could even become a wiki (not sure if there are others out there but I couldn't find): http://maemo.crochik.com/qt-development/packaging-a-lib-for-maemo Any comments are welcome Felipe _____ From: attila.cs...@gmail.com [mailto:attila.cs...@gmail.com] On Behalf Of Attila Csipa Sent: Tuesday, October 12, 2010 3:59 PM To: Felipe Crochik Cc: maemo-developers@maemo.org Subject: Re: Packaging - dpkg-shlibdeps problem On Tue, Oct 12, 2010 at 6:43 PM, Felipe Crochik <fel...@crochik.com> wrote: It seems that I am missing one (or some) piece(s) of the puzzle, I tried downloading the libqfacebook and libqfacebook-dev packages using apt-get source but it didn't help at all. As far as I can tell the two packages are exact the same and I can't make any sense of why the "object files" are included (*.o, .) and/or why on both you have a libqfacebook-dev folder inside the debian. Including *.o files or that dir sounds like missing or improper cleanup (=packaging error), but let's not digress, the bottom line is this: IINM you don't need to touch anything in the .pro file, you just need to a) specify both dev and binary packages in the debian/control file, one after the other. b) have a debian/libirccclient-qt-dev.install file that says something like 'usr/include' (do NOT include the libs !) c) have a debian/libirccclient-qt.install file that says something like 'usr/lib/libircwhatever.so' Considering you should already have all files in debian/tmp that's it, everything else is taken care of by debhelper (dh_install copies over the files specified in install from debian/tmp into per-package directories which are then later put into separate debs by dh_builddeb)
_______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers