SHA256
1
0
forked from pool/herbstluftwm

Accepting request 793442 from home:jubalh:branches:X11:windowmanagers

- Update to 0.8.0:
  * 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 '='

OBS-URL: https://build.opensuse.org/request/show/793442
OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/herbstluftwm?expand=0&rev=15
This commit is contained in:
Michael Vetter 2020-04-14 10:32:20 +00:00 committed by Git OBS Bridge
parent afde640bcc
commit 99b7b9bbef
7 changed files with 68 additions and 39 deletions

View File

@ -1,13 +0,0 @@
diff --git a/Makefile b/Makefile
index 7849896..ad9096d 100644
--- a/Makefile
+++ b/Makefile
@@ -138,7 +138,7 @@ install-nodoc: all-nodoc
$(INSTALL) -m 644 share/herbstluftwm.desktop '$(DESTDIR)$(XSESSIONSDIR)/'
$(INSTALL) -m 755 share/dmenu_run_hlwm '$(DESTDIR)$(BINDIR)/'
$(INSTALL) -m 644 scripts/README '$(DESTDIR)$(EXAMPLESDIR)/'
- $(INSTALL) -m 755 scripts/*.sh '$(DESTDIR)$(EXAMPLESDIR)/'
+ $(INSTALL) -m 644 scripts/*.sh '$(DESTDIR)$(EXAMPLESDIR)/'

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dff613fc6d7883ea2011318ef8a7b15b92f7864eaf63229df9ce0e99a44281cd
size 245506

Binary file not shown.

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5823f1c1a6a6ae6d4f843992658fcdb91a246e7f337570ac9b2091f57265c812
size 358434

Binary file not shown.

View File

@ -1,3 +1,49 @@
-------------------------------------------------------------------
Sun Apr 12 20:45:28 UTC 2020 - Michael Vetter <mvetter@suse.com>
- Update to 0.8.0:
* 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*
- Remove examples-remove-executable-bits.patch
- Run spec-cleaner
------------------------------------------------------------------- -------------------------------------------------------------------
Wed May 29 07:19:37 UTC 2019 - mvetter@suse.com Wed May 29 07:19:37 UTC 2019 - mvetter@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package herbstluftwm # spec file for package herbstluftwm
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,25 +12,25 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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: herbstluftwm Name: herbstluftwm
Version: 0.7.2 Version: 0.8.0
Release: 0 Release: 0
Summary: A manual tiling window manager Summary: A manual tiling window manager
License: BSD-2-Clause License: BSD-2-Clause
Group: System/GUI/Other Group: System/GUI/Other
Url: https://herbstluftwm.org URL: https://herbstluftwm.org
Source0: https://herbstluftwm.org/tarballs/%{name}-%{version}.tar.gz Source0: https://herbstluftwm.org/tarballs/%{name}-%{version}.tar.gz
Source1: https://herbstluftwm.org/tarballs/%{name}-%{version}.tar.gz.sig Source1: https://herbstluftwm.org/tarballs/%{name}-%{version}.tar.gz.sig
Source2: %{name}.desktop Source2: %{name}.desktop
# PATCH-FIX-SUSE Remove executable bits from the documentation
Patch0: examples-remove-executable-bits.patch
BuildRequires: asciidoc BuildRequires: asciidoc
BuildRequires: cmake >= 3.1
BuildRequires: gcc-c++ >= 4.9 BuildRequires: gcc-c++ >= 4.9
BuildRequires: glib2-devel BuildRequires: glib2-devel
BuildRequires: libXrandr-devel
BuildRequires: libxslt-devel BuildRequires: libxslt-devel
BuildRequires: ncurses-utils BuildRequires: ncurses-utils
BuildRequires: pkgconfig BuildRequires: pkgconfig
@ -46,7 +46,7 @@ Summary: Bash completion for %{name}
Group: System/Shells Group: System/Shells
Requires: %{name} = %{version} Requires: %{name} = %{version}
Requires: bash-completion Requires: bash-completion
Supplements: packageand(%{name}:bash) Supplements: (%{name} and bash)
BuildArch: noarch BuildArch: noarch
%description bash-completion %description bash-completion
@ -56,7 +56,7 @@ Bash completion for herbstclient
Summary: Fish completion for %{name} Summary: Fish completion for %{name}
Group: System/Shells Group: System/Shells
Requires: %{name} = %{version} Requires: %{name} = %{version}
Supplements: packageand(%{name}:fish) Supplements: (%{name} and fish)
BuildArch: noarch BuildArch: noarch
%description fish-completion %description fish-completion
@ -66,7 +66,7 @@ Fish completion for herbstclient
Summary: Zsh completion for %{name} Summary: Zsh completion for %{name}
Group: System/Shells Group: System/Shells
Requires: %{name} = %{version} Requires: %{name} = %{version}
Supplements: packageand(%{name}:zsh) Supplements: (%{name} and zsh)
BuildArch: noarch BuildArch: noarch
%description zsh-completion %description zsh-completion
@ -85,19 +85,17 @@ an idea of what is possible.
%prep %prep
%setup -q %setup -q
%patch0 -p1
# fix errors about improper shebangs due to /usr/bin/env # fix errors about improper shebangs due to /usr/bin/env
find . -type f -exec sed -i "s/#!\/usr\/bin\/env bash/#!\/usr\/bin\/bash/" {} + find . -type f -exec sed -i "s/#!\/usr\/bin\/env bash/#!\/usr\/bin\/bash/" {} +
%build %build
export CPPFLAGS="%{optflags}" export CPPFLAGS="%{optflags}"
export CFLAGS="%{optflags}" export CFLAGS="%{optflags}"
make VERBOSE= COLOR=0 %{?_smp_mflags} %cmake
%make_build
%install %install
%make_install \ %cmake_install
INSTALL="install -p" \
PREFIX="%{_prefix}"
install -D -m0644 %{SOURCE2} %{buildroot}%{_datadir}/xsessions/%{name}.desktop install -D -m0644 %{SOURCE2} %{buildroot}%{_datadir}/xsessions/%{name}.desktop
@ -106,7 +104,8 @@ install -D -m0644 %{SOURCE2} %{buildroot}%{_datadir}/xsessions/%{name}.desktop
rm -f %{buildroot}%{_datadir}/doc/%{name}/{INSTALL,NEWS,LICENSE,BUGS} rm -f %{buildroot}%{_datadir}/doc/%{name}/{INSTALL,NEWS,LICENSE,BUGS}
%files %files
%doc BUGS LICENSE NEWS %license LICENSE
%doc BUGS NEWS
%dir %{_datadir}/doc/%{name}/ %dir %{_datadir}/doc/%{name}/
%{_datadir}/doc/%{name}/herbstclient.html %{_datadir}/doc/%{name}/herbstclient.html
%{_datadir}/doc/%{name}/%{name}-tutorial.html %{_datadir}/doc/%{name}/%{name}-tutorial.html
@ -115,12 +114,12 @@ rm -f %{buildroot}%{_datadir}/doc/%{name}/{INSTALL,NEWS,LICENSE,BUGS}
%{_sysconfdir}/xdg/%{name}/autostart %{_sysconfdir}/xdg/%{name}/autostart
%{_sysconfdir}/xdg/%{name}/panel.sh %{_sysconfdir}/xdg/%{name}/panel.sh
%{_sysconfdir}/xdg/%{name}/restartpanels.sh %{_sysconfdir}/xdg/%{name}/restartpanels.sh
%{_sysconfdir}/xdg/%{name}/dmenu_run_hlwm
%{_bindir}/herbstclient %{_bindir}/herbstclient
%{_bindir}/%{name} %{_bindir}/%{name}
%{_bindir}/dmenu_run_hlwm %{_mandir}/man1/herbstclient.1%{?ext_man}
%{_mandir}/man1/herbstclient.1%{ext_man} %{_mandir}/man1/%{name}.1%{?ext_man}
%{_mandir}/man1/%{name}.1%{ext_man} %{_mandir}/man7/%{name}-tutorial.7%{?ext_man}
%{_mandir}/man7/%{name}-tutorial.7%{ext_man}
%{_datadir}/xsessions/%{name}.desktop %{_datadir}/xsessions/%{name}.desktop
%files examples %files examples
@ -146,10 +145,7 @@ rm -f %{buildroot}%{_datadir}/doc/%{name}/{INSTALL,NEWS,LICENSE,BUGS}
%{_datadir}/doc/%{name}/examples/wselect.sh %{_datadir}/doc/%{name}/examples/wselect.sh
%files zsh-completion %files zsh-completion
%dir %{_datadir}/zsh/functions %{_datadir}/zsh/site-functions/_herbstclient
%dir %{_datadir}/zsh/functions/Completion
%dir %{_datadir}/zsh/functions/Completion/X
%{_datadir}/zsh/functions/Completion/X/_herbstclient
%files bash-completion %files bash-completion
%config %{_sysconfdir}/bash_completion.d/herbstclient-completion %config %{_sysconfdir}/bash_completion.d/herbstclient-completion