mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-16 05:42:04 +08:00
Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 81aa00ff01 | |||
| 4b72d091e5 | |||
| a159a11807 | |||
| d86efc642a | |||
| 4c05c18198 | |||
| 09c1d50bd2 | |||
| ef36a92c7c | |||
| 8a93d4dd06 | |||
|
|
29ddef300f | ||
| 5bd6ad9399 | |||
| 32c74bc5a0 | |||
| ce34fc763f | |||
| 85823fdc23 |
@@ -18,22 +18,28 @@ stages:
|
|||||||
name: execute_by_docker
|
name: execute_by_docker
|
||||||
displayName: 基于镜像的DTK构建
|
displayName: 基于镜像的DTK构建
|
||||||
certificate: ''
|
certificate: ''
|
||||||
image: docker.io/debian:buster
|
image: docker.jianmuhub.com/library/debian:buster
|
||||||
command:
|
command:
|
||||||
- sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list
|
- sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list
|
||||||
- '# 换源'
|
- '# 换源'
|
||||||
- apt update
|
- apt update
|
||||||
- export DEBIAN_FRONTEND=noninteractive
|
- export DEBIAN_FRONTEND=noninteractive
|
||||||
- echo "安装git devscripts equivs curl..."
|
- echo "安装依赖..."
|
||||||
- 'apt install git devscripts equivs curl -y '
|
- 'apt install libgsettings-qt-dev -y '
|
||||||
|
- 'apt install debhelper git curl fakeroot qtbase5-dev zlib1g-dev qt5-default -y '
|
||||||
- git clone https://gitlink.org.cn/shenmo7192/dtk-old-bundle.git
|
- git clone https://gitlink.org.cn/shenmo7192/dtk-old-bundle.git
|
||||||
- cd dtk-old-bundle
|
- cd dtk-old-bundle
|
||||||
- apt install ./*.deb -y
|
- apt install ./*.deb -y
|
||||||
- cd ..
|
- cd ..
|
||||||
- rm -rf dtk-old-bundle
|
- rm -rf dtk-old-bundle
|
||||||
- ''
|
- ''
|
||||||
- 'mk-build-deps --install --tool "apt-get -o Debug::pkgProblemResolver=yes -y" '
|
- '#mk-build-deps --install --tool "apt-get -o Debug::pkgProblemResolver=yes -y" '
|
||||||
- dpkg-buildpackage -j2 -b -us -uc
|
- apt build-dep . -y
|
||||||
|
- strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
|
||||||
|
- uname -a
|
||||||
|
- sed -i 's/dh \$@ --parallel/dh \$@/' debian/rules
|
||||||
|
- '# Gitee的配置太低了'
|
||||||
|
- dpkg-buildpackage -b -us -uc
|
||||||
- cd ..
|
- cd ..
|
||||||
- ls -all
|
- ls -all
|
||||||
- pwd
|
- pwd
|
||||||
|
|||||||
5
debian/changelog
vendored
5
debian/changelog
vendored
@@ -1,6 +1,9 @@
|
|||||||
spark-store (4.3.2.2) UNRELEASED; urgency=medium
|
spark-store (4.3.3.1) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
* 修复点击更新需要输入密码的问题
|
* 修复点击更新需要输入密码的问题
|
||||||
|
* 修复安装速度下降的问题
|
||||||
|
* 修复闪退问题
|
||||||
|
* 修复错误地展示已安装
|
||||||
|
|
||||||
-- shenmo <shenmo@spark-app.store> Tue, 24 Sep 2024 11:27:08 +0800
|
-- shenmo <shenmo@spark-app.store> Tue, 24 Sep 2024 11:27:08 +0800
|
||||||
|
|
||||||
|
|||||||
@@ -287,8 +287,10 @@ void AppIntoPage::setDownloadWidget(DownloadListWidget *w)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dw = w;
|
dw = w;
|
||||||
connect(w, &DownloadListWidget::downloadFinished, [=]()
|
connect(w, &DownloadListWidget::downloadFinished, this, [=]() {
|
||||||
{ isDownloading(SparkAPI::getServerUrl() + SparkAPI::getArchDir() + spk.path() + "/" + info["Filename"].toString()); });
|
isDownloading(SparkAPI::getServerUrl() + SparkAPI::getArchDir() + spk.path() + "/" + info["Filename"].toString());
|
||||||
|
},
|
||||||
|
Qt::QueuedConnection);
|
||||||
}
|
}
|
||||||
|
|
||||||
void AppIntoPage::initUI()
|
void AppIntoPage::initUI()
|
||||||
@@ -486,7 +488,10 @@ void AppIntoPage::on_downloadButton_clicked()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
connect(item, &DownloadItem::finished, [=]() { isDownloading(downloadUrl); });
|
connect(item, &DownloadItem::finished, this, [=]() {
|
||||||
|
isDownloading(downloadUrl);
|
||||||
|
},
|
||||||
|
Qt::QueuedConnection);
|
||||||
|
|
||||||
item->install(0);
|
item->install(0);
|
||||||
isDownloading(downloadUrl);
|
isDownloading(downloadUrl);
|
||||||
@@ -507,7 +512,10 @@ void AppIntoPage::on_downloadButton_clicked()
|
|||||||
item->reinstall = true;
|
item->reinstall = true;
|
||||||
}
|
}
|
||||||
ui->downloadButton->setEnabled(false);
|
ui->downloadButton->setEnabled(false);
|
||||||
connect(item, &DownloadItem::finished, [=]() { isDownloading(downloadUrl); });
|
connect(item, &DownloadItem::finished, this, [=]() {
|
||||||
|
isDownloading(downloadUrl);
|
||||||
|
},
|
||||||
|
Qt::QueuedConnection);
|
||||||
|
|
||||||
isDownloading(downloadUrl);
|
isDownloading(downloadUrl);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ for argument in "$@"; do
|
|||||||
option="source"
|
option="source"
|
||||||
root=0
|
root=0
|
||||||
;;
|
;;
|
||||||
changelog|search|policy)
|
changelog|search|policy|show)
|
||||||
root=0
|
root=0
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
@@ -123,7 +123,7 @@ DEBPATH=$(realpath "$1")
|
|||||||
exit "$try_run_ret"
|
exit "$try_run_ret"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
aptss install "$DEBPATH" -yf --reinstall
|
dpkg -i "$DEBPATH" || aptss install "$DEBPATH" -yf
|
||||||
|
|
||||||
if [ "$?" = "0" ] && [ "$2" = "--delete-after-install" ]; then
|
if [ "$?" = "0" ] && [ "$2" = "--delete-after-install" ]; then
|
||||||
if dpkg -s "$package_name" >/dev/null 2>&1; then
|
if dpkg -s "$package_name" >/dev/null 2>&1; then
|
||||||
|
|||||||
@@ -166,7 +166,7 @@ if [ ! -z "$IS_SHA512SUM_CHECKED" ]; then
|
|||||||
exit "$try_run_ret"
|
exit "$try_run_ret"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
aptss install "$DEBPATH" -yf --reinstall
|
dpkg -i "$DEBPATH" || aptss install "$DEBPATH" -yf
|
||||||
|
|
||||||
unlock_file "$DEBPATH"
|
unlock_file "$DEBPATH"
|
||||||
|
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
dpkg -l | grep "^ii" | grep -w "$1" > /dev/null
|
dpkg -l | grep "^ii $1 " > /dev/null
|
||||||
|
|||||||
Reference in New Issue
Block a user