Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/wm/herbstluftwm herbstluftwm: Update to 0.8.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/baaebe1dde4a
branches:  trunk
changeset: 431911:baaebe1dde4a
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun May 17 14:56:42 2020 +0000

description:
herbstluftwm: Update to 0.8.2

Release 0.8.2 on 2020-05-04
---------------------------

  * Selection of empty frames by the mouse (by click or by hover if
    focus_follows_mouse is enabled)
  * The commands 'close_and_remove' / 'close_or_remove' act like 'close' for
    floating clients
  * The decoration window allows focusing, moving, and resizing the client
    via the mouse (as known from standard floating window managers)
  * Improved herbstclient tab completion for the fish shell
  * Bug fixes:
    - Fix a crash in the error handler when a invalid monitor name is
      passed. (Affects list_padding move_monitor rename_monitor lock_tag
      unlock_tag)
    - Fix the type of WM_STATE
    - The client attributes sizehints_tiling and sizehints_floating are now
      writable
    - Fix EWMH urgency change for clients without WM hints set
    - Fix the exit code of the 'focus' command

Release 0.8.1 on 2020-04-21
---------------------------

  * the frame index 'e' refers to the first empty frame (e.g. 'rule index=e' places
    new windows in empty frames, if possible)
  * new setting 'hide_covered_windows' to improve the appearance when used with
    a compositor.
  * resize floating windows with the same command ('resize') as in tiling mode
    and thus the same keybindings as in tiling mode. Therefore, the
    'fractiondelta' parameter to the 'resize' command is now optional.
  * keybind now checks that the bound command exists.
  * cycle_all (Alt-Tab) now also traverses floating clients
  * new setting 'auto_detect_panels' controlling the panel detection algorithm.
  * improved herbstclient tab completion for the fish shell
  * Bug fixes:
    - Handle the regular expression "" correctly, since the grammar of extended
      regular expressions does not allow "".
    - Error handling for the lack of xrandr
    - Fixes to make it compile on other systems and architecture

Release 0.8.0 on 2020-04-09
---------------------------

  * single window floating (every client has an attribute 'floating' which can
    be set at run time and via the rule consequence 'floating=on')
  * monitor detection via xrandr
  * detection of external panels
  * new command: apply_rules
  * new command: export (convenience wrapper around setenv)
  * new client attribute: keys_inactive (negation of keymask)
  * new command: drag (initiates moving/resizing a window by mouse)
  * if tags have been configured through EWMH before herbstluftwm starts (from
    a previous running window manager), then herbstluftwm re-uses these tags
    (start with --no-tag-import to disable this)
  * The build system is now cmake. See the INSTALL file if you need to
    compile herbstluftwm yourself.
  * the 'remove' command now tries to preserve the focus and the client
    arrangement. Intuitively speaking, 'remove' is undoing a frame split.
  * Many boolean style settings were formerly of type int. Now, these are
    boolean settings.
  * The 'toggle' command only works for boolean settings. For the former
    behavior for int-typed settings, use 'cycle_value'.
  * Writing '%%' in the 'sprintf' format string now gives a literate '%', just
    as printf. Formerly it stayed '%%'.
  * The 'keybind' command now accepts all valid key symbols, even if they are
    not present on the current keyboard layout at the time of setup.
  * the rules are also applied to those clients that change their WM_CLASS
    after being shown already.
  * 'detect_monitors' has an additional '--list-all' parameter
  * do not change the focus (for focus_follows_mouse=1) when an unmanaged
    dialog (e.g. a rofi menu or a notification) closes.
  * list_rules now prints regex-based rule conditions with '~' instead of '='
  * new attributes on every monitor for pad_up pad_down pad_left pad_right
  * new flag --exit-on-xerror (to be used in automated testing only)
  * Formerly, double dots in object paths were allowed (similar to double
    slashes in file paths in unix). Right now, they are only allowed at the end
    (which is necessary for the tab-completion of attr):
    - +monitors+ is valid
    - +monitors.+ is valid
    - +monitors..+ is valid
    - +monitors.by-name.+ is valid
    - +monitors..by-name.+ is *invalid*

diffstat:

 wm/herbstluftwm/Makefile                         |   6 ++--
 wm/herbstluftwm/PLIST                            |  12 +++++--
 wm/herbstluftwm/distinfo                         |  14 ++++-----
 wm/herbstluftwm/patches/patch-CMakeLists.txt     |  31 ++++++---------------
 wm/herbstluftwm/patches/patch-src_decoration.cpp |  34 ------------------------
 wm/herbstluftwm/patches/patch-src_utils.cpp      |  21 --------------
 6 files changed, 26 insertions(+), 92 deletions(-)

diffs (186 lines):

diff -r 05b77c4f20fb -r baaebe1dde4a wm/herbstluftwm/Makefile
--- a/wm/herbstluftwm/Makefile  Sun May 17 14:50:49 2020 +0000
+++ b/wm/herbstluftwm/Makefile  Sun May 17 14:56:42 2020 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2020/03/08 16:51:32 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2020/05/17 14:56:42 nia Exp $
 
-DISTNAME=      herbstluftwm-0.7.2
-PKGREVISION=   1
+DISTNAME=      herbstluftwm-0.8.2
 CATEGORIES=    wm
 MASTER_SITES=  https://herbstluftwm.org/tarballs/
 
@@ -29,5 +28,6 @@
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../x11/libXext/buildlink3.mk"
 .include "../../x11/libXinerama/buildlink3.mk"
+.include "../../x11/libXrandr/buildlink3.mk"
 .include "../../x11/libX11/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 05b77c4f20fb -r baaebe1dde4a wm/herbstluftwm/PLIST
--- a/wm/herbstluftwm/PLIST     Sun May 17 14:50:49 2020 +0000
+++ b/wm/herbstluftwm/PLIST     Sun May 17 14:56:42 2020 +0000
@@ -1,12 +1,11 @@
-@comment $NetBSD: PLIST,v 1.1 2020/01/01 15:24:02 nia Exp $
-bin/dmenu_run_hlwm
+@comment $NetBSD: PLIST,v 1.2 2020/05/17 14:56:42 nia Exp $
 bin/herbstclient
 bin/herbstluftwm
 man/man1/herbstclient.1
 man/man1/herbstluftwm.1
 man/man7/herbstluftwm-tutorial.7
+share/bash-completion/completions/herbstclient
 share/doc/herbstluftwm/BUGS
-share/doc/herbstluftwm/INSTALL
 share/doc/herbstluftwm/LICENSE
 share/doc/herbstluftwm/NEWS
 share/doc/herbstluftwm/examples/README
@@ -14,18 +13,23 @@
 share/doc/herbstluftwm/examples/dumpbeautify.sh
 share/doc/herbstluftwm/examples/exec_on_tag.sh
 share/doc/herbstluftwm/examples/execwith.sh
+share/doc/herbstluftwm/examples/float-maximize.sh
 share/doc/herbstluftwm/examples/floatmon.sh
 share/doc/herbstluftwm/examples/herbstcommander.sh
 share/doc/herbstluftwm/examples/keychain.sh
 share/doc/herbstluftwm/examples/lasttag.sh
 share/doc/herbstluftwm/examples/layout.sh
 share/doc/herbstluftwm/examples/loadstate.sh
+share/doc/herbstluftwm/examples/maximize.sh
 share/doc/herbstluftwm/examples/q3terminal.sh
 share/doc/herbstluftwm/examples/savestate.sh
 share/doc/herbstluftwm/examples/scratchpad.sh
+share/doc/herbstluftwm/examples/toggledualhead.sh
+share/doc/herbstluftwm/examples/windowmenu.sh
 share/doc/herbstluftwm/examples/wselect.sh
 share/doc/herbstluftwm/herbstclient.html
 share/doc/herbstluftwm/herbstluftwm-tutorial.html
 share/doc/herbstluftwm/herbstluftwm.html
+share/fish/vendor_completions.d/herbstclient.fish
 share/xsessions/herbstluftwm.desktop
-share/zsh/functions/Completion/X/_herbstclient
+share/zsh/site-functions/_herbstclient
diff -r 05b77c4f20fb -r baaebe1dde4a wm/herbstluftwm/distinfo
--- a/wm/herbstluftwm/distinfo  Sun May 17 14:50:49 2020 +0000
+++ b/wm/herbstluftwm/distinfo  Sun May 17 14:56:42 2020 +0000
@@ -1,9 +1,7 @@
-$NetBSD: distinfo,v 1.2 2020/05/14 18:57:58 joerg Exp $
+$NetBSD: distinfo,v 1.3 2020/05/17 14:56:42 nia Exp $
 
-SHA1 (herbstluftwm-0.7.2.tar.gz) = b07b623fc675ae578a282ded84f38dfa6cd9436e
-RMD160 (herbstluftwm-0.7.2.tar.gz) = 1a61cafad3af500d51aa7cd39fb5413055e33178
-SHA512 (herbstluftwm-0.7.2.tar.gz) = abb49bbc3de9a0ef619ce7063c1cea0d0d25ab2195c53dc0d33e061ad24060da4bbe9b99b9b9126028cdf68b462d4fcc8d1534431e4892d571ff897a68d2113c
-Size (herbstluftwm-0.7.2.tar.gz) = 245506 bytes
-SHA1 (patch-CMakeLists.txt) = 0e5090670bba37bf8c264af1e02dd33e5b2146b8
-SHA1 (patch-src_decoration.cpp) = 106e4084a21034e2ea6b27b69b817344f5cc948f
-SHA1 (patch-src_utils.cpp) = 7a0b56169de193a8622fae70985a4766698c9f98
+SHA1 (herbstluftwm-0.8.2.tar.gz) = 36da9b2b8051638601e465063af48bad8f25f78f
+RMD160 (herbstluftwm-0.8.2.tar.gz) = 6e684a625447ef121e88250ec44231d909ce1e0b
+SHA512 (herbstluftwm-0.8.2.tar.gz) = 1a2bf3861ce23e33bb09afed285f7d85450307b46d00a666d02eaf9c454d53904e4d54ca8b0245da5ef095667a0adf9cdfc3aff170089c99df6b7f01e9038d5f
+Size (herbstluftwm-0.8.2.tar.gz) = 377790 bytes
+SHA1 (patch-CMakeLists.txt) = d373394ad059eb455e2e5abc1feea0e21f1b53e6
diff -r 05b77c4f20fb -r baaebe1dde4a wm/herbstluftwm/patches/patch-CMakeLists.txt
--- a/wm/herbstluftwm/patches/patch-CMakeLists.txt      Sun May 17 14:50:49 2020 +0000
+++ b/wm/herbstluftwm/patches/patch-CMakeLists.txt      Sun May 17 14:56:42 2020 +0000
@@ -1,28 +1,15 @@
-$NetBSD: patch-CMakeLists.txt,v 1.1 2020/01/01 15:24:02 nia Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.2 2020/05/17 14:56:42 nia Exp $
 
-Do not clobber CFLAGS and set the correct MANDIR.
+Set the correct MANDIR.
 
---- CMakeLists.txt.orig        2019-05-09 09:04:33.000000000 +0000
+--- CMakeLists.txt.orig        2020-05-04 17:24:08.000000000 +0000
 +++ CMakeLists.txt
-@@ -34,12 +34,6 @@ set(SYSCONFDIR "${DESTDIR}/etc")
- set(CONFIGDIR "${SYSCONFDIR}/xdg/herbstluftwm")
- 
- 
--if(CMAKE_COMPILER_IS_GNUCC)
--    set(CMAKE_C_FLAGS "-pedantic -Wall")
--    set(CMAKE_CXX_FLAGS "-pedantic -Wall -Wno-sign-compare -Wno-narrowing -Wno-deprecated-register")
--endif()
--
--
- # ----------------------------------------------------------------------------
- # Find Libraries
- 
-@@ -187,7 +181,7 @@ target_link_libraries(herbstclient ${LIB
- 
- set(BINDIR ${DESTDIR}${CMAKE_INSTALL_PREFIX}/bin)
- set(DATADIR ${DESTDIR}${CMAKE_INSTALL_PREFIX}/share)
+@@ -26,7 +26,7 @@ set(CMAKE_INSTALL_SYSCONF_PREFIX "/etc" 
+ set(CONFIGDIR "${CMAKE_INSTALL_SYSCONF_PREFIX}/xdg/herbstluftwm")
+ set(BINDIR bin)
+ set(DATADIR share)
 -set(MANDIR ${DATADIR}/man)
 +set(MANDIR ${DESTDIR}${CMAKE_INSTALL_MANDIR})
  set(DOCDIR ${DATADIR}/doc/herbstluftwm)
- set(EXAMPLESDIR ${DOCDIR}/examples)
- set(LICENSEDIR ${DOCDIR})
+ set(LICENSEDIR ${DOCDIR}
+     CACHE PATH "Install path for license file")
diff -r 05b77c4f20fb -r baaebe1dde4a wm/herbstluftwm/patches/patch-src_decoration.cpp
--- a/wm/herbstluftwm/patches/patch-src_decoration.cpp  Sun May 17 14:50:49 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-$NetBSD: patch-src_decoration.cpp,v 1.1 2020/05/14 18:57:58 joerg Exp $
-
---- src/decoration.cpp.orig    2020-05-10 21:59:55.356580498 +0000
-+++ src/decoration.cpp
-@@ -526,10 +526,10 @@ void decoration_redraw_pixmap(struct HSC
-     if (iw > 0) {
-         /* fill rectangles because drawing does not work */
-         XRectangle rects[] = {
--            { inner.x - iw, inner.y - iw, inner.width + 2*iw, iw }, /* top */
--            { inner.x - iw, inner.y, iw, inner.height },  /* left */
--            { inner.x + inner.width, inner.y, iw, inner.height }, /* right */
--            { inner.x - iw, inner.y + inner.height, inner.width + 2*iw, iw }, /* bottom */
-+            { (short)(inner.x - iw), (short)(inner.y - iw), (unsigned short)(inner.width + 2*iw), (unsigned short)iw }, /* top */
-+            { (short)(inner.x - iw), (short)(inner.y), (unsigned short)iw, (unsigned short)inner.height },  /* left */
-+            { (short)(inner.x + inner.width), (short)(inner.y), (unsigned short)iw, (unsigned short)inner.height }, /* right */
-+            { (short)(inner.x - iw), (short)(inner.y + inner.height), (unsigned short)(inner.width + 2*iw), (unsigned short)iw }, /* bottom */
-         };
-         XSetForeground(g_display, gc, get_client_color(client, s.inner_color));
-         XFillRectangles(g_display, pix, gc, rects, LENGTH(rects));
-@@ -542,10 +542,10 @@ void decoration_redraw_pixmap(struct HSC
-     if (ow > 0) {
-         ow = MIN(ow, (outer.height+1) / 2);
-         XRectangle rects[] = {
--            { 0, 0, outer.width, ow }, /* top */
--            { 0, ow, ow, outer.height - 2*ow }, /* left */
--            { outer.width-ow, ow, ow, outer.height - 2*ow }, /* right */
--            { 0, outer.height - ow, outer.width, ow }, /* bottom */
-+            { 0, 0, (unsigned short)outer.width, (unsigned short)ow }, /* top */
-+            { 0, (short)ow, (unsigned short)ow, (unsigned short)(outer.height - 2*ow) }, /* left */
-+            { (short)(outer.width-ow), (short)ow, (unsigned short)ow, (unsigned short)(outer.height - 2*ow) }, /* right */
-+            { 0, (short)(outer.height - ow), (unsigned short)outer.width, (unsigned short)ow }, /* bottom */
-         };
-         XSetForeground(g_display, gc, get_client_color(client, s.outer_color));
-         XFillRectangles(g_display, pix, gc, rects, LENGTH(rects));
diff -r 05b77c4f20fb -r baaebe1dde4a wm/herbstluftwm/patches/patch-src_utils.cpp
--- a/wm/herbstluftwm/patches/patch-src_utils.cpp       Sun May 17 14:50:49 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-$NetBSD: patch-src_utils.cpp,v 1.1 2020/05/14 18:57:58 joerg Exp $
-
---- src/utils.cpp.orig 2020-05-10 22:10:06.527093091 +0000
-+++ src/utils.cpp
-@@ -382,11 +382,11 @@ void set_window_double_border(Display *d
- 
-     XRectangle rectangles[] =
-     {
--        { width, 0, ibw, height + ibw },
--        { full_width - ibw, 0, ibw, height + ibw },
--        { 0, height, width + ibw, ibw },
--        { 0, full_height - ibw, width + ibw, ibw },
--        { full_width - ibw, full_height - ibw, ibw, ibw }
-+        { (short)width, 0, (unsigned short)ibw, (unsigned short)(height + ibw) },
-+        { (short)(full_width - ibw), 0, (unsigned short)ibw, (unsigned short)(height + ibw) },
-+        { 0, (short)height, (unsigned short)(width + ibw), (unsigned short)ibw },
-+        { 0, (short)(full_height - ibw), (unsigned short)(width + ibw), (unsigned short)ibw },
-+        { (short)(full_width - ibw), (short)(full_height - ibw), (unsigned short)ibw, (unsigned short)ibw }
-     };
- 
-     Pixmap pix = XCreatePixmap(dpy, win, full_width, full_height, depth);



Home | Main Index | Thread Index | Old Index