使用了一段时间 V23 版本,饱受玲珑应用的毒害,很多原来功能正常的应用上了玲珑就各种小问题,但是仓库里不提供 deb 版,所以打算在玲珑应用彻底稳定之前,先去除玲珑这个毒瘤。
目前本人使用的软件有音乐、影院、归档管理器、看图、邮箱、截图录屏、文本编辑器、文档查看器,本计划只针对这几个软件。
音乐
1 2 3 4 5 6 7 8 9 10 11
| git clone https://github.com/linuxdeepin/deepin-music.git --depth=1 cd deepin-music
sudo apt build-dep .
dpkg-buildpackage -b -us -uc
ll-cli uninstall org.deepin.music
sudo apt install ../deepin-music_7.0.3_amd64.deb
|
文本编辑器
1 2 3 4 5 6 7 8 9 10 11
| git clone https://github.com/linuxdeepin/deepin-editor.git --depth=1 cd deepin-editor
sudo apt build-dep .
dpkg-buildpackage -b -us -uc
ll-cli uninstall org.deepin.editor
sudo apt install ../deepin-editor_6.0.15_amd64.deb
|
影院
影院需要修改 control 文件中依赖版本
1 2 3 4 5 6 7 8 9 10 11 12 13
| git clone https://github.com/linuxdeepin/deepin-movie-reborn.git --depth=1 cd deepin-movie-reborn
sudo apt build-dep .
dpkg-buildpackage -b -us -uc
ll-cli uninstall org.deepin.movie
sudo apt install ../deepin-movie_xxx.deb ../libdmr_xxx.deb
|
看图
看图需要额外编译一下依赖包
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
| git clone https://github.com/linuxdeepin/deepin-ocr-plugin-manager.git --depth=1 cd deepin-ocr-plugin-manager
sudo apt build-dep .
dpkg-buildpackage -b -us -uc
sudo apt install ../libdeepin-ocr-plugin-manager-dev_1.0.0_amd64.deb ../libdeepin-ocr-plugin-manager_1.0.0_amd64.deb
git clone https://github.com/linuxdeepin/deepin-image-viewer.git --depth=1 cd deepin-image-viewer
sudo apt build-dep .
dpkg-buildpackage -b -us -uc
ll-cli uninstall org.deepin.image.viewer
sudo apt install ../deepin-image-viewer_6.0.3_amd64.deb
sudo rm -rf /persistent/linglong/entries/share/deepin-ocr-plugin-manager
|
文档查看器
文档查看器编译时测试可能报错,这里先去掉测试
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
| git clone https://github.com/linuxdeepin/deepin-reader.git --depth=1 cd deepin-reader
sudo apt build-dep .
dpkg-buildpackage -b -us -uc
ll-cli uninstall org.deepin.reader
sudo apt install ../deepin-reader_6.0.7_amd64.deb
|
归档管理器
归档管理器需要修改部分代码
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| git clone https://github.com/linuxdeepin/deepin-compressor.git --depth=1 cd deepin-compressor
sudo apt build-dep .
dpkg-buildpackage -b -us -uc
ll-cli uninstall org.deepin.compressor
sudo apt install ../deepin-compressor_6.0.0_amd64.deb
|
截图录屏
这个比较特殊,opencv 安装时有依赖问题,需要重新编译
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
| apt source libopencv-dev cd opencv_4.5.4+dfsg.1-1+dde
sudo apt build-dep .
dpkg-buildpackage -b -us -uc
sudo apt install ../libopencv-imgcodecs4.5_4.5.4+dfsg.1-1+dde_amd64.deb
git clone https://github.com/linuxdeepin/deepin-screen-recorder.git --depth=1 cd deepin-screen-recorder
sudo apt build-dep .
dpkg-buildpackage -b -us -uc
dpkg-buildpackage -b -us -uc -nc
ll-cli uninstall org.deepin.screen-recorder
sudo apt install ../deepin-screen-recorder_6.0.1_amd64.deb
|
邮箱
邮箱没有源码,需要复制文件到指定目录
1 2 3 4 5 6 7
| sudo cp -r /persistent/linglong/layers/org.deepin.mail/5.4.28/x86_64/files/bin/deepin-mail /usr/bin/deepin-mail sudo cp -r /persistent/linglong/layers/org.deepin.mail/5.4.28/x86_64/files/share/applications/* /usr/share/applications/ sudo cp -r /persistent/linglong/layers/org.deepin.mail/5.4.28/x86_64/files/share/deepin-mail/* /usr/share/deepin-mail/ sudo cp -r /persistent/linglong/layers/org.deepin.mail/5.4.28/x86_64/entries/deepin-manual/* /usr/share/deepin-manual/ sudo cp -r /persistent/linglong/layers/org.deepin.mail/5.4.28/x86_64/entries/icons/* /usr/share/icons/
cp -r ~/.linglong/org.deepin.mail/share/deepin/deepin-mail/* ~/.local/share/deepin/deepin-mail/
|
最后卸载玲珑
1 2 3
| sudo apt purge linglong* sudo rm -rf /persistent sudo rm -rf ~/.linglong
|