mirror of
https://github.com/GXDE-OS/GXDE.git
synced 2026-08-06 11:13:56 +08:00
Compare commits
78
Commits
2025.06.30
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
96feeb840f | ||
|
|
7633dbe0fb | ||
|
|
572c5f3d13 | ||
|
|
9c74df09be | ||
|
|
61b011f9dd | ||
|
|
141a767e20 | ||
|
|
6bf8cb2c52 | ||
|
|
d877a80884 | ||
|
|
879ecb2926 | ||
|
|
ad749b551b | ||
|
|
4625c03c78 | ||
|
|
d2e6e5dde1 | ||
|
|
257ec720e1 | ||
|
|
c32e2ca563 | ||
|
|
afd0d7d71e | ||
|
|
8c0ad2bc93 | ||
|
|
98a89915e1 | ||
|
|
282c4ec982 | ||
|
|
0c23e00622 | ||
|
|
78d1775624 | ||
|
|
e96dbab83a | ||
|
|
126f1cd95e | ||
|
|
31147bb580 | ||
|
|
82a741a08e | ||
|
|
006e59e54e | ||
|
|
179a8df1ec | ||
|
|
6e9ba79203 | ||
|
|
5e9cd51a31 | ||
|
|
4ad940aeb3 | ||
|
|
d3cf1f3faa | ||
|
|
4ae19694a3 | ||
|
|
46c0155137 | ||
|
|
a1996dfc42 | ||
|
|
4669494602 | ||
|
|
998b5808b2 | ||
|
|
5c4864cd07 | ||
|
|
fcf78ddf76 | ||
|
|
2d0ed0d0ee | ||
|
|
a1d60cf87c | ||
|
|
14c042dec3 | ||
|
|
0681555067 | ||
|
|
38dbe7a12f | ||
|
|
3bb1ee694b | ||
|
|
99c5321d8b | ||
|
|
089a8c5f5f | ||
|
|
217cbfbefc | ||
|
|
c78562c22b | ||
|
|
794193f1c1 | ||
|
|
37108ffdbe | ||
|
|
852b96a25b | ||
|
|
3d732ba434 | ||
|
|
fcac6f5cc7 | ||
|
|
3f80dd73b8 | ||
|
|
55bebc8f57 | ||
|
|
e7281bb859 | ||
|
|
385e820eeb | ||
|
|
bccdaa6137 | ||
|
|
bb3939d370 | ||
|
|
98b08864f4 | ||
|
|
987b6e86a8 | ||
|
|
6e00091e9c | ||
|
|
5e0738a70c | ||
|
|
567cc0c73e | ||
|
|
fb8e916523 | ||
|
|
14790d3bb9 | ||
|
|
844a444396 | ||
|
|
9f29524cd1 | ||
|
|
17a6e18d0a | ||
|
|
db9aef305b | ||
|
|
00dd6a7556 | ||
|
|
689118ae11 | ||
|
|
da2fc47dad | ||
|
|
8972507515 | ||
|
|
578710a84f | ||
|
|
419a47e5ea | ||
|
|
c1acde871e | ||
|
|
009343ec01 | ||
|
|
7b9985be48 |
+154
@@ -0,0 +1,154 @@
|
||||
name: Building GXDE Package
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
secrets:
|
||||
PASSWD:
|
||||
required: true
|
||||
USERS:
|
||||
required: true
|
||||
HOST:
|
||||
required: true
|
||||
UPATH:
|
||||
required: true
|
||||
UPROGRAM:
|
||||
required: true
|
||||
UPORT:
|
||||
required: true
|
||||
|
||||
inputs:
|
||||
arch:
|
||||
type: string
|
||||
description: 'Rootfs Arch'
|
||||
required: true
|
||||
|
||||
rootfs-codename:
|
||||
type: string
|
||||
description: 'Rootfs Codename'
|
||||
required: true
|
||||
|
||||
rootfs-source:
|
||||
type: string
|
||||
description: 'Rootfs Source Url'
|
||||
required: true
|
||||
|
||||
gxde-codename:
|
||||
type: string
|
||||
description: 'GXDE OS Codename'
|
||||
required: true
|
||||
|
||||
gxde-codename-upload:
|
||||
type: string
|
||||
description: 'GXDE OS Codename'
|
||||
required: true
|
||||
|
||||
gxde-is-backport:
|
||||
type: boolean
|
||||
description: 'Is build with backport'
|
||||
required: false
|
||||
|
||||
gxde-cross-arch:
|
||||
type: string
|
||||
description: 'Build deb to which arch'
|
||||
required: false
|
||||
|
||||
display-name:
|
||||
required: false
|
||||
type: string
|
||||
|
||||
|
||||
|
||||
env:
|
||||
REPOSITORY: https://github.com/GXDE-OS/GXDE
|
||||
BOTTLEPATH: system-bottle
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: github.repository_owner == 'GXDE-OS'
|
||||
name: ${{ inputs.display-name || 'Build Job' }}
|
||||
runs-on: ubuntu-24.04-arm
|
||||
steps:
|
||||
- name: Clone Repository To Get Script
|
||||
run: |
|
||||
#apt update
|
||||
#apt install sudo git -y
|
||||
git clone $REPOSITORY --depth=1
|
||||
mv $(basename $REPOSITORY)/* . -v
|
||||
mv $(basename $REPOSITORY)/.* . -v | true
|
||||
|
||||
- name: Configure Base System
|
||||
run: |
|
||||
if [[ ${{ inputs.gxde-is-backport }} == true ]]; then
|
||||
isBackport=backport
|
||||
fi
|
||||
export REPO_BRANCH=${{ github.ref_name }}
|
||||
bash .github/workflows/configure-building-enviroment-base-system.sh ${{ inputs.arch }} \
|
||||
${{ inputs.rootfs-codename }} \
|
||||
$REPOSITORY \
|
||||
https://github.com/$GITHUB_REPOSITORY \
|
||||
${{ inputs.rootfs-source }} \
|
||||
${{ github.ref_name }} \
|
||||
${{ inputs.gxde-codename-upload }} \
|
||||
$isBackport
|
||||
|
||||
- name: Building ${{ GITHUB.repository }}
|
||||
run: |
|
||||
gitPath=$(basename $GITHUB_REPOSITORY)
|
||||
if [[ -f system-bottle/$gitPath/debian/control ]]; then
|
||||
env gitPath=$gitPath bash .github/workflows/run-command-in-chroot.sh \
|
||||
env GXDE_ARCH=${{ inputs.arch }} GXDE_CODENAME=${{ inputs.gxde-codename }} \
|
||||
GXDE_ARCH=${{ inputs.arch }} GXDE_CROSS_ARCH=${{ inputs.gxde-cross-arch }} GO111MODULE=off \
|
||||
DEBIAN_FRONTEND=noninteractive \
|
||||
dpkg-buildpackage -b
|
||||
else
|
||||
env gitPath=$gitPath bash .github/workflows/run-command-in-chroot.sh \
|
||||
env GXDE_ARCH=${{ inputs.arch }} GXDE_CODENAME=${{ inputs.gxde-codename }} \
|
||||
GXDE_ARCH=${{ inputs.arch }} GXDE_CROSS_ARCH=${{ inputs.gxde-cross-arch }} GO111MODULE=off \
|
||||
DEBIAN_FRONTEND=noninteractive \
|
||||
bash build-deb.sh
|
||||
fi
|
||||
cp $BOTTLEPATH/*.deb . -rv
|
||||
sudo rename 's/\.deb$/_${{ inputs.gxde-codename }}.deb/' *.deb
|
||||
|
||||
- name: Remove Debug Package
|
||||
run: |
|
||||
cd $BOTTLEPATH
|
||||
echo -e "ls -1 | grep dbgsym | grep .deb | grep -v dtk | grep -v qt | grep -v dock | grep -v gxtk\nexit 0" | sudo tee remove-deb.sh
|
||||
removeDeb=$(bash remove-deb.sh)
|
||||
sudo rm -rf $removeDeb
|
||||
echo -e "ls -1 | grep dbg_ | grep .deb | grep -v dtk | grep -v qt | grep -v dock | grep -v gxtk\nexit 0" | sudo tee remove-deb.sh
|
||||
removeDeb=$(bash remove-deb.sh)
|
||||
sudo rm -rf $removeDeb
|
||||
sudo rm -rf linux-libc-dev_*_hetao.deb
|
||||
|
||||
- name: Pack tar
|
||||
run: |
|
||||
cd $BOTTLEPATH
|
||||
sudo tar -cvf ../deb-$(date +%s).tar *.deb
|
||||
|
||||
- name: Push
|
||||
env:
|
||||
UPASSWD: ${{ secrets.PASSWD }}
|
||||
UUSERS: ${{ secrets.USERS }}
|
||||
UHOST: ${{ secrets.HOST }}
|
||||
UPATH: ${{ secrets.UPATH }}
|
||||
UPROGRAM: ${{ secrets.UPROGRAM }}
|
||||
UPORT: ${{ secrets.UPORT }}
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install sshpass -y
|
||||
mkdir -p ~/.ssh/
|
||||
ssh-keyscan -p $UPORT -H $UHOST >> ~/.ssh/known_hosts
|
||||
tarName=$(ls | grep .tar | head -n 1)
|
||||
sshpass -p "$UPASSWD" rsync -e "ssh -p $UPORT" $tarName $UUSERS@$UHOST:$UPATH
|
||||
sshpass -p "$UPASSWD" ssh $UUSERS@$UHOST -p $UPORT $UPROGRAM ${{ inputs.gxde-codename-upload }} $UPATH/$tarName > /dev/null
|
||||
|
||||
- name: Create Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.RELEASE_TOCKEN_GITHUB }}
|
||||
with:
|
||||
files: |
|
||||
*.deb
|
||||
generate_release_notes: true
|
||||
@@ -47,6 +47,11 @@ on:
|
||||
description: 'Is build with backport'
|
||||
required: false
|
||||
|
||||
gxde-cross-arch:
|
||||
type: string
|
||||
description: 'Build deb to which arch'
|
||||
required: false
|
||||
|
||||
display-name:
|
||||
required: false
|
||||
type: string
|
||||
@@ -63,19 +68,6 @@ jobs:
|
||||
name: ${{ inputs.display-name || 'Build Job' }}
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
# 由于默认的 Ubuntu 环境只有 17G 左右的剩余空间,所以我们需要先利用如下 action 对编译环境进行扩容
|
||||
- name: Maximize build space
|
||||
uses: easimon/maximize-build-space@master
|
||||
with:
|
||||
# 这个值是保留给系统的空间大小,之前设置太小,总会在安装依赖或者编译过程中报设备空间不足的错误而导致编译失败
|
||||
root-reserve-mb: 4096
|
||||
swap-size-mb: 512
|
||||
remove-dotnet: 'true'
|
||||
remove-docker-images: 'true'
|
||||
remove-codeql: 'true'
|
||||
remove-haskell: 'true'
|
||||
remove-android: 'true'
|
||||
|
||||
- name: Clone Repository To Get Script
|
||||
run: |
|
||||
#apt update
|
||||
@@ -90,21 +82,31 @@ jobs:
|
||||
isBackport=backport
|
||||
fi
|
||||
export REPO_BRANCH=${{ github.ref_name }}
|
||||
bash .github/workflows/configure-building-enviroment-base-system.sh ${{ inputs.arch }} \
|
||||
env GXDE_ARCH=${{ inputs.arch }} GXDE_CROSS_ARCH=${{ inputs.gxde-cross-arch }} \
|
||||
bash .github/workflows/configure-building-enviroment-base-system.sh ${{ inputs.arch }} \
|
||||
${{ inputs.rootfs-codename }} \
|
||||
$REPOSITORY \
|
||||
https://github.com/$GITHUB_REPOSITORY \
|
||||
${{ inputs.rootfs-source }} \
|
||||
${{ github.ref_name }} \
|
||||
${{ inputs.gxde-codename-upload }} \
|
||||
$isBackport
|
||||
|
||||
- name: Building ${{ GITHUB.repository }}
|
||||
run: |
|
||||
gitPath=$(basename $GITHUB_REPOSITORY)
|
||||
export gitPath=$(basename $GITHUB_REPOSITORY)
|
||||
if [[ -f system-bottle/$gitPath/debian/control ]]; then
|
||||
env gitPath=$gitPath bash .github/workflows/run-command-in-chroot.sh env GXDE_CODENAME=${{ inputs.gxde-codename }} GO111MODULE=off dpkg-buildpackage -b
|
||||
env gitPath=$gitPath bash .github/workflows/run-command-in-chroot.sh \
|
||||
env GXDE_ARCH=${{ inputs.arch }} GXDE_CODENAME=${{ inputs.gxde-codename }} \
|
||||
GXDE_ARCH=${{ inputs.arch }} GXDE_CROSS_ARCH=${{ inputs.gxde-cross-arch }} GO111MODULE=off \
|
||||
DEBIAN_FRONTEND=noninteractive \
|
||||
dpkg-buildpackage -b
|
||||
else
|
||||
env gitPath=$gitPath bash .github/workflows/run-command-in-chroot.sh env GXDE_CODENAME=${{ inputs.gxde-codename }} GO111MODULE=off bash build-deb.sh
|
||||
env gitPath=$gitPath bash .github/workflows/run-command-in-chroot.sh \
|
||||
env GXDE_ARCH=${{ inputs.arch }} GXDE_CODENAME=${{ inputs.gxde-codename }} \
|
||||
GXDE_ARCH=${{ inputs.arch }} GXDE_CROSS_ARCH=${{ inputs.gxde-cross-arch }} GO111MODULE=off \
|
||||
DEBIAN_FRONTEND=noninteractive \
|
||||
bash build-deb.sh
|
||||
fi
|
||||
cp $BOTTLEPATH/*.deb . -rv
|
||||
sudo rename 's/\.deb$/_${{ inputs.gxde-codename }}.deb/' *.deb
|
||||
@@ -118,6 +120,7 @@ jobs:
|
||||
echo -e "ls -1 | grep dbg_ | grep .deb | grep -v dtk | grep -v qt | grep -v dock | grep -v gxtk\nexit 0" | sudo tee remove-deb.sh
|
||||
removeDeb=$(bash remove-deb.sh)
|
||||
sudo rm -rf $removeDeb
|
||||
sudo rm -rf linux-libc-dev_*_hetao.deb
|
||||
|
||||
- name: Pack tar
|
||||
run: |
|
||||
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
name: Building GXDE Testing Package
|
||||
run-name: Building ${{ GITHUB.REPOSITORY }}
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
secrets:
|
||||
PASSWD:
|
||||
required: true
|
||||
USERS:
|
||||
required: true
|
||||
HOST:
|
||||
required: true
|
||||
UPATH:
|
||||
required: true
|
||||
UPROGRAM:
|
||||
required: true
|
||||
UPORT:
|
||||
required: true
|
||||
|
||||
env:
|
||||
REPOSITORY: https://github.com/GXDE-OS/GXDE
|
||||
BOTTLEPATH: system-bottle
|
||||
|
||||
jobs:
|
||||
call-zhuangzhuang:
|
||||
uses: GXDE-OS/GXDE/.github/workflows/building-deb-zhuangzhuang-cross-host.yml@master
|
||||
secrets: inherit
|
||||
|
||||
call-hetao:
|
||||
uses: GXDE-OS/GXDE/.github/workflows/building-deb-hetao-cross-host.yml@master
|
||||
secrets: inherit
|
||||
Executable
+31
@@ -0,0 +1,31 @@
|
||||
name: Building GXDE Testing Package
|
||||
run-name: Building ${{ GITHUB.REPOSITORY }}
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
secrets:
|
||||
PASSWD:
|
||||
required: true
|
||||
USERS:
|
||||
required: true
|
||||
HOST:
|
||||
required: true
|
||||
UPATH:
|
||||
required: true
|
||||
UPROGRAM:
|
||||
required: true
|
||||
UPORT:
|
||||
required: true
|
||||
|
||||
env:
|
||||
REPOSITORY: https://github.com/GXDE-OS/GXDE
|
||||
BOTTLEPATH: system-bottle
|
||||
|
||||
jobs:
|
||||
call-zhuangzhuang:
|
||||
uses: GXDE-OS/GXDE/.github/workflows/building-deb-zhuangzhuang-cross.yml@master
|
||||
secrets: inherit
|
||||
|
||||
call-hetao:
|
||||
uses: GXDE-OS/GXDE/.github/workflows/building-deb-hetao-cross.yml@master
|
||||
secrets: inherit
|
||||
+71
@@ -0,0 +1,71 @@
|
||||
name: Building GXDE Package (hetao)
|
||||
run-name: Building ${{ GITHUB.REPOSITORY }}
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
secrets:
|
||||
PASSWD:
|
||||
required: true
|
||||
USERS:
|
||||
required: true
|
||||
HOST:
|
||||
required: true
|
||||
UPATH:
|
||||
required: true
|
||||
UPROGRAM:
|
||||
required: true
|
||||
UPORT:
|
||||
required: true
|
||||
|
||||
env:
|
||||
REPOSITORY: https://github.com/GXDE-OS/GXDE
|
||||
BOTTLEPATH: system-bottle
|
||||
|
||||
jobs:
|
||||
call-amd64-hetao:
|
||||
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master
|
||||
secrets: inherit
|
||||
with:
|
||||
display-name: amd64-hetao
|
||||
arch: amd64
|
||||
rootfs-codename: crimson
|
||||
rootfs-source: https://mirrors.kernel.org/deepin/beige/
|
||||
gxde-codename: hetao
|
||||
gxde-codename-upload: hetao
|
||||
gxde-cross-arch: amd64
|
||||
|
||||
call-arm64-hetao:
|
||||
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master
|
||||
secrets: inherit
|
||||
with:
|
||||
display-name: arm64-hetao
|
||||
arch: arm64
|
||||
rootfs-codename: crimson
|
||||
rootfs-source: https://mirrors.kernel.org/deepin/beige/
|
||||
gxde-codename: hetao
|
||||
gxde-codename-upload: hetao
|
||||
gxde-cross-arch: arm64
|
||||
|
||||
call-loong64-hetao:
|
||||
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master
|
||||
secrets: inherit
|
||||
with:
|
||||
display-name: loong64-hetao
|
||||
arch: amd64
|
||||
rootfs-codename: crimson
|
||||
rootfs-source: https://mirrors.kernel.org/deepin/beige/
|
||||
gxde-codename: hetao
|
||||
gxde-codename-upload: hetao
|
||||
gxde-cross-arch: loong64
|
||||
|
||||
call-riscv64-hetao:
|
||||
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master
|
||||
secrets: inherit
|
||||
with:
|
||||
display-name: riscv64-hetao
|
||||
arch: amd64
|
||||
rootfs-codename: crimson
|
||||
rootfs-source: https://mirrors.kernel.org/deepin/beige/
|
||||
gxde-codename: hetao
|
||||
gxde-codename-upload: hetao
|
||||
gxde-cross-arch: riscv64
|
||||
+71
@@ -0,0 +1,71 @@
|
||||
name: Building GXDE Package (hetao)
|
||||
run-name: Building ${{ GITHUB.REPOSITORY }}
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
secrets:
|
||||
PASSWD:
|
||||
required: true
|
||||
USERS:
|
||||
required: true
|
||||
HOST:
|
||||
required: true
|
||||
UPATH:
|
||||
required: true
|
||||
UPROGRAM:
|
||||
required: true
|
||||
UPORT:
|
||||
required: true
|
||||
|
||||
env:
|
||||
REPOSITORY: https://github.com/GXDE-OS/GXDE
|
||||
BOTTLEPATH: system-bottle
|
||||
|
||||
jobs:
|
||||
call-amd64-hetao:
|
||||
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master
|
||||
secrets: inherit
|
||||
with:
|
||||
display-name: amd64-hetao
|
||||
arch: amd64
|
||||
rootfs-codename: crimson
|
||||
rootfs-source: https://mirrors.kernel.org/deepin/beige/
|
||||
gxde-codename: hetao
|
||||
gxde-codename-upload: hetao
|
||||
gxde-cross-arch: amd64
|
||||
|
||||
call-arm64-hetao:
|
||||
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master
|
||||
secrets: inherit
|
||||
with:
|
||||
display-name: arm64-hetao
|
||||
arch: amd64
|
||||
rootfs-codename: crimson
|
||||
rootfs-source: https://mirrors.kernel.org/deepin/beige/
|
||||
gxde-codename: hetao
|
||||
gxde-codename-upload: hetao
|
||||
gxde-cross-arch: arm64
|
||||
|
||||
call-loong64-hetao:
|
||||
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master
|
||||
secrets: inherit
|
||||
with:
|
||||
display-name: loong64-hetao
|
||||
arch: amd64
|
||||
rootfs-codename: crimson
|
||||
rootfs-source: https://mirrors.kernel.org/deepin/beige/
|
||||
gxde-codename: hetao
|
||||
gxde-codename-upload: hetao
|
||||
gxde-cross-arch: loong64
|
||||
|
||||
call-riscv64-hetao:
|
||||
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master
|
||||
secrets: inherit
|
||||
with:
|
||||
display-name: riscv64-hetao
|
||||
arch: amd64
|
||||
rootfs-codename: crimson
|
||||
rootfs-source: https://mirrors.kernel.org/deepin/beige/
|
||||
gxde-codename: hetao
|
||||
gxde-codename-upload: hetao
|
||||
gxde-cross-arch: riscv64
|
||||
@@ -34,7 +34,7 @@ jobs:
|
||||
gxde-codename-upload: hetao
|
||||
|
||||
call-arm64-hetao:
|
||||
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master
|
||||
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base-arm64.yml@master
|
||||
secrets: inherit
|
||||
with:
|
||||
display-name: arm64-hetao
|
||||
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
name: Building GXDE Package (meimei)
|
||||
run-name: Building ${{ GITHUB.REPOSITORY }}
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
secrets:
|
||||
PASSWD:
|
||||
required: true
|
||||
USERS:
|
||||
required: true
|
||||
HOST:
|
||||
required: true
|
||||
UPATH:
|
||||
required: true
|
||||
UPROGRAM:
|
||||
required: true
|
||||
UPORT:
|
||||
required: true
|
||||
|
||||
env:
|
||||
REPOSITORY: https://github.com/GXDE-OS/GXDE
|
||||
BOTTLEPATH: system-bottle
|
||||
|
||||
jobs:
|
||||
call-loong64-meimei:
|
||||
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master
|
||||
secrets: inherit
|
||||
with:
|
||||
display-name: loong64-meimei
|
||||
arch: amd64
|
||||
rootfs-codename: trixie
|
||||
rootfs-source: https://deb.debian.org/debian/
|
||||
gxde-codename: meimei
|
||||
gxde-codename-upload: meimei
|
||||
gxde-cross-arch: loong64
|
||||
@@ -28,7 +28,7 @@ jobs:
|
||||
with:
|
||||
display-name: loong64-meimei
|
||||
arch: loong64
|
||||
rootfs-codename: loongnix
|
||||
rootfs-source: https://pkg.loongnix.cn/loongnix/25
|
||||
rootfs-codename: trixie
|
||||
rootfs-source: http://loong13.debian.net/debian-loong64/
|
||||
gxde-codename: meimei
|
||||
gxde-codename-upload: meimei
|
||||
|
||||
@@ -21,7 +21,10 @@ env:
|
||||
REPOSITORY: https://github.com/GXDE-OS/GXDE
|
||||
BOTTLEPATH: system-bottle
|
||||
|
||||
jobs:
|
||||
call-zhuangzhuang:
|
||||
uses: GXDE-OS/GXDE/.github/workflows/building-deb-zhuangzhuang.yml@master
|
||||
secrets: inherit
|
||||
jobs:
|
||||
empty:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Empty
|
||||
run: |
|
||||
exit
|
||||
|
||||
+72
@@ -0,0 +1,72 @@
|
||||
name: Building GXDE Testing Package (tianlu)
|
||||
run-name: Building ${{ GITHUB.REPOSITORY }}
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
secrets:
|
||||
PASSWD:
|
||||
required: true
|
||||
USERS:
|
||||
required: true
|
||||
HOST:
|
||||
required: true
|
||||
UPATH:
|
||||
required: true
|
||||
UPROGRAM:
|
||||
required: true
|
||||
UPORT:
|
||||
required: true
|
||||
|
||||
env:
|
||||
REPOSITORY: https://github.com/GXDE-OS/GXDE
|
||||
BOTTLEPATH: system-bottle
|
||||
|
||||
jobs:
|
||||
call-i386-tianlu:
|
||||
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master
|
||||
secrets: inherit
|
||||
with:
|
||||
display-name: i386-tianlu
|
||||
arch: i386
|
||||
rootfs-codename: bookworm
|
||||
rootfs-source: https://deb.debian.org/debian/
|
||||
gxde-codename: bixie
|
||||
gxde-codename-upload: tianlu
|
||||
gxde-cross-arch: i386
|
||||
|
||||
|
||||
call-amd64-tianlu:
|
||||
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master
|
||||
secrets: inherit
|
||||
with:
|
||||
display-name: amd64-tianlu
|
||||
arch: amd64
|
||||
rootfs-codename: bookworm
|
||||
rootfs-source: https://deb.debian.org/debian/
|
||||
gxde-codename: bixie
|
||||
gxde-codename-upload: tianlu
|
||||
gxde-cross-arch: amd64
|
||||
|
||||
call-arm64-tianlu:
|
||||
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master
|
||||
secrets: inherit
|
||||
with:
|
||||
display-name: arm64-tianlu
|
||||
arch: amd64
|
||||
rootfs-codename: bookworm
|
||||
rootfs-source: https://deb.debian.org/debian/
|
||||
gxde-codename: bixie
|
||||
gxde-codename-upload: tianlu
|
||||
gxde-cross-arch: arm64
|
||||
|
||||
call-mips64el-tianlu:
|
||||
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master
|
||||
secrets: inherit
|
||||
with:
|
||||
display-name: mips64el-tianlu
|
||||
arch: amd64
|
||||
rootfs-codename: bookworm
|
||||
rootfs-source: https://deb.debian.org/debian/
|
||||
gxde-codename: bixie
|
||||
gxde-codename-upload: tianlu
|
||||
gxde-cross-arch: mips64el
|
||||
@@ -45,7 +45,7 @@ jobs:
|
||||
gxde-codename-upload: tianlu
|
||||
|
||||
call-arm64-tianlu:
|
||||
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master
|
||||
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base-arm64.yml@master
|
||||
secrets: inherit
|
||||
with:
|
||||
display-name: arm64-tianlu
|
||||
|
||||
@@ -0,0 +1,83 @@
|
||||
name: Building GXDE Testing Package (zhuangzhuang)
|
||||
run-name: Building ${{ GITHUB.REPOSITORY }}
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
secrets:
|
||||
PASSWD:
|
||||
required: true
|
||||
USERS:
|
||||
required: true
|
||||
HOST:
|
||||
required: true
|
||||
UPATH:
|
||||
required: true
|
||||
UPROGRAM:
|
||||
required: true
|
||||
UPORT:
|
||||
required: true
|
||||
|
||||
env:
|
||||
REPOSITORY: https://github.com/GXDE-OS/GXDE
|
||||
BOTTLEPATH: system-bottle
|
||||
|
||||
jobs:
|
||||
call-i386-zhuangzhuang:
|
||||
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master
|
||||
secrets: inherit
|
||||
with:
|
||||
display-name: i386-zhuangzhuang
|
||||
arch: i386
|
||||
rootfs-codename: trixie
|
||||
rootfs-source: https://deb.debian.org/debian/
|
||||
gxde-codename: lizhi
|
||||
gxde-codename-upload: zhuangzhuang
|
||||
gxde-cross-arch: i386
|
||||
|
||||
call-amd64-zhuangzhuang:
|
||||
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master
|
||||
secrets: inherit
|
||||
with:
|
||||
display-name: amd64-zhuangzhuang
|
||||
arch: amd64
|
||||
rootfs-codename: trixie
|
||||
rootfs-source: https://deb.debian.org/debian/
|
||||
gxde-codename: lizhi
|
||||
gxde-codename-upload: zhuangzhuang
|
||||
gxde-cross-arch: amd64
|
||||
|
||||
call-arm64-zhuangzhuang:
|
||||
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master
|
||||
secrets: inherit
|
||||
with:
|
||||
display-name: arm64-zhuangzhuang
|
||||
arch: arm64
|
||||
rootfs-codename: trixie
|
||||
rootfs-source: https://deb.debian.org/debian/
|
||||
gxde-codename: lizhi
|
||||
gxde-codename-upload: zhuangzhuang
|
||||
gxde-cross-arch: arm64
|
||||
|
||||
call-riscv64-zhuangzhuang:
|
||||
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master
|
||||
secrets: inherit
|
||||
with:
|
||||
display-name: riscv64-zhuangzhuang
|
||||
arch: amd64
|
||||
rootfs-codename: trixie
|
||||
rootfs-source: https://deb.debian.org/debian/
|
||||
gxde-codename: lizhi
|
||||
gxde-codename-upload: zhuangzhuang
|
||||
gxde-cross-arch: riscv64
|
||||
|
||||
call-loong64-zhuangzhuang:
|
||||
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master
|
||||
secrets: inherit
|
||||
with:
|
||||
display-name: loong64-zhuangzhuang
|
||||
arch: amd64
|
||||
rootfs-codename: trixie
|
||||
rootfs-source: https://deb.debian.org/debian/
|
||||
gxde-codename: lizhi
|
||||
gxde-codename-upload: zhuangzhuang
|
||||
gxde-cross-arch: loong64
|
||||
+83
@@ -0,0 +1,83 @@
|
||||
name: Building GXDE Testing Package (zhuangzhuang)
|
||||
run-name: Building ${{ GITHUB.REPOSITORY }}
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
secrets:
|
||||
PASSWD:
|
||||
required: true
|
||||
USERS:
|
||||
required: true
|
||||
HOST:
|
||||
required: true
|
||||
UPATH:
|
||||
required: true
|
||||
UPROGRAM:
|
||||
required: true
|
||||
UPORT:
|
||||
required: true
|
||||
|
||||
env:
|
||||
REPOSITORY: https://github.com/GXDE-OS/GXDE
|
||||
BOTTLEPATH: system-bottle
|
||||
|
||||
jobs:
|
||||
call-i386-zhuangzhuang:
|
||||
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master
|
||||
secrets: inherit
|
||||
with:
|
||||
display-name: i386-zhuangzhuang
|
||||
arch: i386
|
||||
rootfs-codename: trixie
|
||||
rootfs-source: https://deb.debian.org/debian/
|
||||
gxde-codename: lizhi
|
||||
gxde-codename-upload: zhuangzhuang
|
||||
gxde-cross-arch: i386
|
||||
|
||||
call-amd64-zhuangzhuang:
|
||||
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master
|
||||
secrets: inherit
|
||||
with:
|
||||
display-name: amd64-zhuangzhuang
|
||||
arch: amd64
|
||||
rootfs-codename: trixie
|
||||
rootfs-source: https://deb.debian.org/debian/
|
||||
gxde-codename: lizhi
|
||||
gxde-codename-upload: zhuangzhuang
|
||||
gxde-cross-arch: amd64
|
||||
|
||||
call-arm64-zhuangzhuang:
|
||||
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master
|
||||
secrets: inherit
|
||||
with:
|
||||
display-name: arm64-zhuangzhuang
|
||||
arch: amd64
|
||||
rootfs-codename: trixie
|
||||
rootfs-source: https://deb.debian.org/debian/
|
||||
gxde-codename: lizhi
|
||||
gxde-codename-upload: zhuangzhuang
|
||||
gxde-cross-arch: arm64
|
||||
|
||||
call-riscv64-zhuangzhuang:
|
||||
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master
|
||||
secrets: inherit
|
||||
with:
|
||||
display-name: riscv64-zhuangzhuang
|
||||
arch: amd64
|
||||
rootfs-codename: trixie
|
||||
rootfs-source: https://deb.debian.org/debian/
|
||||
gxde-codename: lizhi
|
||||
gxde-codename-upload: zhuangzhuang
|
||||
gxde-cross-arch: riscv64
|
||||
|
||||
call-loong64-zhuangzhuang:
|
||||
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master
|
||||
secrets: inherit
|
||||
with:
|
||||
display-name: loong64-zhuangzhuang
|
||||
arch: amd64
|
||||
rootfs-codename: trixie
|
||||
rootfs-source: https://deb.debian.org/debian/
|
||||
gxde-codename: lizhi
|
||||
gxde-codename-upload: zhuangzhuang
|
||||
gxde-cross-arch: loong64
|
||||
@@ -45,7 +45,7 @@ jobs:
|
||||
gxde-codename-upload: zhuangzhuang
|
||||
|
||||
call-arm64-zhuangzhuang:
|
||||
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master
|
||||
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base-arm64.yml@master
|
||||
secrets: inherit
|
||||
with:
|
||||
display-name: arm64-zhuangzhuang
|
||||
@@ -55,8 +55,6 @@ jobs:
|
||||
gxde-codename: lizhi
|
||||
gxde-codename-upload: zhuangzhuang
|
||||
|
||||
|
||||
|
||||
call-riscv64-zhuangzhuang:
|
||||
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master
|
||||
secrets: inherit
|
||||
@@ -67,3 +65,14 @@ jobs:
|
||||
rootfs-source: https://deb.debian.org/debian/
|
||||
gxde-codename: lizhi
|
||||
gxde-codename-upload: zhuangzhuang
|
||||
|
||||
call-loong64-zhuangzhuang:
|
||||
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master
|
||||
secrets: inherit
|
||||
with:
|
||||
display-name: loong64-zhuangzhuang
|
||||
arch: loong64
|
||||
rootfs-codename: trixie
|
||||
rootfs-source: http://loong13.debian.net/debian-loong64/
|
||||
gxde-codename: lizhi
|
||||
gxde-codename-upload: zhuangzhuang
|
||||
|
||||
@@ -30,27 +30,3 @@ jobs:
|
||||
uses: GXDE-OS/GXDE/.github/workflows/building-deb-hetao.yml@master
|
||||
secrets: inherit
|
||||
|
||||
call-tianlu:
|
||||
uses: GXDE-OS/GXDE/.github/workflows/building-deb-tianlu.yml@master
|
||||
secrets: inherit
|
||||
|
||||
UploadOBS:
|
||||
if: github.repository_owner == 'GXDE-OS'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Get REPOSITORY Name
|
||||
run: |
|
||||
echo "REPO_NAME=$(echo "$GITHUB_REPOSITORY" | cut -d'/' -f2)" >> $GITHUB_ENV
|
||||
REPO_NAME=$(echo "$GITHUB_REPOSITORY" | cut -d'/' -f2)
|
||||
mkdir /home/runner/work/$REPO_NAME/$REPO_NAME/debian-deb-output
|
||||
|
||||
- name: Upload to OBS
|
||||
uses: LingmoOS/action-upload-to-obs@0.0.4
|
||||
with:
|
||||
remove-old-sources: true
|
||||
obs-package-name: ${{ env.REPO_NAME }}
|
||||
obs-project-name: 'home:gfdgd-xi'
|
||||
obs-user-name: ${{ secrets.OBS_USERNAME }}
|
||||
obs-password: ${{ secrets.OBS_PASSWORD }}
|
||||
obs-instance-url: 'https://api.opensuse.org'
|
||||
local-package-dir: './debian-deb-output'
|
||||
@@ -16,7 +16,7 @@ function useDebianPort() {
|
||||
sudo cp /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg -v
|
||||
}
|
||||
function useLoongnix() {
|
||||
sudo cp .github/workflows/loongnix /usr/share/debootstrap/scripts/ -v
|
||||
sudo cp .github/workflows/loongnix-stable /usr/share/debootstrap/scripts/ -v
|
||||
}
|
||||
function useDeepin25() {
|
||||
sudo cp .github/workflows/crimson /usr/share/debootstrap/scripts/ -v
|
||||
@@ -29,7 +29,7 @@ bottlePath=./system-bottle
|
||||
if [[ $2 == "beige" ]]; then
|
||||
getd23debootstrap
|
||||
else
|
||||
if [[ $1 == "loong64" ]] && [[ $2 != "loongnix" ]]; then
|
||||
if [[ $1 == "loong64" ]] && [[ $2 != "loongnix-stable" ]]; then
|
||||
useDebianPort
|
||||
else
|
||||
useLoongnix
|
||||
@@ -56,12 +56,14 @@ if [[ $? != 0 ]] && [[ $1 == loong64 ]] && [[ $2 != "loongnix" ]]; then
|
||||
sudo mv squashfs-root $bottlePath -v
|
||||
fi
|
||||
sudo bash .github/workflows/pardus-chroot $bottlePath
|
||||
if [[ $7 == "backport" ]]; then
|
||||
if [[ $8 == "backport" ]]; then
|
||||
sudo cp -rv .github/workflows/debian-backports.list $bottlePath/etc/apt/sources.list.d
|
||||
sudo mkdir -p $bottlePath/etc/apt/preferences.d/
|
||||
sudo cp -rv .github/workflows/90bookworm-backports $bottlePath/etc/apt/preferences.d/
|
||||
echo "deb [trusted=true] https://repo.gxde.org/gxde-os/tianlu-bpo ./" >> $bottlePath/etc/apt/sources.list.d/gxde-os-bpo.list
|
||||
echo "deb [trusted=true] https://repo1.gxde.top/gxde-os/tianlu-bpo ./" >> $bottlePath/etc/apt/sources.list.d/gxde-os-bpo.list
|
||||
fi
|
||||
sudo mkdir -p $bottlePath/sources-list
|
||||
sudo cp -v .github/workflows/sources-*.list $bottlePath/sources-list
|
||||
# 配置 git
|
||||
#echo "deb [trusted=true] https://deb.debian.org/debian-ports/ unreleased main" | sudo tee $bottlePath/etc/apt/sources.list.d/debian-unreleased.list
|
||||
sudo chroot $bottlePath apt update
|
||||
@@ -72,19 +74,6 @@ sudo chroot $bottlePath git clone $4 -b $6 #--depth=1
|
||||
sudo mv $bottlePath/$(basename $3)/.github/workflows/* $bottlePath/$(basename $4)/.github/workflows -v
|
||||
# 修改版本号
|
||||
#sudo sed -i "s/) UNRELEASED; urgency=medium/~$2) UNRELEASED; urgency=medium/g" $bottlePath/deep-wine-runner-qemu-system/debian/changelog
|
||||
case $2 in
|
||||
"trixie")
|
||||
env gitPath=$(basename $4) bash .github/workflows/run-command-in-chroot.sh .github/workflows/configure-building-enviroment.sh zhuangzhuang
|
||||
;;
|
||||
"loongnix")
|
||||
env gitPath=$(basename $4) bash .github/workflows/run-command-in-chroot.sh .github/workflows/configure-building-enviroment.sh meimei
|
||||
;;
|
||||
"crimson")
|
||||
env gitPath=$(basename $4) bash .github/workflows/run-command-in-chroot.sh .github/workflows/configure-building-enviroment.sh hetao
|
||||
;;
|
||||
*)
|
||||
env gitPath=$(basename $4) bash .github/workflows/run-command-in-chroot.sh .github/workflows/configure-building-enviroment.sh
|
||||
;;
|
||||
esac
|
||||
env gitPath=$(basename $4) bash .github/workflows/run-command-in-chroot.sh .github/workflows/configure-building-enviroment.sh $7 $GXDE_CROSS_ARCH
|
||||
|
||||
exit 0
|
||||
exit 0
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#!/bin/bash
|
||||
export DEBIAN_FRONTEND=noninteractive # 防止卡 tzdate
|
||||
GXDE_CROSS_ARCH=$2
|
||||
#mkdir -p /etc/apt/sources.list.d/
|
||||
#cp /etc/apt/sources.list /etc/apt/sources.list.d/sources.list
|
||||
#sed -i "s/deb /deb-src /g" /etc/apt/sources.list.d/sources.list
|
||||
@@ -20,19 +21,31 @@ export DEBIAN_FRONTEND=noninteractive # 防止卡 tzdate
|
||||
|
||||
|
||||
if [[ $1 == "" ]] || [[ $1 == "tianlu" ]]; then
|
||||
echo "deb [trusted=true] https://repo.gxde.org/gxde-os/tianlu ./" >> /etc/apt/sources.list.d/gxde-os.list
|
||||
echo "deb [trusted=true] https://repo.gxde.org/gxde-os/bixie ./" >> /etc/apt/sources.list.d/gxde-os.list
|
||||
echo "deb [trusted=true] https://repo1.gxde.top/gxde-os/tianlu ./" >> /etc/apt/sources.list.d/gxde-os.list
|
||||
echo "deb [trusted=true] https://repo1.gxde.top/gxde-os/bixie ./" >> /etc/apt/sources.list.d/gxde-os.list
|
||||
elif [[ $1 == "zhuangzhuang" ]];then
|
||||
echo "deb [trusted=true] https://repo.gxde.org/gxde-os/zhuangzhuang ./" >> /etc/apt/sources.list.d/gxde-os.list
|
||||
echo "deb [trusted=true] https://repo.gxde.org/gxde-os/lizhi ./" >> /etc/apt/sources.list.d/gxde-os.list
|
||||
echo "deb [trusted=true] https://repo1.gxde.top/gxde-os/zhuangzhuang ./" >> /etc/apt/sources.list.d/gxde-os.list
|
||||
echo "deb [trusted=true] https://repo1.gxde.top/gxde-os/lizhi ./" >> /etc/apt/sources.list.d/gxde-os.list
|
||||
else
|
||||
echo "deb [trusted=true] https://repo.gxde.org/gxde-os/$1 ./" >> /etc/apt/sources.list.d/gxde-os.list
|
||||
echo "deb [trusted=true] https://repo1.gxde.top/gxde-os/$1 ./" >> /etc/apt/sources.list.d/gxde-os.list
|
||||
fi
|
||||
#if [[ $(dpkg --print-architecture) == "loong64" ]]; then
|
||||
# echo "deb [trusted=true] https://deb.debian.org/debian-ports/ unreleased main" > /etc/apt/sources.list.d/debian-unreleased.list
|
||||
#fi
|
||||
apt install -f -y
|
||||
apt install debian-ports-archive-keyring debian-archive-keyring -y
|
||||
apt install debian-ports-archive-keyring debian-archive-keyring wget -y
|
||||
if [[ -f /sources-list/sources-$1.list ]]; then
|
||||
if [[ $(dpkg --print-architecture) == "riscv64" ]] || [[ $GXDE_CROSS_ARCH == "riscv64" ]]; then
|
||||
cp /sources-list/sources-$1-without-backport.list /etc/apt/sources.list.d -v
|
||||
else
|
||||
if [[ $(dpkg --print-architecture) == "loong64" ]] || [[ $GXDE_CROSS_ARCH == "loong64" ]]; then
|
||||
cp /sources-list/sources-$1-loong64.list /etc/apt/sources.list.d -v
|
||||
wget -O /etc/apt/trusted.gpg.d/debian-trixie-loong64.gpg https://loong13.debian.net/keyrings/debian-trixie-loong64.gpg
|
||||
else
|
||||
cp /sources-list/sources-$1.list /etc/apt/sources.list.d -v
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
for i in {1..8};
|
||||
do
|
||||
apt update -o Acquire::Check-Valid-Until=false -y
|
||||
@@ -41,7 +54,7 @@ do
|
||||
fi
|
||||
sleep 1
|
||||
done
|
||||
apt install dpkg-dev sudo debian-ports-archive-keyring debian-archive-keyring devscripts -y
|
||||
apt install wget curl dpkg-dev sudo debian-ports-archive-keyring debian-archive-keyring devscripts -y
|
||||
#neofetch
|
||||
#if [[ `arch` != "x86_64" ]]; then
|
||||
# apt source qemu
|
||||
@@ -59,8 +72,10 @@ apt install dpkg-dev sudo debian-ports-archive-keyring debian-archive-keyring de
|
||||
# 如果是 Debian10 就需要安装 Python3 的依赖
|
||||
#apt build-dep python3.7 -y
|
||||
# 解包 gxde-desktop-base
|
||||
|
||||
apt download gxde-desktop-base
|
||||
dpkg -x gxde-desktop-base_*.deb /
|
||||
rm gxde-desktop-base_*.deb -rfv
|
||||
if [[ -f /etc/apt/sources.list.d/debian-backports.list ]]; then
|
||||
dch --bpo ""
|
||||
sed -i "s/~bpo/-bpo/g" debian/changelog
|
||||
@@ -73,4 +88,48 @@ do
|
||||
fi
|
||||
sleep 1
|
||||
done
|
||||
# 从上游拉源代码
|
||||
# 从上游拉源代码
|
||||
./debian/rules get-orig-source
|
||||
|
||||
# 收集当前目录和上层目录的所有 .tar* 文件
|
||||
tar_files=()
|
||||
if compgen -G "./*.tar*" > /dev/null; then
|
||||
tar_files+=( ./*.tar* )
|
||||
fi
|
||||
if compgen -G "../*.tar*" > /dev/null; then
|
||||
tar_files+=( ../*.tar* )
|
||||
fi
|
||||
|
||||
# 如果找到 tar 文件,则逐个处理
|
||||
if [ ${#tar_files[@]} -gt 0 ]; then
|
||||
for archive in "${tar_files[@]}"; do
|
||||
filename=$(basename "$archive")
|
||||
echo "处理: $archive"
|
||||
|
||||
# 确定目标目录
|
||||
target_dir="."
|
||||
if [[ "$filename" =~ -(amd64|arm64)\.tar ]]; then
|
||||
arch="${BASH_REMATCH[1]}"
|
||||
target_dir="./$arch"
|
||||
echo " 架构: $arch → 目标目录: $target_dir"
|
||||
else
|
||||
echo " 通用包 → 目标目录: 当前目录"
|
||||
fi
|
||||
|
||||
mkdir -p "$target_dir"
|
||||
|
||||
# 直接解压到目标目录,去除顶层目录
|
||||
if tar -xzvf "$archive" -C "$target_dir" --strip-components=1; then
|
||||
echo " 完成: 内容已解压至 $target_dir"
|
||||
# (可选)解压成功后删除原始 tar 文件
|
||||
# rm "$archive"
|
||||
else
|
||||
echo " 错误: 解压 $archive 失败,保留原始文件。"
|
||||
fi
|
||||
done
|
||||
else
|
||||
echo "未找到任何 .tar* 文件,跳过解压步骤。"
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
|
||||
deb https://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
|
||||
deb-src https://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
|
||||
|
||||
deb https://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
|
||||
deb-src https://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
|
||||
|
||||
# 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换
|
||||
deb https://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
|
||||
deb-src https://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
|
||||
@@ -0,0 +1,25 @@
|
||||
deb http://loong13.debian.net/debian-loong64/ trixie main contrib non-free non-free-firmware
|
||||
deb-src http://loong13.debian.net/debian-loong64/ trixie main contrib non-free non-free-firmware
|
||||
|
||||
deb http://loong13.debian.net/debian-loong64/ trixie-updates main contrib non-free non-free-firmware
|
||||
deb-src http://loong13.debian.net/debian-loong64/ trixie-updates main contrib non-free non-free-firmware
|
||||
|
||||
deb http://loong13.debian.net/debian-loong64/ trixie-backports main contrib non-free non-free-firmware
|
||||
deb-src http://loong13.debian.net/debian-loong64/ trixie-backports main contrib non-free non-free-firmware
|
||||
|
||||
deb http://loong13.debian.net/debian-loong64-security/ trixie-security main contrib non-free non-free-firmware
|
||||
deb-src http://loong13.debian.net/debian-loong64-security/ trixie-security main contrib non-free non-free-firmware
|
||||
|
||||
# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
|
||||
deb https://deb.debian.org/debian/ trixie main contrib non-free non-free-firmware
|
||||
deb-src https://deb.debian.org/debian/ trixie main contrib non-free non-free-firmware
|
||||
|
||||
deb https://deb.debian.org/debian/ trixie-updates main contrib non-free non-free-firmware
|
||||
deb-src https://deb.debian.org/debian/ trixie-updates main contrib non-free non-free-firmware
|
||||
|
||||
deb https://deb.debian.org/debian/ trixie-backports main contrib non-free non-free-firmware
|
||||
deb-src https://deb.debian.org/debian/ trixie-backports main contrib non-free non-free-firmware
|
||||
|
||||
# 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换
|
||||
deb https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
|
||||
deb-src https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
|
||||
@@ -0,0 +1,25 @@
|
||||
deb [trusted=true] http://loong13.debian.net/debian-loong64/ trixie main contrib non-free non-free-firmware
|
||||
deb-src [trusted=true] http://loong13.debian.net/debian-loong64/ trixie main contrib non-free non-free-firmware
|
||||
|
||||
deb [trusted=true] http://loong13.debian.net/debian-loong64/ trixie-updates main contrib non-free non-free-firmware
|
||||
deb-src [trusted=true] http://loong13.debian.net/debian-loong64/ trixie-updates main contrib non-free non-free-firmware
|
||||
|
||||
deb [trusted=true] http://loong13.debian.net/debian-loong64/ trixie-backports main contrib non-free non-free-firmware
|
||||
deb-src [trusted=true] http://loong13.debian.net/debian-loong64/ trixie-backports main contrib non-free non-free-firmware
|
||||
|
||||
deb [trusted=true] http://loong13.debian.net/debian-loong64-security/ trixie-security main contrib non-free non-free-firmware
|
||||
deb-src [trusted=true] http://loong13.debian.net/debian-loong64-security/ trixie-security main contrib non-free non-free-firmware
|
||||
|
||||
# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
|
||||
deb https://deb.debian.org/debian/ trixie main contrib non-free non-free-firmware
|
||||
deb-src https://deb.debian.org/debian/ trixie main contrib non-free non-free-firmware
|
||||
|
||||
deb https://deb.debian.org/debian/ trixie-updates main contrib non-free non-free-firmware
|
||||
deb-src https://deb.debian.org/debian/ trixie-updates main contrib non-free non-free-firmware
|
||||
|
||||
deb https://deb.debian.org/debian/ trixie-backports main contrib non-free non-free-firmware
|
||||
deb-src https://deb.debian.org/debian/ trixie-backports main contrib non-free non-free-firmware
|
||||
|
||||
# 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换
|
||||
deb https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
|
||||
deb-src https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
|
||||
@@ -0,0 +1,10 @@
|
||||
# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
|
||||
deb https://deb.debian.org/debian/ trixie main contrib non-free non-free-firmware
|
||||
# deb-src https://deb.debian.org/debian/ trixie main contrib non-free non-free-firmware
|
||||
|
||||
deb https://deb.debian.org/debian/ trixie-updates main contrib non-free non-free-firmware
|
||||
# deb-src https://deb.debian.org/debian/ trixie-updates main contrib non-free non-free-firmware
|
||||
|
||||
# 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换
|
||||
deb https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
|
||||
# deb-src https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
|
||||
@@ -0,0 +1,13 @@
|
||||
# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
|
||||
deb https://deb.debian.org/debian/ trixie main contrib non-free non-free-firmware
|
||||
deb-src https://deb.debian.org/debian/ trixie main contrib non-free non-free-firmware
|
||||
|
||||
deb https://deb.debian.org/debian/ trixie-updates main contrib non-free non-free-firmware
|
||||
deb-src https://deb.debian.org/debian/ trixie-updates main contrib non-free non-free-firmware
|
||||
|
||||
deb https://deb.debian.org/debian/ trixie-backports main contrib non-free non-free-firmware
|
||||
deb-src https://deb.debian.org/debian/ trixie-backports main contrib non-free non-free-firmware
|
||||
|
||||
# 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换
|
||||
deb https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
|
||||
deb-src https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
|
||||
@@ -1,5 +1,6 @@
|
||||
This file contains honored contributers of GXDE and GXDE OS. The list is in alphabetical order.
|
||||
|
||||
CharOfString <markus_verify@126.com>
|
||||
dependon <liuminghang0821@gmail.com>
|
||||
elysia <c.elysia@foxmail.com>
|
||||
gfdgd xi <3025613752@qq.com>
|
||||
@@ -7,3 +8,4 @@ qingyu <qingyuqingyu123@proton.me>
|
||||
shenmo <shenmo@spark-app.store>
|
||||
yoyo <chowhound_xb@163.com>
|
||||
zinface <zinface@163.com>
|
||||
zeqi <a202128502@163.com>
|
||||
|
||||
@@ -32,6 +32,7 @@ Please Click the Star in the Upper Right Corner, Your Support is Our Greatest Mo
|
||||
|
||||
QQ Group: 881201853
|
||||
Discord: https://discord.gg/t5Uf2xYpvA
|
||||
Forum: https://bbs.spark-app.store/
|
||||
|
||||
|
||||
|
||||
@@ -75,11 +76,16 @@ Gitee: http://gitee.com/GXDE-OS
|
||||
Github: http://github.com/GXDE-OS
|
||||
Gitcode: https://gitcode.com/GXDE-OS
|
||||
|
||||
## Donate
|
||||
https://donate.deepinos.org.cn/donate/index.html#
|
||||
## Donations
|
||||
|
||||
### Advertisement
|
||||
Scan to receive a payment red envelope from the Alipay official event!
|
||||
<p><img src="Icon/QR/advertisement0.jpg" width="250" ></p>
|
||||
We consistently adhere to the principles of openness and transparency. Your donations will be directly used for system maintenance, server operations, and technical upgrades to ensure continuous project optimization. All fund flows are regularly disclosed to the public, accepting community oversight, with no individual profiting personally. We pledge that every contribution will be transformed into momentum driving the open-source project forward.
|
||||
|
||||
Donation Portal: https://donate.deepinos.org.cn/donate/index.html#
|
||||
Fund Disclosure: https://bbs.spark-app.store/d/282-xing-huo-ying-yong-shang-dian-shou-zhi-ji-lu-ji-yu-suan-202507yi-geng-xin
|
||||
|
||||
### Feed the Developer
|
||||
The author is online and hungry for support (nom nom~). Feeding might even get updates faster!
|
||||
|
||||
<p><img src="https://www.gxde.top/install/gf.jpg" style="border-radius: 4px;" ></p>
|
||||
|
||||
# ©2023~Now gfdgd xi
|
||||
|
||||
+11
-4
@@ -32,6 +32,7 @@ GXDE OS 内置 [星火应用商店](https://gitee.com/spark-store-project/),
|
||||
|
||||
QQ 群:881201853
|
||||
Discord:https://discord.gg/t5Uf2xYpvA
|
||||
论坛:https://bbs.spark-app.store/
|
||||
|
||||
请点击右上角的Star,您的支持是我们最大的动力。
|
||||
|
||||
@@ -75,10 +76,16 @@ Github:http://github.com/GXDE-OS
|
||||
Gitcode:https://gitcode.com/GXDE-OS
|
||||
|
||||
## 捐赠
|
||||
https://donate.deepinos.org.cn/donate/index.html#
|
||||
我们始终秉持开放透明的原则,您的捐赠将直接用于系统维护、服务器运营及技术升级,确保项目持续优化。所有资金流向均定期公示,接受社区监督,无人从中牟取个人利益。我们承诺,每一份支持都将转化为推动开源项目前进的力量。
|
||||
|
||||
捐赠入口:https://donate.deepinos.org.cn/donate/index.html#
|
||||
资金公示:https://bbs.spark-app.store/d/282-xing-huo-ying-yong-shang-dian-shou-zhi-ji-lu-ji-yu-suan-202507yi-geng-xin
|
||||
|
||||
### 请作者喝杯茶
|
||||
|
||||
作者在线求投喂(嗷呜~),说不定会更新得更快哦
|
||||
|
||||
<p><img src="https://www.gxde.top/install/gf.jpg" style="border-radius: 4px;" ></p>
|
||||
|
||||
### 广告
|
||||
支付宝官方活动,扫描获得支付红包!
|
||||
<p><img src="Icon/QR/advertisement0.jpg" width="250" ></p>
|
||||
|
||||
# ©2023~Now gfdgd xi
|
||||
|
||||
Vendored
+12
-2
@@ -1,4 +1,4 @@
|
||||
gxde (2025.06.30) UNRELEASED; urgency=medium
|
||||
gxde (2026.07.11) UNRELEASED; urgency=medium
|
||||
|
||||
* 新增 remmina 以解决远程问题
|
||||
* 改为安装 dde-printer
|
||||
@@ -15,8 +15,18 @@ gxde (2025.06.30) UNRELEASED; urgency=medium
|
||||
* 新增推荐依赖 gxde-desktop
|
||||
* gxde-introduction 由 Depends 设置为 Recommends
|
||||
* 推荐安装 apt-is-aptss
|
||||
* 新增推荐依赖 bash-pinyin-completion
|
||||
* 新增推荐依赖gxde-kernel-manager、deepin-log-viewer
|
||||
* 新增 98 版五笔输入法
|
||||
* 新增推荐fcitx5-pinyin-zhwiki
|
||||
* gxde-desktop-android gxde-ocr 设置为推荐依赖
|
||||
* 新增 GXDE 硬件管理器
|
||||
* 推荐安装 deepin 跨端协同
|
||||
* 更改 gxde-desktop-extra 推荐依赖
|
||||
* 推荐安装 firmware-atheros | firmware-ath9k-htc
|
||||
* gxde-desktop-android 指定安装 spark-store 而不是可选安装 aptss
|
||||
|
||||
-- gfdgd_xi <3025613752@qq.com> Sun, 22 Jun 2025 09:59:58 +0800
|
||||
-- gfdgd_xi <3025613752@qq.com> Sat, 11 Jul 2026 14:12:50 +0800
|
||||
|
||||
gxde (2024.10.20) UNRELEASED; urgency=medium
|
||||
|
||||
|
||||
Vendored
+14
-4
@@ -14,7 +14,7 @@ Recommends: ${misc:Depends},
|
||||
gxde-terminal,
|
||||
gxde-deb-installer,
|
||||
gxde-editor,
|
||||
gxde-image-viewer,
|
||||
gxde-image-viewer | deepin-image-viewer,
|
||||
gxde-icon-theme,
|
||||
gxde-sea-icon-theme,
|
||||
gxde-ocr,
|
||||
@@ -26,6 +26,7 @@ Recommends: ${misc:Depends},
|
||||
gxde-sendbylan,
|
||||
gxde-dict,
|
||||
gxde-system-assistant,
|
||||
gxde-hardware-viewer,
|
||||
loongsonapplication,
|
||||
gxde-boot-maker,
|
||||
deepin-clone,
|
||||
@@ -42,6 +43,13 @@ Recommends: ${misc:Depends},
|
||||
screensaver-pp,
|
||||
gxde-time-screensaver,
|
||||
gxde-desktop,
|
||||
bash-pinyin-completion,
|
||||
gxde-kernel-manager,
|
||||
deepin-log-viewer,
|
||||
fcitx5-table-wubi98,
|
||||
fcitx5-pinyin-zhwiki,
|
||||
dde-cooperation,
|
||||
firmware-atheros,
|
||||
Description: GXDE New Desktop Environment Extra - Next
|
||||
This is a meta package depends GXDE New Desktop Envrionment Extra.
|
||||
.
|
||||
@@ -57,16 +65,17 @@ Depends:
|
||||
gxde-deb-installer,
|
||||
gxde-editor,
|
||||
gxde-image-viewer,
|
||||
gxde-ocr,
|
||||
gxde-music,
|
||||
gxde-font-installer,
|
||||
gxde-movie,
|
||||
gxde-quick-hash,
|
||||
spark-store | aptss,
|
||||
spark-store,
|
||||
deepin-system-monitor,
|
||||
gxde-control-center,
|
||||
gxde-file-manager,
|
||||
spark-store | aptss,
|
||||
Recommends:
|
||||
gxde-ocr
|
||||
Conflicts:
|
||||
plymouth-theme-gxde-logo,
|
||||
linux-kernel-gxde-i386,
|
||||
@@ -81,7 +90,8 @@ Conflicts:
|
||||
linux-kernel-oldstable-gxde-loong64,
|
||||
plymouth,
|
||||
tela-grub2-themes,
|
||||
plymouth-theme-gxde-logo,
|
||||
firmware-atheros,
|
||||
firmware-ath9k-htc,
|
||||
Description: GXDE New Desktop Environment For PRoot - Next
|
||||
This is a meta package depends GXDE New Desktop Envrionment in Android PRoot.
|
||||
.
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 31 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 36 KiB |
@@ -50,16 +50,11 @@ def sync(i):
|
||||
os.system(f"rm -rf '{programPath}/git-clone/{i}.git'")
|
||||
thread -= 1
|
||||
|
||||
data = requests.get("https://github.com/orgs/GXDE-OS/repos_list?q=&page=1", headers=dataHeaders).json()
|
||||
# 获取页数
|
||||
page = int(data["pageCount"])
|
||||
data = requests.get("https://api.github.com/users/GXDE-OS/repos", headers=dataHeaders).json()
|
||||
repoList = []
|
||||
# 获取仓库列表
|
||||
for i in range(1, page + 1):
|
||||
pageData = requests.get(f"https://github.com/orgs/GXDE-OS/repos_list?q=&page={i}", headers=dataHeaders).json()
|
||||
repositories = pageData["repositories"]
|
||||
for j in repositories:
|
||||
repoList.append(j["name"])
|
||||
for i in data:
|
||||
repoList.append(i["name"])
|
||||
# 多线程处理以提升速度
|
||||
thread = 0
|
||||
threadMax = 32
|
||||
|
||||
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 67 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 54 KiB |
Reference in New Issue
Block a user