免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2870 | 回复: 6
打印 上一主题 下一主题

简捷实用汉化FBSD4.7+windowmaker+gaimQQ [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-04-21 00:27 |只看该作者 |倒序浏览
本想先贴张图先,可是我不懂http
下载了看吧
ftp://hhd.kingisme/incoming/foxtwo借用一下/screen.png

步骤:

1)安装freebsd4.7+windowmaker或者其它东东
安装freebsd后检查一下是不是比我少了什么重要的库
(虽然我把多余的库进行了精简但是可能还有多余的,比我多没错的)
除了以后要装的例如gaim,其它的尤其是lib请装好
安装顺序请看后面
#pkg_info
Hermes-1.3.2        Fast pixel formats conversion library
ORBit-0.5.17        High-performance CORBA ORB with support for the C language
XFree86-4.2.0_1,1   X11/XFree86 core distribution (complete, using mini/meta-po
XFree86-FontServer-4.2.0 XFree86-4 Font Server
XFree86-Server-4.2.1_3 XFree86-4 X server and related programs
XFree86-clients-4.2.1_1 XFree86-4 Client environments
XFree86-documents-4.2.0 XFree86-4 Document Files
XFree86-font100dpi-4.2.0 XFree86-4 bitmap 100 dpi fonts
XFree86-font75dpi-4.2.0 XFree86-4 bitmap 75 dpi fonts
XFree86-fontCyrillic-4.2.0_4 XFree86-4 Cyrillic Fonts
XFree86-fontDefaultBitmaps-4.2.0 XFree86-4 default bitmap fonts
XFree86-fontEncodings-4.2.0 XFree86-4 font encoding files
XFree86-fontScalable-4.2.0 XFree86-4 Scalable font files
XFree86-libraries-4.2.1_1 XFree86-4 include/(shared) library kit
Xft-2.1_6           A client-sided font API for X applications
aalib-1.4.r5_1      An ascii art library
asclock-1.0         Afterstep clock with some language extentions
compat4x-i386-4.6.2 A convenience package to install the compat4x libraries
db3-3.3.11,1        The Berkeley DB package, revision 3
docbook-xml-4.1.2_1 XML version of the DocBook DTD
docbook-xsl-1.51.1  XSL DocBook stylesheets
esound-0.2.29       A sound library for enlightenment package
expat-1.95.5        XML 1.0 parser written in C
fontconfig-2.1.92   An XML-based font configuration API for X Windows
freetype-1.3.1_2    A free and portable TrueType font rendering engine
freetype2-2.1.2     A free and portable TrueType font rendering engine
gdk-pixbuf-0.21.0   A graphic library for GTK+
gettext-0.11.5_1    GNU gettext package
gimp-1.2.3_2,1      the GNU Image Manipulation Program
glib-1.2.10_7       Some useful routines of C programming (previous stable vers
gmake-3.79.1_3      GNU version of 'make' utility
gnomehier-1.0_3     An utility port, installing hierarchy of common GNOME direc
gnomelibs-1.4.2_1   Libraries for GNOME, a GNU desktop environment
gtk-1.2.10_8        Gimp Toolkit for X11 GUI (previous stable version)
imake-4.2.0_1       Imake and other utilities from XFree86
imlib-1.9.14_1      A graphic library for enlightenment package
intltool-0.22       Xml internationalization support for GNOME, and others
jpeg-6b_1           IJG's jpeg compression utilities
lcms-1.08           Light Color Management System -- a color management library
libgnugetopt-1.2    GNU getopt library
libiconv-1.8_1      A character set conversion library
libicq-0.33         Library to add ICQ communication support to your software
libmng-1.0.3        Multiple-image Network Graphics (MNG) reference library
libpanel-1.4.2      A library for writing custom applets for GNOME Panel
libtool-1.3.4_4     Generic shared library support script
libungif-4.1.0b1    Tools and library routines for working with GIF images
libunicode-0.4_3    A library for manipulating Unicode characters and strings
libutf-8.1.0        Unicode conversion routines between UCS-4 and UTF-8
libxml-1.8.17_1     Xml parser library for GNOME
libxml2-2.4.24      Xml parser library for GNOME
libxslt-1.0.20      The XSLT C library for GNOME
linux_base-7.1_1    The base set of packages needed in Linux mode
m4-1.4_1            GNU's m4
mkcatalog-1.1       A maintainance utility for sgml catalog files
nspr-4.1.2          A platform-neutral API for system level and libc like funct
pkgconfig-0.12.0    An utility used to retrieve information about installed lib
python-2.2.1        An interpreted object-oriented programming language
scrollkeeper-0.3.11_2,1 An Open Document Cataloging Project
sdocbook-xml-4.1.2.5 "Simplified" DocBook XML DTD
tiff-3.5.7          Tools and library routines for working with TIFF images
windowmaker-0.80.1  GNUStep-compliant NeXTStep window manager clone
wmicons-1.0         Icons mainly for use in Window Maker
wrapper-1.0_2       Wrapper for XFree86-4 server
zh-ttfm-0.9.3_3     A Big5/GB enhanced TrueType Font Manager
zh-xsim-0.3.9.4     

安装linuxbase
安装autoconf和automake和gmake和glib和gtk
注意:freebsd自带的glib=gtk=1.2.10但是不能被某些软件认出来

2)安装gaim-0.58.tar.gz(源码包,不需要打补丁也行,必需是0.5
能用ports安装最好,可是4.7的是gaim-0.59.6
#./configure;make;make install
如果出现错误请试试用gmake代替make
下载libqq-....gcc296.so插件
#cp libqq......gcc296.so /usr/local/lib/gaim
现在还不能用,别急

2。1)
在$HOME/.cshrc里面(for csh)
  setenv LIBDIR /usr/lib:/usr/local/lib:/usr/compat/linux/lib:/usr/compat/linux/usr/lib
  setenv LD_LIBRARY_PATH $LIBDIR
  setenv LD_RUN_PATH $LIBDIR
2。2)  或$HOME/.profile(for sh/bash)加入
   export LIBDIR=/usr/lib:/usr/local/lib:/usr/compat/linux/lib:/usr/compat/linux/usr/lib
   export LD_LIBRARY_PATH=$LIBDIR
    export LD_RUN_PATH=$LIBDIR
现在可以用qq了,但是还是不能用中文
而且mozilla显示的中文是麻将字

3)安装中文simsun字体
到http://www.kingisme.com/quakelee下载做好的字体包和下面提到的东东
解压缩后 cp * /usr/X11R6/lib/X11/fonts/TrueType (没有就建一个)
我觉得quakelee的fonts.dir都是多余的
安装fontconfig+Xft (可能本来freebsd就有)
到  /usr/X11R6/lib/X11/fonts/TrueType
和/usr/X11R6/lib/X11/fonts/TTF目录下面执行
#rm fonts.*
#fc-cache
修改/etc/X11/XF86Config  我的如下(部分)多余的FontPath和Load都注释掉
Section "Files"
        FontPath  "/usr/X11R6/lib/X11/fonts/TrueType"
        FontPath  "/usr/X11R6/lib/X11/fonts/TTF"
EndSection
Section "Module"
        Load "freetype"
EndSection
启动x如果你安装了phoenix或mozilla之类的应该可以显示中文了
但是qq仍然是乱码

4)
安装/usr/ports/chinese/xsim
make install最后会提示要注意
/usr/X11R6/lib/X11/locale/zh_CN/XI18N_OBJS
去掉第一行非注释的(共四行)(我装了3遍,必需去掉)
在 $HOME/.xinitrc里面添加
export LC_CTYPE=zh_CN.EUC
export LANG=zh_CN.EUC
export LC_ALL=zh_CN.EUC
export XMODIFIERS='@im=XSIM'
启动X

奇迹出现了!
可以输入中文,而且Gaim的界面自动变为中文(我没装补丁)

论坛徽章:
0
2 [报告]
发表于 2003-04-21 09:09 |只看该作者

简捷实用汉化FBSD4.7+windowmaker+gaimQQ

如第三步
多余的module和fontpath一定要去掉,留着只会碍事

论坛徽章:
0
3 [报告]
发表于 2003-04-21 22:00 |只看该作者

简捷实用汉化FBSD4.7+windowmaker+gaimQQ

谢谢,收下先

论坛徽章:
0
4 [报告]
发表于 2003-04-22 10:21 |只看该作者

简捷实用汉化FBSD4.7+windowmaker+gaimQQ

两天一来终于有人回应了
感动中。。。。。。

我希望看到有人不成功的错误
  ihweb就还没成功,正在找原因
你的错误就是别人的前辙

或者是能够比我更精简(实际上pkg_info还能精简)

我希望能够通过大家共同努力,把中文化做到最简步骤
然后把所有用到的pkg做到freebsd-disc1的iso里面(把多余的去掉)
成为我们的freebsd-chinese发行版

论坛徽章:
0
5 [报告]
发表于 2003-04-22 11:04 |只看该作者

简捷实用汉化FBSD4.7+windowmaker+gaimQQ

jlh看到了么

论坛徽章:
0
6 [报告]
发表于 2003-04-22 11:23 |只看该作者

简捷实用汉化FBSD4.7+windowmaker+gaimQQ

如果对pkg之间的倚赖关系不太清楚请看“汉化指南之depend篇”

论坛徽章:
0
7 [报告]
发表于 2003-04-29 21:42 |只看该作者

简捷实用汉化FBSD4.7+windowmaker+gaimQQ

本来我在4.7下能用,后来升级到4.8stable后就不能用了。一运行就crash.
呵呵,已经不用了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP