Page 1 of 1

gtkdialog changes break old apps

Posted: Sat Aug 28, 2021 3:09 pm
by Flash

Pcdripper, a program by plinej that I have used a lot, requires gtkdialog, which is not in Slacko or probably most of the latest Puppies. If someone wants a project, they could do a lot worse than rewriting Pcdripper to run in Slacko. :)


gtkdialog changes break old apps

Posted: Sun Aug 29, 2021 12:20 am
by MochiMoppel
Flash wrote: Sat Aug 28, 2021 3:09 pm

Pcdripper, a program by plinej that I have used a lot, requires gtkdialog, which is not in Slacko or probably most of the latest Puppies.

???
The latest Slacko contains even 2 gtkdialogs: gtkdialog for GTK3 and gtk2dialog for GTK2.


Re: Paring down gtkdialog

Posted: Sun Aug 29, 2021 12:35 am
by Flash

Hmm. Well, Pcdripper won't run. This is what it says:

# pcdripper
widget_combobox_create(): The combobox (GtkCombo) widget has been removed from GTK+ 3 and comboboxtext or comboboxentry are recommended as replacements.
#

What can I do about that?


Re: gtkdialog changes break old apps

Posted: Sat Sep 11, 2021 5:01 am
by MochiMoppel
Flash wrote: Sun Aug 29, 2021 12:35 am

What can I do about that?

Let pcdripper use gtk2dialog, i.e. let it use the GTK it was built for. See here


Re: Paring down gtkdialog

Posted: Sat Sep 11, 2021 5:58 pm
by Jafadmin
Flash wrote: Sun Aug 29, 2021 12:35 am

Hmm. Well, Pcdripper won't run. This is what it says:

# pcdripper
widget_combobox_create(): The combobox (GtkCombo) widget has been removed from GTK+ 3 and comboboxtext or comboboxentry are recommended as replacements.
#

What can I do about that?

Compile against GTK+ 2


Re: Paring down gtkdialog

Posted: Sat Sep 11, 2021 6:04 pm
by dimkr
Flash wrote: Sun Aug 29, 2021 12:35 am

Hmm. Well, Pcdripper won't run. This is what it says:

# pcdripper
widget_combobox_create(): The combobox (GtkCombo) widget has been removed from GTK+ 3 and comboboxtext or comboboxentry are recommended as replacements.
#

What can I do about that?

The latest gtkdialog (the one in Slacko, 0.8.4d) has a patch that makes it automatically replace combobox with comboboxtext, to make old gtkdialog-based tools work when gtkdialog is built against GTK+ 3 - https://github.com/puppylinux-woof-CE/g ... ad8dcR1075

This change in gtkdialog makes 90%+ of applications work as-is.

EDIT: here, a screenshot that shows pcdripper works with gtkdialog 0.8.4d (the one in the Slacko 8.2.1 beta)

gtk3.png
gtk3.png (59.76 KiB) Viewed 416 times

Re: Paring down gtkdialog

Posted: Sun Sep 12, 2021 4:11 am
by MochiMoppel
dimkr wrote: Sat Sep 11, 2021 6:04 pm

The latest gtkdialog (the one in Slacko, 0.8.4d) has a patch that makes it automatically replace combobox with comboboxtext, to make old gtkdialog-based tools work when gtkdialog is built against

I found only a few apps in Slacko 8.2.1 that still use the <combobox> widget:
/usr/sbin/pdvdrsab
/usr/sbin/peasypdf
/usr/sbin/peasyprint
/usr/sbin/wcpufreq
/usr/bin/ffconvert
/usr/bin/snap2
/usr/local/bin/peasyport
/usr/local/bin/yassm
/usr/local/peasyglue/peasyglue

I don't use any of them so I can't say if all of them are happy with having combobox behave like comboboxtext . Most should be OK, snap2 probably not (seems to require comboboxentry ), but still your estimation that "90%+ of applications work as-is" seems reasonable - provided that by "work as-is" you mean "don't crash", otherwise I wouldn't be so sure ;)

The other 2 deprecated widgets I know seem to work fine:

<table> widget in:
/usr/local/bin/prename

<separator> widget in:
/usr/sbin/ptheme_gtk
/usr/share/lxterminal/menu.ui
/usr/local/Pup-Kview/Pup-Kview
/usr/local/Pup-SysInfo/Pup-SysInfo
/usr/local/apps/Wallpaper/AppRun
/usr/local/pburn/func_gui
/usr/local/pfind/pfind
/usr/local/ptiming/competitors
/usr/local/ptiming/ptiming


Re: Paring down gtkdialog

Posted: Sun Sep 12, 2021 4:35 pm
by rcrsn51
MochiMoppel wrote: Sun Sep 12, 2021 4:11 am

/usr/local/bin/peasyport

The legitimate version of PeasyPort does not use the combobox widget.

Any version with a combobox has been hacked and should not be trusted.


Re: gtkdialog changes break old apps

Posted: Tue Sep 14, 2021 1:56 pm
by BarryK

With EasyOS I am staying with the gtk2 version of gtkdialog.

And, EasyOS has Pcdripper! -- in the menu, "Multimedia" category.


Re: gtkdialog changes break old apps

Posted: Tue Sep 14, 2021 3:08 pm
by Flash

Thanks. I tried Slacko 8.2.1b from a DVD and Pcdripper still wouldn't work. It acts like it's going to, but in the end it doesn't rip the CD. I suppose something else is missing from Slacko.

I have a DVD with EasyPup 2.3.3 on it. If I remember right, it has Pcdripper.


Re: gtkdialog changes break old apps

Posted: Wed Sep 15, 2021 12:11 am
by williams2

you could just run cdparanoia in a terminal.

I seem to remember that it will rip audio tracks without needing any options. (I'm not sure) Like this:

Code: Select all

cd /tmp/
cdparanoia