Go Back   maemo.org - Talk > OS / Platform > Development
 
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
  #1  
Old 2010-01-10, 18:13
Sasler Sasler is offline
 
Join Date: Sep 2009
Posts: 434
Thanks!: 947
Thanked 325 Times in 130 Posts
Default How to prepare your Qt package for uploading in MADDE

It took me about two days and several violent fits before I finally succeeded to upload my app to the maemo extras-devel repository. So that no one else has to go through this same tragic ordeal, I thought I better post what I learned by now.

WARNING: I'm not at all sure that the following info is even remotely correct. These steps might be strange, unnecessary and/or downright idiotic. But hey, at lest in my case, they worked.


1. Follow this post up to step 6 for preparing the initial package. You may want to edit the debian/control file at this point.

2. Replace the debian/rule file with the included one included in this post. Edit it and put your package name after the APPNAME :=. NOTE: If you try to copy and paste the entire rule file in Qt Creator, like I tried, you will get and error about 8 spaces instead of a tab.

3. Edit the debian/compat file. The number in it should be no higher than 5. I had 7 in it and because of it, the autobuilder failed. By changing it to 5, it worked fine.

4. In MADDE do the following command:
Code:
mad dpkg-buildpackage -sa -S
5. Upload your files here.

6. Wait and hope for the best.

7. If the result in 6 is satisfactory and you want to upload an update of your package, remember to edit debian/changelog first, or else it will be rejected.

8. If the autobuilder failed, well... then I'm very sorry, but it's not my fault!

There. I think this is pretty much it. It's not that difficult when you know what needs to be done. The knowing is the tricky part here. So I hope this info could be of some help to others.
Attached Files
File Type: zip rules.zip (838 Bytes, 255 views)
Reply With Quote
The Following 13 Users Say Thank You to Sasler For This Useful Post:
  #2  
Old 2010-01-11, 09:53
Hexagoon Hexagoon is offline
 
Join Date: Dec 2009
Location: Sweden
Posts: 84
Thanks!: 12
Thanked 96 Times in 26 Posts
Default Re: How to prepare your Qt package for uploading in MADDE

For the app to compile in the autobuilder, you also has to check that the build-deps field in debian/control is correct (should contain all lib-devs needed to compile)
Reply With Quote
The Following User Says Thank You to Hexagoon For This Useful Post:
  #3  
Old 2010-02-04, 02:04
shep's Avatar
shep shep is offline
 
Join Date: Jan 2010
Location: Ireland
Posts: 85
Thanks!: 42
Thanked 65 Times in 27 Posts
Default Re: How to prepare your Qt package for uploading in MADDE

Thanks Sasler, this guide is a godsend.

Would you mind if i put together a wiki piece based on this to try and lay out the steps for everyone?

Shep
Reply With Quote
The Following User Says Thank You to shep For This Useful Post:
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 20:15.