Merge pull request #325247 from OPNA2608/fix/lomiri/revert-glib-workarounds

lomiri.*: Revert GLib workarounds
This commit is contained in:
Franz Pletz 2024-07-09 17:51:49 +02:00 committed by GitHub
commit c7ee75329f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 14 additions and 10 deletions

View File

@ -38,7 +38,7 @@ in {
morph-browser
qtmir # not having its desktop file for Xwayland available causes any X11 application to crash the session
suru-icon-theme
# telephony-service # currently broken: https://github.com/NixOS/nixpkgs/pull/314043
telephony-service
]);
variables = {
# To override the keyboard layouts in Lomiri
@ -87,7 +87,7 @@ in {
] ++ lib.optionals (config.hardware.pulseaudio.enable || config.services.pipewire.pulse.enable) [
ayatana-indicator-sound
]) ++ (with pkgs.lomiri; [
# telephony-service # currently broken: https://github.com/NixOS/nixpkgs/pull/314043
telephony-service
] ++ lib.optionals config.networking.networkmanager.enable [
lomiri-indicator-network
]);

View File

@ -35,7 +35,7 @@ in {
ayatana-indicator-sound
] ++ (with pkgs.lomiri; [
lomiri-indicator-network
# telephony-service # currently broken: https://github.com/NixOS/nixpkgs/pull/314043
telephony-service
]);
};

View File

@ -208,7 +208,7 @@ stdenv.mkDerivation (finalAttrs: {
lomiri-settings-components
lomiri-thumbnailer
qtmultimedia
# telephony-service # currently broken: https://github.com/NixOS/nixpkgs/pull/314043
telephony-service
];
nativeCheckInputs = [

View File

@ -101,8 +101,7 @@ stdenv.mkDerivation (finalAttrs: {
(lib.cmakeBool "BUILD_DOC" true) # lacks QML docs, needs qdoc: https://github.com/NixOS/nixpkgs/pull/245379
];
# Currently broken: https://github.com/NixOS/nixpkgs/pull/314043
doCheck = false;
doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
postInstall = ''
substituteInPlace $out/etc/dbus-1/services/com.lomiri.connectivity1.service \

View File

@ -52,10 +52,17 @@ stdenv.mkDerivation (finalAttrs: {
patches = [
# Remove when https://gitlab.com/ubports/development/core/telephony-service/-/merge_requests/90 merged & in release
(fetchpatch {
name = "0001-telephony-service-CMakeLists-Make-tests-optional.patch";
url = "https://gitlab.com/ubports/development/core/telephony-service/-/commit/9a8297bcf9b34d77ffdae3dfe4ad2636022976fb.patch";
name = "0001-lomiri-telephony-service-CMakeLists-Make-tests-optional.patch";
url = "https://gitlab.com/ubports/development/core/lomiri-telephony-service/-/commit/9a8297bcf9b34d77ffdae3dfe4ad2636022976fb.patch";
hash = "sha256-Za4ZGKnw9iz2RP1LzLhKrEJ1vLUufWk8J07LmWDW40E=";
})
# Remove when version > 0.5.3
(fetchpatch {
name = "0002-lomiri-telephony-service-Fix-gettext-funcs-in-wrong-namespace.patch";
url = "https://gitlab.com/ubports/development/core/lomiri-telephony-service/-/commit/18e0ba8e025b097eef1217d97d98ef4a4940fe84.patch";
hash = "sha256-vOIy+B/OQeccsVn4pXsnr8LYyEapqbebW1I6dBg5u2c=";
})
];
postPatch = ''
@ -195,7 +202,5 @@ stdenv.mkDerivation (finalAttrs: {
license = licenses.gpl3Only;
maintainers = teams.lomiri.members;
platforms = platforms.linux;
# Completely broken until https://github.com/NixOS/nixpkgs/pull/314043 is merged
broken = true;
};
})