Package Details: xmobar-git 0.36.r24.ga071c2a-1

Git Clone URL: (read-only, click to copy)
Package Base: xmobar-git
Description: Minimalistic Text Based Status Bar
Upstream URL:
Licenses: custom:BSD3
Conflicts: xmobar
Provides: xmobar
Submitter: cgirard
Maintainer: anthraxx
Last Packager: anthraxx
Votes: 20
Popularity: 0.65
First Submitted: 2010-12-22 09:40 (UTC)
Last Updated: 2020-11-20 00:41 (UTC)

Latest Comments

PRESFIL commented on 2020-10-08 14:57 (UTC)

Xmobar now can work as XMonad and it is config can be written in "normal" Haskell, but PKGBUILD does not provide this ability. I used xmonad PKGBUILD from as inspiration. Here's my branch. Please, review-apply this changes.

yourmom777 commented on 2020-06-11 04:55 (UTC)

Should haskell-alsa-core and haskell-alsa-mixer be added as dependencies and with_alsa be added as a compile flag for the Alsa command?

TheNiceGuy commented on 2018-07-11 23:29 (UTC) (edited on 2018-07-11 23:29 (UTC) by TheNiceGuy)

The newer version now required parsec-numbers library as shown in [1]. I've packaged parsec-numbers here [2].



misc commented on 2018-02-07 18:56 (UTC)

Setup is setup now for like no good reason

opt1mus commented on 2017-07-01 03:16 (UTC)

If you encounter a series of errors ( /usr/bin/ld: cannot find -lHSblahblahblah ) on attempting to compile - similar to those found here; Switching to dynamic compilation fixes the issue, in this case it'll mean including --enable-executable-dynamic to whichever 'runhaskell Setup configure ...' line you're using.

fosskers commented on 2015-05-21 21:42 (UTC)

Thanks, I'm going to take a look at this on the weekend.

euclio commented on 2015-05-21 21:40 (UTC)

I've written a new version of the PKGBUILD that lets makepkg handle the git checkout. This allows users to avoid checking out the source every time they want to build. Also, I added a pkgver function to generate pkgver based on the latest tag. Please consider incorporating my changes :)

pdxleif commented on 2014-02-13 05:58 (UTC)

It'll use whatever version it was compiled against. Just recompile this package, and it should link to /usr/lib/

kevr commented on 2014-02-13 05:56 (UTC)

Recent bleeding-edge arch updates broke this package by default, it looks for, updated version from the arch repository is now -- just an fyi. Thanks maintainer. :)

fosskers commented on 2014-02-11 18:51 (UTC)

There you go Todd :)

tlunter commented on 2014-02-11 18:38 (UTC)

Looks like this now needs a requirement for haskell-http due to

fosskers commented on 2013-06-24 05:33 (UTC)

There you go!

jachymb commented on 2013-06-23 14:45 (UTC)

Please add haskell-regex-compat as a dependency.

fosskers commented on 2013-04-06 03:36 (UTC)

Fixed! Builds with the new pacman now too.

commented on 2013-04-05 01:07 (UTC)

It's not causing any problem in particular, but packages should generally be installed to /usr as far as I know. Just wanted to point that out after I was surprised to see my /usr/local being populated.

fosskers commented on 2013-04-04 21:55 (UTC)

Thanks for pointing that out. It must be a leftover from when I inherited this package. Is that causing problems?

commented on 2013-04-04 12:59 (UTC)

Is there any reason why this package installs to /usr/local by default? I see '--prefix=/usr' in the all_extensions line but not in the default setup.

commented on 2013-03-10 03:47 (UTC)

Thank you fosskers. I'll try reinstalling haskell*

fosskers commented on 2013-03-09 06:17 (UTC)

Hey Axl. I'm not having any build problems over here... maybe try reinstalling haskell-x11 and haskell-x11-xtf?

commented on 2013-03-08 07:38 (UTC)

I can't build it even with the default PKGBULD. Are there more requirements needed for X11? ==> xmobar-git dependencies: - wireless_tools (already installed) - gmp (already installed) - libxml2 (already installed) - libxrandr (already installed) - libxinerama (already installed) - libxft (already installed) - ghc (already installed) - haskell-x11 (already installed) - haskell-x11-xft (already installed) - haskell-mtl (already installed) - haskell-parsec (already installed) - haskell-stm (already installed) - haskell-utf8-string (already installed) - libxrandr (already installed) - wireless_tools (already installed) - git (already installed) --------------------------------------- cut -------------------------------------------------------------------------- ==> Starting make... Cloning into '/tmp/yaourt-tmp-atm/aur-xmobar-git/src/xmobar-build'... done. Configuring xmobar-0.16... Setup: At least the following dependencies are missing: X11 >=1.6.1 ==> ERROR: A failure occurred in build(). Aborting...

fosskers commented on 2013-02-11 10:20 (UTC)

net-tools and wireless_tools aren't the same thing, as far as I can tell. Both seem to be quite well depended on, as well.

bo0ts commented on 2013-02-04 22:27 (UTC)

Yes, quite a few packages still depend on it but it is officially deprecated since 2011.

fosskers commented on 2013-02-04 21:48 (UTC)

Thanks for bringing this up. wireless_tools seems deprecated? If you check, plenty of mainstream packages rely on it. Also, --with_iwlib is considered one of the default building flags for xmobar (as in, who wouldn't want it), but you can always edit the PKGBUILD and remove it if you want.

bo0ts commented on 2013-02-04 17:51 (UTC)

Is the dependency on the deprecated wireless_tools really necessary? Building with wireless support has to be explicitly enabled with --with_iwlib so it shouldn't be.

fosskers commented on 2013-01-12 04:47 (UTC)

Updated! The problem with this was that the old PKGBUILD was trying to build with the all_extensions flag. `haskell-alsa-mixer` has finicky deps, which made the whole process not very pleasant. Now you can choose (more freely) what extensions you want to build with by editing the PKGBUILD before building. If building with aura: sudo aura -A xmobar-git --hotedit ...will do the trick. Everything else is explained in the PKGBUILD itself. Enjoy!

fosskers commented on 2013-01-11 04:53 (UTC)

I have taken over maintenance of this package.

cgirard commented on 2012-12-06 10:21 (UTC)

Orphaning it as I'm switching to dzen2.

bo0ts commented on 2012-11-04 15:25 (UTC)

haskell-time is currently not available from AUR, which makes the whole PKG tricky to use. Would it be possible to provide it as well or is this package only intended to build with [haskell] enabled?

cgirard commented on 2012-10-12 13:51 (UTC)

Waiting haskell-vector updated to update this. In the meantime, this may work (untested):

fosskers commented on 2012-09-05 10:39 (UTC)

YES! Builds like a dream. I had to hack my way to the moon last week to get this to build. Thanks a ton! Also... want a Haskell-based package manager?

cgirard commented on 2012-09-05 09:32 (UTC)

Updated (at last). Let me know if some things are still not working. I've also relaxed some dependencies to allow people using [haskell] repo (like myself) to build this as well.

fosskers commented on 2012-09-02 11:33 (UTC)

Please use this PKGBUILD: Note that haskell-dbus is now a build dependency if you're building with the `all_extensions` flag.

fosskers commented on 2012-08-28 09:49 (UTC)

This isn't building with the most recent versions of ghc and haskell-libmpd.

tlatsas commented on 2012-06-16 07:46 (UTC)

Hello, the "iw" dependency should be "wireless_tools". According to the README the dependency is the iwlib ( library which provides tools like iwconfig, iwlist etc. These tools are provided by the wireless_tools package in Arch.

cgirard commented on 2012-03-14 19:53 (UTC)

Thanks for the hints.

pdxleif commented on 2012-03-14 19:51 (UTC)

For an example along those lines, I "parameterized" this xmonad-extras-darcs package, so you could choose which options you want to build against. That only adds extra deps, though, and cabal configure autodetects what's present. Fancier still, this one you specify via setting an environment variable or uncomment a line, to choose which DB driver you want to build against.

cgirard commented on 2012-03-14 19:46 (UTC)

Hum, yes maybe. I'll think about this for the next update.

d.woffinden commented on 2012-03-14 19:39 (UTC)

Hi, do you think it would be possible to have a more flexible PKGBUILD? The makedepends for this package are rather expansive and I'm sure most people don't use all the features. Would it be feasible to have a series of variables corresponding to the features required (they could all be enabled by default), and have the script configure the --flags and makedepends accordingly?

cgirard commented on 2012-03-05 17:28 (UTC)

Will be updated as soon as haskell-dbus-core is. Since haskell-text has been updated it should come quickly. The updated but untested PKGBUILD is available in my git repo:

cgirard commented on 2012-01-05 10:43 (UTC)

Sorry I was away. I just ping the ML for an updated version.

commented on 2011-12-31 16:40 (UTC)

Yeah, I had the same problem. Many of the haskell packages are outdated. After I had build a good version of haskell-text, haskell-dbus-core was still outdated and to install dependencies for that, you have to have the old haskell-text...since I did not want to change every single pkgbuild of all those damn dependencies, I just stuck with normal xmobar...

pdxleif commented on 2011-12-28 06:54 (UTC)

Cofiguration fails with: Setup: At least the following dependencies are missing: dbus-core >=, text >= && <0.12 haskell-text has been flagged out of date in extra last month. The one in the Haskell Platform that just came out is recent enough. Maybe I could try checking out a slightly older version from the git repo, else build my own updated version of haskell-text?

cgirard commented on 2011-10-21 16:22 (UTC)

Why? No. It's the way this has to be handled. But it seems you should fill a bug against clyde.

commented on 2011-10-21 15:35 (UTC)

I see cgirard. Should these be removed from the dependency list then?

cgirard commented on 2011-10-21 15:32 (UTC)

They are provided by GHC.

commented on 2011-10-21 15:23 (UTC)

haskell-filepath and haskell-time cannot be resolved according to clyde.

commented on 2011-09-22 19:59 (UTC)

Fyi libxrandr is now a dependency

cgirard commented on 2011-08-28 10:20 (UTC)

Thanks. Package updated. Please be aware that haskell-libmpd, haskell-alsa-core, haskell-timezone-olson and haskell-timezone-series are outdated. Blame arch-haskell team...

pdxleif commented on 2011-08-27 19:42 (UTC)

Also, haskell-timezone-olson is now a dependency.

pdxleif commented on 2011-08-27 19:32 (UTC)

The haskell-libmpd-git dependency can be switched back to just haskell-libmpd - it's been upgraded.

cgirard commented on 2011-03-30 08:13 (UTC)

OK. For now, xmobar-git depends on haskell-libmpd-git. It should be working fine now.

cgirard commented on 2011-03-29 12:46 (UTC)

I've uploaded haskell-libmpd-git [1] but xmobar is not compatible with this new version. I'm currently trying to understand if this is a libmpd or a xmobar bug. [1]

cgirard commented on 2011-03-28 09:32 (UTC)

I've asked haskell-libmpd maintainers to updated their package with a new .cabal file. If it's not done quickly, I'll upload an haskell-libmpd-git package. Meanwhile, either follow the suggestions on the haskell-libmpd package page or try with this PKGBUILD which drops mpd support:

CheariX commented on 2011-03-26 15:15 (UTC)

Any suggestions for building this package? It's still broken.

cgirard commented on 2011-03-15 16:13 (UTC)

Despite the update, following ghc 7.0.2 update, you'll have difficulties to recompile this. haskell-libmpd has a libmpd.cabal which is not compatible with ghc 7.0.2. I've opened a bug report there