设为首页
收藏本站
用户名
Email
自动登录
找回密码
密码
登录
注册
快捷导航
平台
Portal
论坛
BBS
文库
项目
群组
Group
我的博客
Space
搜索
搜索
热搜:
shell
linux
mysql
本版
用户
LinuxSir.cn,穿越时空的Linuxsir!
»
论坛
›
Linux 发行版讨论区 —— LinuxSir.cn
›
Gentoo Linux
›
及时体验gnome-power-manager的brightness applets和inh ...
返回列表
查看:
1020
|
回复:
2
及时体验gnome-power-manager的brightness applets和inhibit applets
[复制链接]
midx
midx
当前离线
积分
1126
IP卡
狗仔卡
发表于 2006-11-28 07:18:05
|
显示全部楼层
|
阅读模式
gnome-extra/gnome-power-manager-2.16.2_p20061199
ebuild:
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header$
inherit gnome2 eutils cvs
DESCRIPTION="Gnome Power Manager"
HOMEPAGE="http://www.gnome.org/projects/gnome-power-manager/"
SRC_URI=""
ECVS_SERVER="anoncvs.gnome.org/cvs/gnome"
ECVS_MODULE="gnome-power-manager"
ECVS_AUTH="pserver"
ECVS_USER="anonymous"
ECVS_LOCALNAME="gnome-power-manager"
S=${WORKDIR}/${ECVS_LOCALNAME}
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
IUSE="doc libnotify"
RDEPEND=">=dev-libs/glib-2.6.0
>=x11-libs/gtk+-2.10.0
>=gnome-base/libgnome-2.14.0
>=gnome-base/libgnomeui-2.10.0
>=sys-apps/hal-0.5.7-r1
>=gnome-base/libglade-2.5.0
>=x11-libs/libwnck-2.10.0
>=x11-libs/cairo-1.0.0
>=gnome-base/gconf-2
x11-libs/libX11
x11-libs/libXext
|| (
>=dev-libs/dbus-glib-0.71
( <sys-apps/dbus-0.90 >=sys-apps/dbus-0.61 )
)
libnotify? (
>=x11-libs/libnotify-0.4.3
>=x11-misc/notification-daemon-0.2.1
)"
DEPEND="${RDEPEND}
sys-devel/gettext
dev-util/pkgconfig
>=dev-util/intltool-0.35
doc? (
app-text/xmlto
app-text/gnome-doc-utils
app-text/docbook-sgml-utils
)"
DOCS="AUTHORS ChangeLog NEWS README TODO"
src_unpack() {
cvs_src_unpack
cd ${S}
}
src_compile() {
./autogen.sh --prefix=/usr \
$(use_enable doc docbook-docs) \
$(use_enable libnotify) \
--enable-applets \
--enable-actions-menu \
--with-dpms-ext \
gnome2_src_compile
emake || die "Compilation failed"
}
kill_gconf() {
# this function will kill all running gconfd that could be causing troubles
if [ -x /usr/bin/gconftool ]
then
/usr/bin/gconftool --shutdown
fi
if [ -x /usr/bin/gconftool-1 ]
then
/usr/bin/gconftool-1 --shutdown
fi
# and for gconf 2
if [ -x /usr/bin/gconftool-2 ]
then
/usr/bin/gconftool-2 --shutdown
fi
return 0
}
pkg_postinst() {
kill_gconf
einfo "You will need the masked pam_console to be able to"
einfo "suspend/hibernate, or you will need to:"
einfo "touch /var/run/console/<USERNAME>"
einfo "after each boot"
}
复制代码
本帖子中包含更多资源
您需要
登录
才可以下载或查看,没有帐号?
注册
x
回复
使用道具
举报
提升卡
置顶卡
沉默卡
喧嚣卡
变色卡
显身卡
夕角
夕角
当前离线
积分
747
IP卡
狗仔卡
发表于 2006-11-28 14:11:11
|
显示全部楼层
昨天刚把gnome整个删了
回复
支持
反对
使用道具
举报
显身卡
wangtao24
wangtao24
当前离线
积分
438
IP卡
狗仔卡
发表于 2006-11-28 14:31:43
|
显示全部楼层
现在改用fluxbox了,不过没删gnome,反正它在我的电脑上速度很快,删了说不定哪天要用又得装上,不划算!
回复
支持
反对
使用道具
举报
显身卡
返回列表
高级模式
B
Color
Image
Link
Quote
Code
Smilies
您需要登录后才可以回帖
登录
|
注册
本版积分规则
发表回复
回帖后跳转到最后一页
浏览过的版块
服务器架设、应用、维护
SuSE Linux
开源软件专题讨论
Copyright © 2002-2023
LinuxSir.cn
(http://www.linuxsir.cn/) 版权所有 All Rights Reserved.
Powered by
RedflagLinux!
技术支持:
中科红旗
|
京ICP备19024520号
快速回复
返回顶部
返回列表