Thread
:
How to prepare your Qt package for uploading in MADDE
View Single Post
Sasler
2010-01-10 , 18:13
Posts: 434 | Thanked: 325 times | Joined on Sep 2009
#
1
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 th
e 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
rules.zip
(838 Bytes, 277 views)
Quote & Reply
|
The Following 13 Users Say Thank You to Sasler For This Useful Post:
Berserk
,
Blaizzen
,
Bratag
,
danielwilms
,
fatalsaint
,
Halftux
,
lsw
,
Lullen
,
mohannad
,
noobmonkey
,
rooster13
,
shep
,
tekojo
Sasler
View Public Profile
Send a private message to Sasler
Visit Sasler's homepage!
Find all posts by Sasler