LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2818|回复: 45

弟兄们共同帮忙汉化 slax

[复制链接]
发表于 2004-5-24 08:23:56 | 显示全部楼层 |阅读模式
小弟前不久发现很好的基于slackware的livecd,做的很不错,用过后你就会深深遗憾缺少中文的支持。大小是180兆,含有kde的最新版。感兴趣的高手可以拿虚拟机试一下
可惜没有中文字体,没有中文支持。给作者建议,可是人家表示对此不感兴趣,还得自己动手。详细信息可以看看官方网站 www.slax.linux-live.org.
我自己搞了一下,可是仅仅是能显示中文了,这个添加了字体就成,安装了magic的kde3.2.1的中文包,可是在控制中心的语言选项中还是不见有中文的内容,上面自然没有gcc,我也不懂得没有gcc的情况下如何编译安装源码包,好像也没有slack的那个软件管理包

中文化最好是能做成模块,这样在以后的版本中均可使用。网站给了做模块的步骤,可是偶没有看懂  ,偶的所有努力都是将它放到硬盘里的,主要参考的是knoppix的汉化,可是偶汉化到所说的程度后,重启以后就startx不了了  

添加fcitx的结果是,桌面控制台可以显示中文了,可是无法调出输入条。举个例子,就是运行fcitx后再运行一次,桌面控制台会显示“已有同名程序运行”

希望有感兴趣的弟兄姐妹们共同作出这个中文模块来,偶正在翻译网页
 楼主| 发表于 2004-5-24 08:25:04 | 显示全部楼层

制作模块

How to create own modules

At first, you have to download Linux Live scripts. Unpack them in /tmp directory, chdir to /tmp/linux-live-y.x.z/ and run ./install. Your system is now prepared.

The easiest way how to create a module is to convert Slackware's package to IMG. For example, to convert quake.tgz slackware's package use:


tgz2img quake.tgz quake.img


To create a module for SLAX, create an empty directory somewhere, for example in /tmp/newmod. Then create the essential module content in this directory. Each module should contain these files:

preinsert # /tmp/newmod/preinsert
postinsert # /tmp/newmod/postinsert
manual # /tmp/newmod/manual

and it should contain these directories:

data/ # /tmp/newmod/data/

The directory ./data should contain the whole filesystem (all changed or new files and directories). Let's assume that ./data is the new root here, so if you wish to include /bin/bash in your module, place it in ./data/bin/bash (or in /tmp/newmod/data/bin/bash in this example).

Note: The content of ./data directory could be created from slackware's TGZ package by using "installpkg -root ./data packagename.tgz" (or by "installpkg -root /tmp/newmod/data/ packagename.tgz" in this example)

Finaly, create the module by using

dir2img /tmp/newmod/ /tmp/modulename.img

The first argument is the module directory, the second one is the new name for your module.
发表于 2004-5-24 12:05:47 | 显示全部楼层
我有刻录机,但是没好网络,残念………………
发表于 2004-5-24 12:30:51 | 显示全部楼层
有了啊
 楼主| 发表于 2004-5-24 17:02:51 | 显示全部楼层

版主!!!!!

版主有兴趣我给你一张
一起来汉化
真的很不错
不过是我个人的感觉
我很喜欢
 楼主| 发表于 2004-5-24 18:14:09 | 显示全部楼层
如何在没有gcc的情况下安装源码包??
能不能在其它的系统上先编译好再拿过来用?
我在slax上安装了magic的kde-i18n-3.2的包后(rpm)
已经安装了字体,可以显示中文了,但是再控制中心的语言选项里没有中文,什么也没有,这是怎么回事??
发表于 2004-5-24 20:24:35 | 显示全部楼层
Slackware的KDE安装路径和Magic不一样,不能直接套用
发表于 2004-5-24 21:37:58 | 显示全部楼层
Magic是在/usr Slack是在/opt/kde
人家呆丸同胞都做了,我们改改就行了
 楼主| 发表于 2004-5-25 06:38:10 | 显示全部楼层
问题是,好像只能用rpm包了,里边没有编译器,没有installpkg
slack又只有.tgz包,没有编译器,不用编译器吗?
发表于 2004-5-25 07:13:52 | 显示全部楼层
rpm2tgz
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表