星期日, 七月 06, 2008

bmpanel-9999.ebuild


# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/bmpanel/bmpanel-9999.ebuild,v 1.10 2008/05/21 22:43:41 uberlord Exp $

inherit git
EGIT_REPO_URI="git://github.com/nsf/bmpanel.git"

DESCRIPTION="A themeable reincarnation of fspanel"
HOMEPAGE="http://nsf.110mb.com/bmpanel/"
SRC_URI=""

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc sparc x86 ~x86-fbsd"
IUSE=""
RESTRICT="strip mirror"

RDEPEND="media-libs/imlib2
>=media-libs/freetype-2.1.10-r3"
DEPEND="${RDEPEND}
dev-util/pkgconfig
x11-proto/xproto
media-libs/fontconfig"
src_unpack() {
git_src_unpack
}

src_compile() {
# econf || die "configure failed"
./configure || die "configure failed"
# emake || die "compile failed"
emake || die "compile failed"
}

src_install () {
make DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS README

}

Read More...

qtm-0.6.3.ebuild


# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-misc/qtm/qtm-0.6.3.ebuild,v 1.10 2008/04/14 22:43:41 uberlord Exp $

DESCRIPTION="A blogging client which is presently capable of composing, formatting and submitting blog entries to a weblog"
HOMEPAGE="http://qtm.blogistan.co.uk"
SRC_URI="http://prdownloads.sourceforge.net/catkin/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc sparc x86 ~x86-fbsd"
IUSE=""
RESTRICT="strip mirror"

RDEPEND=">=x11-libs/qt-4.2
>=dev-util/cmake-2.4.3"
DEPEND="${RDEPEND}
dev-util/pkgconfig
dev-util/scons
x11-proto/xproto"

src_unpack() {
unpack ${A}
}

src_compile() {
cmake -D USE_STI:BOOL=TRUE .
emake || die "compile failed"
}

src_install () {
make DESTDIR="${D}" install || die "Installation failed"
dodoc README
}

Read More...

星期六, 七月 05, 2008

哈佛大学凌晨四点的图书馆

馆训:
1.现在睡觉的话会做梦而现在学习的话会让梦实现
This moment will nap, you will have a dream; But this moment study,you will interpret a dream.
2.我无所事事地度过的今天是昨天死去的人们所奢望的明天
I leave uncultivated today, was precisely yesterday
perishes tomorrow which person of the body implored.
3.感到晚了的时候其实是最快的时候
Thought is already is late, exactly is the earliest time.
4.不要把今天的事拖到明天
Not matter of the today will drag tomorrow.
5.学习的痛苦是一时的而没有学习的痛苦是一辈子的
Time the study pain is temporary, has not learned the pain islife-long.
6.学习不是人生的全部但连学习都征服不了你还能做什么?
The study certainly is not the life complete. But, sincecontinually life part of - studies also is unable to conquer, what butalso can make?
7.学习不是因为缺少时间而是缺少努力
Studies this matter, lacks the time, but is lacks diligently.
8.所有人的成功都不是偶然的
Nobody can casually succeed, it comes from the thoroughself-control and the will.郭澧葱
9.无法避免的痛苦就去享受吧!
Please enjoy the pain which is unable to avoid.
10.早起的鸟儿有虫吃
Only has compared to the others early, diligently diligently, canfeel the successful taste.
11.成功并不属于每个人
Nobody can casually succeed
12.时间在流逝
HOW time flies
13.今天流下的口水将变成明天流下的泪水
Now drips the saliva, will become tomorrow the tear


Read More...

程序员八荣八耻

以动手实践为荣,以只看不练为耻。
以打印日志为荣,以出错不报为耻。
以局部变量为荣,以全局变量为耻。
以单元测试为荣,以手工测试为耻。
以代码重用为荣,以复制粘贴为耻。
以多态应用为荣,以分支判断为耻。
以定义常量为荣,以魔法数字为耻。
以总结思考为荣,以不求甚解为耻。

Read More...