pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/wm/xmonad Update to xmonad-0.14



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fbfce06ee21d
branches:  trunk
changeset: 346701:fbfce06ee21d
user:      pho <pho%pkgsrc.org@localhost>
date:      Thu Jan 02 17:11:37 2020 +0000

description:
Update to xmonad-0.14

0.14 (July 30, 2018)
Bug Fixes
* The state file that xmonad uses while restarting itself is now
  removed after it is processed. This fixes a bug that manifested in
  several different ways:
  * Names of old workspaces would be resurrected after a restart
  * Screen sizes would be wrong after changing monitor configuration
    (#90)
  * spawnOnce stopped working (xmonad/xmonad-contrib#155)
  * Focus did not follow when moving between workspaces (#87)
  * etc.
* Recover old behavior (in 0.12) when focusFollowsMouse == True: the
  focus follows when the mouse enters another workspace but not moving
  into any window.
* Compiles with GHC 8.4.1
* Restored compatability with GHC version prior to 8.0.1 by removing
  the dependency on directory version 1.2.3.

0.13 (February 10, 2017)
Breaking Changes
* When restarting xmonad, resume state is no longer passed to the next
  process via the command line. Instead, a temporary state file is
  created and xmonad's state is serialized to that file.
* When upgrading to 0.13 from a previous version, the --resume command
  line option will automatically migrate to a state file.
* This fixes issue #12.

Enhancements
* You can now control which directory xmonad uses for finding your
  configuration file and which one is used for storing the compiled
  version of your configuration. In order of preference:
  * New environment variables. If you want to use these ensure you set
    the correct environment variable and also create the directory it
    references:
    * XMONAD_CONFIG_DIR
    * XMONAD_CACHE_DIR
    * XMONAD_DATA_DIR
  * The ~/.xmonad directory.
  * XDG Base Directory Specification directories, if they exist:
    * XDG_CONFIG_HOME/xmonad
    * XDG_CACHE_HOME/xmonad
    * XDG_DATA_HOME/xmonad
* If none of these directories exist then one will be created using
  the following logic: If the relevant environment variable mentioned
  in step (1) above is set, the referent directory will be created and
  used. Otherwise ~/.xmonad will be created and used.
* This fixes a few issues, notably #7 and #56.
* A custom build script can be used when xmonad is given the
  --recompile command line option. If an executable named build exists
  in the xmonad configuration directory it will be called instead of
  ghc. It takes one argument, the name of the executable binary it
  must produce.
* This fixes #8. (One of two possible custom build solutions. See the
  next entry for another solution.)
* For users who build their xmonad configuration using tools such as
  cabal or stack, there is another option for executing xmonad.
* Instead of running the xmonad executable directly, arrange to have
  your login manager run your configuration binary instead. Then, in
  your binary, use the new launch command instead of xmonad.
* This will keep xmonad from using its configuration file
  checking/compiling code and directly start the window manager
  without execing any other binary.
* See the documentation for the launch function in XMonad.Main for
  more details.
* Fixes #8. (Second way to have a custom build environment for
  XMonad. See previous entry for another solution.)

diffstat:

 wm/xmonad/Makefile      |  10 +++++-
 wm/xmonad/PLIST         |  77 -------------------------------------------------
 wm/xmonad/buildlink3.mk |   7 ++-
 wm/xmonad/distinfo      |  10 +++---
 4 files changed, 17 insertions(+), 87 deletions(-)

diffs (154 lines):

diff -r 9c2080a19e82 -r fbfce06ee21d wm/xmonad/Makefile
--- a/wm/xmonad/Makefile        Thu Jan 02 17:00:14 2020 +0000
+++ b/wm/xmonad/Makefile        Thu Jan 02 17:11:37 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2019/11/04 21:50:16 rillig Exp $
+# $NetBSD: Makefile,v 1.11 2020/01/02 17:11:37 pho Exp $
 
-DISTNAME=      xmonad-0.12
+DISTNAME=      xmonad-0.14
 PKGNAME=       ${DISTNAME}
 CATEGORIES=    wm
 
@@ -19,6 +19,11 @@
 SUBST_FILES.2=         xmonad.cabal
 SUBST_FILTER_CMD.2=    ${TR} '+' \\n
 
+# Work around a Cabal bug. It ignores "ld-options" in
+# {package}.buildinfo while linking shared libraries:
+# https://github.com/haskell/cabal/issues/4925
+HASKELL_ENABLE_SHARED_LIBRARY= no
+
 INSTALLATION_DIRS+=    ${PKGMANDIR}/man1
 
 post-install:
@@ -27,6 +32,7 @@
 .include "../../devel/hs-data-default/buildlink3.mk"
 .include "../../devel/hs-extensible-exceptions/buildlink3.mk"
 .include "../../devel/hs-mtl/buildlink3.mk"
+.include "../../math/hs-semigroups/buildlink3.mk"
 .include "../../devel/hs-setlocale/buildlink3.mk"
 .include "../../devel/hs-utf8-string/buildlink3.mk"
 .include "../../mk/haskell.mk"
diff -r 9c2080a19e82 -r fbfce06ee21d wm/xmonad/PLIST
--- a/wm/xmonad/PLIST   Thu Jan 02 17:00:14 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,77 +0,0 @@
-@comment $NetBSD: PLIST,v 1.2 2016/01/04 12:45:36 szptvlfn Exp $
-lib/${PKGNAME}/${HASKELL_VERSION}/HS${PKGNAME}.o
-lib/${PKGNAME}/${HASKELL_VERSION}/Paths_xmonad.hi
-lib/${PKGNAME}/${HASKELL_VERSION}/XMonad.hi
-lib/${PKGNAME}/${HASKELL_VERSION}/XMonad/Config.hi
-lib/${PKGNAME}/${HASKELL_VERSION}/XMonad/Core.hi
-lib/${PKGNAME}/${HASKELL_VERSION}/XMonad/Layout.hi
-lib/${PKGNAME}/${HASKELL_VERSION}/XMonad/Main.hi
-lib/${PKGNAME}/${HASKELL_VERSION}/XMonad/ManageHook.hi
-lib/${PKGNAME}/${HASKELL_VERSION}/XMonad/Operations.hi
-lib/${PKGNAME}/${HASKELL_VERSION}/XMonad/StackSet.hi
-lib/${PKGNAME}/${HASKELL_VERSION}/libHS${PKGNAME}.a
-lib/${PKGNAME}/${HASKELL_VERSION}/package-description
-man/man1/xmonad.1
-share/doc/${PKGNAME}/LICENSE
-${PLIST.doc}share/doc/${PKGNAME}/html/XMonad-Config.html
-${PLIST.doc}share/doc/${PKGNAME}/html/XMonad-Core.html
-${PLIST.doc}share/doc/${PKGNAME}/html/XMonad-Layout.html
-${PLIST.doc}share/doc/${PKGNAME}/html/XMonad-Main.html
-${PLIST.doc}share/doc/${PKGNAME}/html/XMonad-ManageHook.html
-${PLIST.doc}share/doc/${PKGNAME}/html/XMonad-Operations.html
-${PLIST.doc}share/doc/${PKGNAME}/html/XMonad-StackSet.html
-${PLIST.doc}share/doc/${PKGNAME}/html/XMonad.html
-${PLIST.doc}share/doc/${PKGNAME}/html/doc-index-124.html
-${PLIST.doc}share/doc/${PKGNAME}/html/doc-index-45.html
-${PLIST.doc}share/doc/${PKGNAME}/html/doc-index-46.html
-${PLIST.doc}share/doc/${PKGNAME}/html/doc-index-60.html
-${PLIST.doc}share/doc/${PKGNAME}/html/doc-index-61.html
-${PLIST.doc}share/doc/${PKGNAME}/html/doc-index-95.html
-${PLIST.doc}share/doc/${PKGNAME}/html/doc-index-A.html
-${PLIST.doc}share/doc/${PKGNAME}/html/doc-index-All.html
-${PLIST.doc}share/doc/${PKGNAME}/html/doc-index-B.html
-${PLIST.doc}share/doc/${PKGNAME}/html/doc-index-C.html
-${PLIST.doc}share/doc/${PKGNAME}/html/doc-index-D.html
-${PLIST.doc}share/doc/${PKGNAME}/html/doc-index-E.html
-${PLIST.doc}share/doc/${PKGNAME}/html/doc-index-F.html
-${PLIST.doc}share/doc/${PKGNAME}/html/doc-index-G.html
-${PLIST.doc}share/doc/${PKGNAME}/html/doc-index-H.html
-${PLIST.doc}share/doc/${PKGNAME}/html/doc-index-I.html
-${PLIST.doc}share/doc/${PKGNAME}/html/doc-index-J.html
-${PLIST.doc}share/doc/${PKGNAME}/html/doc-index-K.html
-${PLIST.doc}share/doc/${PKGNAME}/html/doc-index-L.html
-${PLIST.doc}share/doc/${PKGNAME}/html/doc-index-M.html
-${PLIST.doc}share/doc/${PKGNAME}/html/doc-index-N.html
-${PLIST.doc}share/doc/${PKGNAME}/html/doc-index-O.html
-${PLIST.doc}share/doc/${PKGNAME}/html/doc-index-P.html
-${PLIST.doc}share/doc/${PKGNAME}/html/doc-index-Q.html
-${PLIST.doc}share/doc/${PKGNAME}/html/doc-index-R.html
-${PLIST.doc}share/doc/${PKGNAME}/html/doc-index-S.html
-${PLIST.doc}share/doc/${PKGNAME}/html/doc-index-T.html
-${PLIST.doc}share/doc/${PKGNAME}/html/doc-index-U.html
-${PLIST.doc}share/doc/${PKGNAME}/html/doc-index-V.html
-${PLIST.doc}share/doc/${PKGNAME}/html/doc-index-W.html
-${PLIST.doc}share/doc/${PKGNAME}/html/doc-index-X.html
-${PLIST.doc}share/doc/${PKGNAME}/html/doc-index-Z.html
-${PLIST.doc}share/doc/${PKGNAME}/html/doc-index.html
-${PLIST.doc}share/doc/${PKGNAME}/html/frames.html
-${PLIST.doc}share/doc/${PKGNAME}/html/haddock-util.js
-${PLIST.doc}share/doc/${PKGNAME}/html/hslogo-16.png
-${PLIST.doc}share/doc/${PKGNAME}/html/index-frames.html
-${PLIST.doc}share/doc/${PKGNAME}/html/index.html
-${PLIST.doc}share/doc/${PKGNAME}/html/mini_XMonad-Config.html
-${PLIST.doc}share/doc/${PKGNAME}/html/mini_XMonad-Core.html
-${PLIST.doc}share/doc/${PKGNAME}/html/mini_XMonad-Layout.html
-${PLIST.doc}share/doc/${PKGNAME}/html/mini_XMonad-Main.html
-${PLIST.doc}share/doc/${PKGNAME}/html/mini_XMonad-ManageHook.html
-${PLIST.doc}share/doc/${PKGNAME}/html/mini_XMonad-Operations.html
-${PLIST.doc}share/doc/${PKGNAME}/html/mini_XMonad-StackSet.html
-${PLIST.doc}share/doc/${PKGNAME}/html/mini_XMonad.html
-${PLIST.doc}share/doc/${PKGNAME}/html/minus.gif
-${PLIST.doc}share/doc/${PKGNAME}/html/ocean.css
-${PLIST.doc}share/doc/${PKGNAME}/html/plus.gif
-${PLIST.doc}share/doc/${PKGNAME}/html/synopsis.png
-${PLIST.doc}share/doc/${PKGNAME}/html/xmonad.haddock
-share/${PKGNAME}/man/xmonad.1
-share/${PKGNAME}/man/xmonad.1.html
-share/${PKGNAME}/man/xmonad.hs
diff -r 9c2080a19e82 -r fbfce06ee21d wm/xmonad/buildlink3.mk
--- a/wm/xmonad/buildlink3.mk   Thu Jan 02 17:00:14 2020 +0000
+++ b/wm/xmonad/buildlink3.mk   Thu Jan 02 17:11:37 2020 +0000
@@ -1,18 +1,19 @@
-# $NetBSD: buildlink3.mk,v 1.5 2016/01/04 12:45:36 szptvlfn Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2020/01/02 17:11:37 pho Exp $
 
 BUILDLINK_TREE+=       xmonad
 
 .if !defined(XMONAD_BUILDLINK3_MK)
 XMONAD_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.xmonad+= xmonad>=0.12
-BUILDLINK_ABI_DEPENDS.xmonad+= xmonad>=0.12
+BUILDLINK_API_DEPENDS.xmonad+= xmonad>=0.14
+BUILDLINK_ABI_DEPENDS.xmonad+= xmonad>=0.14
 BUILDLINK_PKGSRCDIR.xmonad?=   ../../wm/xmonad
 
 .include "../../x11/libX11/buildlink3.mk"
 .include "../../devel/hs-data-default/buildlink3.mk"
 .include "../../devel/hs-extensible-exceptions/buildlink3.mk"
 .include "../../devel/hs-mtl/buildlink3.mk"
+.include "../../math/hs-semigroups/buildlink3.mk"
 .include "../../devel/hs-setlocale/buildlink3.mk"
 .include "../../devel/hs-utf8-string/buildlink3.mk"
 .include "../../x11/hs-X11/buildlink3.mk"
diff -r 9c2080a19e82 -r fbfce06ee21d wm/xmonad/distinfo
--- a/wm/xmonad/distinfo        Thu Jan 02 17:00:14 2020 +0000
+++ b/wm/xmonad/distinfo        Thu Jan 02 17:11:37 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2016/01/04 12:45:36 szptvlfn Exp $
+$NetBSD: distinfo,v 1.4 2020/01/02 17:11:37 pho Exp $
 
-SHA1 (xmonad-0.12.tar.gz) = e7719e9b3db9994190f4da831dadce51a265a374
-RMD160 (xmonad-0.12.tar.gz) = 957e891dc3976e5dbeb0007a4835e5d07c75a89d
-SHA512 (xmonad-0.12.tar.gz) = e519c038d90db037bc81e7baf7b07cfa53922509e98ffddacfc4a6cc2c7376383be1e721f613057a5febbfcc661807b6382124eb673ac7a7cda23c738d3539ab
-Size (xmonad-0.12.tar.gz) = 61436 bytes
+SHA1 (xmonad-0.14.tar.gz) = ca54790a9bd74ad7ef952df95db5445f113a7f39
+RMD160 (xmonad-0.14.tar.gz) = 15df267061e46754a690f7aa72419910080696c5
+SHA512 (xmonad-0.14.tar.gz) = 6b9c83ba5a524a2b2c2d0087a95fdabd477995bcf7751dff116df4eb1bfaee5df87a7070963c05bc2509463cf386c8c5946620731eac70c30ea450911952c57d
+Size (xmonad-0.14.tar.gz) = 65744 bytes



Home | Main Index | Thread Index | Old Index