Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libXfixes for openSUSE:Factory checked in at 2021-05-15 23:15:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libXfixes (Old) and /work/SRC/openSUSE:Factory/.libXfixes.new.2988 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libXfixes" Sat May 15 23:15:30 2021 rev:12 rq:892438 version:6.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libXfixes/libXfixes.changes 2016-11-05 21:21:27.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libXfixes.new.2988/libXfixes.changes 2021-05-15 23:16:37.336634222 +0200 @@ -1,0 +2,18 @@ +Wed May 12 09:30:37 UTC 2021 - Stefan Dirsch <sndir...@suse.com> + +- Update to version 6.0.0 + * The big new feature here is support for the new + ClientDisconnectMode. From the corresponding + xorgproto announcement: + An X server that is started on demand (Xwayland) should ideally + also terminate when the last client disconnects. However, some + X11 clients that provide system services will linger around + forever, preventing that shutdown. + * With the new XFixes request, a client can designate itself as + to-be-terminated and the X server can ignore those clients when + counting the number of remaining clients. If no other clients + are left, the server can shut down. + * Note that this requires changes to the X server and each + client to work. + +------------------------------------------------------------------- Old: ---- libXfixes-5.0.3.tar.bz2 New: ---- libXfixes-6.0.0.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libXfixes.spec ++++++ --- /var/tmp/diff_new_pack.40dLxe/_old 2021-05-15 23:16:37.736632660 +0200 +++ /var/tmp/diff_new_pack.40dLxe/_new 2021-05-15 23:16:37.736632660 +0200 @@ -1,7 +1,7 @@ # # spec file for package libXfixes # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,18 +12,18 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: libXfixes %define lname libXfixes3 -Version: 5.0.3 +Version: 6.0.0 Release: 0 Summary: X11 miscellaneous "fixes" extension library License: MIT Group: Development/Libraries/C and C++ -Url: http://xorg.freedesktop.org/ +URL: http://xorg.freedesktop.org/ #Git-Clone: git://anongit.freedesktop.org/xorg/lib/libXfixes #Git-Web: http://cgit.freedesktop.org/xorg/lib/libXfixes/ ++++++ libXfixes-5.0.3.tar.bz2 -> libXfixes-6.0.0.tar.bz2 ++++++ ++++ 27773 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/libXfixes-5.0.3/ChangeLog new/libXfixes-6.0.0/ChangeLog --- old/libXfixes-5.0.3/ChangeLog 2016-10-04 22:21:50.000000000 +0200 +++ new/libXfixes-6.0.0/ChangeLog 2021-05-12 01:46:23.000000000 +0200 @@ -1,3 +1,83 @@ +commit 6fe3bd64dd82f704ed91478acb4c99ab5c00be16 +Author: Peter Hutterer <peter.hutte...@who-t.net> +Date: Wed May 12 09:34:39 2021 +1000 + + libXfixes 6.0.0 + + Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net> + +commit 883f89dd39dcdae9a38e46f74a43b316180c8a19 +Author: Olivier Fourdan <ofour...@redhat.com> +Date: Thu Mar 11 09:27:06 2021 +0100 + + xfixes: Add ClientDisconnectMode + + The Xserver itself is capable of terminating itself once all X11 clients + are gone, yet in a typical full session, there are a number of X11 + clients running continuously (e.g. the Xsettings daemon, IBus, etc.). + + Those always-running clients will prevent the Xserver from terminating, + because the actual number of X11 clients will never drop to 0. + + To solve this issue directly at the Xserver level, this add new entries + to the XFixes extension to let the X11 clients themselves specify the + disconnect mode they expect. + + Typically, those X11 daemon clients would specify the disconnect mode + XFixesClientDisconnectFlagTerminate to let the Xserver know that they + should not be accounted for when checking the remaining clients prior + to terminate. + + Signed-off-by: Olivier Fourdan <ofour...@redhat.com> + +commit 174a94975af710247719310cfc53bd13e1f3b44d +Author: Alan Coopersmith <alan.coopersm...@oracle.com> +Date: Sat Mar 16 12:39:31 2019 -0700 + + Update configure.ac bug URL for gitlab migration + + Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com> + +commit 1e238b40bbef0664d281432c19634df39a19b1ee +Author: Alan Coopersmith <alan.coopersm...@oracle.com> +Date: Mon Nov 19 21:58:32 2018 -0800 + + Update README for gitlab migration + + Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com> + +commit b9b75d74c3e78c5df70c512786d1ee6db45975aa +Author: Mihail Konev <k....@ya.ru> +Date: Thu Jan 26 13:52:49 2017 +1000 + + autogen: add default patch prefix + + Signed-off-by: Mihail Konev <k....@ya.ru> + +commit 6f950642597f2f1f509c339861d9f40baf28c39b +Author: Emil Velikov <emil.l.veli...@gmail.com> +Date: Mon Mar 9 12:00:52 2015 +0000 + + autogen.sh: use quoted string variables + + Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent + fall-outs, when they contain space. + + Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com> + Reviewed-by: Peter Hutterer <peter.hutte...@who-t.net> + Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net> + +commit 65845c5fc7098f9232cd356248aebc7db9a38095 +Author: Peter Hutterer <peter.hutte...@who-t.net> +Date: Tue Jan 24 10:32:07 2017 +1000 + + autogen.sh: use exec instead of waiting for configure to finish + + Syncs the invocation of configure with the one from the server. + + Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net> + Reviewed-by: Emil Velikov <emil.veli...@collabora.com> + commit 84df9cb81cc31bbed27ba241a23ae04f61da57db Author: Matthieu Herrb <matthieu.he...@laas.fr> Date: Tue Oct 4 21:11:55 2016 +0200 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/libXfixes-5.0.3/INSTALL new/libXfixes-6.0.0/INSTALL --- old/libXfixes-5.0.3/INSTALL 2016-10-04 22:21:50.000000000 +0200 +++ new/libXfixes-6.0.0/INSTALL 2021-05-12 01:46:23.000000000 +0200 @@ -1,11 +1,13 @@ Installation Instructions ************************* -Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005, -2006, 2007, 2008 Free Software Foundation, Inc. +Copyright (C) 1994-1996, 1999-2002, 2004-2011 Free Software Foundation, +Inc. - This file is free documentation; the Free Software Foundation gives -unlimited permission to copy, distribute and modify it. + Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. This file is offered as-is, +without warranty of any kind. Basic Installation ================== @@ -13,7 +15,11 @@ Briefly, the shell commands `./configure; make; make install' should configure, build, and install this package. The following more-detailed instructions are generic; see the `README' file for -instructions specific to this package. +instructions specific to this package. Some packages provide this +`INSTALL' file but do not implement all of the features documented +below. The lack of an optional feature in a given package is not +necessarily a bug. More recommendations for GNU packages can be found +in *note Makefile Conventions: (standards)Makefile Conventions. The `configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses @@ -42,7 +48,7 @@ you want to change it or regenerate `configure' using a newer version of `autoconf'. -The simplest way to compile this package is: + The simplest way to compile this package is: 1. `cd' to the directory containing the package's source code and type `./configure' to configure the package for your system. @@ -53,12 +59,22 @@ 2. Type `make' to compile the package. 3. Optionally, type `make check' to run any self-tests that come with - the package. + the package, generally using the just-built uninstalled binaries. 4. Type `make install' to install the programs and any data files and - documentation. + documentation. When installing into a prefix owned by root, it is + recommended that the package be configured and built as a regular + user, and only the `make install' phase executed with root + privileges. + + 5. Optionally, type `make installcheck' to repeat any self-tests, but + this time using the binaries in their final installed location. + This target does not install anything. Running this target as a + regular user, particularly if the prior `make install' required + root privileges, verifies that the installation completed + correctly. - 5. You can remove the program binaries and object files from the + 6. You can remove the program binaries and object files from the source code directory by typing `make clean'. To also remove the files that `configure' created (so you can compile the package for a different kind of computer), type `make distclean'. There is @@ -67,8 +83,15 @@ all sorts of other programs in order to regenerate files that came with the distribution. - 6. Often, you can also type `make uninstall' to remove the installed - files again. + 7. Often, you can also type `make uninstall' to remove the installed + files again. In practice, not all packages have tested that + uninstallation works correctly, even though it is required by the + GNU Coding Standards. + + 8. Some packages, particularly those that use Automake, provide `make + distcheck', which can by used by developers to test that all other + targets like `make install' and `make uninstall' work correctly. + This target is generally not run by end users. Compilers and Options ===================== @@ -93,7 +116,8 @@ own directory. To do this, you can use GNU `make'. `cd' to the directory where you want the object files and executables to go and run the `configure' script. `configure' automatically checks for the -source code in the directory that `configure' is in and in `..'. +source code in the directory that `configure' is in and in `..'. This +is known as a "VPATH" build. With a non-GNU `make', it is safer to compile the package for one architecture at a time in the source code directory. After you have @@ -120,7 +144,8 @@ By default, `make install' installs the package's commands under `/usr/local/bin', include files under `/usr/local/include', etc. You can specify an installation prefix other than `/usr/local' by giving -`configure' the option `--prefix=PREFIX'. +`configure' the option `--prefix=PREFIX', where PREFIX must be an +absolute file name. You can specify separate installation prefixes for architecture-specific files and architecture-independent files. If you @@ -131,15 +156,46 @@ In addition, if you use an unusual directory layout you can give options like `--bindir=DIR' to specify different values for particular kinds of files. Run `configure --help' for a list of the directories -you can set and what kinds of files go in them. +you can set and what kinds of files go in them. In general, the +default for these options is expressed in terms of `${prefix}', so that +specifying just `--prefix' will affect all of the other directory +specifications that were not explicitly provided. + + The most portable way to affect installation locations is to pass the +correct locations to `configure'; however, many packages provide one or +both of the following shortcuts of passing variable assignments to the +`make install' command line to change installation locations without +having to reconfigure or recompile. + + The first method involves providing an override variable for each +affected directory. For example, `make install +prefix=/alternate/directory' will choose an alternate location for all +directory configuration variables that were expressed in terms of +`${prefix}'. Any directories that were specified during `configure', +but not in terms of `${prefix}', must each be overridden at install +time for the entire installation to be relocated. The approach of +makefile variable overrides for each directory variable is required by +the GNU Coding Standards, and ideally causes no recompilation. +However, some platforms have known limitations with the semantics of +shared libraries that end up requiring recompilation when using this +method, particularly noticeable in packages that use GNU Libtool. + + The second method involves providing the `DESTDIR' variable. For +example, `make install DESTDIR=/alternate/directory' will prepend +`/alternate/directory' before all installation names. The approach of +`DESTDIR' overrides is not required by the GNU Coding Standards, and +does not work on platforms that have drive letters. On the other hand, +it does better at avoiding recompilation issues, and works well even +when some directory options were not specified in terms of `${prefix}' +at `configure' time. + +Optional Features +================= If the package supports it, you can cause programs to be installed with an extra prefix or suffix on their names by giving `configure' the option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. -Optional Features -================= - Some packages pay attention to `--enable-FEATURE' options to `configure', where FEATURE indicates an optional part of the package. They may also pay attention to `--with-PACKAGE' options, where PACKAGE @@ -152,6 +208,13 @@ you can use the `configure' options `--x-includes=DIR' and `--x-libraries=DIR' to specify their locations. + Some packages offer the ability to configure how verbose the +execution of `make' will be. For these packages, running `./configure +--enable-silent-rules' sets the default to minimal output, which can be +overridden with `make V=1'; while running `./configure +--disable-silent-rules' sets the default to verbose, which can be +overridden with `make V=0'. + Particular systems ================== @@ -159,10 +222,15 @@ CC is not installed, it is recommended to use the following options in order to use an ANSI C compiler: - ./configure CC="cc -Ae" + ./configure CC="cc -Ae -D_XOPEN_SOURCE=500" and if that doesn't work, install pre-built binaries of GCC for HP-UX. + HP-UX `make' updates targets which have the same time stamps as +their prerequisites, which makes it generally unusable when shipped +generated files such as `configure' are involved. Use GNU `make' +instead. + On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot parse its `<wchar.h>' header file. The option `-nodtk' can be used as a workaround. If GNU CC is not installed, it is therefore recommended @@ -174,6 +242,16 @@ ./configure CC="cc -nodtk" + On Solaris, don't put `/usr/ucb' early in your `PATH'. This +directory contains several dysfunctional programs; working variants of +these programs are available in `/usr/bin'. So, if you need `/usr/ucb' +in your `PATH', put it _after_ `/usr/bin'. + + On Haiku, software installed for all users goes in `/boot/common', +not `/usr/local'. It is recommended to use the following options: + + ./configure --prefix=/boot/common + Specifying the System Type ========================== @@ -189,7 +267,8 @@ where SYSTEM can have one of these forms: - OS KERNEL-OS + OS + KERNEL-OS See the file `config.sub' for the possible values of each field. If `config.sub' isn't included in this package, then this package doesn't @@ -277,7 +356,7 @@ `configure' can determine that directory automatically. `--prefix=DIR' - Use DIR as the installation prefix. *Note Installation Names:: + Use DIR as the installation prefix. *note Installation Names:: for more details, including other options available for fine-tuning the installation locations. 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/libXfixes-5.0.3/Makefile.am new/libXfixes-6.0.0/Makefile.am --- old/libXfixes-5.0.3/Makefile.am 2016-08-17 14:58:51.000000000 +0200 +++ new/libXfixes-6.0.0/Makefile.am 2021-05-12 01:46:13.000000000 +0200 @@ -35,3 +35,5 @@ $(CHANGELOG_CMD) dist-hook: ChangeLog INSTALL + +EXTRA_DIST = README.md 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/libXfixes-5.0.3/README new/libXfixes-6.0.0/README --- old/libXfixes-5.0.3/README 2016-08-17 14:58:51.000000000 +0200 +++ new/libXfixes-6.0.0/README 1970-01-01 01:00:00.000000000 +0100 @@ -1,34 +0,0 @@ - Xfixes - XFIXES Extension - Version 2.0.1 - 2002-10-4 - -This package contains header files and documentation for the XFIXES -extension. Library and server implementations are separate. - -Keith Packard -kei...@keithp.com - -All questions regarding this software should be directed at the -Xorg mailing list: - - http://lists.freedesktop.org/mailman/listinfo/xorg - -Please submit bug reports to the Xorg bugzilla: - - https://bugs.freedesktop.org/enter_bug.cgi?product=xorg - -The master development code repository can be found at: - - git://anongit.freedesktop.org/git/xorg/lib/libXfixes - - http://cgit.freedesktop.org/xorg/lib/libXfixes - -For patch submission instructions, see: - - http://www.x.org/wiki/Development/Documentation/SubmittingPatches - -For more information on the git code manager, see: - - http://wiki.x.org/wiki/GitPage - 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/libXfixes-5.0.3/README.md new/libXfixes-6.0.0/README.md --- old/libXfixes-5.0.3/README.md 1970-01-01 01:00:00.000000000 +0100 +++ new/libXfixes-6.0.0/README.md 2021-05-12 01:46:13.000000000 +0200 @@ -0,0 +1,18 @@ +libXfixes - XFIXES Extension library +------------------------------------ + +All questions regarding this software should be directed at the +Xorg mailing list: + + https://lists.x.org/mailman/listinfo/xorg + +The master development code repository can be found at: + + https://gitlab.freedesktop.org/xorg/lib/libXfixes + +Please submit bug reports and requests to merge patches there. + +For patch submission instructions, see: + + https://www.x.org/wiki/Development/Documentation/SubmittingPatches + 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/libXfixes-5.0.3/compile new/libXfixes-6.0.0/compile --- old/libXfixes-5.0.3/compile 2016-10-04 00:48:12.000000000 +0200 +++ new/libXfixes-6.0.0/compile 2021-05-12 01:46:19.000000000 +0200 @@ -1,9 +1,9 @@ #! /bin/sh # Wrapper for compilers which do not understand '-c -o'. -scriptversion=2012-10-14.11; # UTC +scriptversion=2018-03-07.03; # UTC -# Copyright (C) 1999-2013 Free Software Foundation, Inc. +# Copyright (C) 1999-2020 Free Software Foundation, Inc. # Written by Tom Tromey <tro...@cygnus.com>. # # This program is free software; you can redistribute it and/or modify @@ -17,7 +17,7 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# along with this program. If not, see <https://www.gnu.org/licenses/>. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a @@ -53,7 +53,7 @@ MINGW*) file_conv=mingw ;; - CYGWIN*) + CYGWIN* | MSYS*) file_conv=cygwin ;; *) @@ -67,7 +67,7 @@ mingw/*) file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` ;; - cygwin/*) + cygwin/* | msys/*) file=`cygpath -m "$file" || echo "$file"` ;; wine/*) @@ -255,7 +255,8 @@ echo "compile $scriptversion" exit $? ;; - cl | *[/\\]cl | cl.exe | *[/\\]cl.exe ) + cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \ + icl | *[/\\]icl | icl.exe | *[/\\]icl.exe ) func_cl_wrapper "$@" # Doesn't return... ;; esac @@ -339,9 +340,9 @@ # Local Variables: # mode: shell-script # sh-indentation: 2 -# eval: (add-hook 'write-file-hooks 'time-stamp) +# eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" +# 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/libXfixes-5.0.3/config.h.in new/libXfixes-6.0.0/config.h.in --- old/libXfixes-5.0.3/config.h.in 2016-10-04 21:11:27.000000000 +0200 +++ new/libXfixes-6.0.0/config.h.in 2021-05-12 01:46:18.000000000 +0200 @@ -30,8 +30,7 @@ /* Define to 1 if you have the <unistd.h> header file. */ #undef HAVE_UNISTD_H -/* Define to the sub-directory in which libtool stores uninstalled libraries. - */ +/* Define to the sub-directory where libtool stores uninstalled libraries. */ #undef LT_OBJDIR /* Name of package */ 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/libXfixes-5.0.3/configure.ac new/libXfixes-6.0.0/configure.ac --- old/libXfixes-5.0.3/configure.ac 2016-10-04 21:11:07.000000000 +0200 +++ new/libXfixes-6.0.0/configure.ac 2021-05-12 01:46:13.000000000 +0200 @@ -32,8 +32,8 @@ # that 'revision' number appears in Xfixes.h and has to be manually # synchronized. # -AC_INIT(libXfixes, [5.0.3], - [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [libXfixes]) +AC_INIT(libXfixes, [6.0.0], + [https://gitlab.freedesktop.org/xorg/lib/libXfixes/issues], [libXfixes]) 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/libXfixes-5.0.3/include/X11/extensions/Xfixes.h new/libXfixes-6.0.0/include/X11/extensions/Xfixes.h --- old/libXfixes-5.0.3/include/X11/extensions/Xfixes.h 2016-08-17 14:58:51.000000000 +0200 +++ new/libXfixes-6.0.0/include/X11/extensions/Xfixes.h 2021-05-12 01:46:13.000000000 +0200 @@ -1,6 +1,6 @@ /* * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. - * Copyright 2011 Red Hat, Inc. + * Copyright 2011, 2021 Red Hat, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -264,6 +264,16 @@ #endif /* XFIXES_MAJOR >= 5 */ +#if XFIXES_MAJOR >= 6 + +void +XFixesSetClientDisconnectMode(Display *dpy, int disconnect_mode); + +int +XFixesGetClientDisconnectMode(Display *dpy); + +#endif /* XFIXES_MAJOR >= 6 */ + _XFUNCPROTOEND #endif /* _XFIXES_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/libXfixes-5.0.3/missing new/libXfixes-6.0.0/missing --- old/libXfixes-5.0.3/missing 2016-10-04 00:48:12.000000000 +0200 +++ new/libXfixes-6.0.0/missing 2021-05-12 01:46:19.000000000 +0200 @@ -1,9 +1,9 @@ #! /bin/sh # Common wrapper for a few potentially missing GNU programs. -scriptversion=2013-10-28.13; # UTC +scriptversion=2018-03-07.03; # UTC -# Copyright (C) 1996-2013 Free Software Foundation, Inc. +# Copyright (C) 1996-2020 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard <pin...@iro.umontreal.ca>, 1996. # This program is free software; you can redistribute it and/or modify @@ -17,7 +17,7 @@ # GNU General Public License for more details. # You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# along with this program. If not, see <https://www.gnu.org/licenses/>. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a @@ -101,9 +101,9 @@ exit $st fi -perl_URL=http://www.perl.org/ -flex_URL=http://flex.sourceforge.net/ -gnu_software_URL=http://www.gnu.org/software +perl_URL=https://www.perl.org/ +flex_URL=https://github.com/westes/flex +gnu_software_URL=https://www.gnu.org/software program_details () { @@ -207,9 +207,9 @@ exit $st # Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) +# eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" +# 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/libXfixes-5.0.3/src/Disconnect.c new/libXfixes-6.0.0/src/Disconnect.c --- old/libXfixes-5.0.3/src/Disconnect.c 1970-01-01 01:00:00.000000000 +0100 +++ new/libXfixes-6.0.0/src/Disconnect.c 2021-05-12 01:46:13.000000000 +0200 @@ -0,0 +1,100 @@ +/* + * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. + * Copyright 2021 Red Hat, Inc. + * + * 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. + */ +/* + * Copyright ?? 2002 Keith Packard, member of The XFree86 Project, Inc. + * + * Permission to use, copy, modify, distribute, and sell this software and its + * documentation for any purpose is hereby granted without fee, provided that + * the above copyright notice appear in all copies and that both that + * copyright notice and this permission notice appear in supporting + * documentation, and that the name of Keith Packard not be used in + * advertising or publicity pertaining to distribution of the software without + * specific, written prior permission. Keith Packard makes no + * representations about the suitability of this software for any purpose. It + * is provided "as is" without express or implied warranty. + * + * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO + * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR + * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, + * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER + * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + * PERFORMANCE OF THIS SOFTWARE. + */ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif +#include "Xfixesint.h" +#include <limits.h> + +void +XFixesSetClientDisconnectMode(Display *dpy, int disconnect_mode) +{ + XFixesExtDisplayInfo *info = XFixesFindDisplay(dpy); + xXFixesSetClientDisconnectModeReq *req; + + XFixesSimpleCheckExtension(dpy, info); + if (info->major_version < 6) + return; + + LockDisplay(dpy); + GetReq(XFixesSetClientDisconnectMode, req); + req->reqType = info->codes->major_opcode; + req->xfixesReqType = X_XFixesSetClientDisconnectMode; + req->disconnect_mode = disconnect_mode; + UnlockDisplay(dpy); + SyncHandle(); +} + +int +XFixesGetClientDisconnectMode(Display *dpy) +{ + XFixesExtDisplayInfo *info = XFixesFindDisplay(dpy); + xXFixesGetClientDisconnectModeReq *req; + xXFixesGetClientDisconnectModeReply rep; + int disconnect_mode; + + XFixesCheckExtension(dpy, info, 0); + if (info->major_version < 6) + return XFixesClientDisconnectFlagDefault; + + LockDisplay(dpy); + GetReq(XFixesGetClientDisconnectMode, req); + req->reqType = info->codes->major_opcode; + req->xfixesReqType = X_XFixesGetClientDisconnectMode; + + if (!_XReply(dpy, (xReply *) &rep, 0, xFalse)) + { + UnlockDisplay(dpy); + SyncHandle(); + return XFixesClientDisconnectFlagDefault; + } + + disconnect_mode = rep.disconnect_mode; + UnlockDisplay(dpy); + SyncHandle(); + + return disconnect_mode; +} 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/libXfixes-5.0.3/src/Makefile.am new/libXfixes-6.0.0/src/Makefile.am --- old/libXfixes-5.0.3/src/Makefile.am 2016-08-17 14:58:51.000000000 +0200 +++ new/libXfixes-6.0.0/src/Makefile.am 2021-05-12 01:46:13.000000000 +0200 @@ -2,6 +2,7 @@ libXfixes_la_SOURCES = \ Cursor.c \ + Disconnect.c \ Region.c \ SaveSet.c \ Selection.c \