Home
fedora 蓝色小药丸

chmsee 用上 xulrunner 了

http://koji.fedoraproject.org/koji/buildinfo?buildID=25449
https://bugzilla.redhat.com/show_bug.cgi?id=395661

* Sun Nov 25 2007 bbbush <bbbush.yuan@gmail.com> - 1.0.0-1.33
- define HAVE_GECKO_1_9 on make command line temporarily

* Sun Nov 25 2007 bbbush <bbbush.yuan@gmail.com> - 1.0.0-1.31
- now gecko-libs = 1.9 provided by xulrunner has offered its
ld.so.conf file so RPATH is no longer required
- fix xpcom initialize and shutdown according to
http://benjamin.smedbergs.us/blog/2005-12-23/whats-coming-for-gtkmozembed/

* Sat Nov 10 2007 bbbush <bbbush.yuan@gmail.com> - 1.0.0-1.29
- should be BuildRequires: gecko-devel
- but since /usr/lib/gecko-libs-1.8.1.9 is still not there, this build
will not work

* Sat Nov 10 2007 bbbush <bbbush.yuan@gmail.com> - 1.0.0-1.28
- try build for gecko-libs-1.8.1.9


终于不必为了 firefox 的每次更新而编译 chmsee,也不会 block security updates 了。不过,不会用
configure.ac 来搞定这个,还是很郁闷。我想大概是这样一句


104 PKG_CHECK_MODULES(GECKO, [${gecko_provider}-gtkmozembed >= 1.9],
[have_gecko_1_9=yes])
105 if test "x$have_gecko_1_9" = "xyes"; then
106 AC_DEFINE(HAVE_GECKO_1_9)
107 fi
Tags:

Comments

嗯,yelp 里用了一个 gecko.m4,函数是 GECKO_INIT([MOZILLA]),里面通过一个 c 程序去读 mozilla-config.h 里面的 MOZILLA_VERSION("1.9b2pre"),然后根据这个版本来 AC_DEFINE HAVE_GECKO_1_9。也就是说,如果 xulrunner-gtkmozembed modversion("1.9b2pre") 和 中的MOZILLA_VERSION 的来源一致,这个作法就不会错。实际上正是这样,c 程序是通过 pkg-config xpcom 来找到头文件路径的。