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