Compare commits
547 Commits
1.0beta7.2
...
3.3.3test5
| Author | SHA1 | Date | |
|---|---|---|---|
| 5385e2d1b1 | |||
| 707a2b5e4c | |||
| b9121c13ab | |||
| 9c80179493 | |||
| 2a89135d1a | |||
| b91e0142f4 | |||
| 55897e3cb9 | |||
| f17fcdfe85 | |||
| 9046a3a965 | |||
| 9007bdf3d3 | |||
| afd926ae4a | |||
| 5f5d71fbd0 | |||
| 9fd8f64195 | |||
| c32ffb7cd2 | |||
| af9217b1dc | |||
| 93e218dd53 | |||
| 4de32fa8a6 | |||
| 2d59a61796 | |||
| 7abdd90215 | |||
| cbd594e217 | |||
| 42b6a20c97 | |||
| 110adc995d | |||
| cd6d0ac133 | |||
| 568e73de07 | |||
| 62c8841c50 | |||
| 6fd611919b | |||
| 77a84785de | |||
| 9969f4f2fc | |||
| 833a8ec14b | |||
| dd679f3f26 | |||
| 5411a832dc | |||
| 0aeadb5526 | |||
| 91fd97b878 | |||
| f2cf344f62 | |||
| 8d84e433a6 | |||
| a6e9dac2f9 | |||
| 495ef3292e | |||
| 5900b3cdf3 | |||
| e644214263 | |||
| 2b76f5e202 | |||
| 6fe06667eb | |||
| f61e3a6ede | |||
| bddbbcc2e8 | |||
| 8310a59df8 | |||
| 05cfdbb318 | |||
| b5488b6c32 | |||
| 6cec12be9d | |||
| 53f9746ebf | |||
| b68ef5aab1 | |||
| c6daf5159c | |||
| b0453c7a8a | |||
| c7ee32a452 | |||
| e1d25e401f | |||
| 6b78dce87e | |||
| e5a198e1d8 | |||
| 1780110e33 | |||
| 19901b0d7d | |||
| d24af0461b | |||
| 31a574ec8b | |||
| 3feae61b1b | |||
| eaf65a326c | |||
| 13da2bc441 | |||
| 5420bad0ee | |||
| 8465c9ad2d | |||
| 5562e2b5d1 | |||
| a09425f361 | |||
| 18db530c0d | |||
| 03263edf8c | |||
| cd13a1ce08 | |||
| 1c5f31da6f | |||
| cafb4d1dfe | |||
| 828f1a0f05 | |||
| b03795e364 | |||
| c54c13d822 | |||
| fdc9550100 | |||
| 458cc49302 | |||
| e11afad89b | |||
| 43ae031131 | |||
| dd6780d636 | |||
| 42368a0245 | |||
| 8ca0035107 | |||
| 10332c59e0 | |||
| 09a1c9f710 | |||
| ba29c4171c | |||
| 3b9dde23e7 | |||
| 746e9bd3d6 | |||
| d7f0ee983b | |||
| 3feec88f7b | |||
| c0ffb64a86 | |||
| 8c08b7e995 | |||
| 4d7e766d75 | |||
| 09115c3961 | |||
| 63998bbce4 | |||
| 967f62f825 | |||
| e8ae0325e0 | |||
| 66a4563b51 | |||
| 330ae3eeb8 | |||
| 0534c39ee5 | |||
| 04047c1e44 | |||
| 5e501b9d17 | |||
| 5a434a9b7d | |||
| e554aec98d | |||
| ab0f5e6613 | |||
| 59607f6b34 | |||
| a13f0ddcb7 | |||
| fec604b481 | |||
| 085eddd66f | |||
| 30860802dd | |||
| 30f36ff35d | |||
|
|
81993625ba | ||
| 87b68aca1e | |||
| 10125c5816 | |||
| 21d33ec347 | |||
| ad57aa26ff | |||
| 8902c81b9e | |||
| 0ad4b6c82c | |||
| 189a0b4939 | |||
| c65d7b86df | |||
| e269e6ca57 | |||
| aff593eba8 | |||
| beaeac60a3 | |||
| 11d68fb4b5 | |||
| e7680fe2a0 | |||
| 19dff7fb56 | |||
| 67b314d0d2 | |||
| 63b28adaf8 | |||
| 8741973cca | |||
| 8e3787ab07 | |||
| f7d07e0bf9 | |||
| 9e4df5c5c2 | |||
| 829a08d40a | |||
| 411bbe5935 | |||
| 5d5fbfbad4 | |||
| af89e64478 | |||
| c93c221cf1 | |||
| afee0966c8 | |||
| 2df5363c2c | |||
| 971a5dcc63 | |||
| a252e7b724 | |||
| d3987a20ec | |||
| 932e754b88 | |||
| 72a771b0f1 | |||
| b75fbe5674 | |||
| 6617522a7c | |||
| 1733d9853d | |||
| 55c6c13e50 | |||
| 9c2f326268 | |||
| b1a6f79961 | |||
| 1561d511d1 | |||
| 2d2b431df7 | |||
| c87272b463 | |||
| da632d41e7 | |||
| 96b0f0f2be | |||
| 8a7d09b716 | |||
| fcdcd84462 | |||
| 8f63b58062 | |||
| 2c8d38a0da | |||
| 807777e3dc | |||
| 86a9e66e29 | |||
| 15938d0da4 | |||
| 1331c369ad | |||
| d5182c760b | |||
| f9dc1cd09d | |||
| 230c860d91 | |||
| 69f2d6e626 | |||
| 6b560492e8 | |||
| 8886016357 | |||
| 9a74368ef5 | |||
| cf5e1cae76 | |||
| 6d23aaa07c | |||
| 3740b551ef | |||
| 4c7d50d117 | |||
| 6318b5f51d | |||
| 2f94e78c32 | |||
| fecda52294 | |||
| 8cefdbaca0 | |||
| 0da714b35a | |||
| 379c5a857d | |||
| 3b349d43ad | |||
| b856734843 | |||
| 238c43b79e | |||
| 855b18cfa6 | |||
| bc897969f8 | |||
| 52af8a8229 | |||
| 5220b886de | |||
| 5be7923e60 | |||
| 6ca6f63b1f | |||
| bda0426a3b | |||
| a75b7b1e57 | |||
| 8054f85ada | |||
| 6f23d07929 | |||
| b73d97d65d | |||
| bc6584eacc | |||
| c9e01d10fe | |||
| c3b9763aa8 | |||
| 398cd512d7 | |||
| 0c0ff452ae | |||
| e6d3b035db | |||
| 5e88f7c1eb | |||
| b639a9d726 | |||
| e2f6a2b3c2 | |||
| c826a3927c | |||
| 0c367799b7 | |||
| 0e351a667a | |||
| e8612f304a | |||
| 114b5cdfe5 | |||
| a563d99bc4 | |||
| b1cb765b6e | |||
| 49c5583ea9 | |||
| b0dfd6a3da | |||
| a63c1202bd | |||
| dfe30f9d6d | |||
| b00f3fa501 | |||
| 03f35782c6 | |||
| 8f192d17ec | |||
| 57bbc9536a | |||
| 9f7b46b600 | |||
| 0dc594b3f1 | |||
| cdb4fc05a1 | |||
| 198384c552 | |||
| 958988d93c | |||
| 5f9599c47d | |||
| 766dc8b88a | |||
| 20d34a7369 | |||
| a0c14e7397 | |||
| f24565804d | |||
| 244176098c | |||
| ac0a38e670 | |||
| af7990e069 | |||
| f8dbca8f6f | |||
| a064b7b534 | |||
| 289f3020fe | |||
| 9cd974fed9 | |||
| 4d97a1e87b | |||
|
|
d326e8919f | ||
|
|
1828a60ff1 | ||
| 865322c85f | |||
| c22c76efc2 | |||
| 415dd1a63c | |||
|
|
7e105b59b0 | ||
| 84b3340687 | |||
| 2da576aeab | |||
| fb94448692 | |||
| 6ba7601efa | |||
| 4ea6c90e78 | |||
| f3633bb19d | |||
| 090b9a279f | |||
| 1bf8a57802 | |||
| 01f2610e0a | |||
| 3e3c3140d0 | |||
| 6ca024b6f3 | |||
| c0ea5824b1 | |||
| ee60b2e7f6 | |||
| 53ae863823 | |||
| 3dae7db89a | |||
| 3b3bf8f0de | |||
| 00f9b62b80 | |||
| 0916a0a97e | |||
|
|
c6505c1c14 | ||
| 4f600f3ec7 | |||
| bf5d0cb75f | |||
| 4ca292bd34 | |||
| 12cf0a3515 | |||
| 18279ec00d | |||
| e415798ee0 | |||
| 89740ad953 | |||
| 3eddb4ce71 | |||
| 239a788019 | |||
| dc6210b545 | |||
| 94d6a566ca | |||
| c66c5c6ca3 | |||
| c974349c9f | |||
| 42362fd0ca | |||
| 63bc01c43d | |||
| 280cd983cb | |||
| 05e95b42e0 | |||
| 2614b4ae05 | |||
| e8d55cadb6 | |||
| 3534b815cc | |||
| ef75e89916 | |||
| e4daffd052 | |||
| 9c29ca2e38 | |||
| 733751db8e | |||
| db739181f2 | |||
| 0bd87eb100 | |||
| 8b690e8dea | |||
| 9329c939d7 | |||
| 232fe777e5 | |||
| 000fcf8c9d | |||
| 30bc12a8b6 | |||
| a7385aff1e | |||
| c5b786d9e6 | |||
| 55d254e147 | |||
| cccad380a4 | |||
| afe5c00af7 | |||
| 55e7fd836c | |||
| 2959d72d1c | |||
| 95b4608e82 | |||
| edef44eea8 | |||
| a4b9bd6a17 | |||
| a165cd7d67 | |||
| 387d21b29f | |||
| 63b8ae5ae7 | |||
| 9ae4fa8372 | |||
| 1eb2f8df91 | |||
| ce1de9c367 | |||
| 80284b22cb | |||
| ad1b69493a | |||
| 7ca5e9b0d0 | |||
| 873a83e6b9 | |||
| da8ee30fbd | |||
| 6d84fa0fe5 | |||
| 41d6272526 | |||
| 0f7bdf484f | |||
| bc67bcb6f0 | |||
| 134586b580 | |||
| d645b26c62 | |||
| fdc818cdb4 | |||
| 1f493a8aca | |||
| 463a8d0c04 | |||
| 932bbd7995 | |||
| 5f45abc484 | |||
| 820ad08bf4 | |||
| 2ddfb3f192 | |||
| b3ca6878ec | |||
| ae6f2354bb | |||
| 591556a7c8 | |||
| 0bcf8a1ee9 | |||
| 15b6a22f49 | |||
| 7f1f5528ef | |||
| 158ba884b1 | |||
| d9a50e7b44 | |||
| 72019f7cce | |||
| c4b26045d9 | |||
| e14b1baaab | |||
| 0bfa7c9136 | |||
| 6d38c0bf70 | |||
| a932966795 | |||
| a63c7ec750 | |||
| ad53669098 | |||
| 69b42f2afe | |||
| c4f4465e87 | |||
| f292f954f7 | |||
| 161c9e320b | |||
| f33386ee5c | |||
|
|
61c10944c9 | ||
|
|
6db6fe6060 | ||
|
|
14506b18b2 | ||
| 44d1041087 | |||
| dd941bcf8e | |||
| 75fc22d2a2 | |||
| ee549b91f1 | |||
| 38209d0efb | |||
| b7dcca35b5 | |||
| bb39fe386b | |||
|
|
3d02922751 | ||
| e5ea3c3477 | |||
| 0b00cd2f4d | |||
| 7f6b8c1f5e | |||
|
|
3bfc183c89 | ||
| 45e1970186 | |||
| c8e8560584 | |||
| 5bdf9c69ea | |||
|
|
e48438b5a6 | ||
| 00cb5d2442 | |||
| 9a84dfffd0 | |||
| 45a2b0b8c8 | |||
| a947963fc1 | |||
| 6982a97d22 | |||
| 1ba01588f0 | |||
| 4a7f9f7500 | |||
| 47690ee666 | |||
| 3477d50689 | |||
| abf1e0df71 | |||
| 1ac033e850 | |||
| c2d9b0324a | |||
| 5727b54c3f | |||
| d796d296c0 | |||
| 31ecde133e | |||
| d6d40d2b78 | |||
| ed220702b3 | |||
|
|
bdef388b2e | ||
| a31a36dbd8 | |||
| f23809b28e | |||
| 7d4944279f | |||
| 3dfca9a17d | |||
| 9b189f276e | |||
| 51518e4e88 | |||
|
|
961d174bf7 | ||
| 10b758d8f3 | |||
| 78c5d31a29 | |||
| adf8b478a8 | |||
|
|
1c748219f8 | ||
|
|
9def55a2c2 | ||
|
|
cd1892fd66 | ||
|
|
83e2302cf8 | ||
|
|
4deaf28659 | ||
|
|
04d6174875 | ||
|
|
0d64bff7fa | ||
| 0ab9f4dda6 | |||
| 5a97f6caef | |||
| 3da25b0904 | |||
|
|
116c824365 | ||
|
|
44edb08518 | ||
|
|
9a3d32ee11 | ||
|
|
e5fe80cb76 | ||
|
|
9314acd7e1 | ||
|
|
e64e7fcae2 | ||
| 536efeedfa | |||
|
|
6fd3c40e97 | ||
|
|
90513a8925 | ||
|
|
ed3d869b99 | ||
|
|
c80737a458 | ||
|
|
ebf30e67f9 | ||
|
|
90b684af87 | ||
|
|
3ff363d7b1 | ||
|
|
f7ced7739c | ||
|
|
e12f617f59 | ||
|
|
d164aec86d | ||
|
|
96cd1b9918 | ||
|
|
393c8220f5 | ||
|
|
01d1543cc4 | ||
|
|
4ccc8c0dae | ||
|
|
815036e28f | ||
|
|
9cc68fac86 | ||
|
|
2f8c11a30b | ||
| 1a4b1176fb | |||
| 3101f1fe70 | |||
| 58f32c119a | |||
| ccdcf407cc | |||
| 1a18a51d3c | |||
|
|
ab88af006b | ||
|
|
d02900cb10 | ||
|
|
3e473c091a | ||
|
|
84541d0c22 | ||
|
|
51f84bed1b | ||
| 4a0acf0575 | |||
|
|
e28d1c39ac | ||
|
|
f58201a612 | ||
| 405d3b6986 | |||
| b619d3cc7b | |||
|
|
14e3e7f9a2 | ||
|
|
1d0e0cc65c | ||
|
|
7a5b982dea | ||
|
|
91fcab56df | ||
|
|
4315f04023 | ||
|
|
736ede0742 | ||
|
|
a73a4416fc | ||
|
|
62f0dd097c | ||
|
|
6f3e4398df | ||
|
|
3cca0d87fe | ||
| b7e038bd88 | |||
|
|
4f0e00ad76 | ||
|
|
579008e8b2 | ||
|
|
ccb405c983 | ||
|
|
66ef37c1ca | ||
|
|
8972425c7c | ||
|
|
2ae6e80785 | ||
| f5788efb47 | |||
| 32bc272791 | |||
| c5f04b5675 | |||
| cf208d0736 | |||
| fdc7cb4cb6 | |||
| 8e89ce3ae3 | |||
| ee51f59874 | |||
| 3d09a28794 | |||
| 4b05758479 | |||
| 74d9d0b563 | |||
|
|
f1a4f7acb5 | ||
| 93be66e871 | |||
| 7b46cca1d4 | |||
| c529367998 | |||
|
|
beae3e3efa | ||
|
|
9706480931 | ||
|
|
ed64eb6f5b | ||
| 8f6e5408ae | |||
| d5783458fc | |||
| 6e05066dd9 | |||
| 58aa5a3787 | |||
| 6087c8a5c8 | |||
| ff758946be | |||
| d1cbf95447 | |||
|
|
187ce7e277 | ||
| d3e4f75254 | |||
|
|
949eb33511 | ||
|
|
3f65002dc9 | ||
|
|
cfd4c7689a | ||
|
|
367c8d857c | ||
| b41f846ea4 | |||
| 1dcd7d1c5c | |||
| 01ac388f50 | |||
| cfbbd34695 | |||
|
|
b7afc5ec8a | ||
| b911158274 | |||
| 67c28d0224 | |||
| 1d65bfc66d | |||
| 0e595db328 | |||
| 7a16028e38 | |||
|
|
1b56d3ad52 | ||
| 431e7b555f | |||
|
|
1cbabe7cc5 | ||
| d027d513a3 | |||
|
|
eff8878e8b | ||
| f0bf0e5aec | |||
|
|
678a4229f7 | ||
| e89c14b5ca | |||
|
|
d4c734627a | ||
| 8830b14e10 | |||
| 8c9f5b8ba6 | |||
| badc3aa089 | |||
| 9c9317dea0 | |||
| 594f71f98a | |||
| c45bf8ffaf | |||
|
|
c9c0357646 | ||
|
|
bd8f660fe9 | ||
| 538c742303 | |||
|
|
c23e816017 | ||
| 2be0e1b523 | |||
| eacc56eaf3 | |||
| 9458bbf2c9 | |||
|
|
e472ba76f1 | ||
|
|
74bd3ae018 | ||
|
|
ccc2bb8898 | ||
| a59e2e0527 | |||
| 2c205bf5db | |||
| efc6c50f88 | |||
| ce263c3cb4 | |||
| 78ac339629 | |||
| 58359aa63a | |||
|
|
e839f7836f | ||
|
|
b34c50d2e0 | ||
|
|
4d4e3e3e3a | ||
|
|
10741a1d92 | ||
|
|
b78ca0e103 | ||
|
|
3a0ed16a21 | ||
|
|
0a3d583d76 | ||
|
|
f5121a0405 | ||
|
|
e568ddafba | ||
|
|
111174a46f | ||
|
|
6de25a299f | ||
|
|
cbd57a3e25 | ||
|
|
6e083f295b | ||
|
|
b82a821d01 | ||
|
|
6578af935e | ||
|
|
fe4143a3f7 | ||
|
|
8952be33c4 | ||
|
|
4e4f55995e |
4
.gitee/Dockerfile
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
FROM shenmo7192/uos-21-dtk5.4:1.0
|
||||||
|
ADD . /root/workdir
|
||||||
|
WORKDIR /root/workdir
|
||||||
|
RUN dpkg-buildpackage
|
||||||
31
.gitee/callback.py
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
import os
|
||||||
|
import requests
|
||||||
|
import json
|
||||||
|
|
||||||
|
|
||||||
|
# sha=os.system("git rev-parse HEAD")
|
||||||
|
sha = os.getenv("GIT_COMMIT")
|
||||||
|
# sha = '48fed26c51a8c42554e45f72f43e49703e04c97f'
|
||||||
|
#get sha from environment
|
||||||
|
url = "https://gitee.com/api/v5/repos/deepin-community-store/spark-store/commits/{}/comments".format(sha)
|
||||||
|
|
||||||
|
token = os.getenv("gitee_token")
|
||||||
|
|
||||||
|
# process = os.popen("git symbolic-ref --short -q HEAD")
|
||||||
|
|
||||||
|
body = "构建详情请见" + os.getenv("JENKINS_URL") + "blue/organizations/jenkins/" + os.getenv("JOB_NAME").replace("/", "/detail/") + "/" + str(os.getenv("BUILD_ID"))
|
||||||
|
|
||||||
|
# process.close()
|
||||||
|
|
||||||
|
d = {
|
||||||
|
'access_token': token,
|
||||||
|
"body": body
|
||||||
|
}
|
||||||
|
|
||||||
|
h = {
|
||||||
|
"Content-Type": "application/json;charset=UTF-8"
|
||||||
|
}
|
||||||
|
|
||||||
|
res = requests.post(url,headers=h, data=json.dumps(d))
|
||||||
|
# print(res.status_code)
|
||||||
|
# print(res.content)
|
||||||
54
.gitignore
vendored
Normal file
@@ -0,0 +1,54 @@
|
|||||||
|
# C++ objects and libs
|
||||||
|
*.slo
|
||||||
|
*.lo
|
||||||
|
*.o
|
||||||
|
*.a
|
||||||
|
*.la
|
||||||
|
*.lai
|
||||||
|
*.so
|
||||||
|
*.dll
|
||||||
|
*.dylib
|
||||||
|
|
||||||
|
# Qt-es
|
||||||
|
object_script.*.Release
|
||||||
|
object_script.*.Debug
|
||||||
|
*_plugin_import.cpp
|
||||||
|
/.qmake.cache
|
||||||
|
/.qmake.stash
|
||||||
|
*.pro.user
|
||||||
|
*.pro.user.*
|
||||||
|
*.qbs.user
|
||||||
|
*.qbs.user.*
|
||||||
|
*.moc
|
||||||
|
moc_*.cpp
|
||||||
|
moc_*.h
|
||||||
|
qrc_*.cpp
|
||||||
|
ui_*.h
|
||||||
|
*.qmlc
|
||||||
|
*.jsc
|
||||||
|
Makefile*
|
||||||
|
*build-*
|
||||||
|
|
||||||
|
# Qt unit tests
|
||||||
|
target_wrapper.*
|
||||||
|
|
||||||
|
# Qt qm files
|
||||||
|
translations/*.qm
|
||||||
|
|
||||||
|
# QtCreator
|
||||||
|
*.autosave
|
||||||
|
|
||||||
|
# QtCreator Qml
|
||||||
|
*.qmlproject.user
|
||||||
|
*.qmlproject.user.*
|
||||||
|
|
||||||
|
# QtCreator CMake
|
||||||
|
CMakeLists.txt.user*
|
||||||
|
build
|
||||||
|
|
||||||
|
# Debian dpkg-buildpackage
|
||||||
|
debian/*.debhelper*
|
||||||
|
debian/files
|
||||||
|
debian/*.substvars
|
||||||
|
debian/spark-store
|
||||||
|
|
||||||
39
.workflow/dtk-build-commit-20220425.yml
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
version: '1.0'
|
||||||
|
name: dtk-build-commit-20220425
|
||||||
|
displayName: dtk-build-commit
|
||||||
|
triggers:
|
||||||
|
trigger: auto
|
||||||
|
pr:
|
||||||
|
branches:
|
||||||
|
prefix:
|
||||||
|
- ''
|
||||||
|
stages:
|
||||||
|
- name: stage-4e566164
|
||||||
|
displayName: build
|
||||||
|
strategy: naturally
|
||||||
|
trigger: auto
|
||||||
|
executor: []
|
||||||
|
steps:
|
||||||
|
- step: execute@docker
|
||||||
|
name: execute_by_docker
|
||||||
|
displayName: 基于镜像的脚本执行
|
||||||
|
certificate: ''
|
||||||
|
image: docker.io/debian:buster-slim
|
||||||
|
command:
|
||||||
|
- sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list
|
||||||
|
- '# 换源'
|
||||||
|
- apt update
|
||||||
|
- export DEBIAN_FRONTEND=noninteractive
|
||||||
|
- echo "安装git devscripts equivs ..."
|
||||||
|
- apt install git devscripts equivs curl -y >/dev/null 2>&1
|
||||||
|
- git clone https://gitlink.org.cn/shenmo7192/dtk-old-bundle.git
|
||||||
|
- cd dtk-old-bundle
|
||||||
|
- apt install ./*.deb -y
|
||||||
|
- cd ..
|
||||||
|
- rm -rf dtk-old-bundle
|
||||||
|
- 'mk-build-deps --install --tool "apt-get -o Debug::pkgProblemResolver=yes -y" '
|
||||||
|
- dpkg-buildpackage -b -us -uc
|
||||||
|
- cd ..
|
||||||
|
- ls -all
|
||||||
|
- pwd
|
||||||
|
strategy: {}
|
||||||
58
.workflow/dtk-build-release-tag-20220425.yml
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
version: '1.0'
|
||||||
|
name: dtk-build-release-tag-20220425
|
||||||
|
displayName: dtk-build-release-tag
|
||||||
|
triggers:
|
||||||
|
trigger: auto
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
prefix:
|
||||||
|
- ''
|
||||||
|
stages:
|
||||||
|
- name: stage-4e566164
|
||||||
|
displayName: build
|
||||||
|
strategy: naturally
|
||||||
|
trigger: auto
|
||||||
|
executor: []
|
||||||
|
steps:
|
||||||
|
- step: build@nodejs
|
||||||
|
name: build_dtk
|
||||||
|
displayName: DTK构建
|
||||||
|
nodeVersion: 14.16.0
|
||||||
|
commands:
|
||||||
|
- git clone https://gitlink.org.cn/shenmo7192/debian-10-container.git
|
||||||
|
- mv debian-10-container/Debian-10.tar.xz /mnt
|
||||||
|
- rm -rf debian-10-container
|
||||||
|
- WORK_DIR=`pwd`
|
||||||
|
- yum install xz -y
|
||||||
|
- cd /mnt/
|
||||||
|
- tar -xf Debian-10.tar.xz
|
||||||
|
- cd Debian-10
|
||||||
|
- wget https://gitee.com/deepin-community-store/repo_auto_update_script/raw/master/spark-build.sh
|
||||||
|
- chmod +x spark-build.sh
|
||||||
|
- mkdir build-spark
|
||||||
|
- cp -r $WORK_DIR build-spark/spark-store
|
||||||
|
- echo "进入Debian 10环境"
|
||||||
|
- chroot /mnt/Debian-10 /bin/bash /spark-build.sh
|
||||||
|
- cd /mnt/Debian-10/build-spark
|
||||||
|
artifacts:
|
||||||
|
- name: BUILD_ARTIFACT
|
||||||
|
path:
|
||||||
|
- /mnt/Debian-10/build-spark/target
|
||||||
|
caches: []
|
||||||
|
notify: []
|
||||||
|
strategy:
|
||||||
|
retry: '0'
|
||||||
|
- name: stage-29f3ffbb
|
||||||
|
displayName: 上传
|
||||||
|
strategy: naturally
|
||||||
|
trigger: auto
|
||||||
|
executor: []
|
||||||
|
steps:
|
||||||
|
- step: publish@general_artifacts
|
||||||
|
name: publish_general_artifacts
|
||||||
|
displayName: 上传制品
|
||||||
|
dependArtifact: BUILD_ARTIFACT
|
||||||
|
artifactName: output
|
||||||
|
notify: []
|
||||||
|
strategy:
|
||||||
|
retry: '0'
|
||||||
0
DOCS/.keep
Normal file
328
DOCS/code-analyze.md
Normal file
@@ -0,0 +1,328 @@
|
|||||||
|
|
||||||
|
#### 说明
|
||||||
|
|
||||||
|
当前服务器线路列表(项目中包含):
|
||||||
|
|
||||||
|
```
|
||||||
|
https://d.store.deepinos.org.cn/
|
||||||
|
https://store.deepinos.org.cn/
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# 星火应用商店文档
|
||||||
|
|
||||||
|
# 目录结构
|
||||||
|
几个目录结构
|
||||||
|
```
|
||||||
|
/
|
||||||
|
/icons 图标文件夹
|
||||||
|
/tags 首页图标
|
||||||
|
/tras 多语言翻译
|
||||||
|
```
|
||||||
|
|
||||||
|
主要的文件分析
|
||||||
|
```js
|
||||||
|
spark-store.pro Qt工程配置文件
|
||||||
|
ssinstall 调用包安装器的脚本
|
||||||
|
icons.qrc 图标资源文件
|
||||||
|
main.cpp 入口文件
|
||||||
|
widget.h widget.cpp widget.ui 主要窗口控件
|
||||||
|
downloadlist.h downloadlist.cpp downloadlist.ui 单个软件的下载安装展示控件
|
||||||
|
progressload.h progressload.cpp 网页加载显示? 得在deepin上编译运行才能搞清楚
|
||||||
|
workerthreads.h workerthreads.cpp 应用信息加载线程
|
||||||
|
image_show.h image_show.cpp 应用页面截图预览控件
|
||||||
|
big_image.h big_image.cpp 大图查看控件
|
||||||
|
```
|
||||||
|
|
||||||
|
# 使用的开源库及第三方工具
|
||||||
|
* GDebi 一个 Ubuntu 软件中心的轻量级替代品 https://linux.cn/article-4982-1.html
|
||||||
|
* libnotify 系统通知 https://developer.gnome.org/libnotify/unstable/
|
||||||
|
|
||||||
|
|
||||||
|
# 源码分析
|
||||||
|
## 应用的组成部分
|
||||||
|
左侧应用分类菜单
|
||||||
|
主窗口的下拉菜单
|
||||||
|
应用列表页面
|
||||||
|
应用详情页面
|
||||||
|
应用首页,有几个链接跳转
|
||||||
|
商店设置页面
|
||||||
|
下载列表页面
|
||||||
|
|
||||||
|
## 应用初始化,及主控件加载
|
||||||
|
初始化 `DApplication` 进入事件循环。
|
||||||
|
设置关于我们弹窗 `DAboutDialog`。
|
||||||
|
主控件 Widget 根据不同屏幕大小自适应。
|
||||||
|
首页打开webview页面,如果传入了`spk://`参数,会打开应用详情页。
|
||||||
|
```cpp
|
||||||
|
// main.cpp
|
||||||
|
QString arg1=argv[1];
|
||||||
|
if(arg1.left(6)=="spk://"){
|
||||||
|
w.openUrl(QUrl(argv[1]));
|
||||||
|
}
|
||||||
|
|
||||||
|
// widget.cpp
|
||||||
|
void Widget::openUrl(QUrl u)
|
||||||
|
{
|
||||||
|
QString app=serverUrl + "store"+u.path()+"/app.json";
|
||||||
|
ui->webEngineView->setUrl(app); // 会触发 webEngineView 的
|
||||||
|
}
|
||||||
|
|
||||||
|
```
|
||||||
|
## Tags处理方式
|
||||||
|
|
||||||
|
**Tags处理方式**
|
||||||
|
```cpp
|
||||||
|
// widget.cpp
|
||||||
|
QString tags=json["Tags"].toString(); //Read the Tags
|
||||||
|
QStringList tagList=tags.split(";");
|
||||||
|
for (int i=0;i<tagList.size();i++) {
|
||||||
|
if(tagList[i]=="community")
|
||||||
|
ui->tag_community->show();//Tags icon shows like this
|
||||||
|
if(tagList[i]=="ubuntu")
|
||||||
|
ui->tag_ubuntu->show();
|
||||||
|
if(tagList[i]=="deepin")
|
||||||
|
ui->tag_deepin->show();
|
||||||
|
if(tagList[i]=="uos")
|
||||||
|
ui->tag_uos->show();
|
||||||
|
if(tagList[i]=="dtk5")
|
||||||
|
ui->tag_dtk5->show();
|
||||||
|
if(tagList[i]=="dwine2")
|
||||||
|
ui->tag_dwine2->show();
|
||||||
|
if(tagList[i]=="dwine5")
|
||||||
|
ui->tag_dwine5->show();
|
||||||
|
if(tagList[i]=="a2d")
|
||||||
|
ui->tag_a2d->show();
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
**Widget 初始化**
|
||||||
|
```cpp
|
||||||
|
void Widget::initConfig()
|
||||||
|
{
|
||||||
|
...
|
||||||
|
// 读取服务器URL并初始化菜单项的链接
|
||||||
|
QSettings readConfig(QDir::homePath()+"/.config/spark-store/config.ini",QSettings::IniFormat);
|
||||||
|
if(readConfig.value("server/choose").toString()!=""){
|
||||||
|
ui->comboBox_server->setCurrentText(readConfig.value("server/choose").toString());
|
||||||
|
appinfoLoadThread.setServer(serverUrl=readConfig.value("server/choose").toString());
|
||||||
|
}else {
|
||||||
|
appinfoLoadThread.setServer(serverUrl="http://sucdn.jerrywang.top/"); // 默认URL
|
||||||
|
}
|
||||||
|
configCanSave=true; // 防止触发保存配置信号
|
||||||
|
menuUrl[0]=serverUrl + "store/#/"; // 首页
|
||||||
|
// 下面是各个应用分类页面,直接加载的webview的
|
||||||
|
// 每个连接对应一个左侧的菜单项,在构造函数用连接到 chooseLeftMenu 槽函数
|
||||||
|
menuUrl[1]=serverUrl + "store/#/network";
|
||||||
|
...
|
||||||
|
menuUrl[12]=serverUrl + "store/#/others";
|
||||||
|
...
|
||||||
|
ui->webfoot->hide();
|
||||||
|
|
||||||
|
//初始化首页
|
||||||
|
ui->webEngineView->setUrl(menuUrl[0]);
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* 菜单切换逻辑
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
void Widget::chooseLeftMenu(int index)
|
||||||
|
{
|
||||||
|
nowMenu=index;
|
||||||
|
updateUI();
|
||||||
|
left_list[index]->setStyleSheet("color:#FFFFFF;background-color:"+main_color.name()+";border-radius:8;border:0px");
|
||||||
|
// index <=12 加载某个分类的应用列表的webviejw
|
||||||
|
// index == 13 加载下载列表页面
|
||||||
|
if(index<=12){
|
||||||
|
if(themeIsDark){
|
||||||
|
darkurl = 夜间模式的URL
|
||||||
|
ui->webEngineView->setUrl(darkurl);
|
||||||
|
}else {
|
||||||
|
ui->webEngineView->setUrl(menuUrl[index]);
|
||||||
|
}
|
||||||
|
ui->stackedWidget->setCurrentIndex(0);
|
||||||
|
}else if (index==13) {
|
||||||
|
ui->stackedWidget->setCurrentIndex(1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## 应用下载安装卸载分析
|
||||||
|
**应用详情页面加载**
|
||||||
|
```cpp
|
||||||
|
/**
|
||||||
|
* 加载单个应用的信息
|
||||||
|
*/
|
||||||
|
void Widget::on_webEngineView_urlChanged(const QUrl &arg1)
|
||||||
|
{
|
||||||
|
//分析出服务器中的分类名称
|
||||||
|
...
|
||||||
|
//如果是app.json就打开详情页
|
||||||
|
if(arg1.path().right(8)=="app.json"){
|
||||||
|
...
|
||||||
|
// 读取相应的应用信息
|
||||||
|
appinfoLoadThread.requestInterruption();
|
||||||
|
appinfoLoadThread.wait(100);
|
||||||
|
appinfoLoadThread.setUrl(arg1);
|
||||||
|
appinfoLoadThread.start();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// 设置详情页的APP信息
|
||||||
|
SpkAppInfoLoaderThread::requestSetAppInformation() -> Widget::sltAppinfoDetails()
|
||||||
|
// 设置详情页的APP图标
|
||||||
|
SpkAppInfoLoaderThread::finishedIconLoad() -> Widget::sltAppinfoIcon()
|
||||||
|
// 设置详情页的APP截图
|
||||||
|
SpkAppInfoLoaderThread::finishedScreenshotLoad() -> Widget::sltAppinfoScreenshot()
|
||||||
|
|
||||||
|
// 下载APP详情信息线程
|
||||||
|
void SpkAppInfoLoaderThread::run()
|
||||||
|
{
|
||||||
|
QProcess get_json;
|
||||||
|
get_json.start("curl -o app.json " + targetUrl.toString());
|
||||||
|
QFile app_json("app.json");
|
||||||
|
读取 app.json 里的信息,提取应用名、描述、图标、截图
|
||||||
|
处理完毕后发射相应的信号
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
**应用下载**
|
||||||
|
Widget::on_pushButton_download_clicked() 是点击下载的安装方法。
|
||||||
|
最终使用的是 `QNetwrokAccessManager` 进行GET请求获取数据写入文件。
|
||||||
|
```cpp
|
||||||
|
void Widget::on_pushButton_download_clicked()
|
||||||
|
{
|
||||||
|
if(!isBusy){
|
||||||
|
file = new QFile(fileName);
|
||||||
|
...
|
||||||
|
nowDownload+=1;
|
||||||
|
startRequest(urList.at(nowDownload-1)); // 进行链接请求
|
||||||
|
}
|
||||||
|
}
|
||||||
|
void Widget::startRequest(QUrl url)
|
||||||
|
{
|
||||||
|
reply = manager->get(QNetworkRequest(url));
|
||||||
|
// 请求响应完成,关闭文件,清理下载队列
|
||||||
|
connect(reply,SIGNAL(finished()),this,SLOT(httpFinished()));
|
||||||
|
// 接收应用下载数据
|
||||||
|
connect(reply,SIGNAL(readyRead()),this,SLOT(httpReadyRead()));
|
||||||
|
// 更新应用下载进度
|
||||||
|
connect(reply,SIGNAL(downloadProgress(qint64,qint64)),this,SLOT(updateDataReadProgress(qint64,qint64)));
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
使用 QSettings 来读取配置,更换服务源
|
||||||
|
```cpp
|
||||||
|
void Widget::on_comboBox_server_currentIndexChanged(const QString &arg1)
|
||||||
|
{
|
||||||
|
appinfoLoadThread.setServer(arg1); // 服务器信息更新
|
||||||
|
if(configCanSave){
|
||||||
|
ui->label_setting1->show();
|
||||||
|
QSettings *setConfig=new QSettings(QDir::homePath()+"/.config/spark-store/config.ini",QSettings::IniFormat);
|
||||||
|
setConfig->setValue("server/choose",arg1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
使用 `QProcess` 来调用各种小文件下载、包安装卸载的命令。
|
||||||
|
|
||||||
|
**应用安装**
|
||||||
|
```cpp
|
||||||
|
void Widget::httpFinished() // 完成下载
|
||||||
|
{
|
||||||
|
...清理资源
|
||||||
|
download_list[nowDownload-1].readyInstall();
|
||||||
|
download_list[nowDownload-1].free=true;
|
||||||
|
if(nowDownload<allDownload){ // 如果有排队则下载下一个
|
||||||
|
...队列的下一个下载请求
|
||||||
|
}
|
||||||
|
}
|
||||||
|
void downloadlist::readyInstall()
|
||||||
|
{
|
||||||
|
...将安装按钮设置为允许点击
|
||||||
|
ui->pushButton_install->setEnabled(true);
|
||||||
|
ui->pushButton_install->show();
|
||||||
|
ui->pushButton_2->hide();
|
||||||
|
Widget::sendNotification(tr("Finished downloading %1, awaiting to install").arg(ui->label->text()), 5000,
|
||||||
|
"/tmp/spark-store/icon_"+QString::number(num).toUtf8()+".png");
|
||||||
|
}
|
||||||
|
void downloadlist::on_pushButton_install_clicked()
|
||||||
|
{
|
||||||
|
//弹出菜单
|
||||||
|
menu_install->exec(cursor().pos());
|
||||||
|
}
|
||||||
|
在 downloadlist 构造函数里将三种安装方式的按钮按条件放入了 menu_install 菜单里
|
||||||
|
用户点击时,downloadlist::install() 方法
|
||||||
|
三种安装方式为: gdebi, dpkg, deepin-deb-installer
|
||||||
|
void downloadlist::install(int t)
|
||||||
|
{
|
||||||
|
QtConcurrent::run([=](){
|
||||||
|
QProcess installer;
|
||||||
|
installer.start("pkexec gdebi -n /tmp/spark-store/"+ui->label_filename->text().toUtf8());
|
||||||
|
installer.start("pkexec ssinstall /tmp/spark-store/"+ui->label_filename->text().toUtf8());
|
||||||
|
installer.start("deepin-deb-installer /tmp/spark-store/"+ui->label_filename->text().toUtf8());
|
||||||
|
});
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
**应用卸载**
|
||||||
|
```cpp
|
||||||
|
void Widget::on_pushButton_uninstall_clicked()
|
||||||
|
{
|
||||||
|
QtConcurrent::run([=](){
|
||||||
|
uninstall.start("pkexec apt purge -y "+pkgName);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
**仓库源更新**
|
||||||
|
```cpp
|
||||||
|
// 更新源列表
|
||||||
|
void Widget::on_pushButton_updateServer_clicked()
|
||||||
|
{
|
||||||
|
QtConcurrent::run([=](){
|
||||||
|
...
|
||||||
|
QFile::remove(QDir::homePath().toUtf8()+"/.config/spark-store/server.list");
|
||||||
|
system("curl -o "+QDir::homePath().toUtf8()+"/.config/spark-store/server.list http://dcstore.shenmo.tech/store/server.list");
|
||||||
|
server.open(QDir::homePath().toUtf8()+"/.config/spark-store/server.list",std::ios::in);
|
||||||
|
...
|
||||||
|
while (getline(server,lineTmp)) {
|
||||||
|
ui->comboBox_server->addItem(QString::fromStdString(lineTmp));
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
// 更新星火商店apt源
|
||||||
|
void Widget::on_pushButton_updateApt_clicked()
|
||||||
|
{
|
||||||
|
QtConcurrent::run([=](){
|
||||||
|
读取 comboBox_server 的内容,写入 /tmp/spark-store/sparkstore.list 文件
|
||||||
|
创建bash脚本,内容为将 sparkstore.list 移动到 /etc/apt/sources.list.d/ 目录下
|
||||||
|
使用QProcess 执行命令 pkexec update.sh
|
||||||
|
}):
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## 发送系统通知
|
||||||
|
```cpp
|
||||||
|
#include <libnotify/notify.h>
|
||||||
|
|
||||||
|
static NotifyNotification *_notify = nullptr; // 初始化
|
||||||
|
notify_init(tr("Spark\\ Store").toLocal8Bit()); // 构造函数初始化
|
||||||
|
notify_uninit(); // 析构函数调用
|
||||||
|
|
||||||
|
void Widget::sendNotification(const QString &message, const int msTimeout, const QString &icon)
|
||||||
|
{
|
||||||
|
if(_notify == nullptr)
|
||||||
|
{
|
||||||
|
_notify = notify_notification_new(tr("Spark\\ Store").toLocal8Bit(), message.toLocal8Bit(), icon.toLocal8Bit());
|
||||||
|
notify_notification_set_timeout(_notify, msTimeout);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
notify_notification_update(_notify, tr("Spark\\ Store").toLocal8Bit(), message.toLocal8Bit(), icon.toLocal8Bit());
|
||||||
|
|
||||||
|
notify_notification_show(_notify, nullptr);
|
||||||
|
}
|
||||||
|
```
|
||||||
25
DOCS/spk-doc.md
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
#### 调用参数(spk规则)
|
||||||
|
|
||||||
|
参数只有一个Url,该url应当遵循这种格式:`spk://<任意合法字符>/web分类/包名`
|
||||||
|
|
||||||
|
例如:
|
||||||
|
|
||||||
|
[spk://abcdefg/games/store.spark-app.hmcl](spk://abcdefg/games/store.spark-app.hmcl)
|
||||||
|
|
||||||
|
|
||||||
|
可选的web分类:
|
||||||
|
|
||||||
|
| 分类名称 | web分类 |
|
||||||
|
| -------- | -------------- |
|
||||||
|
| 网络应用 | network |
|
||||||
|
| 社交沟通 | chat |
|
||||||
|
| 音乐欣赏 | music |
|
||||||
|
| 视频播放 | video |
|
||||||
|
| 图形图像 | graphics |
|
||||||
|
| 游戏娱乐 | games |
|
||||||
|
| 办公学习 | office |
|
||||||
|
| 阅读翻译 | reading |
|
||||||
|
| 编程开发 | development |
|
||||||
|
| 系统工具 | tools |
|
||||||
|
| 主题美化 | beautify |
|
||||||
|
| 其他应用 | others |
|
||||||
33
Jenkinsfile
vendored
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
pipeline {
|
||||||
|
agent any
|
||||||
|
stages {
|
||||||
|
stage('build') {
|
||||||
|
agent {
|
||||||
|
docker {
|
||||||
|
image 'jerry979/dtke:5.11.1'
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
steps {
|
||||||
|
sh 'mkdir build && cd build && qmake .. && make '
|
||||||
|
archiveArtifacts(artifacts: 'build/src/spark-store', allowEmptyArchive: true, defaultExcludes: true)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
stage('send') {
|
||||||
|
agent {
|
||||||
|
dockerfile {
|
||||||
|
filename '.gitee/Dockerfile'
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
environment {
|
||||||
|
gitee_token = credentials('1')
|
||||||
|
}
|
||||||
|
steps {
|
||||||
|
sh "python3 .gitee/callback.py"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
128
README.md
@@ -1,55 +1,73 @@
|
|||||||
# 星火商店
|
# Spark App Store
|
||||||
|
[](https://gitee.com/deepin-community-store/spark-store/stargazers) [](https://gitee.com/deepin-community-store/spark-store/members)
|
||||||
#### 介绍
|
|
||||||
星火商店商店,由深度社区爱好者维护
|
Spark Store aims to collect Linux apps for the convieniece of Linux new comers
|
||||||
web页面部分正在开发当中,详情请见[web仓库](https://gitee.com/deepin-community-store/DCSAPP_WEB)
|
|
||||||
|
The collecting process needs everyone's help
|
||||||
#### 说明
|
|
||||||
|
We set up this APP Store and collect APPs/tools that everyone need widely. Also we pack Windows apps with wine.
|
||||||
当前服务器线路列表(项目中包含):
|
|
||||||
|
All packages will be shared in our repository for users to get freely.
|
||||||
```
|
|
||||||
http://cdn.jerrywang.top/
|
Distrobution supported:Deepin 20 ; Ubuntu 22.04 LTS / Ubuntu 20.04 LTS(May stop support in the future) ; UniontechOS Home 21
|
||||||
http://sucdn.jerrywang.top/
|
|
||||||
http://store.jerrywang.top/
|
*About OpenKylin and deepin 23*
|
||||||
http://dcstore.shenmo.tech/
|
|
||||||
```
|
The adaptation work is scheduled after their official release.
|
||||||
|
|
||||||
#### 参数
|
You can track our Issue resoving progress here https://gitee.com/deepin-community-store/spark-store/board
|
||||||
|
|
||||||
参数只有一个Url,该url应当遵循这种格式:`spk://<任意合法字符>/web分类/包名`
|
|
||||||
|
We hope people who see here can also join our team,development help or submit applications are welcomed
|
||||||
例如:
|
|
||||||
|
If you want to submit an APP to share with others,Please [Click here](https://upload.deepinos.org/index)
|
||||||
[spk://abcdefg/network/firefox-zh](spk://abcdefg/network/firefox-zh)
|
|
||||||
|
|
||||||
[spk://higklmn/network/firefox-zh](spk://higklmn/network/firefox-zh)
|
## 🙌 A simple start
|
||||||
|
|
||||||
可选的web分类:
|
If you simply want to install the Spark Store,just enter the [Release] page, find the version you want and install.
|
||||||
|
|
||||||
| 分类名称 | web分类 |
|
If you are using Debian11/Ubuntu 20.04, you will need extra dependency package. Available [here](https://code.gitlink.org.cn/shenmo7192/spark-store-dependencies/raw/branch/master/spark-store-dependencies-kylin.zip)
|
||||||
| -------- | -------------- |
|
|
||||||
| 网络应用 | network |
|
---
|
||||||
| 社交沟通 | chat |
|
#### Compile and developement
|
||||||
| 音乐欣赏 | music |
|
|
||||||
| 视频播放 | video |
|
|
||||||
| 图形图像 | image_graphics |
|
For Deepin V20/UOS 21/ Debian 11
|
||||||
| 游戏娱乐 | games |
|
|
||||||
| 办公学习 | office |
|
```shell
|
||||||
| 阅读翻译 | reading |
|
sudo apt install git qt5-default debhelper pkg-config qtchooser libqt5core5a libqt5gui5 libqt5widgets5 libqt5network5 libqt5concurrent5 libdtkcore-dev libdtkgui-dev libdtkwidget-dev qttools5-private-dev libnotify-dev qtwebengine5-dev
|
||||||
| 编程开发 | development |
|
|
||||||
| 系统工具 | tools |
|
```
|
||||||
| 主题美化 | themes |
|
|
||||||
| 其他应用 | others |
|
Ubuntu 22.04
|
||||||
|
```shell
|
||||||
#### 目录结构
|
sudo apt install git qtbase5-dev debhelper pkg-config qtchooser libqt5core5a libqt5gui5 libqt5widgets5 libqt5network5 libqt5concurrent5 libdtkcore-dev libdtkgui-dev libdtkwidget-dev qttools5-private-dev libnotify-dev qtwebengine5-dev
|
||||||
|
|
||||||
安装软件过程中产生的包,图标,截图等被储存到`/tmp/deepin-community-store/`中。
|
```
|
||||||
|
|
||||||
配置文件被储存到`~/.config/deepin-community-store/`中。
|
Then
|
||||||
|
|
||||||
线路文件:新版的线路文件被放置于源服务器中,可随时刷新更新源列表
|
```shell
|
||||||
|
git clone https://gitee.com/deepin-community-store/spark-store.git
|
||||||
#### 参与贡献
|
cd spark-store
|
||||||
|
dpkg-buildpackage
|
||||||
1. Fork 本仓库
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## 🚀 Coorperation
|
||||||
|
|
||||||
|
We use Gitee as our code hosting platform. Please click here to contact us.
|
||||||
|
|
||||||
|
https://gitee.com/deepin-community-store/spark-store
|
||||||
|
|
||||||
|
### Rocket Chat
|
||||||
|
|
||||||
|
https://chat.shenmo.tech/
|
||||||
|
|
||||||
|
PWA Client:
|
||||||
|
|
||||||
|
spk://store/chat/store.spark-app.feedback
|
||||||
|
|
||||||
|
(Copy and paste to search bar or in browser address bar after installing Spark Store)
|
||||||
66
README.zh.md
Normal file
@@ -0,0 +1,66 @@
|
|||||||
|
# 星火应用商店
|
||||||
|
[](https://gitee.com/deepin-community-store/spark-store/stargazers) [](https://gitee.com/deepin-community-store/spark-store/members)
|
||||||
|
|
||||||
|
众所周知,国内的Linux应用比较少,wine应用难以获取,优质工具分散在民间各大论坛,无法形成合力,难以改善生态
|
||||||
|
|
||||||
|
生态构建需要的不是某一方的单打独斗,而是人人行动起来,汇聚星火,产生燎原之势
|
||||||
|
|
||||||
|
我们创建了这个应用商店,广泛收录大家需要的软件包,搜集优质小工具,主动适配wine应用,存放到储存库供大家获取
|
||||||
|
我们支持:Deepin 20 ; Ubuntu 22.04 LTS / Ubuntu 20.04 LTS(将会逐渐停止支持) ; UOS Home 21
|
||||||
|
|
||||||
|
*关于OpenKylin和deepin 23*
|
||||||
|
|
||||||
|
支持计划将会在对应系统发布正式版之后开始评估和执行
|
||||||
|
|
||||||
|
希望看到这里的人也可以加入我们的队伍,开发或者投递应用都很欢迎,共同构建Linux应用生态
|
||||||
|
|
||||||
|
在这里追踪我们的Issue处理情况 https://gitee.com/deepin-community-store/spark-store/board
|
||||||
|
|
||||||
|
如果有想要提交的软件包,请 [在这里投稿](https://upload.deepinos.org/index)
|
||||||
|
|
||||||
|
|
||||||
|
## 🙌 简单的开始
|
||||||
|
|
||||||
|
如果想安装 `星火应用商店` ,请打开右侧的 [Release] 页面,找到最新版本,并选择适用于当前系统的安装包下载。
|
||||||
|
|
||||||
|
如果你在使用 `Debian 11/Ubuntu 20.04`,你需要额外下载[依赖补充包](https://code.gitlink.org.cn/shenmo7192/spark-store-dependencies/raw/branch/master/spark-store-dependencies-kylin.zip)
|
||||||
|
|
||||||
|
---
|
||||||
|
#### 编译安装
|
||||||
|
|
||||||
|
|
||||||
|
Deepin V20/UOS 21 系统下, 安装依赖
|
||||||
|
|
||||||
|
```shell
|
||||||
|
sudo apt install git qt5-default debhelper pkg-config qtchooser libqt5core5a libqt5gui5 libqt5widgets5 libqt5network5 libqt5concurrent5 libdtkcore-dev libdtkgui-dev libdtkwidget-dev qttools5-private-dev libnotify-dev qtwebengine5-dev fakeroot
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
Ubuntu 22.04 系统下, 安装依赖
|
||||||
|
```shell
|
||||||
|
sudo apt install git qtbase5-dev debhelper pkg-config qtchooser libqt5core5a libqt5gui5 libqt5widgets5 libqt5network5 libqt5concurrent5 libdtkcore-dev libdtkgui-dev libdtkwidget-dev qttools5-private-dev libnotify-dev qtwebengine5-dev
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
然后
|
||||||
|
```shell
|
||||||
|
git clone https://gitee.com/deepin-community-store/spark-store.git
|
||||||
|
cd spark-store
|
||||||
|
dpkg-buildpackage
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## 🚀 协作
|
||||||
|
|
||||||
|
非常感谢有兴趣的开发者或爱好者参与 `星火应用商店` 项目,分享你的见解与思路。
|
||||||
|
|
||||||
|
### 交流平台
|
||||||
|
|
||||||
|
https://chat.shenmo.tech/
|
||||||
|
|
||||||
|
客户端PWA:
|
||||||
|
|
||||||
|
spk://store/chat/store.spark-app.feedback
|
||||||
|
|
||||||
|
(安装星火商店后在浏览器打开或复制到搜索栏打开)
|
||||||
BIN
assets/fonts/Yukarimobile.ttf
Normal file
BIN
assets/fonts/hksnzt.ttf
Normal file
@@ -30,5 +30,32 @@
|
|||||||
<file>icons/homepage_dark.svg</file>
|
<file>icons/homepage_dark.svg</file>
|
||||||
<file>icons/category_active_dark.svg</file>
|
<file>icons/category_active_dark.svg</file>
|
||||||
<file>icons/category_active.svg</file>
|
<file>icons/category_active.svg</file>
|
||||||
|
<file>icons/refresh-page-dark.svg</file>
|
||||||
|
<file>icons/refresh-page.svg</file>
|
||||||
|
<file>icons/upgrades-symbolic_dark.svg</file>
|
||||||
|
<file>icons/upgrades-symbolic.svg</file>
|
||||||
|
</qresource>
|
||||||
|
<qresource prefix="/">
|
||||||
|
<file>tags/a2d.png</file>
|
||||||
|
<file>tags/community.svg</file>
|
||||||
|
<file>tags/deepin.svg</file>
|
||||||
|
<file>tags/logo_icon.svg</file>
|
||||||
|
<file>tags/uos-authorize.svg</file>
|
||||||
|
<file>tags/a2d-small.png</file>
|
||||||
|
<file>tags/community-small.png</file>
|
||||||
|
<file>tags/deepin-small.png</file>
|
||||||
|
<file>tags/dtk-small.png</file>
|
||||||
|
<file>tags/uos-small.png</file>
|
||||||
|
<file>tags/community.png</file>
|
||||||
|
<file>tags/ubuntu-small.png</file>
|
||||||
|
<file>tags/ubuntu.png</file>
|
||||||
|
<file>tags/dwine5-small.png</file>
|
||||||
|
<file>tags/dwine5.svg</file>
|
||||||
|
<file>tags/dwine2-small.png</file>
|
||||||
|
<file>spark-store.png</file>
|
||||||
|
<file>spark-logo.svg</file>
|
||||||
|
</qresource>
|
||||||
|
<qresource prefix="/fonts">
|
||||||
|
<file>fonts/hksnzt.ttf</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
3
assets/icons/category_active.svg
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
||||||
|
<path fill="#536076" d="M10.138807,3.52000025 L10.138,12.5230002 L14.6066017,8.05523757 L15.3137085,8.76234435 L9.65685425,14.4191986 L4,8.76234435 L4.70710678,8.05523757 L9.138,12.4870002 L9.138807,3.52000025 L10.138807,3.52000025 Z" transform="rotate(90 9.657 11.518)"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 366 B |
3
assets/icons/category_active_dark.svg
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
||||||
|
<path fill="#536076" d="M10.138807,3.52000025 L10.138,12.5230002 L14.6066017,8.05523757 L15.3137085,8.76234435 L9.65685425,14.4191986 L4,8.76234435 L4.70710678,8.05523757 L9.138,12.4870002 L9.138807,3.52000025 L10.138807,3.52000025 Z" transform="rotate(90 9.657 11.518)"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 366 B |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 523 B After Width: | Height: | Size: 523 B |
|
Before Width: | Height: | Size: 553 B After Width: | Height: | Size: 553 B |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 865 B After Width: | Height: | Size: 865 B |
|
Before Width: | Height: | Size: 895 B After Width: | Height: | Size: 895 B |
|
Before Width: | Height: | Size: 929 B After Width: | Height: | Size: 929 B |
|
Before Width: | Height: | Size: 959 B After Width: | Height: | Size: 959 B |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 810 B After Width: | Height: | Size: 810 B |
|
Before Width: | Height: | Size: 828 B After Width: | Height: | Size: 828 B |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
54
assets/icons/refresh-page-dark.svg
Normal file
@@ -0,0 +1,54 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
|
||||||
|
height="16"
|
||||||
|
width="16"
|
||||||
|
sodipodi:docname="refresh-page-dark.svg"
|
||||||
|
xml:space="preserve"
|
||||||
|
viewBox="0 0 16 16"
|
||||||
|
y="0px"
|
||||||
|
x="0px"
|
||||||
|
id="Layer_1"
|
||||||
|
version="1.1"><metadata
|
||||||
|
id="metadata9"><rdf:RDF><cc:Work
|
||||||
|
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
|
||||||
|
id="defs7" /><sodipodi:namedview
|
||||||
|
inkscape:current-layer="Layer_1"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:window-y="0"
|
||||||
|
inkscape:window-x="0"
|
||||||
|
inkscape:cy="8.8351119"
|
||||||
|
inkscape:cx="12.452215"
|
||||||
|
inkscape:zoom="34.711876"
|
||||||
|
showgrid="true"
|
||||||
|
id="namedview5"
|
||||||
|
inkscape:window-height="958"
|
||||||
|
inkscape:window-width="1920"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
guidetolerance="10"
|
||||||
|
gridtolerance="10"
|
||||||
|
objecttolerance="10"
|
||||||
|
borderopacity="1"
|
||||||
|
bordercolor="#666666"
|
||||||
|
pagecolor="#ffffff"><inkscape:grid
|
||||||
|
id="grid834"
|
||||||
|
type="xygrid" /></sodipodi:namedview>
|
||||||
|
<g
|
||||||
|
style="fill:#ffffff;fill-opacity:0.60000002"
|
||||||
|
transform="scale(0.03125,0.0312082)"
|
||||||
|
id="XMLID_2_">
|
||||||
|
<path
|
||||||
|
style="fill:#ffffff;fill-opacity:0.60000002"
|
||||||
|
d="M 436.6,75.4 C 390.1,28.9 326.7,0 256,0 114.5,0 0,114.5 0,256 0,397.5 114.5,512 256,512 375.2,512 474.8,430.1 503.6,320.2 h -67 C 410.5,394.7 339.8,447.7 256,447.7 149.9,447.7 64.2,362.1 64.2,255.9 64.2,149.7 149.9,64.2 256,64.2 c 53.1,0 100.5,22.3 135,56.8 L 287.7,224.3 H 512 V 0 Z"
|
||||||
|
id="XMLID_4_" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.9 KiB |
52
assets/icons/refresh-page.svg
Normal file
@@ -0,0 +1,52 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
|
||||||
|
height="16"
|
||||||
|
width="16"
|
||||||
|
sodipodi:docname="refresh-page.svg"
|
||||||
|
xml:space="preserve"
|
||||||
|
viewBox="0 0 16 16"
|
||||||
|
y="0px"
|
||||||
|
x="0px"
|
||||||
|
id="Layer_1"
|
||||||
|
version="1.1"><metadata
|
||||||
|
id="metadata9"><rdf:RDF><cc:Work
|
||||||
|
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
|
||||||
|
id="defs7" /><sodipodi:namedview
|
||||||
|
inkscape:current-layer="Layer_1"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:window-y="0"
|
||||||
|
inkscape:window-x="0"
|
||||||
|
inkscape:cy="8.8351119"
|
||||||
|
inkscape:cx="12.452215"
|
||||||
|
inkscape:zoom="34.711876"
|
||||||
|
showgrid="true"
|
||||||
|
id="namedview5"
|
||||||
|
inkscape:window-height="958"
|
||||||
|
inkscape:window-width="1920"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
guidetolerance="10"
|
||||||
|
gridtolerance="10"
|
||||||
|
objecttolerance="10"
|
||||||
|
borderopacity="1"
|
||||||
|
bordercolor="#666666"
|
||||||
|
pagecolor="#ffffff"><inkscape:grid
|
||||||
|
id="grid834"
|
||||||
|
type="xygrid" /></sodipodi:namedview>
|
||||||
|
<g
|
||||||
|
transform="scale(0.03125,0.0312082)"
|
||||||
|
id="XMLID_2_">
|
||||||
|
<path
|
||||||
|
d="M 436.6,75.4 C 390.1,28.9 326.7,0 256,0 114.5,0 0,114.5 0,256 0,397.5 114.5,512 256,512 375.2,512 474.8,430.1 503.6,320.2 h -67 C 410.5,394.7 339.8,447.7 256,447.7 149.9,447.7 64.2,362.1 64.2,255.9 64.2,149.7 149.9,64.2 256,64.2 c 53.1,0 100.5,22.3 135,56.8 L 287.7,224.3 H 512 V 0 Z"
|
||||||
|
id="XMLID_4_" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 494 B After Width: | Height: | Size: 494 B |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
7
assets/icons/upgrades-symbolic.svg
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
<svg width="16" height="16" xmlns="http://www.w3.org/2000/svg" stroke="null" style="vector-effect: non-scaling-stroke;">
|
||||||
|
|
||||||
|
<g stroke="null">
|
||||||
|
<title stroke="null">Layer 1</title>
|
||||||
|
<path transform="rotate(-180 8 8)" stroke="null" id="svg_1" d="m8,1c3.86599,0 7,3.13401 7,7c0,3.86599 -3.13401,7 -7,7c-3.86599,0 -7,-3.13401 -7,-7c0,-3.86599 3.13401,-7 7,-7zm1.5,7l-3,0c-0.27614,0 -0.5,0.22386 -0.5,0.5c0,0.27614 -0.22386,0.5 -0.5,0.5l0,0l-0.5,0c-0.10986,0 -0.21521,0.04364 -0.29289,0.12132c-0.16176,0.16176 -0.16176,0.42403 0,0.58579l0,0l2.93934,2.93934c0.19526,0.19526 0.51184,0.19526 0.7071,0l0,0l2.93934,-2.93934c0.07768,-0.07768 0.12132,-0.18304 0.12132,-0.2929c0,-0.22876 -0.18545,-0.41421 -0.41421,-0.41421l0,0l-0.5,0c-0.27614,0 -0.5,-0.22386 -0.5,-0.5c0,-0.27614 -0.22386,-0.5 -0.5,-0.5l0,0zm0,-2l-3,0c-0.27614,0 -0.5,0.22386 -0.5,0.5c0,0.27614 0.22386,0.5 0.5,0.5l0,0l3,0c0.27614,0 0.5,-0.22386 0.5,-0.5c0,-0.27614 -0.22386,-0.5 -0.5,-0.5l0,0zm0,-2l-3,0c-0.27614,0 -0.5,0.22386 -0.5,0.5c0,0.27614 0.22386,0.5 0.5,0.5l0,0l3,0c0.27614,0 0.5,-0.22386 0.5,-0.5c0,-0.27614 -0.22386,-0.5 -0.5,-0.5l0,0z" fill-rule="evenodd"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.1 KiB |
58
assets/icons/upgrades-symbolic_dark.svg
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
width="16"
|
||||||
|
height="16"
|
||||||
|
viewBox="0 0 16 16"
|
||||||
|
version="1.1"
|
||||||
|
id="svg4"
|
||||||
|
sodipodi:docname="downloads-symbolic_dark.svg"
|
||||||
|
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
|
||||||
|
<metadata
|
||||||
|
id="metadata10">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<defs
|
||||||
|
id="defs8" />
|
||||||
|
<sodipodi:namedview
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1"
|
||||||
|
objecttolerance="10"
|
||||||
|
gridtolerance="10"
|
||||||
|
guidetolerance="10"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:window-width="1920"
|
||||||
|
inkscape:window-height="982"
|
||||||
|
id="namedview6"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:zoom="14.75"
|
||||||
|
inkscape:cx="8"
|
||||||
|
inkscape:cy="8"
|
||||||
|
inkscape:window-x="0"
|
||||||
|
inkscape:window-y="0"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:current-layer="svg4" />
|
||||||
|
<path
|
||||||
|
transform="rotate(-180 8 8)"
|
||||||
|
fill="#FFF"
|
||||||
|
fill-opacity=".8"
|
||||||
|
fill-rule="evenodd"
|
||||||
|
d="M8,1 C11.8659932,1 15,4.13400675 15,8 C15,11.8659932 11.8659932,15 8,15 C4.13400675,15 1,11.8659932 1,8 C1,4.13400675 4.13400675,1 8,1 Z M9.5,8 L6.5,8 C6.22385763,8 6,8.22385763 6,8.5 C6,8.77614237 5.77614237,9 5.5,9 L5.5,9 L5,9 C4.89014373,9 4.78478689,9.04364023 4.70710678,9.12132034 C4.54534632,9.2830808 4.54534632,9.54534632 4.70710678,9.70710678 L4.70710678,9.70710678 L7.64644661,12.6464466 C7.84170876,12.8417088 8.15829124,12.8417088 8.35355339,12.6464466 L8.35355339,12.6464466 L11.2928932,9.70710678 C11.3705733,9.62942667 11.4142136,9.52406983 11.4142136,9.41421356 C11.4142136,9.18544973 11.2287638,9 11,9 L11,9 L10.5,9 C10.2238576,9 10,8.77614237 10,8.5 C10,8.22385763 9.77614237,8 9.5,8 L9.5,8 Z M9.5,6 L6.5,6 C6.22385763,6 6,6.22385763 6,6.5 C6,6.77614237 6.22385763,7 6.5,7 L6.5,7 L9.5,7 C9.77614237,7 10,6.77614237 10,6.5 C10,6.22385763 9.77614237,6 9.5,6 L9.5,6 Z M9.5,4 L6.5,4 C6.22385763,4 6,4.22385763 6,4.5 C6,4.77614237 6.22385763,5 6.5,5 L6.5,5 L9.5,5 C9.77614237,5 10,4.77614237 10,4.5 C10,4.22385763 9.77614237,4 9.5,4 L9.5,4 Z"
|
||||||
|
id="path2"
|
||||||
|
style="fill:#ffffff;fill-opacity:0.60000002" />
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 2.6 KiB |
253
assets/spark-logo.svg
Normal file
@@ -0,0 +1,253 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
sodipodi:docname="spark-logo.svg"
|
||||||
|
inkscape:version="1.1 (c4e8f9e, 2021-05-24)"
|
||||||
|
id="svg8"
|
||||||
|
version="1.1"
|
||||||
|
viewBox="0 0 180.00012 48.251057"
|
||||||
|
height="48.251057mm"
|
||||||
|
width="180.00012mm"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||||
|
<defs
|
||||||
|
id="defs2">
|
||||||
|
<linearGradient
|
||||||
|
id="linearGradient1200"
|
||||||
|
inkscape:collect="always">
|
||||||
|
<stop
|
||||||
|
id="stop1196"
|
||||||
|
offset="0"
|
||||||
|
style="stop-color:#000000;stop-opacity:0.1299435" />
|
||||||
|
<stop
|
||||||
|
id="stop1198"
|
||||||
|
offset="1"
|
||||||
|
style="stop-color:#dadada;stop-opacity:0.81960785" />
|
||||||
|
</linearGradient>
|
||||||
|
<linearGradient
|
||||||
|
inkscape:collect="always"
|
||||||
|
id="linearGradient1138">
|
||||||
|
<stop
|
||||||
|
style="stop-color:#99e7ea;stop-opacity:1"
|
||||||
|
offset="0"
|
||||||
|
id="stop1134" />
|
||||||
|
<stop
|
||||||
|
style="stop-color:#007ffc;stop-opacity:1"
|
||||||
|
offset="1"
|
||||||
|
id="stop1136" />
|
||||||
|
</linearGradient>
|
||||||
|
<linearGradient
|
||||||
|
id="linearGradient1128"
|
||||||
|
inkscape:collect="always">
|
||||||
|
<stop
|
||||||
|
id="stop1124"
|
||||||
|
offset="0"
|
||||||
|
style="stop-color:#99e7ea;stop-opacity:1" />
|
||||||
|
<stop
|
||||||
|
id="stop1126"
|
||||||
|
offset="1"
|
||||||
|
style="stop-color:#007ffc;stop-opacity:1" />
|
||||||
|
</linearGradient>
|
||||||
|
<inkscape:path-effect
|
||||||
|
only_selected="false"
|
||||||
|
apply_with_weight="true"
|
||||||
|
apply_no_weight="true"
|
||||||
|
helper_size="0"
|
||||||
|
steps="2"
|
||||||
|
weight="33.333333"
|
||||||
|
is_visible="true"
|
||||||
|
id="path-effect960"
|
||||||
|
effect="bspline"
|
||||||
|
lpeversion="0" />
|
||||||
|
<radialGradient
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
gradientTransform="matrix(1,0,0,0.98112945,0,3.7714702)"
|
||||||
|
r="90.135414"
|
||||||
|
fy="199.86011"
|
||||||
|
fx="100.35268"
|
||||||
|
cy="199.86011"
|
||||||
|
cx="100.35268"
|
||||||
|
id="radialGradient1130"
|
||||||
|
xlink:href="#linearGradient1128"
|
||||||
|
inkscape:collect="always" />
|
||||||
|
<radialGradient
|
||||||
|
r="90.135414"
|
||||||
|
fy="199.86011"
|
||||||
|
fx="100.35268"
|
||||||
|
cy="199.86011"
|
||||||
|
cx="100.35268"
|
||||||
|
gradientTransform="matrix(1,0,0,0.98112945,0,3.7714702)"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
id="radialGradient1132"
|
||||||
|
xlink:href="#linearGradient1138"
|
||||||
|
inkscape:collect="always" />
|
||||||
|
<radialGradient
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
gradientTransform="matrix(1,0,0,0.98112945,0,3.7714702)"
|
||||||
|
r="90.135414"
|
||||||
|
fy="199.86011"
|
||||||
|
fx="100.35268"
|
||||||
|
cy="199.86011"
|
||||||
|
cx="100.35268"
|
||||||
|
id="radialGradient1202"
|
||||||
|
xlink:href="#linearGradient1200"
|
||||||
|
inkscape:collect="always" />
|
||||||
|
<filter
|
||||||
|
id="filter1448"
|
||||||
|
inkscape:label="Drop Shadow"
|
||||||
|
style="color-interpolation-filters:sRGB">
|
||||||
|
<feFlood
|
||||||
|
id="feFlood1438"
|
||||||
|
result="flood"
|
||||||
|
flood-color="rgb(145,145,145)"
|
||||||
|
flood-opacity="0.372549" />
|
||||||
|
<feComposite
|
||||||
|
id="feComposite1440"
|
||||||
|
result="composite1"
|
||||||
|
operator="in"
|
||||||
|
in2="SourceGraphic"
|
||||||
|
in="flood" />
|
||||||
|
<feGaussianBlur
|
||||||
|
id="feGaussianBlur1442"
|
||||||
|
result="blur"
|
||||||
|
stdDeviation="5.2918"
|
||||||
|
in="composite1" />
|
||||||
|
<feOffset
|
||||||
|
id="feOffset1444"
|
||||||
|
result="offset"
|
||||||
|
dy="0"
|
||||||
|
dx="0" />
|
||||||
|
<feComposite
|
||||||
|
id="feComposite1446"
|
||||||
|
result="composite2"
|
||||||
|
operator="over"
|
||||||
|
in2="offset"
|
||||||
|
in="SourceGraphic" />
|
||||||
|
</filter>
|
||||||
|
<filter
|
||||||
|
id="filter2201"
|
||||||
|
inkscape:label="Drop Shadow"
|
||||||
|
style="color-interpolation-filters:sRGB">
|
||||||
|
<feFlood
|
||||||
|
id="feFlood2191"
|
||||||
|
result="flood"
|
||||||
|
flood-color="rgb(145,145,145)"
|
||||||
|
flood-opacity="0.372549" />
|
||||||
|
<feComposite
|
||||||
|
id="feComposite2193"
|
||||||
|
result="composite1"
|
||||||
|
operator="in"
|
||||||
|
in2="SourceGraphic"
|
||||||
|
in="flood" />
|
||||||
|
<feGaussianBlur
|
||||||
|
id="feGaussianBlur2195"
|
||||||
|
result="blur"
|
||||||
|
stdDeviation="3.76995"
|
||||||
|
in="composite1" />
|
||||||
|
<feOffset
|
||||||
|
id="feOffset2197"
|
||||||
|
result="offset"
|
||||||
|
dy="0"
|
||||||
|
dx="0" />
|
||||||
|
<feComposite
|
||||||
|
id="feComposite2199"
|
||||||
|
result="composite2"
|
||||||
|
operator="over"
|
||||||
|
in2="offset"
|
||||||
|
in="SourceGraphic" />
|
||||||
|
</filter>
|
||||||
|
</defs>
|
||||||
|
<sodipodi:namedview
|
||||||
|
inkscape:document-rotation="0"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:window-y="0"
|
||||||
|
inkscape:window-x="0"
|
||||||
|
inkscape:window-height="946"
|
||||||
|
inkscape:window-width="1920"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:current-layer="layer2"
|
||||||
|
inkscape:document-units="mm"
|
||||||
|
inkscape:cy="332.14286"
|
||||||
|
inkscape:cx="520.71429"
|
||||||
|
inkscape:zoom="0.7"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:pageopacity="0.0"
|
||||||
|
borderopacity="1.0"
|
||||||
|
bordercolor="#666666"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
id="base"
|
||||||
|
inkscape:pagecheckerboard="0" />
|
||||||
|
<metadata
|
||||||
|
id="metadata5">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<g
|
||||||
|
transform="translate(-34.291348,-63.035531)"
|
||||||
|
id="layer1"
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
inkscape:label="Layer 1" />
|
||||||
|
<g
|
||||||
|
inkscape:label="Layer 2"
|
||||||
|
id="layer2"
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
transform="translate(-34.291348,33.964469)">
|
||||||
|
<path
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
id="path1002"
|
||||||
|
d="m 50.895965,-25.80076 c 0,0 3.210258,-0.04536 6.509677,1.995776 3.299426,2.041135 5.216663,3.991553 5.840878,5.261592 0.624212,1.270041 2.67521,3.492613 2.630628,7.574884 -0.04461,4.0822665 -0.98091,6.8037874 -2.586039,9.0717077 -1.605128,2.26792732 -4.503272,3.9915518 -7.981044,4.0822737 -3.477778,0.090717 -5.707121,-2.17720666 -6.465096,-3.4472534 -0.757975,-1.270036 -1.070084,-3.9915518 -0.133761,-5.9419619 0.936325,-1.9504282 2.40769,-1.9504282 2.898147,-1.7689877 0.490455,0.181438 0.624213,0.4535811 0.891735,0.9525256 0.26752,0.4989447 0.44587,0.4082311 0.847161,0.1360795 0.401275,-0.2721541 0.535033,-0.5896654 0.445866,-0.9978916 -0.08917,-0.408231 -0.62422,-0.9071732 -1.070092,-1.0432502 -0.445865,-0.1360747 -1.070085,-0.5443017 -1.961822,-0.4082167 -0.891736,0.136065 -2.630623,0.5896548 -4.101988,2.585427 -1.471365,1.9957744 -1.29302,5.0801606 -0.401281,6.5316309 0.891737,1.45147531 2.586035,4.1729873 6.331332,5.1255217 3.745301,0.9525364 9.809105,-1.8597006 11.904684,-6.2141209 2.095577,-4.3544229 2.140168,-6.3955562 2.051001,-9.9788777 -0.08917,-3.583335 -3.254842,-8.935643 -6.777199,-10.886061 -3.522357,-1.950419 -6.152982,-3.084383 -8.872787,-2.630797 z"
|
||||||
|
style="fill:#ffc344;fill-opacity:1;stroke:none;stroke-width:0.0890379px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||||
|
<path
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
id="path1012"
|
||||||
|
d="m 52.759546,-7.6807986 c 0,0 -0.882776,-0.833911 -1.670967,0.6414663 -0.788192,1.4753675 -1.166523,2.790373 -0.378332,4.3940472 0.78819,1.6036647 2.427624,2.56586017 4.949854,2.53379165 2.522203,-0.0321084 4.382334,-0.64146726 5.485801,-2.46964635 1.103472,-1.8281836 1.954712,-3.1752577 2.049297,-3.8487984 0.09459,-0.6735444 0.599029,0.096216 0.441394,0.6735407 -0.15764,0.5773125 -0.126112,1.6998816 0.315273,1.4753653 0.441388,-0.2245063 0.788195,-0.5773163 0.851243,-0.4169509 0.06306,0.1603616 -0.50444,1.154644 -0.772422,1.6517766 -0.267993,0.4971326 -1.103472,1.699893 -1.592156,2.16494892 -0.488669,0.46506666 -1.166517,1.1225704 -1.970475,1.6036691 C 59.664103,1.2035109 58.418766,1.7647989 57.725156,1.893092 57.031546,2.0213857 55.644328,2.2940039 54.856131,2.2619316 54.067946,2.2298548 53.059055,2.0855246 51.939826,1.5242442 50.820592,0.96296626 49.606778,0.0969782 49.133864,-0.76900099 48.66095,-1.6349808 47.935815,-2.4207789 48.093452,-4.6017617 c 0.15764,-2.1809854 0.86701,-3.3035574 1.40298,-3.8167243 0.53597,-0.5131766 1.32416,-0.7376922 1.844369,-0.6254295 0.520205,0.1122529 0.851246,0.4169555 0.977357,0.6414613 0.126107,0.224512 0.331042,0.6414675 0.441388,0.7216556 z"
|
||||||
|
style="fill:#f06767;fill-opacity:1;stroke:none;stroke-width:0.0890379px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||||
|
<path
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
id="path1014"
|
||||||
|
d="m 60.767575,3.8655962 c 0,0 3.783317,-2.2130621 5.548864,-5.7090499 1.765551,-3.4959942 2.522214,-5.7411261 2.30152,-9.1729813 -0.220695,-3.431843 -0.756663,-1.731959 -0.157641,-3.207334 0.599026,-1.475377 -0.378328,-4.394049 0.03152,-4.586488 0.409861,-0.19244 1.292637,1.282934 1.544859,2.469649 0.252214,1.186712 1.355684,4.843067 0.472911,9.4937107 -0.882773,4.6506303 -2.963589,6.51088559 -4.350812,7.76175223 C 64.77157,2.1657114 61.618812,4.3467019 61.145898,4.314627 60.67298,4.2825186 60.609928,4.2825186 60.76756,3.8655962 Z"
|
||||||
|
style="fill:#3f62eb;fill-opacity:1;stroke:none;stroke-width:0.0890379px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||||
|
<path
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
id="path1016"
|
||||||
|
d="m 53.957602,-2.8698091 c 0,0 2.017773,0.4490302 3.562621,-0.5131634 1.544859,-0.9622063 2.742913,-2.5337986 2.932073,-3.1431917 0.189165,-0.6093954 0.220697,0.5452465 0.441386,-0.032045 0.220692,-0.5773293 1.10347,-1.7319649 0.662081,-4.4261318 -0.441389,-2.694157 -0.472916,-2.822457 -1.292627,-4.265758 -0.819727,-1.443301 -2.774446,-3.431845 -3.972493,-4.073313 -1.198047,-0.641466 -2.86901,-1.603666 -5.170538,-1.53952 -2.301517,0.06415 -1.544853,-0.09622 -3.751788,0.288661 -2.206938,0.384879 -4.193179,1.4433 -4.855258,2.02062 -0.66208,0.577321 -2.427629,2.148917 -3.058183,3.014896 -0.630554,0.865981 -2.364573,2.822454 -3.278875,5.5486918 -0.914302,2.7262327 -1.292635,3.0148925 -1.35569,4.8109998 -0.06306,1.7961094 0.157637,2.2772018 -0.220692,2.4375779 -0.378332,0.1603616 -0.315277,-1.3470823 -0.283751,-2.4055093 0.03153,-1.0584128 0.03153,-3.8167249 1.418745,-6.8957642 1.387216,-3.079043 3.846373,-5.644912 5.23359,-6.575039 1.387216,-0.930126 2.995127,-2.180987 5.485811,-2.790382 2.490685,-0.609392 4.981368,-0.513172 6.526228,-0.224513 1.544859,0.288661 3.94096,1.282935 5.23359,2.277208 1.292636,0.994275 2.711385,2.213062 3.78332,4.20161 1.07194,1.988545 1.355684,4.522341 1.324159,5.5807587 -0.03152,1.0584266 -0.567498,3.4960027 -1.387216,4.6827127 -0.819721,1.186715 -1.923185,2.597942 -3.05818,3.1111149 -1.135,0.5131697 -2.522222,0.6735396 -3.657204,0.1603641 C 54.08371,-2.132102 54.146768,-2.3245385 53.957602,-2.869785 Z"
|
||||||
|
style="fill:#fce102;fill-opacity:1;stroke:none;stroke-width:0.0890379px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||||
|
<path
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
id="path1018"
|
||||||
|
d="m 53.957602,-2.8698091 c 0,0 1.597697,0.4513829 2.946439,-0.1609516 1.348754,-0.6123403 1.850358,-1.2020043 2.173613,-1.5535277 0.323251,-0.3515343 0.936324,-1.0092338 1.103526,-1.3154017 0.167198,-0.3061663 0.345542,-0.4876031 0.345542,-0.6009978 0,-0.1133983 -0.312104,-0.3855536 -0.01112,-1.043249 0.300955,-0.6576966 0.568485,-2.1658733 0.434721,-2.8462471 -0.133762,-0.680377 -0.445868,-4.456482 -3.121079,-6.973885 -2.675203,-2.517401 -5.328127,-2.81223 -5.328127,-2.81223 0,0 4.235756,1.338077 6.219869,5.397669 1.984117,4.059596 1.337601,6.66771 0.06688,8.2552586 -1.270724,1.5875487 -3.076491,1.7689868 -3.566953,1.3607558 -0.490444,-0.4082292 -1.501077,1.8641068 -1.26328,2.2928065 z"
|
||||||
|
style="fill:#5ed938;fill-opacity:1;stroke:none;stroke-width:0.0890379px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||||
|
<path
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
id="path1020"
|
||||||
|
d="m 48.800383,-17.432105 c 0,0 -2.853557,-0.02267 -5.01602,1.406112 -2.16246,1.428797 -3.210252,2.585441 -3.812175,3.492612 -0.601919,0.907174 -1.293016,2.154531 -1.203842,2.131854 0.08917,-0.0227 2.60833,-3.53797 4.57015,-4.445139 1.961822,-0.907173 3.923641,-2.177213 6.621146,-1.247366 2.697505,0.929857 3.968232,2.222571 4.547859,1.905065 0.579629,-0.31751 0.691101,-0.70306 0.356697,-1.133966 -0.334399,-0.430906 -2.697508,-2.540081 -6.063815,-2.109172 z"
|
||||||
|
style="fill:#8fdbe9;fill-opacity:1;stroke:none;stroke-width:0.0890379px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||||
|
<path
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
id="path1022"
|
||||||
|
d="m 44.530829,0.69033794 c 0.189165,0.0962163 1.607908,2.56586906 2.742905,2.98282056 1.134994,0.4169541 1.891657,0.4490201 2.017767,0.6414685 0.126111,0.192439 0.09459,1.1546409 1.103469,1.5716019 1.008886,0.4169522 5.738036,1.7319552 7.09372,1.8602476 1.355695,0.1282956 0.2207,0.9301201 1.040416,1.2187811 0.819723,0.2886654 4.319291,0.4490282 5.170539,0.096218 0.851247,-0.3528 0.851247,0.3207371 -0.630553,0.8980604 -1.481799,0.577316 -5.391228,1.956476 -7.944967,1.635743 C 52.570379,11.274546 49.543723,10.729296 47.84123,9.5105098 46.138737,8.2917237 45.413601,7.7464765 46.044154,7.6502577 c 0.630553,-0.096225 2.30152,1.6998841 3.026654,1.8923257 0.725137,0.1924358 1.324162,0.1924358 0.882773,-0.2565932 C 49.512197,8.8369677 46.64318,6.8484212 46.359433,6.9446376 46.075682,7.0408596 45.476656,7.1050004 44.972214,6.4314646 44.467772,5.7579276 41.819449,2.0374171 41.977086,0.04887194 42.134727,-1.9396732 42.63917,-1.4265066 43.238195,-0.6888129 c 0.599024,0.73768484 1.292634,1.37915084 1.292634,1.37915084 z"
|
||||||
|
style="fill:#fd7aff;fill-opacity:1;stroke:none;stroke-width:0.0890379px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||||
|
<text
|
||||||
|
xml:space="preserve"
|
||||||
|
style="font-style:normal;font-weight:normal;font-size:1.28957px;line-height:1.25;font-family:sans-serif;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.0322394"
|
||||||
|
x="80.617455"
|
||||||
|
y="4.5832744"
|
||||||
|
id="text24207"><tspan
|
||||||
|
sodipodi:role="line"
|
||||||
|
id="tspan24205"
|
||||||
|
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:49.4338px;font-family:Yukarimobile;-inkscape-font-specification:'Yukarimobile, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#1d2129;fill-opacity:1;stroke-width:0.0322394"
|
||||||
|
x="80.617455"
|
||||||
|
y="4.5832744">spark</tspan></text>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 14 KiB |
BIN
assets/spark-store.png
Normal file
|
After Width: | Height: | Size: 6.5 KiB |
BIN
assets/spark-store.xcf
Normal file
BIN
assets/tags/a2d-small.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
assets/tags/a2d.png
Normal file
|
After Width: | Height: | Size: 248 KiB |
BIN
assets/tags/community-small.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
assets/tags/community.png
Normal file
|
After Width: | Height: | Size: 32 KiB |
240
assets/tags/community.svg
Normal file
@@ -0,0 +1,240 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
sodipodi:docname="deepin-community-store.svg"
|
||||||
|
inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
|
||||||
|
id="svg8"
|
||||||
|
version="1.1"
|
||||||
|
viewBox="0 0 200 200"
|
||||||
|
height="200mm"
|
||||||
|
width="200mm">
|
||||||
|
<defs
|
||||||
|
id="defs2">
|
||||||
|
<linearGradient
|
||||||
|
id="linearGradient1200"
|
||||||
|
inkscape:collect="always">
|
||||||
|
<stop
|
||||||
|
id="stop1196"
|
||||||
|
offset="0"
|
||||||
|
style="stop-color:#000000;stop-opacity:0.1299435" />
|
||||||
|
<stop
|
||||||
|
id="stop1198"
|
||||||
|
offset="1"
|
||||||
|
style="stop-color:#dadada;stop-opacity:0.81960785" />
|
||||||
|
</linearGradient>
|
||||||
|
<linearGradient
|
||||||
|
inkscape:collect="always"
|
||||||
|
id="linearGradient1138">
|
||||||
|
<stop
|
||||||
|
style="stop-color:#99e7ea;stop-opacity:1"
|
||||||
|
offset="0"
|
||||||
|
id="stop1134" />
|
||||||
|
<stop
|
||||||
|
style="stop-color:#007ffc;stop-opacity:1"
|
||||||
|
offset="1"
|
||||||
|
id="stop1136" />
|
||||||
|
</linearGradient>
|
||||||
|
<linearGradient
|
||||||
|
id="linearGradient1128"
|
||||||
|
inkscape:collect="always">
|
||||||
|
<stop
|
||||||
|
id="stop1124"
|
||||||
|
offset="0"
|
||||||
|
style="stop-color:#99e7ea;stop-opacity:1" />
|
||||||
|
<stop
|
||||||
|
id="stop1126"
|
||||||
|
offset="1"
|
||||||
|
style="stop-color:#007ffc;stop-opacity:1" />
|
||||||
|
</linearGradient>
|
||||||
|
<inkscape:path-effect
|
||||||
|
only_selected="false"
|
||||||
|
apply_with_weight="true"
|
||||||
|
apply_no_weight="true"
|
||||||
|
helper_size="0"
|
||||||
|
steps="2"
|
||||||
|
weight="33.333333"
|
||||||
|
is_visible="true"
|
||||||
|
id="path-effect960"
|
||||||
|
effect="bspline" />
|
||||||
|
<radialGradient
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
gradientTransform="matrix(1,0,0,0.98112945,0,3.7714702)"
|
||||||
|
r="90.135414"
|
||||||
|
fy="199.86011"
|
||||||
|
fx="100.35268"
|
||||||
|
cy="199.86011"
|
||||||
|
cx="100.35268"
|
||||||
|
id="radialGradient1130"
|
||||||
|
xlink:href="#linearGradient1128"
|
||||||
|
inkscape:collect="always" />
|
||||||
|
<radialGradient
|
||||||
|
r="90.135414"
|
||||||
|
fy="199.86011"
|
||||||
|
fx="100.35268"
|
||||||
|
cy="199.86011"
|
||||||
|
cx="100.35268"
|
||||||
|
gradientTransform="matrix(1,0,0,0.98112945,0,3.7714702)"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
id="radialGradient1132"
|
||||||
|
xlink:href="#linearGradient1138"
|
||||||
|
inkscape:collect="always" />
|
||||||
|
<radialGradient
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
gradientTransform="matrix(1,0,0,0.98112945,0,3.7714702)"
|
||||||
|
r="90.135414"
|
||||||
|
fy="199.86011"
|
||||||
|
fx="100.35268"
|
||||||
|
cy="199.86011"
|
||||||
|
cx="100.35268"
|
||||||
|
id="radialGradient1202"
|
||||||
|
xlink:href="#linearGradient1200"
|
||||||
|
inkscape:collect="always" />
|
||||||
|
<filter
|
||||||
|
id="filter1448"
|
||||||
|
inkscape:label="Drop Shadow"
|
||||||
|
style="color-interpolation-filters:sRGB;">
|
||||||
|
<feFlood
|
||||||
|
id="feFlood1438"
|
||||||
|
result="flood"
|
||||||
|
flood-color="rgb(145,145,145)"
|
||||||
|
flood-opacity="0.372549" />
|
||||||
|
<feComposite
|
||||||
|
id="feComposite1440"
|
||||||
|
result="composite1"
|
||||||
|
operator="in"
|
||||||
|
in2="SourceGraphic"
|
||||||
|
in="flood" />
|
||||||
|
<feGaussianBlur
|
||||||
|
id="feGaussianBlur1442"
|
||||||
|
result="blur"
|
||||||
|
stdDeviation="5.2918"
|
||||||
|
in="composite1" />
|
||||||
|
<feOffset
|
||||||
|
id="feOffset1444"
|
||||||
|
result="offset"
|
||||||
|
dy="0"
|
||||||
|
dx="0" />
|
||||||
|
<feComposite
|
||||||
|
id="feComposite1446"
|
||||||
|
result="composite2"
|
||||||
|
operator="over"
|
||||||
|
in2="offset"
|
||||||
|
in="SourceGraphic" />
|
||||||
|
</filter>
|
||||||
|
<filter
|
||||||
|
id="filter2201"
|
||||||
|
inkscape:label="Drop Shadow"
|
||||||
|
style="color-interpolation-filters:sRGB;">
|
||||||
|
<feFlood
|
||||||
|
id="feFlood2191"
|
||||||
|
result="flood"
|
||||||
|
flood-color="rgb(145,145,145)"
|
||||||
|
flood-opacity="0.372549" />
|
||||||
|
<feComposite
|
||||||
|
id="feComposite2193"
|
||||||
|
result="composite1"
|
||||||
|
operator="in"
|
||||||
|
in2="SourceGraphic"
|
||||||
|
in="flood" />
|
||||||
|
<feGaussianBlur
|
||||||
|
id="feGaussianBlur2195"
|
||||||
|
result="blur"
|
||||||
|
stdDeviation="3.76995"
|
||||||
|
in="composite1" />
|
||||||
|
<feOffset
|
||||||
|
id="feOffset2197"
|
||||||
|
result="offset"
|
||||||
|
dy="0"
|
||||||
|
dx="0" />
|
||||||
|
<feComposite
|
||||||
|
id="feComposite2199"
|
||||||
|
result="composite2"
|
||||||
|
operator="over"
|
||||||
|
in2="offset"
|
||||||
|
in="SourceGraphic" />
|
||||||
|
</filter>
|
||||||
|
</defs>
|
||||||
|
<sodipodi:namedview
|
||||||
|
inkscape:document-rotation="0"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:window-y="-8"
|
||||||
|
inkscape:window-x="-8"
|
||||||
|
inkscape:window-height="705"
|
||||||
|
inkscape:window-width="1366"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:current-layer="layer2"
|
||||||
|
inkscape:document-units="mm"
|
||||||
|
inkscape:cy="507.94585"
|
||||||
|
inkscape:cx="120.33119"
|
||||||
|
inkscape:zoom="0.35"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:pageopacity="0.0"
|
||||||
|
borderopacity="1.0"
|
||||||
|
bordercolor="#666666"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
id="base" />
|
||||||
|
<metadata
|
||||||
|
id="metadata5">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
<dc:title />
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<g
|
||||||
|
transform="translate(0,-97)"
|
||||||
|
id="layer1"
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
inkscape:label="Layer 1" />
|
||||||
|
<g
|
||||||
|
inkscape:label="Layer 2"
|
||||||
|
id="layer2"
|
||||||
|
inkscape:groupmode="layer">
|
||||||
|
<path
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
id="path1002"
|
||||||
|
d="m 91.937746,32.561862 c 0,0 11.145084,-0.157476 22.599704,6.928753 11.45465,7.086223 18.11074,13.857508 20.27783,18.266716 2.16708,4.409213 9.28755,12.125333 9.13277,26.297793 -0.15488,14.17244 -3.40543,23.620766 -8.97797,31.494326 -5.57254,7.87359 -15.63405,13.85751 -27.70786,14.17247 -12.073834,0.31494 -19.813464,-7.55863 -22.444934,-11.96786 -2.63147,-4.4092 -3.71502,-13.85751 -0.46438,-20.628766 3.25065,-6.77132 8.3588,-6.77132 10.06152,-6.14141 1.70272,0.6299 2.16709,1.5747 3.09585,3.30689 0.92875,1.73219 1.54793,1.41726 2.941094,0.47243 1.39311,-0.94484 1.85748,-2.04715 1.54792,-3.46439 -0.30958,-1.41726 -2.167114,-3.14944 -3.715054,-3.62186 -1.54791,-0.47241 -3.71502,-1.88966 -6.81087,-1.41721 -3.09585,0.47238 -9.13276,2.04711 -14.24091,8.97585 -5.10815,6.928746 -4.48899,17.636836 -1.39313,22.675926 3.09585,5.0391 8.97796,14.48739 21.98054,17.79431 13.002594,3.30693 34.054354,-6.45633 41.329594,-21.57361 7.27524,-15.117296 7.43004,-22.203516 7.12048,-34.643766 C 145.96036,67.048164 134.97008,48.466503 122.74148,41.69522 110.51288,34.923934 101.38012,30.987141 91.937746,32.561862 Z"
|
||||||
|
style="fill:#ffc344;fill-opacity:1;stroke:none;stroke-width:0.309114px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||||
|
<path
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
id="path1012"
|
||||||
|
d="m 98.407556,95.469094 c 0,0 -3.06474,-2.8951 -5.80111,2.22698 -2.73637,5.122046 -4.04983,9.687366 -1.31346,15.254856 2.73637,5.56745 8.42801,8.90792 17.184454,8.79659 8.75636,-0.11148 15.21419,-2.22699 19.0451,-8.5739 3.83094,-6.34692 6.7862,-11.02357 7.11457,-13.361906 0.32839,-2.33835 2.07965,0.334036 1.53239,2.338336 -0.54728,2.00426 -0.43783,5.9015 1.09454,5.12204 1.53237,-0.77942 2.73637,-2.00427 2.95526,-1.44753 0.21893,0.55673 -1.75127,4.00859 -2.68162,5.73449 -0.93039,1.7259 -3.83094,5.90153 -5.5275,7.51607 -1.69652,1.61458 -4.04981,3.89724 -6.84092,5.56747 -2.79109,1.67024 -7.11454,3.61887 -9.52255,4.06427 -2.40801,0.44539 -7.22403,1.39184 -9.96042,1.2805 -2.73635,-0.11137 -6.238924,-0.61243 -10.124564,-2.56104 -3.88565,-1.94859 -8.09966,-4.95505 -9.74148,-7.96148 -1.64182,-3.00643 -4.15928,-5.73449 -3.61201,-13.30623 0.54728,-7.571746 3.01001,-11.468986 4.87074,-13.250556 1.86073,-1.7816 4.5971,-2.56105 6.40311,-2.17131 1.806,0.38971 2.95528,1.44755 3.3931,2.22697 0.43781,0.77944 1.14928,2.22699 1.53237,2.50538 z"
|
||||||
|
style="fill:#f06767;fill-opacity:1;stroke:none;stroke-width:0.309114px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||||
|
<path
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
id="path1014"
|
||||||
|
d="m 126.2091,135.55481 c 0,0 13.13457,-7.6831 19.26404,-19.82016 6.12948,-12.13707 8.7564,-19.931516 7.99021,-31.845916 -0.76619,-11.91436 -2.62692,-6.01286 -0.54728,-11.13493 2.07964,-5.12208 -1.31345,-15.25486 0.10943,-15.922952 1.42292,-0.668097 4.48765,4.453972 5.3633,8.573902 0.87562,4.11992 4.70654,16.81372 1.64181,32.9594 -3.06472,16.145636 -10.28872,22.603906 -15.10475,26.946546 -4.81603,4.34261 -15.7615,11.91437 -17.40332,11.80302 -1.64183,-0.11148 -1.86073,-0.11148 -1.31348,-1.55891 z"
|
||||||
|
style="fill:#3f62eb;fill-opacity:1;stroke:none;stroke-width:0.309114px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||||
|
<path
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
id="path1016"
|
||||||
|
d="m 102.56686,112.17145 c 0,0 7.00512,1.5589 12.36838,-1.78156 5.3633,-3.3405 9.5226,-8.79661 10.17931,-10.912246 0.65672,-2.11564 0.76619,1.892936 1.53236,-0.11125 0.76618,-2.00432 3.83093,-6.01288 2.29855,-15.36624 -1.53237,-9.35333 -1.64182,-9.79875 -4.48762,-14.80947 -2.84586,-5.01072 -9.63207,-11.914367 -13.79134,-14.141356 -4.15927,-2.226986 -9.96037,-5.567464 -17.950604,-5.344766 -7.9902,0.222699 -5.36328,-0.334048 -13.02512,1.002146 -7.66184,1.336187 -14.55749,5.010717 -16.85604,7.015006 -2.29855,2.004286 -8.42802,7.46041 -10.61712,10.46684 -2.1891,3.00643 -8.20911,9.79874 -11.3833,19.26344 -3.17419,9.46469 -4.48765,10.46683 -4.70656,16.702396 -0.21891,6.23557 0.54727,7.90578 -0.76618,8.46256 -1.31346,0.55673 -1.09455,-4.67668 -0.9851,-8.35123 0.10946,-3.6745 0.10946,-13.250556 4.92547,-23.940086 4.81601,-10.68954 13.35349,-19.59749 18.1695,-22.826621 4.81601,-3.229128 10.39821,-7.571752 19.04514,-9.687392 8.64693,-2.115635 17.29386,-1.781586 22.65716,-0.779443 5.363304,1.002145 13.681874,4.453974 18.169504,7.905802 4.48766,3.45183 9.41314,7.683104 13.13459,14.586764 3.72146,6.90365 4.70654,15.70025 4.59709,19.37477 -0.10943,3.67455 -1.97019,12.137106 -4.81601,16.257016 -2.84583,4.11993 -6.67674,9.0193 -10.61711,10.80089 -3.94039,1.78157 -8.75642,2.33833 -12.69675,0.55674 -3.94039,-1.78161 -3.72147,-2.44969 -4.3782,-4.34263 z"
|
||||||
|
style="fill:#fce102;fill-opacity:1;stroke:none;stroke-width:0.309114px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||||
|
<path
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
id="path1018"
|
||||||
|
d="m 102.56686,112.17145 c 0,0 5.54674,1.56707 10.22918,-0.55878 4.68248,-2.12587 6.4239,-4.17301 7.54615,-5.3934 1.12223,-1.22042 3.25064,-3.50376 3.83112,-4.56669 0.58046,-1.06292 1.19962,-1.692816 1.19962,-2.086486 0,-0.39369 -1.08353,-1.33853 -0.0386,-3.62186 1.04482,-2.28333 1.97361,-7.51928 1.50922,-9.88134 -0.46438,-2.36207 -1.54792,-15.47161 -10.83547,-24.2113 -9.28753,-8.739679 -18.497714,-9.763243 -18.497714,-9.763243 0,0 14.705314,4.645415 21.593574,18.739133 6.88828,14.09374 4.64376,23.14835 0.23218,28.65986 -4.41158,5.511506 -10.68068,6.141406 -12.38342,4.724146 -1.70268,-1.41725 -5.2113,6.47164 -4.38574,7.95996 z"
|
||||||
|
style="fill:#5ed938;fill-opacity:1;stroke:none;stroke-width:0.309114px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||||
|
<path
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
id="path1020"
|
||||||
|
d="m 84.662496,61.615394 c 0,0 -9.90672,-0.0787 -17.41416,4.88161 -7.50743,4.96037 -11.14506,8.9759 -13.23476,12.12533 -2.08969,3.14945 -4.48898,7.47991 -4.17939,7.40118 0.30958,-0.0788 9.05536,-12.2828 15.86623,-15.43223 6.81087,-3.14944 13.62174,-7.55865 22.98669,-4.33049 9.36495,3.22819 13.776544,7.71612 15.788844,6.61383 2.0123,-1.1023 2.3993,-2.44082 1.23835,-3.9368 -1.16094,-1.49598 -9.364964,-8.81842 -21.051804,-7.32243 z"
|
||||||
|
style="fill:#8fdbe9;fill-opacity:1;stroke:none;stroke-width:0.309114px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||||
|
<path
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
id="path1022"
|
||||||
|
d="m 69.839846,124.53124 c 0.65673,0.33404 5.58219,8.90795 9.52257,10.35548 3.94037,1.44755 6.56728,1.55888 7.0051,2.227 0.43782,0.66809 0.32837,4.00858 3.83092,5.45614 3.50256,1.44753 19.920794,6.01284 24.627334,6.45824 4.70658,0.4454 0.76621,3.22911 3.61202,4.23125 2.84584,1.00217 14.99532,1.5589 17.95061,0.33405 2.95527,-1.22483 2.95527,1.1135 -2.1891,3.1178 -5.14437,2.00427 -18.71677,6.79231 -27.58261,5.67882 -8.865864,-1.1135 -19.373534,-3.00644 -25.284094,-7.23772 -5.91056,-4.23126 -8.42802,-6.1242 -6.23892,-6.45824 2.18909,-0.33407 7.9902,5.9015 10.50766,6.56959 2.51746,0.66809 4.5971,0.66809 3.06473,-0.8908 -1.53236,-1.55888 -11.49275,-8.46253 -12.47784,-8.1285 -0.9851,0.33405 -3.06474,0.55674 -4.81602,-1.78159 -1.75127,-2.33832 -10.94548,-15.25485 -10.39821,-22.1585 0.54728,-6.90365 2.29856,-5.12208 4.3782,-2.56103 2.07964,2.56103 4.48765,4.78801 4.48765,4.78801 z"
|
||||||
|
style="fill:#fd7aff;fill-opacity:1;stroke:none;stroke-width:0.309114px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 13 KiB |
BIN
assets/tags/deepin-small.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
35
assets/tags/deepin.svg
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||||
|
<defs>
|
||||||
|
<path d="m17,129c0,-61.30371 49.69629,-111 111,-111c61.30371,0 111,49.69629 111,111c0,61.30371 -49.69629,111 -111,111c-61.30371,0 -111,-49.69629 -111,-111z" id="deepin-launcher-b"/>
|
||||||
|
<filter filterUnits="objectBoundingBox" y="-6.3%" x="-8.1%" height="116.2%" width="116.2%" id="deepin-launcher-a">
|
||||||
|
<feGaussianBlur stdDeviation="5"/>
|
||||||
|
</filter>
|
||||||
|
<path d="m172.29023,47.20405c-13.1683,-7.14564 -28.25541,-11.20405 -44.29023,-11.20405c-3.85759,0 -7.66034,0.23489 -11.39471,0.69114c-13.8375,19.06416 -21.01047,50.16415 -20.43985,69.1948c0,0 -0.90954,28.19993 18.37748,38.20231c0,0 17.33291,7.61701 29.14502,-17.01295c0,0 8.11834,-13.89983 4.81381,-45.31395c0,0 3.16155,0.55793 3.51901,1.05927c0.35746,0.49728 6.98241,24.18523 2.32747,44.13339c0,0 -4.28556,23.44132 -25.35592,28.80234c-21.06242,5.36102 -37.47784,-7.60893 -48.62269,-19.82688c-8.29983,-9.09853 -20.62176,-33.53254 -26.69028,-62.84231c-11.72709,15.56323 -18.67934,34.92741 -18.67934,55.91495c0,14.49236 3.31502,28.21045 9.22816,40.43737c20.53097,6.06549 72.70224,17.88328 105.89216,-6.44123c21.96964,-16.10443 19.13893,-41.89451 19.13893,-41.89451c-0.36372,-19.61754 -12.30727,-39.10374 -12.30727,-39.10374c46.44186,42.01354 18.99265,88.68931 18.99265,88.68931c-12.77926,26.10154 -39.04908,42.79526 -62.02961,50.25104c4.59324,0.69782 9.29685,1.05965 14.08498,1.05965c51.36266,0 93,-41.63639 93,-92.99789c0,-21.72407 -7.44877,-41.70884 -19.93152,-57.53933c-4.54487,0.31322 -9.825,0.49664 -15.30337,0.31684c0,0 -24.70889,1.15387 -38.56418,8.0646c0,0 -10.33212,4.60716 -20.65999,12.41858c0,0 -2.19192,1.09575 -2.08593,5.12183c0.09327,4.01362 -2.10288,14.71385 -9.42058,20.98539c0,0 -5.22329,2.68544 -2.61165,6.52889c0,0 3.52742,5.12183 8.49633,-0.25734c0,0 12.81233,-13.18228 13.59668,-34.42501c0,0 4.05314,-3.4616 10.45506,-4.48264c0,0 1.17863,31.86824 -14.63539,47.86878c0,0 -15.04241,16.38239 -19.87565,-7.93593c0,0 -5.88469,-23.16861 24.45027,-50.68289c0,0 20.448,-20.42091 32.46751,-29.98388c1.66104,0.69233 3.29908,1.42749 4.91265,2.20406l-0.00001,-0.00001zm-44.29023,183.79595c-56.33322,0 -102,-45.66583 -102,-101.99789c0,-56.33281 45.66752,-102.00211 102,-102.00211c56.33248,0 102,45.6693 102,102.00211c0,56.33206 -45.66678,101.99789 -102,101.99789z" id="deepin-launcher-f"/>
|
||||||
|
<filter filterUnits="objectBoundingBox" y="-.5%" x="-.5%" height="102%" width="101%" id="deepin-launcher-e"/>
|
||||||
|
<filter filterUnits="objectBoundingBox" y="-.5%" x="-.5%" height="102%" width="101%" id="deepin-launcher-g"/>
|
||||||
|
<linearGradient y2="97.178%" y1="4.64%" x2="50%" x1="50%" id="deepin-launcher-c">
|
||||||
|
<stop stop-color="#00ABFF" offset="0%"/>
|
||||||
|
<stop stop-color="#0163FA" offset="100%"/>
|
||||||
|
</linearGradient>
|
||||||
|
<linearGradient y2="100%" y1="0%" x2="50%" x1="50%" id="deepin-launcher-d">
|
||||||
|
<stop stop-color="#32BBFF" offset="0%"/>
|
||||||
|
<stop stop-color="#004FC5" offset="100%"/>
|
||||||
|
</linearGradient>
|
||||||
|
</defs>
|
||||||
|
<g>
|
||||||
|
<title>background</title>
|
||||||
|
<rect fill="none" id="canvas_background" height="514" width="514" y="-1" x="-1"/>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<title>Layer 1</title>
|
||||||
|
<g stroke="null" id="svg_1" fill-rule="evenodd" fill="none">
|
||||||
|
<use x="0" y="0" transform="matrix(2.15315318107605,0,0,2.15315318107605,-19.603604078292847,-20.756757259368896) " stroke="null" id="svg_2" xlink:href="#deepin-launcher-b" filter="url(#deepin-launcher-a)" fill="#000"/>
|
||||||
|
<use x="0" y="0" transform="matrix(2.15315318107605,0,0,2.15315318107605,-19.603604078292847,-20.756757259368896) " stroke="url(#deepin-launcher-d)" id="svg_3" xlink:href="#deepin-launcher-b" stroke-width="2" fill="url(#deepin-launcher-c)"/>
|
||||||
|
<g stroke="null" id="svg_4" fill-rule="nonzero">
|
||||||
|
<use x="0" y="0" transform="matrix(2.15315318107605,0,0,2.15315318107605,-19.603604078292847,-20.756757259368896) " stroke="null" id="svg_5" xlink:href="#deepin-launcher-f" filter="url(#deepin-launcher-e)" fill="#000"/>
|
||||||
|
<use x="0" y="0" transform="matrix(2.15315318107605,0,0,2.15315318107605,-19.603604078292847,-20.756757259368896) " stroke="null" id="svg_6" xlink:href="#deepin-launcher-f" fill="#F0F9FF"/>
|
||||||
|
<use x="0" y="0" transform="matrix(2.15315318107605,0,0,2.15315318107605,-19.603604078292847,-20.756757259368896) " stroke="null" id="svg_7" xlink:href="#deepin-launcher-f" filter="url(#deepin-launcher-g)" fill="#000"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 4.3 KiB |
BIN
assets/tags/dtk-small.png
Normal file
|
After Width: | Height: | Size: 954 B |
BIN
assets/tags/dwine2-small.png
Normal file
|
After Width: | Height: | Size: 5.7 KiB |
BIN
assets/tags/dwine5-small.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
1
assets/tags/dwine5.svg
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<svg width="305" height="304" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" overflow="hidden"><defs><clipPath id="clip0"><path d="M688 378 993 378 993 682 688 682Z" fill-rule="evenodd" clip-rule="evenodd"/></clipPath><clipPath id="clip1"><path d="M751.382 385.273 984.326 440.078 929.522 673.022 696.578 618.218Z" fill-rule="evenodd" clip-rule="evenodd"/></clipPath><clipPath id="clip2"><path d="M751.382 385.273 984.326 440.078 929.522 673.022 696.578 618.218Z" fill-rule="evenodd" clip-rule="evenodd"/></clipPath><clipPath id="clip3"><path d="M751.382 385.273 984.326 440.078 929.522 673.022 696.578 618.218Z" fill-rule="evenodd" clip-rule="evenodd"/></clipPath></defs><g clip-path="url(#clip0)" transform="translate(-688 -378)"><path d="M689 529.5C689 445.829 756.829 378 840.5 378 924.171 378 992 445.829 992 529.5 992 613.171 924.171 681 840.5 681 756.829 681 689 613.171 689 529.5Z" fill="#A20000" fill-rule="evenodd"/><g clip-path="url(#clip1)"><g clip-path="url(#clip2)"><g clip-path="url(#clip3)"><path d="M812.478 604.512 826.339 545.597C790.456 531.483 772.809 490.952 786.924 455.069 792.525 440.83 802.648 428.825 815.737 420.901L910.837 443.275C931.459 475.856 921.763 518.985 889.182 539.607 876.253 547.79 860.994 551.499 845.751 550.164L831.89 609.079 851.302 613.646C856.662 614.908 859.986 620.276 858.724 625.636 857.463 630.996 852.095 634.32 846.735 633.058L788.499 619.357C783.138 618.096 779.815 612.728 781.076 607.368 782.338 602.007 787.705 598.684 793.066 599.945L812.478 604.512ZM803.34 469.2 900.4 492.035C901.355 477.612 900.407 467.146 897.544 460.634L819.896 442.366C814.431 446.918 808.915 455.864 803.34 469.2Z" fill="#FFFFFF"/></g></g></g></g></svg>
|
||||||
|
After Width: | Height: | Size: 1.7 KiB |
23
assets/tags/logo_icon.svg
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<svg width="32px" height="32px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||||
|
<title>logo icon</title>
|
||||||
|
<defs>
|
||||||
|
<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-1">
|
||||||
|
<stop stop-color="#00F1FF" offset="0%"></stop>
|
||||||
|
<stop stop-color="#008AFF" offset="100%"></stop>
|
||||||
|
</linearGradient>
|
||||||
|
</defs>
|
||||||
|
<g id="light" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||||
|
<g id="1" transform="translate(-460.000000, -159.000000)">
|
||||||
|
<g id="tittlebar" transform="translate(450.000000, 150.000000)">
|
||||||
|
<g id="logo-icon" transform="translate(10.000000, 9.000000)">
|
||||||
|
<g>
|
||||||
|
<rect id="矩形" fill="url(#linearGradient-1)" x="0" y="0" width="32" height="32" rx="8"></rect>
|
||||||
|
<path d="M23,25 L23,24.0002278 C21.6666667,24.0002278 21,24.0002278 21,24.0002278 L21,20 L22,20 L22,19 L21,19 L21,17 L20,17.5 L20,19 L19,19 L19,20 L20,20 L20,24.0002278 C20,24.0002278 20,24.0002278 20,24.0002278 C20,24.5523868 20.4476132,25 20.9997722,25 C20.9998481,25 20.9999241,25 21,25 L23,25 Z M24.0210414,23.9789586 L24.0210414,22.2215556 L24.0210414,22.2215556 L24.6565969,21.6226667 L27.2207674,25 L29.0052118,25 L25.6099302,20.7304444 L28.4678057,18.0074755 L26.6711391,18.0074755 L24.0210414,20.6204444 L24,15.5 L23,15 L23,25 C23.5639056,25 24.0210414,24.5428642 24.0210414,23.9789586 Z" id="tk" fill="#FFFFFF" fill-rule="nonzero"></path>
|
||||||
|
<path d="M10.275,24 C13.175,24 15.35,23.2 16.85,21.6 C18.275,20.075 19,17.825 19,15 C19,12.15 18.275,10.05 16.85,8.55 C15.35,6.95 13.175,6 10.275,6 L4,6 L4,24 L10.275,24 Z M9.725,21 L7,21 L7,9 L9.725,9 C11.95,9 13.575,9.15 14.6,10.175 C15.6,11.175 16,12.75 16,15 C16,17.2 15.6,18.9 14.6,19.95 C13.575,20.975 11.95,21 9.725,21 Z" id="D" fill="#FFFFFF" fill-rule="nonzero"></path>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 2.0 KiB |
BIN
assets/tags/ubuntu-small.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
assets/tags/ubuntu.png
Normal file
|
After Width: | Height: | Size: 83 KiB |
13
assets/tags/uos-authorize.svg
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
|
||||||
|
<defs>
|
||||||
|
<linearGradient id="uos-托盘1-a" x1="15.968%" x2="100%" y1="14.224%" y2="60.554%">
|
||||||
|
<stop offset="0%" stop-color="#0071FF"/>
|
||||||
|
<stop offset="48.72%" stop-color="#00E8FC"/>
|
||||||
|
<stop offset="100%" stop-color="#00A2FF"/>
|
||||||
|
</linearGradient>
|
||||||
|
</defs>
|
||||||
|
<g fill="none" transform="translate(1 1)">
|
||||||
|
<circle cx="9" cy="9" r="9" fill="url(#uos-托盘1-a)"/>
|
||||||
|
<path fill="#FFF" d="M13,4.5 C13.5128358,4.5 13.9355072,4.88604019 13.9932723,5.38337887 L14,5.5 L14,9.5 C14,12.5 12,14.5 9,14.5 C6,14.5 4,12.5 4.0043492,9.70016408 L4,9.5 L4,5.5 C4,4.94771525 4.44771525,4.5 5,4.5 C5.51283584,4.5 5.93550716,4.88604019 5.99327227,5.38337887 L6,5.5 L6,9.5 C6,11.5 7.5,12.5 9,12.5 C10.5,12.5 12,11.5 12,9.5 L12,5.5 C12,4.94771525 12.4477153,4.5 13,4.5 Z"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 873 B |
BIN
assets/tags/uos-small.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
13
assets/tags/uos.svg
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
|
||||||
|
<defs>
|
||||||
|
<linearGradient id="uos-托盘1-a" x1="15.968%" x2="100%" y1="14.224%" y2="60.554%">
|
||||||
|
<stop offset="0%" stop-color="#0071FF"/>
|
||||||
|
<stop offset="48.72%" stop-color="#00E8FC"/>
|
||||||
|
<stop offset="100%" stop-color="#00A2FF"/>
|
||||||
|
</linearGradient>
|
||||||
|
</defs>
|
||||||
|
<g fill="none" transform="translate(1 1)">
|
||||||
|
<circle cx="9" cy="9" r="9" fill="url(#uos-托盘1-a)"/>
|
||||||
|
<path fill="#FFF" d="M13,4.5 C13.5128358,4.5 13.9355072,4.88604019 13.9932723,5.38337887 L14,5.5 L14,9.5 C14,12.5 12,14.5 9,14.5 C6,14.5 4,12.5 4.0043492,9.70016408 L4,9.5 L4,5.5 C4,4.94771525 4.44771525,4.5 5,4.5 C5.51283584,4.5 5.93550716,4.88604019 5.99327227,5.38337887 L6,5.5 L6,9.5 C6,11.5 7.5,12.5 9,12.5 C10.5,12.5 12,11.5 12,9.5 L12,5.5 C12,4.94771525 12.4477153,4.5 13,4.5 Z"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 873 B |
356
debian/changelog
vendored
Normal file
@@ -0,0 +1,356 @@
|
|||||||
|
spark-store (3.3.3~test5) stable; urgency=medium
|
||||||
|
|
||||||
|
* 修复可能的内存泄漏问题
|
||||||
|
* 修复应用搜索为空但仍显示上一次搜索结果的问题
|
||||||
|
* 修复动画加载延后的问题
|
||||||
|
* 修复统计下载量卡主渲染线程的问题
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
|
||||||
|
spark-store (3.3.3~test4) stable; urgency=medium
|
||||||
|
|
||||||
|
* Enable i386 arch support by default
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
spark-store (3.3.3~test3) stable; urgency=medium
|
||||||
|
|
||||||
|
* Now use ss-apt-fast instead of apt-fast
|
||||||
|
* 修复:右上角 更新和安装设置 菜单中进入更新列表失效
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
spark-store (3.3.3~test2) stable; urgency=medium
|
||||||
|
|
||||||
|
* bug fix: 更新和检查更新出错时不报错.此更新需要一个推送
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
spark-store (3.3.3~test1) stable; urgency=medium
|
||||||
|
|
||||||
|
* 3.3.3将会是修复大部分bug后的最终版本
|
||||||
|
* 图形环境中所有root权限的组件剥离到cli(可用于deepin 23 daily,只保证商店本体正常运作,不处理安装依赖不满足)
|
||||||
|
* 文案更改:更新检查-->检查更新
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
spark-store (3.3.1~test1) stable; urgency=medium
|
||||||
|
|
||||||
|
* 安装时不再需要联网
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
spark-store (3.3.0.4) stable; urgency=medium
|
||||||
|
|
||||||
|
* 为减轻服务器压力,不再单独更新某一个应用,而是作为整体更新
|
||||||
|
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
spark-store (3.3.0.3) stable; urgency=medium
|
||||||
|
|
||||||
|
* 回滚 更新中行为到进度条而不是实时输出
|
||||||
|
* 更新应用时显示正在更新哪个应用
|
||||||
|
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
spark-store (3.3.0.2) stable; urgency=medium
|
||||||
|
|
||||||
|
* 修复 pkexec未执行
|
||||||
|
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
spark-store (3.3.0.1) stable; urgency=medium
|
||||||
|
|
||||||
|
* 修复 检查更新的更新进程未实际运行
|
||||||
|
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
spark-store (3.3) stable; urgency=medium
|
||||||
|
|
||||||
|
* 修复 检查更新 未刷新软件源
|
||||||
|
* 把检查更新单独拿出作为左列
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
spark-store (3.3~test3) stable; urgency=medium
|
||||||
|
|
||||||
|
* 把检查更新加入免密码
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
spark-store (3.3~test2) stable; urgency=medium
|
||||||
|
|
||||||
|
* 更新检测功能全部更改到zenity
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
spark-store (3.3~test1) stable; urgency=medium
|
||||||
|
|
||||||
|
* zenity,选择可更新应用
|
||||||
|
* 自动更新检测现在会跳过hold
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
spark-store (3.2.4) stable; urgency=medium
|
||||||
|
|
||||||
|
* 修改tag相关的文案内容:wine相关环境已可自动配置了
|
||||||
|
* 准备发版
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
spark-store (3.2.4~test4) stable; urgency=medium
|
||||||
|
|
||||||
|
* 现在在商店启动后点击spk链接仍会正常启动 https://gitee.com/deepin-community-store/spark-store/commit/dd6780d636042bf12d77414e6f1552cc7d1ed24c
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
spark-store (3.2.4~test3) stable; urgency=medium
|
||||||
|
|
||||||
|
* 发版,合入到master
|
||||||
|
* 翻译完毕
|
||||||
|
* 合入先前的各项改动,为:客户端集成投稿器入口和支持,修复:安装依赖时间较长时错误地返回“安装完毕”结果,现在客户端版本更新时不关闭免密码登录,UOS安装进程合并正常aptss中
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
spark-store (3.2.4~test2) stable; urgency=medium
|
||||||
|
|
||||||
|
* 客户端集成投稿器入口和支持
|
||||||
|
* 修复:安装依赖时间较长时错误地返回“安装完毕”结果
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
spark-store (3.2.4~test1) stable; urgency=medium
|
||||||
|
|
||||||
|
* 客户端更新时不关闭免密码登录
|
||||||
|
* UOS合并正常aptss中
|
||||||
|
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
spark-store (3.2.3) stable; urgency=medium
|
||||||
|
|
||||||
|
* 客户端异常退出时仍然占用资源问题修复
|
||||||
|
* 降低dtk依赖版本,Debian 11 stable可直接安装
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
spark-store (3.2.2) stable; urgency=medium
|
||||||
|
|
||||||
|
* aptss will now refresh the system source before doing install, policy....etc
|
||||||
|
* 启动客户端GPU加速支持
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
spark-store (3.2.1) stable; urgency=medium
|
||||||
|
|
||||||
|
* 更改刷新系统源的功能
|
||||||
|
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
spark-store (3.2) stable; urgency=medium
|
||||||
|
|
||||||
|
* 新增 下载量统计功能
|
||||||
|
* 新增 显示下载量
|
||||||
|
* 修复 spk链接生成错误
|
||||||
|
* 调整 启动时检测商店applist源
|
||||||
|
* 新增 applist cdn加速
|
||||||
|
* 调整 ssupdate不再更新/etc/aptss下的cache,如要如此,请使用aptss update
|
||||||
|
* 修复 在更新检测设置中的是否开启自动更新检测设置项的显示不随开启或关闭状态改变
|
||||||
|
* 修复 在检测更新时临时降低优先级到100,防止系统中有且版本一致的包被反复来回更新
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
spark-store (3.1.6) stable; urgency=medium
|
||||||
|
|
||||||
|
* 修复部分情况下无法选中正确的镜像源的问题
|
||||||
|
* 合入3.1.5以来的各项修改
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
spark-store (3.1.5-5) stable; urgency=medium
|
||||||
|
|
||||||
|
* 从所有镜像源中选取最快镜像源高速下载
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
|
||||||
|
spark-store (3.1.5-4) stable; urgency=medium
|
||||||
|
|
||||||
|
* 更改ss-apt-fast策略,现在只会在update,ssupdate和没有检测到配置文件的时候更新配置文件
|
||||||
|
* 新增ss-apt-fast别名:aptss
|
||||||
|
* 更新检测服务优化:从分体改为一体
|
||||||
|
* aptss 支持自动补全
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
spark-store (3.1.5-3) stable; urgency=medium
|
||||||
|
|
||||||
|
* 包内自带密钥
|
||||||
|
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
spark-store (3.1.5-2) stable; urgency=medium
|
||||||
|
|
||||||
|
* 下载软件时跳过获取大小,修复部分软件无法下载的问题
|
||||||
|
* 修复 获取key时出错,指定使用http1.1
|
||||||
|
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
spark-store (3.1.5-1) stable; urgency=medium
|
||||||
|
|
||||||
|
* 改变更新策略,UOS也下载加速,但是安装不加速
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
spark-store (3.1.5) stable; urgency=medium
|
||||||
|
|
||||||
|
* 改变更新策略,现在支持应用在更新时引入新依赖
|
||||||
|
* ss-apt-fast现在默认允许降级,以与apt使用体验一致
|
||||||
|
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
spark-store (3.1.4-2) stable; urgency=medium
|
||||||
|
|
||||||
|
* 客户端下载使用metalink来支持bt下载加速
|
||||||
|
* 修复使用更新和安装设置更新商店本体时出错
|
||||||
|
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
spark-store (3.1.4-1) stable; urgency=medium
|
||||||
|
|
||||||
|
* 安装脚本和检测更新脚本检查网络时间超时时间延长至5s
|
||||||
|
* 修复:ssinstall在没有安装apt-fast的情况下首次安装需要依赖的软件时安装失败
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
spark-store (3.1.4) stable; urgency=medium
|
||||||
|
|
||||||
|
* 发布正式版,同步到官网
|
||||||
|
* 修复安装时使用wget的问题
|
||||||
|
* 合并3.1.3-1和3.1.3-2的更改
|
||||||
|
* 屏蔽了ssinstall之外的安装方式
|
||||||
|
* 调整了报错框的形式
|
||||||
|
* 修复pkexec下ssinstall不处理依赖
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
spark-store (3.1.3-2) stable; urgency=medium
|
||||||
|
|
||||||
|
* 调整 现在与系统更新分开,不再导致更新失败
|
||||||
|
* 支持直接更新软件源文件,不再让d.吃全部更新流量
|
||||||
|
* ss-apt-fast不再强制root权限
|
||||||
|
* 修改ss-apt-fast的策略,现在除了安装,下载和更新都改用apt
|
||||||
|
* ssinstall 现在也会在不适用ss-apt-fast的时候模拟源了(针对UOS)
|
||||||
|
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
spark-store (3.1.3-1) stable; urgency=medium
|
||||||
|
|
||||||
|
* 修复 下载提前退出
|
||||||
|
* 移除 下载量显示
|
||||||
|
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
spark-store (3.1.3) stable; urgency=medium
|
||||||
|
|
||||||
|
* Now uses aria2 to download softwares form all mirrors
|
||||||
|
* 新增:ssinstall现在会在没有apt-fast的时候自动安装
|
||||||
|
* 新增:ss-apt-fast现在会在没有apt-fast的时候自动安装
|
||||||
|
* 修改:删除ssinstall中无用的 || dpkg -P $1
|
||||||
|
* 新增:ss-apt-fast会先下载云上的conf以确保mirror是最新的
|
||||||
|
* 修复:去除wget指令
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
spark-store (3.1.2) stable; urgency=medium
|
||||||
|
|
||||||
|
* Now let apt-fast method support all mirrors
|
||||||
|
* Now will download dependencies and upgrade with all mirrors
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Mon, 17 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
spark-store (3.1.1) stable; urgency=medium
|
||||||
|
|
||||||
|
* Now will delete the link of policy file after uninstall or upgrade
|
||||||
|
* Now ss-update-controler will create symbol link instead of hard link
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Mon, 17 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
spark-store (3.1.0) stable; urgency=medium
|
||||||
|
|
||||||
|
* Add pkexec policy: ssinstall. Only will be enabled after permitted.
|
||||||
|
* Modify ssinistall script: Now will ask for password when not run as root
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Mon, 17 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
spark-store (3.0.3-13) stable; urgency=medium
|
||||||
|
|
||||||
|
* Update the ssinstall script. Now support apt-fast and will temporarily increase the spark store source priority to 500 to make depends install correctly
|
||||||
|
* Change the style of About Dialog
|
||||||
|
* Modified depends to avoid Deb installers can not handle "Provides"
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Mon, 17 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
spark-store (3.0.3-12) stable; urgency=medium
|
||||||
|
|
||||||
|
* Rollback to use DApplication::loadDXcbPlugin() to make titlebar behave normally in ubuntu
|
||||||
|
* Now can run on Debian 11
|
||||||
|
* Now can run on Ubuntu 22.04
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Mon, 17 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
spark-store (3.0.3-11) stable; urgency=medium
|
||||||
|
|
||||||
|
* Now support autoupdate
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Mon, 17 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
spark-store (3.0.3-10) stable; urgency=medium
|
||||||
|
|
||||||
|
* Now also compile dstore patch
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Mon, 17 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
|
||||||
|
spark-store (3.0.3-9) stable; urgency=medium
|
||||||
|
|
||||||
|
* Support dpkg-buildpackage
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Mon, 17 Jan 2022 00:00:00 +0800
|
||||||
1
debian/compat
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
11
|
||||||
46
debian/control
vendored
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
Source: spark-store
|
||||||
|
Maintainer: shenmo <shenmo@spark-app.store>
|
||||||
|
Section: utils
|
||||||
|
Priority: optional
|
||||||
|
Build-Depends:
|
||||||
|
debhelper (>= 9),
|
||||||
|
pkg-config,
|
||||||
|
qtchooser (>= 55-gc9562a1-1~),
|
||||||
|
libqt5core5a,
|
||||||
|
libqt5gui5,
|
||||||
|
libqt5widgets5,
|
||||||
|
libqt5network5,
|
||||||
|
libqt5concurrent5,
|
||||||
|
libdtkcore-dev(>=5.0),
|
||||||
|
libdtkgui-dev(>=5.0),
|
||||||
|
libdtkwidget-dev(>=5.0),
|
||||||
|
qttools5-private-dev,
|
||||||
|
libnotify-dev,
|
||||||
|
qtwebengine5-dev
|
||||||
|
Standards-Version: 3.0
|
||||||
|
Homepage: https://www.spark-app.store/
|
||||||
|
|
||||||
|
|
||||||
|
Package: spark-store
|
||||||
|
Architecture: any
|
||||||
|
Depends:${shlibs:Depends}, ${misc:Depends},
|
||||||
|
libqt5core5a,
|
||||||
|
libqt5gui5,
|
||||||
|
libqt5widgets5,
|
||||||
|
libqt5network5,
|
||||||
|
libqt5concurrent5,
|
||||||
|
libdtkcore5,
|
||||||
|
libdtkgui5,
|
||||||
|
libdtkwidget5,
|
||||||
|
libnotify4,
|
||||||
|
curl,
|
||||||
|
openssl,
|
||||||
|
libssl-dev,
|
||||||
|
dde-qt5integration,
|
||||||
|
bubblewrap,
|
||||||
|
aria2,
|
||||||
|
gcc,
|
||||||
|
zenity
|
||||||
|
Description: Spark Store
|
||||||
|
A community powered app store, based on DTK.
|
||||||
|
Recommends: apt-fast
|
||||||
22
debian/copyright
vendored
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
|
Upstream-Name: spark-store
|
||||||
|
Source: https://gitee.com/deepin-community-store/spark-store
|
||||||
|
|
||||||
|
Files: *
|
||||||
|
Copyright: The Spark Project Developers
|
||||||
|
|
||||||
|
License: GPL-3+
|
||||||
|
This package is free software; you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation; either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
.
|
||||||
|
This package is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
.
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <http://www.gnu.org/licenses/>
|
||||||
|
.
|
||||||
|
On Debian systems, the complete text of the GNU General
|
||||||
37
debian/rules
vendored
Executable file
@@ -0,0 +1,37 @@
|
|||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
export QT_SELECT=5
|
||||||
|
include /usr/share/dpkg/default.mk
|
||||||
|
|
||||||
|
DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
|
||||||
|
DH_AUTO_ARGS = --parallel --buildsystem=qmake
|
||||||
|
|
||||||
|
# Uncomment this to turn on verbose mode.
|
||||||
|
#export DH_VERBOSE=1
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh $@ --parallel
|
||||||
|
|
||||||
|
override_dh_auto_clean:
|
||||||
|
rm -rf $(CURDIR)/build
|
||||||
|
|
||||||
|
override_dh_auto_configure:
|
||||||
|
mkdir -p $(CURDIR)/build
|
||||||
|
|
||||||
|
dh_auto_configure MAKEFLAGS=-j$(JOBS) -- spark-store-project.pro \
|
||||||
|
-spec linux-g++ CONFIG+=qtquickcompiler \
|
||||||
|
-o $(CURDIR)/build/
|
||||||
|
|
||||||
|
|
||||||
|
override_dh_auto_build:
|
||||||
|
make -C $(CURDIR)/build -j$(JOBS)
|
||||||
|
|
||||||
|
override_dh_auto_install:
|
||||||
|
make -C $(CURDIR)/build install \
|
||||||
|
INSTALL_ROOT=$(CURDIR)/debian/spark-store
|
||||||
|
|
||||||
|
|
||||||
|
# Ignore the dpkg-shlibdeps: warning (it uses none of the library's symbols)
|
||||||
|
# Qt Mutidedia lib will ref to network libraray.
|
||||||
|
override_dh_shlibdeps:
|
||||||
|
dh_shlibdeps --dpkg-shlibdeps-params=--warnings=0
|
||||||
1
debian/source/format
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
1.0
|
||||||
85
debian/spark-store.postinst
vendored
Executable file
@@ -0,0 +1,85 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
configure)
|
||||||
|
|
||||||
|
# Enable i386 arch
|
||||||
|
echo "Enable i386 arch..."
|
||||||
|
dpkg --add-architecture i386
|
||||||
|
|
||||||
|
# config for aptss
|
||||||
|
mkdir -p /etc/aptss/sources.list.d
|
||||||
|
ln -s -f /etc/apt/sources.list /etc/aptss/sources.list
|
||||||
|
|
||||||
|
# Remove the sources.list file
|
||||||
|
if [ -e /etc/apt/sources.list.d/sparkstore.list ];then
|
||||||
|
rm /etc/apt/sources.list.d/sparkstore.list
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
# Check if /usr/local/bin existed
|
||||||
|
mkdir -p /usr/local/bin
|
||||||
|
|
||||||
|
# Create symbol links for binary files
|
||||||
|
ln -s -f /opt/durapps/spark-store/bin/ussinstall /usr/local/bin/ussinstall
|
||||||
|
ln -s -f /opt/durapps/spark-store/bin/ussremove /usr/local/bin/ussremove
|
||||||
|
ln -s -f /opt/durapps/spark-store/bin/spark-store /usr/local/bin/spark-store
|
||||||
|
ln -s -f /opt/durapps/spark-store/bin/ssinstall /usr/local/bin/ssinstall
|
||||||
|
ln -s -f /opt/durapps/spark-store/bin/spark-dstore-patch /usr/local/bin/spark-dstore-patch
|
||||||
|
ln -s -f /opt/durapps/spark-store/bin/aptss /usr/local/bin/ss-apt-fast
|
||||||
|
|
||||||
|
ln -s -f /opt/durapps/spark-store/bin/aptss /usr/bin/aptss
|
||||||
|
|
||||||
|
# Compile the Sender module
|
||||||
|
|
||||||
|
gcc /opt/durapps/spark-store/bin/ss-feedback/sender-d.sh.c -o /opt/durapps/spark-store/bin/ss-feedback/sender-d
|
||||||
|
|
||||||
|
# Install key
|
||||||
|
mkdir -p /tmp/spark-store-install/
|
||||||
|
cp -f /opt/durapps/spark-store/bin/spark-store.asc /tmp/spark-store-install/spark-store.asc
|
||||||
|
gpg --dearmor /tmp/spark-store-install/spark-store.asc
|
||||||
|
cp -f /tmp/spark-store-install/spark-store.asc.gpg /etc/apt/trusted.gpg.d/spark-store.gpg
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Run apt update to avoid users being fucked up by the non-exist dependency problem
|
||||||
|
# Now abandoned as aptss now run ssupdate everytime
|
||||||
|
#aptss ssupdate
|
||||||
|
|
||||||
|
|
||||||
|
# Start upgrade detect service
|
||||||
|
systemctl enable spark-update-notifier
|
||||||
|
service spark-update-notifier start
|
||||||
|
|
||||||
|
|
||||||
|
# Update certain caches
|
||||||
|
update-icon-caches /usr/share/icons/hicolor || true
|
||||||
|
update-desktop-database /usr/share/applications || true
|
||||||
|
xdg-mime default spark-store.desktop x-scheme-handler/spk
|
||||||
|
update-mime-database /usr/share/mime || true
|
||||||
|
|
||||||
|
# Send email for statistics
|
||||||
|
# /tmp/spark-store-install/feedback.sh
|
||||||
|
|
||||||
|
# Remove temp dir
|
||||||
|
rm -rf /tmp/spark-store-install
|
||||||
|
|
||||||
|
|
||||||
|
;;
|
||||||
|
|
||||||
|
triggered)
|
||||||
|
# Quit if deepin-app-store-tool existed
|
||||||
|
if [ -x "/usr/bin/deepin-app-store-tool" ] ; then
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Trigger for UOS debs installation
|
||||||
|
echo '--------检测到Uniontech标准软件包,运行补丁以修正安装--------'
|
||||||
|
if [ -x "/usr/local/bin/spark-dstore-patch" ] ; then
|
||||||
|
/usr/local/bin/spark-dstore-patch
|
||||||
|
echo '-----------spark-dstore-patch补丁工具已运行完毕-----------'
|
||||||
|
else
|
||||||
|
echo '------------spark-dstore-patch补丁工具运行失败------------'
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
6
debian/spark-store.postrm
vendored
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Update certain caches
|
||||||
|
update-icon-caches /usr/share/icons/hicolor || true
|
||||||
|
update-desktop-database /usr/share/applications || true
|
||||||
|
update-mime-database /usr/share/mime || true
|
||||||
28
debian/spark-store.preinst
vendored
Executable file
@@ -0,0 +1,28 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#检测网络链接畅通
|
||||||
|
function network-check()
|
||||||
|
{
|
||||||
|
#超时时间
|
||||||
|
local timeout=15
|
||||||
|
|
||||||
|
#目标网站
|
||||||
|
local target=www.baidu.com
|
||||||
|
|
||||||
|
#获取响应状态码
|
||||||
|
local ret_code=`curl -I -s --connect-timeout ${timeout} ${target} -w %{http_code} | tail -n1`
|
||||||
|
|
||||||
|
if [ "x$ret_code" = "x200" ]; then
|
||||||
|
echo "Network Checked successful ! Continue..."
|
||||||
|
echo "网络通畅,继续安装"
|
||||||
|
else
|
||||||
|
#网络不畅通
|
||||||
|
echo "Network failed ! Cancel the installation"
|
||||||
|
echo "网络不畅,终止安装"
|
||||||
|
exit -1
|
||||||
|
fi
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#network-check
|
||||||
|
echo "不再检测网络"
|
||||||
47
debian/spark-store.prerm
vendored
Executable file
@@ -0,0 +1,47 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
if [ "$1" = "remove" ] || [ "$1" = "purge" ];then
|
||||||
|
# Remove residual symbol links
|
||||||
|
rm /usr/local/bin/spark-store
|
||||||
|
rm /usr/local/bin/ssinstall
|
||||||
|
rm /usr/local/bin/spark-dstore-patch
|
||||||
|
rm /usr/local/bin/ussinstall
|
||||||
|
rm /usr/local/bin/ussremove
|
||||||
|
rm /usr/local/bin/ss-apt-fast
|
||||||
|
rm /usr/bin/aptss
|
||||||
|
|
||||||
|
rm -rf /etc/aptss/
|
||||||
|
|
||||||
|
# Remove Sender module
|
||||||
|
rm /opt/durapps/spark-store/bin/ss-feedback/sender-d
|
||||||
|
|
||||||
|
# Remove residual symbol links to stop upgrade detect if exist
|
||||||
|
if [ -e /etc/xdg/autostart/spark-update-notifier.desktop ];then
|
||||||
|
rm /etc/xdg/autostart/spark-update-notifier.desktop
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Shutdown services
|
||||||
|
service spark-update-notifier stop
|
||||||
|
|
||||||
|
# Stop update detect service
|
||||||
|
systemctl disable spark-update-notifier
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Clean the auto install polkit file if exist
|
||||||
|
if [ -f "/usr/share/polkit-1/actions/store.spark-app.ssinstall.policy" ] ; then
|
||||||
|
rm /usr/share/polkit-1/actions/store.spark-app.ssinstall.policy
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Remove gpg key file
|
||||||
|
if [ -f "/etc/apt/trusted.gpg.d/spark-store.gpg" ] ; then
|
||||||
|
rm /etc/apt/trusted.gpg.d/spark-store.gpg
|
||||||
|
fi
|
||||||
|
|
||||||
|
apt-key del '9D9A A859 F750 24B1 A1EC E16E 0E41 D354 A29A 440C'
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
|
echo "非卸载操作,不进行配置清理"
|
||||||
|
|
||||||
|
fi
|
||||||
1
debian/spark-store.triggers
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
interest-noawait /opt/apps
|
||||||
200
downloadlist.cpp
@@ -1,200 +0,0 @@
|
|||||||
#include "downloadlist.h"
|
|
||||||
#include "ui_downloadlist.h"
|
|
||||||
#include <QDebug>
|
|
||||||
#include <QIcon>
|
|
||||||
#include <QPixmap>
|
|
||||||
#include <QtConcurrent>
|
|
||||||
#include <QProcess>
|
|
||||||
#include <QTextBrowser>
|
|
||||||
bool downloadlist::isInstall=false;
|
|
||||||
|
|
||||||
downloadlist::downloadlist(QWidget *parent) :
|
|
||||||
QWidget(parent),
|
|
||||||
ui(new Ui::downloadlist)
|
|
||||||
{
|
|
||||||
ui->setupUi(this);
|
|
||||||
ui->pushButton_install->setEnabled(false);
|
|
||||||
ui->progressBar->setValue(0);
|
|
||||||
ui->label_filename->hide();
|
|
||||||
ui->pushButton_install->hide();
|
|
||||||
ui->pushButton_3->hide();
|
|
||||||
ui->widget_spinner->start();
|
|
||||||
ui->widget_spinner->hide();
|
|
||||||
action_dpkg->setText("dpkg");
|
|
||||||
action_gdebi->setText("gdebi");
|
|
||||||
connect(action_dpkg,&QAction::triggered,[=](){downloadlist::install(1);});
|
|
||||||
connect(action_gdebi,&QAction::triggered,[=](){downloadlist::install(0);});
|
|
||||||
menu_install->addAction(action_gdebi);
|
|
||||||
//ssinstall命令存在时再加入该选项
|
|
||||||
QFile ssinstall("/bin/ssinstall");
|
|
||||||
ssinstall.open(QIODevice::ReadOnly);
|
|
||||||
if(ssinstall.isOpen()){
|
|
||||||
menu_install->addAction(action_dpkg);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
downloadlist::~downloadlist()
|
|
||||||
{
|
|
||||||
delete ui;
|
|
||||||
}
|
|
||||||
|
|
||||||
void downloadlist::setValue(long long value)
|
|
||||||
{
|
|
||||||
ui->progressBar->setValue(int(value));
|
|
||||||
ui->label_2->setText(QString::number(double(value)/100)+"% ("+speed+")");
|
|
||||||
if(ui->label_2->text().left(4)=="100%"){
|
|
||||||
ui->label_2->setText("已完成,等待安装");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void downloadlist::setMax(long long max)
|
|
||||||
{
|
|
||||||
ui->progressBar->setMaximum(int(max));
|
|
||||||
}
|
|
||||||
|
|
||||||
void downloadlist::setName(QString name)
|
|
||||||
{
|
|
||||||
ui->label->setText(name);
|
|
||||||
}
|
|
||||||
|
|
||||||
QString downloadlist::getName()
|
|
||||||
{
|
|
||||||
return ui->label_filename->text();
|
|
||||||
}
|
|
||||||
|
|
||||||
void downloadlist::readyInstall()
|
|
||||||
{
|
|
||||||
if(ui->progressBar->value()!= ui->progressBar->maximum() && !close){
|
|
||||||
ui->progressBar->hide();
|
|
||||||
ui->pushButton_install->show();
|
|
||||||
ui->pushButton_2->hide();
|
|
||||||
system("notify-send \""+ui->label->text().toUtf8()+"下载失败\"" +" --icon=/tmp/spark-store/icon_"+QString::number(num).toUtf8()+".png");
|
|
||||||
ui->label_2->setText("下载失败,可能是网络错误");
|
|
||||||
ui->pushButton_install->setEnabled(false);
|
|
||||||
return;
|
|
||||||
|
|
||||||
}
|
|
||||||
if(!close){
|
|
||||||
ui->progressBar->hide();
|
|
||||||
ui->pushButton_install->setEnabled(true);
|
|
||||||
ui->pushButton_install->show();
|
|
||||||
ui->pushButton_2->hide();
|
|
||||||
system("notify-send \""+ui->label->text().toUtf8()+"下载完成,等待安装\"" +" --icon=/tmp/spark-store/icon_"+QString::number(num).toUtf8()+".png");
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
void downloadlist::setFileName(QString fileName)
|
|
||||||
{
|
|
||||||
ui->label_filename->setText(fileName);
|
|
||||||
}
|
|
||||||
|
|
||||||
void downloadlist::seticon(const QPixmap icon)
|
|
||||||
{
|
|
||||||
ui->label_3->setPixmap(icon);
|
|
||||||
}
|
|
||||||
|
|
||||||
void downloadlist::closeDownload()
|
|
||||||
{
|
|
||||||
on_pushButton_2_clicked();
|
|
||||||
}
|
|
||||||
|
|
||||||
void downloadlist::setSpeed(QString s)
|
|
||||||
{
|
|
||||||
speed=s;
|
|
||||||
}
|
|
||||||
|
|
||||||
void downloadlist::install(int t)
|
|
||||||
{
|
|
||||||
if(!isInstall){
|
|
||||||
isInstall=true;
|
|
||||||
ui->pushButton_install->hide();
|
|
||||||
ui->widget_spinner->show();
|
|
||||||
qDebug()<<"/tmp/spark-store/"+ui->label_filename->text().toUtf8();
|
|
||||||
ui->label_2->setText("正在安装,请稍候");
|
|
||||||
QtConcurrent::run([=](){
|
|
||||||
QProcess installer;
|
|
||||||
if(reinstall){
|
|
||||||
if(t==0){
|
|
||||||
installer.start("pkexec gdebi -n /tmp/spark-store/"+ui->label_filename->text().toUtf8());
|
|
||||||
}else {
|
|
||||||
installer.start("pkexec ssinstall /tmp/spark-store/"+ui->label_filename->text().toUtf8());
|
|
||||||
}
|
|
||||||
|
|
||||||
}else {
|
|
||||||
if(t==0){
|
|
||||||
installer.start("pkexec gdebi -n /tmp/spark-store/"+ui->label_filename->text().toUtf8());
|
|
||||||
}else {
|
|
||||||
installer.start("pkexec ssinstall /tmp/spark-store/"+ui->label_filename->text().toUtf8());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
installer.waitForFinished();
|
|
||||||
out=installer.readAllStandardOutput();
|
|
||||||
QStringList everyOut=out.split("\n");
|
|
||||||
bool haveError=false;
|
|
||||||
bool notRoot=false;
|
|
||||||
for (int i=0;i<everyOut.size();i++) {
|
|
||||||
qDebug()<<everyOut[i].left(2);
|
|
||||||
if(everyOut[i].left(2)=="E:"){
|
|
||||||
haveError=true;
|
|
||||||
}
|
|
||||||
if(everyOut[i].right(14)=="Not authorized"){
|
|
||||||
notRoot=true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
QProcess isInstall;
|
|
||||||
isInstall.start("dpkg -s "+pkgName);
|
|
||||||
isInstall.waitForFinished();
|
|
||||||
int error=QString::fromStdString(isInstall.readAllStandardError().toStdString()).length();
|
|
||||||
if(error==0){
|
|
||||||
ui->pushButton_install->hide();
|
|
||||||
ui->label_2->setText("安装完成");
|
|
||||||
ui->pushButton_3->show();
|
|
||||||
}else {
|
|
||||||
ui->pushButton_install->show();
|
|
||||||
ui->pushButton_install->setText("重装");
|
|
||||||
ui->label_2->setText("安装出现错误,可重新安装");
|
|
||||||
ui->pushButton_3->show();
|
|
||||||
}
|
|
||||||
if(notRoot){
|
|
||||||
ui->label_2->setText("安装被终止,可重新安装");
|
|
||||||
ui->pushButton_install->show();
|
|
||||||
ui->pushButton_3->hide();
|
|
||||||
}
|
|
||||||
ui->widget_spinner->hide();
|
|
||||||
downloadlist::isInstall=false;
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
qDebug()<<ui->label_filename->text().toUtf8();
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
void downloadlist::on_pushButton_install_clicked()
|
|
||||||
{
|
|
||||||
//弹出菜单
|
|
||||||
menu_install->exec(cursor().pos());
|
|
||||||
}
|
|
||||||
|
|
||||||
void downloadlist::on_pushButton_2_clicked()
|
|
||||||
{
|
|
||||||
ui->label_2->setText("已取消下载");
|
|
||||||
ui->pushButton_2->setEnabled(false);
|
|
||||||
ui->progressBar->hide();
|
|
||||||
close=true;
|
|
||||||
}
|
|
||||||
|
|
||||||
void downloadlist::on_pushButton_3_clicked()
|
|
||||||
{
|
|
||||||
output_w.layout()->addWidget(textbrowser);
|
|
||||||
textbrowser->setLineWidth(0);
|
|
||||||
textbrowser->setText(out);
|
|
||||||
output_w.layout()->setMargin(20);
|
|
||||||
output_w.setTitle(ui->label->text());
|
|
||||||
output_w.setMinimumHeight(600);
|
|
||||||
output_w.setAttribute(Qt::WA_TranslucentBackground);
|
|
||||||
output_w.show();
|
|
||||||
}
|
|
||||||
@@ -1,125 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
||||||
<svg
|
|
||||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
||||||
xmlns:cc="http://creativecommons.org/ns#"
|
|
||||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
||||||
xmlns:svg="http://www.w3.org/2000/svg"
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
||||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
||||||
width="16px"
|
|
||||||
height="16px"
|
|
||||||
viewBox="0 0 16 16"
|
|
||||||
version="1.1"
|
|
||||||
id="svg22"
|
|
||||||
sodipodi:docname="category_active_16px_l.svg"
|
|
||||||
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
|
|
||||||
<metadata
|
|
||||||
id="metadata26">
|
|
||||||
<rdf:RDF>
|
|
||||||
<cc:Work
|
|
||||||
rdf:about="">
|
|
||||||
<dc:format>image/svg+xml</dc:format>
|
|
||||||
<dc:type
|
|
||||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
||||||
<dc:title>category_active_16px</dc:title>
|
|
||||||
</cc:Work>
|
|
||||||
</rdf:RDF>
|
|
||||||
</metadata>
|
|
||||||
<sodipodi:namedview
|
|
||||||
pagecolor="#ffffff"
|
|
||||||
bordercolor="#666666"
|
|
||||||
borderopacity="1"
|
|
||||||
objecttolerance="10"
|
|
||||||
gridtolerance="10"
|
|
||||||
guidetolerance="10"
|
|
||||||
inkscape:pageopacity="0"
|
|
||||||
inkscape:pageshadow="2"
|
|
||||||
inkscape:window-width="1920"
|
|
||||||
inkscape:window-height="987"
|
|
||||||
id="namedview24"
|
|
||||||
showgrid="false"
|
|
||||||
inkscape:zoom="14.75"
|
|
||||||
inkscape:cx="-4"
|
|
||||||
inkscape:cy="8"
|
|
||||||
inkscape:window-x="0"
|
|
||||||
inkscape:window-y="0"
|
|
||||||
inkscape:window-maximized="1"
|
|
||||||
inkscape:current-layer="svg22" />
|
|
||||||
<!-- Generator: Sketch 3.6.1 (26313) - http://www.bohemiancoding.com/sketch -->
|
|
||||||
<title
|
|
||||||
id="title2">category_active_16px</title>
|
|
||||||
<desc
|
|
||||||
id="desc4">Created with Sketch.</desc>
|
|
||||||
<defs
|
|
||||||
id="defs6" />
|
|
||||||
<g
|
|
||||||
id="Page-1"
|
|
||||||
stroke="none"
|
|
||||||
stroke-width="1"
|
|
||||||
fill="none"
|
|
||||||
fill-rule="evenodd"
|
|
||||||
style="fill:#000000;fill-opacity:0.94999999">
|
|
||||||
<g
|
|
||||||
id="category_active_16px"
|
|
||||||
style="fill:#000000;fill-opacity:0.94999999">
|
|
||||||
<rect
|
|
||||||
id="Rectangle-1-Copy-44"
|
|
||||||
fill="#747568"
|
|
||||||
opacity="0"
|
|
||||||
x="0"
|
|
||||||
y="0"
|
|
||||||
width="16"
|
|
||||||
height="16"
|
|
||||||
style="fill:#000000;fill-opacity:0.94999999" />
|
|
||||||
<g
|
|
||||||
id="Group-2"
|
|
||||||
transform="translate(2.000000, 2.000000)"
|
|
||||||
fill="#FFFFFF"
|
|
||||||
style="fill:#000000;fill-opacity:0.94999999">
|
|
||||||
<rect
|
|
||||||
id="Rectangle-94"
|
|
||||||
x="0"
|
|
||||||
y="0"
|
|
||||||
width="2"
|
|
||||||
height="2"
|
|
||||||
style="fill:#000000;fill-opacity:0.94999999" />
|
|
||||||
<rect
|
|
||||||
id="Rectangle-97"
|
|
||||||
x="3"
|
|
||||||
y="0"
|
|
||||||
width="9"
|
|
||||||
height="2"
|
|
||||||
style="fill:#000000;fill-opacity:0.94999999" />
|
|
||||||
<rect
|
|
||||||
id="rect11"
|
|
||||||
x="0"
|
|
||||||
y="5"
|
|
||||||
width="2"
|
|
||||||
height="2"
|
|
||||||
style="fill:#000000;fill-opacity:0.94999999" />
|
|
||||||
<rect
|
|
||||||
id="rect13"
|
|
||||||
x="3"
|
|
||||||
y="5"
|
|
||||||
width="9"
|
|
||||||
height="2"
|
|
||||||
style="fill:#000000;fill-opacity:0.94999999" />
|
|
||||||
<rect
|
|
||||||
id="rect15"
|
|
||||||
x="0"
|
|
||||||
y="10"
|
|
||||||
width="2"
|
|
||||||
height="2"
|
|
||||||
style="fill:#000000;fill-opacity:0.94999999" />
|
|
||||||
<rect
|
|
||||||
id="rect17"
|
|
||||||
x="3"
|
|
||||||
y="10"
|
|
||||||
width="9"
|
|
||||||
height="2"
|
|
||||||
style="fill:#000000;fill-opacity:0.94999999" />
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 3.3 KiB |
@@ -1,124 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
||||||
<svg
|
|
||||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
||||||
xmlns:cc="http://creativecommons.org/ns#"
|
|
||||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
||||||
xmlns:svg="http://www.w3.org/2000/svg"
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
||||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
||||||
width="16px"
|
|
||||||
height="16px"
|
|
||||||
viewBox="0 0 16 16"
|
|
||||||
version="1.1"
|
|
||||||
id="svg22"
|
|
||||||
sodipodi:docname="category_active_16px.svg"
|
|
||||||
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
|
|
||||||
<metadata
|
|
||||||
id="metadata26">
|
|
||||||
<rdf:RDF>
|
|
||||||
<cc:Work
|
|
||||||
rdf:about="">
|
|
||||||
<dc:format>image/svg+xml</dc:format>
|
|
||||||
<dc:type
|
|
||||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
||||||
</cc:Work>
|
|
||||||
</rdf:RDF>
|
|
||||||
</metadata>
|
|
||||||
<sodipodi:namedview
|
|
||||||
pagecolor="#ffffff"
|
|
||||||
bordercolor="#666666"
|
|
||||||
borderopacity="1"
|
|
||||||
objecttolerance="10"
|
|
||||||
gridtolerance="10"
|
|
||||||
guidetolerance="10"
|
|
||||||
inkscape:pageopacity="0"
|
|
||||||
inkscape:pageshadow="2"
|
|
||||||
inkscape:window-width="1920"
|
|
||||||
inkscape:window-height="987"
|
|
||||||
id="namedview24"
|
|
||||||
showgrid="false"
|
|
||||||
inkscape:zoom="14.75"
|
|
||||||
inkscape:cx="8"
|
|
||||||
inkscape:cy="8"
|
|
||||||
inkscape:window-x="0"
|
|
||||||
inkscape:window-y="0"
|
|
||||||
inkscape:window-maximized="1"
|
|
||||||
inkscape:current-layer="svg22" />
|
|
||||||
<!-- Generator: Sketch 3.6.1 (26313) - http://www.bohemiancoding.com/sketch -->
|
|
||||||
<title
|
|
||||||
id="title2">category_active_16px</title>
|
|
||||||
<desc
|
|
||||||
id="desc4">Created with Sketch.</desc>
|
|
||||||
<defs
|
|
||||||
id="defs6" />
|
|
||||||
<g
|
|
||||||
id="Page-1"
|
|
||||||
stroke="none"
|
|
||||||
stroke-width="1"
|
|
||||||
fill="none"
|
|
||||||
fill-rule="evenodd"
|
|
||||||
style="fill:#ffffff;fill-opacity:0.60000002">
|
|
||||||
<g
|
|
||||||
id="category_active_16px"
|
|
||||||
style="fill:#ffffff;fill-opacity:0.60000002">
|
|
||||||
<rect
|
|
||||||
id="Rectangle-1-Copy-44"
|
|
||||||
fill="#747568"
|
|
||||||
opacity="0"
|
|
||||||
x="0"
|
|
||||||
y="0"
|
|
||||||
width="16"
|
|
||||||
height="16"
|
|
||||||
style="fill:#ffffff;fill-opacity:0.60000002" />
|
|
||||||
<g
|
|
||||||
id="Group-2"
|
|
||||||
transform="translate(2.000000, 2.000000)"
|
|
||||||
fill="#FFFFFF"
|
|
||||||
style="fill:#ffffff;fill-opacity:0.60000002">
|
|
||||||
<rect
|
|
||||||
id="Rectangle-94"
|
|
||||||
x="0"
|
|
||||||
y="0"
|
|
||||||
width="2"
|
|
||||||
height="2"
|
|
||||||
style="fill:#ffffff;fill-opacity:0.60000002" />
|
|
||||||
<rect
|
|
||||||
id="Rectangle-97"
|
|
||||||
x="3"
|
|
||||||
y="0"
|
|
||||||
width="9"
|
|
||||||
height="2"
|
|
||||||
style="fill:#ffffff;fill-opacity:0.60000002" />
|
|
||||||
<rect
|
|
||||||
id="rect11"
|
|
||||||
x="0"
|
|
||||||
y="5"
|
|
||||||
width="2"
|
|
||||||
height="2"
|
|
||||||
style="fill:#ffffff;fill-opacity:0.60000002" />
|
|
||||||
<rect
|
|
||||||
id="rect13"
|
|
||||||
x="3"
|
|
||||||
y="5"
|
|
||||||
width="9"
|
|
||||||
height="2"
|
|
||||||
style="fill:#ffffff;fill-opacity:0.60000002" />
|
|
||||||
<rect
|
|
||||||
id="rect15"
|
|
||||||
x="0"
|
|
||||||
y="10"
|
|
||||||
width="2"
|
|
||||||
height="2"
|
|
||||||
style="fill:#ffffff;fill-opacity:0.60000002" />
|
|
||||||
<rect
|
|
||||||
id="rect17"
|
|
||||||
x="3"
|
|
||||||
y="10"
|
|
||||||
width="9"
|
|
||||||
height="2"
|
|
||||||
style="fill:#ffffff;fill-opacity:0.60000002" />
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 3.3 KiB |
@@ -1,47 +0,0 @@
|
|||||||
#include "image_show.h"
|
|
||||||
#include <QHBoxLayout>
|
|
||||||
#include <QDebug>
|
|
||||||
#include <QPainter>
|
|
||||||
#include <DDialog>
|
|
||||||
#include <DBlurEffectWidget>
|
|
||||||
#include <DWidgetUtil>
|
|
||||||
#include <DApplication>
|
|
||||||
#include <QDesktopWidget>
|
|
||||||
DWIDGET_USE_NAMESPACE
|
|
||||||
image_show::image_show(QWidget *parent) : QWidget(parent)
|
|
||||||
{
|
|
||||||
QHBoxLayout *layout=new QHBoxLayout;
|
|
||||||
layout->addWidget(m_label);
|
|
||||||
setLayout(layout);
|
|
||||||
m_label->setText("layout");
|
|
||||||
}
|
|
||||||
|
|
||||||
void image_show::setImage(QPixmap image)
|
|
||||||
{
|
|
||||||
|
|
||||||
QImage screen0;
|
|
||||||
screen0=image.toImage();
|
|
||||||
// QPainter painter(&screen0);
|
|
||||||
QImage re_screen1;
|
|
||||||
QImage re_screen0=screen0.scaled(QSize(400,300),Qt::KeepAspectRatio,Qt::SmoothTransformation);
|
|
||||||
desktop_w=DApplication::desktop()->width();
|
|
||||||
desktop_h=DApplication::desktop()->height();
|
|
||||||
if(screen0.width()>(desktop_w-20) || screen0.height()>(desktop_h-20)){
|
|
||||||
re_screen1=screen0.scaled(QSize(desktop_w-20,desktop_h-20),Qt::KeepAspectRatio,Qt::SmoothTransformation);
|
|
||||||
m_image=QPixmap::fromImage(re_screen1);
|
|
||||||
}else {
|
|
||||||
m_image=image;
|
|
||||||
}
|
|
||||||
|
|
||||||
m_label->setPixmap(QPixmap::fromImage(re_screen0));
|
|
||||||
}
|
|
||||||
|
|
||||||
void image_show::mousePressEvent(QMouseEvent *)
|
|
||||||
{
|
|
||||||
m_dialog->setimage(m_image);
|
|
||||||
m_dialog->showFullScreen();
|
|
||||||
m_dialog->setFixedSize(desktop_w,desktop_h);
|
|
||||||
m_dialog->move(0,0);/*
|
|
||||||
moveToCenter(m_dialog);*/
|
|
||||||
|
|
||||||
}
|
|
||||||
56
main.cpp
@@ -1,56 +0,0 @@
|
|||||||
#include <DApplication>
|
|
||||||
#include <DWidgetUtil> //Dtk::Widget::moveToCenter(&w); 要调用它,就得引用DWidgetUtil
|
|
||||||
#include <QDesktopWidget>
|
|
||||||
#include <widget.h>
|
|
||||||
DWIDGET_USE_NAMESPACE
|
|
||||||
int main(int argc, char *argv[])
|
|
||||||
{
|
|
||||||
DApplication::loadDXcbPlugin(); //让bar处在标题栏中
|
|
||||||
DApplication a(argc, argv);
|
|
||||||
a.setAttribute(Qt::AA_UseHighDpiPixmaps);
|
|
||||||
a.loadTranslator();
|
|
||||||
|
|
||||||
a.setOrganizationName("spark-union");
|
|
||||||
a.setApplicationVersion(DApplication::buildVersion("1.0-beta7"));
|
|
||||||
a.setApplicationAcknowledgementPage("https://gitee.com/deepin-community-store/spark-store");
|
|
||||||
a.setProductIcon(QIcon::fromTheme("spark-store")); //设置Logo
|
|
||||||
|
|
||||||
a.setProductName("Spark应用商店");
|
|
||||||
a.setApplicationDescription("社区驱动的一款为第三方应用商店,为改变而生");
|
|
||||||
a.setApplicationName("Spark应用商店"); //只有在这儿修改窗口标题才有效
|
|
||||||
Widget w;
|
|
||||||
QDesktopWidget *s=DApplication::desktop();
|
|
||||||
int d_w=s->width();
|
|
||||||
int d_h=s->height();
|
|
||||||
if(d_w<=1366){
|
|
||||||
w.setMinimumWidth(925);
|
|
||||||
w.resize(925,650);
|
|
||||||
}else if(d_w<=1920){
|
|
||||||
w.setMinimumWidth(1180);
|
|
||||||
w.resize(1180,760);
|
|
||||||
}else {
|
|
||||||
w.setMinimumWidth(1180);
|
|
||||||
w.resize(1180,760);
|
|
||||||
}
|
|
||||||
if(d_h<=768){
|
|
||||||
w.setMinimumHeight(650);
|
|
||||||
w.resize(925,650);
|
|
||||||
}else if(d_h<=1080){
|
|
||||||
w.setMinimumHeight(760);
|
|
||||||
w.resize(1180,760);
|
|
||||||
}else {
|
|
||||||
w.setMinimumHeight(760);
|
|
||||||
w.resize(1180,760);
|
|
||||||
}
|
|
||||||
// w.resize(925,650);
|
|
||||||
|
|
||||||
w.show();
|
|
||||||
QString arg1=argv[1];
|
|
||||||
if(arg1.left(6)=="spk://"){
|
|
||||||
w.openUrl(QUrl(argv[1]));
|
|
||||||
}
|
|
||||||
//让打开时界面显示在正中
|
|
||||||
Dtk::Widget::moveToCenter(&w);
|
|
||||||
|
|
||||||
return a.exec();
|
|
||||||
}
|
|
||||||
1
pkg/etc/aptss/sources.list.d/sparkstore.list
Normal file
@@ -0,0 +1 @@
|
|||||||
|
deb [by-hash=force] https://d.store.deepinos.org.cn /
|
||||||
9
pkg/tmp/spark-store-install/feedback.sh
Executable file
@@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
echo "From:sparkstorefeedback@163.com
|
||||||
|
To:sparkstorefeedback@163.com
|
||||||
|
Subject: spark-store_3.0.2: $(lsb_release -a | grep "Description" | sed -e "s#\t#@#" | cut -d "@" -f 2)
|
||||||
|
|
||||||
|
$(uname -a)" | tee /tmp/spark-store-install/feedback.txt > /dev/null
|
||||||
|
|
||||||
|
curl -s --url "smtp://smtp.163.com" --mail-from "${MAIL_FEEDBACK}" --mail-rcpt "${MAIL_FEEDBACK}" --upload-file /tmp/spark-store-install/feedback.txt --user "${MAIL_FEEDBACK}:${M}AIL_AUTH"
|
||||||
14
pkg/usr/lib/systemd/system/spark-update-notifier.service
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Spark Store update notifier
|
||||||
|
After=apt-daily.service network.target network-online.target systemd-networkd.service NetworkManager.service connman.service
|
||||||
|
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
RemainAfterExit=yes
|
||||||
|
ExecStart=/opt/durapps/spark-store/bin/update-upgrade/ss-update-notifier.sh
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=10
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
13
pkg/usr/share/applications/spark-store.desktop
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Encoding=UTF-8
|
||||||
|
Type=Application
|
||||||
|
Categories=System;
|
||||||
|
Exec=spark-store %u
|
||||||
|
Icon=spark-store
|
||||||
|
Name=Spark Store
|
||||||
|
Name[zh_CN]=星火应用商店
|
||||||
|
Keywords=appstore;
|
||||||
|
Terminal=false
|
||||||
|
StartupNotify=true
|
||||||
|
StartupWMClass=spark-store
|
||||||
|
MimeType=x-scheme-handler/spk
|
||||||
228
pkg/usr/share/bash-completion/completions/aptss
Normal file
@@ -0,0 +1,228 @@
|
|||||||
|
# Debian apt(8) completion -*- shell-script -*-
|
||||||
|
|
||||||
|
_aptss()
|
||||||
|
{
|
||||||
|
local sourcesdir="/etc/apt/sources.list.d"
|
||||||
|
local cur prev words cword
|
||||||
|
_init_completion || return
|
||||||
|
|
||||||
|
local GENERIC_APT_GET_OPTIONS='
|
||||||
|
-d --download-only
|
||||||
|
-y --assume-yes
|
||||||
|
--assume-no
|
||||||
|
-u --show-upgraded
|
||||||
|
-m --ignore-missing
|
||||||
|
-t --target-release
|
||||||
|
--download
|
||||||
|
--fix-missing
|
||||||
|
--ignore-hold
|
||||||
|
--upgrade
|
||||||
|
--only-upgrade
|
||||||
|
--allow-change-held-packages
|
||||||
|
--allow-remove-essential
|
||||||
|
--allow-downgrades
|
||||||
|
--print-uris
|
||||||
|
--trivial-only
|
||||||
|
--remove
|
||||||
|
--arch-only
|
||||||
|
--allow-unauthenticated
|
||||||
|
--allow-insecure-repositories
|
||||||
|
--install-recommends
|
||||||
|
--install-suggests
|
||||||
|
--no-install-recommends
|
||||||
|
--no-install-suggests
|
||||||
|
--fix-policy
|
||||||
|
'
|
||||||
|
|
||||||
|
# see if the user selected a command already
|
||||||
|
local COMMANDS=(
|
||||||
|
"ssupdate"
|
||||||
|
"list"
|
||||||
|
"search"
|
||||||
|
"show" "showsrc"
|
||||||
|
"install" "remove" "purge" "autoremove"
|
||||||
|
"update"
|
||||||
|
"upgrade" "full-upgrade" "dist-upgrade"
|
||||||
|
"edit-sources"
|
||||||
|
"help"
|
||||||
|
"source" "build-dep"
|
||||||
|
"clean" "autoclean"
|
||||||
|
"download" "changelog"
|
||||||
|
"moo"
|
||||||
|
"depends" "rdepends"
|
||||||
|
"policy")
|
||||||
|
|
||||||
|
local command i
|
||||||
|
for (( i=0; i < ${#words[@]}-1; i++ )); do
|
||||||
|
if [[ ${COMMANDS[@]} =~ ${words[i]} ]]; then
|
||||||
|
command=${words[i]}
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
# Complete a -t<SPACE><TAB>
|
||||||
|
case $prev in
|
||||||
|
-t|--target-release)
|
||||||
|
COMPREPLY=( $( compgen -W "$( apt-cache policy -o Dir::Cache="/etc/aptss/" | egrep -o 'a=[^,]*|n=[^,]*' | cut -f2- -d= | sort -u)" -- "$cur" ) )
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# supported options per command
|
||||||
|
if [[ "$cur" == -* ]]; then
|
||||||
|
case $command in
|
||||||
|
install|remove|purge|upgrade|dist-upgrade|full-upgrade|autoremove)
|
||||||
|
COMPREPLY=( $( compgen -W '--show-progress
|
||||||
|
--fix-broken --purge --verbose-versions --auto-remove
|
||||||
|
-s --simulate --dry-run
|
||||||
|
--download
|
||||||
|
--fix-missing
|
||||||
|
--fix-policy
|
||||||
|
--ignore-hold
|
||||||
|
--force-yes
|
||||||
|
--trivial-only
|
||||||
|
--reinstall --solver
|
||||||
|
-t --target-release'"$GENERIC_APT_GET_OPTIONS" -- "$cur" ) )
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
|
update)
|
||||||
|
COMPREPLY=( $( compgen -W '--list-cleanup
|
||||||
|
--print-uris
|
||||||
|
--allow-insecure-repositories
|
||||||
|
' -- "$cur" ) )
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
|
list)
|
||||||
|
COMPREPLY=( $( compgen -W '--installed --upgradable
|
||||||
|
--manual-installed
|
||||||
|
-v --verbose
|
||||||
|
-a --all-versions
|
||||||
|
-t --target-release
|
||||||
|
' -- "$cur" ) )
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
|
show)
|
||||||
|
COMPREPLY=( $( compgen -W '-a --all-versions
|
||||||
|
' -- "$cur" ) )
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
|
depends|rdepends)
|
||||||
|
COMPREPLY=( $( compgen -W '-i
|
||||||
|
--important
|
||||||
|
--installed
|
||||||
|
--pre-depends
|
||||||
|
--depends
|
||||||
|
--recommends
|
||||||
|
--suggests
|
||||||
|
--replaces
|
||||||
|
--breaks
|
||||||
|
--conflicts
|
||||||
|
--enhances
|
||||||
|
--recurse
|
||||||
|
--implicit' -- "$cur" ) )
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
|
search)
|
||||||
|
COMPREPLY=( $( compgen -W '
|
||||||
|
-n --names-only
|
||||||
|
-f --full' -- "$cur" ) )
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
|
showsrc)
|
||||||
|
COMPREPLY=( $( compgen -W '
|
||||||
|
--only-source' -- "$cur" ) )
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
|
source)
|
||||||
|
COMPREPLY=( $( compgen -W '
|
||||||
|
-s --simulate --dry-run
|
||||||
|
-b --compile --build
|
||||||
|
-P --build-profiles
|
||||||
|
--diff-only --debian-only
|
||||||
|
--tar-only
|
||||||
|
--dsc-only
|
||||||
|
-t --target-release
|
||||||
|
'"$GENERIC_APT_GET_OPTIONS" -- "$cur" ) )
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
|
build-dep)
|
||||||
|
COMPREPLY=( $( compgen -W '
|
||||||
|
-a --host-architecture
|
||||||
|
-s --simulate --dry-run
|
||||||
|
-P --build-profiles
|
||||||
|
-t --target-release
|
||||||
|
--purge --solver
|
||||||
|
'"$GENERIC_APT_GET_OPTIONS" -- "$cur" ) )
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
|
moo)
|
||||||
|
COMPREPLY=( $( compgen -W '
|
||||||
|
--color
|
||||||
|
' -- "$cur" ) )
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
|
clean|autoclean)
|
||||||
|
COMPREPLY=( $( compgen -W '
|
||||||
|
-s --simulate --dry-run
|
||||||
|
' -- "$cur" ) )
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
|
# specific command arguments
|
||||||
|
if [[ -n $command ]]; then
|
||||||
|
case $command in
|
||||||
|
remove|purge|autoremove)
|
||||||
|
if [[ -f /etc/debian_version ]]; then
|
||||||
|
# Debian system
|
||||||
|
COMPREPLY=( $( \
|
||||||
|
_xfunc dpkg _comp_dpkg_installed_packages $cur ) )
|
||||||
|
else
|
||||||
|
# assume RPM based
|
||||||
|
_xfunc rpm _rpm_installed_packages
|
||||||
|
fi
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
|
show|list|download|changelog|depends|rdepends)
|
||||||
|
COMPREPLY=( $( apt-cache --no-generate pkgnames "$cur" -o Dir::Cache="/etc/aptss/" \
|
||||||
|
2> /dev/null ) )
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
|
install)
|
||||||
|
COMPREPLY=( $( apt-cache --no-generate pkgnames "$cur" -o Dir::Cache="/etc/aptss/" \
|
||||||
|
2> /dev/null ) )
|
||||||
|
if [[ "$cur" == ./* || "$cur" == /* ]]; then
|
||||||
|
_filedir "deb"
|
||||||
|
fi
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
|
source|build-dep|showsrc|policy)
|
||||||
|
COMPREPLY=( $( apt-cache --no-generate pkgnames "$cur" -o Dir::Cache="/etc/aptss/" \
|
||||||
|
2> /dev/null ) $( apt-cache dumpavail -o Dir::Cache="/etc/aptss/" | \
|
||||||
|
command grep "^Source: $cur" | sort -u | cut -f2 -d" " ) )
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
|
edit-sources)
|
||||||
|
COMPREPLY=( $( compgen -W '$( command ls $sourcesdir )' \
|
||||||
|
-- "$cur" ) )
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
|
moo)
|
||||||
|
COMPREPLY=( $( compgen -W 'moo' \
|
||||||
|
-- "$cur" ) )
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
|
# no command yet, show what commands we have
|
||||||
|
if [ "$command" = "" ]; then
|
||||||
|
COMPREPLY=( $( compgen -W '${COMMANDS[@]}' -- "$cur" ) )
|
||||||
|
fi
|
||||||
|
|
||||||
|
return 0
|
||||||
|
} &&
|
||||||
|
complete -F _aptss aptss
|
||||||
|
|
||||||
|
# ex: ts=4 sw=4 et filetype=sh
|
||||||
268
pkg/usr/share/icons/hicolor/scalable/apps/spark-store.svg
Normal file
@@ -0,0 +1,268 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
width="200mm"
|
||||||
|
height="200mm"
|
||||||
|
viewBox="0 0 200 200"
|
||||||
|
version="1.1"
|
||||||
|
id="svg8"
|
||||||
|
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
|
||||||
|
sodipodi:docname="deepin-community-store.svg">
|
||||||
|
<defs
|
||||||
|
id="defs2">
|
||||||
|
<linearGradient
|
||||||
|
inkscape:collect="always"
|
||||||
|
id="linearGradient1200">
|
||||||
|
<stop
|
||||||
|
style="stop-color:#000000;stop-opacity:0.1299435"
|
||||||
|
offset="0"
|
||||||
|
id="stop1196" />
|
||||||
|
<stop
|
||||||
|
style="stop-color:#dadada;stop-opacity:0.81960785"
|
||||||
|
offset="1"
|
||||||
|
id="stop1198" />
|
||||||
|
</linearGradient>
|
||||||
|
<linearGradient
|
||||||
|
id="linearGradient1138"
|
||||||
|
inkscape:collect="always">
|
||||||
|
<stop
|
||||||
|
id="stop1134"
|
||||||
|
offset="0"
|
||||||
|
style="stop-color:#99e7ea;stop-opacity:1" />
|
||||||
|
<stop
|
||||||
|
id="stop1136"
|
||||||
|
offset="1"
|
||||||
|
style="stop-color:#007ffc;stop-opacity:1" />
|
||||||
|
</linearGradient>
|
||||||
|
<linearGradient
|
||||||
|
inkscape:collect="always"
|
||||||
|
id="linearGradient1128">
|
||||||
|
<stop
|
||||||
|
style="stop-color:#99e7ea;stop-opacity:1"
|
||||||
|
offset="0"
|
||||||
|
id="stop1124" />
|
||||||
|
<stop
|
||||||
|
style="stop-color:#007ffc;stop-opacity:1"
|
||||||
|
offset="1"
|
||||||
|
id="stop1126" />
|
||||||
|
</linearGradient>
|
||||||
|
<inkscape:path-effect
|
||||||
|
effect="bspline"
|
||||||
|
id="path-effect960"
|
||||||
|
is_visible="true"
|
||||||
|
weight="33.333333"
|
||||||
|
steps="2"
|
||||||
|
helper_size="0"
|
||||||
|
apply_no_weight="true"
|
||||||
|
apply_with_weight="true"
|
||||||
|
only_selected="false" />
|
||||||
|
<radialGradient
|
||||||
|
inkscape:collect="always"
|
||||||
|
xlink:href="#linearGradient1128"
|
||||||
|
id="radialGradient1130"
|
||||||
|
cx="100.35268"
|
||||||
|
cy="199.86011"
|
||||||
|
fx="100.35268"
|
||||||
|
fy="199.86011"
|
||||||
|
r="90.135414"
|
||||||
|
gradientTransform="matrix(1,0,0,0.98112945,0,3.7714702)"
|
||||||
|
gradientUnits="userSpaceOnUse" />
|
||||||
|
<radialGradient
|
||||||
|
inkscape:collect="always"
|
||||||
|
xlink:href="#linearGradient1138"
|
||||||
|
id="radialGradient1132"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
gradientTransform="matrix(1,0,0,0.98112945,0,3.7714702)"
|
||||||
|
cx="100.35268"
|
||||||
|
cy="199.86011"
|
||||||
|
fx="100.35268"
|
||||||
|
fy="199.86011"
|
||||||
|
r="90.135414" />
|
||||||
|
<radialGradient
|
||||||
|
inkscape:collect="always"
|
||||||
|
xlink:href="#linearGradient1200"
|
||||||
|
id="radialGradient1202"
|
||||||
|
cx="100.35268"
|
||||||
|
cy="199.86011"
|
||||||
|
fx="100.35268"
|
||||||
|
fy="199.86011"
|
||||||
|
r="90.135414"
|
||||||
|
gradientTransform="matrix(1,0,0,0.98112945,0,3.7714702)"
|
||||||
|
gradientUnits="userSpaceOnUse" />
|
||||||
|
<filter
|
||||||
|
style="color-interpolation-filters:sRGB;"
|
||||||
|
inkscape:label="Drop Shadow"
|
||||||
|
id="filter1448">
|
||||||
|
<feFlood
|
||||||
|
flood-opacity="0.372549"
|
||||||
|
flood-color="rgb(145,145,145)"
|
||||||
|
result="flood"
|
||||||
|
id="feFlood1438" />
|
||||||
|
<feComposite
|
||||||
|
in="flood"
|
||||||
|
in2="SourceGraphic"
|
||||||
|
operator="in"
|
||||||
|
result="composite1"
|
||||||
|
id="feComposite1440" />
|
||||||
|
<feGaussianBlur
|
||||||
|
in="composite1"
|
||||||
|
stdDeviation="5.2918"
|
||||||
|
result="blur"
|
||||||
|
id="feGaussianBlur1442" />
|
||||||
|
<feOffset
|
||||||
|
dx="0"
|
||||||
|
dy="0"
|
||||||
|
result="offset"
|
||||||
|
id="feOffset1444" />
|
||||||
|
<feComposite
|
||||||
|
in="SourceGraphic"
|
||||||
|
in2="offset"
|
||||||
|
operator="over"
|
||||||
|
result="composite2"
|
||||||
|
id="feComposite1446" />
|
||||||
|
</filter>
|
||||||
|
<filter
|
||||||
|
style="color-interpolation-filters:sRGB;"
|
||||||
|
inkscape:label="Drop Shadow"
|
||||||
|
id="filter2201">
|
||||||
|
<feFlood
|
||||||
|
flood-opacity="0.372549"
|
||||||
|
flood-color="rgb(145,145,145)"
|
||||||
|
result="flood"
|
||||||
|
id="feFlood2191" />
|
||||||
|
<feComposite
|
||||||
|
in="flood"
|
||||||
|
in2="SourceGraphic"
|
||||||
|
operator="in"
|
||||||
|
result="composite1"
|
||||||
|
id="feComposite2193" />
|
||||||
|
<feGaussianBlur
|
||||||
|
in="composite1"
|
||||||
|
stdDeviation="3.76995"
|
||||||
|
result="blur"
|
||||||
|
id="feGaussianBlur2195" />
|
||||||
|
<feOffset
|
||||||
|
dx="0"
|
||||||
|
dy="0"
|
||||||
|
result="offset"
|
||||||
|
id="feOffset2197" />
|
||||||
|
<feComposite
|
||||||
|
in="SourceGraphic"
|
||||||
|
in2="offset"
|
||||||
|
operator="over"
|
||||||
|
result="composite2"
|
||||||
|
id="feComposite2199" />
|
||||||
|
</filter>
|
||||||
|
</defs>
|
||||||
|
<sodipodi:namedview
|
||||||
|
id="base"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1.0"
|
||||||
|
inkscape:pageopacity="0.0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:zoom="0.35"
|
||||||
|
inkscape:cx="120.33119"
|
||||||
|
inkscape:cy="507.94585"
|
||||||
|
inkscape:document-units="mm"
|
||||||
|
inkscape:current-layer="layer1"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:window-width="1920"
|
||||||
|
inkscape:window-height="1040"
|
||||||
|
inkscape:window-x="0"
|
||||||
|
inkscape:window-y="0"
|
||||||
|
inkscape:window-maximized="1" />
|
||||||
|
<metadata
|
||||||
|
id="metadata5">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
<dc:title />
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<g
|
||||||
|
inkscape:label="Layer 1"
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
id="layer1"
|
||||||
|
transform="translate(0,-97)">
|
||||||
|
<rect
|
||||||
|
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:#ebebeb;stroke-width:2.87003541;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;filter:url(#filter2201)"
|
||||||
|
id="rect2119"
|
||||||
|
width="162.54665"
|
||||||
|
height="170.16383"
|
||||||
|
x="20.431099"
|
||||||
|
y="112.51035"
|
||||||
|
rx="30"
|
||||||
|
ry="30" />
|
||||||
|
<circle
|
||||||
|
style="opacity:1;fill:#959595;fill-opacity:1;stroke:#e9e9e9;stroke-width:3;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
id="path2121"
|
||||||
|
cx="58.208336"
|
||||||
|
cy="131.8244"
|
||||||
|
r="6.0476193" />
|
||||||
|
<circle
|
||||||
|
style="opacity:1;fill:#9c9c9c;fill-opacity:1;stroke:#eaeaea;stroke-width:3;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
id="path2121-5"
|
||||||
|
cx="143.63095"
|
||||||
|
cy="133.71429"
|
||||||
|
r="6.0476193" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
id="layer2"
|
||||||
|
inkscape:label="Layer 2">
|
||||||
|
<path
|
||||||
|
style="fill:#ffc344;fill-opacity:1;stroke:none;stroke-width:0.3091144px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||||
|
d="m 94.205599,42.389243 c 0,0 11.145081,-0.157476 22.599701,6.928753 11.45465,7.086223 18.11074,13.857508 20.27783,18.266716 2.16708,4.409209 9.28755,12.125332 9.13277,26.297795 -0.15488,14.172433 -3.40543,23.620763 -8.97797,31.494323 -5.57254,7.87359 -15.63405,13.85751 -27.70786,14.17247 -12.073829,0.31494 -19.813453,-7.55863 -22.444927,-11.96786 -2.631469,-4.4092 -3.715019,-13.85751 -0.464377,-20.62877 3.250645,-6.77132 8.358796,-6.77132 10.061513,-6.14141 1.702724,0.6299 2.167092,1.5747 3.095852,3.30689 0.928749,1.73219 1.547929,1.41726 2.941089,0.47243 1.39311,-0.94484 1.85748,-2.04715 1.54792,-3.46439 -0.30958,-1.417253 -2.16711,-3.149433 -3.71505,-3.621853 -1.547909,-0.47241 -3.715016,-1.88966 -6.810869,-1.41721 -3.095848,0.47238 -9.132757,2.04711 -14.240906,8.975843 -5.108153,6.92875 -4.488988,17.63684 -1.393134,22.67593 3.095849,5.0391 8.977962,14.48739 21.980539,17.79431 13.00259,3.30693 34.05435,-6.45633 41.32959,-21.57361 7.27524,-15.1173 7.43004,-22.20352 7.12048,-34.643764 C 148.22821,76.875544 137.23793,58.293884 125.00933,51.522601 112.78073,44.751315 103.64797,40.814522 94.205599,42.389243 Z"
|
||||||
|
id="path1002"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
<path
|
||||||
|
style="fill:#f06767;fill-opacity:1;stroke:none;stroke-width:0.3091144px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||||
|
d="m 100.67541,105.29647 c 0,0 -3.06474,-2.8951 -5.801108,2.22698 -2.736373,5.12205 -4.049827,9.68737 -1.313459,15.25486 2.736367,5.56745 8.428007,8.90792 17.184447,8.79659 8.75636,-0.11148 15.21419,-2.22699 19.0451,-8.5739 3.83094,-6.34692 6.7862,-11.02357 7.11457,-13.36191 0.32839,-2.33835 2.07965,0.33404 1.53239,2.33834 -0.54728,2.00426 -0.43783,5.9015 1.09454,5.12204 1.53237,-0.77942 2.73637,-2.00427 2.95526,-1.44753 0.21893,0.55673 -1.75127,4.00859 -2.68162,5.73449 -0.93039,1.7259 -3.83094,5.90153 -5.5275,7.51607 -1.69652,1.61458 -4.04981,3.89724 -6.84092,5.56747 -2.79109,1.67024 -7.11454,3.61887 -9.52255,4.06427 -2.40801,0.44539 -7.22403,1.39184 -9.96042,1.2805 -2.73635,-0.11137 -6.23892,-0.61243 -10.124558,-2.56104 -3.885645,-1.94859 -8.099657,-4.95505 -9.741479,-7.96148 -1.641825,-3.00643 -4.159283,-5.73449 -3.61201,-13.30623 0.547277,-7.57175 3.010008,-11.46899 4.870741,-13.25056 1.860731,-1.7816 4.597103,-2.56105 6.403105,-2.17131 1.806004,0.38971 2.955282,1.44755 3.393102,2.22697 0.43781,0.77944 1.149279,2.22699 1.532369,2.50538 z"
|
||||||
|
id="path1012"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
<path
|
||||||
|
style="fill:#3f62eb;fill-opacity:1;stroke:none;stroke-width:0.3091144px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||||
|
d="m 128.47695,145.38219 c 0,0 13.13457,-7.6831 19.26404,-19.82016 6.12948,-12.13707 8.7564,-19.93152 7.99021,-31.84592 -0.76619,-11.914358 -2.62692,-6.012854 -0.54728,-11.134928 2.07964,-5.122074 -1.31345,-15.254857 0.10943,-15.922949 1.42292,-0.668097 4.48765,4.453971 5.3633,8.573903 0.87562,4.119922 4.70654,16.813721 1.64181,32.959394 -3.06472,16.14564 -10.28872,22.60391 -15.10475,26.94655 -4.81603,4.34261 -15.7615,11.91437 -17.40332,11.80302 -1.64183,-0.11148 -1.86073,-0.11148 -1.31348,-1.55891 z"
|
||||||
|
id="path1014"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
<path
|
||||||
|
style="fill:#fce102;fill-opacity:1;stroke:none;stroke-width:0.3091144px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||||
|
d="m 104.83471,121.99883 c 0,0 7.00512,1.5589 12.36838,-1.78156 5.3633,-3.3405 9.5226,-8.79661 10.17931,-10.91225 0.65672,-2.11564 0.76619,1.89294 1.53236,-0.11125 0.76618,-2.00432 3.83093,-6.01288 2.29855,-15.366239 -1.53237,-9.35333 -1.64182,-9.798747 -4.48762,-14.809463 -2.84586,-5.010719 -9.63207,-11.91437 -13.79134,-14.141359 -4.15927,-2.226986 -9.96037,-5.567464 -17.950594,-5.344766 -7.990202,0.222699 -5.363286,-0.334048 -13.025124,1.002146 -7.661836,1.336187 -14.557491,5.010717 -16.856041,7.015006 -2.298552,2.004286 -8.428023,7.460405 -10.61712,10.46684 -2.189098,3.00643 -8.209113,9.798741 -11.383303,19.263442 -3.174189,9.464683 -4.487646,10.466823 -4.706555,16.702393 -0.21891,6.23557 0.547274,7.90578 -0.766185,8.46256 -1.31346,0.55673 -1.094547,-4.67668 -0.985094,-8.35123 0.109463,-3.6745 0.109463,-13.25056 4.925468,-23.940084 4.816015,-10.689538 13.353489,-19.597489 18.169503,-22.826622 4.816009,-3.229128 10.398208,-7.571752 19.045135,-9.687392 8.646933,-2.115635 17.293863,-1.781586 22.65716,-0.779443 5.3633,1.002145 13.68187,4.453974 18.1695,7.905802 4.48766,3.45183 9.41314,7.683099 13.13459,14.586765 3.72146,6.903648 4.70654,15.700251 4.59709,19.374771 -0.10943,3.674543 -1.97019,12.137103 -4.81601,16.257013 -2.84583,4.11993 -6.67674,9.0193 -10.61711,10.80089 -3.94039,1.78157 -8.75642,2.33833 -12.69675,0.55674 -3.94039,-1.78161 -3.72147,-2.44969 -4.3782,-4.34263 z"
|
||||||
|
id="path1016"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
<path
|
||||||
|
style="fill:#5ed938;fill-opacity:1;stroke:none;stroke-width:0.3091144px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||||
|
d="m 104.83471,121.99883 c 0,0 5.54674,1.56707 10.22918,-0.55878 4.68248,-2.12587 6.4239,-4.17301 7.54615,-5.3934 1.12223,-1.22042 3.25064,-3.50376 3.83112,-4.56669 0.58046,-1.06292 1.19962,-1.69282 1.19962,-2.08649 0,-0.39369 -1.08353,-1.33853 -0.0386,-3.62186 1.04482,-2.28333 1.97361,-7.519273 1.50922,-9.881333 -0.46438,-2.362073 -1.54792,-15.471616 -10.83547,-24.211303 -9.28753,-8.739678 -18.497709,-9.763242 -18.497709,-9.763242 0,0 14.705309,4.645415 21.593569,18.739134 6.88828,14.093741 4.64376,23.148344 0.23218,28.659854 -4.41158,5.51151 -10.68068,6.14141 -12.38342,4.72415 -1.70268,-1.41725 -5.2113,6.47164 -4.38574,7.95996 z"
|
||||||
|
id="path1018"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
<path
|
||||||
|
style="fill:#8fdbe9;fill-opacity:1;stroke:none;stroke-width:0.3091144px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||||
|
d="m 86.930353,71.44277 c 0,0 -9.906718,-0.07875 -17.414156,4.881616 -7.507436,4.960371 -11.14506,8.975903 -13.23476,12.125332 -2.089697,3.149446 -4.488981,7.479909 -4.179395,7.401179 0.309585,-0.0788 9.055364,-12.2828 15.866229,-15.432236 6.81087,-3.149436 13.621741,-7.558644 22.986687,-4.330482 9.364952,3.228184 13.776542,7.716118 15.788842,6.613829 2.0123,-1.1023 2.3993,-2.440824 1.23835,-3.936804 -1.16094,-1.495979 -9.364961,-8.818417 -21.051797,-7.322434 z"
|
||||||
|
id="path1020"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
<path
|
||||||
|
style="fill:#fd7aff;fill-opacity:1;stroke:none;stroke-width:0.3091144px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||||
|
d="m 72.107699,134.35862 c 0.65673,0.33404 5.58219,8.90795 9.522571,10.35548 3.940372,1.44755 6.567286,1.55888 7.005104,2.227 0.437821,0.66809 0.328367,4.00858 3.830921,5.45614 3.502555,1.44753 19.920785,6.01284 24.627325,6.45824 4.70658,0.4454 0.76621,3.22911 3.61202,4.23125 2.84584,1.00217 14.99532,1.5589 17.95061,0.33405 2.95527,-1.22483 2.95527,1.1135 -2.1891,3.1178 -5.14437,2.00427 -18.71677,6.79231 -27.58261,5.67882 -8.86586,-1.1135 -19.373526,-3.00644 -25.284086,-7.23772 -5.910565,-4.23126 -8.42802,-6.1242 -6.238924,-6.45824 2.189096,-0.33407 7.990199,5.9015 10.507662,6.56959 2.517463,0.66809 4.597103,0.66809 3.064735,-0.8908 -1.532366,-1.55888 -11.492755,-8.46253 -12.477849,-8.1285 -0.985092,0.33405 -3.064737,0.55674 -4.816012,-1.78159 -1.751278,-2.33832 -10.945484,-15.25485 -10.39821,-22.1585 0.547273,-6.90365 2.298552,-5.12208 4.378195,-2.56103 2.079641,2.56103 4.487648,4.78801 4.487648,4.78801 z"
|
||||||
|
id="path1022"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#939393;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||||
|
d="m 56.889259,34.981831 c 0,0 16.252976,26.08036 43.845241,26.83631 27.59226,0.75596 42.33333,-23.8125 42.33333,-23.8125"
|
||||||
|
id="path2138"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 14 KiB |
@@ -0,0 +1,18 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
|
||||||
|
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
|
||||||
|
<policyconfig>
|
||||||
|
<vendor>Spark Store</vendor>
|
||||||
|
<icon_name>x-package-repository</icon_name>
|
||||||
|
<action id="store.spark-app.ss-do-upgrade-worker">
|
||||||
|
<description>运行ss-do-upgrade-worker需要权限</description>
|
||||||
|
<message>要使用ss-do-upgrade-worker需要权限</message>
|
||||||
|
<defaults>
|
||||||
|
<allow_any>yes</allow_any>
|
||||||
|
<allow_inactive>yes</allow_inactive>
|
||||||
|
<allow_active>yes</allow_active>
|
||||||
|
</defaults>
|
||||||
|
<annotate key="org.freedesktop.policykit.exec.path">/opt/durapps/spark-store/bin/update-upgrade/ss-do-upgrade-worker.sh</annotate>
|
||||||
|
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
|
||||||
|
</action>
|
||||||
|
</policyconfig>
|
||||||
60
spark-store-project.pro
Normal file
@@ -0,0 +1,60 @@
|
|||||||
|
TARGET = spark-store
|
||||||
|
TEMPLATE = subdirs
|
||||||
|
|
||||||
|
CONFIG += ordered
|
||||||
|
|
||||||
|
SUBDIRS += \
|
||||||
|
src/spark-dstore-patch \
|
||||||
|
third-party/QtNetworkService \
|
||||||
|
src/spark-store.pro
|
||||||
|
|
||||||
|
|
||||||
|
spark-store.depends = third-party/QtNetworkService
|
||||||
|
|
||||||
|
# Update translation files
|
||||||
|
CONFIG(release, debug|release): system(bash $${PWD}/translate_generation.sh)
|
||||||
|
|
||||||
|
# Rules for deployment
|
||||||
|
tool.files += tool/*
|
||||||
|
tool.path = /opt/durapps/$${TARGET}/bin
|
||||||
|
|
||||||
|
qm.files += translations/*.qm
|
||||||
|
qm.path = /usr/share/spark-store/translations
|
||||||
|
|
||||||
|
#preferences.files += pkg/etc/apt/preferences.d/sparkstore
|
||||||
|
#preferences.path = /etc/apt/preferences.d
|
||||||
|
|
||||||
|
#sourceslist.files += pkg/etc/apt/sources.list.d/sparkstore.list
|
||||||
|
#sourceslist.path = /etc/apt/sources.list.d
|
||||||
|
|
||||||
|
bash_completion.files += pkg/usr/share/bash-completion/completions/aptss
|
||||||
|
bash_completion.path = /usr/share/bash-completion/completions
|
||||||
|
|
||||||
|
desktop.files += pkg/usr/share/applications/spark-store.desktop
|
||||||
|
desktop.path = /usr/share/applications
|
||||||
|
|
||||||
|
service.files += pkg/usr/lib/systemd/system/spark-update-notifier.service
|
||||||
|
service.path = /usr/lib/systemd/system/
|
||||||
|
|
||||||
|
polkit-1.files +=pkg/usr/share/polkit-1/actions/store.spark-app.ss-do-upgrade-worker.policy
|
||||||
|
polkit-1.path = /usr/share/polkit-1/actions/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
icon.files += pkg/usr/share/icons/hicolor/scalable/apps/spark-store.svg
|
||||||
|
icon.path = /usr/share/icons/hicolor/scalable/apps
|
||||||
|
|
||||||
|
tmp.files += pkg/tmp/spark-store-install/feedback.sh
|
||||||
|
tmp.path = /tmp/spark-store-install
|
||||||
|
|
||||||
|
INSTALLS += \
|
||||||
|
tool \
|
||||||
|
qm \
|
||||||
|
desktop \
|
||||||
|
icon \
|
||||||
|
preferences \
|
||||||
|
tmp \
|
||||||
|
service \
|
||||||
|
bash_completion \
|
||||||
|
polkit-1
|
||||||
|
# 暂时不添加
|
||||||
@@ -1,48 +0,0 @@
|
|||||||
#-------------------------------------------------
|
|
||||||
#
|
|
||||||
# Project created by QtCreator 2019-06-30T12:53:03
|
|
||||||
#
|
|
||||||
#-------------------------------------------------
|
|
||||||
|
|
||||||
QT += core gui webkitwidgets network concurrent
|
|
||||||
|
|
||||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
||||||
|
|
||||||
TARGET = spark-store
|
|
||||||
TEMPLATE = app
|
|
||||||
|
|
||||||
# The following define makes your compiler emit warnings if you use
|
|
||||||
# any feature of Qt which as been marked as deprecated (the exact warnings
|
|
||||||
# depend on your compiler). Please consult the documentation of the
|
|
||||||
# deprecated API in order to know how to port your code away from it.
|
|
||||||
DEFINES += QT_DEPRECATED_WARNINGS
|
|
||||||
|
|
||||||
# You can also make your code fail to compile if you use deprecated APIs.
|
|
||||||
# In order to do so, uncomment the following line.
|
|
||||||
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
|
||||||
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
|
||||||
|
|
||||||
|
|
||||||
SOURCES += main.cpp\
|
|
||||||
widget.cpp \
|
|
||||||
downloadlist.cpp \
|
|
||||||
image_show.cpp \
|
|
||||||
big_image.cpp
|
|
||||||
|
|
||||||
HEADERS += \
|
|
||||||
widget.h \
|
|
||||||
downloadlist.h \
|
|
||||||
image_show.h \
|
|
||||||
big_image.h
|
|
||||||
|
|
||||||
CONFIG += link_pkgconfig
|
|
||||||
PKGCONFIG += dtkwidget
|
|
||||||
|
|
||||||
CONFIG += c++11
|
|
||||||
|
|
||||||
FORMS += \
|
|
||||||
widget.ui \
|
|
||||||
downloadlist.ui
|
|
||||||
|
|
||||||
RESOURCES += \
|
|
||||||
icons.qrc
|
|
||||||
102
src/appitem.cpp
Normal file
@@ -0,0 +1,102 @@
|
|||||||
|
#include "appitem.h"
|
||||||
|
#include "ui_appitem.h"
|
||||||
|
#include <QtConcurrent>
|
||||||
|
#include <QNetworkAccessManager>
|
||||||
|
#include <QNetworkReply>
|
||||||
|
#include <QNetworkRequest>
|
||||||
|
#include <QEventLoop>
|
||||||
|
#include <QPainter>
|
||||||
|
#include <QGraphicsDropShadowEffect>
|
||||||
|
|
||||||
|
AppItem::AppItem(QWidget *parent) :
|
||||||
|
QWidget(parent),
|
||||||
|
ui(new Ui::AppItem)
|
||||||
|
{
|
||||||
|
ui->setupUi(this);
|
||||||
|
|
||||||
|
// auto shadow = new QGraphicsDropShadowEffect();
|
||||||
|
// shadow->setXOffset(0);
|
||||||
|
// shadow->setYOffset(1);
|
||||||
|
// shadow->setBlurRadius(2);
|
||||||
|
// shadow->setColor(QColor::fromRgba(qRgba(0, 0, 0, 180)));
|
||||||
|
// ui->container->setGraphicsEffect(shadow);
|
||||||
|
}
|
||||||
|
|
||||||
|
AppItem::~AppItem()
|
||||||
|
{
|
||||||
|
delete ui;
|
||||||
|
}
|
||||||
|
|
||||||
|
void AppItem::setTitle(QString title)
|
||||||
|
{
|
||||||
|
m_title = title;
|
||||||
|
ui->lbl_title->setText(title);
|
||||||
|
}
|
||||||
|
|
||||||
|
void AppItem::setDescription(QString description)
|
||||||
|
{
|
||||||
|
m_description = description;
|
||||||
|
QString elidedText = ui->lbl_desc->fontMetrics().elidedText(
|
||||||
|
description, Qt::ElideRight,
|
||||||
|
ui->lbl_desc->width(), Qt::TextShowMnemonic);
|
||||||
|
ui->lbl_desc->setText(elidedText);
|
||||||
|
ui->lbl_desc->setAlignment(Qt::AlignTop);
|
||||||
|
}
|
||||||
|
|
||||||
|
void AppItem::setIcon(QString icon)
|
||||||
|
{
|
||||||
|
m_icon = icon;
|
||||||
|
if(!icon.isEmpty())
|
||||||
|
{
|
||||||
|
downloadIcon(icon);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void AppItem::setUrl(QString url)
|
||||||
|
{
|
||||||
|
m_url = url;
|
||||||
|
}
|
||||||
|
|
||||||
|
void AppItem::mousePressEvent(QMouseEvent *event)
|
||||||
|
{
|
||||||
|
Q_UNUSED(event)
|
||||||
|
|
||||||
|
emit clicked(QUrl(m_url));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief 下载图标
|
||||||
|
* @param icon
|
||||||
|
*/
|
||||||
|
void AppItem::downloadIcon(QString icon)
|
||||||
|
{
|
||||||
|
QtConcurrent::run([=]()
|
||||||
|
{
|
||||||
|
auto reqManager = new QNetworkAccessManager();
|
||||||
|
|
||||||
|
QUrl url(icon);
|
||||||
|
QNetworkReply *reply = reqManager->get(QNetworkRequest(url));
|
||||||
|
QEventLoop loop;
|
||||||
|
connect(reply, &QNetworkReply::finished, &loop, &QEventLoop::quit);
|
||||||
|
connect(reply, &QNetworkReply::finished, this, [=] () { emit finished(); });
|
||||||
|
loop.exec();
|
||||||
|
reqManager->deleteLater();
|
||||||
|
|
||||||
|
QPixmap pixmap;
|
||||||
|
pixmap.loadFromData(reply->readAll());
|
||||||
|
pixmap = pixmap.scaled(78, 78, Qt::IgnoreAspectRatio, Qt::SmoothTransformation);
|
||||||
|
if (reply->error() == QNetworkReply::NoError)
|
||||||
|
{
|
||||||
|
QMetaObject::invokeMethod(this, "loadIcon", Qt::QueuedConnection, Q_ARG(QPixmap, pixmap));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
qDebug() << reply->errorString();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
void AppItem::loadIcon(QPixmap pic)
|
||||||
|
{
|
||||||
|
ui->lbl_icon->setPixmap(pic);
|
||||||
|
}
|
||||||
45
src/appitem.h
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
#ifndef APPITEM_H
|
||||||
|
#define APPITEM_H
|
||||||
|
|
||||||
|
#include <QWidget>
|
||||||
|
#include <QUrl>
|
||||||
|
|
||||||
|
namespace Ui {
|
||||||
|
class AppItem;
|
||||||
|
}
|
||||||
|
|
||||||
|
class AppItem : public QWidget
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
explicit AppItem(QWidget *parent = nullptr);
|
||||||
|
~AppItem() override;
|
||||||
|
|
||||||
|
void setTitle(QString title);
|
||||||
|
void setDescription(QString description);
|
||||||
|
void setIcon(QString icon);
|
||||||
|
void setUrl(QString url);
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void mousePressEvent(QMouseEvent *event) override;
|
||||||
|
|
||||||
|
private:
|
||||||
|
Ui::AppItem *ui;
|
||||||
|
|
||||||
|
QString m_title;
|
||||||
|
QString m_description;
|
||||||
|
QString m_icon;
|
||||||
|
QString m_url;
|
||||||
|
|
||||||
|
public slots:
|
||||||
|
void downloadIcon(QString icon);
|
||||||
|
void loadIcon(QPixmap pic);
|
||||||
|
|
||||||
|
signals:
|
||||||
|
void clicked(QUrl url);
|
||||||
|
void finished();
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // APPITEM_H
|
||||||
160
src/appitem.ui
Normal file
@@ -0,0 +1,160 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<ui version="4.0">
|
||||||
|
<class>AppItem</class>
|
||||||
|
<widget class="QWidget" name="AppItem">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>333</width>
|
||||||
|
<height>133</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="windowTitle">
|
||||||
|
<string>Form</string>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">QWidget#AppItem {
|
||||||
|
width: 300px;
|
||||||
|
height: 100px;
|
||||||
|
margin: 15px;
|
||||||
|
color: #6d6d6d;
|
||||||
|
border-radius: 18px;
|
||||||
|
background-color: width: 300px;
|
||||||
|
height: 100px;
|
||||||
|
margin: 15px;
|
||||||
|
color: #6d6d6d;
|
||||||
|
border-radius: 18px;
|
||||||
|
background-color: #F4F4F6;
|
||||||
|
}
|
||||||
|
|
||||||
|
QWidget#container {
|
||||||
|
background-color: #F4F4F6;
|
||||||
|
}
|
||||||
|
|
||||||
|
QLabel#lbl_icon {
|
||||||
|
background: transparent;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QLabel#lbl_title {
|
||||||
|
text-align: left;
|
||||||
|
white-space: nowrap;
|
||||||
|
padding-right: 10px;
|
||||||
|
font-size: 19px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
QLabel#lbl_desc {
|
||||||
|
text-align: left;
|
||||||
|
font-weight: lighter;
|
||||||
|
white-space: nowrap;
|
||||||
|
font-size: 12px;
|
||||||
|
color: grey;
|
||||||
|
}</string>
|
||||||
|
</property>
|
||||||
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||||
|
<property name="spacing">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="leftMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="topMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="rightMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="bottomMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<item>
|
||||||
|
<widget class="QWidget" name="container" native="true">
|
||||||
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||||
|
<property name="spacing">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="leftMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="topMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="rightMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="bottomMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="lbl_icon">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>100</width>
|
||||||
|
<height>100</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">width: 78px;
|
||||||
|
height: 70px;
|
||||||
|
padding: 10px;</string>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string/>
|
||||||
|
</property>
|
||||||
|
<property name="scaledContents">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="lbl_title">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>200</width>
|
||||||
|
<height>50</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>200</width>
|
||||||
|
<height>50</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string/>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="lbl_desc">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>200</width>
|
||||||
|
<height>50</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>200</width>
|
||||||
|
<height>50</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string/>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
<resources/>
|
||||||
|
<connections/>
|
||||||
|
</ui>
|
||||||
@@ -1,22 +1,31 @@
|
|||||||
#include "big_image.h"
|
#include "big_image.h"
|
||||||
|
|
||||||
#include <QHBoxLayout>
|
#include <QHBoxLayout>
|
||||||
#include <QtConcurrent>
|
#include <QtConcurrent>
|
||||||
big_image::big_image(DBlurEffectWidget *parent) : DBlurEffectWidget(parent)
|
|
||||||
|
big_image::big_image(DBlurEffectWidget *parent) :
|
||||||
|
DBlurEffectWidget(parent),
|
||||||
|
m_image(new QLabel)
|
||||||
{
|
{
|
||||||
// m_image->setParent(this);
|
// setWindowFlags(this->windowFlags() | Qt::WindowStaysOnTopHint); // 设置图片对话框总在最前
|
||||||
QHBoxLayout *layout=new QHBoxLayout;
|
setWindowModality(Qt::ApplicationModal); // 以上无效不如直接使用 模态化对话框
|
||||||
setLayout(layout);
|
|
||||||
layout->addWidget(m_image);
|
|
||||||
layout->setMargin(0);
|
|
||||||
m_image->setAlignment(Qt::AlignCenter);
|
|
||||||
// m_image->setMaximumSize(1360,768);
|
|
||||||
setWindowFlags(this->windowFlags() | Qt::WindowStaysOnTopHint);//设置图片对话框总在最前
|
|
||||||
setRadius(0);
|
setRadius(0);
|
||||||
setMaskAlpha(60);
|
setMaskAlpha(60);
|
||||||
setMaskColor(QColor("#000000"));
|
setMaskColor(QColor("#000000"));
|
||||||
|
|
||||||
|
QHBoxLayout *layout = new QHBoxLayout;
|
||||||
|
setLayout(layout);
|
||||||
|
layout->addWidget(m_image);
|
||||||
|
layout->setMargin(0);
|
||||||
|
|
||||||
|
// m_image->setParent(this);
|
||||||
|
// m_image->setMaximumSize(1360,768);
|
||||||
|
m_image->setAlignment(Qt::AlignCenter);
|
||||||
|
}
|
||||||
|
|
||||||
|
void big_image::setimage(QPixmap image)
|
||||||
|
{
|
||||||
|
m_image->setPixmap(image);
|
||||||
}
|
}
|
||||||
|
|
||||||
void big_image::mousePressEvent(QMouseEvent *)
|
void big_image::mousePressEvent(QMouseEvent *)
|
||||||
@@ -25,11 +34,6 @@ void big_image::mousePressEvent(QMouseEvent *)
|
|||||||
m_image->clear();
|
m_image->clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
void big_image::setimage(QPixmap image)
|
|
||||||
{
|
|
||||||
m_image->setPixmap(image);
|
|
||||||
}
|
|
||||||
|
|
||||||
void big_image::focusOutEvent(QFocusEvent *)
|
void big_image::focusOutEvent(QFocusEvent *)
|
||||||
{
|
{
|
||||||
hide();
|
hide();
|
||||||
@@ -1,25 +1,27 @@
|
|||||||
#ifndef BIG_IMAGE_H
|
#ifndef BIG_IMAGE_H
|
||||||
#define BIG_IMAGE_H
|
#define BIG_IMAGE_H
|
||||||
|
|
||||||
#include <QWidget>
|
|
||||||
#include <DBlurEffectWidget>
|
|
||||||
#include <QMouseEvent>
|
#include <QMouseEvent>
|
||||||
#include <QLabel>
|
#include <QLabel>
|
||||||
|
|
||||||
|
#include <DBlurEffectWidget>
|
||||||
|
|
||||||
DWIDGET_USE_NAMESPACE
|
DWIDGET_USE_NAMESPACE
|
||||||
|
|
||||||
class big_image : public DBlurEffectWidget
|
class big_image : public DBlurEffectWidget
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit big_image(DBlurEffectWidget *parent = nullptr);
|
explicit big_image(DBlurEffectWidget *parent = nullptr);
|
||||||
void mousePressEvent(QMouseEvent *event);
|
|
||||||
QLabel *m_image=new QLabel;
|
QLabel *m_image;
|
||||||
|
|
||||||
void setimage(QPixmap);
|
void setimage(QPixmap);
|
||||||
void focusOutEvent(QFocusEvent *event);
|
|
||||||
|
|
||||||
signals:
|
protected:
|
||||||
|
void mousePressEvent(QMouseEvent *event) override;
|
||||||
public slots:
|
void focusOutEvent(QFocusEvent *event) override;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // BIG_IMAGE_H
|
#endif // BIG_IMAGE_H
|
||||||
12
src/dbus/dbussparkstore.cpp
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
#include "dbussparkstore.h"
|
||||||
|
#include <QDebug>
|
||||||
|
DBusSparkStoreService::DBusSparkStoreService(QObject *parent)
|
||||||
|
: QDBusAbstractAdaptor(parent)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void DBusSparkStoreService::activeWindow(const QString & arg)
|
||||||
|
{
|
||||||
|
emit sigOpenUrl(arg);
|
||||||
|
}
|
||||||
24
src/dbus/dbussparkstore.h
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
#ifndef DBUSSPARKSTORE_H
|
||||||
|
#define DBUSSPARKSTORE_H
|
||||||
|
|
||||||
|
#include <QObject>
|
||||||
|
#include <QUrl>
|
||||||
|
#include <QtDBus/QtDBus>
|
||||||
|
|
||||||
|
class Wallpaper;
|
||||||
|
class DBusSparkStoreService : public QDBusAbstractAdaptor
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
Q_CLASSINFO("D-Bus Interface", "com.gitee.spark.store")
|
||||||
|
public:
|
||||||
|
explicit DBusSparkStoreService(QObject *parent);
|
||||||
|
|
||||||
|
signals :
|
||||||
|
void sigOpenUrl(const QString &url);
|
||||||
|
public Q_SLOTS:
|
||||||
|
|
||||||
|
void activeWindow(const QString &arg);
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // DBUSSPARKSTORE_H
|
||||||