From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E32621392E8 for ; Sat, 24 Jul 2021 08:54:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1DAD8E0BD7; Sat, 24 Jul 2021 08:54:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E5980E0BD7 for ; Sat, 24 Jul 2021 08:54:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 77426342CC6 for ; Sat, 24 Jul 2021 08:54:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A055378A for ; Sat, 24 Jul 2021 08:54:18 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1627116844.8f0980b9442d88c469d2392cbb7a371b77febff5.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/xmonad/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-wm/xmonad/Manifest x11-wm/xmonad/xmonad-0.15-r1.ebuild X-VCS-Directories: x11-wm/xmonad/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 8f0980b9442d88c469d2392cbb7a371b77febff5 X-VCS-Branch: master Date: Sat, 24 Jul 2021 08:54:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 17d09c8c-c1df-4228-b178-5c784c8d7aaf X-Archives-Hash: 7ddc7cfa9efab12b3c00be2cb69092ec commit: 8f0980b9442d88c469d2392cbb7a371b77febff5 Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Jul 24 08:54:04 2021 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Jul 24 08:54:04 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f0980b9 x11-wm/xmonad: update to EAPI=8 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich gentoo.org> x11-wm/xmonad/Manifest | 1 + x11-wm/xmonad/xmonad-0.15-r1.ebuild | 87 +++++++++++++++++++++++++++++++++++++ 2 files changed, 88 insertions(+) diff --git a/x11-wm/xmonad/Manifest b/x11-wm/xmonad/Manifest index 41cf1312cbb..de7acaf13f0 100644 --- a/x11-wm/xmonad/Manifest +++ b/x11-wm/xmonad/Manifest @@ -1 +1,2 @@ DIST xmonad-0.15.tar.gz 68822 BLAKE2B 9ee9a070f6743fbab2cffe05ee9e60b64fded0b4916fdec03a550f5d5ec5a34102ab2d4e9586b9a0ca534db284a8058f11ee248072f3f3b312ae30c09873feff SHA512 f881f3faa4f5a0de7a5a37118cd7041083ae3a7569c7094b55dedb9aa858176789aff459d426b237ebae5cc4598b06de790938775a7ac968c2d76be3f0efc8ba +DIST xmonad-259.patch 1452 BLAKE2B 869d11ae762c43b9e749169d6b691fdee52e9fc17848fc4ee494e075501528d4c0c040deea617f8fbeab003dd7bc277254498b0089b60f8e6e47b6b96430eb69 SHA512 9edb155a74d170e612cd84aad4fb004176fe5e5fc7017f1985aa2b4628b2cc995b157ba42ab6f7b546d5e3467358292234b3926254e1e831cc7ef38844e14c6d diff --git a/x11-wm/xmonad/xmonad-0.15-r1.ebuild b/x11-wm/xmonad/xmonad-0.15-r1.ebuild new file mode 100644 index 00000000000..0d981be7a18 --- /dev/null +++ b/x11-wm/xmonad/xmonad-0.15-r1.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.5.6.9999 +#hackport: flags: -generatemanpage,-testing,-profiling + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="A tiling window manager" +HOMEPAGE="https://xmonad.org" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz + https://patch-diff.githubusercontent.com/raw/xmonad/xmonad/pull/259.patch -> ${PN}-259.patch" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="no-autorepeat-keys" + +RDEPEND="dev-haskell/data-default:=[profile?] + dev-haskell/extensible-exceptions:=[profile?] + dev-haskell/mtl:=[profile?] + dev-haskell/setlocale:=[profile?] + >=dev-haskell/utf8-string-0.3:=[profile?] =dev-haskell/x11-1.8:=[profile?] =dev-lang/ghc-8.0.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.24.0.0 + test? ( >=dev-haskell/quickcheck-2 ) +" + +DOCS=( CONFIG 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 + eapply "${DISTDIR}/${PN}-259.patch" +} + +src_configure() { + haskell-cabal_src_configure \ + --flag=-generatemanpage \ + --flag=-profiling \ + --flag=-testing +} + +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." +}