Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package xsm for openSUSE:Factory checked in at 2024-03-04 21:25:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xsm (Old) and /work/SRC/openSUSE:Factory/.xsm.new.1770 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xsm" Mon Mar 4 21:25:15 2024 rev:12 rq:1154504 version:1.0.6 Changes: -------- --- /work/SRC/openSUSE:Factory/xsm/xsm.changes 2024-02-26 19:49:10.470115758 +0100 +++ /work/SRC/openSUSE:Factory/.xsm.new.1770/xsm.changes 2024-03-04 21:25:20.494843090 +0100 @@ -1,0 +2,12 @@ +Mon Mar 4 04:34:09 UTC 2024 - Stefan Dirsch <sndir...@suse.com> + +- Update to version 1.0.6 + * unifdef -UUSG + * unifdef -UMOTOROLA + * gitlab CI: stop requiring Signed-off-by in commits + * Add -help and -version options + * unifdef SCO325 + * unifdef SCO + * unifdef SYSV + +------------------------------------------------------------------- Old: ---- xsm-1.0.5.tar.xz New: ---- xsm-1.0.6.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xsm.spec ++++++ --- /var/tmp/diff_new_pack.pUUIk6/_old 2024-03-04 21:25:21.058863556 +0100 +++ /var/tmp/diff_new_pack.pUUIk6/_new 2024-03-04 21:25:21.058863556 +0100 @@ -1,7 +1,7 @@ # # spec file for package xsm # -# Copyright (c) 2022 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 @@ -20,7 +20,7 @@ %define _distconfdir %{_prefix}%{_sysconfdir} %endif Name: xsm -Version: 1.0.5 +Version: 1.0.6 Release: 0 Summary: X Session Manager License: MIT ++++++ xsm-1.0.5.tar.xz -> xsm-1.0.6.tar.xz ++++++ ++++ 6835 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/xsm-1.0.5/ChangeLog new/xsm-1.0.6/ChangeLog --- old/xsm-1.0.5/ChangeLog 2022-04-04 02:05:46.000000000 +0200 +++ new/xsm-1.0.6/ChangeLog 2024-03-04 00:28:51.000000000 +0100 @@ -1,3 +1,74 @@ +commit 0575b27ebc908042e85a7b717a021ace939762a3 +Author: Alan Coopersmith <alan.coopersm...@oracle.com> +Date: Sun Mar 3 15:25:02 2024 -0800 + + xsm 1.0.6 + + Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com> + +commit 1c7a3d9a12b825e4d96bfdded86f233404970261 +Author: Alan Coopersmith <alan.coopersm...@oracle.com> +Date: Sat Feb 17 14:13:14 2024 -0800 + + unifdef SYSV + + Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com> + +commit 71a8ea3d874084d24840b8869f0475146ad8a414 +Author: Alan Coopersmith <alan.coopersm...@oracle.com> +Date: Sat Feb 17 14:09:57 2024 -0800 + + unifdef SCO + + Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com> + +commit 06517bd7bff541f85fbddf78a6728ad0c29bd12c +Author: Alan Coopersmith <alan.coopersm...@oracle.com> +Date: Sat Feb 17 14:09:30 2024 -0800 + + unifdef SCO325 + + Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com> + +commit 4c6626a0d6a2a3615713a44c2226028e37d68ec1 +Author: Alan Coopersmith <alan.coopersm...@oracle.com> +Date: Sat Feb 11 17:33:24 2023 -0800 + + Add -help and -version options + + Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com> + +commit 1958a53e86c2aad0cdeb03d588d6ea1d2616c4a2 +Author: Alan Coopersmith <alan.coopersm...@oracle.com> +Date: Thu Jul 28 17:30:21 2022 -0700 + + gitlab CI: stop requiring Signed-off-by in commits + + Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com> + +commit 5680c13e833dfc3375f25e33a18b151f33147ea5 +Author: Alan Coopersmith <alan.coopersm...@oracle.com> +Date: Mon Aug 15 17:37:51 2022 -0700 + + unifdef -UMOTOROLA + + Motorola System V/88 was last released in the mid-90's and has + never been supported in X11R7 modular builds. + + Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com> + +commit 8779682224ef654ac654d75c9ba6df09bd9b92fa +Author: Alan Coopersmith <alan.coopersm...@oracle.com> +Date: Mon Aug 15 17:32:13 2022 -0700 + + unifdef -UUSG + + USG was defined for a handful of pre-SVR4 systems based on + AT&T's Unix System Group releases in the old imake configs + and has never been defined in X11R7 modular builds. + + Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com> + commit 6733ee9baffaef106792c0457c53b5c9452d0021 Author: Alan Coopersmith <alan.coopersm...@oracle.com> Date: Sun Apr 3 17:03:13 2022 -0700 @@ -227,7 +298,7 @@ Signed-off-by: Gaetan Nadon <mems...@videotron.ca> commit 9f4bee64da58ed95923ceee4abfe56d5125974f6 -Author: Stéphane Aulery <lk...@free.fr> +Author: Stéphane Aulery <lk...@free.fr> Date: Thu Jul 4 00:53:43 2013 +0200 Improve help messages & man page @@ -237,7 +308,7 @@ Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com> commit 9a7429ed7734531ca313d8c1f724bcb07c33ff54 -Author: Stéphane Aulery <lk...@free.fr> +Author: Stéphane Aulery <lk...@free.fr> Date: Sat Jul 6 15:40:56 2013 +0200 Drop CRAY support @@ -834,7 +905,7 @@ against tempfile race conditions in many places) commit 2f07c342e877fde5d3f64041ca6ff365a643ddc8 -Author: Søren Sandmann Pedersen <sandm...@daimi.au.dk> +Author: Søren Sandmann Pedersen <sandm...@daimi.au.dk> Date: Fri Jul 1 20:09:07 2005 +0000 xtrap.pc.in: s/Xfixes/XTrap/ xi.pc.in: s/Xt/Xi/ Xv/src/Makefile.am: remove 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/xsm-1.0.5/choose.c new/xsm-1.0.6/choose.c --- old/xsm-1.0.5/choose.c 2022-04-04 02:05:37.000000000 +0200 +++ new/xsm-1.0.6/choose.c 2024-03-04 00:28:42.000000000 +0100 @@ -39,19 +39,11 @@ #ifndef X_NOT_POSIX #include <dirent.h> #else -#ifdef SYSV -#include <dirent.h> -#else -#ifdef USG -#include <dirent.h> -#else #include <sys/dir.h> #ifndef dirent #define dirent direct #endif #endif -#endif -#endif static Pixel save_message_foreground; static Pixel save_message_background; 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/xsm-1.0.5/config.h.in new/xsm-1.0.6/config.h.in --- old/xsm-1.0.5/config.h.in 2022-04-04 02:05:40.000000000 +0200 +++ new/xsm-1.0.6/config.h.in 2024-03-04 00:28:46.000000000 +0100 @@ -3,10 +3,10 @@ /* Define to 1 if you have the <inttypes.h> header file. */ #undef HAVE_INTTYPES_H -/* Define to 1 if you have the `mkstemp' function. */ +/* Define to 1 if you have the 'mkstemp' function. */ #undef HAVE_MKSTEMP -/* Define to 1 if you have the `putenv' function. */ +/* Define to 1 if you have the 'putenv' function. */ #undef HAVE_PUTENV /* Define to 1 if you have the <stdint.h> header file. */ @@ -63,7 +63,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/xsm-1.0.5/configure.ac new/xsm-1.0.6/configure.ac --- old/xsm-1.0.5/configure.ac 2022-04-04 02:05:37.000000000 +0200 +++ new/xsm-1.0.6/configure.ac 2024-03-04 00:28:42.000000000 +0100 @@ -23,8 +23,8 @@ # Initialize Autoconf AC_PREREQ([2.60]) -AC_INIT([xsm], [1.0.5], - [https://gitlab.freedesktop.org/xorg/app/xsm/issues], [xsm]) +AC_INIT([xsm], [1.0.6], + [https://gitlab.freedesktop.org/xorg/app/xsm/-/issues], [xsm]) 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/xsm-1.0.5/man/xsm.man new/xsm-1.0.6/man/xsm.man --- old/xsm-1.0.5/man/xsm.man 2022-04-04 02:05:37.000000000 +0200 +++ new/xsm-1.0.6/man/xsm.man 2024-03-04 00:28:42.000000000 +0100 @@ -31,7 +31,10 @@ xsm \- X Session Manager .SH SYNOPSIS .B xsm -[-display \fIdisplay\fP] [-session \fIsessionName\fP] [-verbose] +[\fB\-display\fP \fIdisplay\fP] [\fB\-session\fP \fIsessionName\fP] [\fB-verbose\fP] +.br +.B xsm +[\fB\-help\fP | \fB-verbose\fP] .SH DESCRIPTION .PP \fIxsm\fP is a session manager. A session is a group of applications, each @@ -61,6 +64,12 @@ .TP 8 .B \-verbose Turns on debugging information. +.TP 8 +.B \-help +Prints usage message and exits. +.TP 8 +.B \-version +Prints version info and exits. .SH SETUP .SS .xsession file Using \fIxsm\fP requires a change to your \fI.xsession\fP file: 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/xsm-1.0.5/signals.c new/xsm-1.0.6/signals.c --- old/xsm-1.0.5/signals.c 2022-04-04 02:05:37.000000000 +0200 +++ new/xsm-1.0.6/signals.c 2024-03-04 00:28:42.000000000 +0100 @@ -36,20 +36,7 @@ #include "save.h" #include <errno.h> -#ifdef USG -#ifndef __TYPES__ -#include <sys/types.h> /* forgot to protect it... */ -#define __TYPES__ -#endif /* __TYPES__ */ -#else -#if defined(_POSIX_SOURCE) && defined(MOTOROLA) -#undef _POSIX_SOURCE #include <sys/types.h> -#define _POSIX_SOURCE -#else -#include <sys/types.h> -#endif -#endif /* USG */ #ifdef X_POSIX_C_SOURCE #define _POSIX_C_SOURCE X_POSIX_C_SOURCE @@ -63,10 +50,6 @@ #else #define _POSIX_SOURCE #include <signal.h> -#ifdef SCO325 -#include <sys/procset.h> -#include <sys/siginfo.h> -#endif #include <sys/wait.h> #undef _POSIX_SOURCE #endif @@ -78,18 +61,10 @@ #define USE_POSIX_WAIT #endif -#if defined(linux) || defined(SYSV) +#ifdef linux #define USE_SYSV_SIGNALS #endif -#if defined(SCO) -#undef SIGTSTP /* defined, but not the BSD way */ -#endif - -#if defined(X_NOT_POSIX) && defined(SYSV) -#define SIGNALS_RESET_WHEN_CAUGHT -#endif - #include <stddef.h> #include "xsm.h" @@ -122,10 +97,6 @@ wait (NULL); #endif -#ifdef SIGNALS_RESET_WHEN_CAUGHT - Signal (SIGCHLD, sig_child_handler); -#endif - /* * The wait() above must come before re-establishing the signal handler. * In between this time, a new child might have died. If we can do 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/xsm-1.0.5/xsm.c new/xsm-1.0.6/xsm.c --- old/xsm-1.0.5/xsm.c 2022-04-04 02:05:37.000000000 +0200 +++ new/xsm-1.0.6/xsm.c 2024-03-04 00:28:42.000000000 +0100 @@ -170,6 +170,8 @@ for (i = 1; i < argc; i++) { + int exit_val = EXIT_FAILURE; + if (argv[i][0] == '-') { switch (argv[i][1]) @@ -183,6 +185,13 @@ cmd_line_display = (char *) XtNewString (argv[i]); continue; + case 'h': + if (strcmp (argv[i], "-help") == 0) { + exit_val = EXIT_SUCCESS; + goto usage; + } + break; /* goto unrecognized argument errror */ + case 's': /* -session */ if (++i >= argc) { fprintf (stderr, "%s: -session requires an argument\n", @@ -192,8 +201,14 @@ session_name = XtNewString (argv[i]); continue; - case 'v': /* -verbose */ - verbose = 1; + case 'v': + if (strcmp (argv[i], "-version") == 0) { + puts (PACKAGE_STRING); + exit (0); + } + else { /* -verbose */ + verbose = 1; + } continue; } } @@ -202,8 +217,9 @@ usage: fprintf (stderr, - "Usage: xsm [-display display] [-session sessionName] [-verbose]\n"); - exit (1); + "Usage: xsm [-display display] [-session sessionName] [-verbose]\n" + " xsm [-help|-version]\n"); + exit (exit_val); } topLevel = XtVaAppInitialize (&appContext, "XSm", NULL, 0,