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 Mon 28 Jul 2014, 14:32
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
gtkdialog2 to gtkdialog3 conversion
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
01micko


Joined: 11 Oct 2008
Posts: 7782
Location: qld

PostPosted: Fri 12 Aug 2011, 07:51    Post subject:  gtkdialog2 to gtkdialog3 conversion
Subject description: Attempting to make gtkdialog2 redundant, it will be soon anyway
 

gtkdialog2 to gtkdialog3 conversion..

What I have done here is convert many of the current woof apps (which are mostly legacy from the older days) from gtkdialog2 to gtkdialog3. They'll need some testing beyond my brief "yes that looks like it will work".... Be careful as there could be changes in the scripts other than just gui changes, so a very late model puppy is recommended for testing. Back up your original first
Here's my list, note that PUI I did not do.
Code:
dotpup:echo "$DLG1" | gtkdialog2 --stdin ###fixed
input-wizard: eval `gtkdialog2 --program=MouseKeyboardWizard | grep "EXIT"` ###fixed
input-wizard:   RETPARAMS=`gtkdialog2 --program=KeyboardFeaturesWizard` ###fixed
input-wizard:   #v1.0.7 modified for gtkdialog2...
input-wizard:   RETPARAMS=`gtkdialog2 --program=MouseWizard` ###fixed
pmount: RETPARAMS="`echo "$DLGSETENG" | gtkdialog2 --stdin`" ###fixed
puppyinstaller:RETTXT="`echo "$DLG2" | gtkdialog2 --stdin`"
puppyinstaller:  RETTXT="`echo "$DLG3" | gtkdialog2 --stdin`"
puppyinstaller:  RETTXT="`echo "$DLG3" | gtkdialog2 --stdin`"
puppyinstaller: RETTXT="`echo "$DLG4" | gtkdialog2 --stdin`"
puppyinstaller: RETTXT="`echo "$DLG4" | gtkdialog2 --stdin`"
pupscan:[ $SILENT != true ] && RETSTRING="`echo "$MAINDIALOG" | gtkdialog2 --stdin`" #v431 ###fixed
xorgwizard: RETSTR="`echo "$MAIN1" | gtkdialog2 --stdin`" ###fixed
xserverwizard:#echo "$MAINDIALOG" | gtkdialog2 --stdin ###fixed
xserverwizard:echo "$MAINDIALOG" | gtkdialog2 --stdin ###fixed


I will be pointing Barry here as it is/(has been for awhile) on his TODO list.
gtkdialog_two_to_three.tar.gz
Description  A collection of puppy base scripts, written by Barry, hacked by me to be gtkdialog3 compliant
gz

 Download 
Filename  gtkdialog_two_to_three.tar.gz 
Filesize  62.31 KB 
Downloaded  294 Time(s) 

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
8-bit


Joined: 03 Apr 2007
Posts: 3357
Location: Oregon

PostPosted: Sat 13 Aug 2011, 16:57    Post subject:  

pupscan that is part of Lucid 520, works fine and the exit button also works.
But in the update of it you did, the exit button now fails to work when I tried running it on Lucid 520.
Back to top
View user's profile Send private message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2373
Location: UK

PostPosted: Sat 13 Aug 2011, 17:22    Post subject:  

01micko, this is great, I'm using all of them now, except pmount (cos I got a re-aligned one - I will merge them later) and xorgwizard...

8-bit wrote:
pupscan that is part of Lucid 520, works fine and the exit button also works.
But in the update of it you did, the exit button now fails to work when I tried running it on Lucid 520.

Here's a fixed pupscan
pupscan.gz
Description  not a real archive, just remove the .gz
gz

 Download 
Filename  pupscan.gz 
Filesize  12.21 KB 
Downloaded  259 Time(s) 

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Sat 13 Aug 2011, 19:36    Post subject:  

Mick,
In your tarball, you haven't converted 'puppyinstaller', it is the gtkdialog2 version.

Note that Woof has later 'dotpup' and 'pmount' than those you edited, but I merged your changes ok.

Then I got to 'puppyinstaller' and found that it hadn't been converted, so I thought probably you accidentally put the wrong one in the tarball?

_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 7782
Location: qld

PostPosted: Sat 13 Aug 2011, 19:46    Post subject:  

Hi Barry

I had noted I didn't do PUI (puppy universal installer), only because I didn't have time to test all aspects. It shouldn't have been in the tarball, my mistake there. Embarassed

Cheers

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Sat 13 Aug 2011, 20:14    Post subject:  

xorgwizard is broken, needs different line to return RETSTR. Attached.
xorgwizard.gz
Description 
gz

 Download 
Filename  xorgwizard.gz 
Filesize  22.75 KB 
Downloaded  267 Time(s) 

_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Sat 13 Aug 2011, 21:17    Post subject:  

Ok, here is converted 'puppyinstaller'.
puppyinstaller.gz
Description 
gz

 Download 
Filename  puppyinstaller.gz 
Filesize  21.83 KB 
Downloaded  270 Time(s) 

_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
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.0576s ][ Queries: 13 (0.0044s) ][ GZIP on ]