From 99bf06ed17055251c62b211f1aa92a7c8abac0d0 Mon Sep 17 00:00:00 2001 From: rong wang Date: Fri, 13 Dec 2024 16:34:54 +0800 Subject: [PATCH] chore: Adapt to the new version of linglong Adapt to the new version of linglong. Log: Adapt to the new version of linglong. Task: https://pms.uniontech.com/task-view-369975.html --- arm64/linglong.yaml | 4 ++++ linglong.yaml | 4 ++++ loong64/linglong.yaml | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/arm64/linglong.yaml b/arm64/linglong.yaml index c5c2f345..ca4c583b 100644 --- a/arm64/linglong.yaml +++ b/arm64/linglong.yaml @@ -21,6 +21,10 @@ runtime: org.deepin.runtime.dtk/23.2.0/arm64 build: | bash ./install_dep linglong/sources "$PREFIX" + # 修改服务使用玲珑启动 + sed -i "s|Exec=/usr/bin/deepin-draw|Exec=deepin-draw|g" com.deepin.Draw.service + sed -i "s|Exec=/usr/bin/deepin-picker -i|Exec=deepin-picker -i|g" ${PREFIX}/share/dbus-1/services/com.deepin.Picker.service + VERSION=$(head -1 debian/changelog | awk -F'[()]' '{print $2}') cmake -B build \ -DCMAKE_BUILD_TYPE=Release \ diff --git a/linglong.yaml b/linglong.yaml index 30403285..26539803 100644 --- a/linglong.yaml +++ b/linglong.yaml @@ -21,6 +21,10 @@ runtime: org.deepin.runtime.dtk/23.2.0/x86_64 build: | bash ./install_dep linglong/sources "$PREFIX" + # 修改服务使用玲珑启动 + sed -i "s|Exec=/usr/bin/deepin-draw|Exec=deepin-draw|g" com.deepin.Draw.service + sed -i "s|Exec=/usr/bin/deepin-picker -i|Exec=deepin-picker -i|g" ${PREFIX}/share/dbus-1/services/com.deepin.Picker.service + VERSION=$(head -1 debian/changelog | awk -F'[()]' '{print $2}') cmake -B build \ -DCMAKE_BUILD_TYPE=Release \ diff --git a/loong64/linglong.yaml b/loong64/linglong.yaml index 73a16eb8..96bab483 100755 --- a/loong64/linglong.yaml +++ b/loong64/linglong.yaml @@ -21,6 +21,10 @@ runtime: org.deepin.runtime.dtk/23.2.0/loong64 build: | bash ./install_dep linglong/sources "$PREFIX" + # 修改服务使用玲珑启动 + sed -i "s|Exec=/usr/bin/deepin-draw|Exec=deepin-draw|g" com.deepin.Draw.service + sed -i "s|Exec=/usr/bin/deepin-picker -i|Exec=deepin-picker -i|g" ${PREFIX}/share/dbus-1/services/com.deepin.Picker.service + VERSION=$(head -1 debian/changelog | awk -F'[()]' '{print $2}') cmake -B build \ -DCMAKE_BUILD_TYPE=Release \