summaryrefslogtreecommitdiff
path: root/x11-misc/xmobar
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/xmobar')
-rw-r--r--x11-misc/xmobar/Manifest10
-rw-r--r--x11-misc/xmobar/files/xmobar-0.24.3-noxpm.patch9
-rw-r--r--x11-misc/xmobar/metadata.xml22
-rw-r--r--x11-misc/xmobar/xmobar-0.23.1.ebuild88
-rw-r--r--x11-misc/xmobar/xmobar-0.24.2.ebuild93
-rw-r--r--x11-misc/xmobar/xmobar-0.24.3.ebuild94
6 files changed, 316 insertions, 0 deletions
diff --git a/x11-misc/xmobar/Manifest b/x11-misc/xmobar/Manifest
new file mode 100644
index 000000000000..f8f6432935ee
--- /dev/null
+++ b/x11-misc/xmobar/Manifest
@@ -0,0 +1,10 @@
+AUX xmobar-0.24.3-noxpm.patch 363 SHA256 d709852d7044d6de9bb71fbab954fd78d9cbf6e8d024f00d7ce5580945ef623a SHA512 54e87bfac3476d0821c7b42ace5f9f3f2709ca89bdb182f3e93bdfb3e09cb0432267698e20aa325099949694120f0f81810e5c5a026839899de2b1d4550485c8 WHIRLPOOL 568debfe89f57130762009beafea0587442949732679f5a03f9dd3ff428b395e19da3bbea2eb6f6dfe901c4bd87813f5662e3bcc9117e4321f17feaa9b448ec1
+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
+EBUILD xmobar-0.23.1.ebuild 2879 SHA256 1fe19d80fa45fdc5dc0b562304d2e824ff2cd6a726b4a363fd2c00d098073643 SHA512 0acad8ab127e2b401f6e8a1b901b196f7361ac3a3d68c890917d84dd395803e8bb4dae03f8583c7029b13fd2dc241d108044ae581bd8b56803dc8e95c9b4344f WHIRLPOOL a8296a0a69927f5b03de40bcbee7b8deb1a148d3bbf1a8248e8d570b49444098b837215075c3256ad1feca2b1b44ef941e967a295093e146ae9e4bcab5343844
+EBUILD xmobar-0.24.2.ebuild 3049 SHA256 b2a3bc3f801a59cd4689c5b8bb3e2fd5885fd7d6387302d184ad9ce1bfbf8408 SHA512 b9ee096d5eac6e7b58bbb8fc54d5f4c07895c47cdcc384d5e40afa84afd9516237a6fcc406e5d31a64fddb9d5c397feedad082288038bed6641fba00b5c09e59 WHIRLPOOL dced256b0319759ba34bf888e9e855cafc3cfc30ba1aedc7f6ae467ef1c636a1cbd5b2a9034b1b22027872cabf0718de41001d1d38ced96a0194cb65cbd3638f
+EBUILD xmobar-0.24.3.ebuild 3068 SHA256 3740c607fc221c3625873681c20b7648ab5dfa3831bb7c59a95537effb5ae21d SHA512 982bba19184c8fc31bee661c5fe36886eec3fc8f9cb57b9240512df995ec3b70246aefdad2e23b77a58368ca6525b70494d1b2e1c4e26be658ec8d1ddba8a0c8 WHIRLPOOL 6fcbf1d3d00ad8b23fddf7ae0fb62dec49c79f86b5d7f6ae8207efe570d7c4b5aea0fd74fc1b58b97abd258e434e169b7c771e9c242ddfbec7746a64a8dabe0a
+MISC ChangeLog 3985 SHA256 fb0daba43717e4fee4aee9d882a79c592904ec0f93163b73541fc665393ebdd7 SHA512 67ab2f4eff6fe9e63eee2efe0f6b806068e7fac547f2ca999882c3751065b16afbac031a2680d3d4f3c76c31bd2c7de36fdc6d6aa5737f69de243e9cf323fc77 WHIRLPOOL a0e1897a16cdf863b92714ded60ba002b26f0d55152dea33f8eb16dc3bfc56d69bdddad13b130b963cbacf7193c4ae372d9058339ddd3e219a8e754e19207878
+MISC ChangeLog-2015 5432 SHA256 85272d311d83c49ef478d96be8726b62251dba625a07299c8687e7476629bc52 SHA512 7df2b988807aa9c1acfca322dcef8e4842569f8c4fa7c45d0353182878d4a17b2177fdc175634303f00d29c70474ea924f808aefc9fd28c1435110bf585bac6d WHIRLPOOL 66897c57cb11ddd1cddfb1efaea349627c33c1e4219fc4c29674e2b56c20bab72d9a5ef37c7d43b352926a27ae4ff4e5566af5e256fe1ad82a4dc103998577ab
+MISC metadata.xml 817 SHA256 0339725a1c2bdbc9eb6c0cae1a0470b09aed174649532331d2033c065f9d2dcd SHA512 f4c3fe7d5869d364cdba2756367488b8ae2b9ad2c72684d1725d57da44db1600c5ad37a93b1579316309e0ae12dd5cca986710ce5a6bd0a44ac3add03137fd3a WHIRLPOOL eed2fa08d8f8ab67ba178b38c47c6c79fdc526b3641b93d1f728808721589cf616f4c20c7089bd8bec0460373aa1feb0e4d696fa48756458faab58bf93157056
diff --git a/x11-misc/xmobar/files/xmobar-0.24.3-noxpm.patch b/x11-misc/xmobar/files/xmobar-0.24.3-noxpm.patch
new file mode 100644
index 000000000000..8f4da6b78847
--- /dev/null
+++ b/x11-misc/xmobar/files/xmobar-0.24.3-noxpm.patch
@@ -0,0 +1,9 @@
+diff --git a/xmobar.cabal b/xmobar.cabal
+index f6a6dae..8a17579 100644
+--- a/xmobar.cabal
++++ b/xmobar.cabal
+@@ -89,3 +89,3 @@ executable xmobar
+ Xmobar, Actions, Bitmap, Config, Parsers, Commands, Localize,
+- XUtil, XPMFile, StatFS, Runnable, ColorCache, Window, Signal,
++ XUtil, StatFS, Runnable, ColorCache, Window, Signal,
+ Environment,
diff --git a/x11-misc/xmobar/metadata.xml b/x11-misc/xmobar/metadata.xml
new file mode 100644
index 000000000000..7cb1b0df7941
--- /dev/null
+++ b/x11-misc/xmobar/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<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.
+
+ Inspired by the Ion3 status bar, it supports similar
+ features, like dynamic color management, output templates,
+ and extensibility through plugins.
+ </longdescription>
+</pkgmetadata>
diff --git a/x11-misc/xmobar/xmobar-0.23.1.ebuild b/x11-misc/xmobar/xmobar-0.23.1.ebuild
new file mode 100644
index 000000000000..042e167767a6
--- /dev/null
+++ b/x11-misc/xmobar/xmobar-0.23.1.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.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 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:= <dev-haskell/alsa-mixer-0.3:= )
+ 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 )
+ 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() {
+ # 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 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 xft with_xft) \
+ $(cabal_flag xpm with_xpm)
+}
+
+src_install() {
+ cabal_src_install
+
+ dodoc samples/xmobar.config readme.md news.md
+}
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..6444bb6aae47
--- /dev/null
+++ b/x11-misc/xmobar/xmobar-0.24.2.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+}
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..99ba81604786
--- /dev/null
+++ b/x11-misc/xmobar/xmobar-0.24.3.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+"
+
+PATCHES=("${FILESDIR}"/${P}-noxpm.patch)
+
+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
+}