Hello community, here is the log from the commit of package sway for openSUSE:Factory checked in at 2019-03-26 15:40:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sway (Old) and /work/SRC/openSUSE:Factory/.sway.new.25356 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sway" Tue Mar 26 15:40:53 2019 rev:15 rq:684230 version:1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/sway/sway.changes 2018-05-17 18:06:00.734577577 +0200 +++ /work/SRC/openSUSE:Factory/.sway.new.25356/sway.changes 2019-03-26 15:42:32.956239577 +0100 @@ -1,0 +2,62 @@ +Tue Mar 12 08:19:39 UTC 2019 - mvet...@suse.com + +- Update to 1.0: + * We have completely overhauled the codebase. Some behaviors were changed + to match i3 behavior, in breaking ways. There are likely many bugs we + don't know about. Your millage may vary. + * swaygrab has been removed. For screenshots, try grim, and for video + capture try wlstream[2] + * This release depends on wlroots 0.5 and drops the dependency on wlc. + * This release depends on scdoc for generating man pages, and drops + the dependency on asciidoc. + * Experimental Nvidia support has been deprecated since its inception, + and has now been removed entirely. Please use nouveau and consider future + purchases from GPU vendors that support open source. Other proprietary + drivers are also unsupported. + * swaylock is now distributed separately + * swayidle, a new idle management daemon, is available separately + * 100% i3 compatible* + * 100% i3 IPC compatible* + * 100% i3-gaps compatible + * 100% i3bar compatible + * swayidle, a daemon for managing DPMS and idle activity (e.g. automatic + lock after a timeout), has been added - man swayidle to get started + * swaynag, an i3-nagbar replacement, has been added, with additional + features not supported by i3-nagbar - man swaynag to get started + * bindsym --locked now adds keybindings which work when the screen is + locked + * Command blocks are now generic and work with any command + * Window opacity can now be adjusted with the opacity command + * border csd now enables client-side decorations explicitly + * Atomic layout updates ensure that, when resizing windows and adjusting + your layout, you never see an invalid frame with partially drawn clients + * Urgency hints from Xwayland are now supported + * Output damage tracking significantly improves CPU performance and power + usage + * Hardware cursors are now supported, improving performance + * The Wayland, x11, and headless backends are now supported for end-user + use, enabling nested and headless sway sessions + * On-screen keyboards like virtboard[6] are now supported + * Moving tiled windows with the mouse now behaves like the proposed i3 + feature + * Pointer constraints allow video games and other applications to grab + your pointer + * Xwayland is now started only when the first X11 client is started +- Add sway-1.0-scdocpath.patch: workaround for bsc#1128844 +- Add sway-1.0-include.patch: fix includes path +- Add sway-1.0-flow.patch: fix https://github.com/swaywm/sway/issues/3862 + +------------------------------------------------------------------- +Mon Feb 18 10:31:48 UTC 2019 - mvet...@suse.com + +- Update to 1.0 RC 2 +- Remove sway-1.0-version.patch: upstreamed + +------------------------------------------------------------------- +Mon Feb 04 10:29:17 UTC 2019 - mvet...@suse.com + +- Update to 1.0 RC 1 +- Add sway-1.0-version.patch: We dont have git. + See https://github.com/swaywm/sway/pull/3578 + +------------------------------------------------------------------- Old: ---- sway-0.15.2.tar.gz sway-0.15.2.tar.gz.sig New: ---- sway-1.0-flow.patch sway-1.0-include.patch sway-1.0-scdocpath.patch sway-1.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sway.spec ++++++ --- /var/tmp/diff_new_pack.VyXSdo/_old 2019-03-26 15:42:33.804239092 +0100 +++ /var/tmp/diff_new_pack.VyXSdo/_new 2019-03-26 15:42:33.808239090 +0100 @@ -1,7 +1,7 @@ # # spec file for package sway # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,44 +16,44 @@ # -%define basever 0.15.2 -#%%define prerelease rc1 - -%if 0%{?prerelease:1} -%define ver %{basever}~%{prerelease} -%define tarver %{basever}-%{prerelease} -%else -%define ver %{basever} -%define tarver %{basever} -%endif - Name: sway -Version: %{ver} +Version: 1.0 Release: 0 Summary: Window manager for Wayland compatible with i3 License: MIT Group: System/GUI/Other -Url: https://github.com/swaywm/sway -Source0: https://github.com/swaywm/sway/archive/%{tarver}.tar.gz#/%{name}-%{tarver}.tar.gz -# only releases are signed -%if ! 0%{?prerelease:1} -Source1: https://github.com/swaywm/sway/releases/download/%{basever}/%{name}-%{basever}.tar.gz.sig -%endif +URL: https://github.com/swaywm/sway +Source0: https://github.com/swaywm/sway/archive/1.0.tar.gz#/%{name}-%{version}.tar.gz Source2: sway.keyring -BuildRequires: asciidoc -BuildRequires: cmake >= 3.1.0 +Patch0: sway-1.0-include.patch +# FIX-OPENSUSE - mvet...@suse.de - workaround for bsc#684221 +Patch1: sway-1.0-scdocpath.patch +# FIX-UPSTREAM - mvet...@suse.de - https://github.com/swaywm/sway/issues/3862 +Patch2: sway-1.0-flow.patch BuildRequires: gcc-c++ -BuildRequires: libxslt-tools +#BuildRequires: libxslt-tools +BuildRequires: libevdev-devel +BuildRequires: libpixman-1-0-devel +BuildRequires: meson >= 0.48.0 BuildRequires: pam-devel BuildRequires: pkgconfig +BuildRequires: scdoc >= 1.9.2 +BuildRequires: wlroots-devel >= 0.5 BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(dbus-1) >= 1.10 +# pixbuf is optional. for swaybg. BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(json-c) >= 0.12.1 BuildRequires: pkgconfig(libcap) +BuildRequires: pkgconfig(libinput) >= 1.6.0 BuildRequires: pkgconfig(libpcre) BuildRequires: pkgconfig(pango) BuildRequires: pkgconfig(pangocairo) +BuildRequires: pkgconfig(wayland-client) +BuildRequires: pkgconfig(wayland-cursor) +BuildRequires: pkgconfig(wayland-egl) +BuildRequires: pkgconfig(wayland-protocols) +BuildRequires: pkgconfig(wayland-server) BuildRequires: pkgconfig(wlc) BuildRequires: pkgconfig(xkbcommon) Requires: ImageMagick @@ -68,31 +68,34 @@ manager for Wayland. %prep -%setup -q -n %{name}-%{tarver} +%setup -q -n %{name}-1.0 +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 %build export CFLAGS="%{optflags}" -%cmake \ - -DVERSION=%{tarver} \ - -DCMAKE_INSTALL_SYSCONFDIR:PATH=%{_sysconfdir} \ - -Dzsh-completions=ON -make %{?_smp_mflags} +%meson + +%meson_build %install -%cmake_install +%meson_install %files -%doc LICENSE README.md CONTRIBUTING.md +%license LICENSE +%doc README.md CONTRIBUTING.md %{_bindir}/%{name}* %dir %{_sysconfdir}/sway %dir %{_sysconfdir}/sway/security.d %config(noreplace) %{_sysconfdir}/sway/config %config(noreplace) %{_sysconfdir}/sway/security.d/00-defaults -%config(noreplace) %{_sysconfdir}/pam.d/swaylock %{_mandir}/man?/%{name}* %{_datadir}/wayland-sessions/ %dir %{_datadir}/backgrounds %{_datadir}/backgrounds/sway +%{_datadir}/bash-completion +%{_datadir}/fish %{_datadir}/zsh %changelog ++++++ sway-1.0-flow.patch ++++++ See https://github.com/swaywm/sway/commit/bcde298a719f60b9913133dbd2a169dedbc8dd7d diff -urEbwB sway-1.0/swaybar/tray/icon.c sway-1.0.new/swaybar/tray/icon.c --- sway-1.0/swaybar/tray/icon.c 2019-03-11 15:57:16.000000000 +0100 +++ sway-1.0.new/swaybar/tray/icon.c 2019-03-12 09:50:04.472668576 +0100 @@ -307,16 +307,16 @@ return; } - const char *sep = ", "; + const char sep[] = ", "; size_t sep_len = strlen(sep); - size_t len = 1 - sep_len; + size_t len = 0; for (int i = 0; i < themes->length; ++i) { struct icon_theme *theme = themes->items[i]; len += strlen(theme->name) + sep_len; } - char *str = malloc(len); + char *str = malloc(len + 1); if (!str) { return; } ++++++ sway-1.0-include.patch ++++++ diff -urEbwB sway-1.0-rc2/include/cairo.h sway-1.0-rc2.new/include/cairo.h --- sway-1.0-rc2/include/cairo.h 2019-02-11 16:22:53.000000000 +0100 +++ sway-1.0-rc2.new/include/cairo.h 2019-02-18 11:35:41.913345733 +0100 @@ -4,7 +4,7 @@ #include "config.h" #include <stdint.h> #include <cairo/cairo.h> -#include <wayland-client-protocol.h> +#include <wayland/wayland-client-protocol.h> #if HAVE_GDK_PIXBUF #include <gdk-pixbuf/gdk-pixbuf.h> #endif ++++++ sway-1.0-scdocpath.patch ++++++ See bsc#684221 diff -urEbwB sway-1.0/meson.build sway-1.0.new/meson.build --- sway-1.0/meson.build 2019-03-11 15:57:16.000000000 +0100 +++ sway-1.0.new/meson.build 2019-03-12 09:40:33.266289113 +0100 @@ -97,7 +97,7 @@ scdoc = dependency('scdoc', version: '>=1.9.2', native: true, required: get_option('man-pages')) if scdoc.found() - scdoc_prog = find_program(scdoc.get_pkgconfig_variable('scdoc'), native: true) + scdoc_prog = find_program('/usr/bin/scdoc', native: true) sh = find_program('sh', native: true) mandir = get_option('mandir') man_files = [ ++++++ sway-0.15.2.tar.gz -> sway-1.0.tar.gz ++++++ ++++ 73044 lines of diff (skipped)