gtkdialog changes break old apps

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

Post Reply
User avatar
Flash
Moderator
Posts: 895
Joined: Tue Dec 03, 2019 3:13 pm
Location: Arizona, U.S.
Has thanked: 46 times
Been thanked: 104 times

gtkdialog changes break old apps

Post 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. :)

Chaos coordinator :?
User avatar
MochiMoppel
Posts: 1109
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 17 times
Been thanked: 356 times

gtkdialog changes break old apps

Post 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.

User avatar
Flash
Moderator
Posts: 895
Joined: Tue Dec 03, 2019 3:13 pm
Location: Arizona, U.S.
Has thanked: 46 times
Been thanked: 104 times

Re: Paring down gtkdialog

Post 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?

Chaos coordinator :?
User avatar
MochiMoppel
Posts: 1109
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 17 times
Been thanked: 356 times

Re: gtkdialog changes break old apps

Post 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

Last edited by MochiMoppel on Sun Sep 12, 2021 1:13 am, edited 2 times in total.
User avatar
Jafadmin
Posts: 376
Joined: Tue Aug 04, 2020 4:51 pm
Has thanked: 68 times
Been thanked: 84 times

Re: Paring down gtkdialog

Post 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

dimkr
Posts: 1892
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 36 times
Been thanked: 816 times

Re: Paring down gtkdialog

Post 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 413 times
User avatar
MochiMoppel
Posts: 1109
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 17 times
Been thanked: 356 times

Re: Paring down gtkdialog

Post 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

User avatar
rcrsn51
Posts: 1191
Joined: Sun Aug 23, 2020 4:26 pm
Been thanked: 262 times

Re: Paring down gtkdialog

Post 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.

User avatar
BarryK
Posts: 2267
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 93 times
Been thanked: 562 times

Re: gtkdialog changes break old apps

Post by BarryK »

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

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

User avatar
Flash
Moderator
Posts: 895
Joined: Tue Dec 03, 2019 3:13 pm
Location: Arizona, U.S.
Has thanked: 46 times
Been thanked: 104 times

Re: gtkdialog changes break old apps

Post 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.

Chaos coordinator :?
williams2
Posts: 1023
Joined: Sat Jul 25, 2020 5:45 pm
Been thanked: 288 times

Re: gtkdialog changes break old apps

Post 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
Post Reply

Return to “Users”