LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: carlos

请帮忙测试新版 gnochm

[复制链接]
 楼主| 发表于 2004-10-9 10:06:31 | 显示全部楼层
最初由 xbs 发表
那能不能把bookmark放在菜单里面呢,独立出来?呵呵,这样打开书就要方便多了
想从chmsee转过来就是因为这个。。。。

这跟把 bookmark 放在哪里有什么关系?请问如何解决与文件的关联问题?
如果实在需要,去问原作者吧。
最初由 xbs 发表
gnochm的颜色显示要好于chmsee,
但您能不能考虑下英文使用Tohoma字体呢?gnochm使用的字体感觉锐利了些,呵呵。

请修改 GNOME 的字体设置
最初由 xbs 发表
BTW:我把书发到您邮箱了。请查收。

实在不行,就上传到 ftp://linuxfire.dhis.org
发表于 2004-10-9 14:04:31 | 显示全部楼层
最初由 hzhr 发表
呵呵,我今天还没有升级,赶紧去试试 ...
我个人还是认为用户选择编码不是必要的
相对于互联网上的网页,chm 的情况应该简单得多
能够由电脑自动搞定的事,就不应该去麻烦用户


允许个人选择编码是必要的,很多 chm 中的文件并没有设置默认编码,程序也就无法判断;
发表于 2005-1-6 12:07:28 | 显示全部楼层
我的全是乱码...

救我
太平洋里的水 该用户已被删除
发表于 2005-1-7 16:05:05 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
 楼主| 发表于 2005-1-7 17:05:37 | 显示全部楼层
奇怪,工具栏上的图标怎么都没了?要查查看...
 楼主| 发表于 2005-1-7 17:25:05 | 显示全部楼层
找到了,要重新生成 glade 文件。
等会上传一下新的版本。
发表于 2005-1-18 15:39:49 | 显示全部楼层
我的安装全过程,
出现了一些问题
不过./configure的时候没有提示错误,
make&&make install 也没有错误,
但是最后发现用不了
全过程如下
下面是./configure的输出,
抱歉我的终端不知道怎么复制,只好重定向到一个文件再弄出来
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for python... /usr/bin/python
checking for  version... 2.3
checking for  platform... linux2
checking for gconftool-2... /usr/bin/gconftool-2
checking for scrollkeeper-config... /usr/bin/scrollkeeper-config
checking for intltool >= 0.21... 0.30 found
checking for perl... /usr/bin/perl
Using config source xml::/etc/gconf/gconf.xml.defaults for schema installation
Using $(sysconfdir)/gconf/schemas/ as install directory for schema files
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed...  pt_BR it de_DE tr_TR zh_CN
checking for update-mime-database... /usr/local/bin/update-mime-database
configure: creating ./config.status
config.status: creating Makefile
config.status: creating gnochm.lsm
config.status: creating gnochm.py
config.status: creating gnochm.spec
config.status: creating pixmaps/Makefile
config.status: creating glade/Makefile
config.status: creating po/Makefile.in
config.status: creating help/Makefile
config.status: creating help/C/Makefile
config.status: creating data/Makefile
config.status: executing default-1 commands
config.status: executing depfiles commands
config.status: executing default-2 commands

下面是make&&make install的输出
Making install in pixmaps
make[1]: Entering directory `/root/soft/temp/gnochm-0.9.3/pixmaps'
make[2]: Entering directory `/root/soft/temp/gnochm-0.9.3/pixmaps'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/pixmaps" || mkdir -p -- . "/usr/local/share/pixmaps"
/usr/bin/install -c -m 644 'chmfile.png' '/usr/local/share/pixmaps/chmfile.png'
/usr/bin/install -c -m 644 'gnochm.png' '/usr/local/share/pixmaps/gnochm.png'
/usr/bin/install -c -m 644 'gnochm_logo.png' '/usr/local/share/pixmaps/gnochm_logo.png'
make[2]: Leaving directory `/root/soft/temp/gnochm-0.9.3/pixmaps'
make[1]: Leaving directory `/root/soft/temp/gnochm-0.9.3/pixmaps'
Making install in glade
make[1]: Entering directory `/root/soft/temp/gnochm-0.9.3/glade'
make[2]: Entering directory `/root/soft/temp/gnochm-0.9.3/glade'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/gnochm/glade" || mkdir -p -- . "/usr/local/share/gnochm/glade"
/usr/bin/install -c -m 644 'gnochm.glade' '/usr/local/share/gnochm/glade/gnochm.glade'
/usr/bin/install -c -m 644 'prefdialog.glade' '/usr/local/share/gnochm/glade/prefdialog.glade'
make[2]: Leaving directory `/root/soft/temp/gnochm-0.9.3/glade'
make[1]: Leaving directory `/root/soft/temp/gnochm-0.9.3/glade'
Making install in po
make[1]: Entering directory `/root/soft/temp/gnochm-0.9.3/po'
if test -r ".././mkinstalldirs"; then \
  .././mkinstalldirs /usr/local/share; \
else \
  /bin/sh ../mkinstalldirs /usr/local/share; \
fi
installing pt_BR.gmo as /usr/local/share/locale/pt_BR/LC_MESSAGES/gnochm.mo
installing it.gmo as /usr/local/share/locale/it/LC_MESSAGES/gnochm.mo
installing de_DE.gmo as /usr/local/share/locale/de_DE/LC_MESSAGES/gnochm.mo
installing tr_TR.gmo as /usr/local/share/locale/tr_TR/LC_MESSAGES/gnochm.mo
installing zh_CN.gmo as /usr/local/share/locale/zh_CN/LC_MESSAGES/gnochm.mo
if test "gnochm" = "glib"; then \
  if test -r ".././mkinstalldirs"; then \
    .././mkinstalldirs /usr/local/share/glib-2.0/gettext/po; \
  else \
    /bin/sh ../mkinstalldirs /usr/local/share/glib-2.0/gettext/po; \
  fi; \
  /usr/bin/install -c -m 644 ./Makefile.in.in \
                  /usr/local/share/glib-2.0/gettext/po/Makefile.in.in; \
else \
  : ; \
fi
make[1]: Leaving directory `/root/soft/temp/gnochm-0.9.3/po'
Making install in help
make[1]: Entering directory `/root/soft/temp/gnochm-0.9.3/help'
Making install in C
make[2]: Entering directory `/root/soft/temp/gnochm-0.9.3/help/C'
make[3]: Entering directory `/root/soft/temp/gnochm-0.9.3/help/C'
make[3]: Nothing to be done for `install-exec-am'.
/bin/sh ../../mkinstalldirs /usr/local/share/gnome/help/gnochm/C
mkdir -p -- /usr/local/share/gnome/help/gnochm/C
for file in legal.xml gnochm.xml; do \
  cp ./$file /usr/local/share/gnome/help/gnochm/C; \
done
if test ""; then \
  /bin/sh ../../mkinstalldirs /usr/local/share/gnome/help/gnochm/C/; \
  for file in .//*.png; do \
    basefile=`echo $file | sed -e  's,^.*/,,'`; \
    /usr/bin/install -c -m 644 $file /usr/local/share/gnome/help/gnochm/C//$basefile; \
  done \
fi
make  install-data-hook
make[4]: Entering directory `/root/soft/temp/gnochm-0.9.3/help/C'
/bin/sh ../../mkinstalldirs /usr/local/share/omf/gnochm
mkdir -p -- /usr/local/share/omf/gnochm
for file in gnochm-C.omf; do \
/usr/bin/install -c -m 644 $file.out /usr/local/share/omf/gnochm/$file; \
done
scrollkeeper-update -p /usr/local/var/scrollkeeper -o /usr/local/share/omf/gnochm
make[4]: Leaving directory `/root/soft/temp/gnochm-0.9.3/help/C'
make[3]: Leaving directory `/root/soft/temp/gnochm-0.9.3/help/C'
make[2]: Leaving directory `/root/soft/temp/gnochm-0.9.3/help/C'
make[2]: Entering directory `/root/soft/temp/gnochm-0.9.3/help'
make[3]: Entering directory `/root/soft/temp/gnochm-0.9.3/help'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/soft/temp/gnochm-0.9.3/help'
make[2]: Leaving directory `/root/soft/temp/gnochm-0.9.3/help'
make[1]: Leaving directory `/root/soft/temp/gnochm-0.9.3/help'
Making install in data
make[1]: Entering directory `/root/soft/temp/gnochm-0.9.3/data'
make[2]: Entering directory `/root/soft/temp/gnochm-0.9.3/data'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/application-registry" || mkdir -p -- . "/usr/local/share/application-registry"
/usr/bin/install -c -m 644 'gnochm.applications' '/usr/local/share/application-registry/gnochm.applications'
if test -z "" ; then \
  for p in gnochm.schemas ; do \
    GCONF_CONFIG_SOURCE=xml::/etc/gconf/gconf.xml.defaults /usr/bin/gconftool-2 --makefile-install-rule ./$p ; \
  done \
fi
地址“xml::/etc/gconf/gconf.xml.defaults”解析为位于 0 的可写入配置源
将 schema “/schemas/apps/gnochm/preferences/save_path” 关联到键“/apps/gnochm/preferences/save_path”上
安装 schema “/schemas/apps/gnochm/preferences/save_path”,区域设置“C”
安装 schema “/schemas/apps/gnochm/preferences/save_path”,区域设置“it”
安装 schema “/schemas/apps/gnochm/preferences/save_path”,区域设置“pt_BR”
将 schema “/schemas/apps/gnochm/preferences/use_lcid” 关联到键“/apps/gnochm/preferences/use_lcid”上
安装 schema “/schemas/apps/gnochm/preferences/use_lcid”,区域设置“C”
安装 schema “/schemas/apps/gnochm/preferences/use_lcid”,区域设置“it”
安装 schema “/schemas/apps/gnochm/preferences/use_lcid”,区域设置“pt_BR”
将 schema “/schemas/apps/gnochm/preferences/recent_size” 关联到键“/apps/gnochm/preferences/recent_size”上
安装 schema “/schemas/apps/gnochm/preferences/recent_size”,区域设置“C”
安装 schema “/schemas/apps/gnochm/preferences/recent_size”,区域设置“it”
安装 schema “/schemas/apps/gnochm/preferences/recent_size”,区域设置“pt_BR”
将 schema “/schemas/apps/gnochm/preferences/search_previous” 关联到键“/apps/gnochm/preferences/search_previous”上
安装 schema “/schemas/apps/gnochm/preferences/search_previous”,区域设置“C”
安装 schema “/schemas/apps/gnochm/preferences/search_previous”,区域设置“it”
安装 schema “/schemas/apps/gnochm/preferences/search_previous”,区域设置“pt_BR”
将 schema “/schemas/apps/gnochm/preferences/titles_only” 关联到键“/apps/gnochm/preferences/titles_only”上
安装 schema “/schemas/apps/gnochm/preferences/titles_only”,区域设置“C”
安装 schema “/schemas/apps/gnochm/preferences/titles_only”,区域设置“it”
安装 schema “/schemas/apps/gnochm/preferences/titles_only”,区域设置“pt_BR”
将 schema “/schemas/apps/gnochm/preferences/whole_words” 关联到键“/apps/gnochm/preferences/whole_words”上
安装 schema “/schemas/apps/gnochm/preferences/whole_words”,区域设置“C”
安装 schema “/schemas/apps/gnochm/preferences/whole_words”,区域设置“it”
安装 schema “/schemas/apps/gnochm/preferences/whole_words”,区域设置“pt_BR”
将 schema “/schemas/apps/gnochm/preferences/toolbar_enable” 关联到键“/apps/gnochm/preferences/toolbar_enable”上
安装 schema “/schemas/apps/gnochm/preferences/toolbar_enable”,区域设置“C”
安装 schema “/schemas/apps/gnochm/preferences/toolbar_enable”,区域设置“it”
安装 schema “/schemas/apps/gnochm/preferences/toolbar_enable”,区域设置“pt_BR”
将 schema “/schemas/apps/gnochm/preferences/toolbar_tooltips” 关联到键“/apps/gnochm/preferences/toolbar_tooltips”上
安装 schema “/schemas/apps/gnochm/preferences/toolbar_tooltips”,区域设置“C”
安装 schema “/schemas/apps/gnochm/preferences/toolbar_tooltips”,区域设置“it”
安装 schema “/schemas/apps/gnochm/preferences/toolbar_tooltips”,区域设置“pt_BR”
将 schema “/schemas/apps/gnochm/preferences/tree_views” 关联到键“/apps/gnochm/preferences/index_tree”上
将 schema “/schemas/apps/gnochm/preferences/tree_views” 关联到键“/apps/gnochm/preferences/contents_tree”上
安装 schema “/schemas/apps/gnochm/preferences/tree_views”,区域设置“C”
安装 schema “/schemas/apps/gnochm/preferences/tree_views”,区域设置“it”
安装 schema “/schemas/apps/gnochm/preferences/tree_views”,区域设置“pt_BR”
将 schema “/schemas/apps/gnochm/preferences/html_bg_color” 关联到键“/apps/gnochm/preferences/html_bg_color”上
安装 schema “/schemas/apps/gnochm/preferences/html_bg_color”,区域设置“C”
安装 schema “/schemas/apps/gnochm/preferences/html_bg_color”,区域设置“it”
安装 schema “/schemas/apps/gnochm/preferences/html_bg_color”,区域设置“pt_BR”
将 schema “/schemas/apps/gnochm/preferences/chm_search_path” 关联到键“/apps/gnochm/preferences/chm_search_path”上
安装 schema “/schemas/apps/gnochm/preferences/chm_search_path”,区域设置“C”
安装 schema “/schemas/apps/gnochm/preferences/chm_search_path”,区域设置“it”
安装 schema “/schemas/apps/gnochm/preferences/chm_search_path”,区域设置“pt_BR”
将 schema “/schemas/apps/gnochm/preferences/http_support” 关联到键“/apps/gnochm/preferences/http_support”上
安装 schema “/schemas/apps/gnochm/preferences/http_support”,区域设置“C”
安装 schema “/schemas/apps/gnochm/preferences/http_support”,区域设置“it”
安装 schema “/schemas/apps/gnochm/preferences/http_support”,区域设置“pt_BR”
将 schema “/schemas/apps/gnochm/preferences/new_browser_window” 关联到键“/apps/gnochm/preferences/new_browser_window”上
安装 schema “/schemas/apps/gnochm/preferences/new_browser_window”,区域设置“C”
安装 schema “/schemas/apps/gnochm/preferences/new_browser_window”,区域设置“it”
安装 schema “/schemas/apps/gnochm/preferences/new_browser_window”,区域设置“pt_BR”
将 schema “/schemas/apps/gnochm/preferences/auto_raise_window” 关联到键“/apps/gnochm/preferences/auto_raise_window”上
安装 schema “/schemas/apps/gnochm/preferences/auto_raise_window”,区域设置“C”
安装 schema “/schemas/apps/gnochm/preferences/auto_raise_window”,区域设置“it”
安装 schema “/schemas/apps/gnochm/preferences/auto_raise_window”,区域设置“pt_BR”
test -z "/usr/local/share/applications" || mkdir -p -- . "/usr/local/share/applications"
/usr/bin/install -c -m 644 'gnochm.desktop' '/usr/local/share/applications/gnochm.desktop'
test -z "/usr/local/share/mime-info" || mkdir -p -- . "/usr/local/share/mime-info"
/usr/bin/install -c -m 644 'gnochm.keys' '/usr/local/share/mime-info/gnochm.keys'
test -z "/usr/local/man/man1" || mkdir -p -- . "/usr/local/man/man1"
/usr/bin/install -c -m 644 './gnochm.1' '/usr/local/man/man1/gnochm.1'
test -z "/usr/local/share/mime-info" || mkdir -p -- . "/usr/local/share/mime-info"
/usr/bin/install -c -m 644 'gnochm.mime' '/usr/local/share/mime-info/gnochm.mime'
test -z "/usr/local/etc/gconf/schemas" || mkdir -p -- . "/usr/local/etc/gconf/schemas"
/usr/bin/install -c -m 644 'gnochm.schemas' '/usr/local/etc/gconf/schemas/gnochm.schemas'
test -z "/usr/local/share/mime/packages" || mkdir -p -- . "/usr/local/share/mime/packages"
/usr/bin/install -c -m 644 'gnochm.xml' '/usr/local/share/mime/packages/gnochm.xml'
make  install-data-hook
make[3]: Entering directory `/root/soft/temp/gnochm-0.9.3/data'
if test "/usr/local/bin/update-mime-database" != "no"; then \
        /usr/local/bin/update-mime-database /usr/local/share/mime; \
fi
***
* Updating MIME database in /usr/local/share/mime...
***
make[3]: Leaving directory `/root/soft/temp/gnochm-0.9.3/data'
make[2]: Leaving directory `/root/soft/temp/gnochm-0.9.3/data'
make[1]: Leaving directory `/root/soft/temp/gnochm-0.9.3/data'
make[1]: Entering directory `/root/soft/temp/gnochm-0.9.3'
make[2]: Entering directory `/root/soft/temp/gnochm-0.9.3'
test -z "/usr/local/bin" || mkdir -p -- . "/usr/local/bin"
/usr/bin/install -c 'gnochm' '/usr/local/bin/gnochm'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/soft/temp/gnochm-0.9.3'
make[1]: Leaving directory `/root/soft/temp/gnochm-0.9.3'

一切都没有提示错误,
在我看一个文件的时候提示
You do not have all of the required Python modules to run gnochm.
Check the gnochm README file for tips on how to fix this.
What follows is the error description highlighting the problematic module.

No module named chm

我想问问就是,这个为什么不在./configure的时候提示呢?
:p
我装的是在sourceforge下载的0.93版的

我的 dpkg -l |grep chm
的输出如下
ii  chmlib         0.35-5         library for dealing with Microsoft CHM forma
ii  chmsee         0.8.0-1.1      A chm file viewer, support Chinese
ii  xchm           0.9.6-1        Compiled HTML Help (CHM) file viewer for X
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-1-18 17:34:00 | 显示全部楼层
你需要先安装 pychm
也就是我所提供的 python-pychm 包
回复 支持 反对

使用道具 举报

发表于 2005-1-19 14:30:35 | 显示全部楼层
Post by carlos
你需要先安装 pychm
也就是我所提供的 python-pychm 包


谢谢了,我用源码实在是安装不上,
后来下的http://chinese.alioth.debian.org/gnochm
这里的几个包装上的,

源码安装的问题如下
pychm的包实在是安装不上
错误提示如下
from: can't read /var/mail/distutils.core
./setup.py: line 4: syntax error near unexpected token `name="pychm",'
./setup.py: line 4: `setup(name="pychm",'
我是直接执行的那个setup.py不知道对不对,

另外的问题是,我在安装
gnochm_0.9.3-1_all.deb的时候会提示少很多包,有
python-gtk2
python-glade2
python-gnome2
python-pychm
libgtkhtml2-0
但是这些包在我用源码编译的时候怎么不check呢?
:ask
我后来执行了apt-get -f install
基本上都装上了,剩下的包也在
http://chinese.alioth.debian.org/gnochm
这里找到了,现在安装上了,
但是不知道有没有用源码包装上的朋友,
作者是不是要改一下源码,或者是只有我有这样的问题呢?
回复 支持 反对

使用道具 举报

发表于 2005-1-19 15:40:25 | 显示全部楼层

测试发现好多文件都看不了
比较了一下 xchm,chmsee,gnochm
xchm可以显示中文标题,不过内容显示有一些问题,
chmsee不显示中文标题,但是中文支持很不错,
gnochm,做的给人的感觉很亲切:)
不过问题很多,
我看了两个文件,其中一个,gnochm能够很好的显示,
但是另外一个就不行,我用chmsee可以看,但是gnochm就只能看见目录,但是看不见内容,而且
就这个文件差点弄的我死机了,我看哪个AQ1-11 看不了,我就点AQ2-12结果cpu马上占用100%
我kill掉以后再来一次,还是这样,如果您要这个chm我可以我可以上传

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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