@@ -37,6 +37,30 @@ session_components = budgie_components + budgie_session_324_components
37
37
session_data.set(' SESSION_COMPONENTS' , ' ;' .join(session_components))
38
38
# Set the prefix
39
39
session_data.set(' prefix' , join_paths (get_option (' prefix' )))
40
+ # Set bindir to budgie-desktop
41
+ session_data.set(' bindir' , bindir)
42
+
43
+ # Set bindir to labwc
44
+ labwc_bindir = get_option (' labwc-bindir' )
45
+ if labwc_bindir == ''
46
+ labwc_bindir = bindir
47
+ endif
48
+ session_data.set(' labwc_bindir' , labwc_bindir)
49
+
50
+ # Set bindir to magpie-wm
51
+ #magpie_bindir = get_option('magpie-bindir')
52
+ #if magpie_bindir == ''
53
+ # magpie_bindir = bindir
54
+ #endif
55
+ #session_data.set('magpie_bindir', magpie_bindir)
56
+
57
+ # Set libexecdir to gnome-settings-daemon
58
+ # Unfortunately this info is not provided by its pkgconfig file
59
+ gsd_libexecdir = get_option (' gsd-libexecdir' )
60
+ if gsd_libexecdir == ''
61
+ gsd_libexecdir = join_paths (get_option (' prefix' ), get_option (' libexecdir' ))
62
+ endif
63
+ session_data.set(' gsd_libexecdir' , gsd_libexecdir)
40
64
41
65
# Write the budgie-desktop.session.in file from the .in.in
42
66
session_conf = configure_file (
@@ -120,8 +144,17 @@ custom_target('desktop-file-powerdialog',
120
144
121
145
# install gnome-settings-daemon desktop files to ensure they autostart
122
146
123
- install_subdir (
124
- ' settingsdaemon' ,
125
- install_dir : xdg_appdir,
126
- strip_directory : true
127
- )
147
+ settings_daemon_components = budgie_session_324_components + [
148
+ ' org.buddiesofbudgie.SettingsDaemon.DiskUtilityNotify' ,
149
+ ' org.buddiesofbudgie.SettingsDaemon.UsbProtection' ,
150
+ ' org.buddiesofbudgie.SettingsDaemon.Wwan' ,
151
+ ]
152
+
153
+ foreach component : settings_daemon_components
154
+ configure_file (
155
+ input : join_paths (' settingsdaemon' , component + ' .desktop.in' ),
156
+ output : ' @BASENAME@' ,
157
+ configuration : session_data,
158
+ install_dir : xdg_appdir,
159
+ )
160
+ endforeach
0 commit comments