Google
 

2007-06-06

在SLES 10 Eval上编译OpenOffice.org m214成功:20070606

自从20070602开始编译OpenOffice.org m214,竟然编译到今天才终于算是功得圆满了,主要是遇到了一个很难以想象的问题,导致deliver时出错,从而导致连锁反应,最终未能正常编译完成,相关的问题已经提交为Issue 78035。不过,庆幸的是,经过与OpenOffice.org开源社区在IRC上的交流,在Ruediger.Timm(rt(at)openoffice.org)与hans-joachim.lankenau(hjs(at)openoffice.org)等的帮助下,终于找到了原因及大致解决的办法,在下一个版本的源代码(可能为m216了,因为m215已经在集成的过程中了)中将会予以完善。这个问题的现象是不能正确执行strip命令,致使deliver时发生错误,有大量文件未能正常提交到solver目录中去,从而无法正常完成编译。
我编译的详细配置及过程将会在后续补充完成。待续...

OpenOffice.org m214下载、配置、编译过程


源代码下载


可以直接从CVS服务器下载OpenOffice.org的最新源代码,我一般采用CVS的export命令从CVS服务器上导出完整的源代码,示例如下:
~> mkdir SRC680_m214
~> cd SRC680_m214
~> cvs -d :pserver:anoncvs@anoncvs.services.openoffice.org:/cvs ex -r SRC680_m214 OpenOffice2

当然,您也可以从非官方网站下载已经压缩打包的源代码,个人推荐从ftp.linux.cz这个捷克的网站下载最新的源代码,如果您想下载以往版本的源代码,这个网站可能不太适用,那么还有另外一个网站可供选择,ftp://ooopackages.good-day.net/pub/OpenOffice.org/sources/,但因民族情感问题,一般我个人尽量避免从jpn的网站下载文件 ^-^

编译配置脚本参考:autobuild
编译完成后,生成多语言集成安装版本的方法:
~> cd SRC680_ROOT
~> source LinuxX86Env.Set.sh
~> cd instsetoo_native/util
~> dmake openoffice_en-US_zh-CN

到en-US_zh-CN目录下,就可以找到相应的安装程序了。
说明:如果有哪位开源软件爱好者或组织机构乐意提供存储空间,我非常乐意将我每次最新编译出来的中英文双语言集成版本软件包提供给大家使用(注意,我只有Linux的编译环境,所以只能在第一时间提供Linux rpm或/和deb安装包),如果需要其他语言版本,也请直接通过邮件或直接在此文章上留言告知于我。需要特别说明的是,如果您的托管主机在jpn的国土上或具有jpn背景,本人则在此明确拒绝进行此类合作。

相关说明及链接:
SLES/SLED 10 Eval(SUSE Linux Enterprise Server/SUSE Linux Enterprise Desktop 10 Evaluation),系Novell出品的企业级Linux服务器与桌面操作系统。

标签: , , ,

2006-11-23

今天的一个收获:CMS之Plone

对CMS,以前只是对Xoops、Drupal有所了解。今天从Planet OpenOffice.org - Developer News上看到Louis Suarez-Potts介绍Free Software Magazine,就去看了看这个网站,结果就看到了文章Creating a managed website—Part 1,我正好对这方面挺感兴趣的,于是就粗略地阅读了一下,结果发现了一个名为Plone的CMS,经过了解,竟然发现这个CMS号称:“世界级的开源内容管理系统:Plone”,支持很多特性,包括工作流(),看来需要多研究研究,没准会对部门内部网站及个人信息网站建设有很大的帮助作用,今天先收藏一下,做为一天来的一个较大的收获。
今天好像是美国人的感恩节,借此机会也感谢一下所有的人,包括谷歌(提供了高质量的博客系统及其他网络服务)、Firefox、Firefox爱好者们、开源软件、关注我个人博客的所有人,用我一颗感恩的心真诚地感谢你们。

标签:

2006-11-19

SLES 10之Apache定制mod_autoindex的心得

文件/etc/apache2/conf.d/apache2-ftp.conf
Alias /ftp/ "/data/"

<Directory "/data">
Options Indexes
IndexOptions FancyIndexing XHTML HTMLTable ScanHTMLTitles FoldersFirst SuppressRules
IndexIgnore favicon.ico header.html footer.html
HeaderName /header.html
ReadmeName /footer.html
IndexStyleSheet "/linux.css"
IndexOrderDefault Ascending Name
AllowOverride None
Order allow,deny
Allow from all
</Directory>

说明:
/data目录是我的vsftp用户目录,我所有的上传文件均在这个位置。
HTMLTable配置选项是用表的方式输出。
XHTML表示输出的页面是XHTML了。
HeaderName是页面的上半部分。
ReadmeName是页面的上半部分。
SuppressRules可以控制不输出文件或目录列表中的两条水平线(位于列表标题下面及列表底部)。
IndexStyleSheet是输出页面的样式表(linux.css是我从pjanik那里直接拿来进行测试用的),需要注意的是,这是apache2.2.x的特性,如果想在稍早的版本使用样式表,请您将css文件的内容以<style type="text/css"> <style>的形式放在HeaderName文件的开始部分,用于定制您输出页面的样式。
其他几个选项,网上的文档已经说得比较清楚了,我就不献丑了。
需要说明的是HeaderName与ReadmeName是html页面中位于标记<body> </body>之间的内容,不要把其他内容写入这两个文件中,写了也没有用处。

最初的想法来源是OpenOffice.org一个开发者的ftp站点,我经常从这个站点下载源文件及安装程序,前些日子,捷克的OpenOffice.org宗师之一Pavel在其个人博客上发布消息称ftp.linux.cz has new HTTP look!,我当时非常羡慕这个网站的样子,就在想这个Pavel Janík先生是用的什么软件,然后就在sf.net上使劲地搜索,结果没有什么激动人心的收获,只好重新思考了一下,结果发现,原来这是apache的一项配置,从周五晚上一直到周六凌晨,我一直在弄,最终于周六下午把这个配置文件弄好了,最后解决的是SuppressRules选项,如果有这个选项的话,那么就不会在表中多出两行来,这上下两个空行非常令人不舒服,尤其是采用HTMLTable格式时,我还是从apache网站上下载了源代码之后,看了看文件mod_autoindex.c,才搞明白这个配置选项的用途的。

标签: ,

2006-11-06

今天的收获:2006-11-06

今天周一,早上坐车上班又是遇到高峰,但还好赶在八点半之前到公司了。
早上看到EIS上我提的Bug已经在CWS i18n27_OOE680中解决了,但想知道他们更改了哪些代码,按照老办法,需要先用CVS下载当前版本与上一个版本的源代码,然后用WinMerge工具进行代码比较,然后才能知道OpenOffice.org更新了什么代码来解决的相应Bug。但下载时遇到了小问题,没有下载到,说warning: new-born什么的,后来检查了一下发现是路径没给对而已。但我对那个EIS中源文件版本号的链接感觉很奇怪,怎么会是个链接呢,难道能显示点什么内容吗?我就试着点了一下,当时也曾经想到可能是会显示源代码间的diff结果,点击之后发现果然是这样,下图为EIS中的CWS截图:
EIS中的CWS截图
点击1.9.20.1后显示的所在CWS源码变更截图(请点击放大后查看原图):
CWS源码变更截图
也就是说其实本来并不需要下载源代码,本来就可以通过EIS系统本身来查看源代码的变更,知道OpenOffice.org是怎么解决Bug的。唉,我真的好笨呀,这么长时间了竟然就不知道去点击一下那个链接,看看会发生什么,只知道傻傻地按部就班的做事情,真的是罪过呀。不过,今天还是值得高兴的一天,毕竟我终于知道了EIS的强大与完善。大家可以到OpenOffice.org Wiki去学习相关的资料EIS
今天还有另一个比较大的收获,二次开发的项目经理大姐想让我给她拱建一个内容发布站点,用于发布二次开发的一些示例及其说明,但又要用到jsp动态页面,我当然没有能力将内容发布系统与tomcat结合到一起了,但是在sf.net上找一个开源的内容发布系统还是比较容易的,经过一通寻找与配置,我将XOOPS Dynamic Web CMS安装到了Linux主机上了,虽然试了好长时间才基本学会了怎么进行深入配置,不过也是今天的一大收获了,我准备明天在家里的瘦服务器上配置一个,用来管理我的一些日常的个人事务。
哈哈,每天如果都能有新的收获,那么在不久的将来,将会迎来更加美好的心情与崇高的理想。祝福大家每天也都有不同的收获,让大家的心情更美好。

标签: ,

2006-10-28

MPlayer 1.0rc1发布

MPlayer 1.0rc1 released
We wish to thank the Google Summer of Code project for sponsoring the FFmpeg project. Thanks to the SoC program for 2006, the FFmpeg project was able to get help from students to implement more native codecs.

The highlights of this release are native VC-1/WMV3, On2 VP5 and VP62 (used in some Flash video files) decoding, which works even on non-Intel platforms and SSA/ASS/color subtitles.

Furthermore we can now run natively on Intel Macs (you just have to pass --disable-win32 --disable-mp3lib to configure), -endpos was finally added to MPlayer and the Windows GUI has seen a number of improvements.

Vorbis decoding has seen a big speedup, as has H.264. The optimizations to H.264 are still ongoing, but the difference should already be noticeable.

And last not least many bugs were found and fixed since pre8.

MPlayer 1.0rc1 will no longer load a file-specific configure file located in the same directory as the file you're playing, because of potential security concerns (thanks to Rudolf Polzer for pointing this out); if you want to restore the old behavior add -use-filedir-conf.

If you already have the binary codec package from pre8 you don't need to redownload it: The new 20061022 packages do not contain any new codecs, they just miss some that now work natively.

按照此发布的内容分析,好像此发布版本与pre8相比,更新不多,不需要更新二进制文件。

标签:

2006-10-24

Bugzilla 2.18可以与MySQL 5.0协同运行

今天我们部门要将原来的Bugzilla在我们部门的Wiki主机上做一份备份安装,就是说主要运行还是在原来的Bugzilla服务器上,Wiki主机上有一个几乎一模一样的Bugzilla,如果原来的Bugzilla遇到了不测,我们这个Wiki主机上的Bugzilla仍然还能提供一些应急服务(其实主要原因是前段时间因为系统管理员的操作失误,曾经损失了一天的数据)。
我们部门的Bugzilla专家查看了我配置的Wiki主机后,感到非常为难,因为那个FC3上的ApacheMySQL都是我后来配置上去了,Apache 2是我从Apache官方网站上下载的源代码编译出来的,MySQL 5.0.18是我下载的编译好的tar.gz包安装上去的。确实是他的担心是有道理的,安装Bugzilla的支持包时DBD包安装不上去,缺少mysql命令与mysql客户端,这个问题倒是好解决,我从其官方网站上下载了相应的包Client programsShared client libraries(可能会因版本的更新,下载链接会有所变更),虽然版本有些不匹配,但最终运行还算可以,没有出错。最终,将mysql_config复制到/usr/bin/目录下并配置好,DBD就能够正常安装了。
下面是痛苦有Apache配置文件的配置,不过经过努力,最终也解决了,详细过程就不细说了,总之更新了httpd.conf的cgi配置后,重启了一次就成功了,不重启就是报错,对这个FC3真是没办法。
最后的一个问题就是进行Bug的搜索、查看时报数据库方面的错误,最终参考资料Bugzilla and mySQL 5.0以后,对Bugzilla的源码文件Bugzilla\Search.pm与Bugzilla\FlagType.pm中的数据库from命令进行微量修改,问题也解决了。
总结,开源软件确实有其优势,如源代码开放,你就可以对存在缺陷的代码进行研究与修复,马上解决问题;另外,一般高版本的应用程序会兼容底版本的,即使存在一些不太兼容的现象,也可以通过少量处理解决问题。
开源改变世界

标签:

2006-10-22

Bugzilla最新更新

引自:
[ 2006 October 15 ] Release of Bugzilla 2.18.6, 2.20.3, 2.22.1, and 2.23.3

We have many releases for you, today:

* Bugzilla 2.18.6 and Bugzilla 2.20.3 are security-fix releases for our older branches. (Bugzilla 2.20.3 also contains some non-security bug fixes.)
* Bugzilla 2.22.1 is our first bug-fix release in the 2.22 series, and contains many useful fixes that improve the experience of using Bugzilla.
* Finally, we are releasing an unstable development snapshot, Bugzilla 2.23.3. This snapshot has both custom fields and mod_perl support, but has not been tested as thoroughly as our other releases. The 2.23 series will eventually culminate in Bugzilla 3.0.

Also, read our latest Status Update to find out what's going on with the Bugzilla Project, and learn about all the new features in our latest development snapshot!

Users of the 2.18.x series should note that 2.18.x will reach End Of Life when Bugzilla 3.0 is released. There are more details in the Status Update.

[2006年10月15日]Bugzilla 2.18.6, 2.20.3, 2.22.1, and 2.23.3发布
今天有如下发布信息:
* Bugzilla 2.18.6Bugzilla 2.20.3是老版本的安全缺陷更新(Bugzilla 2.20.3也包含一些非安全缺陷更新)。
* Bugzilla 2.22.1是2.22系列发布的第一个缺陷更新,包含提高Bugzilla使用性能的许多有用更新。
* 最后,发布了未完全完成的开发版本Bugzilla 2.23.3的snapshot。这个snapshot具备自定义字段和mod_perl支持,但还未像其他发布版本那样经过彻底地测试。2.23系列最终将会是Bugzilla 3.0.
如果想知道Bugzilla项目近况,请阅读最新的状态更新,同时也能了解到最新开发版本的新特性。
2.18.x系列的用户应该注意,当Bugzilla 3.0发布时,2.18.x将最终走到其软件开发生命周期的终点,即不再同步提供其软件更新了。请到状态更新中了解详情。

哈哈,我个人准备过两天测试一下Bugzilla 2.23.3,看看都有什么特别激动人心的特性与改进(特别期待其smtp功能有长足进展,之前我进行smtp配置时挺不顺利的)。

标签:

2006-10-20

开源免费软件消息:Gaim 2.0 Beta 4及Songbird 0.2发布了

Gaim 2.0 Beta 4Songbird 0.2已经于近日发布。期待Gaim 2.0早日能够发布正式版本,并且能够在较高的GTK 2.x版本上稳定运行,因为之前的版本还不能在GTK 2.8及以前版本上正常登录MSN帐号。

标签:

2006-10-19

gTranslate扩展已经升级至版本0.3

gTranslateGoogle Translate网站的升级,于2006年10月18日进行了及时有效的升级,可见开源软件的时效性还是非常有保障的。
Screenshot of gTranslate in action
经过简单试用,感觉效果还挺不错的。

标签:

2006-10-15

KDE十周年纪念

资料来源:Happy Birthday KDE! 10 Years Of KDE Anniversary
KDE is going to celebrate its 10th anniversary. On 14th October 1996, Matthias Ettrich announced the beginning of a project which is now one of the biggest and most exciting open source projects.

我的KDE桌面如下:
From CNG

标签:

2006-10-13

热烈庆祝OOo项目六周年暨OpenOffice.org 2.0.4发布


转自:www.openoffice.org
OpenOffice.org 2.0.4 is Here ... And It's Our Birthday!

This is Friday 13 October and the day marks two important events: the immediate availability of OpenOffice.org 2.0.4 and our 6th anniversary. OpenOffice.org 2.0.4 is a significant release and recommended for all. New features, bugfixes, and improvements include:

  • Enhanced PDF management

  • Direct export to LaTex

  • New functionality in Calc and Impress

  • Mac OS X (X11) now uses system fonts

  • And more...


And our most important feature: Our improved Extensions management. Developers everywhere are invited to write extensions. To learn more, visit our Extensions Project.
We are also six years old today. OpenOffice.org is changing the world. Tens of millions of people use the application and governments throughout the world are mandating it and its file format (OpenDocument or ODF). Our thanks to you, the community of users and developers who are making this happen!


今天是10月13日,有两件喜事:OpenOffice.org 2.0.4已经发布了,OpenOffice.org六周年纪念。OpenOffice.org 2.0.4是一个重要的发行版本,推荐大家及时更新。此版本包含了一些新特性,处理了一些软件缺陷,性能有较大提升,主要包括:

  • 增强的PDF功能

  • 可直接导出为LaTex

  • 电子表格及演示文稿增加了一些新功能(如演示文稿现在放映过程中也可弹出播放导航菜单,译者注)

  • 在Mac OS X (X11)中可以使用系统字体了

  • 更多请参见OpenOffice.org发行说明


现在OpenOffice.org最重要的特性为:改进了的扩展管理。...

标签:

2006-10-12

Mozilla Thunderbird扩展Lightning 0.3于2006-10-11发布

来源:Lightning 0.3 Release Notes

Lightning 0.3 is the latest release of our calendar extension for Mozilla Thunderbird™. We recommend that all users upgrade to this latest version.

* Basic handling of events received in email allows you to easily add iMIP events to your calendar.
* Reloading network calendars is now possible.
* Agenda view rolls over to the next day at midnight.
* 24-hour views show you your entire day, not just a few hours.
* Reliable alarms ensure you are notified about events or tasks.
* Improved localization support
* Vastly improved reliability makes it much more difficult to lose data.
* Many performance improvements

我非常喜欢其中的“及时可靠的提醒功能会通知你将要进行的事件或任务”功能。所得到的第一个温馨提醒如下图:

标签:

开源软件开发组织简介:Gullfoss


资料来源:GullFOSS
Gullfoss: OpenOffice.org Engineering at Sun
Gullfoss in the south of Iceland is the largest waterfall in Europe. Using this new group blog, we would like to provide you with a constant stream of information about our view into the development of OpenOffice.org. The content will mainly be written by the project leads and engineers at Sun. We will provide both status updates and highlights of special accomplishments.

Going forward we hope the blog will serve as a way for both new and old developers to feel the heart beat of the Sun team. We will add tags and categories, depending mainly on how the content evolves. As all blogging is a two way experience, please give us feedback on what you would like to read about. Or even better, blog it!

The name Gullfoss is a small pun on our mascot and the Free/Open Source Software movement we are part of.

中文简介待续~

Docs and Spreadsheets更新
今天突然发现Google的Spreadsheets更名为Docs and Spreadsheets了,使原来的WritelyGoogle Spreadsheets实现了整合。在Gmail中的链接也随之发生了变化,如下图:

值得说明的是,其Document具备发布到Blogger的功能,只需在您的Blogger中稍做设置即可。下图为Blogger中的发布小提示:

标签:

2006-10-11

开源软件更新及消息

GTK+ and The GIMP installers for Windows项目于近日进行了更新,2006-10-10 13:13GTK+发布了GTK+ 2.10.6的Windows安装程序包gtk+-2.10.6-setup.zip

值得关注的Java GUI installer for Unix installation sets于近日进入开发日程。此项特性主要设计为制作在类Unix系统上OpenOffice.org的Java图形界面安装器,详细计划如下:
We want to provide a Java GUI installer with the following features:

- open sourced
- available for Linux and Solaris at first.
- no usage of an own database like in CNP SDK
- dynamically recognizing existing packages and RPMs located next to the
installer (together with a xml description file for each package).
- supporting installation with user privileges

标签:

2006-09-29

OpenOffice.org应用交流

这篇文档是我做的一个比较实用的文档,主要功能是记录自己日常的流水帐,而这些结果可以自动进行汇总,能够部分地帮助使用者安排自己的日常经济生活。我以前一直采用MS Excel为这一用途的解决方案,现在我要改邪归正了,采用正确的解决方案:OpenOffice.org Spreadsheet。当然,这是其最基本的用途,期待大家能够提出一些好的改进方案,使这篇文档更加简洁、实用。记住,一切皆有可能

文档下载:OpenBalance.ods

标签:

ThonkPad X60照片共享

现在我将ThinkPad X60的部分照片上传了一下,供大家参考,拍的不怎么样,还请大家多多包涵。

第一张是小巧的ThinkPad X60与CNG杂志;第二张是ThinkPad X60上的SLED 10桌面(很遗憾,拍得效果非常差);第三张是重量与ThinkPad X60相当的朗文当代高级英语辞典(英汉双解,ISBN 7-100-02605-9/H.672,商务印书馆):
ThinkPad
Sep 29, 2006 - 3 Photos


ThinkPad X60操作系统为Windows XP SP2(机载OEM版)、SLED 10。

标签:

2006-09-23

庆祝一下:在OpenOffice.org上提交的第一份代码得到确认通过

详情请参阅 Issue 55078
其实这个问题本身并不太严重,就是有几个快捷键不太对劲,处理这个问题就更简单了,只需要在头文件中将成员变量的声明顺序调整一下即可。
另外,从Planet OO.o上获悉:OpenOffice.org 2.0.4: getting closer to it,看来OOo 2.0.4离我们已经不远了,相应的Wiki条目为:OOoRelease204

标签: