Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[V23] feat: test linglong-convert-tool #10930

Open
chenchongbiao opened this issue Nov 20, 2024 · 1 comment
Open

[V23] feat: test linglong-convert-tool #10930

chenchongbiao opened this issue Nov 20, 2024 · 1 comment

Comments

@chenchongbiao
Copy link

Package information | 软件包信息

包名 版本
linglong-convert-tool 0.0.1

Package repository address | 软件包仓库地址

deb [trusted=yes] https://ci.deepin.com/repo/obs/home:/chenchongbiao:/linglong-convert-tool/main/ ./
@chenchongbiao
Copy link
Author

chenchongbiao commented Nov 20, 2024

Integration Test Info

这是一个新写的玲珑转换工具,用来转换 Deb、Appimage、Flatpak 应用为玲珑应用,为了保证 Deb 转换的成功率,会自动运行玲珑应用补充缺失的动态库,先以 linglong-convert-tool 代称。

Test suggestion | 测试建议

转换 Deb 应用

序号 软件 下载
1 vscode https://code.visualstudio.com/
2 百度网盘 https://pan.baidu.com/download#linux
3 腾讯会议 https://updatecdn.meeting.qq.com/cos/fb7464ffb18b94a06868265bed984007/TencentMeeting_0300000000_3.19.2.400_x86_64_default.publish.officialwebsite.deb

测试命令

ll-cnvrt convert deb -p ./code_1.94.2-1728494015_amd64.deb

-p, 参数指定软件包
-o, 指定导出玲珑应用的类型,如 -o layer,默认导出 layer 文件,导出uab使用 -o uab

转换 Appimage 应用

序号 软件 下载
1 BrainWaves https://github.com/makebrainwaves/BrainWaves/releases/download/v0.15.1/BrainWaves-0.15.1.AppImage
2 AAAAXY https://www.appimagehub.com/p/1758731
3 iQPuzzle https://www.appimagehub.com/p/1109486

测试命令

ll-cnvrt convert appimage -p ./BrainWaves-0.15.1.AppImage

-p, 参数指定软件包
-o, 指定导出玲珑应用的类型,如 -o layer,默认导出 layer 文件,导出uab使用 -o uab

转换 Flatpak 应用

序号 软件
1 org.videolan.VLC
2 org.kde.vvave
3 org.kde.umbrello

flatpak 官方没有直接提供 flatpak 文件的下载,需要使用 flatpak 命令安装 Flatpak 应用,导出。

下面给出操作流程

添加 flatpak 官方远程仓库

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

更改为上交大镜像源,或者其他源。

flatpak remote-modify flathub --url=https://mirror.sjtu.edu.cn/flathub

看flatpak镜像源的详细信息

flatpak remotes --show-details

安装 org.videolan.VLC 应用

flatpak install org.videolan.VLC

导出一个 Flatpak yingyong

flatpak build-bundle /var/lib/flatpak/repo org.videolan.VLC.flatpak app/org.videolan.VLC/x86_64/stable

这里的 org.videolan.VLC.flatpak 为导出的文件名, app/org.videolan.VLC/x86_64/stable 导出的具体应用,根据实际导出的应用替换org.videolan.VLC, x86_64 也根据实际导出的架构进行修改,这里为 x86_64 。

测试命令

ll-cnvrt convert flatpak -p ./org.videolan.VLC.flatpak

-p, 参数指定软件包
-o, 指定导出玲珑应用的类型,如 -o layer,默认导出 layer 文件,导出uab使用 -o uab

Influence | 影响范围

ADDITIONAL INFORMATION | 额外补充

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant