4.19.0 missing -lgmodule-2.0 in libxfsettingsd-gtk-settings-sync
Howdy,
I'm getting a failure to build due to missing -lgmodule-2.0 in libxfsettingsd-gtk-settings-sync. A quick and dirty hack to test:
--- xfce4-settings-4.19.0.orig/xfsettingsd/Makefile.am
+++ xfce4-settings-4.19.0/xfsettingsd/Makefile.am
@@ -138,7 +138,8 @@ libxfsettingsd_gtk_settings_sync_la_LDFL
libxfsettingsd_gtk_settings_sync_la_LIBADD = \
$(GTK_LIBS) \
- $(XFCONF_LIBS)
+ $(XFCONF_LIBS) \
+ -lgmodule-2.0
settingsdir = $(sysconfdir)/xdg/xfce4/xfconf/xfce-perchannel-xml
settings_DATA = xsettings.xml
Error output:
/usr/bin/ld: /tmp/ccBFL0KG.ltrans0.ltrans.o: in function `g_module_check_init':
/build/xfce4-settings-4.19.0/xfsettingsd/gtk-settings-module.c:135:(.text+0x4d4): undefined reference to `g_module_make_resident'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:749: libxfsettingsd-gtk-settings-sync.la] Error 1
make[4]: *** Waiting for unfinished jobs....
displays.c: In function 'xfce_displays_helper_screen_on_event':
displays.c:668:17: warning: 'xfce_spawn_command_line_on_screen' is deprecated: Use xfce_spawn_command_line() instead [-Wdeprecated-declarations]
668 | xfce_spawn_command_line_on_screen (NULL, "xfce4-display-settings -m", FALSE,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/xfce4/libxfce4ui-2/libxfce4ui/libxfce4ui.h:31,
from displays.c:35:
/usr/include/xfce4/libxfce4ui-2/libxfce4ui/xfce-spawn.h:64:10: note: declared here
64 | gboolean xfce_spawn_command_line_on_screen (GdkScreen *screen,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~