Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package xgamma for openSUSE:Factory checked 
in at 2026-01-06 17:46:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xgamma (Old)
 and      /work/SRC/openSUSE:Factory/.xgamma.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xgamma"

Tue Jan  6 17:46:27 2026 rev:9 rq:1325621 version:1.0.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/xgamma/xgamma.changes    2022-12-05 
18:01:08.404561625 +0100
+++ /work/SRC/openSUSE:Factory/.xgamma.new.1928/xgamma.changes  2026-01-06 
17:47:39.857228809 +0100
@@ -1,0 +2,9 @@
+Fri Jan  2 08:58:02 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 1.0.8:
+  * man page: fix warnings from `mandoc -T lint`
+  * mandoc: xgamma.1:21:5: STYLE: lower case character in
+    document title: TH xgamma
+- xgamma.keyring: update
+
+-------------------------------------------------------------------

Old:
----
  xgamma-1.0.7.tar.xz
  xgamma-1.0.7.tar.xz.sig

New:
----
  xgamma-1.0.8.tar.xz
  xgamma-1.0.8.tar.xz.sig

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

Other differences:
------------------
++++++ xgamma.spec ++++++
--- /var/tmp/diff_new_pack.3nMftR/_old  2026-01-06 17:47:40.397251025 +0100
+++ /var/tmp/diff_new_pack.3nMftR/_new  2026-01-06 17:47:40.401251190 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package xgamma
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           xgamma
-Version:        1.0.7
+Version:        1.0.8
 Release:        0
 Summary:        Utility to alter a monitor's gamma correction through the X 
server
 License:        MIT

++++++ xgamma-1.0.7.tar.xz -> xgamma-1.0.8.tar.xz ++++++
++++ 10445 lines of diff (skipped)
++++    retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/xgamma-1.0.7/ChangeLog new/xgamma-1.0.8/ChangeLog
--- old/xgamma-1.0.7/ChangeLog  2022-12-03 22:59:05.000000000 +0100
+++ new/xgamma-1.0.8/ChangeLog  2025-07-28 01:02:23.000000000 +0200
@@ -1,3 +1,82 @@
+commit 043b52064c27bb3871aaabf0d95c8d7bfddc55b9
+Author: Alan Coopersmith <[email protected]>
+Date:   Sun Jul 27 15:54:53 2025 -0700
+
+    xgamma 1.0.8
+    
+    Signed-off-by: Alan Coopersmith <[email protected]>
+
+commit 641cab89e289355717957a7917830b27f1ebb42a
+Author: Alan Coopersmith <[email protected]>
+Date:   Sun May 25 10:54:15 2025 -0700
+
+    man page: fix warnings from `mandoc -T lint`
+    
+    mandoc: xgamma.1:21:5: STYLE: lower case character in document title: TH 
xgamma
+    mandoc: xgamma.1:21:14: WARNING: cannot parse date, using it verbatim: TH 
xgamma 1.0.7
+    mandoc: xgamma.1:30:2: WARNING: skipping paragraph macro: PP after SH
+    mandoc: xgamma.1:46:2: WARNING: skipping paragraph macro: PP empty
+    mandoc: xgamma.1:50:2: WARNING: skipping paragraph macro: PP empty
+    mandoc: xgamma.1:55:2: WARNING: skipping paragraph macro: PP empty
+    mandoc: xgamma.1:60:2: WARNING: skipping paragraph macro: PP empty
+    mandoc: xgamma.1:64:2: WARNING: skipping paragraph macro: PP empty
+    mandoc: xgamma.1:68:2: WARNING: skipping paragraph macro: PP empty
+    mandoc: xgamma.1:74:2: WARNING: skipping paragraph macro: PP empty
+    mandoc: xgamma.1:78:2: WARNING: skipping paragraph macro: PP empty
+    mandoc: xgamma.1:82:2: WARNING: skipping paragraph macro: PP empty
+    mandoc: xgamma.1:87:2: WARNING: skipping paragraph macro: PP empty
+    mandoc: xgamma.1:92:2: WARNING: skipping paragraph macro: PP after SH
+    
+    Signed-off-by: Alan Coopersmith <[email protected]>
+    Part-of: 
<https://gitlab.freedesktop.org/xorg/app/xgamma/-/merge_requests/7>
+
+commit 7e4a0980fd40a9b0d01ced90874bde5f1ff1bc95
+Author: Alan Coopersmith <[email protected]>
+Date:   Tue Mar 25 18:53:23 2025 -0700
+
+    Improve man page formatting
+    
+    Signed-off-by: Alan Coopersmith <[email protected]>
+    Part-of: 
<https://gitlab.freedesktop.org/xorg/app/xgamma/-/merge_requests/6>
+
+commit b3eb34ad72c60eb61d15e6d3ad0abafff091beb3
+Author: Alan Coopersmith <[email protected]>
+Date:   Tue Mar 25 18:48:24 2025 -0700
+
+    Accept --help & --version as aliases to -help & -version
+    
+    Signed-off-by: Alan Coopersmith <[email protected]>
+    Part-of: 
<https://gitlab.freedesktop.org/xorg/app/xgamma/-/merge_requests/6>
+
+commit f5d2187c454ec6e77a5ce3387e711cd6f492383d
+Author: Alan Coopersmith <[email protected]>
+Date:   Tue Mar 25 18:46:20 2025 -0700
+
+    xgamma -help should exit(0) not (1)
+    
+    Signed-off-by: Alan Coopersmith <[email protected]>
+    Part-of: 
<https://gitlab.freedesktop.org/xorg/app/xgamma/-/merge_requests/6>
+
+commit cae5df00374ad05af5d908225bd87267998d48be
+Author: Alan Coopersmith <[email protected]>
+Date:   Sun Mar 9 13:32:56 2025 -0700
+
+    meson: Add option to build with meson
+    
+    Also updates the gitlab CI config to test both build types
+    and compare the generated output/installed files.
+    
+    Signed-off-by: Alan Coopersmith <[email protected]>
+    Part-of: 
<https://gitlab.freedesktop.org/xorg/app/xgamma/-/merge_requests/5>
+
+commit 8b65c5e57e9cb6bd174faab84319920ceb0403fc
+Author: Alan Coopersmith <[email protected]>
+Date:   Thu Jul 28 17:30:21 2022 -0700
+
+    gitlab CI: stop requiring Signed-off-by in commits
+    
+    Signed-off-by: Alan Coopersmith <[email protected]>
+
 commit 3ceaba0a042c51b3b85ac619a9e34297bcdc322d
 Author: Alan Coopersmith <[email protected]>
 Date:   Sat Dec 3 13:56:43 2022 -0800
@@ -533,7 +612,7 @@
         configure cache, you cache it, and the cached value is probably wrong.
 
 commit 0e0ad15de21add08bffc4379bde7cb0cf7e77b74
-Author: Søren Sandmann Pedersen  <[email protected]>
+Author: Søren Sandmann Pedersen <[email protected]>
 Date:   Fri Jul 1 18:19:11 2005 +0000
 
     Build system for xgamma
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/xgamma-1.0.7/Makefile.am new/xgamma-1.0.8/Makefile.am
--- old/xgamma-1.0.7/Makefile.am        2022-12-03 22:58:56.000000000 +0100
+++ new/xgamma-1.0.8/Makefile.am        2025-07-28 01:02:13.000000000 +0200
@@ -40,4 +40,4 @@
 
 dist-hook: ChangeLog INSTALL
 
-EXTRA_DIST = README.md
+EXTRA_DIST = README.md meson.build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/xgamma-1.0.7/compile new/xgamma-1.0.8/compile
--- old/xgamma-1.0.7/compile    2022-12-03 22:59:00.000000000 +0100
+++ new/xgamma-1.0.8/compile    2025-07-28 01:02:18.000000000 +0200
@@ -1,9 +1,9 @@
 #! /bin/sh
 # Wrapper for compilers which do not understand '-c -o'.
 
-scriptversion=2018-03-07.03; # UTC
+scriptversion=2025-06-18.21; # UTC
 
-# Copyright (C) 1999-2021 Free Software Foundation, Inc.
+# Copyright (C) 1999-2025 Free Software Foundation, Inc.
 # Written by Tom Tromey <[email protected]>.
 #
 # This program is free software; you can redistribute it and/or modify
@@ -37,11 +37,11 @@
 
 file_conv=
 
-# func_file_conv build_file lazy
+# func_file_conv build_file unneeded_conversions
 # Convert a $build file to $host form and store it in $file
 # Currently only supports Windows hosts. If the determined conversion
-# type is listed in (the comma separated) LAZY, no conversion will
-# take place.
+# type is listed in (the comma separated) UNNEEDED_CONVERSIONS, no
+# conversion will take place.
 func_file_conv ()
 {
   file=$1
@@ -51,9 +51,20 @@
        # lazily determine how to convert abs files
        case `uname -s` in
          MINGW*)
-           file_conv=mingw
+           if test -n "$MSYSTEM" && (cygpath --version) >/dev/null 2>&1; then
+             # MSYS2 environment.
+             file_conv=cygwin
+           else
+             # Original MinGW environment.
+             file_conv=mingw
+           fi
            ;;
-         CYGWIN* | MSYS*)
+         MSYS*)
+           # Old MSYS environment, or MSYS2 with 32-bit MSYS2 shell.
+           file_conv=cygwin
+           ;;
+         CYGWIN*)
+           # Cygwin environment.
            file_conv=cygwin
            ;;
          *)
@@ -63,12 +74,14 @@
       fi
       case $file_conv/,$2, in
        *,$file_conv,*)
+         # This is the optimization mentioned above:
+         # If UNNEEDED_CONVERSIONS contains $file_conv, don't convert.
          ;;
        mingw/*)
          file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
          ;;
-       cygwin/* | msys/*)
-         file=`cygpath -m "$file" || echo "$file"`
+       cygwin/*)
+         file=`cygpath -w "$file" || echo "$file"`
          ;;
        wine/*)
          file=`winepath -w "$file" || echo "$file"`
@@ -143,7 +156,7 @@
          # configure might choose to run compile as 'compile cc -o foo foo.c'.
          eat=1
          case $2 in
-           *.o | *.[oO][bB][jJ])
+           *.o | *.lo | *.[oO][bB][jJ])
              func_file_conv "$2"
              set x "$@" -Fo"$file"
              shift
@@ -248,14 +261,17 @@
 right script to run: please start by reading the file 'INSTALL'.
 
 Report bugs to <[email protected]>.
+GNU Automake home page: <https://www.gnu.org/software/automake/>.
+General help using GNU software: <https://www.gnu.org/gethelp/>.
 EOF
     exit $?
     ;;
   -v | --v*)
-    echo "compile $scriptversion"
+    echo "compile (GNU Automake) $scriptversion"
     exit $?
     ;;
   cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \
+  clang-cl | *[/\\]clang-cl | clang-cl.exe | *[/\\]clang-cl.exe | \
   icl | *[/\\]icl | icl.exe | *[/\\]icl.exe )
     func_cl_wrapper "$@"      # Doesn't return...
     ;;
@@ -340,9 +356,9 @@
 # Local Variables:
 # mode: shell-script
 # sh-indentation: 2
-# eval: (add-hook 'before-save-hook 'time-stamp)
+# eval: (add-hook 'before-save-hook 'time-stamp nil t)
 # time-stamp-start: "scriptversion="
-# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-format: "%Y-%02m-%02d.%02H"
 # time-stamp-time-zone: "UTC0"
 # time-stamp-end: "; # UTC"
 # End:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/xgamma-1.0.7/config.h.in new/xgamma-1.0.8/config.h.in
--- old/xgamma-1.0.7/config.h.in        2022-12-03 22:58:59.000000000 +0100
+++ new/xgamma-1.0.8/config.h.in        2025-07-28 01:02:17.000000000 +0200
@@ -18,7 +18,7 @@
 /* Define to 1 if you have the <string.h> header file. */
 #undef HAVE_STRING_H
 
-/* Define to 1 if you have the `strtof' function. */
+/* Define to 1 if you have the 'strtof' function. */
 #undef HAVE_STRTOF
 
 /* Define to 1 if you have the <sys/stat.h> header file. */
@@ -60,7 +60,7 @@
 /* Patch version of this package */
 #undef PACKAGE_VERSION_PATCHLEVEL
 
-/* Define to 1 if all of the C90 standard headers exist (not just the ones
+/* Define to 1 if all of the C89 standard headers exist (not just the ones
    required in a freestanding environment). This macro is provided for
    backward compatibility; new code need not use it. */
 #undef STDC_HEADERS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/xgamma-1.0.7/configure.ac new/xgamma-1.0.8/configure.ac
--- old/xgamma-1.0.7/configure.ac       2022-12-03 22:58:56.000000000 +0100
+++ new/xgamma-1.0.8/configure.ac       2025-07-28 01:02:13.000000000 +0200
@@ -23,7 +23,7 @@
 
 # Initialize Autoconf
 AC_PREREQ([2.60])
-AC_INIT([xgamma], [1.0.7],
+AC_INIT([xgamma], [1.0.8],
         [https://gitlab.freedesktop.org/xorg/app/xgamma/-/issues], [xgamma])
 AC_CONFIG_SRCDIR([Makefile.am])
 AC_CONFIG_HEADERS([config.h])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/xgamma-1.0.7/man/xgamma.man new/xgamma-1.0.8/man/xgamma.man
--- old/xgamma-1.0.7/man/xgamma.man     2022-12-03 22:58:56.000000000 +0100
+++ new/xgamma-1.0.8/man/xgamma.man     2025-07-28 01:02:13.000000000 +0200
@@ -18,77 +18,66 @@
 .\" other dealings in this Software without prior written authorization
 .\" from The XFree86 Project.
 .\"
-.TH xgamma 1 __vendorversion__
+.TH XGAMMA 1 2014-05-24 __vendorversion__
 .SH NAME
 xgamma - Alter a monitor's gamma correction through the X server
 .SH SYNOPSIS
-.B "xgamma"
-[-display \fIdisplay\fP] [-screen \fIscreen\fP] [-quiet] [-version]
-[-gamma f.f | [[-rgamma f.f] [-ggamma f.f] [-bgamma f.f]]]
+.nf
+\fBxgamma\fP [\fB-display\fP \fIdisplay\fP] [\fB-screen\fP \fIscreen\fP] 
[\fB-quiet\fP] [\fB-help\fP|\fB-version\fP]
+       [\fB-gamma\fP \fIf.f\fP | [[\fB-rgamma\fP \fIf.f\fP] [\fB-ggamma\fP 
\fIf.f\fP] [\fB-bgamma\fP \fIf.f\fP]]]
+.fi
 .SH DESCRIPTION
-.PP
 .B xgamma
 allows X users to query and alter the gamma correction of a monitor via
 the X video mode extension (XFree86-VidModeExtension).
 .PP
-Note that the \fBxgamma\fP utility is obsolete and deficient, \fBxrandr\fP
+Note that the \fBxgamma\fP utility is obsolete and deficient, \fBxrandr\fP(1)
 should be used with drivers that support the \fBXRandr\fP extension.
 .PP
 If no value for the gamma correction is given via the
-.I -gamma
+.B -gamma
 or
-.IR -rgamma / -ggamma / -bgamma
+.BR -rgamma / -ggamma / -bgamma
 options,
 .B xgamma
 prints the current gamma correction of the display.
 .SH OPTIONS
-.PP
 .TP 8
 .B "-display \fIdisplay\fP"
 This argument allows you to specify the server to connect to; see 
\fIX(__miscmansuffix__)\fP.
-.PP
 .TP 8
 .B "-screen \fIscreen\fP"
 When multiple displays are configured as a single logical display, this option
 allows you to select the screen you wish to change.
-.PP
 .TP 8
 .B "-quiet"
 Silence the normal output of
 .B xgamma
-.PP
 .TP 8
 .B "-help"
 Print out the `Usage:' command syntax summary.
-.PP
 .TP 8
 .B "-version"
 Print out the program version and exit.
-.PP
 .TP 8
-.B "-gamma f.f"
+.BI "-gamma " "f.f"
 The gamma correction can either be defined as a single value, or
 separately for the red, green and blue components. This argument
 specifies the gamma correction as a single value.
-.PP
 .TP 8
-.B "-rgamma f.f"
+.BI "-rgamma " "f.f"
 This argument specifies the red component of the gamma correction.
-.PP
 .TP 8
-.B "-ggamma f.f"
+.BI "-ggamma " "f.f"
 This argument specifies the green component of the gamma correction.
-.PP
 .TP 8
-.B "-bgamma f.f"
+.BI "-bgamma " "f.f"
 This argument specifies the blue component of the gamma correction.
 .SH ENVIRONMENT
-.PP
 .TP 8
 .B DISPLAY
 To get default host and display number.
 .SH BUGS
-.PP
 This client changes the internal values of the gamma correction for the
 Xserver. Whether or not these values are respected depends on the video
 drivers.
@@ -96,8 +85,8 @@
 The gamma values are passed to the Xserver with 3 decimal places of
 accuracy.
 .SH SEE ALSO
-xvidtune(__appmansuffix__),
-xrandr(__appmansuffix__)
+.BR xvidtune (__appmansuffix__),
+.BR xrandr (__appmansuffix__)
 .SH AUTHORS
 Kaleb S. Keithley, X Consortium.
 .br
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/xgamma-1.0.7/meson.build new/xgamma-1.0.8/meson.build
--- old/xgamma-1.0.7/meson.build        1970-01-01 01:00:00.000000000 +0100
+++ new/xgamma-1.0.8/meson.build        2025-07-28 01:02:13.000000000 +0200
@@ -0,0 +1,82 @@
+# SPDX-License-Identifier: MIT
+#
+# Copyright (c) 2025, Oracle and/or its affiliates.
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the "Software"),
+# to deal in the Software without restriction, including without limitation
+# the rights to use, copy, modify, merge, publish, distribute, sublicense,
+# and/or sell copies of the Software, and to permit persons to whom the
+# Software is furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice (including the next
+# paragraph) shall be included in all copies or substantial portions of the
+# Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
+# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+# DEALINGS IN THE SOFTWARE.
+#
+
+project(
+  'xgamma',
+  'c',
+  version: '1.0.8',
+  license: 'X11',
+  license_files: 'COPYING',
+  meson_version: '>= 1.1.0',
+)
+
+package_string = ' '.join(meson.project_name(), meson.project_version())
+conf = configuration_data()
+conf.set_quoted('PACKAGE_STRING', package_string)
+
+cc = meson.get_compiler('c')
+
+# Replacement for XORG_DEFAULT_OPTIONS
+if cc.has_argument('-fno-strict-aliasing')
+  add_project_arguments('-fno-strict-aliasing', language: 'c')
+endif
+
+conf.set('HAVE_STRTOF', cc.has_function('strtof') ? '1' : false)
+
+# Checks for pkg-config packages
+dep_libx11     = dependency('x11', required: true)
+dep_libxxf86vm = dependency('xxf86vm', required: true)
+dep_xproto     = dependency('xproto', required: true, version: '>= 7.0.17')
+deps = [dep_libx11, dep_libxxf86vm, dep_xproto]
+
+config_h = configure_file(output: 'config.h', configuration: conf)
+add_project_arguments('-DHAVE_CONFIG_H', language: ['c'])
+
+executable(
+  'xgamma',
+  [config_h, 'xgamma.c'],
+  dependencies: deps,
+  install: true
+)
+
+# Man page
+prog_sed = find_program('sed')
+
+custom_target(
+  'xgamma.man',
+  input: 'man/xgamma.man',
+  output: 'xgamma.1',
+  command: [
+    prog_sed,
+    '-e', 's/__vendorversion__/"@0@" "X Version 11"/'.format(package_string),
+    '-e', 's/__appmansuffix__/1/g',
+    '-e', 's/__libmansuffix__/3/g',
+    '-e', 's/__filemansuffix__/5/g',
+    '-e', 's/__miscmansuffix__/7/g',
+    '@INPUT@',
+  ],
+  capture: true,
+  install: true,
+  install_dir: get_option('mandir') / 'man1',
+)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/xgamma-1.0.7/missing new/xgamma-1.0.8/missing
--- old/xgamma-1.0.7/missing    2022-12-03 22:59:00.000000000 +0100
+++ new/xgamma-1.0.8/missing    2025-07-28 01:02:18.000000000 +0200
@@ -1,9 +1,11 @@
 #! /bin/sh
-# Common wrapper for a few potentially missing GNU programs.
+# Common wrapper for a few potentially missing GNU and other programs.
 
-scriptversion=2018-03-07.03; # UTC
+scriptversion=2025-06-18.21; # UTC
 
-# Copyright (C) 1996-2021 Free Software Foundation, Inc.
+# shellcheck disable=SC2006,SC2268 # we must support pre-POSIX shells
+
+# Copyright (C) 1996-2025 Free Software Foundation, Inc.
 # Originally written by Fran,cois Pinard <[email protected]>, 1996.
 
 # This program is free software; you can redistribute it and/or modify
@@ -54,18 +56,20 @@
   -v, --version   output version information and exit
 
 Supported PROGRAM values:
-  aclocal   autoconf  autoheader   autom4te  automake  makeinfo
-  bison     yacc      flex         lex       help2man
+aclocal autoconf autogen  autoheader autom4te automake autoreconf
+bison   flex     help2man lex        makeinfo perl     yacc
 
 Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
 'g' are ignored when checking the name.
 
-Send bug reports to <[email protected]>."
+Report bugs to <[email protected]>.
+GNU Automake home page: <https://www.gnu.org/software/automake/>.
+General help using GNU software: <https://www.gnu.org/gethelp/>."
     exit $?
     ;;
 
   -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
-    echo "missing $scriptversion (GNU Automake)"
+    echo "missing (GNU Automake) $scriptversion"
     exit $?
     ;;
 
@@ -108,7 +112,7 @@
 program_details ()
 {
   case $1 in
-    aclocal|automake)
+    aclocal|automake|autoreconf)
       echo "The '$1' program is part of the GNU Automake package:"
       echo "<$gnu_software_URL/automake>"
       echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:"
@@ -123,6 +127,9 @@
       echo "<$gnu_software_URL/m4/>"
       echo "<$perl_URL>"
       ;;
+    *)
+      :
+      ;;
   esac
 }
 
@@ -137,48 +144,55 @@
   printf '%s\n' "'$1' is $msg."
 
   configure_deps="'configure.ac' or m4 files included by 'configure.ac'"
+  autoheader_deps="'acconfig.h'"
+  automake_deps="'Makefile.am'"
+  aclocal_deps="'acinclude.m4'"
   case $normalized_program in
+    aclocal*)
+      echo "You should only need it if you modified $aclocal_deps or"
+      echo "$configure_deps."
+      ;;
     autoconf*)
-      echo "You should only need it if you modified 'configure.ac',"
-      echo "or m4 files included by it."
-      program_details 'autoconf'
+      echo "You should only need it if you modified $configure_deps."
+      ;;
+    autogen*)
+      echo "You should only need it if you modified a '.def' or '.tpl' file."
+      echo "You may want to install the GNU AutoGen package:"
+      echo "<$gnu_software_URL/autogen/>"
       ;;
     autoheader*)
-      echo "You should only need it if you modified 'acconfig.h' or"
+      echo "You should only need it if you modified $autoheader_deps or"
       echo "$configure_deps."
-      program_details 'autoheader'
       ;;
     automake*)
-      echo "You should only need it if you modified 'Makefile.am' or"
-      echo "$configure_deps."
-      program_details 'automake'
-      ;;
-    aclocal*)
-      echo "You should only need it if you modified 'acinclude.m4' or"
+      echo "You should only need it if you modified $automake_deps or"
       echo "$configure_deps."
-      program_details 'aclocal'
       ;;
-   autom4te*)
+    autom4te*)
       echo "You might have modified some maintainer files that require"
       echo "the 'autom4te' program to be rebuilt."
-      program_details 'autom4te'
+      ;;
+    autoreconf*)
+      echo "You should only need it if you modified $aclocal_deps or"
+      echo "$automake_deps or $autoheader_deps or $automake_deps or"
+      echo "$configure_deps."
       ;;
     bison*|yacc*)
       echo "You should only need it if you modified a '.y' file."
       echo "You may want to install the GNU Bison package:"
       echo "<$gnu_software_URL/bison/>"
       ;;
-    lex*|flex*)
-      echo "You should only need it if you modified a '.l' file."
-      echo "You may want to install the Fast Lexical Analyzer package:"
-      echo "<$flex_URL>"
-      ;;
     help2man*)
       echo "You should only need it if you modified a dependency" \
            "of a man page."
       echo "You may want to install the GNU Help2man package:"
       echo "<$gnu_software_URL/help2man/>"
     ;;
+    lex*|flex*)
+      echo "You should only need it if you modified a '.l' file."
+      echo "You may want to install the Fast Lexical Analyzer package:"
+      echo "<$flex_URL>"
+      ;;
     makeinfo*)
       echo "You should only need it if you modified a '.texi' file, or"
       echo "any other file indirectly affecting the aspect of the manual."
@@ -189,6 +203,12 @@
       echo "want to install GNU make:"
       echo "<$gnu_software_URL/make/>"
       ;;
+    perl*)
+      echo "You should only need it to run GNU Autoconf, GNU Automake, "
+      echo "  assorted other tools, or if you modified a Perl source file."
+      echo "You may want to install the Perl 5 language interpreter:"
+      echo "<$perl_URL>"
+      ;;
     *)
       echo "You might have modified some files without having the proper"
       echo "tools for further handling them.  Check the 'README' file, it"
@@ -197,6 +217,7 @@
       echo "case some other package contains this missing '$1' program."
       ;;
   esac
+  program_details "$normalized_program"
 }
 
 give_advice "$1" | sed -e '1s/^/WARNING: /' \
@@ -207,9 +228,9 @@
 exit $st
 
 # Local variables:
-# eval: (add-hook 'before-save-hook 'time-stamp)
+# eval: (add-hook 'before-save-hook 'time-stamp nil t)
 # time-stamp-start: "scriptversion="
-# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-format: "%Y-%02m-%02d.%02H"
 # time-stamp-time-zone: "UTC0"
 # time-stamp-end: "; # UTC"
 # End:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/xgamma-1.0.7/xgamma.c new/xgamma-1.0.8/xgamma.c
--- old/xgamma-1.0.7/xgamma.c   2022-12-03 22:58:56.000000000 +0100
+++ new/xgamma-1.0.8/xgamma.c   2025-07-28 01:02:13.000000000 +0200
@@ -52,7 +52,7 @@
 #define GAMMA_MAX 10.0f
 
 static void _X_NORETURN
-Syntax(const char *errmsg)
+Syntax(const char *errmsg, int exitstatus)
 {
     if (errmsg != NULL)
         fprintf (stderr, "%s: %s\n\n", ProgramName, errmsg);
@@ -68,7 +68,7 @@
              "    -ggamma f.f             Green Gamma Value\n"
              "    -bgamma f.f             Blue Gamma Value\n\n"
              "If no gamma is specified, returns the current setting\n");
-    exit (1);
+    exit (exitstatus);
 }
 
 
@@ -116,81 +116,93 @@
 
        if (arg[0] == '-') {
            if (isabbreviation ("-display", arg, 1)) {
-               if (++i >= argc) Syntax ("-display requires an argument");
+               if (++i >= argc)
+                   Syntax ("-display requires an argument", EXIT_FAILURE);
                displayname = argv[i];
                continue;
            } else if (isabbreviation ("-quiet", arg, 1)) {
                quiet = True;
                continue;
-           } else if (isabbreviation ("-version", arg, 1)) {
+           } else if (isabbreviation ("-version", arg, 1) ||
+                      !strcmp("--version", arg)) {
                puts(PACKAGE_STRING);
-               exit(0);
+               exit(EXIT_SUCCESS);
+           } else if (isabbreviation ("-help", arg, 1) ||
+                      !strcmp("--help", arg)) {
+               Syntax(NULL, EXIT_SUCCESS);
            } else if (isabbreviation ("-screen", arg, 1)) {
-               if (++i >= argc) Syntax ("-screen requires an argument");
+               if (++i >= argc)
+                   Syntax ("-screen requires an argument", EXIT_FAILURE);
                screen = atoi(argv[i]);
                continue;
            } else if (isabbreviation ("-gamma", arg, 2)) {
-               if (++i >= argc) Syntax ("-gamma requires an argument");
+               if (++i >= argc)
+                   Syntax ("-gamma requires an argument", EXIT_FAILURE);
                if ((rgam >= 0.0f) || (ggam >= 0.0f) || (bgam >= 0.0f))
-                   Syntax ("-gamma cannot be used with -rgamma, -ggamma, or 
-bgamma");
+                   Syntax ("-gamma cannot be used with -rgamma, -ggamma, or 
-bgamma", EXIT_FAILURE);
                gam = strtof(argv[i], NULL);
                if ((gam < GAMMA_MIN) || (gam > GAMMA_MAX)) {
                    fprintf(stderr,
                            "Gamma values must be between %6.3f and %6.3f\n",
                            (double)GAMMA_MIN, (double)GAMMA_MAX);
-                   exit(1);
+                   exit(EXIT_FAILURE);
                }
                continue;
            } else if (isabbreviation ("-rgamma", arg, 2)) {
-               if (++i >= argc) Syntax ("-rgamma requires an argument");
-               if (gam >= 0.0f) Syntax ("cannot set both -gamma and -rgamma");
+               if (++i >= argc)
+                   Syntax ("-rgamma requires an argument", EXIT_FAILURE);
+               if (gam >= 0.0f)
+                   Syntax ("cannot set both -gamma and -rgamma", EXIT_FAILURE);
                rgam = strtof(argv[i], NULL);
                if ((rgam < GAMMA_MIN) || (rgam > GAMMA_MAX)) {
                    fprintf(stderr,
                            "Gamma values must be between %6.3f and %6.3f\n",
                            (double)GAMMA_MIN, (double)GAMMA_MAX);
-                   exit(1);
+                   exit(EXIT_FAILURE);
                }
                continue;
            } else if (isabbreviation ("-ggamma", arg, 2)) {
-               if (++i >= argc) Syntax ("-ggamma requires an argument");
-               if (gam >= 0.0f) Syntax ("cannot set both -gamma and -ggamma");
+               if (++i >= argc)
+                   Syntax ("-ggamma requires an argument", EXIT_FAILURE);
+               if (gam >= 0.0f)
+                   Syntax ("cannot set both -gamma and -ggamma", EXIT_FAILURE);
                ggam = strtof(argv[i], NULL);
                if ((ggam < GAMMA_MIN) || (ggam > GAMMA_MAX)) {
                    fprintf(stderr,
                            "Gamma values must be between %6.3f and %6.3f\n",
                            (double)GAMMA_MIN, (double)GAMMA_MAX);
-                   exit(1);
+                   exit(EXIT_FAILURE);
                }
                continue;
            } else if (isabbreviation ("-bgamma", arg, 2)) {
-               if (++i >= argc) Syntax ("-bgamma requires an argument");
-               if (gam >= 0.0f) Syntax ("cannot set both -gamma and -bgamma");
+               if (++i >= argc)
+                   Syntax ("-bgamma requires an argument", EXIT_FAILURE);
+               if (gam >= 0.0f)
+                   Syntax ("cannot set both -gamma and -bgamma", EXIT_FAILURE);
                bgam = strtof(argv[i], NULL);
                if ((bgam < GAMMA_MIN) || (bgam > GAMMA_MAX)) {
                    fprintf(stderr,
                            "Gamma values must be between %6.3f and %6.3f\n",
                            (double)GAMMA_MIN, (double)GAMMA_MAX);
-                   exit(1);
+                   exit(EXIT_FAILURE);
                }
                continue;
            } else {
-               if (!isabbreviation ("-help", arg, 1))
-                   fprintf (stderr, "%s: unrecognized argument %s\n\n",
-                            ProgramName, arg);
-               Syntax (NULL);
+               fprintf (stderr, "%s: unrecognized argument %s\n\n",
+                        ProgramName, arg);
+               Syntax (NULL, EXIT_FAILURE);
            }
        } else {
            fprintf (stderr, "%s: unrecognized argument %s\n\n",
                     ProgramName, arg);
-           Syntax (NULL);
+           Syntax (NULL, EXIT_FAILURE);
        }
     }
 
     if ((dpy = XOpenDisplay(displayname)) == NULL) {
        fprintf (stderr, "%s:  unable to open display '%s'\n",
                 ProgramName, XDisplayName (displayname));
-       exit(1);
+       exit(EXIT_FAILURE);
     } else if (screen == -1)
        screen = DefaultScreen(dpy);
 
@@ -232,7 +244,7 @@
        if (bgam >= 0.0f) gamma.blue = bgam;
     } else {
        /* Not changing gamma, all done */
-       ret = 0;
+       ret = EXIT_SUCCESS;
        goto finish;
     }
 
@@ -243,7 +255,7 @@
        if (!XF86VidModeGetGamma(dpy, screen, &gamma)) {
            fprintf(stderr, "Unable to query gamma correction\n");
        } else {
-           ret = 0; /* Success! */
+           ret = EXIT_SUCCESS; /* Success! */
            if (!quiet) {
                fprintf(stderr, "<- Red %6.3f, Green %6.3f, Blue %6.3f\n",
                        (double)gamma.red, (double)gamma.green,

++++++ xgamma.keyring ++++++
++++ 1020 lines (skipped)
++++ between xgamma.keyring
++++ and /work/SRC/openSUSE:Factory/.xgamma.new.1928/xgamma.keyring

Reply via email to