![]() |
Something like xdialog
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 |
Re: Something like xdialog
|
Re: Something like xdialog
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.
|
Re: Something like xdialog
Cough cough, I compiled Xdialog but I don't really get the best result. Saying that, I cannot develop.
http://i28.tinypic.com/2d6qtl2.png |
Re: Something like xdialog
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.
|
Re: Something like xdialog
expect ( or expecttk) ?
|
Re: Something like xdialog
Quote:
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. |
Re: Something like xdialog
I tried to compile it last hight but without success. Which packets it depends. In my case it fails when checks gtk-config.
|
Re: Something like xdialog
Quote:
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 :) |
Re: Something like xdialog
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. |
All times are GMT. The time now is 23:49. |
vBulletin® Version 3.8.8