gtkdialog2 to gtkdialog3 conversion

For discussions about programming, programming questions/advice, and projects that don't really have anything to do with Puppy.
Post Reply
Message
Author
User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

gtkdialog2 to gtkdialog3 conversion

#1 Post by 01micko »

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: Select all

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.
Attachments
gtkdialog_two_to_three.tar.gz
A collection of puppy base scripts, written by Barry, hacked by me to be gtkdialog3 compliant
(62.31 KiB) Downloaded 468 times
Puppy Linux Blog - contact me for access

User avatar
8-bit
Posts: 3406
Joined: Wed 04 Apr 2007, 03:37
Location: Oregon

#2 Post by 8-bit »

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.

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#3 Post by sc0ttman »

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
Attachments
pupscan.gz
not a real archive, just remove the .gz
(12.21 KiB) Downloaded 435 times
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#4 Post by BarryK »

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?
[url]https://bkhome.org/news/[/url]

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#5 Post by 01micko »

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. :oops:

Cheers
Puppy Linux Blog - contact me for access

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#6 Post by BarryK »

xorgwizard is broken, needs different line to return RETSTR. Attached.
Attachments
xorgwizard.gz
(22.75 KiB) Downloaded 412 times
[url]https://bkhome.org/news/[/url]

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#7 Post by BarryK »

Ok, here is converted 'puppyinstaller'.
Attachments
puppyinstaller.gz
(21.83 KiB) Downloaded 411 times
[url]https://bkhome.org/news/[/url]

Post Reply