Gentoo Archives: gentoo-commits

From: "Sergei Trofimovich (slyfox)" <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/xmobar: xmobar-0.23.1.ebuild ChangeLog
Date: Mon, 01 Jun 2015 21:06:43
Message-Id: 20150601210638.AF093A1C@oystercatcher.gentoo.org
1 slyfox 15/06/01 21:06:38
2
3 Modified: ChangeLog
4 Added: xmobar-0.23.1.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)
9
10 Revision Changes Path
11 1.32 x11-misc/xmobar/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xmobar/ChangeLog?rev=1.32&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xmobar/ChangeLog?rev=1.32&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xmobar/ChangeLog?r1=1.31&r2=1.32
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-misc/xmobar/ChangeLog,v
20 retrieving revision 1.31
21 retrieving revision 1.32
22 diff -u -r1.31 -r1.32
23 --- ChangeLog 9 Apr 2015 01:15:50 -0000 1.31
24 +++ ChangeLog 1 Jun 2015 21:06:38 -0000 1.32
25 @@ -1,6 +1,11 @@
26 # ChangeLog for x11-misc/xmobar
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xmobar/ChangeLog,v 1.31 2015/04/09 01:15:50 gienah Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xmobar/ChangeLog,v 1.32 2015/06/01 21:06:38 slyfox Exp $
30 +
31 +*xmobar-0.23.1 (01 Jun 2015)
32 +
33 + 01 Jun 2015; Sergei Trofimovich <slyfox@g.o> +xmobar-0.23.1.ebuild:
34 + Version bump.
35
36 *xmobar-0.23 (09 Apr 2015)
37
38
39
40
41 1.1 x11-misc/xmobar/xmobar-0.23.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xmobar/xmobar-0.23.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xmobar/xmobar-0.23.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: xmobar-0.23.1.ebuild
47 ===================================================================
48 # Copyright 1999-2015 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/x11-misc/xmobar/xmobar-0.23.1.ebuild,v 1.1 2015/06/01 21:06:38 slyfox Exp $
51
52 EAPI=5
53
54 # ebuild generated by hackport 0.4.5.9999
55 #hackport: flags: -all_extensions,+with_threaded,+with_utf8,with_iwlib:wifi,with_alsa:alsa,with_xft:xft,with_datezone:timezone,with_dbus:dbus,with_mpd:mpd,with_inotify:inotify,with_mpris:mpris,with_xpm:xpm
56
57 CABAL_FEATURES="bin"
58 inherit haskell-cabal
59
60 DESCRIPTION="A Minimalistic Text Based Status Bar"
61 HOMEPAGE="http://xmobar.org"
62 SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
63
64 LICENSE="BSD"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86"
67 IUSE="alsa dbus inotify mpd mpris timezone wifi xft xpm"
68
69 RDEPEND=">=dev-haskell/http-4000.2.4:=
70 >=dev-haskell/mtl-2.1:= <dev-haskell/mtl-2.3:=
71 dev-haskell/old-locale:=
72 >=dev-haskell/parsec-3.1:= <dev-haskell/parsec-3.2:=
73 dev-haskell/regex-compat:=
74 >=dev-haskell/stm-2.3:= <dev-haskell/stm-2.5:=
75 dev-haskell/transformers:=
76 >=dev-haskell/utf8-string-0.3:= <dev-haskell/utf8-string-1.1:=
77 >=dev-haskell/x11-1.6.1:=
78 >=dev-lang/ghc-7.4.1:=
79 x11-libs/libXrandr
80 x11-libs/libXrender
81 alsa? ( >=dev-haskell/alsa-core-0.5:= <dev-haskell/alsa-core-0.6:=
82 >=dev-haskell/alsa-mixer-0.2:= <dev-haskell/alsa-mixer-0.3:= )
83 dbus? ( >=dev-haskell/dbus-0.10:= )
84 inotify? ( >=dev-haskell/hinotify-0.3:= <dev-haskell/hinotify-0.4:= )
85 mpd? ( >=dev-haskell/libmpd-0.9:= <dev-haskell/libmpd-0.10:= )
86 mpris? ( >=dev-haskell/dbus-0.10:= )
87 timezone? ( >=dev-haskell/timezone-olson-0.1:= <dev-haskell/timezone-olson-0.2:=
88 >=dev-haskell/timezone-series-0.1:= <dev-haskell/timezone-series-0.2:= )
89 wifi? ( net-wireless/wireless-tools )
90 xft? ( >=dev-haskell/x11-xft-0.2:= <dev-haskell/x11-xft-0.4:= )
91 xpm? ( x11-libs/libXpm )
92 "
93 DEPEND="${RDEPEND}
94 >=dev-haskell/cabal-1.6
95 "
96
97 src_prepare() {
98 # xmobar is an idle multithreaded program
99 # which sits in 'while { sleep(1); }'
100 # loops in multiple threads.
101 # It has a pathological behaviour in GHC:
102 # everything program does is thread context switch
103 # 100 times per second. It's easily seen with
104 #
105 # $ strace -f -p `pidof xmobar`
106 #
107 # where rt_sigreturn() manages to enter/exit
108 # kernel 32 times in each second to do nothing
109 # This workaround allows shrinkng wakeups/thread
110 # switches down to one per second (internal xmobar's
111 # cycle).
112 # Be careful when remove it :]
113 HCFLAGS+=" -with-rtsopts=-V0"
114 }
115
116 src_configure() {
117 haskell-cabal_src_configure \
118 --flag=-all_extensions \
119 $(cabal_flag alsa with_alsa) \
120 $(cabal_flag timezone with_datezone) \
121 $(cabal_flag dbus with_dbus) \
122 $(cabal_flag inotify with_inotify) \
123 $(cabal_flag wifi with_iwlib) \
124 $(cabal_flag mpd with_mpd) \
125 $(cabal_flag mpris with_mpris) \
126 --flag=with_threaded \
127 --flag=with_utf8 \
128 $(cabal_flag xft with_xft) \
129 $(cabal_flag xpm with_xpm)
130 }
131
132 src_install() {
133 cabal_src_install
134
135 dodoc samples/xmobar.config readme.md news.md
136 }