分页: 1 / 1

尝试制作scim1.4的deb,记录过程如下:

发表于 : 2005-07-19 16:59
oneleaf
sudo apt-get install gtk2-engines-dev
sudo apt-get install build-essential
sudo apt-get install dh-make
sudo apt-get install debhelper
sudo apt-get install fakeroot

#scim 完成
mkdir scim
cd scim
wget http://jaist.dl.sourceforge.net/sourcef ... 4.0.tar.gz
tar zxvf scim-1.4.0.tar.gz
cd scim-1.4.0
dh_make -e oneleaf@gmail.com -f ../scim-1.4.0.tar.gz
dpkg-buildpackage -rfakeroot
cd ../../

#scim-tables 完成
mkdir scim-tables
cd scim-tables
wget http://jaist.dl.sourceforge.net/sourcef ... 5.1.tar.gz
tar zxvf scim-tables-0.5.1.tar.gz
cd scim-tables-0.5.1
dh_make -e oneleaf@gmail.com -f ../scim-tables-0.5.1.tar.gz
dpkg-buildpackage -rfakeroot
cd ../../

#scim-pingyin 完成
mkdir scim-pingyin
cd scim-pingyin
wget http://jaist.dl.sourceforge.net/sourcef ... 5.0.tar.gz
tar zxvf scim-pinyin-0.5.0.tar.gz
cd scim-pinyin-0.5.0
dh_make -e oneleaf@gmail.com -f ../scim-pinyin-0.5.0.tar.gz
dpkg-buildpackage -rfakeroot
cd ../../

#scim-qtimm 制作失败,需要打补丁的Qt lib,放弃了。
sudo apt-get install libqt3-dev
wget http://jaist.dl.sourceforge.net/sourcef ... 95.tar.bz2
tar jxvf scim-qtimm-0.8.95.tar.bz2
cd scim-qtimm-0.8.95
dh_make -e oneleaf@gmail.com -f ../scim-qtimm-0.8.95.tar.bz2
dpkg-buildpackage -rfakeroot

configure: error:
The Qt library was not compiled with the qt-immodule patch
applied please download it from
http://immodule-qt.freedesktop.org/Soft ... QtDownload and recompile Qt.
make: *** [config.status] 错误 1
cd ../../

#skim 完成
mkdir skim
cd skim
sudo apt-get install kde-core
sudo apt-get install kdelibs4-dev
wget http://jaist.dl.sourceforge.net/sourcef ... .0.tar.bz2
tar jxvf skim-1.4.0.tar.bz2
cd skim-1.4.0
dh_make -e oneleaf@gmail.com -f ../skim-1.4.0.tar.bz2
export QTDIR=/usr/lib/kde3
vim debian/rules
#将 CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info 行,修改为 CFLAGS="$(CFLAGS)" ./configure --prefix=/usr
sudo dpkg-buildpackage -rfakeroot
cd ../../

#scim-fcitx 完成
mkdir scim-fcitx
cd scim-fcitx
wget http://jaist.dl.sourceforge.net/sourcef ... .1.tar.bz2
tar jxvf scim-fcitx.3.1.1.tar.bz2
mv fcitx scim-fcitx-3.1.1
cd scim-fcitx-3.1.1
dh_make -e oneleaf@gmail.com -f ../scim-fcitx.3.1.1.tar.bz2
sudo dpkg-buildpackage -rfakeroot
cd ../../

发表于 : 2005-07-19 17:06
yongyi
正在尝试skim...
好啊!!非常支持,精神上 :P
不过,skim应该也需要安装scim的吧?

发表于 : 2005-07-19 17:13
yonsan
呵呵,支持!! 多贴点这样的文章让大家多学点知识!!

发表于 : 2005-07-19 22:22
yongyi
有人能告诉我这skim要怎么用的??
我现在安装了scim scim-fcitx skim,但怎么才能用上skim啊?我按照官方的手册来做,但怎么好多命令都提示 command not found?

請提供source.list

发表于 : 2005-08-16 22:46
auther
oneleaf兄:
你提到的這部份
sudo apt-get install gtk2-engines-dev
sudo apt-get install build-essential
sudo apt-get install dh-make
sudo apt-get install debhelper
sudo apt-get install fakeroot

我都找不到安裝,可否post 一下你的source.list檔,萬分感謝啦:-)

发表于 : 2005-08-16 23:02
oneleaf
使用快速设置指南里面讲的源就可以了。

发表于 : 2005-08-16 23:04
firehare
支持
等一叶兄大致都搞清楚之后,建议写一个文档,以便我们学习学习!

I failed in building scim-pinyin

发表于 : 2005-08-18 19:57
demonstrate
I found a scim package(1.4) built in a certain src.
So, I just download a scim-pinyin and scim-qtimm. When I tried scim-pinyin
according to u, the dpkg-buildpackage reported the following error:

checking for scim >= 1.2.0... Package scim was not found in the pkg-config search path. Perhaps you should add the directory containing `scim.pc' to the PKG_CONFIG_PATH environment variable No package 'scim' found
configure: error: Library requirements (scim >= 1.2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

I never used debian before, so I am still confused with the package building process, would you please tell me how to deal with this error?

发表于 : 2005-08-19 22:36
yongyi
先安装scim >= 1.2.0