Hello community, here is the log from the commit of package libdmx for openSUSE:Factory checked in at 2012-05-08 11:58:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libdmx (Old) and /work/SRC/openSUSE:Factory/.libdmx.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libdmx", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/libdmx/libdmx.changes 2012-02-17 12:00:59.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libdmx.new/libdmx.changes 2012-05-08 11:59:32.000000000 +0200 @@ -1,0 +2,7 @@ +Wed Apr 11 16:20:44 UTC 2012 - vuntz@opensuse.org + +- Update to version 1.1.2: + + Janitorial cleanups + + Build configuration improvements + +------------------------------------------------------------------- Old: ---- libdmx-1.1.1.tar.bz2 New: ---- libdmx-1.1.2.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libdmx.spec ++++++ --- /var/tmp/diff_new_pack.yklnFP/_old 2012-05-08 11:59:33.000000000 +0200 +++ /var/tmp/diff_new_pack.yklnFP/_new 2012-05-08 11:59:33.000000000 +0200 @@ -14,23 +14,28 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + + Name: libdmx %define lname libdmx1 -Version: 1.1.1 +Version: 1.1.2 Release: 0 Summary: Distributed Multihead X extension library License: MIT Group: Development/Libraries/C and C++ -URL: http://xorg.freedesktop.org/ +Url: http://xorg.freedesktop.org/ #Git-Clone: git://anongit.freedesktop.org/xorg/lib/libdmx #Git-Web: http://cgit.freedesktop.org/xorg/lib/libdmx/ -Source: %name-%version.tar.bz2 -BuildRoot: %_tmppath/%name-%version-build +Source: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-build #git#BuildRequires: autoconf >= 2.60, automake, libtool -BuildRequires: pkgconfig, pkgconfig(xorg-macros) >= 1.8, pkgconfig(x11) -BuildRequires: pkgconfig(xext), pkgconfig(xextproto) +BuildRequires: pkgconfig BuildRequires: pkgconfig(dmxproto) >= 2.2.99.1 +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xext) +BuildRequires: pkgconfig(xextproto) +BuildRequires: pkgconfig(xorg-macros) >= 1.8 %description libdmx is an interface to the DMX extension for X, which allows a ++++++ libdmx-1.1.1.tar.bz2 -> libdmx-1.1.2.tar.bz2 ++++++ ++++ 40452 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/libdmx-1.1.1/ChangeLog new/libdmx-1.1.2/ChangeLog --- old/libdmx-1.1.1/ChangeLog 2010-10-29 01:56:59.000000000 +0200 +++ new/libdmx-1.1.2/ChangeLog 2012-03-08 06:44:59.000000000 +0100 @@ -1,3 +1,78 @@ +commit 9f470c92bc2d194c8abb9154f42864e6c82f43ef +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Wed Mar 7 21:43:10 2012 -0800 + + libdmx 1.1.2 + + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> + +commit 94c2e8ba375d968bd648097a484edac5d1c87c78 +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Fri Mar 2 17:38:24 2012 -0800 + + Stop casting away constness on dmx_extension_name + + Fixes gcc warning: + dmx.c: In function 'find_display': + dmx.c:78:1: warning: cast discards qualifiers from pointer target type + + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> + +commit 19bea63b9b39d83da9b4aa277cc1db967a4928bd +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Fri Sep 16 22:06:15 2011 -0700 + + Strip trailing whitespace + + Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}' + git diff -w & git diff -b show no diffs from this change + + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> + +commit 1ab0d436ceac0acef0cd97d8b280727b02062cc8 +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Tue May 17 20:32:38 2011 -0700 + + Fix various typos in man pages + + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> + +commit 77701e9139f79db2e66026bebaab265a873b0856 +Author: Gaetan Nadon <memsize@videotron.ca> +Date: Wed Feb 2 11:43:46 2011 -0500 + + config: comment, minor upgrade, quote and layout configure.ac + + Group statements per section as per Autoconf standard layout + Quote statements where appropriate. + Autoconf recommends not using dnl instead of # for comments + + Use AC_CONFIG_FILES to replace the deprecated AC_OUTPUT with parameters. + Add AC_CONFIG_SRCDIR([Makefile.am]) + + This helps automated maintenance and release activities. + Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines + +commit d970eb0954c0400bdab923c0b9c433b2f33dbe9d +Author: Gaetan Nadon <memsize@videotron.ca> +Date: Fri Jan 28 19:41:37 2011 -0500 + + config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS + + Signed-off-by: Gaetan Nadon <memsize@videotron.ca> + +commit b865861d72a86024daec36c517a214e75ef4b973 +Author: Gaetan Nadon <memsize@videotron.ca> +Date: Thu Jan 27 19:20:39 2011 -0500 + + config: remove AC_PROG_CC as it overrides AC_PROG_C_C99 + + XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls + AC_PROG_C_C99. This sets gcc with -std=gnu99. + If AC_PROG_CC macro is called afterwards, it resets CC to gcc. + + Signed-off-by: Gaetan Nadon <memsize@videotron.ca> + commit 09d2ddd805a00568e4b7f668b0f500a63c350940 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Thu Oct 28 16:56:29 2010 -0700 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libdmx-1.1.1/Makefile.am new/libdmx-1.1.2/Makefile.am --- old/libdmx-1.1.1/Makefile.am 2010-04-10 02:45:10.000000000 +0200 +++ new/libdmx-1.1.2/Makefile.am 2012-03-08 06:43:14.000000000 +0100 @@ -1,6 +1,6 @@ -# +# # Copyright 2005 Red Hat, Inc. -# +# # Permission to use, copy, modify, distribute, and sell this software and its # documentation for any purpose is hereby granted without fee, provided that # the above copyright notice appear in all copies and that both that @@ -10,7 +10,7 @@ # specific, written prior permission. Red Hat makes no # representations about the suitability of this software for any purpose. It # is provided "as is" without express or implied warranty. -# +# # RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, # INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO # EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR 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/libdmx-1.1.1/configure.ac new/libdmx-1.1.2/configure.ac --- old/libdmx-1.1.1/configure.ac 2010-10-29 01:56:13.000000000 +0200 +++ new/libdmx-1.1.2/configure.ac 2012-03-08 06:43:14.000000000 +0100 @@ -1,50 +1,50 @@ +# Copyright 2005 Red Hat, Inc. +# +# Permission to use, copy, modify, distribute, and sell this software and its +# documentation for any purpose is hereby granted without fee, provided that +# the above copyright notice appear in all copies and that both that +# copyright notice and this permission notice appear in supporting +# documentation, and that the name of Red Hat not be used in +# advertising or publicity pertaining to distribution of the software without +# specific, written prior permission. Red Hat makes no +# representations about the suitability of this software for any purpose. It +# is provided "as is" without express or implied warranty. +# +# RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO +# EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR +# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, +# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +# PERFORMANCE OF THIS SOFTWARE. +# -dnl Copyright 2005 Red Hat, Inc. -dnl -dnl Permission to use, copy, modify, distribute, and sell this software and its -dnl documentation for any purpose is hereby granted without fee, provided that -dnl the above copyright notice appear in all copies and that both that -dnl copyright notice and this permission notice appear in supporting -dnl documentation, and that the name of Red Hat not be used in -dnl advertising or publicity pertaining to distribution of the software without -dnl specific, written prior permission. Red Hat makes no -dnl representations about the suitability of this software for any purpose. It -dnl is provided "as is" without express or implied warranty. -dnl -dnl RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, -dnl INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO -dnl EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR -dnl CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, -dnl DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER -dnl TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -dnl PERFORMANCE OF THIS SOFTWARE. -dnl -dnl Process this file with autoconf to create configure. - +# Initialize Autoconf AC_PREREQ([2.60]) - -AC_INIT([libdmx], [1.1.1], +AC_INIT([libdmx], [1.1.2], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [libdmx]) +AC_CONFIG_SRCDIR([Makefile.am]) +AC_CONFIG_HEADERS([config.h]) + +# Initialize Automake AM_INIT_AUTOMAKE([foreign dist-bzip2]) AM_MAINTAINER_MODE +# Initialize libtool +AC_PROG_LIBTOOL + # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS m4_ifndef([XORG_MACROS_VERSION], [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])]) XORG_MACROS_VERSION(1.8) XORG_DEFAULT_OPTIONS -AM_CONFIG_HEADER(config.h) - -# Check for progs -AC_PROG_CC -AC_PROG_LIBTOOL +XORG_CHECK_MALLOC_ZERO -# Check for dependencies +# Obtain compiler/linker options for depedencies PKG_CHECK_MODULES(DMX, x11 xext xextproto [dmxproto >= 2.2.99.1]) -XORG_CHECK_MALLOC_ZERO - -AC_OUTPUT([Makefile - src/Makefile - man/Makefile - dmx.pc]) +AC_CONFIG_FILES([Makefile + src/Makefile + man/Makefile + dmx.pc]) +AC_OUTPUT 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/libdmx-1.1.1/include/X11/extensions/dmxext.h new/libdmx-1.1.2/include/X11/extensions/dmxext.h --- old/libdmx-1.1.1/include/X11/extensions/dmxext.h 2009-10-16 23:26:32.000000000 +0200 +++ new/libdmx-1.1.2/include/X11/extensions/dmxext.h 2012-03-08 06:43:14.000000000 +0100 @@ -87,7 +87,7 @@ } DMXInputEnum; /** Client-library input information structure, returned by - * #DMXGetInputAttributes. */ + * #DMXGetInputAttributes. */ typedef struct { DMXInputEnum inputType; int physicalScreen; 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/libdmx-1.1.1/man/DMXAddInput.man new/libdmx-1.1.2/man/DMXAddInput.man --- old/libdmx-1.1.1/man/DMXAddInput.man 2010-10-07 06:08:52.000000000 +0200 +++ new/libdmx-1.1.2/man/DMXAddInput.man 2012-03-08 06:43:14.000000000 +0100 @@ -82,8 +82,8 @@ .fi .PP .I inputType -may bave the value -.B DmxConsoleInputType " or " DmxBackendInputType . +may have the value +.B DMXConsoleInputType " or " DMXBackendInputType . .PP For console devices, .I name 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/libdmx-1.1.1/man/DMXAddScreen.man new/libdmx-1.1.2/man/DMXAddScreen.man --- old/libdmx-1.1.1/man/DMXAddScreen.man 2010-10-07 06:08:52.000000000 +0200 +++ new/libdmx-1.1.2/man/DMXAddScreen.man 2012-03-08 06:43:14.000000000 +0100 @@ -55,9 +55,9 @@ The information stored in .I mask " and " attr is identical to that used by the -.BR DMXChangeScreenAttributes (__libmansuffix__) +.BR DMXChangeScreensAttributes (__libmansuffix__) and -.BR DMXGetScreenAttribues (__libmansuffix__) +.BR DMXGetScreenAttributes (__libmansuffix__) functions. .SH "RETURN VALUE" .B DMXAddScreen() @@ -98,5 +98,5 @@ for both input and output. .SH "SEE ALSO" .BR DMXRemoveScreen "(__libmansuffix__), " -.BR DMXChangeScreenAttributes "(__libmansuffix__), " DMXGetScreenAttributes "(__libmansuffix__), " +.BR DMXChangeScreensAttributes "(__libmansuffix__), " DMXGetScreenAttributes "(__libmansuffix__), " .BR DMX "(__libmansuffix__), " Xdmx (1) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libdmx-1.1.1/man/DMXChangeDesktopAttributes.man new/libdmx-1.1.2/man/DMXChangeDesktopAttributes.man --- old/libdmx-1.1.1/man/DMXChangeDesktopAttributes.man 2010-10-07 06:08:52.000000000 +0200 +++ new/libdmx-1.1.2/man/DMXChangeDesktopAttributes.man 2012-03-08 06:43:14.000000000 +0100 @@ -77,7 +77,7 @@ .I shiftX " or " shiftY is not specified, 0 will be used. .PP -All coordinants are in the global DMX coordinant system. If Xinerama is +All coordinates are in the global DMX coordinate system. If Xinerama is not active, an error will be generated. .SH "RETURN VALUE" .B DMXChangeDesktopAttributes() 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/libdmx-1.1.1/man/DMXForceWindowCreation.man new/libdmx-1.1.2/man/DMXForceWindowCreation.man --- old/libdmx-1.1.1/man/DMXForceWindowCreation.man 2010-10-07 06:08:52.000000000 +0200 +++ new/libdmx-1.1.2/man/DMXForceWindowCreation.man 2012-03-08 06:43:14.000000000 +0100 @@ -41,7 +41,7 @@ returns .B True unless there is a protocol error. -.B DMXForceWindwoCreation() +.B DMXForceWindowCreation() can generate .B BadWindow errors. 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/libdmx-1.1.1/man/DMXGetInputAttributes.man new/libdmx-1.1.2/man/DMXGetInputAttributes.man --- old/libdmx-1.1.1/man/DMXGetInputAttributes.man 2010-10-07 06:08:52.000000000 +0200 +++ new/libdmx-1.1.2/man/DMXGetInputAttributes.man 2012-03-08 06:43:14.000000000 +0100 @@ -38,7 +38,7 @@ .IR id . This information cannot be obtained from the -.BR XListInputDeivices (__libmansuffix__) +.BR XListInputDevices (__libmansuffix__) call. .I id is the same as that used by the @@ -74,7 +74,7 @@ .I isCore " and " sendsCore , are invalid. .PP -For console devices, +For console devices, .I physicalScreen " and " physicalID will be invalid, and .I name 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/libdmx-1.1.1/man/DMXGetScreenAttributes.man new/libdmx-1.1.2/man/DMXGetScreenAttributes.man --- old/libdmx-1.1.1/man/DMXGetScreenAttributes.man 2010-10-07 06:08:52.000000000 +0200 +++ new/libdmx-1.1.2/man/DMXGetScreenAttributes.man 2012-03-08 06:43:14.000000000 +0100 @@ -83,14 +83,14 @@ are a geometry specification (see .BR X (7x)) for the location of the DMX screen on the back-end screen. The -coordinant system of the back-end display is used for these values. +coordinate system of the back-end display is used for these values. .PP .IR rootWindowWidth ", " rootWindowHeight ", " .IR rootWindowXoffset ", and " rootWindowYoffset are a geometry specification (see .BR X (7x)) for the location of the root window on the screen window. The -coordinant system of the screen window is used. In most cases, the root +coordinate system of the screen window is used. In most cases, the root window will have the same geometry as the DMX screen window, and will occupy the same area of the back-end display. (This would not be the case, for example, if automatic projector alignment is used.) @@ -106,5 +106,5 @@ errors. .SH "SEE ALSO" .BR DMXGetScreenCount "(__libmansuffix__), " -.BR DMXChangeScreenAttributes "(__libmansuffix__), " +.BR DMXChangeScreensAttributes "(__libmansuffix__), " .BR DMX "(__libmansuffix__), " Xdmx (1) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libdmx-1.1.1/man/DMXGetScreenCount.man new/libdmx-1.1.2/man/DMXGetScreenCount.man --- old/libdmx-1.1.1/man/DMXGetScreenCount.man 2010-10-07 06:08:52.000000000 +0200 +++ new/libdmx-1.1.2/man/DMXGetScreenCount.man 2012-03-08 06:43:14.000000000 +0100 @@ -61,6 +61,6 @@ .BR Xdmx (1) server is using. .SH "SEE ALSO" -.BR DMXGetScreenAttribtues "(__libmansuffix__), " -.BR DMXChangeScreenAttributes "(__libmansuffix__), " +.BR DMXGetScreenAttributes "(__libmansuffix__), " +.BR DMXChangeScreensAttributes "(__libmansuffix__), " .BR DMX "(__libmansuffix__), " Xdmx (1) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libdmx-1.1.1/man/Makefile.am new/libdmx-1.1.2/man/Makefile.am --- old/libdmx-1.1.1/man/Makefile.am 2010-07-08 00:09:59.000000000 +0200 +++ new/libdmx-1.1.2/man/Makefile.am 2012-03-08 06:43:14.000000000 +0100 @@ -1,5 +1,5 @@ # Copyright 2005 Red Hat, Inc. -# +# # Permission to use, copy, modify, distribute, and sell this software and its # documentation for any purpose is hereby granted without fee, provided that # the above copyright notice appear in all copies and that both that @@ -9,7 +9,7 @@ # specific, written prior permission. Red Hat makes no representations about # the suitability of this software for any purpose. It is provided "as is" without # express or implied warranty. -# +# # RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, # INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO # EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR 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/libdmx-1.1.1/src/dmx.c new/libdmx-1.1.2/src/dmx.c --- old/libdmx-1.1.1/src/dmx.c 2010-10-07 06:08:52.000000000 +0200 +++ new/libdmx-1.1.2/src/dmx.c 2012-03-08 06:43:14.000000000 +0100 @@ -76,7 +76,7 @@ }; static XEXT_GENERATE_FIND_DISPLAY(find_display, dmx_extension_info, - (char *)dmx_extension_name, + dmx_extension_name, &dmx_extension_hooks, 0, NULL) @@ -251,7 +251,7 @@ _XReadPad(dpy, attr->displayName, rep.displayNameLength); attr->displayName[rep.displayNameLength] = '\0'; attr->logicalScreen = rep.logicalScreen; - + attr->screenWindowWidth = rep.screenWindowWidth; attr->screenWindowHeight = rep.screenWindowHeight; attr->screenWindowXoffset = rep.screenWindowXoffset; @@ -293,7 +293,7 @@ unsigned long value_list[32]; unsigned long *value = value_list; int count = 0; - + for (i = 0; i < 32; i++) { if (mask & (1 << i)) { *value++ = _DMXGetScreenAttribute(i, attr); @@ -383,7 +383,7 @@ if (i < mask_count) mask = masks[i]; req->length += _DMXDumpScreenAttributes(dpy, mask, attrs + i); } - + if (!_XReply(dpy, (xReply *)&rep, 0, xFalse)) { UnlockDisplay(dpy); SyncHandle(); @@ -518,7 +518,7 @@ _XRead(dpy, (char *)windows, rep.screenCount * sizeof(*windows)); _XRead(dpy, (char *)pos, rep.screenCount * sizeof(*pos)); _XRead(dpy, (char *)vis, rep.screenCount * sizeof(*vis)); - + *screen_count = rep.screenCount; for (current = 0; current < rep.screenCount && current < (unsigned)available_count; @@ -590,7 +590,7 @@ unsigned long value_list[32]; unsigned long *value = value_list; int count = 0; - + for (i = 0; i < 32; i++) { if (mask & (1 << i)) { *value++ = _DMXGetDesktopAttribute(i, attr); @@ -606,7 +606,7 @@ * Available in DMX Protocol Version 2.0 */ int DMXChangeDesktopAttributes(Display *dpy, unsigned int mask, - DMXDesktopAttributes *attr) + DMXDesktopAttributes *attr) { XExtDisplayInfo *info = find_display(dpy); xDMXChangeDesktopAttributesReply rep; @@ -620,7 +620,7 @@ req->dmxReqType = X_DMXChangeDesktopAttributes; req->valueMask = mask; req->length +=_DMXDumpDesktopAttributes(dpy, mask, attr); - + if (!_XReply(dpy, (xReply *)&rep, 0, xFalse)) { UnlockDisplay(dpy); SyncHandle(); @@ -754,7 +754,7 @@ unsigned int mask = (DMXInputType | DMXInputPhysicalScreen | DMXInputSendsCore); - + attr.inputType = DMXBackendInputType; attr.physicalScreen = screen; attr.sendsCore = sendsCore; @@ -769,7 +769,7 @@ DMXInputAttributes attr; unsigned int mask = (DMXInputType | DMXInputSendsCore); - + attr.inputType = DMXConsoleInputType; attr.physicalScreen = 0; attr.sendsCore = sendsCore; -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org