Reply
Thread Tools
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#1
This is no port, just a straight compile with a bunch of needed libs

So, Zenity is much better (bigger too) than my port of gxmessage. Supports a whole bunch of dialogs and even a progress bar. To use it you only need the executable and the glade file (the glade file should be in the dir you run the exec from). I'm including a deb for completeness and for the other languages in it if someone needs it.

EDIT: On second thought maybe i have more libs installed Report any dependencies if you encounter them.

Screenshot:


Produced from this:
Code:
./zenity --width=400 --height=320 --list --text "How is this looking?" --checklist --column "" --column "Answers" FALSE "Like a check list" FALSE "Like a freaking checklist" FALSE "Like a hot virgin" FALSE "All of the above" FALSE "None of the above"
Exec + glade:
http://bundyo.org/maemo/zenity/zenity_2.22.tar.gz
30k

Full deb:
http://bundyo.org/maemo/zenity/zenit....1-1_armel.deb
1.85MB

Some short tutorial:
http://linux.byexamples.com/archives...og-examples-1/
http://linux.byexamples.com/archives...og-examples-2/

Link to the gxmessage thread since it is smaller and with no deps:
http://www.internettablettalk.com/fo...642#post159642

Last edited by Bundyo; 2008-04-16 at 23:03.
 

The Following 8 Users Say Thank You to Bundyo For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#2
Dug... no wait, thanked for virgin
 

The Following User Says Thank You to qwerty12 For This Useful Post:
Jaffa's Avatar
Posts: 2,535 | Thanked: 6,681 times | Joined on Mar 2008 @ UK
#3
Any chance of getting this in extras(-devel), so it can be used as a dependency?

Once there, it shouldn't have "Section: user/...", as it should only be used as a dependency of other debs (or command-line use)
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#4
I'll try. Its about time i get on the extras ship.
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#5
There is also http://www.gtk-server.org/. I had it working in OS2006 and 7 some time ago but forgot about it. The difference is that (AFAIK) with zenity each window is one zenity executable call so you really cannot make one application with one persistent main window which is always opened. gtk-server is for that, basically it is scriptable gtk so you can write your GTK app in pure busybox /bin/sh. It might be better for something than zenity.

The (exactly one year old today :-) archive is here http://fanoush.wz.cz/maemo/gtk-server.tgz works in OS2007 at least. Install the libffcall deb and then try to run the calculator.sh example inside gtk-server directory.

EDIT: I see now that there is even install-shortcut.sh so you can start the calculator from menu as regular application :-) See/run also the demo-fifo.sh for very simple example.
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.

Last edited by fanoush; 2008-04-17 at 14:06.
 

The Following 5 Users Say Thank You to fanoush For This Useful Post:
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#6
Yes, i was looking at this too and tought it will be good to port (you can use any scripting language since it uses TCP/UDP communication and you can control the interface even from another machine )
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#7
Disadvantage is that it is not so high-level, it is pure gtk so you need to write a lot of code just like in C, glade can help a bit I guess. Zenity is easier for simple dialogs.

I think it was straight recompile in scratchbox at that time, no porting needed, libffcall source was taken from debian I guess. Porting would be hildonization and perhaps also adding calls to osso etc. Possible but needs work. I mentioned it just for reference since it is related to zenity. I was thinking about using it to add gui to kernel and initfs flasher but never got to realization phase :-)
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 

The Following User Says Thank You to fanoush For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#8
I'm interested in using this for my installer package, but I need to know if it has extra dependencies beyond what is in the package. There's definitely a couple of required libraries in the Debian version, but maybe they're included in the .deb here. Does it need Python?

Can someone with a clean flash try installing it and seeing if it works?
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#9
No Python, but has some deps if i remember properly. gxmessage is smaller and doesn't have any deps.
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
Posts: 29 | Thanked: 7 times | Joined on Nov 2008 @ France
#10
i couldn't get zenity deb install on my n810 diablo...
error is "short read in buffer_copy" while dpkg-ing the deb you provide...
 
Reply


 
Forum Jump


All times are GMT. The time now is 01:44.