Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[xsrc/trunk]: xsrc/external/mit/libXrandr/dist initial import of libXrandr-1.5.3



details:   https://anonhg.NetBSD.org/xsrc/rev/b0d1bef98295
branches:  trunk
changeset: 7300:b0d1bef98295
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Jan 08 06:01:00 2023 +0000

description:
initial import of libXrandr-1.5.3

diffstat:

 external/mit/libXrandr/dist/ChangeLog                       |     93 +-
 external/mit/libXrandr/dist/Makefile.in                     |     56 +-
 external/mit/libXrandr/dist/README.md                       |      2 +-
 external/mit/libXrandr/dist/aclocal.m4                      |  20213 +++++----
 external/mit/libXrandr/dist/config.guess                    |   1488 +-
 external/mit/libXrandr/dist/config.h.in                     |     10 +-
 external/mit/libXrandr/dist/config.sub                      |   2885 +-
 external/mit/libXrandr/dist/configure                       |  12416 +++--
 external/mit/libXrandr/dist/configure.ac                    |      9 +-
 external/mit/libXrandr/dist/depcomp                         |     10 +-
 external/mit/libXrandr/dist/include/X11/extensions/Xrandr.h |      3 +-
 external/mit/libXrandr/dist/install-sh                      |    172 +-
 external/mit/libXrandr/dist/ltmain.sh                       |    881 +-
 external/mit/libXrandr/dist/man/Makefile.in                 |     18 +-
 external/mit/libXrandr/dist/missing                         |     16 +-
 external/mit/libXrandr/dist/src/Makefile.in                 |     81 +-
 external/mit/libXrandr/dist/src/Xrandr.c                    |     22 +-
 external/mit/libXrandr/dist/src/Xrandrint.h                 |      4 +-
 external/mit/libXrandr/dist/src/XrrConfig.c                 |     28 +-
 external/mit/libXrandr/dist/src/XrrCrtc.c                   |     12 +-
 external/mit/libXrandr/dist/src/XrrMonitor.c                |     12 +-
 external/mit/libXrandr/dist/src/XrrOutput.c                 |      2 +-
 external/mit/libXrandr/dist/src/XrrProperty.c               |     13 +-
 external/mit/libXrandr/dist/src/XrrProviderProperty.c       |     13 +-
 external/mit/libXrandr/dist/src/XrrScreen.c                 |      7 +-
 25 files changed, 20155 insertions(+), 18311 deletions(-)

diffs (truncated from 46571 to 300 lines):

diff -r 32ea6f74e374 -r b0d1bef98295 external/mit/libXrandr/dist/ChangeLog
--- a/external/mit/libXrandr/dist/ChangeLog     Sun Jan 08 06:00:57 2023 +0000
+++ b/external/mit/libXrandr/dist/ChangeLog     Sun Jan 08 06:01:00 2023 +0000
@@ -1,3 +1,88 @@
+commit 3387129532899eaeee3477a2d92fa662d7292a84
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Nov 20 08:54:24 2022 -0800
+
+    libXrandr 1.5.3
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 7181160b2c32b1bb804792990783fa25c1122bae
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Mon Oct 17 17:57:19 2022 -0700
+
+    Remove unnecessary casts of return values from malloc()
+    
+    Not needed in C89 and later
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 8710ed270fbb9ec905b906826cb09095c57003f8
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Mon Oct 17 17:24:23 2022 -0700
+
+    Variable scope reductions as recommended by cppcheck
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 684ed1b997f9e8a2fe2219524c1dea04b20a7e25
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Mon Oct 17 16:45:38 2022 -0700
+
+    XRRGetProviderInfo: Remove unneeded ProviderInfoExtra
+    
+    It was always 0, hence caused gcc warnings:
+    
+    XrrProvider.c: In function ‘XRRGetProviderInfo’:
+    XrrProvider.c:133:49: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
+         if (rep.length > INT_MAX >> 2 || rep.length < ProviderInfoExtra >> 2)
+                                                     ^
+    XrrProvider.c:135:17: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
+      if (rep.length < ProviderInfoExtra >> 2)
+                     ^
+    XrrProvider.c:135:5: warning: this condition has identical branches [-Wduplicated-branches]
+      if (rep.length < ProviderInfoExtra >> 2)
+         ^
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 8ddb2aefcda77709cf98f15fbcb7d97a2d00ab7d
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Mon Oct 17 16:36:01 2022 -0700
+
+    Xrandr.h: remove misleading comment for XRRGetScreenSizeRange()
+    
+    Closes: #7
+    Fixes: 5e94f07 ("GetScreenSizeRange: Document funky return code in the header")
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit d66693441f688867e6fd4a5d4a4bdade9a338755
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Jul 17 17:32:18 2022 -0700
+
+    gitlab CI: add a basic build test
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit e4c7841eb916f8ad65bfe63daef0f1e81252c704
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Jul 17 17:31:20 2022 -0700
+
+    Fix spelling/wording issues
+    
+    Found by using:
+        codespell --builtin clear,rare,usage,informal,code,names
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit be3c7a7621e89bbde2884585179b9e4c5b9e6639
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Jul 17 17:29:30 2022 -0700
+
+    Build xz tarballs instead of bzip2
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
 commit 55dcda4518eda8ae03ef25ea29d3c994ad71eb0a
 Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
 Date:   Sat Mar 16 13:54:20 2019 -0700
@@ -1094,7 +1179,7 @@
     Set version to 1.2.1 for release.
 
 commit c279b64ccca18b14974e413b0b1d55ac81abceda
-Author: Fredrik Höglund <fredrik%kde.org@localhost>
+Author: Fredrik Höglund  <fredrik%kde.org@localhost>
 Date:   Tue Feb 20 22:30:00 2007 +0100
 
     Fix the use of a C++ keyword as a parameter name in Xrandr.h
@@ -1458,21 +1543,21 @@
     Require renderproto instead of render for pkgconfig
 
 commit 9c36643810a7e837f325970ddd5964bbff4971b6
-Author: Søren Sandmann Pedersen <sandmann%daimi.au.dk@localhost>
+Author: Søren Sandmann Pedersen  <sandmann%daimi.au.dk@localhost>
 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@localhost>
+Author: Søren Sandmann Pedersen  <sandmann%daimi.au.dk@localhost>
 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@localhost>
+Author: Søren Sandmann Pedersen  <sandmann%daimi.au.dk@localhost>
 Date:   Wed Jun 8 17:48:03 2005 +0000
 
     Check in build system for Xrandr
diff -r 32ea6f74e374 -r b0d1bef98295 external/mit/libXrandr/dist/Makefile.in
--- a/external/mit/libXrandr/dist/Makefile.in   Sun Jan 08 06:00:57 2023 +0000
+++ b/external/mit/libXrandr/dist/Makefile.in   Sun Jan 08 06:01:00 2023 +0000
@@ -1,7 +1,7 @@
-# Makefile.in generated by automake 1.15 from Makefile.am.
+# Makefile.in generated by automake 1.16.5 from Makefile.am.
 # @configure_input@
 
-# Copyright (C) 1994-2014 Free Software Foundation, Inc.
+# Copyright (C) 1994-2021 Free Software Foundation, Inc.
 
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -185,9 +185,9 @@
   $(RECURSIVE_CLEAN_TARGETS) \
   $(am__extra_recursive_targets)
 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
-       cscope distdir dist dist-all distcheck
-am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
-       $(LISP)config.h.in
+       cscope distdir distdir-am dist dist-all distcheck
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
+       config.h.in
 # Read a list of newline-separated strings from the standard input,
 # and print each of them once, without duplicates.  Input order is
 # *not* preserved.
@@ -204,13 +204,11 @@
   unique=`for i in $$list; do \
     if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
   done | $(am__uniquify_input)`
-ETAGS = etags
-CTAGS = ctags
-CSCOPE = cscope
 DIST_SUBDIRS = $(SUBDIRS)
 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
        $(srcdir)/xrandr.pc.in AUTHORS COPYING ChangeLog INSTALL \
-       compile config.guess config.sub install-sh ltmain.sh missing
+       README.md compile config.guess config.sub install-sh ltmain.sh \
+       missing
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 distdir = $(PACKAGE)-$(VERSION)
 top_distdir = $(distdir)
@@ -246,9 +244,11 @@
     dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
   done; \
   reldir="$$dir2"
-DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
+DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.xz
 GZIP_ENV = --best
-DIST_TARGETS = dist-bzip2 dist-gzip
+DIST_TARGETS = dist-xz dist-gzip
+# Exists only to be overridden by the user if desired.
+AM_DISTCHECK_DVI_TARGET = dvi
 distuninstallcheck_listfiles = find . -type f -print
 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
   | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
@@ -270,8 +270,9 @@
 CCDEPMODE = @CCDEPMODE@
 CFLAGS = @CFLAGS@
 CHANGELOG_CMD = @CHANGELOG_CMD@
-CPP = @CPP@
 CPPFLAGS = @CPPFLAGS@
+CSCOPE = @CSCOPE@
+CTAGS = @CTAGS@
 CWARNFLAGS = @CWARNFLAGS@
 CYGPATH_W = @CYGPATH_W@
 DEFS = @DEFS@
@@ -285,8 +286,10 @@
 ECHO_N = @ECHO_N@
 ECHO_T = @ECHO_T@
 EGREP = @EGREP@
+ETAGS = @ETAGS@
 EXEEXT = @EXEEXT@
 FGREP = @FGREP@
+FILECMD = @FILECMD@
 FILE_MAN_DIR = @FILE_MAN_DIR@
 FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
 GREP = @GREP@
@@ -388,6 +391,7 @@
 prefix = @prefix@
 program_transform_name = @program_transform_name@
 psdir = @psdir@
+runstatedir = @runstatedir@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 srcdir = @srcdir@
@@ -426,8 +430,8 @@
            echo ' $(SHELL) ./config.status'; \
            $(SHELL) ./config.status;; \
          *) \
-           echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
-           cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
+           echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
+           cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
        esac;
 
 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
@@ -591,8 +595,10 @@
 distclean-tags:
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
        -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
+distdir: $(BUILT_SOURCES)
+       $(MAKE) $(AM_MAKEFLAGS) distdir-am
 
-distdir: $(DISTFILES)
+distdir-am: $(DISTFILES)
        $(am__remove_distdir)
        test -d "$(distdir)" || mkdir "$(distdir)"
        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
@@ -660,8 +666,9 @@
          ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
        || chmod -R a+r "$(distdir)"
 dist-gzip: distdir
-       tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+       tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
        $(am__post_remove_distdir)
+
 dist-bzip2: distdir
        tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
        $(am__post_remove_distdir)
@@ -669,11 +676,14 @@
 dist-lzip: distdir
        tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
        $(am__post_remove_distdir)
-
 dist-xz: distdir
        tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
        $(am__post_remove_distdir)
 
+dist-zstd: distdir
+       tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
+       $(am__post_remove_distdir)
+
 dist-tarZ: distdir
        @echo WARNING: "Support for distribution archives compressed with" \
                       "legacy program 'compress' is deprecated." >&2
@@ -685,7 +695,7 @@
        @echo WARNING: "Support for shar distribution archives is" \
                       "deprecated." >&2
        @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
-       shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
+       shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
        $(am__post_remove_distdir)
 
 dist-zip: distdir
@@ -703,7 +713,7 @@
 distcheck: dist
        case '$(DIST_ARCHIVES)' in \
        *.tar.gz*) \
-         GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
+         eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
        *.tar.bz2*) \
          bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
        *.tar.lz*) \
@@ -713,9 +723,11 @@
        *.tar.Z*) \
          uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
        *.shar.gz*) \
-         GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
+         eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
        *.zip*) \
          unzip $(distdir).zip ;;\
+       *.tar.zst*) \
+         zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
        esac
        chmod -R a-w $(distdir)
        chmod u+w $(distdir)
@@ -731,7 +743,7 @@
            $(DISTCHECK_CONFIGURE_FLAGS) \
            --srcdir=../.. --prefix="$$dc_install_base" \
          && $(MAKE) $(AM_MAKEFLAGS) \
-         && $(MAKE) $(AM_MAKEFLAGS) dvi \
+         && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
          && $(MAKE) $(AM_MAKEFLAGS) check \


Home | Main Index | Thread Index | Old Index