Gentoo Archives: gentoo-commits

From: "Christian Faulhammer (opfer)" <opfer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-admin/conky: ChangeLog conky-1.4.9-r1.ebuild
Date: Sat, 02 Feb 2008 19:00:49
Message-Id: E1JLNba-0001Hw-8J@stork.gentoo.org
1 opfer 08/02/02 19:00:46
2
3 Modified: ChangeLog
4 Added: conky-1.4.9-r1.ebuild
5 Log:
6 add USE=nano-syntax (bug 200939, reported and patch by justin <justin AT j-schmitz DOT net>); check for USE=dbus on audacious (bug 200930, reported by same person)
7 (Portage version: 2.1.3.19, RepoMan options: --force)
8
9 Revision Changes Path
10 1.58 app-admin/conky/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/conky/ChangeLog?rev=1.58&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/conky/ChangeLog?rev=1.58&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/conky/ChangeLog?r1=1.57&r2=1.58
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-admin/conky/ChangeLog,v
19 retrieving revision 1.57
20 retrieving revision 1.58
21 diff -u -r1.57 -r1.58
22 --- ChangeLog 30 Nov 2007 23:57:22 -0000 1.57
23 +++ ChangeLog 2 Feb 2008 19:00:45 -0000 1.58
24 @@ -1,6 +1,14 @@
25 # ChangeLog for app-admin/conky
26 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-admin/conky/ChangeLog,v 1.57 2007/11/30 23:57:22 dragonheart Exp $
28 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/app-admin/conky/ChangeLog,v 1.58 2008/02/02 19:00:45 opfer Exp $
30 +
31 +*conky-1.4.9-r1 (02 Feb 2008)
32 +
33 + 02 Feb 2008; Christian Faulhammer <opfer@g.o>
34 + +conky-1.4.9-r1.ebuild:
35 + add USE=nano-syntax (bug 200939, reported and patch by justin <justin AT
36 + j-schmitz DOT net>); check for USE=dbus on audacious (bug 200930, reported
37 + by same person)
38
39 *conky-1.4.9 (30 Nov 2007)
40
41
42
43
44 1.1 app-admin/conky/conky-1.4.9-r1.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/conky/conky-1.4.9-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/conky/conky-1.4.9-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: conky-1.4.9-r1.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.4.9-r1.ebuild,v 1.1 2008/02/02 19:00:45 opfer Exp $
54
55 inherit eutils
56 # used for epause
57
58 DESCRIPTION="An advanced, highly configurable system monitor for X"
59 HOMEPAGE="http://conky.sf.net"
60 SRC_URI="mirror://sourceforge/conky/${P}.tar.bz2"
61
62 LICENSE="BSD"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
65 IUSE="audacious bmpx hddtemp ipv6 mpd rss truetype vim-syntax 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
94 DEPEND="
95 ${DEPEND_COMMON}
96 X? (
97 x11-libs/libXt
98 x11-proto/xextproto
99 x11-proto/xproto
100 )"
101
102 pkg_setup() {
103 if use audacious; then
104 if ! built_with_use media-sound/audacious dbus; then
105 eerror "media-sound/audacious is not built with dbus USE flag."
106 eerror "Please add 'dbus' to your USE flags, and re-emerge media-sound/audacious."
107 die "media-sound/audacious needs USE=dbus"
108 fi
109 fi
110 }
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 hddtemp ) \
136 $(use_enable mpd) \
137 $(use_enable rss) \
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 doc/conkyrc.sample
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 'Default configuration file is "~/.conkyrc"'
164 elog "You can find a sample configuration file in"
165 elog "/usr/share/doc/${PF}/conkyrc.sample.bz2"
166 elog
167 elog "For more info on Conky's new features,"
168 elog "please look at the README and ChangeLog:"
169 elog "/usr/share/doc/${PF}/README.bz2"
170 elog "/usr/share/doc/${PF}/ChangeLog.bz2"
171 elog "There are also pretty html docs available"
172 elog "on Conky's site or in /usr/share/doc/${PF}"
173 elog
174 elog "Also see http://www.gentoo.org/doc/en/conky-howto.xml"
175 elog
176 elog "Vim syntax highlighting for conkyrc now enabled with"
177 elog "USE=vim-syntax, for Nano with USE=nano-syntax"
178 elog
179 }
180
181
182
183 --
184 gentoo-commits@l.g.o mailing list