diff options
author | Mark Wright <gienah@gentoo.org> | 2015-04-03 04:46:15 +0000 |
---|---|---|
committer | Mark Wright <gienah@gentoo.org> | 2015-04-03 04:46:15 +0000 |
commit | 9f16db309af8aff11c56aa2b677657856c9b85f6 (patch) | |
tree | 8c9859a7b9fffd22b52bb0da1c4e92e5343dca01 /x11-wm | |
parent | Bump xmonad-contrib to 0.11.4 (diff) | |
download | gentoo-2-9f16db309af8aff11c56aa2b677657856c9b85f6.tar.gz gentoo-2-9f16db309af8aff11c56aa2b677657856c9b85f6.tar.bz2 gentoo-2-9f16db309af8aff11c56aa2b677657856c9b85f6.zip |
Bump xmonad to 0.11.1
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 618E971F)
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/xmonad/ChangeLog | 7 | ||||
-rw-r--r-- | x11-wm/xmonad/xmonad-0.11.1.ebuild | 80 |
2 files changed, 86 insertions, 1 deletions
diff --git a/x11-wm/xmonad/ChangeLog b/x11-wm/xmonad/ChangeLog index 4fe08d29e190..b4efe3e58f15 100644 --- a/x11-wm/xmonad/ChangeLog +++ b/x11-wm/xmonad/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-wm/xmonad # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/xmonad/ChangeLog,v 1.38 2015/03/20 09:02:35 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-wm/xmonad/ChangeLog,v 1.39 2015/04/03 04:46:15 gienah Exp $ + +*xmonad-0.11.1 (03 Apr 2015) + + 03 Apr 2015; Mark Wright <gienah@gentoo.org> +xmonad-0.11.1.ebuild: + Bump xmonad to 0.11.1 20 Mar 2015; Justin Lecher <jlec@gentoo.org> files/xmonad.desktop: Fix desktop file diff --git a/x11-wm/xmonad/xmonad-0.11.1.ebuild b/x11-wm/xmonad/xmonad-0.11.1.ebuild new file mode 100644 index 000000000000..8af4617036c8 --- /dev/null +++ b/x11-wm/xmonad/xmonad-0.11.1.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/xmonad/xmonad-0.11.1.ebuild,v 1.1 2015/04/03 04:46:15 gienah Exp $ + +EAPI=5 + +# ebuild generated by hackport 0.4.4.9999 + +CABAL_FEATURES="bin lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="A tiling window manager" +HOMEPAGE="http://xmonad.org" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~ppc64 ~sparc ~x86" +IUSE="+default-term no-autorepeat-keys" + +RDEPEND="dev-haskell/extensible-exceptions:=[profile?] + dev-haskell/mtl:=[profile?] + >=dev-haskell/utf8-string-0.3:=[profile?] + >=dev-haskell/x11-1.5:=[profile?] <dev-haskell/x11-1.7:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.6 +" +PDEPEND="default-term? ( x11-terms/xterm ) + x11-apps/xmessage +" + +SAMPLE_CONFIG="xmonad.hs" +SAMPLE_CONFIG_LOC="man" + +src_prepare() { + epatch "$FILESDIR"/${PN}-0.11-sample.patch + use no-autorepeat-keys && epatch "$FILESDIR"/${PN}-check-repeat.patch + + cabal_chdeps \ + "utf8-string >= 0.3 && < 0.4" "utf8-string >= 0.3 && < 1.1" + + # allow user patches + epatch_user +} + +src_install() { + cabal_src_install + + echo -e "#!/bin/sh\n/usr/bin/xmonad" > "${T}/${PN}" + exeinto /etc/X11/Sessions + doexe "${T}/${PN}" + + insinto /usr/share/xsessions + doins "${FILESDIR}/${PN}.desktop" + + doman man/xmonad.1 + dohtml man/xmonad.1.html + + dodoc CONFIG README +} + +pkg_postinst() { + ghc-package_pkg_postinst + + elog "A sample ${SAMPLE_CONFIG} configuration file can be found here:" + elog " /usr/share/${PF}/ghc-$(ghc-version)/${SAMPLE_CONFIG_LOC}/${SAMPLE_CONFIG}" + elog "The parameters in this file are the defaults used by xmonad." + elog "To customize xmonad, copy this file to:" + elog " ~/.xmonad/${SAMPLE_CONFIG}" + elog "After editing, use 'mod-q' to dynamically restart xmonad " + elog "(where the 'mod' key defaults to 'Alt')." + elog "" + elog "Read the README or man page for more information, and to see " + elog "other possible configurations go to:" + elog " http://haskell.org/haskellwiki/Xmonad/Config_archive" + elog "Please note that many of these configurations will require the " + elog "x11-wm/xmonad-contrib package to be installed." +} |