1 |
commit: 49e88fe8e930b6ff2b8bc70d99518a4c275ff8fc |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 24 08:27:28 2019 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 24 08:34:08 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49e88fe8 |
7 |
|
8 |
x11-wm/xmonad: bump up to 0.15, bug #680504 |
9 |
|
10 |
Reported-by: yuLya |
11 |
Bug: https://bugs.gentoo.org/680504 |
12 |
Package-Manager: Portage-2.3.72, Repoman-2.3.17 |
13 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
14 |
|
15 |
x11-wm/xmonad/Manifest | 1 + |
16 |
x11-wm/xmonad/xmonad-0.15.ebuild | 85 ++++++++++++++++++++++++++++++++++++++++ |
17 |
2 files changed, 86 insertions(+) |
18 |
|
19 |
diff --git a/x11-wm/xmonad/Manifest b/x11-wm/xmonad/Manifest |
20 |
index 06dd3bafa23..906195a5a50 100644 |
21 |
--- a/x11-wm/xmonad/Manifest |
22 |
+++ b/x11-wm/xmonad/Manifest |
23 |
@@ -2,3 +2,4 @@ DIST xmonad-0.11.1.tar.gz 59307 BLAKE2B 98dc31dd53e933f68dbf00121c6a0b4e4a24a19c |
24 |
DIST xmonad-0.11.tar.gz 59119 BLAKE2B 75ae39e2e54d4b5ed14f99d0144d4ee7741c611f18b5692aedce49b0a4dc07a17f613280d93fd715b812a2c22e27ad9f7fe8693dba38739ccf6dde9742fe03b9 SHA512 34740f032508584f34f6b138d21394eca17e8020bccc4d8c6e8b3cb6b7ca64b153077cfd16636a6130768ebd145fe993569f8a229862d7816d0c89c905ee08bc |
25 |
DIST xmonad-0.12.tar.gz 61436 BLAKE2B ea42fc105e30be59a2cb0180c05ef88024e51a1a224bdd6bb910d45cddabc2709411e2f0c7aa6c5723f54653db242bda80ab92249204106955be75a4a077f1ea SHA512 e519c038d90db037bc81e7baf7b07cfa53922509e98ffddacfc4a6cc2c7376383be1e721f613057a5febbfcc661807b6382124eb673ac7a7cda23c738d3539ab |
26 |
DIST xmonad-0.13.tar.gz 72034 BLAKE2B c95b24ae406268da642168defcc633cf8185f0f2dbcede1122c48c3812bf250df69d917c479f328cca450dec362ae0614d2acaf09d62123d15d646dcae8d98ec SHA512 9d9436f36fe0f6a9732502b0211fc41a224b1320b843d266b6d2dd201e4329b688f7eed5b08597b2edd713cc25f2b88a2a1f1ee43e18615c0a78e97e4716b122 |
27 |
+DIST xmonad-0.15.tar.gz 68822 BLAKE2B 9ee9a070f6743fbab2cffe05ee9e60b64fded0b4916fdec03a550f5d5ec5a34102ab2d4e9586b9a0ca534db284a8058f11ee248072f3f3b312ae30c09873feff SHA512 f881f3faa4f5a0de7a5a37118cd7041083ae3a7569c7094b55dedb9aa858176789aff459d426b237ebae5cc4598b06de790938775a7ac968c2d76be3f0efc8ba |
28 |
|
29 |
diff --git a/x11-wm/xmonad/xmonad-0.15.ebuild b/x11-wm/xmonad/xmonad-0.15.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..a65b517e395 |
32 |
--- /dev/null |
33 |
+++ b/x11-wm/xmonad/xmonad-0.15.ebuild |
34 |
@@ -0,0 +1,85 @@ |
35 |
+# Copyright 1999-2019 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=6 |
39 |
+ |
40 |
+# ebuild generated by hackport 0.5.6.9999 |
41 |
+#hackport: flags: -generatemanpage,-testing,-profiling |
42 |
+ |
43 |
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" |
44 |
+inherit haskell-cabal |
45 |
+ |
46 |
+DESCRIPTION="A tiling window manager" |
47 |
+HOMEPAGE="http://xmonad.org" |
48 |
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" |
49 |
+ |
50 |
+LICENSE="BSD" |
51 |
+SLOT="0/${PV}" |
52 |
+KEYWORDS="~amd64 ~x86" |
53 |
+IUSE="no-autorepeat-keys" |
54 |
+ |
55 |
+RDEPEND="dev-haskell/data-default:=[profile?] |
56 |
+ dev-haskell/extensible-exceptions:=[profile?] |
57 |
+ dev-haskell/mtl:=[profile?] |
58 |
+ dev-haskell/setlocale:=[profile?] |
59 |
+ >=dev-haskell/utf8-string-0.3:=[profile?] <dev-haskell/utf8-string-1.1:=[profile?] |
60 |
+ >=dev-haskell/x11-1.8:=[profile?] <dev-haskell/x11-1.10:=[profile?] |
61 |
+ >=dev-lang/ghc-8.0.1:= |
62 |
+" |
63 |
+DEPEND="${RDEPEND} |
64 |
+ >=dev-haskell/cabal-1.24.0.0 |
65 |
+ test? ( >=dev-haskell/quickcheck-2 ) |
66 |
+" |
67 |
+ |
68 |
+DOCS=( CONFIG README.md CHANGES.md ) |
69 |
+HTML_DOCS=( man/${PN}.1.html ) |
70 |
+ |
71 |
+SAMPLE_CONFIG="${PN}.hs" |
72 |
+ |
73 |
+src_prepare() { |
74 |
+ default |
75 |
+ use no-autorepeat-keys && eapply "${FILESDIR}"/${PN}-0.14-check-repeat.patch |
76 |
+} |
77 |
+ |
78 |
+src_configure() { |
79 |
+ haskell-cabal_src_configure \ |
80 |
+ --flag=-generatemanpage \ |
81 |
+ --flag=-profiling \ |
82 |
+ --flag=-testing |
83 |
+} |
84 |
+ |
85 |
+src_install() { |
86 |
+ default |
87 |
+ |
88 |
+ cabal_src_install |
89 |
+ |
90 |
+ echo -e "#!/bin/sh\n/usr/bin/${PN}" > "${T}/${PN}" |
91 |
+ exeinto /etc/X11/Sessions |
92 |
+ doexe "${T}/${PN}" |
93 |
+ |
94 |
+ insinto /usr/share/xsessions |
95 |
+ doins "${FILESDIR}/${PN}.desktop" |
96 |
+ |
97 |
+ insinto /usr/share/${PF}/ghc-$(ghc-version)/man |
98 |
+ doins man/${SAMPLE_CONFIG} |
99 |
+ |
100 |
+ doman man/${PN}.1 |
101 |
+} |
102 |
+ |
103 |
+pkg_postinst() { |
104 |
+ haskell-cabal_pkg_postinst |
105 |
+ |
106 |
+ elog "A sample ${SAMPLE_CONFIG} configuration file can be found here:" |
107 |
+ elog " /usr/share/${PF}/ghc-$(ghc-version)/man/${SAMPLE_CONFIG}" |
108 |
+ elog "The parameters in this file are the defaults used by ${PN}." |
109 |
+ elog "To customize ${PN}, copy this file to:" |
110 |
+ elog " ~/.${PN}/${SAMPLE_CONFIG}" |
111 |
+ elog "After editing, use 'mod-q' to dynamically restart ${PN} " |
112 |
+ elog "(where the 'mod' key defaults to 'Alt')." |
113 |
+ elog "" |
114 |
+ elog "Read the README or man page for more information, and to see " |
115 |
+ elog "other possible configurations go to:" |
116 |
+ elog " http://haskell.org/haskellwiki/Xmonad/Config_archive" |
117 |
+ elog "Please note that many of these configurations will require the " |
118 |
+ elog "x11-wm/xmonad-contrib package to be installed." |
119 |
+} |