Restore Ubuntu Touch audio and sync with the device graphics stack
This commit is contained in:
1 parent
36d6e6f94e
commit
6369cba877
5 files changed
+12
-2
No files matched your search
@@ -181,7 +181,8 @@ jobs:
|
||||
click_curl_dir="$PWD/vendor-builds/click/arm64/curl"
|
||||
export AARCH64_KRYON_CURL_CFLAGS="-DCURL_STATICLIB -I$click_curl_dir/include"
|
||||
export AARCH64_KRYON_CURL_LDLIBS="$click_curl_dir/lib/libcurl.a -L/opt/inbe-openssl/lib -lssl -lcrypto -lz -lpthread"
|
||||
export AARCH64_CLICK_RUNTIME_LIBS="$(pkg-config --variable=libdir sdl2)/libSDL2-2.0.so.0 /opt/inbe-openssl/lib/libssl.so.3 /opt/inbe-openssl/lib/libcrypto.so.3 /usr/lib/aarch64-linux-gnu/libdrm.so.2 /usr/lib/aarch64-linux-gnu/libgbm.so.1 /usr/lib/aarch64-linux-gnu/libEGL.so.1 /usr/lib/aarch64-linux-gnu/libGLESv2.so.2 /usr/lib/aarch64-linux-gnu/libz.so.1"
|
||||
# The framework supplies graphics libraries for the device's GPU.
|
||||
export AARCH64_CLICK_RUNTIME_LIBS="$(pkg-config --variable=libdir sdl2)/libSDL2-2.0.so.0 /opt/inbe-openssl/lib/libssl.so.3 /opt/inbe-openssl/lib/libcrypto.so.3 /usr/lib/aarch64-linux-gnu/libatomic.so.1 /usr/lib/aarch64-linux-gnu/libz.so.1"
|
||||
# Make otherwise prefers the SDK's older /usr/bin/cmake.
|
||||
export CMAKE="$(python3 -c 'import cmake; print(cmake.CMAKE_BIN_DIR + "/cmake")')"
|
||||
"$CMAKE" --version
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
## [2.1.52] - 2026-10-27
|
||||
|
||||
- Set an account alias with capitals, an @ or spaces; a taken alias now says so.
|
||||
- Restore audio playback and account sync on Ubuntu Touch.
|
||||
|
||||
## [2.1.51] - 2026-10-27
|
||||
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
- Set an account alias with capitals, an @ or spaces; a taken alias now says so.
|
||||
- Restore audio playback and account sync on Ubuntu Touch.
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"policy_groups": [],
|
||||
"policy_groups": ["audio", "networking"],
|
||||
"policy_version": 20.04
|
||||
}
|
||||
@@ -17,6 +17,13 @@ def verify(package):
|
||||
manifest = json.loads((root / "DEBIAN/manifest").read_text())
|
||||
if manifest["framework"] != "ubuntu-sdk-20.04" or manifest["architecture"] != "arm64":
|
||||
raise ValueError("expected the ARM64 ubuntu-sdk-20.04 package")
|
||||
policy_file = manifest["hooks"]["inbe"]["apparmor"]
|
||||
policy = json.loads((root / policy_file).read_text())
|
||||
if not {"audio", "networking"}.issubset(policy.get("policy_groups", [])):
|
||||
raise ValueError("Ubuntu Touch audio and account sync require audio/networking policies")
|
||||
for name in ("libEGL.so.1", "libGLESv2.so.2", "libGLdispatch.so.0"):
|
||||
if (root / "usr/lib" / name).exists():
|
||||
raise ValueError(f"{name}: use the framework's device graphics driver")
|
||||
checked = 0
|
||||
for path in sorted(root.rglob("*")):
|
||||
if not path.is_file() or path.is_symlink():
|
||||
|
||||
Reference in new issue
Block a user