diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2016-11-06 10:50:12 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2016-11-06 12:02:38 +0000 |
commit | d0b4923966cb42f3f103a585d4ec0770a367da1c (patch) | |
tree | 21191615190190afb8e5e48ff5cc6025e0a34895 /x11-misc/xmobar | |
parent | kde-base/baloo -> kde-frameworks/baloo (diff) | |
download | gentoo-d0b4923966cb42f3f103a585d4ec0770a367da1c.tar.gz gentoo-d0b4923966cb42f3f103a585d4ec0770a367da1c.tar.bz2 gentoo-d0b4923966cb42f3f103a585d4ec0770a367da1c.zip |
x11-misc/xmobar: bump up to 0.24.3
Package-Manager: portage-2.3.2
Diffstat (limited to 'x11-misc/xmobar')
-rw-r--r-- | x11-misc/xmobar/Manifest | 1 | ||||
-rw-r--r-- | x11-misc/xmobar/xmobar-0.24.3.ebuild | 93 |
2 files changed, 94 insertions, 0 deletions
diff --git a/x11-misc/xmobar/Manifest b/x11-misc/xmobar/Manifest index 2fb7d25a7059..671638377c5c 100644 --- a/x11-misc/xmobar/Manifest +++ b/x11-misc/xmobar/Manifest @@ -1,2 +1,3 @@ DIST xmobar-0.23.1.tar.gz 96169 SHA256 3b31558373bdb8561f06440da902dd0db8398e5c774fa027931785c263f5567a SHA512 0215c02d32d90efff4d041d48b663755ccfb1944281f8a2cabb3e88cc9fd77221da03dd709b9c96f5ca8d7204561fe33fdabf37a2d919a83374df71909cc5978 WHIRLPOOL 9357a6bb809c7fe65ac8fd2c52eba9807d41b358bac10417416fa8b9aa1bb17c8cd62495b102d56c8ff1cd8ed2550a33fad3bfce0b56510968308418b4a7e352 DIST xmobar-0.24.2.tar.gz 100179 SHA256 a8aa243ec8d86b88da2c072eeef4d09be00091254ad05eaf517756e20483cd64 SHA512 c271e50d615d509c2c15ffa716b45df3211cfa143b128126c55a78a056475c9fbb6d7abc60a6a058e20a12aced5f33b94cecc35c73a76505e33e62ea1f1561f8 WHIRLPOOL 515dfff222b604b7fcfcd510cdb085b1a02969aafe6376b16d0108a37e71fc5b90402673c31961047b5b2dc0e18a98826f49508b12dca8610d0f5bd31c0294c6 +DIST xmobar-0.24.3.tar.gz 100317 SHA256 d330079dd60e22004a4cfa271eb9e00a1bb36b8dafcbbf1b1a5980d401dcf510 SHA512 aa16d55b16cf108005ee8ec6c3d1b348b3e70a5182cbb97eed2aeb67bed83bee4b23acff6d29d5bda5a30ce35dc87463a6ade6e0814b588f53b173a1c3b5a5b3 WHIRLPOOL 7a1e445d38b67d7e4931956b0ddd1a0f107f54dab8ad5a45f941beab2ef7aeb4dbe57526ee2f652a1c18c83ea5626040a9cb861a9c72fac8b3c2044a51021018 diff --git a/x11-misc/xmobar/xmobar-0.24.3.ebuild b/x11-misc/xmobar/xmobar-0.24.3.ebuild new file mode 100644 index 000000000000..2440311da365 --- /dev/null +++ b/x11-misc/xmobar/xmobar-0.24.3.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +# ebuild generated by hackport 0.5.9999 +#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 + +CABAL_FEATURES="bin" +inherit haskell-cabal + +DESCRIPTION="A Minimalistic Text Based Status Bar" +HOMEPAGE="http://xmobar.org" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="alsa dbus inotify mpd mpris timezone wifi with_conduit with_uvmeter xft xpm" + +RDEPEND=">=dev-haskell/http-4000.2.4:= + >=dev-haskell/mtl-2.1:= <dev-haskell/mtl-2.3:= + dev-haskell/old-locale:= + >=dev-haskell/parsec-3.1:= <dev-haskell/parsec-3.2:= + dev-haskell/regex-compat:= + >=dev-haskell/stm-2.3:= <dev-haskell/stm-2.5:= + >=dev-haskell/utf8-string-0.3:= <dev-haskell/utf8-string-1.1:= + >=dev-haskell/x11-1.6.1:= + >=dev-lang/ghc-7.8.2:= + x11-libs/libXrandr + x11-libs/libXrender + alsa? ( >=dev-haskell/alsa-core-0.5:= <dev-haskell/alsa-core-0.6:= + >dev-haskell/alsa-mixer-0.2.0.2:= ) + dbus? ( >=dev-haskell/dbus-0.10:= ) + inotify? ( >=dev-haskell/hinotify-0.3:= <dev-haskell/hinotify-0.4:= ) + mpd? ( >=dev-haskell/libmpd-0.9:= <dev-haskell/libmpd-0.10:= ) + mpris? ( >=dev-haskell/dbus-0.10:= ) + timezone? ( >=dev-haskell/timezone-olson-0.1:= <dev-haskell/timezone-olson-0.2:= + >=dev-haskell/timezone-series-0.1:= <dev-haskell/timezone-series-0.2:= ) + wifi? ( net-wireless/wireless-tools ) + with_conduit? ( dev-haskell/http-conduit:= + dev-haskell/http-types:= ) + xft? ( >=dev-haskell/x11-xft-0.2:= <dev-haskell/x11-xft-0.4:= ) + xpm? ( x11-libs/libXpm ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.18.1.3 +" + +src_prepare() { + default + # xmobar is an idle multithreaded program + # which sits in 'while { sleep(1); }' + # loops in multiple threads. + # It has a pathological behaviour in GHC: + # everything program does is thread context switch + # 100 times per second. It's easily seen with + # + # $ strace -f -p `pidof xmobar` + # + # where rt_sigreturn() manages to enter/exit + # kernel 32 times in each second to do nothing + # This workaround allows shrinkng wakeups/thread + # switches down to one per second (internal xmobar's + # cycle). + # Be careful when remove it :] + HCFLAGS+=" -with-rtsopts=-V0" +} + +src_configure() { + haskell-cabal_src_configure \ + --flag=-all_extensions \ + $(cabal_flag alsa with_alsa) \ + $(cabal_flag with_conduit with_conduit) \ + $(cabal_flag timezone with_datezone) \ + $(cabal_flag dbus with_dbus) \ + $(cabal_flag inotify with_inotify) \ + $(cabal_flag wifi with_iwlib) \ + $(cabal_flag mpd with_mpd) \ + $(cabal_flag mpris with_mpris) \ + --flag=with_threaded \ + --flag=with_utf8 \ + $(cabal_flag with_uvmeter with_uvmeter) \ + $(cabal_flag xft with_xft) \ + $(cabal_flag xpm with_xpm) +} + +src_install() { + cabal_src_install + + dodoc samples/xmobar.config readme.md news.md +} |