Reply
Thread Tools
Posts: 289 | Thanked: 101 times | Joined on Oct 2009
#1
I want to upload my program to extras-devel. I am using the nokia qt sdk and all what that means... The os is ubuntu if that matters. I have been looking for a way before but that was for windows but as I did not see anything windows specific I guess it is all the same and then I have no clue about this. So is there any guide that explains how I can make this .deb file and upload it to devel?


Yours,
 
Posts: 219 | Thanked: 94 times | Joined on Nov 2009 @ Helsinki, Finland
#2
Here you go.

http://wiki.maemo.org/Packaging_a_Qt_application
__________________
Ham > Turkey
 

The Following 2 Users Say Thank You to naabi For This Useful Post:
Posts: 289 | Thanked: 101 times | Joined on Oct 2009
#3
Well I did run dh_make and got:
ludwig@ubuntu:/media/Downloads/NokiaQtSDK/QtCreator/bin/qexercise-0.1$ dh_make --createorig --single -e maintainer@email.org -c gpl
Maintainer name : Ludwig
Email-Address : maintainer@email.org
Date : Tue, 25 May 2010 17:51:47 +0200
Package Name : qexercise
Version : 0.1
License : gpl3
Using dpatch : no
Using quilt : no
Type of Package : Single
Hit <enter> to confirm:
Skipping copying to qexercise-0.1.orig since qexercise-0.1.orig exists.
Done. Please edit the files in the debian/ subdirectory now. You should also
check that the qexercise Makefiles install into $DESTDIR and not in / .

wich seems ok. And then I did change the rules file... Then what? I did not get any tar.gz file or something. Is that file youll upload later?
 
Posts: 289 | Thanked: 101 times | Joined on Oct 2009
#4
I used http://wiki.forum.nokia.com/index.ph..._quick_project instead and it worked with the example. When I moved my code to the src folder and I add my sourceses, headers, qt libs and CONFIG += mobility and MOBILITY += sensors, and then try to run dpkg-buildpackage it gives me the following error:
failure: no dependency information found for /sysroots/fremantle-arm-sysroot-1014-slim/usr/lib/libQtsensors.so.1 ( used by debian/qexercise/usr/bin/qexercise)
dh_shlibdeps: command returned error code 512

what is the problem? :S
 
Posts: 289 | Thanked: 101 times | Joined on Oct 2009
#5
Now I am finaly getting something! The problem is that I am getting a 215kb tar.gz file but my .deb file is just 3kb... And the data in the project folder is 3kb so I guess my source aint coming with it... I can install the file but it wont show up in the menu

edit: what does dh_strip --dbg-package=my-application-dbg do?
madde did not like "--dbg-package=my-application-dbg" so I removed it and the example does not need it

here is a link to the tar.gz it produces
http://www.megaupload.com/?d=NL8X8PYM

Last edited by Lullen; 2010-05-26 at 22:39.
 
Reply


 
Forum Jump


All times are GMT. The time now is 16:52.