Gentoo Archives: gentoo-commits

From: "Daniel Black (dragonheart)" <dragonheart@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-admin/conky: ChangeLog conky-1.4.9.ebuild
Date: Fri, 30 Nov 2007 23:57:30
Message-Id: E1IyFjX-00063m-I4@stork.gentoo.org
1 dragonheart 07/11/30 23:57:23
2
3 Modified: ChangeLog
4 Added: conky-1.4.9.ebuild
5 Log:
6 version bump thanks to Philip as per bug #200020
7 (Portage version: 2.1.3.19)
8
9 Revision Changes Path
10 1.57 app-admin/conky/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/conky/ChangeLog?rev=1.57&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/conky/ChangeLog?rev=1.57&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/conky/ChangeLog?r1=1.56&r2=1.57
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-admin/conky/ChangeLog,v
19 retrieving revision 1.56
20 retrieving revision 1.57
21 diff -u -r1.56 -r1.57
22 --- ChangeLog 17 Nov 2007 22:36:03 -0000 1.56
23 +++ ChangeLog 30 Nov 2007 23:57:22 -0000 1.57
24 @@ -1,6 +1,11 @@
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.56 2007/11/17 22:36:03 dragonheart Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-admin/conky/ChangeLog,v 1.57 2007/11/30 23:57:22 dragonheart Exp $
29 +
30 +*conky-1.4.9 (30 Nov 2007)
31 +
32 + 30 Nov 2007; Daniel Black <dragonheart@g.o> +conky-1.4.9.ebuild:
33 + version bump thanks to Philip as per bug #200020
34
35 17 Nov 2007; Daniel Black <dragonheart@g.o> conky-1.4.6.ebuild,
36 conky-1.4.8.ebuild:
37
38
39
40 1.1 app-admin/conky/conky-1.4.9.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/conky/conky-1.4.9.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/conky/conky-1.4.9.ebuild?rev=1.1&content-type=text/plain
44
45 Index: conky-1.4.9.ebuild
46 ===================================================================
47 # Copyright 1999-2007 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/app-admin/conky/conky-1.4.9.ebuild,v 1.1 2007/11/30 23:57:22 dragonheart Exp $
50
51 inherit eutils
52 # used for epause
53
54 DESCRIPTION="Conky is an advanced, highly configurable system monitor for X"
55 HOMEPAGE="http://conky.sf.net"
56 SRC_URI="mirror://sourceforge/conky/${P}.tar.bz2"
57
58 LICENSE="BSD"
59 SLOT="0"
60 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
61 IUSE="audacious bmpx hddtemp ipv6 mpd rss truetype vim-syntax wifi X"
62
63 DEPEND_COMMON="
64 virtual/libc
65 X? (
66 x11-libs/libICE
67 x11-libs/libXext
68 x11-libs/libX11
69 x11-libs/libSM
70 x11-libs/libXrender
71 x11-libs/libXdamage
72 x11-libs/libXft
73 truetype? ( >=media-libs/freetype-2 )
74 audacious? ( >=media-sound/audacious-1.4.0 )
75 bmpx? ( media-sound/bmpx
76 >=sys-apps/dbus-0.35
77 )
78 )
79 rss? ( dev-libs/libxml2
80 net-misc/curl
81 )
82 wifi? ( net-wireless/wireless-tools )
83 !ipv6? ( >=dev-libs/glib-2.0 )"
84 RDEPEND="${DEPEND_COMMON}
85 hddtemp? ( app-admin/hddtemp )
86 vim-syntax? ( || ( app-editors/vim
87 app-editors/gvim ) )"
88
89 DEPEND="
90 ${DEPEND_COMMON}
91 X? (
92 x11-libs/libXt
93 x11-proto/xextproto
94 x11-proto/xproto
95 )"
96
97 src_compile() {
98 local mymake
99 if useq ipv6 ; then
100 elog "You have the ipv6 USE flag enabled. Please note that using"
101 elog "the ipv6 USE flag with Conky disables the port monitor."
102 epause
103 else
104 mymake="MPD_NO_IPV6=noipv6"
105 fi
106 local myconf
107 myconf="--enable-proc-uptime"
108 if useq X; then
109 myconf="${myconf} --enable-x11 --enable-double-buffer --enable-xdamage --enable-own-window"
110 myconf="${myconf} $(use_enable truetype xft)"
111 else
112 myconf="${myconf} --disable-x11 --disable-double-buffer --disable-xdamage --disable-own-window"
113 myconf="${myconf} --disable-xft"
114 fi
115 econf \
116 ${myconf} \
117 $(use_enable audacious) \
118 $(use_enable bmpx) \
119 $(use_enable hddtemp ) \
120 $(use_enable mpd) \
121 $(use_enable rss) \
122 $(use_enable wifi wlan) \
123 $(use_enable !ipv6 portmon) || die "econf failed"
124 emake ${mymake} || die "compile failed"
125 }
126
127 src_install() {
128 emake DESTDIR="${D}" install || die "make install failed"
129 dodoc ChangeLog AUTHORS README doc/conkyrc.sample
130 dohtml doc/docs.html doc/config_settings.html doc/variables.html
131
132 if use vim-syntax; then
133 insinto /usr/share/vim/vimfiles/ftdetect
134 doins "${S}"/extras/vim/ftdetect/conkyrc.vim
135
136 insinto /usr/share/vim/vimfiles/syntax
137 doins "${S}"/extras/vim/syntax/conkyrc.vim
138 fi
139 }
140
141 pkg_postinst() {
142 elog 'Default configuration file is "~/.conkyrc"'
143 elog "You can find a sample configuration file in"
144 elog "/usr/share/doc/${PF}/conkyrc.sample.bz2"
145 elog
146 elog "For more info on Conky's new features,"
147 elog "please look at the README and ChangeLog:"
148 elog "/usr/share/doc/${PF}/README.bz2"
149 elog "/usr/share/doc/${PF}/ChangeLog.bz2"
150 elog "There are also pretty html docs available"
151 elog "on Conky's site or in /usr/share/doc/${PF}"
152 elog
153 elog "Also see http://www.gentoo.org/doc/en/conky-howto.xml"
154 elog
155 elog "Vim syntax highlighting for conkyrc now enabled with"
156 elog "USE=vim-syntax"
157 elog
158 }
159
160
161
162 --
163 gentoo-commits@g.o mailing list