commit wbg for openSUSE:Factory

2024-04-23 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package wbg for openSUSE:Factory checked in 
at 2024-04-23 18:57:37

Comparing /work/SRC/openSUSE:Factory/wbg (Old)
 and  /work/SRC/openSUSE:Factory/.wbg.new.27645 (New)


Package is "wbg"

Tue Apr 23 18:57:37 2024 rev:7 rq:1169765 version:1.2.0

Changes:

--- /work/SRC/openSUSE:Factory/wbg/wbg.changes  2024-04-21 20:27:34.134555042 
+0200
+++ /work/SRC/openSUSE:Factory/.wbg.new.27645/wbg.changes   2024-04-23 
18:57:53.974418706 +0200
@@ -1,0 +2,5 @@
+Mon Apr 22 22:47:05 UTC 2024 - Joshua Smith 
+
+- Add keyring and signature for package.
+
+---

Old:

  1.2.0.tar.gz

New:

  wbg-1.2.0.tar.gz
  wbg-1.2.0.tar.gz.sig
  wbg.keyring



Other differences:
--
++ wbg.spec ++
--- /var/tmp/diff_new_pack.TGozai/_old  2024-04-23 18:57:56.146497188 +0200
+++ /var/tmp/diff_new_pack.TGozai/_new  2024-04-23 18:57:56.146497188 +0200
@@ -23,7 +23,10 @@
 License:MIT
 Group:  System/GUI/Other
 URL:https://codeberg.org/dnkl/wbg
-Source0:https://codeberg.org/dnkl/wbg/archive/%version.tar.gz
+Source: %{url}/releases/download/%{version}/%{name}-%{version}.tar.gz
+Source1:
%{url}/releases/download/%{version}/%{name}-%{version}.tar.gz.sig
+# 
https://keyserver.ubuntu.com/pks/lookup?op=get=0xb19964fbba09664cc81027ed5bbd4992c116573f
+Source2:%{name}.keyring
 BuildRequires:  c_compiler
 BuildRequires:  meson >= 0.58.0
 BuildRequires:  pkgconfig
@@ -45,7 +48,7 @@
 scaled-to-fit on all monitors.
 
 %prep
-%autosetup -n %name -p1
+%autosetup -p1
 
 %build
 export CFLAGS="%{optflags}"


commit wbg for openSUSE:Factory

2024-04-21 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package wbg for openSUSE:Factory checked in 
at 2024-04-21 20:26:25

Comparing /work/SRC/openSUSE:Factory/wbg (Old)
 and  /work/SRC/openSUSE:Factory/.wbg.new.26366 (New)


Package is "wbg"

Sun Apr 21 20:26:25 2024 rev:6 rq:1169296 version:1.2.0

Changes:

--- /work/SRC/openSUSE:Factory/wbg/wbg.changes  2024-02-21 17:57:44.326172402 
+0100
+++ /work/SRC/openSUSE:Factory/.wbg.new.26366/wbg.changes   2024-04-21 
20:27:34.134555042 +0200
@@ -1,0 +2,17 @@
+Fri Apr 19 11:53:33 UTC 2024 - Joshua Smith 
+
+- Remove patches (fixed upstream)
+  * 0001-fix-mfd-noexec-seal.patch
+  * 0004-impl-layer-surface-closed-event.patch
+  * 0005-mark-surface-as-opaque.patch
+- Update to version 1.2.0:
+  Added
+  * We now hint to the compositor that the background is fully
+opaque.
+  * SVG support.
+  Changed
+  * Image is now zoomed, rather than stretched.
+  Fixed
+  * Respect the layer_surface::closed() event.
+
+---

Old:

  0001-fix-mfd-noexec-seal.patch
  0004-impl-layer-surface-closed-event.patch
  0005-mark-surface-as-opaque.patch
  1.1.0.tar.gz

New:

  1.2.0.tar.gz

BETA DEBUG BEGIN:
  Old:- Remove patches (fixed upstream)
  * 0001-fix-mfd-noexec-seal.patch
  * 0004-impl-layer-surface-closed-event.patch
  Old:  * 0001-fix-mfd-noexec-seal.patch
  * 0004-impl-layer-surface-closed-event.patch
  * 0005-mark-surface-as-opaque.patch
  Old:  * 0004-impl-layer-surface-closed-event.patch
  * 0005-mark-surface-as-opaque.patch
- Update to version 1.2.0:
BETA DEBUG END:



Other differences:
--
++ wbg.spec ++
--- /var/tmp/diff_new_pack.hV3mq9/_old  2024-04-21 20:27:34.782578819 +0200
+++ /var/tmp/diff_new_pack.hV3mq9/_new  2024-04-21 20:27:34.782578819 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package wbg
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,19 +17,13 @@
 
 
 Name:   wbg
-Version:1.1.0
+Version:1.2.0
 Release:0
 Summary:Wallpaper application for layer-shell Wayland compositors
 License:MIT
 Group:  System/GUI/Other
 URL:https://codeberg.org/dnkl/wbg
 Source0:https://codeberg.org/dnkl/wbg/archive/%version.tar.gz
-# Patch 1 based of 
https://codeberg.org/dnkl/wbg/commit/61af8e87661b93cfefe77c083328fef962c4121d.patch
-Patch1: 0001-fix-mfd-noexec-seal.patch
-# Patch 4 is based of 
https://codeberg.org/dnkl/wbg/commit/fee19f79bb41a9f90c25b3470ec2806be7293607.patch
-Patch4: 0004-impl-layer-surface-closed-event.patch
-# Patch 5 is based of 
https://codeberg.org/dnkl/wbg/commit/670d577ad0cd45a0c7bf4a264b791a2cd86557c3.patch
-Patch5: 0005-mark-surface-as-opaque.patch
 BuildRequires:  c_compiler
 BuildRequires:  meson >= 0.58.0
 BuildRequires:  pkgconfig
@@ -61,6 +55,9 @@
 %install
 %meson_install
 
+%check
+%meson_test
+
 %files
 %license LICENSE
 %doc README.md

++ 1.1.0.tar.gz -> 1.2.0.tar.gz ++
 7025 lines of diff (skipped)


commit wbg for openSUSE:Factory

2023-11-06 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package wbg for openSUSE:Factory checked in 
at 2023-11-06 21:13:54

Comparing /work/SRC/openSUSE:Factory/wbg (Old)
 and  /work/SRC/openSUSE:Factory/.wbg.new.17445 (New)


Package is "wbg"

Mon Nov  6 21:13:54 2023 rev:4 rq:1123407 version:1.1.0

Changes:

--- /work/SRC/openSUSE:Factory/wbg/wbg.changes  2022-11-02 15:25:35.693133840 
+0100
+++ /work/SRC/openSUSE:Factory/.wbg.new.17445/wbg.changes   2023-11-06 
21:14:02.250732771 +0100
@@ -1,0 +2,8 @@
+Tue Oct 24 06:38:56 UTC 2023 - Soc Virnyl Estela 

+
+- Add patchsets
+  * 0001-fix-mfd-noexec-seal.patch
+  * 0004-impl-layer-surface-closed-event.patch
+  * 0005-mark-surface-as-opaque.patch
+
+---

New:

  0001-fix-mfd-noexec-seal.patch
  0004-impl-layer-surface-closed-event.patch
  0005-mark-surface-as-opaque.patch

BETA DEBUG BEGIN:
  New:- Add patchsets
  * 0001-fix-mfd-noexec-seal.patch
  * 0004-impl-layer-surface-closed-event.patch
  New:  * 0001-fix-mfd-noexec-seal.patch
  * 0004-impl-layer-surface-closed-event.patch
  * 0005-mark-surface-as-opaque.patch
  New:  * 0004-impl-layer-surface-closed-event.patch
  * 0005-mark-surface-as-opaque.patch
BETA DEBUG END:



Other differences:
--
++ wbg.spec ++
--- /var/tmp/diff_new_pack.CKB9kp/_old  2023-11-06 21:14:03.446776797 +0100
+++ /var/tmp/diff_new_pack.CKB9kp/_new  2023-11-06 21:14:03.450776944 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package wbg
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,6 +24,12 @@
 Group:  System/GUI/Other
 URL:https://codeberg.org/dnkl/wbg
 Source0:https://codeberg.org/dnkl/wbg/archive/%version.tar.gz
+# Patch 1 based of 
https://codeberg.org/dnkl/wbg/commit/61af8e87661b93cfefe77c083328fef962c4121d.patch
+Patch1: 0001-fix-mfd-noexec-seal.patch
+# Patch 4 is based of 
https://codeberg.org/dnkl/wbg/commit/fee19f79bb41a9f90c25b3470ec2806be7293607.patch
+Patch4: 0004-impl-layer-surface-closed-event.patch
+# Patch 5 is based of 
https://codeberg.org/dnkl/wbg/commit/670d577ad0cd45a0c7bf4a264b791a2cd86557c3.patch
+Patch5: 0005-mark-surface-as-opaque.patch
 BuildRequires:  c_compiler
 BuildRequires:  meson >= 0.58.0
 BuildRequires:  pkgconfig
@@ -45,7 +51,10 @@
 scaled-to-fit on all monitors.
 
 %prep
-%autosetup -n %name
+%setup -n %name
+%patch1 -p1
+%patch4 -p1
+%patch5 -p1
 
 %build
 export CFLAGS="%{optflags}"

++ 0001-fix-mfd-noexec-seal.patch ++
>From 61af8e87661b93cfefe77c083328fef962c4121d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= 
Date: Fri, 13 Oct 2023 16:37:56 +0200
Subject: [PATCH] shm: try with MFD_NOEXEC_SEAL first, then without

MFD_NOEXEC_SEAL is only supported on kernels 6.3 and later.

If we were compiled on linux >= 6.3, but run on linux < 6.3, we'd exit
with an error, due to memfd_create() failing with EINVAL.

This patch fixes the problem by first trying to call
memfd_create() *with* MFD_NOEXEC_SEAL, and if that fails with EINVAL,
we try again without it.

Also seal the memory FD once mmap() has been called.
---
 shm.c | 33 +++--
 1 file changed, 31 insertions(+), 2 deletions(-)

diff --git a/shm.c b/shm.c
index adc91df..bd4ce26 100644
--- a/shm.c
+++ b/shm.c
@@ -1,7 +1,9 @@
 #include "shm.h"
 
-#include 
 #include 
+#include 
+#include 
+#include 
 
 #include 
 #include 
@@ -13,6 +15,10 @@
 #include "log.h"
 #include "stride.h"
 
+#if !defined(MAP_UNINITIALIZED)
+ #define MAP_UNINITIALIZED 0
+#endif
+
 static void
 buffer_destroy(struct buffer *buf)
 {
@@ -53,7 +59,21 @@ shm_get_buffer(struct wl_shm *shm, int width, int height, 
unsigned long cookie)
 pixman_image_t *pix = NULL;
 
 /* Backing memory for SHM */
-pool_fd = memfd_create("wbg-wayland-shm-buffer-pool", MFD_CLOEXEC);
+
+/*
+ * Older kernels reject MFD_NOEXEC_SEAL with EINVAL. Try first
+ * *with* it, and if that fails, try again *without* it.
+ */
+errno = 0;
+pool_fd = memfd_create(
+"wbg-wayland-shm-buffer-pool",
+MFD_CLOEXEC | MFD_ALLOW_SEALING | MFD_NOEXEC_SEAL);
+
+if (pool_fd < 0 && errno == EINVAL) {
+pool_fd = memfd_create(
+"wbg-wayland-shm-buffer-pool", MFD_CLOEXEC | MFD_ALLOW_SEALING);
+}
+
 if (pool_fd == -1) {
 LOG_ERRNO("failed to create SHM backing memory file");
 goto err;
@@ -73,6 +93,15 @@ shm_get_buffer(struct wl_shm *shm, int width, int height, 
unsigned long cookie)
 goto err;
 }
 

commit wbg for openSUSE:Factory

2022-11-02 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package wbg for openSUSE:Factory checked in 
at 2022-11-02 15:25:34

Comparing /work/SRC/openSUSE:Factory/wbg (Old)
 and  /work/SRC/openSUSE:Factory/.wbg.new.2275 (New)


Package is "wbg"

Wed Nov  2 15:25:34 2022 rev:3 rq:1032897 version:1.1.0

Changes:

--- /work/SRC/openSUSE:Factory/wbg/wbg.changes  2022-05-30 12:44:41.808450134 
+0200
+++ /work/SRC/openSUSE:Factory/.wbg.new.2275/wbg.changes2022-11-02 
15:25:35.693133840 +0100
@@ -1,0 +2,11 @@
+Wed Oct 26 12:37:03 UTC 2022 - Soc Virnyl Estela 
+
+- Update to version 1.1.0:
+  - Added:
+* webp support
+  - Fixed:
+* meson: can???t use `SOURCE_DIR` in `custom_targets()`.
+   * build: version script is now run in a C locale.
+   * Don???t re-render frame on same-size configure events
+
+---

Old:

  1.0.2.tar.gz

New:

  1.1.0.tar.gz



Other differences:
--
++ wbg.spec ++
--- /var/tmp/diff_new_pack.CZ3j8R/_old  2022-11-02 15:25:36.325137064 +0100
+++ /var/tmp/diff_new_pack.CZ3j8R/_new  2022-11-02 15:25:36.329137085 +0100
@@ -17,19 +17,20 @@
 
 
 Name:   wbg
-Version:1.0.2
+Version:1.1.0
 Release:0
 Summary:Wallpaper application for layer-shell Wayland compositors
 License:MIT
 Group:  System/GUI/Other
 URL:https://codeberg.org/dnkl/wbg
 Source0:https://codeberg.org/dnkl/wbg/archive/%version.tar.gz
-BuildRequires:  gcc-c++
+BuildRequires:  c_compiler
 BuildRequires:  meson >= 0.58.0
 BuildRequires:  pkgconfig
 BuildRequires:  python3
 BuildRequires:  pkgconfig(libjpeg)
 BuildRequires:  pkgconfig(libpng)
+BuildRequires:  pkgconfig(libwebp)
 BuildRequires:  pkgconfig(pixman-1)
 BuildRequires:  pkgconfig(tllist) >= 1.0.1
 BuildRequires:  pkgconfig(wayland-client)
@@ -49,7 +50,6 @@
 %build
 export CFLAGS="%{optflags}"
 %meson
-
 %meson_build
 
 %install

++ 1.0.2.tar.gz -> 1.1.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wbg/CHANGELOG.md new/wbg/CHANGELOG.md
--- old/wbg/CHANGELOG.md1970-01-01 01:00:00.0 +0100
+++ new/wbg/CHANGELOG.md2022-10-24 16:44:22.0 +0200
@@ -0,0 +1,22 @@
+# Changelog
+
+* [1.1.0](#1-1-0)
+
+
+## 1.1.0
+
+### Added
+
+* webp support
+
+
+### Fixed
+
+* meson: can???t use `SOURCE_DIR` in `custom_targets()`.
+* build: version script is now run in a C locale.
+* Don???t re-render frame on same-size configure events
+
+
+### Contributors
+
+*  Leonardo Hern??ndez
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wbg/PKGBUILD new/wbg/PKGBUILD
--- old/wbg/PKGBUILD2020-12-03 18:30:50.0 +0100
+++ new/wbg/PKGBUILD2022-10-24 16:44:22.0 +0200
@@ -1,12 +1,12 @@
 pkgname=wbg
-pkgver=1.0.1
+pkgver=1.1.0
 pkgrel=1
 pkgdesc="Super simple wallpaper application"
 arch=('x86_64' 'aarch64')
 url=https://codeberg.org/dnkl/wbg
 license=(mit)
-makedepends=('meson' 'ninja' 'tllist>=1.0.1')
-depends=('wayland' 'libjpeg-turbo' 'libpng')
+makedepends=('meson' 'ninja' 'wayland-protocols' 'tllist>=1.0.1')
+depends=('wayland' 'pixman' 'libjpeg-turbo' 'libpng')
 source=()
 
 pkgver() {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wbg/README.md new/wbg/README.md
--- old/wbg/README.md   2020-12-03 18:30:50.0 +0100
+++ new/wbg/README.md   2022-10-24 16:44:22.0 +0200
@@ -9,6 +9,8 @@
 More display options, and/or the ability to set a per-monitor
 wallpaper _may_ be added in the future.
 
+[![Packaging 
status](https://repology.org/badge/vertical-allrepos/wbg.svg)](https://repology.org/project/wbg/versions)
+
 
 ## Requirements
 
@@ -18,8 +20,9 @@
 * wayland (_client_ and _cursor_ libraries)
 * libpng (optional)
 * libjpeg (optional)
+* libwebp (optional)
 
-Note that at least one of _libpng_ and _libjpeg_ is required.
+Note that at least one of _libpng_, _libjpeg_ and _libwebp_ is required.
 
 
 ### Compile time
@@ -37,6 +40,13 @@
 sudo ninja -C build install
 ```
 
-By default, PNG and JPEG support is auto-detected. You can force
+By default, PNG, JPEG and WebP support is auto-detected. You can force
 disable/enable them with the meson command line options
-`-Dpng=disabled|enabled` and `-Djpeg=disabled|enabled`.
+`-Dpng=disabled|enabled`, `-Djpeg=disabled|enabled` and
+`-Dwebp=disabled|enabled`.
+
+
+## Derivative work
+
+* https://codeberg.org/droc12345/wbg - adds support for directories
+  with images, random, timer flags.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 

commit wbg for openSUSE:Factory

2022-05-30 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package wbg for openSUSE:Factory checked in 
at 2022-05-30 12:43:49

Comparing /work/SRC/openSUSE:Factory/wbg (Old)
 and  /work/SRC/openSUSE:Factory/.wbg.new.2254 (New)


Package is "wbg"

Mon May 30 12:43:49 2022 rev:2 rq:979695 version:1.0.2

Changes:

--- /work/SRC/openSUSE:Factory/wbg/wbg.changes  2022-03-12 17:16:21.598366889 
+0100
+++ /work/SRC/openSUSE:Factory/.wbg.new.2254/wbg.changes2022-05-30 
12:44:41.808450134 +0200
@@ -1,0 +2,5 @@
+Sun May 29 16:41:58 UTC 2022 - Soc Virnyl Estela 
+
+- use meson version >= 0.58.0 to abandon deprecated options
+
+---



Other differences:
--
++ wbg.spec ++
--- /var/tmp/diff_new_pack.pxlNVq/_old  2022-05-30 12:44:42.532451098 +0200
+++ /var/tmp/diff_new_pack.pxlNVq/_new  2022-05-30 12:44:42.536451103 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package wbg
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,16 +25,16 @@
 URL:https://codeberg.org/dnkl/wbg
 Source0:https://codeberg.org/dnkl/wbg/archive/%version.tar.gz
 BuildRequires:  gcc-c++
-BuildRequires:  meson >= 0.48.0
+BuildRequires:  meson >= 0.58.0
 BuildRequires:  pkgconfig
 BuildRequires:  python3
+BuildRequires:  pkgconfig(libjpeg)
+BuildRequires:  pkgconfig(libpng)
+BuildRequires:  pkgconfig(pixman-1)
+BuildRequires:  pkgconfig(tllist) >= 1.0.1
 BuildRequires:  pkgconfig(wayland-client)
 BuildRequires:  pkgconfig(wayland-protocols)
 BuildRequires:  pkgconfig(wayland-server)
-BuildRequires:  pkgconfig(pixman-1)
-BuildRequires:  pkgconfig(libpng)
-BuildRequires:  pkgconfig(libjpeg)
-BuildRequires:  pkgconfig(tllist) >= 1.0.1
 
 %description
 Wbg is a wallpaper setter for Wayland compositors that implement the