|
2010-06-10
, 08:59
|
Posts: 435 |
Thanked: 769 times |
Joined on Apr 2010
|
#2
|
The Following User Says Thank You to gionni88 For This Useful Post: | ||
|
2010-06-10
, 12:09
|
Posts: 432 |
Thanked: 645 times |
Joined on Mar 2009
|
#3
|
You have to edit the pro file changing "BINDIR = $$PREFIX/bin" to "BINDIR = /opt/maemo" or whatever you want and in the .desktop file the exec line must point to the fixed position like "Exec=/opt/maemo/nameOfTheApp"
#!/bin/sh chmod +x /opt/path/to/your/executable/binary
|
2010-06-21
, 09:10
|
|
Posts: 702 |
Thanked: 334 times |
Joined on Feb 2010
@ Israel.
|
#4
|
This is one option. Another option is to put all files into /opt/<application-name> together (excluding the .desktop file). But please remember to set the path to your binary in your .desktop file correctly.
edit: Another thing I forgot, is that there is a bug in MADDE, so dh_fixperms does not set the permissions correctly. So you have to add a file into your debian folder, which is called "postinst" and has the following content:
Code:#!/bin/sh chmod +x /opt/path/to/your/executable/binary
Daniel
So my question is how should I optify my package in MADDE using Windows? Is there a quick way? Or do I have to do it manually? If so, then how? Should I just edit the src.pro file?
Cheers