From 99b7b9bbefdfabe9b50cd0f09416f267d9b06e7e1f79f8f3adec09b279d78ceb Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Tue, 14 Apr 2020 10:32:20 +0000 Subject: [PATCH] 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 --- examples-remove-executable-bits.patch | 13 -------- herbstluftwm-0.7.2.tar.gz | 3 -- herbstluftwm-0.7.2.tar.gz.sig | Bin 119 -> 0 bytes herbstluftwm-0.8.0.tar.gz | 3 ++ herbstluftwm-0.8.0.tar.gz.sig | Bin 0 -> 119 bytes herbstluftwm.changes | 46 ++++++++++++++++++++++++++ herbstluftwm.spec | 42 +++++++++++------------ 7 files changed, 68 insertions(+), 39 deletions(-) delete mode 100644 examples-remove-executable-bits.patch delete mode 100644 herbstluftwm-0.7.2.tar.gz delete mode 100644 herbstluftwm-0.7.2.tar.gz.sig create mode 100644 herbstluftwm-0.8.0.tar.gz create mode 100644 herbstluftwm-0.8.0.tar.gz.sig diff --git a/examples-remove-executable-bits.patch b/examples-remove-executable-bits.patch deleted file mode 100644 index 68a5b73..0000000 --- a/examples-remove-executable-bits.patch +++ /dev/null @@ -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)/' - - - diff --git a/herbstluftwm-0.7.2.tar.gz b/herbstluftwm-0.7.2.tar.gz deleted file mode 100644 index b095d0b..0000000 --- a/herbstluftwm-0.7.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dff613fc6d7883ea2011318ef8a7b15b92f7864eaf63229df9ce0e99a44281cd -size 245506 diff --git a/herbstluftwm-0.7.2.tar.gz.sig b/herbstluftwm-0.7.2.tar.gz.sig deleted file mode 100644 index deb19db2516416cb3e2087c1d18d8f15aa06ce948ce34337e1e17ab8e92532fe..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 119 zcmeAuWnmEHV2~A4WGS9m)4F5lx~X=P6mIC$wX9#Habp)NQ_S0GAq-rc0x*%=^BEaB z`m_bu-=5m?_w#l)JE0Yl8XHT4XI;I0y>_uz(OLbnGDe1m*0Ke<3C#T4r!+>yK52ezPTROwx|r*YNPeY=*z0At@_3Gk-2`>&RZV>+_4Z Vlcu$ws9$hdAv)@|^!Bc4k^ogOHW>f_ literal 0 HcmV?d00001 diff --git a/herbstluftwm.changes b/herbstluftwm.changes index 728be2e..c33d839 100644 --- a/herbstluftwm.changes +++ b/herbstluftwm.changes @@ -1,3 +1,49 @@ +------------------------------------------------------------------- +Sun Apr 12 20:45:28 UTC 2020 - Michael Vetter + +- 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 diff --git a/herbstluftwm.spec b/herbstluftwm.spec index 8ae6744..c6f119b 100644 --- a/herbstluftwm.spec +++ b/herbstluftwm.spec @@ -1,7 +1,7 @@ # # 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 # 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) # 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 -Version: 0.7.2 +Version: 0.8.0 Release: 0 Summary: A manual tiling window manager License: BSD-2-Clause Group: System/GUI/Other -Url: https://herbstluftwm.org +URL: https://herbstluftwm.org Source0: https://herbstluftwm.org/tarballs/%{name}-%{version}.tar.gz Source1: https://herbstluftwm.org/tarballs/%{name}-%{version}.tar.gz.sig Source2: %{name}.desktop -# PATCH-FIX-SUSE Remove executable bits from the documentation -Patch0: examples-remove-executable-bits.patch BuildRequires: asciidoc +BuildRequires: cmake >= 3.1 BuildRequires: gcc-c++ >= 4.9 BuildRequires: glib2-devel +BuildRequires: libXrandr-devel BuildRequires: libxslt-devel BuildRequires: ncurses-utils BuildRequires: pkgconfig @@ -46,7 +46,7 @@ Summary: Bash completion for %{name} Group: System/Shells Requires: %{name} = %{version} Requires: bash-completion -Supplements: packageand(%{name}:bash) +Supplements: (%{name} and bash) BuildArch: noarch %description bash-completion @@ -56,7 +56,7 @@ Bash completion for herbstclient Summary: Fish completion for %{name} Group: System/Shells Requires: %{name} = %{version} -Supplements: packageand(%{name}:fish) +Supplements: (%{name} and fish) BuildArch: noarch %description fish-completion @@ -66,7 +66,7 @@ Fish completion for herbstclient Summary: Zsh completion for %{name} Group: System/Shells Requires: %{name} = %{version} -Supplements: packageand(%{name}:zsh) +Supplements: (%{name} and zsh) BuildArch: noarch %description zsh-completion @@ -85,19 +85,17 @@ an idea of what is possible. %prep %setup -q -%patch0 -p1 # fix errors about improper shebangs due to /usr/bin/env find . -type f -exec sed -i "s/#!\/usr\/bin\/env bash/#!\/usr\/bin\/bash/" {} + %build export CPPFLAGS="%{optflags}" export CFLAGS="%{optflags}" -make VERBOSE= COLOR=0 %{?_smp_mflags} +%cmake +%make_build %install -%make_install \ - INSTALL="install -p" \ - PREFIX="%{_prefix}" +%cmake_install 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} %files -%doc BUGS LICENSE NEWS +%license LICENSE +%doc BUGS NEWS %dir %{_datadir}/doc/%{name}/ %{_datadir}/doc/%{name}/herbstclient.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}/panel.sh %{_sysconfdir}/xdg/%{name}/restartpanels.sh +%{_sysconfdir}/xdg/%{name}/dmenu_run_hlwm %{_bindir}/herbstclient %{_bindir}/%{name} -%{_bindir}/dmenu_run_hlwm -%{_mandir}/man1/herbstclient.1%{ext_man} -%{_mandir}/man1/%{name}.1%{ext_man} -%{_mandir}/man7/%{name}-tutorial.7%{ext_man} +%{_mandir}/man1/herbstclient.1%{?ext_man} +%{_mandir}/man1/%{name}.1%{?ext_man} +%{_mandir}/man7/%{name}-tutorial.7%{?ext_man} %{_datadir}/xsessions/%{name}.desktop %files examples @@ -146,10 +145,7 @@ rm -f %{buildroot}%{_datadir}/doc/%{name}/{INSTALL,NEWS,LICENSE,BUGS} %{_datadir}/doc/%{name}/examples/wselect.sh %files zsh-completion -%dir %{_datadir}/zsh/functions -%dir %{_datadir}/zsh/functions/Completion -%dir %{_datadir}/zsh/functions/Completion/X -%{_datadir}/zsh/functions/Completion/X/_herbstclient +%{_datadir}/zsh/site-functions/_herbstclient %files bash-completion %config %{_sysconfdir}/bash_completion.d/herbstclient-completion