SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I tried compiling geeqie-1.6 from source as I'm running from the 2021-02-11 iso and experiencing crashes from geeqie. Never mind about geeqie - that's in a separate thread. The issue in this thread is about headers. The 470K(!) output of
Code:
make -j2 > header.warns 2>&1
is up here at https://pastebin.com/4GueCXWU
As you see, it's mainly 'deprecated type warnings and I get them from the linux headers too. Now people pat me on the head and say "Oh that's OK - they're only warnings." I'm not convinced, because a programmer who uses gtk-2.x syntax in a gtk-3.x file is cruising for a bruising. And headers are lookup tables, basically. When all that stuff has to get changed, the potential for error is huge.
I'm getting 100% crashes from geeqie. It IS NOT working. Hence the question.
EDIT: Using 'grep -c' I get 1598 uses of 'deprecated' and 589 uses of 'declared.' Did somebody not do their homework?
Last edited by business_kid; 04-17-2021 at 05:57 AM.
Unfortunately, the flood of GTK 3 deprecation warnings is normal.
GTK 3 deprecated large parts of its API that the developers consider "legacy" (i.e. superseded by newer widgets that GNOME uses). The deprecated API calls still work in GTK 3 but are removed entirely in GTK 4.
You can prevent warnings about real problems from being lost in the noise by defining GDK_DISABLE_DEPRECATION_WARNINGS.
Ed
Unfortunately, the flood of GTK 3 deprecation warnings is normal.
GTK 3 deprecated large parts of its API that the developers consider "legacy" (i.e. superseded by newer widgets that GNOME uses). The deprecated API calls still work in GTK 3 but are removed entirely in GTK 4.
You can prevent warnings about real problems from being lost in the noise by defining GDK_DISABLE_DEPRECATION_WARNINGS.
Ed
Unfortunately, the flood of GTK 3 deprecation warnings is normal.
GTK 3 deprecated large parts of its API that the developers consider "legacy" (i.e. superseded by newer widgets that GNOME uses). The deprecated API calls still work in GTK 3 but are removed entirely in GTK 4.
You can prevent warnings about real problems from being lost in the noise by defining GDK_DISABLE_DEPRECATION_WARNINGS.
Ed
Great. Is that
Code:
GDK_DISABLE_DEPRECATION_WARNINGS=true
make
or does it go in the configure?
EDIT: it apparently gets configured in glib.h. Which glib.h is confusing
OK, I set CFLAGS & CXXFLAGS as GDK_DISABLE_DEPRECATION_WARNINGS, and rebuilt the Slackware source from scratch. It didn't kill the log spam. The entire left panel is an un-adjustable mess, and I can't use keyboard shortcuts or resize anything in the left panel. Geeqie is now on a par with mirage here. All the sophistication is gone.
That turned off the GTK 3 deprecation warnings. There are still a few warnings from other libraries.
Geeqie-1.6 came up with the panes in poor positions. Adjusting the panes made Geeqie usable. It did not crash for me at least in brief use (I don't use Geeqie).
ETA: Try removing ~/.config/geeqie to see if that fixes the crash.
Ed
Compiled your way and the warnings went. I was missing the '-D' bit, but the CFLAGS are switches to gcc.
geeqie -r pukes. Plain geeqie works on the same or lower level as Mirage. No left panel adjustment. If someone handed that up as a CS project, he'd fail.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.