Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cage for openSUSE:Factory checked in 
at 2021-06-29 22:42:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cage (Old)
 and      /work/SRC/openSUSE:Factory/.cage.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cage"

Tue Jun 29 22:42:48 2021 rev:7 rq:902828 version:0.1.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/cage/cage.changes        2021-06-25 
15:02:11.244213748 +0200
+++ /work/SRC/openSUSE:Factory/.cage.new.2625/cage.changes      2021-06-29 
22:42:49.906839749 +0200
@@ -1,0 +2,7 @@
+Sun Jun 27 09:51:03 UTC 2021 - Michael Vetter <[email protected]>
+
+- Update to 1.4:
+  * Compatibility release to track wlroots 0.14.0
+- Drop cage-wlroots-0140.patch: upstreamed
+
+-------------------------------------------------------------------

Old:
----
  cage-wlroots-0140.patch
  v0.1.3.tar.gz

New:
----
  v0.1.4.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cage.spec ++++++
--- /var/tmp/diff_new_pack.3HSWBM/_old  2021-06-29 22:42:50.366840356 +0200
+++ /var/tmp/diff_new_pack.3HSWBM/_new  2021-06-29 22:42:50.366840356 +0200
@@ -17,14 +17,13 @@
 
 
 Name:           cage
-Version:        0.1.3
+Version:        0.1.4
 Release:        0
 Summary:        Wayland Kiosk
 License:        MIT
 Group:          System/GUI/Other
 URL:            https://www.hjdskes.nl/projects/cage/
 Source:         https://github.com/Hjdskes/cage/archive/v%{version}.tar.gz
-Patch0:         cage-wlroots-0140.patch
 BuildRequires:  meson >= 0.43.0
 BuildRequires:  pkgconfig
 BuildRequires:  scdoc
@@ -39,7 +38,6 @@
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 %meson

++++++ v0.1.3.tar.gz -> v0.1.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cage-0.1.3/.builds/alpine.yml 
new/cage-0.1.4/.builds/alpine.yml
--- old/cage-0.1.3/.builds/alpine.yml   2021-04-16 14:01:38.000000000 +0200
+++ new/cage-0.1.4/.builds/alpine.yml   2021-06-26 09:39:40.000000000 +0200
@@ -19,7 +19,7 @@
   # version, instead of master, to avoid any breaking changes in wlroots.
   - wlroots: |
       cd wlroots
-      git checkout 0.13.0
+      git checkout 0.14.0
       meson --prefix=/usr build -Dexamples=false
       ninja -C build
       sudo ninja -C build install
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cage-0.1.3/.builds/archlinux.yml 
new/cage-0.1.4/.builds/archlinux.yml
--- old/cage-0.1.3/.builds/archlinux.yml        2021-04-16 14:01:38.000000000 
+0200
+++ new/cage-0.1.4/.builds/archlinux.yml        2021-06-26 09:39:40.000000000 
+0200
@@ -18,7 +18,7 @@
   # version, instead of master, to avoid any breaking changes in wlroots.
   - wlroots: |
       cd wlroots
-      git checkout 0.13.0
+      git checkout 0.14.0
       meson --prefix=/usr build -Dexamples=false
       ninja -C build
       sudo ninja -C build install
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cage-0.1.3/.builds/freebsd.yml 
new/cage-0.1.4/.builds/freebsd.yml
--- old/cage-0.1.3/.builds/freebsd.yml  2021-04-16 14:01:38.000000000 +0200
+++ new/cage-0.1.4/.builds/freebsd.yml  2021-06-26 09:39:40.000000000 +0200
@@ -21,7 +21,7 @@
   # version, instead of master, to avoid any breaking changes in wlroots.
   - wlroots: |
       cd wlroots
-      git checkout 0.13.0
+      git checkout 0.14.0
       meson --prefix=/usr/local build -Dexamples=false
       ninja -C build
       sudo ninja -C build install
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cage-0.1.3/contrib/increment-version 
new/cage-0.1.4/contrib/increment-version
--- old/cage-0.1.3/contrib/increment-version    1970-01-01 01:00:00.000000000 
+0100
+++ new/cage-0.1.4/contrib/increment-version    2021-06-26 09:39:40.000000000 
+0200
@@ -0,0 +1,25 @@
+#!/usr/bin/env bash
+
+if [ "$#" -ne 1 ]; then
+  echo "usage: $0 <new-version>" >&2
+  exit 1
+fi
+
+new_version="$1"
+
+if [ "$new_version" != "${new_version#v}" ]; then
+  echo "Error: The new version shouldn't be prefixed with a \"v\"." >&2
+  exit 1
+fi
+
+set -x
+
+sed -i meson.build -e "s/^  version: '.*'/  version: '$new_version'/"
+
+echo -n "Minimum wlroots version? "
+read -r wlr_version_min
+
+sed -i meson.build -e "s/'wlroots', version: '.*'/'wlroots', version: '>= 
$wlr_version_min'/"
+
+git add meson.build
+git commit -m "Update version to $new_version"
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cage-0.1.3/contrib/release 
new/cage-0.1.4/contrib/release
--- old/cage-0.1.3/contrib/release      1970-01-01 01:00:00.000000000 +0100
+++ new/cage-0.1.4/contrib/release      2021-06-26 09:39:40.000000000 +0200
@@ -0,0 +1,21 @@
+#!/usr/bin/env bash
+
+if [ "$#" -ne 1 ]; then
+  echo "usage: $0 <new-version>" >&2
+  exit 1
+fi
+
+new_version="$1"
+
+if [ "$new_version" != "${new_version#v}" ]; then
+  echo "Error: The new version shouldn't be prefixed with a \"v\"." >&2
+  exit 1
+fi
+
+set -x
+
+./increment_version "$new_version"
+./tag-release "$new_version"
+./sign-release
+
+git push --tags
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cage-0.1.3/contrib/sign-release 
new/cage-0.1.4/contrib/sign-release
--- old/cage-0.1.3/contrib/sign-release 1970-01-01 01:00:00.000000000 +0100
+++ new/cage-0.1.4/contrib/sign-release 2021-06-26 09:39:40.000000000 +0200
@@ -0,0 +1,12 @@
+#!/usr/bin/env bash
+
+set -x
+
+project="$(basename "$(pwd)")"
+last=$(git describe --tags --abbrev=0)
+
+prefix="$project-${last#v}"
+archive="$prefix.tar.gz"
+
+git archive --prefix="$prefix/" -o "$archive" "$last"
+gpg --output "$archive".sig --detach-sig "$archive"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cage-0.1.3/contrib/tag-release 
new/cage-0.1.4/contrib/tag-release
--- old/cage-0.1.3/contrib/tag-release  1970-01-01 01:00:00.000000000 +0100
+++ new/cage-0.1.4/contrib/tag-release  2021-06-26 09:39:40.000000000 +0200
@@ -0,0 +1,26 @@
+#!/usr/bin/env bash
+
+set -x
+
+if [ "$#" -ne 1 ]; then
+  echo "usage: $0 <new-version>" >&2
+  exit 1
+fi
+
+last=$(git describe --tags --abbrev=0)
+echo "Last release was $last"
+
+next="v$1"
+
+shortlog="$(git shortlog --no-merges "$last"..)"
+
+printf "Shortlog: \n\n%s\n\nRelease $next? [y/N] " "$shortlog"
+read -r answer
+
+if [ "$answer" != "y" ]; then
+  exit 0
+fi
+
+project="$(basename "$(pwd)")"
+
+(echo "$project $next"; echo ""; echo "$shortlog") | git tag "$next" -ase -F -
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cage-0.1.3/meson.build new/cage-0.1.4/meson.build
--- old/cage-0.1.3/meson.build  2021-04-16 14:01:38.000000000 +0200
+++ new/cage-0.1.4/meson.build  2021-06-26 09:39:40.000000000 +0200
@@ -1,5 +1,5 @@
 project('cage', 'c',
-  version: '0.1.3',
+  version: '0.1.4',
   license: 'MIT',
   default_options: [
     'c_std=c11',
@@ -34,7 +34,7 @@
   )
 endif
 
-wlroots        = dependency('wlroots', version: '>= 0.13.0')
+wlroots        = dependency('wlroots', version: '>= 0.14.0')
 wayland_protos = dependency('wayland-protocols', version: '>=1.14')
 wayland_server = dependency('wayland-server')
 pixman         = dependency('pixman-1')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cage-0.1.3/view.c new/cage-0.1.4/view.c
--- old/cage-0.1.3/view.c       2021-04-16 14:01:38.000000000 +0200
+++ new/cage-0.1.4/view.c       2021-06-26 09:39:40.000000000 +0200
@@ -235,7 +235,10 @@
        view->wlr_surface = surface;
 
        struct wlr_subsurface *subsurface;
-       wl_list_for_each (subsurface, &view->wlr_surface->subsurfaces, 
parent_link) {
+       wl_list_for_each (subsurface, &view->wlr_surface->subsurfaces_below, 
parent_link) {
+               subsurface_create(view, subsurface);
+       }
+       wl_list_for_each (subsurface, &view->wlr_surface->subsurfaces_above, 
parent_link) {
                subsurface_create(view, subsurface);
        }
 

Reply via email to