File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11linglong
22.linglong-target
3- * .log
3+ * .log
4+ vscode-linglong
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ set -x
3+ set -e
4+ t=$( date +%s)
5+ sed -i " s#version: 23.2.0.*#version: 23.2.0.$t #" linglong.yaml
6+ sed -i " s#version: 23.2.0.*#version: 23.2.0.$t #" arm64/linglong.yaml
7+ sed -i " s#version: 23.2.0.*#version: 23.2.0.$t #" loong64/linglong.yaml
8+ rm -rf vscode-linglong || true
9+ git clone https://github.com/myml/vscode-linglong.git --depth 1
10+ cd vscode-linglong
11+ go run ./src/tools ../linglong.yaml
12+ go run ./src/tools ../arm64/linglong.yaml
13+ go run ./src/tools ../loong64/linglong.yaml
Original file line number Diff line number Diff line change @@ -50,8 +50,6 @@ while IFS= read -r deb_file; do
5050 fi
5151 # 记录到 packages.list
5252 echo " Package: $pkg " >> " $PREFIX /packages.list"
53- # 换行
54- echo " "
5553 # 缓存解压后的data.tar文件,便于在下次使用时,加快安装速度
5654 deb_sha=$( sha256sum " $deb_file " | awk ' {print $1}' )
5755 data_cache=" $cache_dir /install_dep_$deb_sha "
@@ -69,6 +67,11 @@ while IFS= read -r deb_file; do
6967 ;;
7068 esac
7169 mv " $data_cache_tmp " " $data_cache "
70+ # 换行
71+ echo " "
72+ else
73+ # 使用缓存
74+ echo " cached"
7275 fi
7376 # 解压data.tar文件到输出目录
7477 mkdir " $data_list_dir "
Original file line number Diff line number Diff line change 11Package: qemu-user
22Package: qemu-user-static
3- Package: qtchooser
3+ Package: qtchooser
4+ Package: libqt5webkit5
Load Diff Large diffs are not rendered by default.
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -12,3 +12,6 @@ for triplet in $tripletList; do
1212done
1313# https://doc.qt.io/qt-5/qtqml-syntax-imports.html#qml-import-path
1414export QML2_IMPORT_PATH=$QML_IMPORT_PATH
15+ # 设置环境变量,方便在终端中使用qt工具
16+ export PATH=$PATH :/runtime/lib/qt5/bin
17+ export CMAKE_PREFIX_PATH=/usr:/runtime:$PREFIX
Original file line number Diff line number Diff line change 11#! /bin/bash
2- poolURL=http://10.20.64.92:8080/testing_full_20241113/pool
2+ set -e
3+ poolURL=http://10.20.64.92:8080/testing_daily/pool
34codename=main
45sources=(
56 qtbase-opensource-src
@@ -15,6 +16,7 @@ sources=(
1516 qtx11extras-opensource-src
1617 qtwayland-opensource-src
1718 qttranslations-opensource-src
19+ qtlocation-opensource-src
1820)
1921sources+=(
2022 dtkcommon
@@ -26,6 +28,22 @@ sources+=(
2628 qt5integration
2729 qt5platform-plugins
2830 dde-qt5platform-plugins
31+ fcitx5-qt
32+ )
33+
34+ # 兼容旧版本runtime
35+ sources+=(
36+ icu
37+ xcb-util
38+ libpciaccess
39+ gsettings-qt
40+ qtwebchannel-opensource-src
41+ )
42+
43+ # 解决功能问题
44+ sources+=(
45+ # 解决 ctrl+shift+? 快捷键对话框
46+ deepin-shortcut-viewer
2947)
3048
3149cat linglong.yaml | grep -B 1000 ' linglong:gen_deb_source sources' > linglong.yaml.bk
@@ -34,8 +52,12 @@ cat loong64/linglong.yaml | grep -B 1000 'linglong:gen_deb_source sources' >loon
3452
3553for src in " ${sources[@]} " ; do
3654 echo " Source $src " >&2
37- out=$( curl -q " $poolURL /$codename /${src: 0: 1} /$src /" 2> /dev/null | grep deb | awk -F' _' ' {print $1}' | awk -F' "' ' {print $2}' | uniq)
38- for pkg in $( echo " $out " | grep -v ' \-examples-dbgsym$' | grep -v ' \-doc$' | grep -v ' \-examples$' | grep -v ' \-doc\-' ) ; do
55+ dir=${src: 0: 1}
56+ if [[ $src == lib* ]]; then
57+ dir=${src: 0: 4}
58+ fi
59+ out=$( curl -q -f " $poolURL /$codename /$dir /$src /" 2> /dev/null | grep deb | awk -F' _' ' {print $1}' | awk -F' "' ' {print $2}' | uniq)
60+ for pkg in $( echo " $out " | grep -v ' \-dbgsym$' | grep -v ' \-doc$' | grep -v ' \-examples$' | grep -v ' \-doc\-' ) ; do
3961 echo " Binary $pkg " >&2
4062 echo " # linglong:gen_deb_source install $pkg " >> linglong.yaml.bk
4163 echo " # linglong:gen_deb_source install $pkg " >> arm64/linglong.yaml.bk
You can’t perform that action at this time.
0 commit comments