Closed fenugrec closed 1 year ago
If someone can't build binary and looking for workaround, try to:
[ontosh@fedora ~]$ nano ~/tools/alsa-scarlett-gui/src/Makefile
CFLAGS += -DVERSION=\"$(VERSION)\"
CFLAGS += -Wno-error=deprecated-declarations
make -j4
Fixed in commit fb9ccfed.
@fenugrec "Is there any interest in moving beyond plain makefiles to something else - cmake or other ?"
Is cmake the preferred way to build Gtk4 apps? I have no idea what the standard practice is here; developing desktop apps is not my area of expertise. If anyone wants to make this better, contributions are welcome.
Hi, AFAIK meson is the way for most of the gtk/gnome apps. I think its also simple and easy to use and a well stabilized project. https://mesonbuild.com/
For example,
According to https://docs.gtk.org/gtk4/class.FileChooserNative.html , this is deprecated since 4.10 which is fairly recent anyway.
I suggest modifying the Makefile to remove the
-Werror
flag - I can patch that when packaging at my end, but perhaps should be addressed here too.cmake build configurations can help with this : a debug build can enable -Werror where it is useful, and a quieter release build that makes it easier / for packagers. Is there any interest in moving beyond plain makefiles to something else - cmake or other ?