Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libXxf86vm for openSUSE:Factory checked in at 2026-01-28 15:07:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libXxf86vm (Old) and /work/SRC/openSUSE:Factory/.libXxf86vm.new.1928 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libXxf86vm" Wed Jan 28 15:07:47 2026 rev:12 rq:1329324 version:1.1.7 Changes: -------- --- /work/SRC/openSUSE:Factory/libXxf86vm/libXxf86vm.changes 2024-12-16 19:09:11.450682214 +0100 +++ /work/SRC/openSUSE:Factory/.libXxf86vm.new.1928/libXxf86vm.changes 2026-01-28 15:08:41.221841082 +0100 @@ -1,0 +2,11 @@ +Mon Jan 26 14:03:28 UTC 2026 - Stefan Dirsch <[email protected]> + +- Update to version 1.1.7 + * meson: Add option to build with meson + * Improve man page formatting + * XF86VM.3: fix warnings raised by `mandoc -T lint` and `groff -rCHECKSTYLE=10` + * gitlab CI: drop the ci-fairy check-mr job + * XF86VM.3: Some editorial changes for this man page [Debian bug #1102885] +- switch to meson + +------------------------------------------------------------------- Old: ---- libXxf86vm-1.1.6.tar.xz New: ---- libXxf86vm-1.1.7.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libXxf86vm.spec ++++++ --- /var/tmp/diff_new_pack.hU5AFt/_old 2026-01-28 15:08:41.913869828 +0100 +++ /var/tmp/diff_new_pack.hU5AFt/_new 2026-01-28 15:08:41.913869828 +0100 @@ -1,7 +1,7 @@ # # spec file for package libXxf86vm # -# 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 @@ -18,7 +18,7 @@ %define lname libXxf86vm1 Name: libXxf86vm -Version: 1.1.6 +Version: 1.1.7 Release: 0 Summary: XFree86-VidMode X extension library License: MIT @@ -31,6 +31,7 @@ #git#BuildRequires: autoconf >= 2.60, automake, libtool BuildRequires: fdupes BuildRequires: grep +BuildRequires: meson BuildRequires: pkgconfig BuildRequires: pkgconfig(x11) >= 1.6 BuildRequires: pkgconfig(xext) @@ -70,12 +71,11 @@ %setup -q %build -%configure --disable-static -%make_build +%meson +%meson_build %install -%make_install -find %{buildroot} -type f -name "*.la" -delete -print +%meson_install %fdupes %{buildroot}/%{_prefix} %post -n %{lname} -p /sbin/ldconfig ++++++ libXxf86vm-1.1.6.tar.xz -> libXxf86vm-1.1.7.tar.xz ++++++ ++++ 2581 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/libXxf86vm-1.1.6/ChangeLog new/libXxf86vm-1.1.7/ChangeLog --- old/libXxf86vm-1.1.6/ChangeLog 2024-12-14 03:23:34.000000000 +0100 +++ new/libXxf86vm-1.1.7/ChangeLog 2026-01-26 02:23:03.000000000 +0100 @@ -1,3 +1,70 @@ +commit 7f200bf00e3e288e47265c01decc401616c57f10 +Author: Alan Coopersmith <[email protected]> +Date: Sun Jan 25 17:13:28 2026 -0800 + + libXxf86vm 1.1.7 + + Signed-off-by: Alan Coopersmith <[email protected]> + +commit a986cf2151b839a8c3a5c6e524b0c5d060e170cf +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]> + +commit 63134ba6acf046099fc112e08942ff6549f2286a +Author: Alan Coopersmith <[email protected]> +Date: Tue Jul 15 18:32:38 2025 -0700 + + XF86VM.3: fix warnings raised by `mandoc -T lint` and `groff -rCHECKSTYLE=10` + + Signed-off-by: Alan Coopersmith <[email protected]> + Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxxf86vm/-/merge_requests/11> + +commit e7c22963adb0101b4b42c3a8d775154568c41b93 +Author: Alan Coopersmith <[email protected]> +Date: Sat Apr 19 12:05:42 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/lib/libxxf86vm/-/merge_requests/10> + +commit d6a928004a6784ef9e44d6ffdf34c9288f62a3ac +Author: Bjarni Ingi Gislason <[email protected]> +Date: Sat Apr 12 20:00:04 2025 +0000 + + XF86VM.3: Some editorial changes for this man page [Debian bug #1102885] + + Originally from https://bugs.debian.org/1102885 + + Signed-off-by: Alan Coopersmith <[email protected]> + Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxxf86vm/-/merge_requests/10> + +commit b7d0126604e74871844fcecda04d45bb25988a2c +Author: Alan Coopersmith <[email protected]> +Date: Sun Feb 23 15:17:08 2025 -0800 + + 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/lib/libxxf86vm/-/merge_requests/9> + commit 4f7497ee3b0deb0418ce48dcd862fd6c23e20064 Author: Alan Coopersmith <[email protected]> Date: Fri Dec 13 18:20:17 2024 -0800 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/libXxf86vm-1.1.6/Makefile.am new/libXxf86vm-1.1.7/Makefile.am --- old/libXxf86vm-1.1.6/Makefile.am 2024-12-14 03:23:10.000000000 +0100 +++ new/libXxf86vm-1.1.7/Makefile.am 2026-01-26 02:22:42.000000000 +0100 @@ -15,4 +15,4 @@ dist-hook: ChangeLog INSTALL -EXTRA_DIST = README.md +EXTRA_DIST = README.md meson.build meson.options 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/libXxf86vm-1.1.6/compile new/libXxf86vm-1.1.7/compile --- old/libXxf86vm-1.1.6/compile 2024-12-14 03:23:25.000000000 +0100 +++ new/libXxf86vm-1.1.7/compile 2026-01-26 02:22:57.000000000 +0100 @@ -1,9 +1,9 @@ #! /bin/sh # Wrapper for compilers which do not understand '-c -o'. -scriptversion=2024-06-19.01; # UTC +scriptversion=2025-06-18.21; # UTC -# Copyright (C) 1999-2024 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"` @@ -343,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/libXxf86vm-1.1.6/configure.ac new/libXxf86vm-1.1.7/configure.ac --- old/libXxf86vm-1.1.6/configure.ac 2024-12-14 03:23:10.000000000 +0100 +++ new/libXxf86vm-1.1.7/configure.ac 2026-01-26 02:22:42.000000000 +0100 @@ -1,7 +1,7 @@ # Initialize Autoconf AC_PREREQ([2.60]) -AC_INIT([libXxf86vm], [1.1.6], +AC_INIT([libXxf86vm], [1.1.7], [https://gitlab.freedesktop.org/xorg/lib/libxxf86vm/-/issues], [libXxf86vm]) AC_CONFIG_SRCDIR([Makefile.am]) 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/libXxf86vm-1.1.6/man/XF86VM.man new/libXxf86vm-1.1.7/man/XF86VM.man --- old/libXxf86vm-1.1.6/man/XF86VM.man 2024-12-14 03:23:10.000000000 +0100 +++ new/libXxf86vm-1.1.7/man/XF86VM.man 2026-01-26 02:22:42.000000000 +0100 @@ -1,108 +1,117 @@ .\" .\" Copyright (c) 1996 Joe Moss, The XFree86 Project .\" -.de ZN -.ie t \fB\^\\$1\^\fR\\$2 -.el \fI\^\\$1\^\fP\\$2 -.. .de EX .RS .nf .sp 1 -.ft CW +.if t \{\ +. ie \\n(.g .ft CR +. el .ft CW +.\} .. .de EE .ft .sp 1 .fi +.if t .ft R .RE .. -.TH XF86VIDMODE __libmansuffix__ __vendorversion__ +.TH XF86VIDMODE __libmansuffix__ 2013-07-05 __vendorversion__ .SH NAME -XF86VidModeQueryExtension, XF86VidModeQueryVersion, XF86VidModeSetClientVersion, XF86VidModeGetModeLine, XF86VidModeGetAllModeLines, XF86VidModeAddModeLine, XF86VidModeDeleteModeLine, XF86VidModeModModeLine, XF86VidModeValidateModeLine, XF86VidModeSwitchMode, XF86VidModeSwitchToMode, XF86VidModeLockModeSwitch, XF86VidModeGetMonitor, XF86VidModeGetViewPort, XF86VidModeSetViewPort, XF86VidModeGetDotClocks, XF86VidModeGetGamma, XF86VidModeSetGamma, XF86VidModeGetGammaRamp, XF86VidModeSetGammaRamp, XF86VidModeGetGammaRampSize, XF86VidModeGetPermissions \- Extension library for the XFree86-VidMode X extension +XF86VidModeQueryExtension, XF86VidModeQueryVersion, +XF86VidModeSetClientVersion, XF86VidModeGetModeLine, +XF86VidModeGetAllModeLines, XF86VidModeAddModeLine, +XF86VidModeDeleteModeLine, XF86VidModeModModeLine, +XF86VidModeValidateModeLine, XF86VidModeSwitchMode, +XF86VidModeSwitchToMode, XF86VidModeLockModeSwitch, XF86VidModeGetMonitor, +XF86VidModeGetViewPort, XF86VidModeSetViewPort, XF86VidModeGetDotClocks, +XF86VidModeGetGamma, XF86VidModeSetGamma, XF86VidModeGetGammaRamp, +XF86VidModeSetGammaRamp, XF86VidModeGetGammaRampSize, +XF86VidModeGetPermissions \- Extension library for the XFree86-VidMode X +extension .SH SYNOPSIS .nf - \&#include <X11/extensions/xf86vmode.h> - +.sp Bool XF86VidModeQueryExtension( Display *\fIdisplay\fP\^, int *\fIevent_base_return\fP\^, int *\fIerror_base_return\fP\^); - +.sp Bool XF86VidModeQueryVersion( Display *\fIdisplay\fP\^, int *\fImajor_version_return\fP\^, int *\fIminor_version_return\fP\^); - +.sp Bool XF86VidModeSetClientVersion( Display *\fIdisplay\fP\^); - +.sp Bool XF86VidModeGetModeLine( Display *\fIdisplay\fP\^, int \fIscreen\fP\^, int *\fIdotclock_return\fP\^, XF86VidModeModeLine *\fImodeline\fP\^); - +.sp Bool XF86VidModeGetAllModeLines( Display *\fIdisplay\fP\^, int \fIscreen\fP\^, int *\fImodecount_return\fP\^, XF86VidModeModeInfo ***\fImodesinfo\fP\^); - +.sp Bool XF86VidModeAddModeLine( Display *\fIdisplay\fP\^, int \fIscreen\fP\^, XF86VidModeModeInfo *\fImodeline\fP\, XF86VidModeModeInfo *\fIaftermode\fP\^); - +.sp Bool XF86VidModeDeleteModeLine( Display *\fIdisplay\fP\^, int \fIscreen\fP\^, XF86VidModeModeInfo *\fImodeline\fP\^); - +.sp Bool XF86VidModeModModeLine( Display *\fIdisplay\fP\^, int \fIscreen\fP\^, XF86VidModeModeLine *\fImodeline\fP\^); - +.sp Status XF86VidModeValidateModeLine( Display *\fIdisplay\fP\^, int \fIscreen\fP\^, XF86VidModeModeLine *\fImodeline\fP\^); - +.sp Bool XF86VidModeSwitchMode( Display *\fIdisplay\fP\^, int \fIscreen\fP\^, int \fIzoom\fP\^); - +.sp Bool XF86VidModeSwitchToMode( Display *\fIdisplay\fP\^, int \fIscreen\fP\^, XF86VidModeModeInfo *\fImodeline\fP\^); - +.sp Bool XF86VidModeLockModeSwitch( Display *\fIdisplay\fP\^, int \fIscreen\fP\^, int \fIlock\fP\^); - +.sp Bool XF86VidModeGetMonitor( Display *\fIdisplay\fP\^, int \fIscreen\fP\^, XF86VidModeMonitor *\fImonitor\fP\^); - +.sp Bool XF86VidModeGetViewPort( Display *\fIdisplay\fP\^, int \fIscreen\fP\^, int *\fIx_return\fP\^, int *\fIy_return\fP\^); - +.sp Bool XF86VidModeSetViewPort( Display *\fIdisplay\fP\^, int \fIscreen\fP\^, int \fIx\fP\^, int \fIy\fP\^); - +.sp XF86VidModeGetDotClocks( Display *\fIdisplay\fP\^, int \fIscreen\fP\^, @@ -110,17 +119,17 @@ int *\fInumber of clocks return\fP\^, int *\fImax dot clock return\fP\^, int **\fIclocks return\fP\^); - +.sp XF86VidModeGetGamma( Display *\fIdisplay\fP\^, int \fIscreen\fP\^, XF86VidModeGamma *\fIGamma\fP\^); - +.sp XF86VidModeSetGamma( Display *\fIdisplay\fP\^, int \fIscreen\fP\^, XF86VidModeGamma *\fIGamma\fP\^); - +.sp XF86VidModeGetGammaRamp( Display *\fIdisplay\fP\^, int \fIscreen\fP\^, @@ -128,7 +137,7 @@ unsigned short *\fIred array\fP\^, unsigned short *\fIgreen array\fP\^, unsigned short *\fIblue array\fP\^); - +.sp XF86VidModeSetGammaRamp( Display *\fIdisplay\fP\^, int \fIscreen\fP\^, @@ -136,7 +145,7 @@ unsigned short *\fIred array\fP\^, unsigned short *\fIgreen array\fP\^, unsigned short *\fIblue array\fP\^); - +.sp XF86VidModeGetGammaRampSize( Display *\fIdisplay\fP\^, int \fIscreen\fP\^, @@ -198,7 +207,7 @@ int privsize; /\(** Size of private */ INT32 *private; /\(** Server privates */ } XF86VidModeModeLine; - +.sp typedef struct { unsigned int dotclock; /\(** Pixel clock */ unsigned short hdisplay; /\(** Number of display pixels horizontally */ @@ -226,12 +235,12 @@ unsigned char nvsync; /\(** Number of vert sync ranges */ XF86VidModeSyncRange* vsync; /\(** Vertical sync ranges */ } XF86VidModeMonitor; - +.sp typedef struct { float hi; /\(** Top of range */ float lo; /\(** Bottom of range */ } XF86VidModeSyncRange; - +.sp typedef struct { int type; /\(** of event */ unsigned long serial; /\(** # of last request processed by server */ @@ -243,7 +252,7 @@ Bool forced; /\(** extents of new region */ Time time; /\(** event timestamp */ } XF86VidModeNotifyEvent; - +.sp typedef struct { float red; /\(** Red Gamma value */ float green; /\(** Green Gamma value */ @@ -252,175 +261,185 @@ .EE .SH DESCRIPTION These functions provide an interface to the server extension -\fIXFree86-VidModeExtension\fP +.B XFree86-VidModeExtension which allows the video modes to be queried and adjusted dynamically and mode switching to be controlled. -Applications that use these functions must be linked with -.ZN -lXxf86vm -.SS "MODELINE FUNCTIONS" +Applications that use these functions must be linked with the +.B \-lXxf86vm +flag. +.SS MODELINE FUNCTIONS The -.ZN XF86VidModeGetModeLine -function is used to query the settings for the currently selected -video mode. The calling program should pass a pointer to a -.ZN XF86VidModeModeLine -structure that it has already allocated. The function fills in -the fields of the structure. +.B XF86VidModeGetModeLine +function is used to query the settings for the currently selected video mode. +The calling program should pass a pointer to a +.B XF86VidModeModeLine +structure that it has already allocated. +The function fills in the fields of the structure. .PP If there are any server private values (currently only applicable to the S3 server) the function will allocate storage for them. Therefore, if the -.ZN privsize +.I privsize field is non-zero, the calling program should call -.ZN Xfree(private) +.B Xfree(private) to free the storage. .PP -.ZN XF86VidModeGetAllModeLines +.B XF86VidModeGetAllModeLines returns the settings for all video modes. The calling program supplies the address of a pointer which will be set by the function to point to an array of -.ZN XF86VidModeModeInfo -structures. The memory occupied by the array is dynamically allocated -by the -.ZN XF86VidModeGetAllModeLines +.B XF86VidModeModeInfo +structures. +The memory occupied by the array is dynamically allocated by the +.B XF86VidModeGetAllModeLines function and should be freed by the caller. The first element of the array corresponds to the current video mode. .PP The -.ZN XF86VidModeModModeLine +.B XF86VidModeModModeLine function can be used to change the settings of the current video mode -provided the requested settings are valid (e.g. they don't exceed the +provided the requested settings are valid (e.g., they don't exceed the capabilities of the monitor). .PP To add a mode to the list of available modes, the -.ZN XF86VidModeAddModeLine +.B XF86VidModeAddModeLine function can be used. Assuming the settings are valid, the video mode will be added after the existing mode which matches the timings specified by the -.ZN aftermode +.I aftermode parameter. To be considered a match, all of the fields of the given -.ZN XF86VidModeModeInfo +.B XF86VidModeModeInfo structure must match, except the -.ZN privsize +.I privsize and -.ZN private +.I private fields. If the -.ZN aftermode +.I aftermode parameter is zero, the mode will be added after the current mode. .PP Modes can be deleted with the -.ZN XF86VidModeDeleteModeLine -function. The specified mode must match an existing mode. +.B XF86VidModeDeleteModeLine +function. +The specified mode must match an existing mode. To be considered a match, all of the fields of the given -.ZN XF86VidModeModeInfo +.B XF86VidModeModeInfo structure must match, except the -.ZN privsize +.I privsize and -.ZN private +.I private fields. If the mode to be deleted is the current mode, a mode switch -to the next mode will occur first. The last remaining mode can not -be deleted. +to the next mode will occur first. +The last remaining mode can not be deleted. .PP The validity of a mode can be checked with the -.ZN XF86VidModeValidateModeLine +.B XF86VidModeValidateModeLine function. -If the specified mode can be used by the server (i.e. meets all the +If the specified mode can be used by the server (i.e., meets all the constraints placed upon a mode by the combination of the server, card, and monitor) the function returns -.ZN MODE_OK , +.BR MODE_OK , otherwise it returns a value indicating the reason why the mode is -invalid (as defined in \fIxf86.h\fP) -.SS "MODE SWITCH FUNCTIONS" +invalid (as defined in \fIxf86vmode.h\fP). +.SS MODE SWITCH FUNCTIONS When the function -.ZN XF86VidModeSwitchMode +.B XF86VidModeSwitchMode is called, the server will change the video mode to next (or previous) -video mode. The -.ZN XF86VidModeSwitchToMode +video mode. +The +.B XF86VidModeSwitchToMode function can be used to switch directly to the specified mode. Matching is as specified in the description of the -.ZN XF86VidModeAddModeLine +.B XF86VidModeAddModeLine function above. The -.ZN XF86VidModeLockModeSwitch +.B XF86VidModeLockModeSwitch function can be used to allow or disallow mode switching whether the request to switch modes comes from a call to the -.ZN XF86VidModeSwitchMode +.B XF86VidModeSwitchMode or -.ZN XF86VidModeSwitchToMode +.B XF86VidModeSwitchToMode functions or from one of the mode switch key sequences. .PP -.RB Note: +.BR Note : Because of the asynchronous nature of the X protocol, a call to -.ZN XFlush +.B XFlush is needed if the application wants to see the mode change immediately. -To be informed of the execution status of the request, a -custom error handler should be installed using -.ZN XSetErrorHandler +To be informed of the execution status of the request, +a custom error handler should be installed using +.B XSetErrorHandler before calling the mode switching function. -.SS "MONITOR FUNCTIONS" +.SS MONITOR FUNCTIONS Information known to the server about the monitor is returned by the -.ZN XF86VidModeGetMonitor -function. The -.ZN hsync +.B XF86VidModeGetMonitor +function. +The +.I hsync and -.ZN vsync +.I vsync fields each point to an array of -.ZN XF86VidModeSyncRange -structures. The arrays contain -.ZN nhsync +.B XF86VidModeSyncRange +structures. +The arrays contain +.I nhsync and -.ZN nvsync +.I nvsync elements, respectively. The -.ZN hi +.I hi and -.ZN low -values will be equal if a discreate value was given in the -.ZN XF86Config +.I low +values will be equal if a discrete value was given in the +.BR xorg.conf (5) file. .PP The -.ZN vendor , -.ZN model , -.ZN hsync , +.IR vendor , +.IR model , +.IR hsync , and -.ZN vsync +.I vsync fields point to dynamically allocated storage that should be freed by the caller. -.SS "VIEWPORT FUNCTIONS" +.SS VIEWPORT FUNCTIONS The -.ZN XF86VidModeGetViewPort +.B XF86VidModeGetViewPort and -.ZN XF86VidModeSetViewPort +.B XF86VidModeSetViewPort functions can be used to, respectively, query and change the location of the upper left corner of the viewport into the virtual screen. -.SS "OTHER FUNCTIONS" +.SS OTHER FUNCTIONS The -.ZN XF86VidModeQueryVersion +.B XF86VidModeQueryVersion function can be used to determine the version of the extension built into the server. .PP The function -.ZN XF86VidModeQueryExtension +.B XF86VidModeQueryExtension returns the lowest numbered error and event values assigned to the extension. .SH BUGS The -XF86VidModeSetClientVersion, -XF86VidModeGetDotClocks, -XF86VidModeGetGamma, -XF86VidModeSetGamma, -XF86VidModeSetGammaRamp, -XF86VidModeGetGammaRamp, -XF86VidModeGetGammaRampSize, +.BR XF86VidModeSetClientVersion , +.BR XF86VidModeGetDotClocks , +.BR XF86VidModeGetGamma , +.BR XF86VidModeSetGamma , +.BR XF86VidModeSetGammaRamp , +.BR XF86VidModeGetGammaRamp , +.BR XF86VidModeGetGammaRampSize , and -XF86VidModeGetPermissions -functions need to be documented. In the meantime, check the source -code for information about how to use them. +.B XF86VidModeGetPermissions +functions need to be documented. +In the meantime, check the source code for information about how to use them. .SH SEE ALSO -__xservername__(__appmansuffix__), __xconfigfile__(__filemansuffix__), XFlush(__libmansuffix__), XSetErrorHandler(__libmansuffix__), xvidtune(__appmansuffix__) +.BR Xorg (1), +.BR xvidtune (1), +.BR XFlush (__libmansuffix__), +.BR XSetErrorHandler (__libmansuffix__), +.BR xorg.conf (5), +.BR X (7) .SH AUTHORS Kaleb Keithley, Jon Tombs, David Dawes, and Joe Moss 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/libXxf86vm-1.1.6/meson.build new/libXxf86vm-1.1.7/meson.build --- old/libXxf86vm-1.1.6/meson.build 1970-01-01 01:00:00.000000000 +0100 +++ new/libXxf86vm-1.1.7/meson.build 2026-01-26 02:22:42.000000000 +0100 @@ -0,0 +1,118 @@ +# SPDX-License-Identifier: MIT +# +# Copyright (c) 2025, 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( + 'libXxf86vm', + 'c', + version: '1.1.7', + license: 'X11', + license_files: 'COPYING', + meson_version: '>= 1.1.0', +) + +# Replacement for XORG_CHECK_MALLOC_ZERO +add_project_arguments('-DMALLOC_0_RETURNS_NULL', language: 'c') + +# Obtain compiler/linker options for dependencies +dep_xproto = dependency('xproto', required: true) +dep_libx11 = dependency('x11', required: true, version: '>= 1.6') +dep_xextproto = dependency('xextproto', required: true) +dep_libxext = dependency('xext', required: true) +dep_xf86vmproto = dependency('xf86vidmodeproto', required: true, + version: '>= 2.2.99.1') + +lib = library( + 'Xxf86vm', + 'src/XF86VMode.c', + include_directories: 'include', + dependencies: [dep_xproto, dep_libx11, dep_xextproto, dep_libxext, dep_xf86vmproto], + version: '1.0.0', + install: true, +) + +install_headers( + 'include/X11/extensions/xf86vmode.h', + subdir: 'X11/extensions', +) + +pkg = import('pkgconfig') +pkg.generate( + name: 'Xxf86vm', + description: 'XFree86 Video Mode Extension Library', + filebase: 'xxf86vm', + libraries: '-L${libdir} -lXxf86vm', + requires: ['xf86vidmodeproto'], + requires_private: [dep_libx11, dep_libxext], + url: 'https://gitlab.freedesktop.org/xorg/lib/libxxf86vm/' +) + +prog_sed = find_program('sed') + +libXxf86vm_manpages = [ + 'XF86VM', + 'XF86VidModeQueryExtension', + 'XF86VidModeQueryVersion', + 'XF86VidModeGetModeLine', + 'XF86VidModeGetAllModeLines', + 'XF86VidModeAddModeLine', + 'XF86VidModeDeleteModeLine', + 'XF86VidModeModModeLine', + 'XF86VidModeSwitchMode', + 'XF86VidModeSwitchToMode', + 'XF86VidModeLockModeSwitch', + 'XF86VidModeGetMonitor', + 'XF86VidModeGetViewPort', + 'XF86VidModeSetViewPort', + 'XF86VidModeValidateModeLine', + 'XF86VidModeSetClientVersion', + 'XF86VidModeGetDotClocks', + 'XF86VidModeGetGamma', + 'XF86VidModeSetGamma', + 'XF86VidModeSetGammaRamp', + 'XF86VidModeGetGammaRamp', + 'XF86VidModeGetGammaRampSize', + 'XF86VidModeGetPermissions' +] + +lib_man_suffix = get_option('lib_man_suffix') +foreach man: libXxf86vm_manpages + custom_target( + f'@[email protected]', + input: f'man/@[email protected]', + output: f'@man@.@lib_man_suffix@', + command: [ + prog_sed, + '-e', 's/__vendorversion__/"libXxf86vm @0@" "X Version 11"/'.format(meson.project_version()), + '-e', 's/__appmansuffix__/1/g', + '-e', 's/__filemansuffix__/5/g', + '-e', f's/__libmansuffix__/@lib_man_suffix@/g', + '-e', 's/__xservername__/Xorg/g', + '-e', 's/__xconfigfile__/xorg.conf/g', + '@INPUT@', + ], + capture: true, + install: true, + install_dir: get_option('prefix') / get_option('mandir') / f'man@lib_man_suffix@', + ) +endforeach 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/libXxf86vm-1.1.6/meson.options new/libXxf86vm-1.1.7/meson.options --- old/libXxf86vm-1.1.6/meson.options 1970-01-01 01:00:00.000000000 +0100 +++ new/libXxf86vm-1.1.7/meson.options 2026-01-26 02:22:42.000000000 +0100 @@ -0,0 +1,2 @@ +option('lib_man_suffix', type : 'string', value : '3', + description : 'Suffix for library man pages') 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/libXxf86vm-1.1.6/missing new/libXxf86vm-1.1.7/missing --- old/libXxf86vm-1.1.6/missing 2024-12-14 03:23:25.000000000 +0100 +++ new/libXxf86vm-1.1.7/missing 2026-01-26 02:22:57.000000000 +0100 @@ -1,11 +1,11 @@ #! /bin/sh # Common wrapper for a few potentially missing GNU and other programs. -scriptversion=2024-06-07.14; # UTC +scriptversion=2025-06-18.21; # UTC # shellcheck disable=SC2006,SC2268 # we must support pre-POSIX shells -# Copyright (C) 1996-2024 Free Software Foundation, Inc. +# 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 @@ -228,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: 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/libXxf86vm-1.1.6/xxf86vm.pc.in new/libXxf86vm-1.1.7/xxf86vm.pc.in --- old/libXxf86vm-1.1.6/xxf86vm.pc.in 2024-12-14 03:23:10.000000000 +0100 +++ new/libXxf86vm-1.1.7/xxf86vm.pc.in 2026-01-26 02:22:42.000000000 +0100 @@ -1,12 +1,13 @@ prefix=@prefix@ exec_prefix=@exec_prefix@ -libdir=@libdir@ includedir=@includedir@ +libdir=@libdir@ Name: Xxf86vm Description: XFree86 Video Mode Extension Library +URL: https://gitlab.freedesktop.org/xorg/lib/libxxf86vm/ Version: @VERSION@ Requires: xf86vidmodeproto -Requires.private: x11 xext -Cflags: -I${includedir} +Requires.private: x11 >= 1.6, xext Libs: -L${libdir} -lXxf86vm +Cflags: -I${includedir}
