分页: 1 / 1
基于 liblunar的显农历脚本
发表于 : 2010-05-03 22:39
由 emptyhua
曾经装了一个 liblunar ,用来在gnome panel里显示农历日历,今天升级到10.04,发现不灵了。由于liblunar提供了python的lib,于是简单写了一个命令行版的前端,顺便保持对python的熟悉程度。
下载:
zhcal.zip
使用之前需要安装
liblunar,编译选项
代码: 全选
./configure --prefix=/usr --enable-python
make
sudo make install

Re: 基于 liblunar的显农历脚本
发表于 : 2010-11-06 13:44
由 yu_cos
10.04 下的 liblunar-1-0 似乎不能使用这个脚本,一定要编译~~~不愿意啊~呵呵
Re: 基于 liblunar的显农历脚本
发表于 : 2010-11-08 17:32
由 tusooa
以前有人发过的。
顺便,python有点慢。自从arch升级到python3之后。
自己安装了lunar,用Perl过滤了输出,给prompt用。
lc-农历.py大概要等1,2秒钟。对于吾这样天天用命令行的人,受不了阿。
楼上的,可以
cp-编译.bash liblunar
代码: 全选
tlcr: 0 庚寅年十月三日 17:27 ~/应用/源码/gcode-svn/compile-program/脚本
● ls
dog--1.7.Compile dog--Latest.Compile fcitx-utf8--svn.Compile liblunar--2.2.4.Compile liblunar--svn.Compile
tlcr: 0 庚寅年十月三日 17:27 ~/应用/源码/gcode-svn/compile-program/脚本
●