Reply
Thread Tools
krk969's Avatar
Posts: 754 | Thanked: 630 times | Joined on Sep 2009 @ London
#11
Originally Posted by flgor View Post
This is the postinst file from debian folder

It does not work.
add
chown -R user /home/opt/myapp
to the beginning of the file just after
set -e
__________________
Developer of :
Buddy - budget/expense manager ( website )
Showtime - a telly channel listing viewer/reminder ( website )
Travelapp - london underground status/planner ( website )
Batlevel - desktop widget for battery level ( website )

“I hear and I forget. I see and I remember. I do and I understand.”
 

The Following User Says Thank You to krk969 For This Useful Post:
Posts: 34 | Thanked: 2 times | Joined on Feb 2010
#12
Thanks the post installation is working.
 
Posts: 34 | Thanked: 2 times | Joined on Feb 2010
#13
One more question about packing
in the data folder i have a subdirectory with a lot of files inside?

They should all be copied on the phone.
Is it possible to make one install tag in the src.pro and copy everything from data/subdir/ in one go or i have to make a tag for every file i want to be copied on the phone?
 
krk969's Avatar
Posts: 754 | Thanked: 630 times | Joined on Sep 2009 @ London
#14
Originally Posted by flgor View Post
One more question about packing
in the data folder i have a subdirectory with a lot of files inside?

They should all be copied on the phone.
Is it possible to make one install tag in the src.pro and copy everything from data/subdir/ in one go or i have to make a tag for every file i want to be copied on the phone?
backgroundprocess.files += data/scripts/yourprog <next_file> <the_next> and so on

you can keep adding
__________________
Developer of :
Buddy - budget/expense manager ( website )
Showtime - a telly channel listing viewer/reminder ( website )
Travelapp - london underground status/planner ( website )
Batlevel - desktop widget for battery level ( website )

“I hear and I forget. I see and I remember. I do and I understand.”
 
Posts: 34 | Thanked: 2 times | Joined on Feb 2010
#15
Thanks alot!
Can it work with *.* and to do it recursively for subdirs also.
 
krk969's Avatar
Posts: 754 | Thanked: 630 times | Joined on Sep 2009 @ London
#16
Originally Posted by flgor View Post
Thanks alot!
Can it work with *.* and to do it recursively for subdirs also.
I think you may have to specify each file.
Ive never used wildcards before. Check here for more details..
__________________
Developer of :
Buddy - budget/expense manager ( website )
Showtime - a telly channel listing viewer/reminder ( website )
Travelapp - london underground status/planner ( website )
Batlevel - desktop widget for battery level ( website )

“I hear and I forget. I see and I remember. I do and I understand.”
 
Posts: 34 | Thanked: 2 times | Joined on Feb 2010
#17
Just for record, i tried something like this and i think it works:
Code:
 inputfiles.files += ../data/inputfiles/*.*

Anyway my .deb is working now and it can be installed with the dpkg -i.

the whole packaging story was a pain. Many thanks to all who helped me and made my life a little easier.
 
calvin_42's Avatar
Posts: 286 | Thanked: 219 times | Joined on Feb 2010 @ France
#18
Originally Posted by flgor View Post
Just for record, i tried something like this and i think it works:
Code:
 inputfiles.files += ../data/inputfiles/*.*

Anyway my .deb is working now and it can be installed with the dpkg -i.

the whole packaging story was a pain. Many thanks to all who helped me and made my life a little easier.
Nice. Now we are at the same step. Now keep me posted if you manage to pass the "Extra-Devel Assistant" step

Indeed I was blocked : http://talk.maemo.org/showthread.php?t=44994
 
Reply


 
Forum Jump


All times are GMT. The time now is 21:56.