Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gammastep for openSUSE:Factory 
checked in at 2022-12-05 18:01:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gammastep (Old)
 and      /work/SRC/openSUSE:Factory/.gammastep.new.1835 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gammastep"

Mon Dec  5 18:01:29 2022 rev:2 rq:1040143 version:2.0.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/gammastep/gammastep.changes      2022-03-16 
20:21:15.893004694 +0100
+++ /work/SRC/openSUSE:Factory/.gammastep.new.1835/gammastep.changes    
2022-12-05 18:01:36.708715755 +0100
@@ -1,0 +2,7 @@
+Sun Dec  4 16:17:43 UTC 2022 - Dirk Müller <dmuel...@suse.com>
+
+- update to 2.0.9:
+  * fix: wayland: avoid memory leak
+  * fix: wayland: recover from failure due to VT switch
+
+-------------------------------------------------------------------

Old:
----
  gammastep-v2.0.8.tar.gz

New:
----
  gammastep-v2.0.9.tar.gz

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

Other differences:
------------------
++++++ gammastep.spec ++++++
--- /var/tmp/diff_new_pack.Qwolbz/_old  2022-12-05 18:01:37.192718390 +0100
+++ /var/tmp/diff_new_pack.Qwolbz/_new  2022-12-05 18:01:37.196718412 +0100
@@ -18,7 +18,7 @@
 
 %define __requires_exclude typelib\\(AppIndicator3\\)
 Name:           gammastep
-Version:        2.0.8
+Version:        2.0.9
 Release:        0
 Summary:        Adjusts the color temperature of your screen according to time 
of day
 License:        GPL-3.0-or-later
@@ -72,14 +72,12 @@
 %prep
 %autosetup -p1 -n %{name}-v%{version}
 
-
 %build
 ./bootstrap
 %configure \
     --with-systemduserunitdir=%{_userunitdir}
 %make_build
 
-
 %install
 %make_install
 sed -i 's|/env python3|/python3|' %{buildroot}%{_bindir}/%{name}-indicator
@@ -89,7 +87,6 @@
 appstream-util validate-relax --nonet 
%{buildroot}%{_datadir}/metainfo/*.appdata.xml
 desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
 
-
 %post
 %systemd_user_post %{name}.service
 

++++++ gammastep-v2.0.8.tar.gz -> gammastep-v2.0.9.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gammastep-v2.0.8/NEWS.md new/gammastep-v2.0.9/NEWS.md
--- old/gammastep-v2.0.8/NEWS.md        2021-12-23 05:35:25.000000000 +0100
+++ new/gammastep-v2.0.9/NEWS.md        2022-09-12 02:57:15.000000000 +0200
@@ -1,6 +1,12 @@
 News
 ====
 
+v2.0.9.11 (2022-09-11)
+-------------------
+- fix: wayland: avoid memory leak (thanks @joanbrugueram)
+- fix: wayland: recover from failure due to VT switch
+  (thanks @joanbrugueram and @lheckemann)
+
 v2.0.8 (2021-12-22)
 -------------------
 - Fix '-q' option (#34)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gammastep-v2.0.8/README.md 
new/gammastep-v2.0.9/README.md
--- old/gammastep-v2.0.8/README.md      2021-12-23 05:35:25.000000000 +0100
+++ new/gammastep-v2.0.9/README.md      2022-09-12 02:57:15.000000000 +0200
@@ -100,9 +100,10 @@
 
 **I have an issue but it was not mentioned in this FAQ. What do I do?**
 
-Please go to [the issue 
tracker](https://gitlab.com/chinstrap/gammastep/issues) and
-check if your issue has already been reported. If not, please open a new issue
-describing you problem.
+Please go to
+[the issue 
tracker](https://gitlab.freedesktop.org/CameronNemo/gammastep/issues)
+and check if your issue has already been reported. If not, please open a new
+issue describing you problem.
 
 
 **When running as a systemd service, the connection to Xorg/Wayland fails**
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gammastep-v2.0.8/configure.ac 
new/gammastep-v2.0.9/configure.ac
--- old/gammastep-v2.0.8/configure.ac   2021-12-23 05:35:25.000000000 +0100
+++ new/gammastep-v2.0.9/configure.ac   2022-09-12 02:57:15.000000000 +0200
@@ -2,7 +2,7 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ([2.69])
-AC_INIT([gammastep], [2.0.8], [https://gitlab.com/chinstrap/gammastep/issues])
+AC_INIT([gammastep], [2.0.9], 
[https://gitlab.freedesktop.org/CameronNemo/gammastep/issues])
 AC_CONFIG_SRCDIR([src/redshift.c])
 AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_MACRO_DIR([m4])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gammastep-v2.0.8/contrib/gammastep.spec 
new/gammastep-v2.0.9/contrib/gammastep.spec
--- old/gammastep-v2.0.8/contrib/gammastep.spec 2021-12-23 05:35:25.000000000 
+0100
+++ new/gammastep-v2.0.9/contrib/gammastep.spec 2022-09-12 02:57:15.000000000 
+0200
@@ -5,7 +5,7 @@
 Summary:        Adjusts the color temperature of your screen according to time 
of day
 
 License:        GPLv3+
-URL:            https://gitlab.com/chinstrap/gammastep
+URL:            https:////gitlab.freedesktop.org/CameronNemo/gammastep
 Source0:        %{url}/-/archive/v%{version}/%{name}-v%{version}.tar.gz
 
 BuildRequires:  desktop-file-utils
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/gammastep-v2.0.8/data/appdata/gammastep-indicator.appdata.xml.in 
new/gammastep-v2.0.9/data/appdata/gammastep-indicator.appdata.xml.in
--- old/gammastep-v2.0.8/data/appdata/gammastep-indicator.appdata.xml.in        
2021-12-23 05:35:25.000000000 +0100
+++ new/gammastep-v2.0.9/data/appdata/gammastep-indicator.appdata.xml.in        
2022-09-12 02:57:15.000000000 +0200
@@ -12,5 +12,5 @@
    <_p>The color temperature is set according to the position of the sun. A 
different color temperature is set during night and daytime. During twilight 
and early morning, the color temperature transitions smoothly from night to 
daytime temperature to allow your eyes to slowly adapt.</_p>
    <_p>This program provides a status icon that allows the user to control 
color temperature.</_p>
  </description>
- <url type="homepage">https://gitlab.com/chinstrap/gammastep</url>
+ <url 
type="homepage">https://gitlab.freedesktop.org/CameronNemo/gammastep</url>
 </component>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gammastep-v2.0.8/gammastep.1 
new/gammastep-v2.0.9/gammastep.1
--- old/gammastep-v2.0.8/gammastep.1    2021-12-23 05:35:25.000000000 +0100
+++ new/gammastep-v2.0.9/gammastep.1    2022-09-12 02:57:15.000000000 +0200
@@ -192,14 +192,14 @@
 .SH AUTHOR
 .B gammastep
 was written by Jon Lund Steffensen <jon...@gmail.com>,
-and is now maintained by Cameron Nemo <cn...@tutanota.com>.
+and is now maintained by Cameron Nemo <c...@nohom.org>.
 .PP
 Both
 .B gammastep
 and this manual page are released under the GNU General Public
 License, version 3.
 .SH BUGS
-Please report bugs to <https://gitlab.com/chinstrap/gammastep/issues>
+Please report bugs to 
<https://gitlab.freedesktop.org/CameronNemo/gammastep/issues>
 .SH KNOWN ISSUES
 .B gammastep
 will not affect the color of your cursor when your graphics driver
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gammastep-v2.0.8/src/gamma-wl.c 
new/gammastep-v2.0.9/src/gamma-wl.c
--- old/gammastep-v2.0.8/src/gamma-wl.c 2021-12-23 05:35:25.000000000 +0100
+++ new/gammastep-v2.0.9/src/gamma-wl.c 2022-09-12 02:57:15.000000000 +0200
@@ -231,6 +231,7 @@
                }
                wl_output_destroy(output->output);
        }
+       free(state->outputs);
 
        if (state->gamma_control_manager) {
                
zwlr_gamma_control_manager_v1_destroy(state->gamma_control_manager);
@@ -289,6 +290,13 @@
 
        for (int i = 0; i < state->num_outputs; ++i) {
                struct output *output = &state->outputs[i];
+               /* For some reason, gamma control will be reported as
+                * no longer supported after a tty switch. For this
+                * reason, retry if gamma_size has become 0. */
+               if (output->gamma_control && output->gamma_size == 0) {
+                       zwlr_gamma_control_v1_destroy(output->gamma_control);
+                       output->gamma_control = NULL;
+               }
                if (!output->gamma_control) {
                        output->gamma_control = 
zwlr_gamma_control_manager_v1_get_gamma_control(state->gamma_control_manager, 
output->output);
                        
zwlr_gamma_control_v1_add_listener(output->gamma_control, 
&gamma_control_listener, output);

Reply via email to