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