Projects
Mega:23.09
libXrandr
Sign Up
Log In
Username
Password
We truncated the diff of some files because they were too big. If you want to see the full diff for every file,
click here
.
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 3
View file
_service:tar_scm:libXrandr.spec
Changed
@@ -1,5 +1,5 @@ Name: libXrandr -Version: 1.5.3 +Version: 1.5.4 Release: 1 License: MIT Summary: X.Org X11 libXrandr runtime library @@ -54,6 +54,9 @@ %{_mandir}/man3/*.3* %changelog +* Wed Dec 27 2023 konglidong <konglidong@uniontech.com> - 1.5.4-1 +- update version to 1.5.4 + * Sat Feb 04 2023 zhouwenpei <zhouwenpei1@h-partners.com> - 1.5.3-1 - update to 1.5.3
View file
_service
Changed
@@ -2,7 +2,7 @@ <service name="tar_scm"> <param name="url">git@gitee.com:src-openeuler/libXrandr.git</param> <param name="scm">git</param> - <param name="revision">openEuler-23.09</param> + <param name="revision">master</param> <param name="exclude">*</param> <param name="extract">*</param> </service>
View file
_service:tar_scm:libXrandr-1.5.3.tar.gz/ChangeLog -> _service:tar_scm:libXrandr-1.5.4.tar.gz/ChangeLog
Changed
@@ -1,3 +1,56 @@ +commit 512bf0b15b5597c721ff8c61083616ca9040fa72 +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Wed Oct 4 15:58:32 2023 -0700 + + libXrandr 1.5.4 + + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> + +commit 17581a1364ae11060a9c9531882d1be9634d4365 +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Mon Sep 18 15:06:30 2023 -0700 + + XRRGetMonitors(): free correct pointer in error path + + If we are dumping an invalid response from the server, make sure + to free the pointer returned by malloc, not our pointer to somewhere + later in that buffer. + + Fixes: a0df3e1 ("Avoid out of boundary accesses on illegal responses") + Reported-by: Gregory James DUCK <gjduck@gmail.com> + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> + +commit 5b96863cf2a34ee9e72ffc4ec6415bc59b6121fc +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Tue Mar 7 09:49:14 2023 -0800 + + configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL + + AC_PROG_LIBTOOL was replaced by LT_INIT in libtool 2 in 2008, + so it's time to rely on it. + + Clears autoconf warnings: + + configure.ac:42: warning: The macro `AC_PROG_LIBTOOL' is obsolete. + configure.ac:42: You should run autoupdate. + aclocal.m4:3465: AC_PROG_LIBTOOL is expanded from... + configure.ac:42: the top level + + libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS(m4)' to configure.ac, + libtoolize: and rerunning libtoolize and aclocal. + + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> + +commit 1ef3ad373c796897f770bba6fb16befddc3146a3 +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Sat Feb 25 09:29:25 2023 -0800 + + Remove "All rights reserved" from Oracle copyright notices + + Oracle no longer includes this term in our copyright & license notices. + + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> + commit 3387129532899eaeee3477a2d92fa662d7292a84 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Sun Nov 20 08:54:24 2022 -0800 @@ -1179,7 +1232,7 @@ Set version to 1.2.1 for release. commit c279b64ccca18b14974e413b0b1d55ac81abceda -Author: Fredrik Höglund <fredrik@kde.org> +Author: Fredrik Höglund <fredrik@kde.org> Date: Tue Feb 20 22:30:00 2007 +0100 Fix the use of a C++ keyword as a parameter name in Xrandr.h @@ -1543,21 +1596,21 @@ Require renderproto instead of render for pkgconfig commit 9c36643810a7e837f325970ddd5964bbff4971b6 -Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> +Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> Date: Wed Jun 8 20:22:47 2005 +0000 - Don't search for non-autoconf'ed X libs in Xrandr - Rename man page Xrandr.3 commit 73b3dff9d12d417716c19a33a95eac5f73e5da13 -Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> +Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> Date: Wed Jun 8 19:19:31 2005 +0000 Add Xcursor conditionally include config.h commit 32107cdd57b4796c3f41ac56c9ba683be3d894af -Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> +Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> Date: Wed Jun 8 17:48:03 2005 +0000 Check in build system for Xrandr
View file
_service:tar_scm:libXrandr-1.5.3.tar.gz/Makefile.in -> _service:tar_scm:libXrandr-1.5.4.tar.gz/Makefile.in
Changed
@@ -111,7 +111,10 @@ host_triplet = @host@ subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
View file
_service:tar_scm:libXrandr-1.5.3.tar.gz/aclocal.m4 -> _service:tar_scm:libXrandr-1.5.4.tar.gz/aclocal.m4
Changed
@@ -1426,7 +1426,7 @@ dnl xorg-macros.m4. Generated from xorg-macros.m4.in xorgversion.m4 by configure. dnl -dnl Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved. +dnl Copyright (c) 2005, 2023, Oracle and/or its affiliates. dnl dnl Permission is hereby granted, free of charge, to any person obtaining a dnl copy of this software and associated documentation files (the "Software"), @@ -1463,7 +1463,7 @@ # See the "minimum version" comment for each macro you use to see what # version you require. m4_defun(XORG_MACROS_VERSION, -m4_define(vers_have, 1.19.3) +m4_define(vers_have, 1.20.0) m4_define(maj_have, m4_substr(vers_have, 0, m4_index(vers_have, .))) m4_define(maj_needed, m4_substr($1, 0, m4_index($1, .))) m4_if(m4_cmp(maj_have, maj_needed), 0,, @@ -1793,7 +1793,7 @@ # Documentation tools are not always available on all platforms and sometimes # not at the appropriate level. This macro enables a module to test for the # presence of the tool and obtain it's path in separate variables. Coupled with -# the --with-xmlto option, it allows maximum flexibilty in making decisions +# the --with-xmlto option, it allows maximum flexibility in making decisions # as whether or not to use the xmlto package. When DEFAULT is not specified, # --with-xmlto assumes 'auto'. # @@ -2007,7 +2007,7 @@ # Documentation tools are not always available on all platforms and sometimes # not at the appropriate level. This macro enables a module to test for the # presence of the tool and obtain it's path in separate variables. Coupled with -# the --with-asciidoc option, it allows maximum flexibilty in making decisions +# the --with-asciidoc option, it allows maximum flexibility in making decisions # as whether or not to use the asciidoc package. When DEFAULT is not specified, # --with-asciidoc assumes 'auto'. # @@ -2077,7 +2077,7 @@ # Documentation tools are not always available on all platforms and sometimes # not at the appropriate level. This macro enables a module to test for the # presence of the tool and obtain it's path in separate variables. Coupled with -# the --with-doxygen option, it allows maximum flexibilty in making decisions +# the --with-doxygen option, it allows maximum flexibility in making decisions # as whether or not to use the doxygen package. When DEFAULT is not specified, # --with-doxygen assumes 'auto'. # @@ -2161,7 +2161,7 @@ # Documentation tools are not always available on all platforms and sometimes # not at the appropriate level. This macro enables a module to test for the # presence of the tool and obtain it's path in separate variables. Coupled with -# the --with-groff option, it allows maximum flexibilty in making decisions +# the --with-groff option, it allows maximum flexibility in making decisions # as whether or not to use the groff package. When DEFAULT is not specified, # --with-groff assumes 'auto'. # @@ -2269,7 +2269,7 @@ # Documentation tools are not always available on all platforms and sometimes # not at the appropriate level. This macro enables a module to test for the # presence of the tool and obtain it's path in separate variables. Coupled with -# the --with-fop option, it allows maximum flexibilty in making decisions +# the --with-fop option, it allows maximum flexibility in making decisions # as whether or not to use the fop package. When DEFAULT is not specified, # --with-fop assumes 'auto'. # @@ -2363,7 +2363,7 @@ # Documentation tools are not always available on all platforms and sometimes # not at the appropriate level. This macro enables a module to test for the # presence of the tool and obtain it's path in separate variables. Coupled with -# the --with-ps2pdf option, it allows maximum flexibilty in making decisions +# the --with-ps2pdf option, it allows maximum flexibility in making decisions # as whether or not to use the ps2pdf package. When DEFAULT is not specified, # --with-ps2pdf assumes 'auto'. # @@ -2418,7 +2418,7 @@ # not at the appropriate level. This macro enables a builder to skip all # documentation targets except traditional man pages. # Combined with the specific tool checking macros XORG_WITH_*, it provides -# maximum flexibilty in controlling documentation building. +# maximum flexibility in controlling documentation building. # Refer to: # XORG_WITH_XMLTO --with-xmlto # XORG_WITH_ASCIIDOC --with-asciidoc @@ -2451,7 +2451,7 @@ # # This macro enables a builder to skip all developer documentation. # Combined with the specific tool checking macros XORG_WITH_*, it provides -# maximum flexibilty in controlling documentation building. +# maximum flexibility in controlling documentation building. # Refer to: # XORG_WITH_XMLTO --with-xmlto # XORG_WITH_ASCIIDOC --with-asciidoc @@ -2484,7 +2484,7 @@ # # This macro enables a builder to skip all functional specification targets. # Combined with the specific tool checking macros XORG_WITH_*, it provides -# maximum flexibilty in controlling documentation building. +# maximum flexibility in controlling documentation building. # Refer to: # XORG_WITH_XMLTO --with-xmlto # XORG_WITH_ASCIIDOC --with-asciidoc @@ -2959,7 +2959,11 @@ AC_DEFUN(XORG_COMPILER_BRAND, AC_LANG_CASE( C, - AC_REQUIRE(AC_PROG_CC_C99) + dnl autoconf-2.70 folded AC_PROG_CC_C99 into AC_PROG_CC + dnl and complains that AC_PROG_CC_C99 is obsolete + m4_version_prereq(2.70, + AC_REQUIRE(AC_PROG_CC), + AC_REQUIRE(AC_PROG_CC_C99)) , C++, AC_REQUIRE(AC_PROG_CXX) @@ -2975,7 +2979,7 @@ # Minimum version: 1.16.0 # # Test if the compiler works when passed the given flag as a command line argument. -# If it succeeds, the flag is appeneded to the given variable. If not, it tries the +# If it succeeds, the flag is appended to the given variable. If not, it tries the # next flag in the list until there are no more options. # # Note that this does not guarantee that the compiler supports the flag as some @@ -2991,7 +2995,11 @@ AC_LANG_CASE( C, - AC_REQUIRE(AC_PROG_CC_C99) + dnl autoconf-2.70 folded AC_PROG_CC_C99 into AC_PROG_CC + dnl and complains that AC_PROG_CC_C99 is obsolete + m4_version_prereq(2.70, + AC_REQUIRE(AC_PROG_CC), + AC_REQUIRE(AC_PROG_CC_C99)) define(PREFIX, C) define(CACHE_PREFIX, cc) define(COMPILER, $CC) @@ -3132,7 +3140,7 @@ # XORG_TESTSET_CFLAG(BASE_PREFIXFLAGS, -Wcast-align) # XORG_TESTSET_CFLAG(BASE_PREFIXFLAGS, -Wcast-qual) -# Turn some warnings into errors, so we don't accidently get successful builds +# Turn some warnings into errors, so we don't accidentally get successful builds # when there are problems that should be fixed. if test "x$SELECTIVE_WERROR" = "xyes" ; then @@ -3241,23 +3249,35 @@ AC_LANG_CASE(C, AC_SUBST(CWARNFLAGS)) ) # XORG_STRICT_OPTION +# XORG_DEFAULT_NOCODE_OPTIONS +# --------------------------- +# Minimum version: 1.20.0 +# +# Defines default options for X.Org modules which don't compile code, +# such as fonts, bitmaps, cursors, and docs. +# +AC_DEFUN(XORG_DEFAULT_NOCODE_OPTIONS, +AC_REQUIRE(AC_PROG_INSTALL) +XORG_RELEASE_VERSION +XORG_CHANGELOG +XORG_INSTALL +XORG_MANPAGE_SECTIONS +m4_ifdef(AM_SILENT_RULES, AM_SILENT_RULES(yes), + AC_SUBST(AM_DEFAULT_VERBOSITY, 1)) +) # XORG_DEFAULT_NOCODE_OPTIONS + # XORG_DEFAULT_OPTIONS # -------------------- # Minimum version: 1.3.0 # -# Defines default options for X.Org modules. +# Defines default options for X.Org modules which compile code. # AC_DEFUN(XORG_DEFAULT_OPTIONS, AC_REQUIRE(AC_PROG_INSTALL) XORG_COMPILER_FLAGS XORG_CWARNFLAGS XORG_STRICT_OPTION -XORG_RELEASE_VERSION -XORG_CHANGELOG -XORG_INSTALL -XORG_MANPAGE_SECTIONS -m4_ifdef(AM_SILENT_RULES, AM_SILENT_RULES(yes), - AC_SUBST(AM_DEFAULT_VERBOSITY, 1)) +XORG_DEFAULT_NOCODE_OPTIONS ) # XORG_DEFAULT_OPTIONS # XORG_INSTALL() @@ -3343,9064 +3363,8 @@ AC_SUBST(CHANGELOG_CMD) ) # XORG_CHANGELOG -# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- -# -# Copyright (C) 1996-2001, 2003-2019, 2021-2022 Free Software -# Foundation, Inc. -# Written by Gordon Matzigkeit, 1996 -# -# This file is free software; the Free Software Foundation gives -# unlimited permission to copy and/or distribute it, with or without -# modifications, as long as this notice is preserved. -
View file
_service:tar_scm:libXrandr-1.5.3.tar.gz/config.guess -> _service:tar_scm:libXrandr-1.5.4.tar.gz/config.guess
Changed
@@ -1,14 +1,14 @@ #! /bin/sh # Attempt to guess a canonical system name. -# Copyright 1992-2021 Free Software Foundation, Inc. +# Copyright 1992-2023 Free Software Foundation, Inc. # shellcheck disable=SC2006,SC2268 # see below for rationale -timestamp='2021-06-03' +timestamp='2023-01-01' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3 of the License, or +# the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but @@ -60,7 +60,7 @@ GNU config.guess ($timestamp) Originally written by Per Bothner. -Copyright 1992-2021 Free Software Foundation, Inc. +Copyright 1992-2023 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -437,7 +437,7 @@ # This test works for both compilers. if test "$CC_FOR_BUILD" != no_compiler_found; then if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ - (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ + (CCOPTS="" $CC_FOR_BUILD -m64 -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then SUN_ARCH=x86_64 @@ -929,6 +929,9 @@ i*:PW*:*) GUESS=$UNAME_MACHINE-pc-pw32 ;; + *:SerenityOS:*:*) + GUESS=$UNAME_MACHINE-pc-serenity + ;; *:Interix*:*) case $UNAME_MACHINE in x86) @@ -963,6 +966,12 @@ GNU_REL=`echo "$UNAME_RELEASE" | sed -e 's/-(.*//'` GUESS=$UNAME_MACHINE-unknown-$GNU_SYS$GNU_REL-$LIBC ;; + x86_64:Mmanagarm:*:*|i?86:Mmanagarm:*:*) + GUESS="$UNAME_MACHINE-pc-managarm-mlibc" + ;; + *:Mmanagarm:*:*) + GUESS="$UNAME_MACHINE-unknown-managarm-mlibc" + ;; *:Minix:*:*) GUESS=$UNAME_MACHINE-unknown-minix ;; @@ -1033,7 +1042,7 @@ k1om:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; - loongarch32:Linux:*:* | loongarch64:Linux:*:* | loongarchx32:Linux:*:*) + loongarch32:Linux:*:* | loongarch64:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; m32r*:Linux:*:*) @@ -1148,16 +1157,27 @@ ;; x86_64:Linux:*:*) set_cc_for_build + CPU=$UNAME_MACHINE LIBCABI=$LIBC if test "$CC_FOR_BUILD" != no_compiler_found; then - if (echo '#ifdef __ILP32__'; echo IS_X32; echo '#endif') | \ - (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ - grep IS_X32 >/dev/null - then - LIBCABI=${LIBC}x32 - fi + ABI=64 + sed 's/^ //' << EOF > "$dummy.c" + #ifdef __i386__ + ABI=x86 + #else + #ifdef __ILP32__ + ABI=x32 + #endif + #endif +EOF + cc_set_abi=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^ABI' | sed 's, ,,g'` + eval "$cc_set_abi" + case $ABI in + x86) CPU=i686 ;; + x32) LIBCABI=${LIBC}x32 ;; + esac fi - GUESS=$UNAME_MACHINE-pc-linux-$LIBCABI + GUESS=$CPU-pc-linux-$LIBCABI ;; xtensa*:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC @@ -1364,8 +1384,11 @@ BePC:Haiku:*:*) # Haiku running on Intel PC compatible. GUESS=i586-pc-haiku ;; - x86_64:Haiku:*:*) - GUESS=x86_64-unknown-haiku + ppc:Haiku:*:*) # Haiku running on Apple PowerPC + GUESS=powerpc-apple-haiku + ;; + *:Haiku:*:*) # Haiku modern gcc (not bound by BeOS compat) + GUESS=$UNAME_MACHINE-unknown-haiku ;; SX-4:SUPER-UX:*:*) GUESS=sx4-nec-superux$UNAME_RELEASE @@ -1522,6 +1545,9 @@ i*86:rdos:*:*) GUESS=$UNAME_MACHINE-pc-rdos ;; + i*86:Fiwix:*:*) + GUESS=$UNAME_MACHINE-pc-fiwix + ;; *:AROS:*:*) GUESS=$UNAME_MACHINE-unknown-aros ;;
View file
_service:tar_scm:libXrandr-1.5.3.tar.gz/config.sub -> _service:tar_scm:libXrandr-1.5.4.tar.gz/config.sub
Changed
@@ -1,14 +1,14 @@ #! /bin/sh # Configuration validation subroutine script. -# Copyright 1992-2021 Free Software Foundation, Inc. +# Copyright 1992-2023 Free Software Foundation, Inc. # shellcheck disable=SC2006,SC2268 # see below for rationale -timestamp='2021-08-14' +timestamp='2023-01-21' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3 of the License, or +# the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but @@ -76,7 +76,7 @@ version="\ GNU config.sub ($timestamp) -Copyright 1992-2021 Free Software Foundation, Inc. +Copyright 1992-2023 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -145,7 +145,7 @@ nto-qnx* | linux-* | uclinux-uclibc* \ | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* \ | netbsd*-eabi* | kopensolaris*-gnu* | cloudabi*-eabi* \ - | storm-chaos* | os2-emx* | rtmk-nova*) + | storm-chaos* | os2-emx* | rtmk-nova* | managarm-*) basic_machine=$field1 basic_os=$maybe_os ;; @@ -1020,6 +1020,11 @@ ;; # Here we normalize CPU types with a missing or matching vendor + armh-unknown | armh-alt) + cpu=armv7l + vendor=alt + basic_os=${basic_os:-linux-gnueabihf} + ;; dpx20-unknown | dpx20-bull) cpu=rs6000 vendor=bull @@ -1070,7 +1075,7 @@ pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) cpu=i586 ;; - pentiumpro-* | p6-* | 6x86-* | athlon-* | athalon_*-*) + pentiumpro-* | p6-* | 6x86-* | athlon-* | athlon_*-*) cpu=i686 ;; pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) @@ -1121,7 +1126,7 @@ xscale-* | xscaleebl-*) cpu=`echo "$cpu" | sed 's/^xscale/arm/'` ;; - arm64-*) + arm64-* | aarch64le-*) cpu=aarch64 ;; @@ -1202,7 +1207,7 @@ | k1om \ | le32 | le64 \ | lm32 \ - | loongarch32 | loongarch64 | loongarchx32 \ + | loongarch32 | loongarch64 \ | m32c | m32r | m32rle \ | m5200 | m68000 | m6800123460 | m68360 | m683?2 | m68k \ | m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x \ @@ -1304,7 +1309,7 @@ if test x$basic_os != x then -# First recognize some ad-hoc caes, or perhaps split kernel-os, or else just +# First recognize some ad-hoc cases, or perhaps split kernel-os, or else just # set os. case $basic_os in gnu/linux*) @@ -1336,6 +1341,10 @@ kernel=linux os=`echo "$basic_os" | sed -e 's|linux|gnu|'` ;; + managarm*) + kernel=managarm + os=`echo "$basic_os" | sed -e 's|managarm|mlibc|'` + ;; *) kernel= os=$basic_os @@ -1748,7 +1757,8 @@ | skyos* | haiku* | rdos* | toppers* | drops* | es* \ | onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \ | midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \ - | nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr*) + | nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \ + | fiwix* | mlibc* ) ;; # This one is extra strict with allowed versions sco3.2v2 | sco3.2v4-9* | sco5v6*) @@ -1756,6 +1766,9 @@ ;; none) ;; + kernel* ) + # Restricted further below + ;; *) echo Invalid configuration \`"$1"\': OS \`"$os"\' not recognized 1>&2 exit 1 @@ -1766,16 +1779,26 @@ # (given a valid OS), if there is a kernel. case $kernel-$os in linux-gnu* | linux-dietlibc* | linux-android* | linux-newlib* \ - | linux-musl* | linux-relibc* | linux-uclibc* ) + | linux-musl* | linux-relibc* | linux-uclibc* | linux-mlibc* ) ;; uclinux-uclibc* ) ;; - -dietlibc* | -newlib* | -musl* | -relibc* | -uclibc* ) + managarm-mlibc* | managarm-kernel* ) + ;; + -dietlibc* | -newlib* | -musl* | -relibc* | -uclibc* | -mlibc* ) # These are just libc implementations, not actual OSes, and thus # require a kernel. echo "Invalid configuration \`$1': libc \`$os' needs explicit kernel." 1>&2 exit 1 ;; + -kernel* ) + echo "Invalid configuration \`$1': \`$os' needs explicit kernel." 1>&2 + exit 1 + ;; + *-kernel* ) + echo "Invalid configuration \`$1': \`$kernel' does not support \`$os'." 1>&2 + exit 1 + ;; kfreebsd*-gnu* | kopensolaris*-gnu*) ;; vxworks-simlinux | vxworks-simwindows | vxworks-spe)
View file
_service:tar_scm:libXrandr-1.5.3.tar.gz/configure -> _service:tar_scm:libXrandr-1.5.4.tar.gz/configure
Changed
@@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.71 for libXrandr 1.5.3. +# Generated by GNU Autoconf 2.71 for libXrandr 1.5.4. # # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxrandr/-/issues>. # @@ -622,8 +622,8 @@ # Identity of this package. PACKAGE_NAME='libXrandr' PACKAGE_TARNAME='libXrandr' -PACKAGE_VERSION='1.5.3' -PACKAGE_STRING='libXrandr 1.5.3' +PACKAGE_VERSION='1.5.4' +PACKAGE_STRING='libXrandr 1.5.4' PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libxrandr/-/issues' PACKAGE_URL='' @@ -1388,7 +1388,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures libXrandr 1.5.3 to adapt to many kinds of systems. +\`configure' configures libXrandr 1.5.4 to adapt to many kinds of systems. Usage: $0 OPTION... VAR=VALUE... @@ -1459,7 +1459,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libXrandr 1.5.3:";; + short | recursive ) echo "Configuration of libXrandr 1.5.4:";; esac cat <<\_ACEOF @@ -1585,7 +1585,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -libXrandr configure 1.5.3 +libXrandr configure 1.5.4 generated by GNU Autoconf 2.71 Copyright (C) 2021 Free Software Foundation, Inc. @@ -1898,7 +1898,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by libXrandr $as_me 1.5.3, which was +It was created by libXrandr $as_me 1.5.4, which was generated by GNU Autoconf 2.71. Invocation command line was $ $0$ac_configure_args_raw @@ -2657,6 +2657,7 @@ ac_config_headers="$ac_config_headers config.h" + # Initialize Automake am__api_version='1.16' @@ -3172,7 +3173,7 @@ # Define the identity of the package. PACKAGE='libXrandr' - VERSION='1.5.3' + VERSION='1.5.4' printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h @@ -8865,6 +8866,10 @@ $RM -r conftest* +## CAVEAT EMPTOR: +## There is no encapsulation within the following macros, do not change +## the running order or otherwise move them around unless you know exactly +## what you are doing... if test -n "$compiler"; then lt_prog_compiler_no_builtin_flag= @@ -12700,7 +12705,6 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; } if test ${ac_cv_c_undeclared_builtin_options+y} @@ -15186,7 +15190,7 @@ # XORG_TESTSET_CFLAG(BASE_PREFIXFLAGS, -Wcast-align) # XORG_TESTSET_CFLAG(BASE_PREFIXFLAGS, -Wcast-qual) -# Turn some warnings into errors, so we don't accidently get successful builds +# Turn some warnings into errors, so we don't accidentally get successful builds # when there are problems that should be fixed. if test "x$SELECTIVE_WERROR" = "xyes" ; then @@ -19041,6 +19045,8 @@ + + cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` _ACEOF @@ -19243,6 +19249,7 @@ + # Check whether --enable-malloc0returnsnull was given. if test ${enable_malloc0returnsnull+y} then : @@ -19941,7 +19948,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by libXrandr $as_me 1.5.3, which was +This file was extended by libXrandr $as_me 1.5.4, which was generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -20009,7 +20016,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -libXrandr config.status 1.5.3 +libXrandr config.status 1.5.4 configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\"
View file
_service:tar_scm:libXrandr-1.5.3.tar.gz/configure.ac -> _service:tar_scm:libXrandr-1.5.4.tar.gz/configure.ac
Changed
@@ -29,17 +29,18 @@ # digit in the version number to track changes which don't affect the # protocol, so Xrandr version l.n.m corresponds to protocol version l.n # -AC_INIT(libXrandr, 1.5.3, +AC_INIT(libXrandr, 1.5.4, https://gitlab.freedesktop.org/xorg/lib/libxrandr/-/issues, libXrandr) AC_CONFIG_SRCDIR(Makefile.am) AC_CONFIG_HEADERS(config.h) +AC_CONFIG_MACRO_DIRS(m4) # Initialize Automake AM_INIT_AUTOMAKE(foreign dist-xz) # Initialize libtool -AC_PROG_LIBTOOL +LT_INIT # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS m4_ifndef(XORG_MACROS_VERSION,
View file
_service:tar_scm:libXrandr-1.5.4.tar.gz/m4
Added
+(directory)
View file
_service:tar_scm:libXrandr-1.5.4.tar.gz/m4/libtool.m4
Added
@@ -0,0 +1,8400 @@ +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- +# +# Copyright (C) 1996-2001, 2003-2019, 2021-2022 Free Software +# Foundation, Inc. +# Written by Gordon Matzigkeit, 1996 +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. + +m4_define(_LT_COPYING, dnl +# Copyright (C) 2014 Free Software Foundation, Inc. +# This is free software; see the source for copying conditions. There is NO +# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +# GNU Libtool is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of of the License, or +# (at your option) any later version. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program or library that is built +# using GNU Libtool, you may include this file under the same +# distribution terms that you use for the rest of that program. +# +# GNU Libtool is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# 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/>. +) + +# serial 59 LT_INIT + + +# LT_PREREQ(VERSION) +# ------------------ +# Complain and exit if this libtool version is less that VERSION. +m4_defun(LT_PREREQ, +m4_if(m4_version_compare(m4_defn(LT_PACKAGE_VERSION), $1), -1, + m4_default($3, + m4_fatal(Libtool version $1 or higher is required, + 63)), + $2)) + + +# _LT_CHECK_BUILDDIR +# ------------------ +# Complain if the absolute build directory name contains unusual characters +m4_defun(_LT_CHECK_BUILDDIR, +case `pwd` in + *\ * | *\ *) + AC_MSG_WARN(Libtool does not cope well with whitespace in `pwd`) ;; +esac +) + + +# LT_INIT(OPTIONS) +# ------------------ +AC_DEFUN(LT_INIT, +AC_PREREQ(2.62)dnl We use AC_PATH_PROGS_FEATURE_CHECK +AC_REQUIRE(AC_CONFIG_AUX_DIR_DEFAULT)dnl +AC_BEFORE($0, LT_LANG)dnl +AC_BEFORE($0, LT_OUTPUT)dnl +AC_BEFORE($0, LTDL_INIT)dnl +m4_require(_LT_CHECK_BUILDDIR)dnl + +dnl Autoconf doesn't catch unexpanded LT_ macros by default: +m4_pattern_forbid(^_?LT_A-Z_+$)dnl +m4_pattern_allow(^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$)dnl +dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 +dnl unless we require an AC_DEFUNed macro: +AC_REQUIRE(LTOPTIONS_VERSION)dnl +AC_REQUIRE(LTSUGAR_VERSION)dnl +AC_REQUIRE(LTVERSION_VERSION)dnl +AC_REQUIRE(LTOBSOLETE_VERSION)dnl +m4_require(_LT_PROG_LTMAIN)dnl + +_LT_SHELL_INIT(SHELL=${CONFIG_SHELL-/bin/sh}) + +dnl Parse OPTIONS +_LT_SET_OPTIONS($0, $1) + +# This can be used to rebuild libtool when needed +LIBTOOL_DEPS=$ltmain + +# Always use our own libtool. +LIBTOOL='$(SHELL) $(top_builddir)/libtool' +AC_SUBST(LIBTOOL)dnl + +_LT_SETUP + +# Only expand once: +m4_define(LT_INIT) +)# LT_INIT + +# Old names: +AU_ALIAS(AC_PROG_LIBTOOL, LT_INIT) +AU_ALIAS(AM_PROG_LIBTOOL, LT_INIT) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN(AC_PROG_LIBTOOL, ) +dnl AC_DEFUN(AM_PROG_LIBTOOL, ) + + +# _LT_PREPARE_CC_BASENAME +# ----------------------- +m4_defun(_LT_PREPARE_CC_BASENAME, +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. +func_cc_basename () +{ + for cc_temp in @S|@*""; do + case $cc_temp in + compile | *\\/compile | ccache | *\\/ccache ) ;; + distcc | *\\/distcc | purify | *\\/purify ) ;; + \-*) ;; + *) break;; + esac + done + func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` +} +)# _LT_PREPARE_CC_BASENAME + + +# _LT_CC_BASENAME(CC) +# ------------------- +# It would be clearer to call AC_REQUIREs from _LT_PREPARE_CC_BASENAME, +# but that macro is also expanded into generated libtool script, which +# arranges for $SED and $ECHO to be set by different means. +m4_defun(_LT_CC_BASENAME, +m4_require(_LT_PREPARE_CC_BASENAME)dnl +AC_REQUIRE(_LT_DECL_SED)dnl +AC_REQUIRE(_LT_PROG_ECHO_BACKSLASH)dnl +func_cc_basename $1 +cc_basename=$func_cc_basename_result +) + + +# _LT_FILEUTILS_DEFAULTS +# ---------------------- +# It is okay to use these file commands and assume they have been set +# sensibly after 'm4_require(_LT_FILEUTILS_DEFAULTS)'. +m4_defun(_LT_FILEUTILS_DEFAULTS, +: ${CP="cp -f"} +: ${MV="mv -f"} +: ${RM="rm -f"} +)# _LT_FILEUTILS_DEFAULTS + + +# _LT_SETUP +# --------- +m4_defun(_LT_SETUP, +AC_REQUIRE(AC_CANONICAL_HOST)dnl +AC_REQUIRE(AC_CANONICAL_BUILD)dnl +AC_REQUIRE(_LT_PREPARE_SED_QUOTE_VARS)dnl +AC_REQUIRE(_LT_PROG_ECHO_BACKSLASH)dnl + +_LT_DECL(, PATH_SEPARATOR, 1, The PATH separator for the build system)dnl +dnl +_LT_DECL(, host_alias, 0, The host system)dnl +_LT_DECL(, host, 0)dnl +_LT_DECL(, host_os, 0)dnl +dnl +_LT_DECL(, build_alias, 0, The build system)dnl +_LT_DECL(, build, 0)dnl +_LT_DECL(, build_os, 0)dnl +dnl +AC_REQUIRE(AC_PROG_CC)dnl +AC_REQUIRE(LT_PATH_LD)dnl +AC_REQUIRE(LT_PATH_NM)dnl +dnl +AC_REQUIRE(AC_PROG_LN_S)dnl +test -z "$LN_S" && LN_S="ln -s" +_LT_DECL(, LN_S, 1, Whether we need soft or hard links)dnl +dnl +AC_REQUIRE(LT_CMD_MAX_LEN)dnl +_LT_DECL(objext, ac_objext, 0, Object file suffix (normally "o"))dnl +_LT_DECL(, exeext, 0, Executable file suffix (normally ""))dnl +dnl +m4_require(_LT_FILEUTILS_DEFAULTS)dnl +m4_require(_LT_CHECK_SHELL_FEATURES)dnl +m4_require(_LT_PATH_CONVERSION_FUNCTIONS)dnl +m4_require(_LT_CMD_RELOAD)dnl +m4_require(_LT_DECL_FILECMD)dnl +m4_require(_LT_CHECK_MAGIC_METHOD)dnl +m4_require(_LT_CHECK_SHAREDLIB_FROM_LINKLIB)dnl +m4_require(_LT_CMD_OLD_ARCHIVE)dnl +m4_require(_LT_CMD_GLOBAL_SYMBOLS)dnl +m4_require(_LT_WITH_SYSROOT)dnl +m4_require(_LT_CMD_TRUNCATE)dnl + +_LT_CONFIG_LIBTOOL_INIT( +# See if we are running on zsh, and set the options that allow our +# commands through without removal of \ escapes INIT. +if test -n "\${ZSH_VERSION+set}"; then + setopt NO_GLOB_SUBST +fi +)
View file
_service:tar_scm:libXrandr-1.5.4.tar.gz/m4/ltoptions.m4
Added
@@ -0,0 +1,437 @@ +# Helper functions for option handling. -*- Autoconf -*- +# +# Copyright (C) 2004-2005, 2007-2009, 2011-2019, 2021-2022 Free +# Software Foundation, Inc. +# Written by Gary V. Vaughan, 2004 +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. + +# serial 8 ltoptions.m4 + +# This is to help aclocal find these macros, as it can't see m4_define. +AC_DEFUN(LTOPTIONS_VERSION, m4_if(1)) + + +# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME) +# ------------------------------------------ +m4_define(_LT_MANGLE_OPTION, +_LT_OPTION_m4_bpatsubst($1__$2, ^a-zA-Z0-9_, _)) + + +# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME) +# --------------------------------------- +# Set option OPTION-NAME for macro MACRO-NAME, and if there is a +# matching handler defined, dispatch to it. Other OPTION-NAMEs are +# saved as a flag. +m4_define(_LT_SET_OPTION, +m4_define(_LT_MANGLE_OPTION($1, $2))dnl +m4_ifdef(_LT_MANGLE_DEFUN($1, $2), + _LT_MANGLE_DEFUN($1, $2), + m4_warning(Unknown $1 option '$2'))dnl +) + + +# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, IF-NOT-SET) +# ------------------------------------------------------------ +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. +m4_define(_LT_IF_OPTION, +m4_ifdef(_LT_MANGLE_OPTION($1, $2), $3, $4)) + + +# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET) +# ------------------------------------------------------- +# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME +# are set. +m4_define(_LT_UNLESS_OPTIONS, +m4_foreach(_LT_Option, m4_split(m4_normalize($2)), + m4_ifdef(_LT_MANGLE_OPTION($1, _LT_Option), + m4_define($0_found)))dnl +m4_ifdef($0_found, m4_undefine($0_found), $3 +)dnl +) + + +# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST) +# ---------------------------------------- +# OPTION-LIST is a space-separated list of Libtool options associated +# with MACRO-NAME. If any OPTION has a matching handler declared with +# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about +# the unknown option and exit. +m4_defun(_LT_SET_OPTIONS, +# Set options +m4_foreach(_LT_Option, m4_split(m4_normalize($2)), + _LT_SET_OPTION($1, _LT_Option)) + +m4_if($1,LT_INIT, + dnl + dnl Simply set some default values (i.e off) if boolean options were not + dnl specified: + _LT_UNLESS_OPTIONS(LT_INIT, dlopen, enable_dlopen=no + ) + _LT_UNLESS_OPTIONS(LT_INIT, win32-dll, enable_win32_dll=no + ) + dnl + dnl If no reference was made to various pairs of opposing options, then + dnl we run the default mode handler for the pair. For example, if neither + dnl 'shared' nor 'disable-shared' was passed, we enable building of shared + dnl archives by default: + _LT_UNLESS_OPTIONS(LT_INIT, shared disable-shared, _LT_ENABLE_SHARED) + _LT_UNLESS_OPTIONS(LT_INIT, static disable-static, _LT_ENABLE_STATIC) + _LT_UNLESS_OPTIONS(LT_INIT, pic-only no-pic, _LT_WITH_PIC) + _LT_UNLESS_OPTIONS(LT_INIT, fast-install disable-fast-install, + _LT_ENABLE_FAST_INSTALL) + _LT_UNLESS_OPTIONS(LT_INIT, aix-soname=aix aix-soname=both aix-soname=svr4, + _LT_WITH_AIX_SONAME(aix)) + ) +)# _LT_SET_OPTIONS + + +## --------------------------------- ## +## Macros to handle LT_INIT options. ## +## --------------------------------- ## + +# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME) +# ----------------------------------------- +m4_define(_LT_MANGLE_DEFUN, +_LT_OPTION_DEFUN_m4_bpatsubst(m4_toupper($1__$2), ^A-Z0-9_, _)) + + +# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE) +# ----------------------------------------------- +m4_define(LT_OPTION_DEFINE, +m4_define(_LT_MANGLE_DEFUN($1, $2), $3)dnl +)# LT_OPTION_DEFINE + + +# dlopen +# ------ +LT_OPTION_DEFINE(LT_INIT, dlopen, enable_dlopen=yes +) + +AU_DEFUN(AC_LIBTOOL_DLOPEN, +_LT_SET_OPTION(LT_INIT, dlopen) +AC_DIAGNOSE(obsolete, +$0: Remove this warning and the call to _LT_SET_OPTION when you +put the 'dlopen' option into LT_INIT's first parameter.) +) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN(AC_LIBTOOL_DLOPEN, ) + + +# win32-dll +# --------- +# Declare package support for building win32 dll's. +LT_OPTION_DEFINE(LT_INIT, win32-dll, +enable_win32_dll=yes + +case $host in +*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) + AC_CHECK_TOOL(AS, as, false) + AC_CHECK_TOOL(DLLTOOL, dlltool, false) + AC_CHECK_TOOL(OBJDUMP, objdump, false) + ;; +esac + +test -z "$AS" && AS=as +_LT_DECL(, AS, 1, Assembler program)dnl + +test -z "$DLLTOOL" && DLLTOOL=dlltool +_LT_DECL(, DLLTOOL, 1, DLL creation program)dnl + +test -z "$OBJDUMP" && OBJDUMP=objdump +_LT_DECL(, OBJDUMP, 1, Object dumper program)dnl +)# win32-dll + +AU_DEFUN(AC_LIBTOOL_WIN32_DLL, +AC_REQUIRE(AC_CANONICAL_HOST)dnl +_LT_SET_OPTION(LT_INIT, win32-dll) +AC_DIAGNOSE(obsolete, +$0: Remove this warning and the call to _LT_SET_OPTION when you +put the 'win32-dll' option into LT_INIT's first parameter.) +) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN(AC_LIBTOOL_WIN32_DLL, ) + + +# _LT_ENABLE_SHARED(DEFAULT) +# ---------------------------- +# implement the --enable-shared flag, and supports the 'shared' and +# 'disable-shared' LT_INIT options. +# DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. +m4_define(_LT_ENABLE_SHARED, +m4_define(_LT_ENABLE_SHARED_DEFAULT, m4_if($1, no, no, yes))dnl +AC_ARG_ENABLE(shared, + AS_HELP_STRING(--enable-shared@<:@=PKGS@:>@, + build shared libraries @<:@default=_LT_ENABLE_SHARED_DEFAULT@:>@), + p=${PACKAGE-default} + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, + for pkg in $enableval; do + IFS=$lt_save_ifs + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS=$lt_save_ifs + ;; + esac, + enable_shared=_LT_ENABLE_SHARED_DEFAULT) + + _LT_DECL(build_libtool_libs, enable_shared, 0, + Whether or not to build shared libraries) +)# _LT_ENABLE_SHARED + +LT_OPTION_DEFINE(LT_INIT, shared, _LT_ENABLE_SHARED(yes)) +LT_OPTION_DEFINE(LT_INIT, disable-shared, _LT_ENABLE_SHARED(no)) + +# Old names: +AC_DEFUN(AC_ENABLE_SHARED, +_LT_SET_OPTION(LT_INIT, m4_if($1, no, disable-)shared) +)
View file
_service:tar_scm:libXrandr-1.5.4.tar.gz/m4/ltsugar.m4
Added
@@ -0,0 +1,124 @@ +# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- +# +# Copyright (C) 2004-2005, 2007-2008, 2011-2019, 2021-2022 Free Software +# Foundation, Inc. +# Written by Gary V. Vaughan, 2004 +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. + +# serial 6 ltsugar.m4 + +# This is to help aclocal find these macros, as it can't see m4_define. +AC_DEFUN(LTSUGAR_VERSION, m4_if(0.1)) + + +# lt_join(SEP, ARG1, ARG2...) +# ----------------------------- +# Produce ARG1SEPARG2...SEPARGn, omitting arguments and their +# associated separator. +# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier +# versions in m4sugar had bugs. +m4_define(lt_join, +m4_if($#, 1, , + $#, 2, $2, + m4_if($2, , , $2_)$0($1, m4_shift(m4_shift($@))))) +m4_define(_lt_join, +m4_if($#$2, 2, , + m4_if($2, , , $1$2)$0($1, m4_shift(m4_shift($@))))) + + +# lt_car(LIST) +# lt_cdr(LIST) +# ------------ +# Manipulate m4 lists. +# These macros are necessary as long as will still need to support +# Autoconf-2.59, which quotes differently. +m4_define(lt_car, $1) +m4_define(lt_cdr, +m4_if($#, 0, m4_fatal($0: cannot be called without arguments), + $#, 1, , + m4_dquote(m4_shift($@)))) +m4_define(lt_unquote, $1) + + +# lt_append(MACRO-NAME, STRING, SEPARATOR) +# ------------------------------------------ +# Redefine MACRO-NAME to hold its former content plus 'SEPARATOR''STRING'. +# Note that neither SEPARATOR nor STRING are expanded; they are appended +# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked). +# No SEPARATOR is output if MACRO-NAME was previously undefined (different +# than defined and empty). +# +# This macro is needed until we can rely on Autoconf 2.62, since earlier +# versions of m4sugar mistakenly expanded SEPARATOR but not STRING. +m4_define(lt_append, +m4_define($1, + m4_ifdef($1, m4_defn($1)$3)$2)) + + + +# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, SUFFIX2...) +# ---------------------------------------------------------- +# Produce a SEP delimited list of all paired combinations of elements of +# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list +# has the form PREFIXmINFIXSUFFIXn. +# Needed until we can rely on m4_combine added in Autoconf 2.62. +m4_define(lt_combine, +m4_if(m4_eval($# > 3), 1, + m4_pushdef(_Lt_sep, m4_define(_Lt_sep, m4_defn(lt_car)))dnl +m4_foreach(_Lt_prefix, $2, + m4_foreach(_Lt_suffix, + m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@))))), + _Lt_sep($1)m4_defn(_Lt_prefix)$3m4_defn(_Lt_suffix))))) + + +# lt_if_append_uniq(MACRO-NAME, VARNAME, SEPARATOR, UNIQ, NOT-UNIQ) +# ----------------------------------------------------------------------- +# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited +# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ. +m4_define(lt_if_append_uniq, +m4_ifdef($1, + m4_if(m4_index($3m4_defn($1)$3, $3$2$3), -1, + lt_append($1, $2, $3)$4, + $5), + lt_append($1, $2, $3)$4)) + + +# lt_dict_add(DICT, KEY, VALUE) +# ----------------------------- +m4_define(lt_dict_add, +m4_define($1($2), $3)) + + +# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE) +# -------------------------------------------- +m4_define(lt_dict_add_subkey, +m4_define($1($2:$3), $4)) + + +# lt_dict_fetch(DICT, KEY, SUBKEY) +# ---------------------------------- +m4_define(lt_dict_fetch, +m4_ifval($3, + m4_ifdef($1($2:$3), m4_defn($1($2:$3))), + m4_ifdef($1($2), m4_defn($1($2))))) + + +# lt_if_dict_fetch(DICT, KEY, SUBKEY, VALUE, IF-TRUE, IF-FALSE) +# ----------------------------------------------------------------- +m4_define(lt_if_dict_fetch, +m4_if(lt_dict_fetch($1, $2, $3), $4, + $5, + $6)) + + +# lt_dict_filter(DICT, SUBKEY, VALUE, SEPARATOR, KEY, ...) +# -------------------------------------------------------------- +m4_define(lt_dict_filter, +m4_if($5, , , + lt_join(m4_quote(m4_default($4, , )), + lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car(m4_shiftn(4, $@)), + lt_if_dict_fetch($1, _Lt_key, $2, $3, _Lt_key )))))))dnl +)
View file
_service:tar_scm:libXrandr-1.5.4.tar.gz/m4/ltversion.m4
Added
@@ -0,0 +1,24 @@ +# ltversion.m4 -- version numbers -*- Autoconf -*- +# +# Copyright (C) 2004, 2011-2019, 2021-2022 Free Software Foundation, +# Inc. +# Written by Scott James Remnant, 2004 +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. + +# @configure_input@ + +# serial 4245 ltversion.m4 +# This file is part of GNU Libtool + +m4_define(LT_PACKAGE_VERSION, 2.4.7) +m4_define(LT_PACKAGE_REVISION, 2.4.7) + +AC_DEFUN(LTVERSION_VERSION, +macro_version='2.4.7' +macro_revision='2.4.7' +_LT_DECL(, macro_version, 0, Which release of libtool.m4 was used?) +_LT_DECL(, macro_revision, 0) +)
View file
_service:tar_scm:libXrandr-1.5.4.tar.gz/m4/lt~obsolete.m4
Added
@@ -0,0 +1,99 @@ +# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- +# +# Copyright (C) 2004-2005, 2007, 2009, 2011-2019, 2021-2022 Free +# Software Foundation, Inc. +# Written by Scott James Remnant, 2004. +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. + +# serial 5 lt~obsolete.m4 + +# These exist entirely to fool aclocal when bootstrapping libtool. +# +# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN), +# which have later been changed to m4_define as they aren't part of the +# exported API, or moved to Autoconf or Automake where they belong. +# +# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN +# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us +# using a macro with the same name in our local m4/libtool.m4 it'll +# pull the old libtool.m4 in (it doesn't see our shiny new m4_define +# and doesn't know about Autoconf macros at all.) +# +# So we provide this file, which has a silly filename so it's always +# included after everything else. This provides aclocal with the +# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything +# because those macros already exist, or will be overwritten later. +# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. +# +# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here. +# Yes, that means every name once taken will need to remain here until +# we give up compatibility with versions before 1.7, at which point +# we need to keep only those names which we still refer to. + +# This is to help aclocal find these macros, as it can't see m4_define. +AC_DEFUN(LTOBSOLETE_VERSION, m4_if(1)) + +m4_ifndef(AC_LIBTOOL_LINKER_OPTION, AC_DEFUN(AC_LIBTOOL_LINKER_OPTION)) +m4_ifndef(AC_PROG_EGREP, AC_DEFUN(AC_PROG_EGREP)) +m4_ifndef(_LT_AC_PROG_ECHO_BACKSLASH, AC_DEFUN(_LT_AC_PROG_ECHO_BACKSLASH)) +m4_ifndef(_LT_AC_SHELL_INIT, AC_DEFUN(_LT_AC_SHELL_INIT)) +m4_ifndef(_LT_AC_SYS_LIBPATH_AIX, AC_DEFUN(_LT_AC_SYS_LIBPATH_AIX)) +m4_ifndef(_LT_PROG_LTMAIN, AC_DEFUN(_LT_PROG_LTMAIN)) +m4_ifndef(_LT_AC_TAGVAR, AC_DEFUN(_LT_AC_TAGVAR)) +m4_ifndef(AC_LTDL_ENABLE_INSTALL, AC_DEFUN(AC_LTDL_ENABLE_INSTALL)) +m4_ifndef(AC_LTDL_PREOPEN, AC_DEFUN(AC_LTDL_PREOPEN)) +m4_ifndef(_LT_AC_SYS_COMPILER, AC_DEFUN(_LT_AC_SYS_COMPILER)) +m4_ifndef(_LT_AC_LOCK, AC_DEFUN(_LT_AC_LOCK)) +m4_ifndef(AC_LIBTOOL_SYS_OLD_ARCHIVE, AC_DEFUN(AC_LIBTOOL_SYS_OLD_ARCHIVE)) +m4_ifndef(_LT_AC_TRY_DLOPEN_SELF, AC_DEFUN(_LT_AC_TRY_DLOPEN_SELF)) +m4_ifndef(AC_LIBTOOL_PROG_CC_C_O, AC_DEFUN(AC_LIBTOOL_PROG_CC_C_O)) +m4_ifndef(AC_LIBTOOL_SYS_HARD_LINK_LOCKS, AC_DEFUN(AC_LIBTOOL_SYS_HARD_LINK_LOCKS)) +m4_ifndef(AC_LIBTOOL_OBJDIR, AC_DEFUN(AC_LIBTOOL_OBJDIR)) +m4_ifndef(AC_LTDL_OBJDIR, AC_DEFUN(AC_LTDL_OBJDIR)) +m4_ifndef(AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH, AC_DEFUN(AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH)) +m4_ifndef(AC_LIBTOOL_SYS_LIB_STRIP, AC_DEFUN(AC_LIBTOOL_SYS_LIB_STRIP)) +m4_ifndef(AC_PATH_MAGIC, AC_DEFUN(AC_PATH_MAGIC)) +m4_ifndef(AC_PROG_LD_GNU, AC_DEFUN(AC_PROG_LD_GNU)) +m4_ifndef(AC_PROG_LD_RELOAD_FLAG, AC_DEFUN(AC_PROG_LD_RELOAD_FLAG)) +m4_ifndef(AC_DEPLIBS_CHECK_METHOD, AC_DEFUN(AC_DEPLIBS_CHECK_METHOD)) +m4_ifndef(AC_LIBTOOL_PROG_COMPILER_NO_RTTI, AC_DEFUN(AC_LIBTOOL_PROG_COMPILER_NO_RTTI)) +m4_ifndef(AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE, AC_DEFUN(AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE)) +m4_ifndef(AC_LIBTOOL_PROG_COMPILER_PIC, AC_DEFUN(AC_LIBTOOL_PROG_COMPILER_PIC)) +m4_ifndef(AC_LIBTOOL_PROG_LD_SHLIBS, AC_DEFUN(AC_LIBTOOL_PROG_LD_SHLIBS)) +m4_ifndef(AC_LIBTOOL_POSTDEP_PREDEP, AC_DEFUN(AC_LIBTOOL_POSTDEP_PREDEP)) +m4_ifndef(LT_AC_PROG_EGREP, AC_DEFUN(LT_AC_PROG_EGREP)) +m4_ifndef(LT_AC_PROG_SED, AC_DEFUN(LT_AC_PROG_SED)) +m4_ifndef(_LT_CC_BASENAME, AC_DEFUN(_LT_CC_BASENAME)) +m4_ifndef(_LT_COMPILER_BOILERPLATE, AC_DEFUN(_LT_COMPILER_BOILERPLATE)) +m4_ifndef(_LT_LINKER_BOILERPLATE, AC_DEFUN(_LT_LINKER_BOILERPLATE)) +m4_ifndef(_AC_PROG_LIBTOOL, AC_DEFUN(_AC_PROG_LIBTOOL)) +m4_ifndef(AC_LIBTOOL_SETUP, AC_DEFUN(AC_LIBTOOL_SETUP)) +m4_ifndef(_LT_AC_CHECK_DLFCN, AC_DEFUN(_LT_AC_CHECK_DLFCN)) +m4_ifndef(AC_LIBTOOL_SYS_DYNAMIC_LINKER, AC_DEFUN(AC_LIBTOOL_SYS_DYNAMIC_LINKER)) +m4_ifndef(_LT_AC_TAGCONFIG, AC_DEFUN(_LT_AC_TAGCONFIG)) +m4_ifndef(AC_DISABLE_FAST_INSTALL, AC_DEFUN(AC_DISABLE_FAST_INSTALL)) +m4_ifndef(_LT_AC_LANG_CXX, AC_DEFUN(_LT_AC_LANG_CXX)) +m4_ifndef(_LT_AC_LANG_F77, AC_DEFUN(_LT_AC_LANG_F77)) +m4_ifndef(_LT_AC_LANG_GCJ, AC_DEFUN(_LT_AC_LANG_GCJ)) +m4_ifndef(AC_LIBTOOL_LANG_C_CONFIG, AC_DEFUN(AC_LIBTOOL_LANG_C_CONFIG)) +m4_ifndef(_LT_AC_LANG_C_CONFIG, AC_DEFUN(_LT_AC_LANG_C_CONFIG)) +m4_ifndef(AC_LIBTOOL_LANG_CXX_CONFIG, AC_DEFUN(AC_LIBTOOL_LANG_CXX_CONFIG)) +m4_ifndef(_LT_AC_LANG_CXX_CONFIG, AC_DEFUN(_LT_AC_LANG_CXX_CONFIG)) +m4_ifndef(AC_LIBTOOL_LANG_F77_CONFIG, AC_DEFUN(AC_LIBTOOL_LANG_F77_CONFIG)) +m4_ifndef(_LT_AC_LANG_F77_CONFIG, AC_DEFUN(_LT_AC_LANG_F77_CONFIG)) +m4_ifndef(AC_LIBTOOL_LANG_GCJ_CONFIG, AC_DEFUN(AC_LIBTOOL_LANG_GCJ_CONFIG)) +m4_ifndef(_LT_AC_LANG_GCJ_CONFIG, AC_DEFUN(_LT_AC_LANG_GCJ_CONFIG)) +m4_ifndef(AC_LIBTOOL_LANG_RC_CONFIG, AC_DEFUN(AC_LIBTOOL_LANG_RC_CONFIG)) +m4_ifndef(_LT_AC_LANG_RC_CONFIG, AC_DEFUN(_LT_AC_LANG_RC_CONFIG)) +m4_ifndef(AC_LIBTOOL_CONFIG, AC_DEFUN(AC_LIBTOOL_CONFIG)) +m4_ifndef(_LT_AC_FILE_LTDLL_C, AC_DEFUN(_LT_AC_FILE_LTDLL_C)) +m4_ifndef(_LT_REQUIRED_DARWIN_CHECKS, AC_DEFUN(_LT_REQUIRED_DARWIN_CHECKS)) +m4_ifndef(_LT_AC_PROG_CXXCPP, AC_DEFUN(_LT_AC_PROG_CXXCPP)) +m4_ifndef(_LT_PREPARE_SED_QUOTE_VARS, AC_DEFUN(_LT_PREPARE_SED_QUOTE_VARS)) +m4_ifndef(_LT_PROG_ECHO_BACKSLASH, AC_DEFUN(_LT_PROG_ECHO_BACKSLASH)) +m4_ifndef(_LT_PROG_F77, AC_DEFUN(_LT_PROG_F77)) +m4_ifndef(_LT_PROG_FC, AC_DEFUN(_LT_PROG_FC)) +m4_ifndef(_LT_PROG_CXX, AC_DEFUN(_LT_PROG_CXX))
View file
_service:tar_scm:libXrandr-1.5.3.tar.gz/man/Makefile.am -> _service:tar_scm:libXrandr-1.5.4.tar.gz/man/Makefile.am
Changed
@@ -1,5 +1,5 @@ # -# Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, 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"),
View file
_service:tar_scm:libXrandr-1.5.3.tar.gz/man/Makefile.in -> _service:tar_scm:libXrandr-1.5.4.tar.gz/man/Makefile.in
Changed
@@ -15,7 +15,7 @@ @SET_MAKE@ # -# Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, 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"), @@ -113,7 +113,10 @@ host_triplet = @host@ subdir = man ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
View file
_service:tar_scm:libXrandr-1.5.3.tar.gz/src/Makefile.in -> _service:tar_scm:libXrandr-1.5.4.tar.gz/src/Makefile.in
Changed
@@ -91,7 +91,10 @@ host_triplet = @host@ subdir = src ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(libXrandrinclude_HEADERS) \
View file
_service:tar_scm:libXrandr-1.5.3.tar.gz/src/XrrMonitor.c -> _service:tar_scm:libXrandr-1.5.4.tar.gz/src/XrrMonitor.c
Changed
@@ -122,7 +122,7 @@ buf += SIZEOF (xRRMonitorInfo); xoutput = (CARD32 *) buf; if (xmon->noutput > rep.noutputs) { - Xfree(buf); + Xfree(buf_head); Xfree(mon); UnlockDisplay (dpy); SyncHandle ();
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2