openSUSE:YaST 开发移植
移植 YaST
此页面提供有关在非 SUSE 系统上编译和运行 YaST 的信息。
目前,有两个项目正在移植 YaST
- Oracle 将 YaST 移植到 RHEL4
- yast4debian 将 YaST 移植到 Debian
- 他们有一个 编译指南。
通过我们的 YaST 邮件列表与我们联系,并查看相应的存档以获取移植帮助。
Ubuntu
我能够编译以下程序/模块
ii yast2 2.13.72-1 YaST2 - Main Package ii yast2-control-center 2.13.2-1 YaST2 - Control Center ii yast2-core 2.13.27-1 YaST2 - Core Libraries ii yast2-country 2.13.31-1 YaST2 - Country Settings (Language, Keyboard ii yast2-devtools 2.13.21-1 YaST2 - Development Tools ii yast2-dns-server 2.13.16-1 YaST2 - DNS Server Configuration ii yast2-gtk 0.1-1 YaST2 - Graphical GTK User Interface ii yast2-inetd 2.13.4-1 YaST2 - Network Services Configuration ii yast2-installation 2.13.141-1 YaST2 - Installation Parts ii yast2-ldap 2.13.4-1 YaST2 - LDAP Agent ii yast2-ldap-client 2.13.20-1 YaST2 - LDAP Client Configuration ii yast2-network 2.13.59-1 YaST2 - Network Configuration ii yast2-pam 2.13.5-1 YaST2 - PAM Agent ii yast2-perl-bindings 2.13.8-1 YaST2 - Perl Bindings ii yast2-pkg-bindings 2.13.90-1 YaST2 Package Manager Access ii yast2-qt 2.13.61-1 YaST2 - Graphical User Interface ii yast2-runlevel 2.13.8-1 YaST2 - Runlevel Editor ii yast2-security 2.13.4-1 YaST2 - Security Configuration ii yast2-slp 2.13.1-1 SLP Agent and Browser for YaST ii yast2-sysconfig 2.13.7-1 YaST2 - Powertweak Configuration ii yast2-testsuite 2.13.1-1 YaST2 - Testsuite ii yast2-theme 2.13.8-1 YaST2 - Theme ii yast2-trans-de 2.14.1-1 YaST2 - German Translations ii yast2-tune 2.13.7-1 YaST2 - Hardware Tuning ii yast2-users 2.13.22-1 YaST2 - User and Group Configuration ii liby2util 2.13.7-1 YaST2--Utilities Library ii zypp 1.2.0-1 Package, Patch, Pattern, and Product Management ii ldapcpplib 0.0.4-1 C++ API for LDAPv3
但这并不意味着它们可以运行;-)
说明
- 此处未记录缺少的软件包,此外,此处命名的解决方案可能不完善,也可能不是最佳解决方案。
- zypp: 需要将 libxml 符号链接到 libxml2/libxml in /usr/include。
- yast2-qt: 需要将 --with-qt-dir=/usr/share/qt3 --with-qt-libdir=/usr/share/qt3/lib 添加到 configure 命令。
- yast2-gtk: 您需要 libcdparanoia0-dev。这对我来说很难找到。ycc.sh 的第 14 行应该如下所示:module=`/usr/bin/zenity --title "Yast Control Center" \
- yast2-theme: 创建一个符号链接 current 到主题,请参阅 *.spec
- yast2-users: 您需要安装许多其他 yast 模块。查看 /var/log/YaST2
- yast2-hardware-detection: 安装最新版本以及 libhd13 和 libhd13-dev
截图
- Yast2-screenshot-ubuntu-1.png
第一个 YaST2 QT 截图
- Yast2-screenshot-ubuntu-2.png
第一个启动的模块 - 尚未实现功能
- Yast2-screenshot-ubuntu-3.png
YaST 控制中心
- Yast2-screenshot-ubuntu-4.png
YaST 用户模块
- Yast2-screenshot-ubuntu-5.png
第一个 YaST2 GTK 截图
- Yast2-screenshot-ubuntu-6.png
使用 GTK 的 YaST 用户模块
- Yast-ubuntu-screen-hwinfo.png
YaST 硬件信息模块 - 需要改进
- Ubuntu-yast2-ncurses.png
YaST ncurses 界面
Linux From Scratch
说明
本节可以作为 LFS 项目的“提示”。我们想要做的是使所有 YaST2 源代码路径无关,或者说消除围绕某些文件(例如指向 /usr/share/YaST2)的所有绝对路径。
当然,还需要采取所有必要的步骤,才能在您最喜欢的 $prefix 中获得一个可用的 YaST2。
补丁
YaST2 模块所需的补丁将在此处发布。