Gentoo Archives: gentoo-commits

From: "David Shakaryan (omp)" <omp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-admin/conky: ChangeLog conky-1.6.2_pre01267.ebuild conky-1.6.2_pre01261.ebuild
Date: Wed, 08 Oct 2008 11:56:27
Message-Id: E1KnXeQ-0003HA-Vz@stork.gentoo.org
1 omp 08/10/08 11:56:22
2
3 Modified: ChangeLog
4 Added: conky-1.6.2_pre01267.ebuild
5 Removed: conky-1.6.2_pre01261.ebuild
6 Log:
7 Version bump.
8 (Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 x86_64)
9
10 Revision Changes Path
11 1.102 app-admin/conky/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/conky/ChangeLog?rev=1.102&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/conky/ChangeLog?rev=1.102&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/conky/ChangeLog?r1=1.101&r2=1.102
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-admin/conky/ChangeLog,v
20 retrieving revision 1.101
21 retrieving revision 1.102
22 diff -u -r1.101 -r1.102
23 --- ChangeLog 28 Sep 2008 03:13:15 -0000 1.101
24 +++ ChangeLog 8 Oct 2008 11:56:22 -0000 1.102
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-admin/conky
27 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-admin/conky/ChangeLog,v 1.101 2008/09/28 03:13:15 omp Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-admin/conky/ChangeLog,v 1.102 2008/10/08 11:56:22 omp Exp $
30 +
31 +*conky-1.6.2_pre01267 (08 Oct 2008)
32 +
33 + 08 Oct 2008; David Shakaryan <omp@g.o>
34 + -conky-1.6.2_pre01261.ebuild, +conky-1.6.2_pre01267.ebuild:
35 + Version bump.
36
37 *conky-1.6.2_pre01261 (28 Sep 2008)
38
39
40
41
42 1.1 app-admin/conky/conky-1.6.2_pre01267.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/conky/conky-1.6.2_pre01267.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/conky/conky-1.6.2_pre01267.ebuild?rev=1.1&content-type=text/plain
46
47 Index: conky-1.6.2_pre01267.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-admin/conky/conky-1.6.2_pre01267.ebuild,v 1.1 2008/10/08 11:56:22 omp Exp $
52
53 inherit eutils
54 # used for epause
55
56 DESCRIPTION="An advanced, highly configurable system monitor for X"
57 HOMEPAGE="http://conky.sourceforge.net/"
58 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
59
60 LICENSE="BSD"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
63 IUSE="audacious bmpx debug hddtemp ipv6 moc mpd nano-syntax nvidia rss truetype vim-syntax smapi wifi X"
64
65 DEPEND_COMMON="
66 virtual/libc
67 X? (
68 x11-libs/libICE
69 x11-libs/libXext
70 x11-libs/libX11
71 x11-libs/libSM
72 x11-libs/libXrender
73 x11-libs/libXdamage
74 x11-libs/libXft
75 truetype? ( >=media-libs/freetype-2 )
76 audacious? ( >=media-sound/audacious-1.4.0 )
77 bmpx? ( media-sound/bmpx
78 >=sys-apps/dbus-0.35
79 )
80 )
81 rss? ( dev-libs/libxml2
82 net-misc/curl
83 )
84 wifi? ( net-wireless/wireless-tools )
85 nvidia? ( media-video/nvidia-settings )
86 !ipv6? ( >=dev-libs/glib-2.0 )"
87 RDEPEND="${DEPEND_COMMON}
88 hddtemp? ( app-admin/hddtemp )
89 vim-syntax? ( || ( app-editors/vim
90 app-editors/gvim ) )
91 nano-syntax? ( app-editors/nano )"
92 DEPEND="
93 ${DEPEND_COMMON}
94 dev-util/pkgconfig
95 X? (
96 x11-libs/libXt
97 x11-proto/xextproto
98 x11-proto/xproto
99 )"
100
101 pkg_setup() {
102 if use audacious; then
103 if has_version '<media-sound/audacious-1.5.0' && ! built_with_use media-sound/audacious dbus; then
104 eerror "media-sound/audacious is not built with dbus USE flag."
105 eerror "Please add 'dbus' to your USE flags, and re-emerge media-sound/audacious."
106 die "media-sound/audacious needs USE=dbus"
107 fi
108 fi
109 }
110
111 src_compile() {
112 local mymake
113 if useq ipv6 ; then
114 ewarn "You have the ipv6 USE flag enabled. Please note that using"
115 ewarn "the ipv6 USE flag with Conky disables the port monitor."
116 epause
117 else
118 mymake="MPD_NO_IPV6=noipv6"
119 fi
120 local myconf
121 myconf="--enable-proc-uptime"
122 if useq X; then
123 myconf="${myconf} --enable-x11 --enable-double-buffer --enable-xdamage --enable-own-window"
124 myconf="${myconf} $(use_enable truetype xft)"
125 else
126 myconf="${myconf} --disable-x11 --disable-double-buffer --disable-xdamage --disable-own-window"
127 myconf="${myconf} --disable-xft"
128 fi
129 econf \
130 ${myconf} \
131 $(use_enable audacious) \
132 $(use_enable bmpx) \
133 $(use_enable debug) \
134 $(use_enable hddtemp ) \
135 $(use_enable moc) \
136 $(use_enable mpd) \
137 $(use_enable nvidia) \
138 $(use_enable rss) \
139 $(use_enable smapi) \
140 $(use_enable wifi wlan) \
141 $(use_enable !ipv6 portmon) || die "econf failed"
142 emake ${mymake} || die "compile failed"
143 }
144
145 src_install() {
146 emake DESTDIR="${D}" install || die "make install failed"
147 dodoc ChangeLog AUTHORS README
148 dohtml doc/docs.html doc/config_settings.html doc/variables.html
149
150 if use vim-syntax; then
151 insinto /usr/share/vim/vimfiles/ftdetect
152 doins "${S}"/extras/vim/ftdetect/conkyrc.vim
153
154 insinto /usr/share/vim/vimfiles/syntax
155 doins "${S}"/extras/vim/syntax/conkyrc.vim
156 fi
157
158 if use nano-syntax; then
159 insinto /usr/share/nano/
160 doins "${S}"/extras/nano/conky.nanorc
161 fi
162 }
163
164 pkg_postinst() {
165 elog "You can find the sample configuration file at"
166 elog "/etc/conky/conky.conf. To customize it, copy"
167 elog "/etc/conky/conky.conf to ~/.conkyrc and edit"
168 elog "it to your liking."
169 elog
170 elog "For more info on Conky's new features,"
171 elog "please look at the README and ChangeLog:"
172 elog "/usr/share/doc/${PF}/README.bz2"
173 elog "/usr/share/doc/${PF}/ChangeLog.bz2"
174 elog "There are also pretty html docs available"
175 elog "on Conky's site or in /usr/share/doc/${PF}"
176 elog
177 elog "Also see http://www.gentoo.org/doc/en/conky-howto.xml"
178 elog
179 elog "Vim syntax highlighting for conkyrc now enabled with"
180 elog "USE=vim-syntax, for Nano with USE=nano-syntax"
181 elog
182 }