技术解析
由于自己使用的是 Fedora 29 工作站,官方只有 deb 包,所以自己在这个 netease-cloud-music-appimage 项目的基础上 ,增加 travis-ci 支持,打包最新的 1.2.0.2 版本。
项目地址: https://github.com/ZetaoYang/netease-cloud-music-appimage
下载地址: https://github.com/ZetaoYang/netease-cloud-music-appimage/releases
深度截图 也可用此方法打包,使用 deepin-screenshot.yml:
app: deepin-screenshot
binpatch: true
ingredients:
dist: deepin15.9
sources:
- deb http://mirrors.163.com/deepin panda main contrib non-free
script:
- VERSION=4.1.9
- wget -c http://mirrors.163.com/deepin/pool/main/d/deepin-screenshot/deepin-screenshot_4.1.9-1_amd64.deb --trust-server-names
- echo $VERSION > VERSION
script:
- cp usr/share/icons/hicolor/scalable/apps/deepin-screenshot.svg .
但由于 deepin-screenshot.desktop
内容不规范,报错如下:
+ desktop-file-validate ./deepin-screenshot.desktop
./deepin-screenshot.desktop: warning: value "??????? ?? ??? ??????" for key "Comment[am]" in group "Desktop Entry" looks redundant with value "??????? ?? ??? ??????" of key "GenericName[am]"
./deepin-screenshot.desktop: warning: value "Aplicaci?n de Captura de Pantalla" for key "Comment[es_AR]" in group "Desktop Entry" looks redundant with value "Aplicaci?n de Captura de Pantalla" of key "GenericName[es_AR]"
./deepin-screenshot.desktop: warning: value "Captura de pantalla a Aplicaci?n" for key "Comment[es_CL]" in group "Desktop Entry" looks redundant with value "Captura de pantalla a Aplicaci?n" of key "GenericName[es_CL]"
./deepin-screenshot.desktop: warning: value "Capturador de Pantalla" for key "Comment[es_ES]" in group "Desktop Entry" looks redundant with value "Capturador de Pantalla" of key "GenericName[es_ES]"
./deepin-screenshot.desktop: warning: value "Aplicaci?n para captura de pantallas" for key "Comment[es_PE]" in group "Desktop Entry" looks redundant with value "Aplicaci?n para captura de pantallas" of key "GenericName[es_PE]"
./deepin-screenshot.desktop: error: file contains group "Full_Screenshot Shortcut Group", but groups extending the format should start with "X-"
遂放弃。