1 |
alonbl 07/11/25 06:08:17 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: hibernate-script-1.97-r3.ebuild |
5 |
Log: |
6 |
Fix X environment issue, bug#199806, thanks to Daniel Schömer |
7 |
(Portage version: 2.1.3.19, RepoMan options: --force) |
8 |
|
9 |
Revision Changes Path |
10 |
1.72 sys-power/hibernate-script/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/hibernate-script/ChangeLog?rev=1.72&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/hibernate-script/ChangeLog?rev=1.72&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/hibernate-script/ChangeLog?r1=1.71&r2=1.72 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/ChangeLog,v |
19 |
retrieving revision 1.71 |
20 |
retrieving revision 1.72 |
21 |
diff -u -r1.71 -r1.72 |
22 |
--- ChangeLog 17 Nov 2007 07:39:03 -0000 1.71 |
23 |
+++ ChangeLog 25 Nov 2007 06:08:17 -0000 1.72 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for sys-power/hibernate-script |
26 |
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/ChangeLog,v 1.71 2007/11/17 07:39:03 alonbl Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/ChangeLog,v 1.72 2007/11/25 06:08:17 alonbl Exp $ |
29 |
+ |
30 |
+*hibernate-script-1.97-r3 (25 Nov 2007) |
31 |
+ |
32 |
+ 25 Nov 2007; Alon Bar-Lev <alonbl@g.o> |
33 |
+ +hibernate-script-1.97-r3.ebuild: |
34 |
+ Fix X environment issue, bug#199806, thanks to Daniel Schömer |
35 |
|
36 |
*hibernate-script-1.97-r2 (17 Nov 2007) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-power/hibernate-script/hibernate-script-1.97-r3.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/hibernate-script/hibernate-script-1.97-r3.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/hibernate-script/hibernate-script-1.97-r3.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: hibernate-script-1.97-r3.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2007 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/sys-power/hibernate-script/hibernate-script-1.97-r3.ebuild,v 1.1 2007/11/25 06:08:17 alonbl Exp $ |
51 |
|
52 |
inherit eutils |
53 |
|
54 |
PATCH_VERSION="4" |
55 |
|
56 |
DESCRIPTION="Hibernate script supporting multiple suspend methods" |
57 |
HOMEPAGE="http://www.tuxonice.net/" |
58 |
SRC_URI="http://www.tuxonice.net/downloads/all/${P}.tar.gz |
59 |
mirror://gentoo/${P}-patches-${PATCH_VERSION}.tar.bz2" |
60 |
|
61 |
LICENSE="GPL-2" |
62 |
SLOT="0" |
63 |
KEYWORDS="amd64 ~ppc x86" |
64 |
|
65 |
IUSE="vim-syntax" |
66 |
|
67 |
DEPEND="" |
68 |
RDEPEND="!<media-gfx/splashutils-1.5.2" |
69 |
|
70 |
src_unpack() { |
71 |
unpack ${A} |
72 |
cd "${S}" |
73 |
|
74 |
# Our patches |
75 |
epatch "${WORKDIR}"/patches/*.patch |
76 |
} |
77 |
|
78 |
src_install() { |
79 |
BASE_DIR="${D}" \ |
80 |
DISTRIBUTION="gentoo" \ |
81 |
PREFIX="/usr" \ |
82 |
MAN_DIR="${D}/usr/share/man" \ |
83 |
"${S}/install.sh" || die "Install failed" |
84 |
|
85 |
# hibernate-ram will default to using ram.conf |
86 |
dosym /usr/sbin/hibernate /usr/sbin/hibernate-ram |
87 |
|
88 |
newinitd "${S}"/init.d/hibernate-cleanup.sh hibernate-cleanup |
89 |
|
90 |
# other ebuilds can install scriplets to this dir |
91 |
keepdir /etc/hibernate/scriptlets.d/ |
92 |
|
93 |
if use vim-syntax; then |
94 |
insinto /usr/share/vim/vimfiles/syntax |
95 |
doins hibernate.vim |
96 |
fi |
97 |
|
98 |
dodoc CHANGELOG README SCRIPTLET-API hibernate.vim |
99 |
|
100 |
insinto /etc/logrotate.d |
101 |
newins "${S}"/logrotate.d-hibernate-script hibernate-script |
102 |
} |
103 |
|
104 |
pkg_postinst() { |
105 |
elog |
106 |
elog "You should run the following command to invalidate suspend" |
107 |
elog "images on a clean boot." |
108 |
elog |
109 |
elog " # rc-update add hibernate-cleanup boot" |
110 |
elog |
111 |
elog "See /usr/share/doc/${PF}/README.* for further details." |
112 |
elog |
113 |
elog "Please note that you will need to manually emerge any utilities" |
114 |
elog "(radeontool, vbetool, ...) enabled in the configuration files," |
115 |
elog "should you wish to use them." |
116 |
} |
117 |
|
118 |
|
119 |
|
120 |
-- |
121 |
gentoo-commits@g.o mailing list |