Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 27 Nov 2014, 17:52
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
Zenity 2.20.1
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [6 Posts]  
Author Message
Liboicl

Joined: 15 Feb 2010
Posts: 90

PostPosted: Mon 24 May 2010, 01:53    Post subject:  Zenity 2.20.1  

It's a tool that allows you to display Gtk+ dialog boxes from the command line and through shell scripts.
Compiled in Puppy 4.3.1
zenity-2.20.1.pet
Back to top
View user's profile Send private message 
vovchik


Joined: 23 Oct 2006
Posts: 1287
Location: Ukraine

PostPosted: Mon 24 May 2010, 07:33    Post subject:  

Dear Liboicl,

I compiled the zenity package some time ago - same version - but removed the /usr/share/gnome dir (2.3 MB unpacked) and /usr/share/locale files (1.5 MB), which are largely unnecessary, so that the total package weighs in at 220k and not 4.1 MB. It works perfectly without the fat. Do you want to repackage in a lightweight version - or should I? It doesn't matter, really, but a lot of users will not want a huge (multi-MB) package when 220k will give you the same "bang for the buck" (the two progs in /usr/bin and the files in /usr/zhare/zenity). Also you should strip the zenity binary in /usr/bin to reduce its size from 76k to 50k - there are no deleterious effects from running "strip zenity" before you package the pet. What happens is that a lot of debugging symbols get thrown out and are not needed by users. The zenity program itself requires libgnomecanvas, which may or may not be standard in Puppy. I suspect it isn't there in standard-issue Puppies, and, if my memory serves me right, carries along with it some other gnome dependencies. I don't remember exactly. There is also a "souped-up" zenity out there under another name - yad - that has only GTK dependencies (no Gnome). It requires, as a minimum, GTK+ 2.12.0, which is present in "latter-day" Puppies.

In any case, cheers and thanks for the compiles.

With kind regards,
vovchik
Back to top
View user's profile Send private message 
vovchik


Joined: 23 Oct 2006
Posts: 1287
Location: Ukraine

PostPosted: Mon 24 May 2010, 08:17    Post subject:  

Dear Liboicl,

I decided to package my stripped-down version while writing the earlier post. It was compiled it on 3.01, and has a dependency on libgnomecanvas-2.so.0.1400.0. If people have problems with this pet, using their existing libgnomecanvas, I have also attached the lib in question, which will also adjust two symlinks so they point to my lib.

With kind regards,
vovchik

PS. It may be worth our while to look at "yad", to avoid the libgnomecanvas dependency.
libgnomecanvas-2.so.0.1400.0.pet
Description 
pet

 Download 
Filename  libgnomecanvas-2.so.0.1400.0.pet 
Filesize  446.59 KB 
Downloaded  711 Time(s) 
zenity-2.20.1.pet
Description 
pet

 Download 
Filename  zenity-2.20.1.pet 
Filesize  92.42 KB 
Downloaded  804 Time(s) 
Back to top
View user's profile Send private message 
Liboicl

Joined: 15 Feb 2010
Posts: 90

PostPosted: Mon 24 May 2010, 08:26    Post subject:  

Alright. I had just compiled this while trying to install dofus, which I failed at. I didn't even try stripping anything I just thought someone else might need it. Thanks for the info, though.
Back to top
View user's profile Send private message 
vovchik


Joined: 23 Oct 2006
Posts: 1287
Location: Ukraine

PostPosted: Mon 24 May 2010, 09:15    Post subject:  

Dear Liboicl,

Here is a nice little gui designer - zenitor - that makes use of zenity and gtkdialog. I found it on the Ubuntu French forum (http://doc.ubuntu-fr.org/zenitor#pre-requis), and it could be of use to many of us. It would need translation and a bit of redesign of the installation code, since it wants to install in /opt (/usr/local would be more Puppy-like) and place icons in HOME$/.config/local/share/icons/hicolor. The gtkdialog bits would also have to reflect the Puppy name (gtkdialog3). Apart from that, a rather simple translation job (also for the names of functions in the script).

Any takers?

With kind regards,
vovchik
zenitor.jpg
 Description   
 Filesize   42.28 KB
 Viewed   1716 Time(s)

zenitor.jpg

Zenitor_2.1.2.tar.gz
Description 
gz

 Download 
Filename  Zenitor_2.1.2.tar.gz 
Filesize  91.74 KB 
Downloaded  511 Time(s) 
Back to top
View user's profile Send private message 
Liboicl

Joined: 15 Feb 2010
Posts: 90

PostPosted: Mon 24 May 2010, 18:06    Post subject:  

I'm looking into that. I have done some of the basic translation already.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [6 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0949s ][ Queries: 13 (0.0378s) ][ GZIP on ]