From fb8d4ff8ccb923cce0902ee3e34f1013d30b3bd1 Mon Sep 17 00:00:00 2001 From: Mark Wright Date: Mon, 22 Jun 2026 15:17:14 +1000 Subject: [PATCH] x11-xmonad: Bump to 0.18.1 Signed-off-by: Mark Wright --- x11-wm/xmonad/Manifest | 1 + x11-wm/xmonad/xmonad-0.18.1.ebuild | 81 ++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) create mode 100644 x11-wm/xmonad/xmonad-0.18.1.ebuild diff --git a/x11-wm/xmonad/Manifest b/x11-wm/xmonad/Manifest index 25e3586ebaeb8..eb1ffb94e1408 100644 --- a/x11-wm/xmonad/Manifest +++ b/x11-wm/xmonad/Manifest @@ -1,3 +1,4 @@ DIST xmonad-0.17.0.tar.gz 93489 BLAKE2B 6990bc408194c99378f949b28f2115b7096e6474b5305f935be2c8af1eba4bff3e3c05477af9f833d1b52422e4fb95f857398b05f7f1081e3a2cc5dd8c50fc3a SHA512 1ec46ee61f4bf1879ea638e9be83378273050670ed2ee0f00e7d43b188cc29a874aa5b40076162a1ef0038802cc43f675773951f9b7d1f26329f9d105c28b3f7 DIST xmonad-0.17.2.tar.gz 94730 BLAKE2B 4e65472830694048d051394222ceb889b1997d1dec37b8d1773fecee9385292448acda3c5a9b7e99a7de1582e8a403d976ef357dc474531e6166905d1129c3a2 SHA512 8d02422f473499516acf3cfe920b15df1d24a1fbf47f8cded5eb465186427e82cd43d65a63936993016797680335e59380931e9bad82b2181ecdef6b63d9bfd9 DIST xmonad-0.18.0.tar.gz 97078 BLAKE2B 1035a5a259e322b3c9cffd174049071b524788f30816548db225d373ddd7d9b74b3b7547edbe43a81f41e436d3067c2def21d800274c4a1a95efe5913cef02fe SHA512 a43bacc20f125da79bf47d7ce9bd1c476b85e92360873496b47321634e4281cabc99503b28d27d115379750e831d2d35bb72aee964f8d4132e8663f53115ed2c +DIST xmonad-0.18.1.tar.gz 99352 BLAKE2B 7b60aee01f99f2f9d46b5078d59a37061b3f71c68cd5198a857682476a6c08414fcbc97a3649885ef6f2e9bb53ba18eaa0237fa70832d52ee203a3dcc71f8762 SHA512 9cb3181b83ffcf8cf3284489c062d6ac6f3dfa34b301e643c09d82b3754769a7b74e168d41e27134f0ff29336661cb5de9967ba206edcb4fbfe57ffcd1d4e86f diff --git a/x11-wm/xmonad/xmonad-0.18.1.ebuild b/x11-wm/xmonad/xmonad-0.18.1.ebuild new file mode 100644 index 0000000000000..aba3eef71f26d --- /dev/null +++ b/x11-wm/xmonad/xmonad-0.18.1.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.9.1.0.9999 +#hackport: flags: -pedantic,quickcheck-classes:test + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal ghc-package + +DESCRIPTION="A tiling window manager" +HOMEPAGE="https://xmonad.org" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="no-autorepeat-keys" + +RDEPEND="dev-haskell/data-default-class:=[profile?] + dev-haskell/setlocale:=[profile?] + >=dev-haskell/x11-1.10:=[profile?] =dev-lang/ghc-9.0.2:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.4.1.0 + test? ( >=dev-haskell/quickcheck-2 + >=dev-haskell/quickcheck-classes-0.4.3 ) +" + +DOCS=( README.md CHANGES.md ) +HTML_DOCS=( man/${PN}.1.html ) + +SAMPLE_CONFIG="${PN}.hs" + +src_prepare() { + default + use no-autorepeat-keys && eapply "${FILESDIR}"/${PN}-0.14-check-repeat.patch +} + +src_configure() { + haskell-cabal_src_configure \ + --flag=-pedantic \ + $(cabal_flag test quickcheck-classes) +} + +src_install() { + default + + cabal_src_install + + echo -e "#!/bin/sh\n/usr/bin/${PN}" > "${T}/${PN}" + exeinto /etc/X11/Sessions + doexe "${T}/${PN}" + + insinto /usr/share/xsessions + doins "${FILESDIR}/${PN}.desktop" + + insinto /usr/share/${PF}/ghc-$(ghc-version)/man + doins man/${SAMPLE_CONFIG} + + doman man/${PN}.1 +} + +pkg_postinst() { + haskell-cabal_pkg_postinst + + elog "A sample ${SAMPLE_CONFIG} configuration file can be found here:" + elog " /usr/share/${PF}/ghc-$(ghc-version)/man/${SAMPLE_CONFIG}" + elog "The parameters in this file are the defaults used by ${PN}." + elog "To customize ${PN}, copy this file to:" + elog " ~/.${PN}/${SAMPLE_CONFIG}" + elog "After editing, use 'mod-q' to dynamically restart ${PN} " + 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." +}