Pulled in some Unix-specific code from https://github.com/rust-locale/locale_config to reduce dependencies. First reason to reduce dependencies: gettext-rs is not in Debian. Copying gettext-sys might have made sense, but the interface is somewhat confusing. For translating a couple identifiers, detection and some hand-rolled hash map is all that is needed, and the option to move to gettext later remains. locale_config has been stripped of the lazy_static dependency, which, messing with the strtup sequence, might be a source of debugging woes. Plus setting language once in the beginning is somewhat inflexible regarding runtime changes.
		
			
				
	
	
		
			41 lines
		
	
	
		
			991 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			991 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
Source: squeekboard
 | 
						|
Section: x11
 | 
						|
Priority: optional
 | 
						|
Maintainer: Dorota Czaplejewicz <dorota.czaplejewicz@puri.sm>
 | 
						|
Build-Depends:
 | 
						|
 cargo,
 | 
						|
 debhelper (>= 10),
 | 
						|
 meson (>=0.51.0),
 | 
						|
 ninja-build,
 | 
						|
 pkg-config,
 | 
						|
 libglib2.0-dev,
 | 
						|
 libgtk-3-dev,
 | 
						|
 libcroco3-dev,
 | 
						|
 librust-bitflags-1-dev (>= 1.0),
 | 
						|
 librust-gio+v2-44-dev,
 | 
						|
 librust-glib+v2-44-dev,
 | 
						|
 librust-glib-sys-dev,
 | 
						|
 librust-gtk+v3-22-dev (>= 0.5),
 | 
						|
 librust-gtk-sys-dev,
 | 
						|
 librust-maplit-1-dev (>= 1.0),
 | 
						|
 librust-regex-1-dev (>= 1.1),
 | 
						|
 librust-serde-derive-1-dev (>= 1.0),
 | 
						|
 librust-serde-yaml-0.8-dev (>= 0.8),
 | 
						|
 librust-xkbcommon-0.4+wayland-dev (>= 0.4),
 | 
						|
 libwayland-dev (>= 1.16),
 | 
						|
 rustc,
 | 
						|
 wayland-protocols (>= 1.14),
 | 
						|
# for running the tests
 | 
						|
 xvfb,
 | 
						|
 xauth,
 | 
						|
Standards-Version: 4.1.3
 | 
						|
Homepage: https://source.puri.sm/Librem5/squeekboard
 | 
						|
 | 
						|
Package: squeekboard
 | 
						|
Architecture: linux-any
 | 
						|
Depends:
 | 
						|
 ${shlibs:Depends}
 | 
						|
 ${misc:Depends}
 | 
						|
Description: On-screen keyboard for Wayland
 | 
						|
 Virtual keyboard supporting Wayland, built primarily for the Librem 5 phone.
 |