Accepting request 793813 from X11:windowmanagers

OBS-URL: https://build.opensuse.org/request/show/793813
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/herbstluftwm?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2020-04-14 13:11:43 +00:00 committed by Git OBS Bridge
commit 9f0c8b665a
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

View File

@ -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