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.5.1.ebuild conky-1.5.1_pre01052.ebuild conky-1.5.1_pre01083.ebuild
Date: Tue, 01 Apr 2008 19:05:25
Message-Id: E1JglnO-0006Gg-11@stork.gentoo.org
1 omp 08/04/01 19:05:22
2
3 Modified: ChangeLog
4 Added: conky-1.5.1.ebuild
5 Removed: conky-1.5.1_pre01052.ebuild
6 conky-1.5.1_pre01083.ebuild
7 Log:
8 Conky 1.5.1 released.
9 (Portage version: 2.1.4.4)
10
11 Revision Changes Path
12 1.72 app-admin/conky/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/conky/ChangeLog?rev=1.72&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/conky/ChangeLog?rev=1.72&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/conky/ChangeLog?r1=1.71&r2=1.72
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-admin/conky/ChangeLog,v
21 retrieving revision 1.71
22 retrieving revision 1.72
23 diff -u -r1.71 -r1.72
24 --- ChangeLog 30 Mar 2008 06:07:32 -0000 1.71
25 +++ ChangeLog 1 Apr 2008 19:05:21 -0000 1.72
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.71 2008/03/30 06:07:32 omp Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-admin/conky/ChangeLog,v 1.72 2008/04/01 19:05:21 omp Exp $
31 +
32 +*conky-1.5.1 (01 Apr 2008)
33 +
34 + 01 Apr 2008; David Shakaryan <omp@g.o>
35 + -conky-1.5.1_pre01052.ebuild, -conky-1.5.1_pre01083.ebuild,
36 + +conky-1.5.1.ebuild:
37 + Conky 1.5.1 released.
38
39 *conky-1.5.1_pre01083 (30 Mar 2008)
40
41
42
43
44 1.1 app-admin/conky/conky-1.5.1.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/conky/conky-1.5.1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/conky/conky-1.5.1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: conky-1.5.1.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.5.1.ebuild,v 1.1 2008/04/01 19:05:21 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 mpd nano-syntax 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 !ipv6? ( >=dev-libs/glib-2.0 )"
88 RDEPEND="${DEPEND_COMMON}
89 hddtemp? ( app-admin/hddtemp )
90 vim-syntax? ( || ( app-editors/vim
91 app-editors/gvim ) )
92 nano-syntax? ( app-editors/nano )"
93 DEPEND="
94 ${DEPEND_COMMON}
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 mpd) \
136 $(use_enable rss) \
137 $(use_enable smapi) \
138 $(use_enable wifi wlan) \
139 $(use_enable !ipv6 portmon) || die "econf failed"
140 emake ${mymake} || die "compile failed"
141 }
142
143 src_install() {
144 emake DESTDIR="${D}" install || die "make install failed"
145 dodoc ChangeLog AUTHORS README
146 dohtml doc/docs.html doc/config_settings.html doc/variables.html
147
148 if use vim-syntax; then
149 insinto /usr/share/vim/vimfiles/ftdetect
150 doins "${S}"/extras/vim/ftdetect/conkyrc.vim
151
152 insinto /usr/share/vim/vimfiles/syntax
153 doins "${S}"/extras/vim/syntax/conkyrc.vim
154 fi
155
156 if use nano-syntax; then
157 insinto /usr/share/nano/
158 doins "${S}"/extras/nano/conky.nanorc
159 fi
160 }
161
162 pkg_postinst() {
163 elog "You can find the sample configuration file at"
164 elog "/etc/conky/conky.conf. To customize it, copy"
165 elog "/etc/conky/conky.conf to ~/.conkyrc and edit"
166 elog "it to your liking."
167 elog
168 elog "For more info on Conky's new features,"
169 elog "please look at the README and ChangeLog:"
170 elog "/usr/share/doc/${PF}/README.bz2"
171 elog "/usr/share/doc/${PF}/ChangeLog.bz2"
172 elog "There are also pretty html docs available"
173 elog "on Conky's site or in /usr/share/doc/${PF}"
174 elog
175 elog "Also see http://www.gentoo.org/doc/en/conky-howto.xml"
176 elog
177 elog "Vim syntax highlighting for conkyrc now enabled with"
178 elog "USE=vim-syntax, for Nano with USE=nano-syntax"
179 elog
180 }
181
182
183
184 --
185 gentoo-commits@l.g.o mailing list