[maemo-developers] Packaging - dpkg-shlibdeps problem
From: Felipe Crochik felipe at crochik.comDate: Tue Oct 12 18:43:31 EEST 2010
- Previous message: Packaging - dpkg-shlibdeps problem
- Next message: Packaging - dpkg-shlibdeps problem
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Attila, Thank you but I am afraid I will nee a "little" more help. My experience creating deb packages go as far as getting a qt project and making into a package and even then I don't think I am doing the "right/best" way. What I DO: My qt project has a "install" section like: unix { isEmpty(PREFIX):PREFIX = debian BINDIR = $$PREFIX/$${TARGET}/usr/bin DATADIR = $$PREFIX/$${TARGET}/usr/share DEFINES += DATADIR=\"$$DATADIR\" \ PKGDATADIR=\"$$PKGDATADIR\" INSTALLS += target \ desktop \ icon64 target.path = $$BINDIR desktop.path = $$DATADIR/applications/hildon desktop.files += data/$${TARGET}.desktop icon64.path = $$DATADIR/icons/hicolor/64x64/apps icon64.files += data/64x64/$${TARGET}.png } After I am done with development on the SDK I copy my project to a linux box to a folder where name is "packagename-version" and then on scratchbox: 1. Run qmake; 2. Edit the Makefile to remove any hard-coded absolute paths to my machine (I can only hope there must be an easier way but I haven't found it yet) 3. run export DEBFULLNAME="Felipe Crochik" dh_make -e libircclient-qt at crochik.com -createorig -c gpl -s 4. replace the debian\control file with my modified version 5. run: dpkg-buildpackage -rfakeroot -sa -S 6. upload files using the extras assistant Note: I repeat the same process for every new release of the application (don't keep the previous debian folder, maybe I should.). For the applications I packaged has worked so far .. I tried the same process for the lib with these changes: * I modified the Makefile further (just for the "release" version of the lib) by removing installs_ and uninstalls_ so only the actual lib (target) would be installed on the device. * after Daniel's email I changed the rules and uncommented the "dh_makeshlibs" 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. I will appreciate any help you (or anybody else) can give me. Thanks Felipe -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20101012/efda4f48/attachment.htm>
- Previous message: Packaging - dpkg-shlibdeps problem
- Next message: Packaging - dpkg-shlibdeps problem
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]