summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2016-08-11 21:40:18 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2016-08-11 21:41:24 +0100
commit172e10d6fc7379bbcde5603686deb1ceca7183ee (patch)
treed9991d28aa43cc4be1c8362a87fda89e04a87643 /x11-misc/xmobar
parentmedia-gfx/kphotoalbum: remove old (diff)
downloadgentoo-172e10d6fc7379bbcde5603686deb1ceca7183ee.tar.gz
gentoo-172e10d6fc7379bbcde5603686deb1ceca7183ee.tar.bz2
gentoo-172e10d6fc7379bbcde5603686deb1ceca7183ee.zip
x11-misc/xmobar: bump up to 0.24.2
Package-Manager: portage-2.3.0
Diffstat (limited to 'x11-misc/xmobar')
-rw-r--r--x11-misc/xmobar/Manifest1
-rw-r--r--x11-misc/xmobar/metadata.xml3
-rw-r--r--x11-misc/xmobar/xmobar-0.24.2.ebuild94
3 files changed, 98 insertions, 0 deletions
diff --git a/x11-misc/xmobar/Manifest b/x11-misc/xmobar/Manifest
index 7ac78eb9a313..7c4cce089d38 100644
--- a/x11-misc/xmobar/Manifest
+++ b/x11-misc/xmobar/Manifest
@@ -3,3 +3,4 @@ DIST xmobar-0.21.tar.gz 85387 SHA256 f576b6c090db0d8ea8497106dfa8098c529ec620d41
DIST xmobar-0.22.1.tar.gz 92790 SHA256 9feb62064e1eb85edce6ffbc4d9b5e1a3dd6a9d12970cb4674c475301de3dc56 SHA512 2f824e87502b0b7901583a2cbb95cbc8c34f12d031da56a4dab2427676aba91bb54bafe631c1e637422b5a6f250f7d4f1dcf51597c6f7192db01341baa6a1e9a WHIRLPOOL 24134f22861e45443d48c0ea1cbde3b664c97fd768f2e544fbc0f7da1f6066313bb6de8894e0728bfec554a893c1612052a5bb562622f7ea344f2c9b5a4a444d
DIST xmobar-0.23.1.tar.gz 96169 SHA256 3b31558373bdb8561f06440da902dd0db8398e5c774fa027931785c263f5567a SHA512 0215c02d32d90efff4d041d48b663755ccfb1944281f8a2cabb3e88cc9fd77221da03dd709b9c96f5ca8d7204561fe33fdabf37a2d919a83374df71909cc5978 WHIRLPOOL 9357a6bb809c7fe65ac8fd2c52eba9807d41b358bac10417416fa8b9aa1bb17c8cd62495b102d56c8ff1cd8ed2550a33fad3bfce0b56510968308418b4a7e352
DIST xmobar-0.23.tar.gz 95874 SHA256 bbe567762ce093b7be28bebb3c9669a16e9e57025da5130564ed57d448ab835a SHA512 5853a9d2479efbd217153a28416c37d68184335e184722bbdcd350bb015c99dc154817da6ba8ccb9120b6d5403d391d7cd792e38112dff3ee94c7d2e0d131eaf WHIRLPOOL 975483fbda6fb70f0a5a44f5dd8addc0b1e5bc411844eeab42bc90e7e93b5064c0fa3a71c30488c63b3a82d76bb176d705ea3ce264626c2fa5c1cd4776de59ff
+DIST xmobar-0.24.2.tar.gz 100179 SHA256 a8aa243ec8d86b88da2c072eeef4d09be00091254ad05eaf517756e20483cd64 SHA512 c271e50d615d509c2c15ffa716b45df3211cfa143b128126c55a78a056475c9fbb6d7abc60a6a058e20a12aced5f33b94cecc35c73a76505e33e62ea1f1561f8 WHIRLPOOL 515dfff222b604b7fcfcd510cdb085b1a02969aafe6376b16d0108a37e71fc5b90402673c31961047b5b2dc0e18a98826f49508b12dca8610d0f5bd31c0294c6
diff --git a/x11-misc/xmobar/metadata.xml b/x11-misc/xmobar/metadata.xml
index 75fd0add8c48..7cb1b0df7941 100644
--- a/x11-misc/xmobar/metadata.xml
+++ b/x11-misc/xmobar/metadata.xml
@@ -3,11 +3,14 @@
<pkgmetadata>
<maintainer type="project">
<email>haskell@gentoo.org</email>
+ <name>Gentoo Haskell</name>
</maintainer>
<use>
<flag name="mpd">Support mpd plugin</flag>
<flag name="mpris">Enables MPRIS v1, v2 support</flag>
<flag name="timezone">Enables localized date support</flag>
+ <flag name="with_conduit">Use conduit to fetch weather data.</flag>
+ <flag name="with_uvmeter">Plugin to show UV data for Australia.</flag>
</use>
<longdescription>
Xmobar is a minimalistic text based status bar.
diff --git a/x11-misc/xmobar/xmobar-0.24.2.ebuild b/x11-misc/xmobar/xmobar-0.24.2.ebuild
new file mode 100644
index 000000000000..22dbdb107dfd
--- /dev/null
+++ b/x11-misc/xmobar/xmobar-0.24.2.ebuild
@@ -0,0 +1,94 @@
+# 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/transformers:=
+ >=dev-haskell/utf8-string-0.3:= <dev-haskell/utf8-string-1.1:=
+ >=dev-haskell/x11-1.6.1:=
+ >=dev-lang/ghc-7.4.1:=
+ 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.6
+"
+
+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
+}