Hello community, here is the log from the commit of package bspwm for openSUSE:Factory checked in at 2020-06-12 21:44:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bspwm (Old) and /work/SRC/openSUSE:Factory/.bspwm.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bspwm" Fri Jun 12 21:44:24 2020 rev:9 rq:814130 version:0.9.9 Changes: -------- --- /work/SRC/openSUSE:Factory/bspwm/bspwm.changes 2019-03-24 15:01:14.851169706 +0100 +++ /work/SRC/openSUSE:Factory/.bspwm.new.3606/bspwm.changes 2020-06-12 21:45:47.500544127 +0200 @@ -1,0 +2,11 @@ +Wed Jun 10 11:45:45 UTC 2020 - Florian Besser <[email protected]> + +- Bump to version 0.9.9 + * no upstream changelog + +------------------------------------------------------------------- +Wed Jun 10 11:40:56 UTC 2020 - Florian Besser <[email protected]> + +- Add -fcommon to CPPFLAGS to make it build with gcc10 + +------------------------------------------------------------------- Old: ---- bspwm-0.9.7.tar.gz New: ---- bspwm-0.9.9.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bspwm.spec ++++++ --- /var/tmp/diff_new_pack.0HINrq/_old 2020-06-12 21:45:49.436548671 +0200 +++ /var/tmp/diff_new_pack.0HINrq/_new 2020-06-12 21:45:49.456548719 +0200 @@ -1,7 +1,7 @@ # # spec file for package bspwm # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2017 Luke Jones, [email protected] # # All modifications and additions to the file contributed by third parties @@ -13,17 +13,17 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: bspwm -Version: 0.9.7 +Version: 0.9.9 Release: 0 Summary: A tiling window manager based on binary space partitioning License: BSD-2-Clause Group: System/GUI/Other -Url: https://github.com/baskerville/bspwm +URL: https://github.com/baskerville/bspwm Source0: https://github.com/baskerville/bspwm/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: bspwm.desktop BuildRequires: pkgconfig @@ -85,7 +85,7 @@ sed -i 's,^#! /usr/bin/env ,#!/usr/bin/,' ./examples/receptacles/{extract_canvas,induce_rules} %build -export CPPFLAGS="%{optflags}" +export CPPFLAGS="%{optflags} -fcommon" make %{?_smp_mflags} V=1 %install ++++++ bspwm-0.9.7.tar.gz -> bspwm-0.9.9.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bspwm-0.9.7/Makefile new/bspwm-0.9.9/Makefile --- old/bspwm-0.9.7/Makefile 2019-02-24 09:22:29.000000000 +0100 +++ new/bspwm-0.9.9/Makefile 2019-08-13 17:27:55.000000000 +0200 @@ -2,7 +2,7 @@ VERSION := $(shell $(VERCMD) || cat VERSION) CPPFLAGS += -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\" -CFLAGS += -std=c99 -pedantic -Wall -Wextra +CFLAGS += -std=c99 -pedantic -Wall -Wextra -DJSMN_STRICT LDFLAGS ?= LDLIBS = $(LDFLAGS) -lm -lxcb -lxcb-util -lxcb-keysyms -lxcb-icccm -lxcb-ewmh -lxcb-randr -lxcb-xinerama -lxcb-shape diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bspwm-0.9.7/VERSION new/bspwm-0.9.9/VERSION --- old/bspwm-0.9.7/VERSION 2019-02-24 09:22:29.000000000 +0100 +++ new/bspwm-0.9.9/VERSION 2019-08-13 17:27:55.000000000 +0200 @@ -1 +1 @@ -0.9.7 \ No newline at end of file +0.9.9 \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bspwm-0.9.7/doc/CHANGELOG.md new/bspwm-0.9.9/doc/CHANGELOG.md --- old/bspwm-0.9.7/doc/CHANGELOG.md 2019-02-24 09:22:29.000000000 +0100 +++ new/bspwm-0.9.9/doc/CHANGELOG.md 2019-08-13 17:27:55.000000000 +0200 @@ -1,3 +1,14 @@ +# From 0.9.8 to 0.9.9 + +- Fix a memory allocation bug in the implementation of `wm --restart`. +- Honor `single_monocle` when the `hidden` flag is toggled. + +# From 0.9.7 to 0.9.8 + +- Fix a potential infinite loop. +- Fix two bugs having to do with `single_monocle`. +- Honor `removal_adjustment` for the spiral automatic insertion scheme. + # From 0.9.6 to 0.9.7 This release fixes a bug in the behavior of `single_monocle`. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bspwm-0.9.7/doc/bspwm.1 new/bspwm-0.9.9/doc/bspwm.1 --- old/bspwm-0.9.7/doc/bspwm.1 2019-02-24 09:22:29.000000000 +0100 +++ new/bspwm-0.9.9/doc/bspwm.1 2019-08-13 17:27:55.000000000 +0200 @@ -2,12 +2,12 @@ .\" Title: bspwm .\" Author: [see the "Author" section] .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> -.\" Date: 02/24/2019 +.\" Date: 08/13/2019 .\" Manual: Bspwm Manual -.\" Source: Bspwm 0.9.7 +.\" Source: Bspwm 0.9.9 .\" Language: English .\" -.TH "BSPWM" "1" "02/24/2019" "Bspwm 0\&.9\&.7" "Bspwm Manual" +.TH "BSPWM" "1" "08/13/2019" "Bspwm 0\&.9\&.9" "Bspwm Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -1582,7 +1582,7 @@ State of the focused node of a focused desktop\&. .RE .PP -\fIG(S?P?L?)\fR +\fIG(S?P?L?M?)\fR .RS 4 Active flags of the focused node of a focused desktop\&. .RE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bspwm-0.9.7/doc/bspwm.1.asciidoc new/bspwm-0.9.9/doc/bspwm.1.asciidoc --- old/bspwm-0.9.7/doc/bspwm.1.asciidoc 2019-02-24 09:22:29.000000000 +0100 +++ new/bspwm-0.9.9/doc/bspwm.1.asciidoc 2019-08-13 17:27:55.000000000 +0200 @@ -932,7 +932,7 @@ 'T(T|P|F|=|@)':: State of the focused node of a focused desktop. -'G(S?P?L?)':: +'G(S?P?L?M?)':: Active flags of the focused node of a focused desktop. Environment Variables diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bspwm-0.9.7/src/bspwm.c new/bspwm-0.9.9/src/bspwm.c --- old/bspwm-0.9.7/src/bspwm.c 2019-02-24 09:22:29.000000000 +0100 +++ new/bspwm-0.9.9/src/bspwm.c 2019-08-13 17:27:55.000000000 +0200 @@ -244,7 +244,7 @@ } } - int len = (argc + 1 + (rargc < argc ? 4 : 0)); + int len = rargc + 5; char **rargv = malloc(len * sizeof(char *)); for (int i = 0; i < rargc; i++) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bspwm-0.9.7/src/desktop.c new/bspwm-0.9.9/src/desktop.c --- old/bspwm-0.9.7/src/desktop.c 2019-02-24 09:22:29.000000000 +0100 +++ new/bspwm-0.9.9/src/desktop.c 2019-08-13 17:27:55.000000000 +0200 @@ -165,11 +165,9 @@ if (d == m->desk) { put_status(SBSC_MASK_REPORT); } - - return true; - } else { - return false; } + + return true; } void handle_presel_feedbacks(monitor_t *m, desktop_t *d) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bspwm-0.9.7/src/messages.c new/bspwm-0.9.9/src/messages.c --- old/bspwm-0.9.7/src/messages.c 2019-02-24 09:22:29.000000000 +0100 +++ new/bspwm-0.9.9/src/messages.c 2019-08-13 17:27:55.000000000 +0200 @@ -745,7 +745,7 @@ layout_t lyt; cycle_dir_t cyc; if (parse_cycle_direction(*args, &cyc)) { - ret = set_layout(trg.monitor, trg.desktop, (trg.desktop->layout + 1) % 2, true); + ret = set_layout(trg.monitor, trg.desktop, (trg.desktop->user_layout + 1) % 2, true); } else if (parse_layout(*args, &lyt)) { ret = set_layout(trg.monitor, trg.desktop, lyt, true); } else { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bspwm-0.9.7/src/tree.c new/bspwm-0.9.9/src/tree.c --- old/bspwm-0.9.7/src/tree.c 2019-02-24 09:22:29.000000000 +0100 +++ new/bspwm-0.9.9/src/tree.c 2019-08-13 17:27:55.000000000 +0200 @@ -1254,7 +1254,13 @@ } if (!n->vacant && removal_adjustment) { - if (automatic_scheme == SCHEME_LONGEST_SIDE || g == NULL) { + if (automatic_scheme == SCHEME_SPIRAL) { + if (is_first_child(n)) { + rotate_tree(b, 270); + } else { + rotate_tree(b, 90); + } + } else if (automatic_scheme == SCHEME_LONGEST_SIDE || g == NULL) { if (p != NULL) { if (p->rectangle.width > p->rectangle.height) { b->split_type = TYPE_VERTICAL; @@ -1620,6 +1626,9 @@ } n = (dir == CYCLE_PREV ? prev_leaf(n, d->root) : next_leaf(n, d->root)); HANDLE_BOUNDARIES(m, d, n); + if (ref->node == NULL && d == ref->desktop) { + break; + } } #undef HANDLE_BOUNDARIES return false; @@ -1922,6 +1931,14 @@ activate_node(m, d, d->focus); } } + + if (single_monocle) { + if (value && d->layout != LAYOUT_MONOCLE && tiled_count(d->root, true) <= 1) { + set_layout(m, d, LAYOUT_MONOCLE, false); + } else if (!value && d->layout == LAYOUT_MONOCLE && tiled_count(d->root, true) > 1) { + set_layout(m, d, d->user_layout, false); + } + } } void set_hidden_local(monitor_t *m, desktop_t *d, node_t *n, bool value) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bspwm-0.9.7/src/window.c new/bspwm-0.9.9/src/window.c --- old/bspwm-0.9.7/src/window.c 2019-02-24 09:22:29.000000000 +0100 +++ new/bspwm-0.9.9/src/window.c 2019-08-13 17:27:55.000000000 +0200 @@ -288,7 +288,7 @@ void draw_presel_feedback(monitor_t *m, desktop_t *d, node_t *n) { - if (n == NULL || n->presel == NULL || d->layout == LAYOUT_MONOCLE || !presel_feedback) { + if (n == NULL || n->presel == NULL || d->user_layout == LAYOUT_MONOCLE || !presel_feedback) { return; }
