1 |
sping 11/07/28 14:40:12 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: redshift-1.7.ebuild |
5 |
Log: |
6 |
x11-misc/redshift: Bump to 1.7 |
7 |
|
8 |
(Portage version: 2.1.10.7/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.3 x11-misc/redshift/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/redshift/metadata.xml?rev=1.3&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/redshift/metadata.xml?rev=1.3&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/redshift/metadata.xml?r1=1.2&r2=1.3 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/x11-misc/redshift/metadata.xml,v |
20 |
retrieving revision 1.2 |
21 |
retrieving revision 1.3 |
22 |
diff -u -r1.2 -r1.3 |
23 |
--- metadata.xml 21 Feb 2011 17:26:29 -0000 1.2 |
24 |
+++ metadata.xml 28 Jul 2011 14:40:12 -0000 1.3 |
25 |
@@ -2,4 +2,8 @@ |
26 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
27 |
<pkgmetadata> |
28 |
<herd>desktop-misc</herd> |
29 |
+<maintainer><email>sping@g.o</email></maintainer> |
30 |
+<use> |
31 |
+ <flag name="geoclue">Control dependency on <pkg>app-misc/geoclue</pkg></flag> |
32 |
+</use> |
33 |
</pkgmetadata> |
34 |
|
35 |
|
36 |
|
37 |
1.9 x11-misc/redshift/ChangeLog |
38 |
|
39 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/redshift/ChangeLog?rev=1.9&view=markup |
40 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/redshift/ChangeLog?rev=1.9&content-type=text/plain |
41 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/redshift/ChangeLog?r1=1.8&r2=1.9 |
42 |
|
43 |
Index: ChangeLog |
44 |
=================================================================== |
45 |
RCS file: /var/cvsroot/gentoo-x86/x11-misc/redshift/ChangeLog,v |
46 |
retrieving revision 1.8 |
47 |
retrieving revision 1.9 |
48 |
diff -u -r1.8 -r1.9 |
49 |
--- ChangeLog 4 May 2011 06:33:06 -0000 1.8 |
50 |
+++ ChangeLog 28 Jul 2011 14:40:12 -0000 1.9 |
51 |
@@ -1,6 +1,12 @@ |
52 |
# ChangeLog for x11-misc/redshift |
53 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
54 |
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/redshift/ChangeLog,v 1.8 2011/05/04 06:33:06 xarthisius Exp $ |
55 |
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/redshift/ChangeLog,v 1.9 2011/07/28 14:40:12 sping Exp $ |
56 |
+ |
57 |
+*redshift-1.7 (28 Jul 2011) |
58 |
+ |
59 |
+ 28 Jul 2011; Sebastian Pipping <sping@g.o> +redshift-1.7.ebuild, |
60 |
+ metadata.xml: |
61 |
+ Bump to 1.7. Patch got applied upstream, geoclue support added |
62 |
|
63 |
*redshift-1.6-r1 (04 May 2011) |
64 |
|
65 |
|
66 |
|
67 |
|
68 |
1.1 x11-misc/redshift/redshift-1.7.ebuild |
69 |
|
70 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/redshift/redshift-1.7.ebuild?rev=1.1&view=markup |
71 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/redshift/redshift-1.7.ebuild?rev=1.1&content-type=text/plain |
72 |
|
73 |
Index: redshift-1.7.ebuild |
74 |
=================================================================== |
75 |
# Copyright 1999-2011 Gentoo Foundation |
76 |
# Distributed under the terms of the GNU General Public License v2 |
77 |
# $Header: /var/cvsroot/gentoo-x86/x11-misc/redshift/redshift-1.7.ebuild,v 1.1 2011/07/28 14:40:12 sping Exp $ |
78 |
|
79 |
EAPI=3 |
80 |
|
81 |
PYTHON_DEPEND="gtk? 2:2.6" |
82 |
|
83 |
inherit eutils gnome2-utils python |
84 |
|
85 |
DESCRIPTION="A screen color temperature adjusting software" |
86 |
HOMEPAGE="http://jonls.dk/redshift/" |
87 |
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.bz2" |
88 |
|
89 |
LICENSE="GPL-3" |
90 |
SLOT="0" |
91 |
KEYWORDS="~amd64 ~x86" |
92 |
IUSE="geoclue gnome gtk nls" |
93 |
|
94 |
COMMON_DEPEND=">=x11-libs/libX11-1.4 |
95 |
x11-libs/libXxf86vm |
96 |
x11-libs/libxcb |
97 |
gnome? ( dev-libs/glib:2 |
98 |
>=gnome-base/gconf-2 )" |
99 |
RDEPEND="${COMMON_DEPEND} |
100 |
gtk? ( >=dev-python/pygtk-2 |
101 |
dev-python/pyxdg )" |
102 |
DEPEND="${COMMON_DEPEND} |
103 |
nls? ( sys-devel/gettext )" |
104 |
|
105 |
pkg_setup() { |
106 |
use gtk && python_set_active_version 2 |
107 |
} |
108 |
|
109 |
src_prepare() { |
110 |
if use gtk; then |
111 |
rm -f py-compile |
112 |
ln -s $(type -P true) py-compile || die |
113 |
python_convert_shebangs 2 src/gtk-redshift/gtk-redshift |
114 |
fi |
115 |
} |
116 |
|
117 |
src_configure() { |
118 |
local myconf |
119 |
use gtk || myconf="--disable-gui" |
120 |
|
121 |
econf \ |
122 |
--disable-dependency-tracking \ |
123 |
$(use_enable nls) \ |
124 |
--enable-randr \ |
125 |
--enable-vidmode \ |
126 |
$(use_enable gnome gnome-clock) \ |
127 |
$(use_enable geoclue) \ |
128 |
${myconf} |
129 |
} |
130 |
|
131 |
src_install() { |
132 |
emake DESTDIR="${D}" install || die |
133 |
dodoc AUTHORS NEWS README |
134 |
} |
135 |
|
136 |
pkg_preinst() { |
137 |
gnome2_icon_savelist |
138 |
} |
139 |
|
140 |
pkg_postinst() { |
141 |
gnome2_icon_cache_update |
142 |
use gtk && python_mod_optimize gtk_${PN} |
143 |
} |
144 |
|
145 |
pkg_postrm() { |
146 |
gnome2_icon_cache_update |
147 |
use gtk && python_mod_cleanup gtk_${PN} |
148 |
} |