mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	meson: libseat is no longer optional
See: https://github.com/swaywm/wlroots/pull/2839
This commit is contained in:
		
							parent
							
								
									fcfe52de29
								
							
						
					
					
						commit
						4e77bc2935
					
				
					 1 changed files with 0 additions and 5 deletions
				
			
		| 
						 | 
					@ -76,7 +76,6 @@ endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
wlroots_features = {
 | 
					wlroots_features = {
 | 
				
			||||||
	'xwayland': false,
 | 
						'xwayland': false,
 | 
				
			||||||
	'libseat': false,
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
foreach name, _ : wlroots_features
 | 
					foreach name, _ : wlroots_features
 | 
				
			||||||
	var_name = 'have_' + name.underscorify()
 | 
						var_name = 'have_' + name.underscorify()
 | 
				
			||||||
| 
						 | 
					@ -316,7 +315,3 @@ summary({
 | 
				
			||||||
	'man-pages': scdoc.found(),
 | 
						'man-pages': scdoc.found(),
 | 
				
			||||||
}, bool_yn: true)
 | 
					}, bool_yn: true)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if not wlroots_features['libseat']
 | 
					 | 
				
			||||||
	warning('The sway binary must be setuid when compiled without (e)logind or libseat')
 | 
					 | 
				
			||||||
	warning('You must do this manually post-install: chmod a+s /path/to/sway')
 | 
					 | 
				
			||||||
endif
 | 
					 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue