Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package iceauth for openSUSE:Factory checked in at 2026-04-19 18:15:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/iceauth (Old) and /work/SRC/openSUSE:Factory/.iceauth.new.11940 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "iceauth" Sun Apr 19 18:15:42 2026 rev:12 rq:1348003 version:1.0.11 Changes: -------- --- /work/SRC/openSUSE:Factory/iceauth/iceauth.changes 2024-03-13 22:16:41.656112572 +0100 +++ /work/SRC/openSUSE:Factory/.iceauth.new.11940/iceauth.changes 2026-04-19 18:15:43.466991855 +0200 @@ -1,0 +2,8 @@ +Sun Apr 19 09:34:08 UTC 2026 - Stefan Dirsch <[email protected]> + +- Update to version 1.0.11 + * This release adds support for building with meson as well as + autoconf. +- switched to meson + +------------------------------------------------------------------- Old: ---- iceauth-1.0.10.tar.xz New: ---- iceauth-1.0.11.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ iceauth.spec ++++++ --- /var/tmp/diff_new_pack.5bysP5/_old 2026-04-19 18:15:44.007013860 +0200 +++ /var/tmp/diff_new_pack.5bysP5/_new 2026-04-19 18:15:44.011014023 +0200 @@ -1,7 +1,7 @@ # # spec file for package iceauth # -# Copyright (c) 2024 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,13 +17,14 @@ Name: iceauth -Version: 1.0.10 +Version: 1.0.11 Release: 0 Summary: Utility to edit and display the ICE authorization information License: MIT Group: System/X11/Utilities URL: https://xorg.freedesktop.org/ Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.xz +BuildRequires: meson BuildRequires: pkgconfig BuildRequires: pkgconfig(ice) BuildRequires: pkgconfig(xorg-macros) >= 1.8 @@ -40,11 +41,11 @@ %setup -q %build -%configure -%make_build +%meson +%meson_build %install -%make_install +%meson_install %files %license COPYING ++++++ iceauth-1.0.10.tar.xz -> iceauth-1.0.11.tar.xz ++++++ ++++ 10564 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/iceauth-1.0.10/ChangeLog new/iceauth-1.0.11/ChangeLog --- old/iceauth-1.0.10/ChangeLog 2024-03-10 22:52:50.000000000 +0100 +++ new/iceauth-1.0.11/ChangeLog 2026-04-18 23:50:37.000000000 +0200 @@ -1,3 +1,60 @@ +commit dd8a8dbe100d6427c01605da0a69a74fa36ddc87 +Author: Alan Coopersmith <[email protected]> +Date: Sat Apr 18 14:47:16 2026 -0700 + + iceauth 1.0.11 + + Signed-off-by: Alan Coopersmith <[email protected]> + +commit bbbd5ead211f0bab8dd2341ae7d8e30565843676 +Author: Alan Coopersmith <[email protected]> +Date: Tue Mar 10 19:06:17 2026 -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/iceauth/-/merge_requests/9> + +commit 81531f530f6f7c03a06d7c6446f520019e9671d7 +Author: Alan Coopersmith <[email protected]> +Date: Sun Jan 11 11:20:41 2026 -0800 + + gitlab CI: drop the ci-fairy check-mr job + + The only thing this checked was the checkbox for allowing maintainers to + edit the MR. Changed permissions checks now fail this job but luckily + the setting it checked has been the default for years anyway so we can + drop it. + + https://gitlab.freedesktop.org/freedesktop/ci-templates/-/issues/81 + + Signed-off-by: Alan Coopersmith <[email protected]> + Part-of: <https://gitlab.freedesktop.org/xorg/app/iceauth/-/merge_requests/9> + +commit 802964acbc6f04c738029eab4fd775b0d5aed765 +Author: Alan Coopersmith <[email protected]> +Date: Sat Apr 26 13:44:27 2025 -0700 + + Improve man page formatting + + More closely follow common style as described on + https://man7.org/linux/man-pages/man7/man-pages.7.html + + Signed-off-by: Alan Coopersmith <[email protected]> + Part-of: <https://gitlab.freedesktop.org/xorg/app/iceauth/-/merge_requests/8> + +commit e4991510e032523392e77402865ac50bc19352a6 +Author: Alan Coopersmith <[email protected]> +Date: Sat Mar 22 13:50:48 2025 -0700 + + Add --help and --version options + + Signed-off-by: Alan Coopersmith <[email protected]> + Part-of: <https://gitlab.freedesktop.org/xorg/app/iceauth/-/merge_requests/7> + commit 14e122c85b9fba7100b1bdc11abdb9b939d59254 Author: Alan Coopersmith <[email protected]> Date: Sun Mar 10 14:48:50 2024 -0700 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/iceauth-1.0.10/Makefile.am new/iceauth-1.0.11/Makefile.am --- old/iceauth-1.0.10/Makefile.am 2024-03-10 22:52:40.000000000 +0100 +++ new/iceauth-1.0.11/Makefile.am 2026-04-18 23:50:26.000000000 +0200 @@ -49,4 +49,4 @@ $(LINT) $(ALL_LINT_FLAGS) $(iceauth_SOURCES) endif LINT -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/iceauth-1.0.10/README.md new/iceauth-1.0.11/README.md --- old/iceauth-1.0.10/README.md 2024-03-10 22:52:40.000000000 +0100 +++ new/iceauth-1.0.11/README.md 2026-04-18 23:50:26.000000000 +0200 @@ -1,6 +1,7 @@ -The iceauth program is used to edit and display the authorization -information used in connecting with ICE. It operates very much -like the xauth program for X11 connection authentication records. +The iceauth program is used to edit and display the authorization information +used in connecting with ICE (the X11 Inter-Client Exchange protocol). +It operates very much like the xauth program for X11 connection authentication +records. All questions regarding this software should be directed at the Xorg mailing 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/iceauth-1.0.10/compile new/iceauth-1.0.11/compile --- old/iceauth-1.0.10/compile 2024-03-10 22:52:44.000000000 +0100 +++ new/iceauth-1.0.11/compile 2026-04-18 23:50:30.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/iceauth-1.0.10/config.h.in new/iceauth-1.0.11/config.h.in --- old/iceauth-1.0.10/config.h.in 2024-03-10 22:52:44.000000000 +0100 +++ new/iceauth-1.0.11/config.h.in 2026-04-18 23:50:30.000000000 +0200 @@ -75,6 +75,10 @@ #ifndef _ALL_SOURCE # undef _ALL_SOURCE #endif +/* Enable extensions on Cosmopolitan Libc. */ +#ifndef _COSMO_SOURCE +# undef _COSMO_SOURCE +#endif /* Enable general extensions on macOS. */ #ifndef _DARWIN_C_SOURCE # undef _DARWIN_C_SOURCE 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/iceauth-1.0.10/configure.ac new/iceauth-1.0.11/configure.ac --- old/iceauth-1.0.10/configure.ac 2024-03-10 22:52:40.000000000 +0100 +++ new/iceauth-1.0.11/configure.ac 2026-04-18 23:50:26.000000000 +0200 @@ -23,7 +23,7 @@ # Initialize Autoconf AC_PREREQ([2.70]) -AC_INIT([iceauth], [1.0.10], +AC_INIT([iceauth], [1.0.11], [https://gitlab.freedesktop.org/xorg/app/iceauth/-/issues], [iceauth]) 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/iceauth-1.0.10/iceauth.c new/iceauth-1.0.11/iceauth.c --- old/iceauth-1.0.10/iceauth.c 2024-03-10 22:52:40.000000000 +0100 +++ new/iceauth-1.0.11/iceauth.c 2026-04-18 23:50:26.000000000 +0200 @@ -63,7 +63,8 @@ " -q turn off extra messages\n" " -i ignore locks on authority file\n" " -b break locks on authority file\n" -" -V print version and exit\n" +" -u, --help print usage and exit\n" +" -V, --version print version and exit\n" "\n" "and commands have the following syntax:\n"; static const char suffixmsg[] = @@ -107,7 +108,7 @@ authfilename = argv[i]; continue; case 'V': /* -V */ - printf("%s\n", PACKAGE_STRING); + puts(PACKAGE_STRING); exit(0); case 'v': /* -v */ verbose = 1; @@ -123,8 +124,17 @@ continue; case 'u': /* -u */ usage (0); + case '-': /* --help | --version */ + if (strcmp(flag, "-help") == 0) { + usage (0); + } + else if (strcmp(flag, "-version") == 0) { + puts(PACKAGE_STRING); + exit(0); + } + /* fallthrough */ default: - fprintf(stderr, "%s: unrecognized option '%s'\n", + fprintf(stderr, "%s: unrecognized option '-%s'\n", ProgramName, flag); usage (1); } 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/iceauth-1.0.10/man/iceauth.man new/iceauth-1.0.11/man/iceauth.man --- old/iceauth-1.0.10/man/iceauth.man 2024-03-10 22:52:40.000000000 +0100 +++ new/iceauth-1.0.11/man/iceauth.man 2026-04-18 23:50:26.000000000 +0200 @@ -22,105 +22,100 @@ .\" dealing in this Software without prior written authorization from the .\" The Open Group. .\" -.TH ICEAUTH 1 __xorgversion__ +.TH ICEAUTH 1 2025-04-26 __xorgversion__ .SH NAME iceauth \- ICE authority file utility .SH SYNOPSIS .B iceauth -[ \fB\-f\fP \fIauthfile\fP ] [ \fB\-vqibuV\fP ] [ \fIcommand arg ...\fP ] +[\fB\-f\fP \fIauthfile\fP] [\fB\-vqibuV\fP] [\fIcommand arg ...\fP] .SH DESCRIPTION -.PP -The \fIiceauth\fP program is used to edit and display the authorization -information used in connecting with ICE. This program is usually -used to extract authorization records from one machine and merge them in on -another (as is the case when using remote logins or granting access to -other users). Commands (described below) may be entered interactively, -on the \fIiceauth\fP command line, or in scripts. +The \fBiceauth\fP program is used to edit and display the authorization +information used in connecting with ICE +(the X11 Inter-Client Exchange protocol). +This program is usually used to extract authorization records from one machine +and merge them in on another +(as is the case when using remote logins or granting access to other users). +Commands (described below) may be entered interactively, +on the \fBiceauth\fP command line, or in scripts. .SH OPTIONS -.PP -\fB\-f\fP \fIauthfile\fP Name of the authority file to use. Will default to - the file currently in use by the session. -.PP -\fB\-v\fP Turns on extra messages (verbose mode) -.PP -\fB\-q\fP Turns off extra messages (quiet mode) -.PP -\fB\-i\fP Ignore the locks on the authority file -.PP -\fB\-b\fP Break the locks on the authority file -.PP -\fB\-u\fP Print basic usage instructions -.PP -\fB\-V\fP Print version and exit -.PP +.TP 16 +.BI \-f " authfile" +Name of the authority file to use. +Will default to the file currently in use by the session. +.TP 16 +.B \-v +Turns on extra messages (verbose mode) +.TP 16 +.B \-q +Turns off extra messages (quiet mode) +.TP 16 +.B \-i +Ignore the locks on the authority file +.TP 16 +.B \-b +Break the locks on the authority file +.TP 16 +.B \-u +Print basic usage instructions +.TP 16 +.B \--help +Print basic usage instructions +.TP 16 +.B \-V +Print version and exit +.TP 16 +.B \-\-version +Print version and exit .SH USAGE -.PP -When \fIiceauth\fP is run it will allow the following set of commands +When \fBiceauth\fP is run it will allow the following set of commands to be entered interactively or in scripts. -.PP -\fB?\fP -.PP +Remember that arguments given on the shell command line will be displayed in +shell histories and may be visible to other users via tools such as +.BR ps (1), +thus exposing the value of any cookies or other authentication secrets +provided on the shell command line. +.TP +.B ? List available commands. -.PP -\fBhelp\fP -.PP -Print help information. You may supply a command name to \fIhelp\fP to -get specific information about it. -.PP -\fBinfo\fP -.PP +.TP +.B help +Print help information. +You may supply a command name to \fIhelp\fP +to get specific information about it. +.TP +.B info Print information about the entries in the authority file. -.PP -\fBlist\fP -.PP -List (print) entries in the authority file. You may specify optional -modifiers as below to specify which entries are listed. -.PP -\fIlist\fP [ \fIprotocol_name\fP ] [ \fIprotocol_data\fP ] [ -\fInetid\fP ] [ \fIauthname\fP ] -.PP -\fBadd\fP -.PP -Add an entry to the authority file. This must be in the format -.PP -\fIadd\fP \fIprotocol_name\fP \fIprotocol_data\fP \fInetid\fP \fIauthname\fP \fIauthdata\fP -.PP -\fBremove\fP -.PP +.TP +\fBlist\fP [\fIprotocol_name\fP] [\fIprotocol_data\fP] \ +[\fInetid\fP] [\fIauthname\fP] +List (print) entries in the authority file. +You may specify optional modifiers to specify which entries are listed. +.TP +\fBadd\fP \fIprotocol_name\fP \fIprotocol_data\fP \fInetid\fP \ +\fIauthname\fP \fIauthdata\fP +Add an entry to the authority file. +.TP +\fBremove\fP [\fIprotocol_name\fP] [\fIprotocol_data\fP] \ +[\fInetid\fP] [\fIauthname\fP] Remove entries from the authority file. -.PP -\fIremove\fP [ \fIprotocol_name\fP ] [ \fIprotocol_data\fP ] [ -\fInetid\fP ] [ \fIauthname\fP ] -.PP -\fBextract\fP -.PP -Extract entries from the authority file in to a destination file. You -must supply the path to the destination to this command as in the -following format. Optional specifiers allow you to narrow which -entries are extracted. -.PP -\fIextract\fP \fIfilename\fP [ \fIprotocol_name\fP ] [ \fIprotocol_data\fP ] -[ \fInetid\fP ] [ \fIauthname\fP ] -.PP -\fBmerge\fP -.PP -Merge entries from other files in to the authority file selected by the program. You may supply any number of file paths to this command as follows: -.PP -\fImerge\fP \fIfilename1\fP [ \fIfilename2\fP ] [ \fIfilename3\fP ] ... -.PP -\fBexit\fP -.PP +.TP +\fBextract\fP \fIfilename\fP [\fIprotocol_name\fP] [\fIprotocol_data\fP] \ +[\fInetid\fP] [\fIauthname\fP] +Extract entries from the authority file in to a destination file. +You must supply the path to the destination file. +Optional specifiers allow you to narrow which entries are extracted. +.TP +\fBmerge\fP \fIfilename1\fP [\fIfilename2\fP [\fIfilename3\fP]]... +Merge entries from other files in to the authority file selected by the program. +You may supply any number of file paths to this command. +.TP +.B exit Save changes and exit the program. -.PP -\fBquit\fP -.PP +.TP +.B quit Abort changes and exit the program without saving. -.PP -\fBsource\fP -.PP +.TP +\fBsource\fP \fIfilename\fP Read and execute commands from a file. -.PP -\fIsource\fP \fIfilename\fP -.PP .SH AUTHOR Ralph Mor, X Consortium 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/iceauth-1.0.10/meson.build new/iceauth-1.0.11/meson.build --- old/iceauth-1.0.10/meson.build 1970-01-01 01:00:00.000000000 +0100 +++ new/iceauth-1.0.11/meson.build 2026-04-18 23:50:26.000000000 +0200 @@ -0,0 +1,109 @@ +# SPDX-License-Identifier: MIT +# +# Copyright (c) 2026, 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( + 'iceauth', + 'c', + version: '1.0.11', + license: 'MIT-open-group', + license_files: 'COPYING', + meson_version: '>= 1.1.0', +) + +conf = configuration_data() +package_string = ' '.join(meson.project_name(), meson.project_version()) +conf.set_quoted('PACKAGE_STRING', package_string) + +cc = meson.get_compiler('c') + +# Replaces AC_USE_SYSTEM_EXTENSIONS +if host_machine.system() == 'sunos' + system_extensions = '__EXTENSIONS__' +elif host_machine.system() == 'netbsd' + system_extensions = '_OPENBSD_SOURCE' +else + system_extensions = '_GNU_SOURCE' +endif +conf.set(system_extensions, 1, + description: 'Enable non-standardized system API extensions') + +# Replacement for XORG_DEFAULT_OPTIONS +if cc.has_argument('-fno-strict-aliasing') + add_project_arguments('-fno-strict-aliasing', language: 'c') +endif + +# Checks for pkg-config packages +dep_xproto = dependency('xproto', required: true, version: '>= 7.0.22') +dep_libice = dependency('ice', required: true) +deps = [dep_xproto, dep_libice] + +# Checks for library functions +has_reallocarray = cc.has_function( + 'reallocarray', + args: '-D' + system_extensions, + prefix: '#include <stdlib.h>' +) +if not has_reallocarray + libbsd_dep = dependency('libbsd-overlay', required: false) + if libbsd_dep.found() + has_reallocarray = cc.has_function( + 'reallocarray', + args: '-D' + system_extensions, + prefix: '#include <stdlib.h>', + dependencies: libbsd_dep + ) + if has_reallocarray + deps += libbsd_dep + endif + endif +endif +conf.set('HAVE_REALLOCARRAY', has_reallocarray ? 1 : false) + +config_h = configure_file(output: 'config.h', configuration: conf) +add_project_arguments('-DHAVE_CONFIG_H', language: ['c']) + +executable( + 'iceauth', + [config_h, 'iceauth.c', 'iceauth.h', 'process.c'], + dependencies: deps, + install: true +) + +# Man page +prog_sed = find_program('sed') + +custom_target( + 'iceauth.man', + input: 'man/iceauth.man', + output: 'iceauth.1', + command: [ + prog_sed, + '-e', f's/__xorgversion__/"@package_string@" "X Version 11"/', + '@INPUT@', + ], + capture: true, + install: true, + install_dir: get_option('mandir') / 'man1', + install_tag: 'man', +) 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/iceauth-1.0.10/missing new/iceauth-1.0.11/missing --- old/iceauth-1.0.10/missing 2024-03-10 22:52:44.000000000 +0100 +++ new/iceauth-1.0.11/missing 2026-04-18 23:50:30.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:
