pkgsrc-Changes archive

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

CVS commit: pkgsrc/wm/xmonad



Module Name:    pkgsrc
Committed By:   pho
Date:           Thu Jan  2 17:11:38 UTC 2020

Modified Files:
        pkgsrc/wm/xmonad: Makefile buildlink3.mk distinfo
Removed Files:
        pkgsrc/wm/xmonad: PLIST

Log Message:
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.)


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/wm/xmonad/Makefile
cvs rdiff -u -r1.2 -r0 pkgsrc/wm/xmonad/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/wm/xmonad/buildlink3.mk
cvs rdiff -u -r1.3 -r1.4 pkgsrc/wm/xmonad/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/wm/xmonad/Makefile
diff -u pkgsrc/wm/xmonad/Makefile:1.10 pkgsrc/wm/xmonad/Makefile:1.11
--- pkgsrc/wm/xmonad/Makefile:1.10      Mon Nov  4 21:50:16 2019
+++ pkgsrc/wm/xmonad/Makefile   Thu Jan  2 17:11:37 2020
@@ -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_STAGE.2=               pre-configure
 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 @@ post-install:
 .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"

Index: pkgsrc/wm/xmonad/buildlink3.mk
diff -u pkgsrc/wm/xmonad/buildlink3.mk:1.5 pkgsrc/wm/xmonad/buildlink3.mk:1.6
--- pkgsrc/wm/xmonad/buildlink3.mk:1.5  Mon Jan  4 12:45:36 2016
+++ pkgsrc/wm/xmonad/buildlink3.mk      Thu Jan  2 17:11:37 2020
@@ -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"

Index: pkgsrc/wm/xmonad/distinfo
diff -u pkgsrc/wm/xmonad/distinfo:1.3 pkgsrc/wm/xmonad/distinfo:1.4
--- pkgsrc/wm/xmonad/distinfo:1.3       Mon Jan  4 12:45:36 2016
+++ pkgsrc/wm/xmonad/distinfo   Thu Jan  2 17:11:37 2020
@@ -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