Active Topics

 


Reply
Thread Tools
linman's Avatar
Posts: 58 | Thanked: 49 times | Joined on Feb 2008
#1
Hi Guys,
I'm just curious, is there something like xdialog? I am searching for tool which will help me to ask user where he wants to install a new packet so with xdialog I can use it in pre/post.install scripts to ask him.

Toli
__________________
while (FALSE == FALSE) fork();
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#2
I think you missed this:
http://www.internettablettalk.com/fo...7&postcount=12


Last edited by qwerty12; 2008-03-24 at 08:08.
 

The Following User Says Thank You to qwerty12 For This Useful Post:
linman's Avatar
Posts: 58 | Thanked: 49 times | Joined on Feb 2008
#3
I read your answer there. It is a good alternative but maemo-confirm-text is not flexible enough... however if there is not other solution I will use it.
__________________
while (FALSE == FALSE) fork();
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#4
Cough cough, I compiled Xdialog but I don't really get the best result. Saying that, I cannot develop.

 
linman's Avatar
Posts: 58 | Thanked: 49 times | Joined on Feb 2008
#5
It looks good you just do not have button's texts so it is not a standard part of base OS distribution and could not be used for installation dialogs... unfortunately.
__________________
while (FALSE == FALSE) fork();
 
Posts: 605 | Thanked: 137 times | Joined on Nov 2005 @ La Rochelle, France
#6
expect ( or expecttk) ?
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#7
Originally Posted by linman View Post
It looks good you just do not have button's texts so it is not a standard part of base OS distribution and could not be used for installation dialogs... unfortunately.


I get errors on running about gtk-font.c . I also believe keyboard input wouldn't work unless you used xkbd or hardware keyboard.

I just did straight compile . I don't know anything about C and its derivatives

But I think free had the same problem with xmms port. Xdialog is pretty light though, only the one executable.
 
linman's Avatar
Posts: 58 | Thanked: 49 times | Joined on Feb 2008
#8
I tried to compile it last hight but without success. Which packets it depends. In my case it fails when checks gtk-config.
__________________
while (FALSE == FALSE) fork();
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#9
Originally Posted by linman View Post
I tried to compile it last hight but without success. Which packets it depends. In my case it fails when checks gtk-config.
It needs gtk-1.2 .

I've packaged the files, bunzip them to a new folder in scratch boxes home, cd to your new folder and run "dpkg -i --force-all *.deb"

Not the most elegant of solutions but ./configure lets you carry on.

I've only included deb files for armel target.

http://www.mediafire.com/?njxbbx6cdyx

Let me know how it goes if you fix it
 
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#10
Can I make a suggestion here? Me and ArnimS have been using /media/mmcX/share/gamename for data files. User will most likely want the datafiles on either card. So:

use maemo-confirm-text in preinst to ask which card user wants
symlink something like /tmp/gameinstaller to card/share/gamename
make package install data files in /tmp/gameinstaller (i guess if the files are owned by user it doesn't try to chown them. Not sure so check the pingus data package)
remove link in postinst
Make game look for datafiles from cwd. Then use a script to launch the game that checks which card the data files are on and cd into it before running the binary. That way user could actually swap cards on N800 and the game would still work.
Finally make prerm delete the datafiles from either card.

Most of this work is already done in Tower Toppler package. You would only need to add that symlink thing.
 

The Following 2 Users Say Thank You to ukki For This Useful Post:
Reply


 
Forum Jump


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