ChangeLog | 148 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 89 ++++++++++++++++----------------- debian/changelog | 17 ++++++ man/Xrandr.man | 83 ++++++++++++++++-------------- 4 files changed, 254 insertions(+), 83 deletions(-)
New commits: commit bab6d3f15081687aa15c1ed58ecf9221e3373ed0 Author: Cyril Brulebois <k...@debian.org> Date: Thu Jun 30 12:57:24 2011 +0200 Upload to unstable. diff --git a/debian/changelog b/debian/changelog index 77b7239..57b7818 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,10 +1,10 @@ -libxrandr (2:1.3.2-2) UNRELEASED; urgency=low +libxrandr (2:1.3.2-2) unstable; urgency=low * Brown paper bag upload: - Merge back origin/debian-unstable, fixing the loss of the 2:1.3.1-2 upload (including multiarch changes). - -- Cyril Brulebois <k...@debian.org> Thu, 30 Jun 2011 12:53:42 +0200 + -- Cyril Brulebois <k...@debian.org> Thu, 30 Jun 2011 12:57:22 +0200 libxrandr (2:1.3.2-1) unstable; urgency=low commit ac49f1e1f2b5c1c8a0d59a14dba78a0ec76cfc05 Author: Cyril Brulebois <k...@debian.org> Date: Thu Jun 30 12:54:45 2011 +0200 Document brown paper bag upload. diff --git a/debian/changelog b/debian/changelog index 0bee882..77b7239 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +libxrandr (2:1.3.2-2) UNRELEASED; urgency=low + + * Brown paper bag upload: + - Merge back origin/debian-unstable, fixing the loss of the + 2:1.3.1-2 upload (including multiarch changes). + + -- Cyril Brulebois <k...@debian.org> Thu, 30 Jun 2011 12:53:42 +0200 + libxrandr (2:1.3.2-1) unstable; urgency=low * New upstream release: commit de8b03a486c9b659c1a02a97bc8fc5053a06f527 Author: Cyril Brulebois <k...@debian.org> Date: Thu Jun 30 12:42:13 2011 +0200 Upload to unstable. diff --git a/debian/changelog b/debian/changelog index 84ae889..512f8bf 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,11 +1,11 @@ -libxrandr (2:1.3.2-1) UNRELEASED; urgency=low +libxrandr (2:1.3.2-1) unstable; urgency=low * New upstream release: - Documentation updates. * Bump Standards-Version to 3.9.2 (no changes). * Update Uploaders list. Thanks, David! - -- Cyril Brulebois <k...@debian.org> Thu, 30 Jun 2011 12:40:09 +0200 + -- Cyril Brulebois <k...@debian.org> Thu, 30 Jun 2011 12:42:11 +0200 libxrandr (2:1.3.1-1) unstable; urgency=low commit 93672868650dec77efc68b0de36c2d5ce11bbe29 Author: Cyril Brulebois <k...@debian.org> Date: Thu Jun 30 12:42:09 2011 +0200 Update Uploaders list. Thanks, David! diff --git a/debian/changelog b/debian/changelog index d9d50b3..84ae889 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,7 @@ libxrandr (2:1.3.2-1) UNRELEASED; urgency=low * New upstream release: - Documentation updates. * Bump Standards-Version to 3.9.2 (no changes). + * Update Uploaders list. Thanks, David! -- Cyril Brulebois <k...@debian.org> Thu, 30 Jun 2011 12:40:09 +0200 diff --git a/debian/control b/debian/control index 7e8b601..aba00ea 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: libxrandr Section: x11 Priority: optional Maintainer: Debian X Strike Force <debian-x@lists.debian.org> -Uploaders: David Nusinow <dnusi...@debian.org>, Cyril Brulebois <k...@debian.org> +Uploaders: Cyril Brulebois <k...@debian.org> Build-Depends: debhelper (>= 5.0.0), libx11-dev (>= 1:0.99.2), commit fb9a4f54f908c9257314fe8f40b5f43ba8de0b9a Author: Cyril Brulebois <k...@debian.org> Date: Thu Jun 30 12:41:43 2011 +0200 Bump Standards-Version to 3.9.2 (no changes). diff --git a/debian/changelog b/debian/changelog index 67707b4..d9d50b3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,7 @@ libxrandr (2:1.3.2-1) UNRELEASED; urgency=low * New upstream release: - Documentation updates. + * Bump Standards-Version to 3.9.2 (no changes). -- Cyril Brulebois <k...@debian.org> Thu, 30 Jun 2011 12:40:09 +0200 diff --git a/debian/control b/debian/control index 02f9750..7e8b601 100644 --- a/debian/control +++ b/debian/control @@ -15,7 +15,7 @@ Build-Depends: automake, libtool, xutils-dev (>= 1:7.5+4), -Standards-Version: 3.8.3 +Standards-Version: 3.9.2 Vcs-Git: git://git.debian.org/git/pkg-xorg/lib/libxrandr Vcs-Browser: http://git.debian.org/?p=pkg-xorg/lib/libxrandr.git commit 773e5fcf20409ef7c43514c23940c8c0b361099b Author: Cyril Brulebois <k...@debian.org> Date: Thu Jun 30 12:40:34 2011 +0200 Bump changelogs. diff --git a/ChangeLog b/ChangeLog index 5545274..80284ca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,151 @@ +commit 754b492ddf490682c5fff2518a36d0afb5655a36 +Author: Alan Coopersmith <alan.coopersm...@oracle.com> +Date: Wed Jun 29 21:50:39 2011 -0700 + + libXrandr 1.3.2 + + Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com> + +commit 2a8e4e3b6c28d095e315da6874a72e05ef113edb +Author: Cyril Brulebois <k...@debian.org> +Date: Thu Mar 31 03:43:57 2011 +0200 + + Xrandr.man: Document how to request notifications. + + Reviewed-by: Peter Hutterer <peter.hutte...@who-t.net> + Reviewed-by: Alan Coopersmith <alan.coopersm...@oracle.com> + Signed-off-by: Cyril Brulebois <k...@debian.org> + +commit 7613d6e70c4af791bdb3e005a6231f1d4d14745c +Author: Cyril Brulebois <k...@debian.org> +Date: Thu Mar 3 16:17:51 2011 +0100 + + Xrandr.man: Fix parenthesis escaping. + + Reviewed-by: Peter Hutterer <peter.hutte...@who-t.net> + Reviewed-by: Alan Coopersmith <alan.coopersm...@oracle.com> + Signed-off-by: Cyril Brulebois <k...@debian.org> + +commit d0b9b06d2d0b85da3eb89adf4abd973b092201df +Author: Cyril Brulebois <k...@debian.org> +Date: Thu Mar 3 16:01:56 2011 +0100 + + Xrandr.man: Fix missing closing parenthesis. + + Also fix the closing tag (\fP instead of \fI). + + Reviewed-by: Peter Hutterer <peter.hutte...@who-t.net> + Reviewed-by: Alan Coopersmith <alan.coopersm...@oracle.com> + Signed-off-by: Cyril Brulebois <k...@debian.org> + +commit cf351e133c71fdae77c961373e01258404a5ff7f +Author: Cyril Brulebois <k...@debian.org> +Date: Thu Mar 3 15:54:58 2011 +0100 + + Xrandr.man: Build full sentences for easier reading. + + Reviewed-by: Peter Hutterer <peter.hutte...@who-t.net> + Reviewed-by: Alan Coopersmith <alan.coopersm...@oracle.com> + Signed-off-by: Cyril Brulebois <k...@debian.org> + +commit e92474f36a2157ce8939b143e077d9342638e74a +Author: Cyril Brulebois <k...@debian.org> +Date: Thu Mar 3 15:52:58 2011 +0100 + + Xrandr.man: Fix typo. + + Reviewed-by: Peter Hutterer <peter.hutte...@who-t.net> + Reviewed-by: Alan Coopersmith <alan.coopersm...@oracle.com> + Signed-off-by: Cyril Brulebois <k...@debian.org> + +commit d77cd6cc30bd9ebaea7c3b1c97e6984844a607f9 +Author: Cyril Brulebois <k...@debian.org> +Date: Thu Mar 3 15:50:08 2011 +0100 + + Xrandr.man: Try to make some sense. + + Reviewed-by: Peter Hutterer <peter.hutte...@who-t.net> + Reviewed-by: Alan Coopersmith <alan.coopersm...@oracle.com> + Reviewed-by: Magnus Kessler <magnus.kess...@gmx.net> + Signed-off-by: Cyril Brulebois <k...@debian.org> + +commit 58b664ba4c8c8d34a2c6169dbaf55f0d21fc0139 +Author: Cyril Brulebois <k...@debian.org> +Date: Thu Mar 3 15:49:57 2011 +0100 + + Xrandr.man: Build full sentences, possibly easier to read. + + Reviewed-by: Peter Hutterer <peter.hutte...@who-t.net> + Reviewed-by: Alan Coopersmith <alan.coopersm...@oracle.com> + Signed-off-by: Cyril Brulebois <k...@debian.org> + +commit dfb543b9061428e745b7a1b5910c46ffa46fadf5 +Author: Cyril Brulebois <k...@debian.org> +Date: Thu Mar 3 15:34:41 2011 +0100 + + Xrandr.man: Fix grammar. + + Reviewed-by: Peter Hutterer <peter.hutte...@who-t.net> + Reviewed-by: Alan Coopersmith <alan.coopersm...@oracle.com> + Signed-off-by: Cyril Brulebois <k...@debian.org> + +commit f340f5b117b69cccabf9b3a0f2834a4b6aae057e +Author: Cyril Brulebois <k...@debian.org> +Date: Thu Mar 3 15:32:03 2011 +0100 + + Xrandr.man: Remove trailing spaces. + + Reviewed-by: Peter Hutterer <peter.hutte...@who-t.net> + Reviewed-by: Alan Coopersmith <alan.coopersm...@oracle.com> + Signed-off-by: Cyril Brulebois <k...@debian.org> + +commit 2da3bb5e59db3ed5f689686774dd051766dd39a6 +Author: Gaetan Nadon <mems...@videotron.ca> +Date: Wed Feb 2 11:43:44 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 04d5ffa04c2255025580ce1740c3f0bb2146e716 +Author: Gaetan Nadon <mems...@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 <mems...@videotron.ca> + +commit ae18cc9cd98f4db512a21e0b4e1cb18a69fcf532 +Author: Gaetan Nadon <mems...@videotron.ca> +Date: Fri Jan 28 16:34:14 2011 -0500 + + config: remove unrequired AC_CONFIG_AUX_DIR + + The default location for the generation of configuation files is the current + package root directory. These files are config.* and friends. + + Signed-off-by: Gaetan Nadon <mems...@videotron.ca> + +commit c1c5283f37387fbae7772e1dcd56528a515f0a23 +Author: Gaetan Nadon <mems...@videotron.ca> +Date: Thu Jan 27 18:50:15 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 <mems...@videotron.ca> + commit b7e31c69d345d3cba359d7648c304cff43ff7437 Author: Alan Coopersmith <alan.coopersm...@oracle.com> Date: Thu Oct 28 12:34:26 2010 -0700 diff --git a/debian/changelog b/debian/changelog index eb8e6ff..67707b4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +libxrandr (2:1.3.2-1) UNRELEASED; urgency=low + + * New upstream release: + - Documentation updates. + + -- Cyril Brulebois <k...@debian.org> Thu, 30 Jun 2011 12:40:09 +0200 + libxrandr (2:1.3.1-1) unstable; urgency=low * New upstream release. commit 754b492ddf490682c5fff2518a36d0afb5655a36 Author: Alan Coopersmith <alan.coopersm...@oracle.com> Date: Wed Jun 29 21:50:39 2011 -0700 libXrandr 1.3.2 Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com> diff --git a/configure.ac b/configure.ac index 96e2baf..8c74adb 100644 --- a/configure.ac +++ b/configure.ac @@ -29,7 +29,7 @@ AC_PREREQ([2.60]) # 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.3.1], +AC_INIT([libXrandr], [1.3.2], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [libXrandr]) AC_CONFIG_SRCDIR([Makefile.am]) AC_CONFIG_HEADERS([config.h]) commit 2a8e4e3b6c28d095e315da6874a72e05ef113edb Author: Cyril Brulebois <k...@debian.org> Date: Thu Mar 31 03:43:57 2011 +0200 Xrandr.man: Document how to request notifications. Reviewed-by: Peter Hutterer <peter.hutte...@who-t.net> Reviewed-by: Alan Coopersmith <alan.coopersm...@oracle.com> Signed-off-by: Cyril Brulebois <k...@debian.org> diff --git a/man/Xrandr.man b/man/Xrandr.man index 0f1ff44..0f95bf1 100644 --- a/man/Xrandr.man +++ b/man/Xrandr.man @@ -185,7 +185,9 @@ structure contains a possible root size in pixels and in millimeters. A .B XRRScreenChangeNotifyEvent is sent to a client that has requested notification whenever the screen -configuration is changed. +configuration is changed. A client can perform this request by calling +\fBXRRSelectInput\fP, passing the display, the root window, and the +\fBRRScreenChangeNotifyMask\fP mask. .B XRRScreenConfiguration is an opaque data type containing the configuration information commit 7613d6e70c4af791bdb3e005a6231f1d4d14745c Author: Cyril Brulebois <k...@debian.org> Date: Thu Mar 3 16:17:51 2011 +0100 Xrandr.man: Fix parenthesis escaping. Reviewed-by: Peter Hutterer <peter.hutte...@who-t.net> Reviewed-by: Alan Coopersmith <alan.coopersm...@oracle.com> Signed-off-by: Cyril Brulebois <k...@debian.org> diff --git a/man/Xrandr.man b/man/Xrandr.man index b7a0383..0f1ff44 100644 --- a/man/Xrandr.man +++ b/man/Xrandr.man @@ -94,7 +94,7 @@ void XRRSelectInput\^(\^Display *\fIdpy\fP, Window \fIwindow\fP, int \fImask\fP\ * ConfigureNotify \^(\^\fIon the root window\fP\^) * returns 1 if it is an event type it understands, 0 if not */ -int XRRUpdateConfiguration\^(\^XEvent *\fIevent\fP^); +int XRRUpdateConfiguration\^(\^XEvent *\fIevent\fP\^); .sp /\(** * the following are always safe to call, even if RandR is commit d0b9b06d2d0b85da3eb89adf4abd973b092201df Author: Cyril Brulebois <k...@debian.org> Date: Thu Mar 3 16:01:56 2011 +0100 Xrandr.man: Fix missing closing parenthesis. Also fix the closing tag (\fP instead of \fI). Reviewed-by: Peter Hutterer <peter.hutte...@who-t.net> Reviewed-by: Alan Coopersmith <alan.coopersm...@oracle.com> Signed-off-by: Cyril Brulebois <k...@debian.org> diff --git a/man/Xrandr.man b/man/Xrandr.man index 8ecea23..b7a0383 100644 --- a/man/Xrandr.man +++ b/man/Xrandr.man @@ -287,7 +287,7 @@ will fail until the client has an up to date timestamp. .PP .B XRRRootToScreen returns the screen number given a root window (for example, from -an \fBXRRScreenChangeNotifyEvent\fI. +an \fBXRRScreenChangeNotifyEvent\fP). .PP The rest of the functions will fail if applied to screens not implementing the RandR extension. commit cf351e133c71fdae77c961373e01258404a5ff7f Author: Cyril Brulebois <k...@debian.org> Date: Thu Mar 3 15:54:58 2011 +0100 Xrandr.man: Build full sentences for easier reading. Reviewed-by: Peter Hutterer <peter.hutte...@who-t.net> Reviewed-by: Alan Coopersmith <alan.coopersm...@oracle.com> Signed-off-by: Cyril Brulebois <k...@debian.org> diff --git a/man/Xrandr.man b/man/Xrandr.man index 56d538b..8ecea23 100644 --- a/man/Xrandr.man +++ b/man/Xrandr.man @@ -308,9 +308,9 @@ information if it fails and try the call again (by calling \fBXRRGetScreenInfo\fP). .PP .B XRRSetScreenConfigAndRate -like +is like .B XRRSetScreenConfig -but also set the refresh rate. If specified rate is not supported a +but also sets the refresh rate. If specified rate is not supported a .B BadValue error is returned. .PP @@ -325,7 +325,7 @@ are used to get specific configuration information out of a screen configuration. .PP .B XRRGetScreenInfo -Returns a screen configuration for later use; the information is +returns a screen configuration for later use; the information is private to the library. Call .B XRRFreeScreenConfigInfo commit e92474f36a2157ce8939b143e077d9342638e74a Author: Cyril Brulebois <k...@debian.org> Date: Thu Mar 3 15:52:58 2011 +0100 Xrandr.man: Fix typo. Reviewed-by: Peter Hutterer <peter.hutte...@who-t.net> Reviewed-by: Alan Coopersmith <alan.coopersm...@oracle.com> Signed-off-by: Cyril Brulebois <k...@debian.org> diff --git a/man/Xrandr.man b/man/Xrandr.man index f2692ac..56d538b 100644 --- a/man/Xrandr.man +++ b/man/Xrandr.man @@ -275,7 +275,7 @@ of the server. If RandR is not supported, it returns 0 for the number of sizes. .PP .B XRRRates -returns a pointer to a the rates supported by the specified size. +returns a pointer to the rates supported by the specified size. If RandR is not supported, it returns 0 for the number of rates. .PP .B XRRTimes commit d77cd6cc30bd9ebaea7c3b1c97e6984844a607f9 Author: Cyril Brulebois <k...@debian.org> Date: Thu Mar 3 15:50:08 2011 +0100 Xrandr.man: Try to make some sense. Reviewed-by: Peter Hutterer <peter.hutte...@who-t.net> Reviewed-by: Alan Coopersmith <alan.coopersm...@oracle.com> Reviewed-by: Magnus Kessler <magnus.kess...@gmx.net> Signed-off-by: Cyril Brulebois <k...@debian.org> diff --git a/man/Xrandr.man b/man/Xrandr.man index 0124181..f2692ac 100644 --- a/man/Xrandr.man +++ b/man/Xrandr.man @@ -224,8 +224,8 @@ Randr, the coordinate system is rotated in a counter-clockwise direction relative to the normal orientation. Reflection is along the window system coordinate system, not the physical screen X and Y axis, so that rotation and reflection do not interact. The other way to -consider reflection is to is specified in the "normal" orientation, -before rotation, if you find the other way confusing. +consider reflection is to treat it as specified in the "normal" +orientation, before rotation. .PP The .B XRRScreenChangeNotify commit 58b664ba4c8c8d34a2c6169dbaf55f0d21fc0139 Author: Cyril Brulebois <k...@debian.org> Date: Thu Mar 3 15:49:57 2011 +0100 Xrandr.man: Build full sentences, possibly easier to read. Reviewed-by: Peter Hutterer <peter.hutte...@who-t.net> Reviewed-by: Alan Coopersmith <alan.coopersm...@oracle.com> Signed-off-by: Cyril Brulebois <k...@debian.org> diff --git a/man/Xrandr.man b/man/Xrandr.man index fea196a..0124181 100644 --- a/man/Xrandr.man +++ b/man/Xrandr.man @@ -178,14 +178,17 @@ typedef struct { } XRRScreenChangeNotifyEvent; .sp .fi +The .B XRRScreenSize structure contains a possible root size in pixels and in millimeters. + +A .B XRRScreenChangeNotifyEvent -Is sent to a client that has requested notification whenever the screen +is sent to a client that has requested notification whenever the screen configuration is changed. .B XRRScreenConfiguration -This is an opaque data type containing the configuration information +is an opaque data type containing the configuration information for a screen. .B Timestamps commit dfb543b9061428e745b7a1b5910c46ffa46fadf5 Author: Cyril Brulebois <k...@debian.org> Date: Thu Mar 3 15:34:41 2011 +0100 Xrandr.man: Fix grammar. Reviewed-by: Peter Hutterer <peter.hutte...@who-t.net> Reviewed-by: Alan Coopersmith <alan.coopersm...@oracle.com> Signed-off-by: Cyril Brulebois <k...@debian.org> diff --git a/man/Xrandr.man b/man/Xrandr.man index df585d1..fea196a 100644 --- a/man/Xrandr.man +++ b/man/Xrandr.man @@ -121,7 +121,7 @@ Specifies which screen. .IP \fIdraw\fP 1i Specifies the screen. .IP \fIrotation\fP 1i -Specifies the rotations or reflections possible of the screen. +Specifies the possible rotations or reflections of the screen. .IP \fIcurrent_rotation\fP 1i Specifies the current rotations and reflection of the screen. .IP \fItimestamp\fP 1i @@ -131,7 +131,7 @@ Specifies the timestamp when the screen was last (re)configured. .IP \fIconfig\fP 1i Specifies the screen configuration being used. .IP \fIsizes\fP 1i -Specifies the array of sizes supported. +Specifies the array of supported sizes. .IP \fIrate\fP 1i Specifies the refresh rate in Hz. commit f340f5b117b69cccabf9b3a0f2834a4b6aae057e Author: Cyril Brulebois <k...@debian.org> Date: Thu Mar 3 15:32:03 2011 +0100 Xrandr.man: Remove trailing spaces. Reviewed-by: Peter Hutterer <peter.hutte...@who-t.net> Reviewed-by: Alan Coopersmith <alan.coopersm...@oracle.com> Signed-off-by: Cyril Brulebois <k...@debian.org> diff --git a/man/Xrandr.man b/man/Xrandr.man index 23a3970..df585d1 100644 --- a/man/Xrandr.man +++ b/man/Xrandr.man @@ -29,9 +29,9 @@ Xrandr \- X Resize, Rotate and Reflection extension. .SH SYNTAX \&#include <X11/extensions/Xrandr.h> -.nf +.nf .sp -Bool XRRQueryExtension \^(\^Display *\fIdpy\fP, +Bool XRRQueryExtension \^(\^Display *\fIdpy\fP, int *\fIevent_base_return\fP, int *\fIerror_base_return\fP\^); .sp Status XRRQueryVersion \^(\^Display *\fIdpy\fP, @@ -44,14 +44,14 @@ XRRScreenConfiguration *XRRGetScreenInfo \^(\^Display *dpy, void XRRFreeScreenConfigInfo \^(\^ \fIXRRScreenConfiguration *config\fP\^); .sp -Status XRRSetScreenConfig \^(\^Display *\fIdpy\fP, +Status XRRSetScreenConfig \^(\^Display *\fIdpy\fP, XRRScreenConfiguration *\fIconfig\fP, Drawable \fIdraw\fP, int \fIsize_index\fP, Rotation \fIrotation\fP, Time \fItimestamp\fP\^); .sp -Status XRRSetScreenConfigAndRate \^(\^Display *\fIdpy\fP, +Status XRRSetScreenConfigAndRate \^(\^Display *\fIdpy\fP, XRRScreenConfiguration *\fIconfig\fP, Drawable \fIdraw\fP, int \fIsize_index\fP, @@ -60,55 +60,55 @@ Status XRRSetScreenConfigAndRate \^(\^Display *\fIdpy\fP, Time \fItimestamp\fP\^); .sp Rotation XRRConfigRotations\^(\^ - XRRScreenConfiguration *\fIconfig\fP, + XRRScreenConfiguration *\fIconfig\fP, Rotation *\fIcurrent_rotation\fP\^); .sp Time XRRConfigTimes \^(\^ - XRRScreenConfiguration *\fIconfig\fP, + XRRScreenConfiguration *\fIconfig\fP, Time *\fIconfig_timestamp\fP\^); .sp XRRScreenSize *XRRConfigSizes\^(\^ - XRRScreenConfiguration *\fIconfig\fP, + XRRScreenConfiguration *\fIconfig\fP, int *\fInsizes\fP\^); .sp short *XRRConfigRates \^(\^ - XRRScreenConfiguration *\fIconfig\fP, - int \fIsize_index\fP, + XRRScreenConfiguration *\fIconfig\fP, + int \fIsize_index\fP, int *\fInrates\fP\^); .sp SizeID XRRConfigCurrentConfiguration \^(\^ - XRRScreenConfiguration *\fIconfig\fP, + XRRScreenConfiguration *\fIconfig\fP, Rotation *\fIrotation\fP\^); .sp short XRRConfigCurrentRate \^(\^ - XRRScreenConfiguration *\fIconfig\fP\^); + XRRScreenConfiguration *\fIconfig\fP\^); .sp int XRRRootToScreen\^(\^ - Display *\fIdpy\fP, + Display *\fIdpy\fP, Window \fIroot\fP\^); .sp void XRRSelectInput\^(\^Display *\fIdpy\fP, Window \fIwindow\fP, int \fImask\fP\^); .sp -/\(** - * intended to take RRScreenChangeNotify, or +/\(** + * intended to take RRScreenChangeNotify, or * ConfigureNotify \^(\^\fIon the root window\fP\^) * returns 1 if it is an event type it understands, 0 if not */ int XRRUpdateConfiguration\^(\^XEvent *\fIevent\fP^); .sp -/\(** - * the following are always safe to call, even if RandR is - * not implemented on a screen +/\(** + * the following are always safe to call, even if RandR is + * not implemented on a screen */ .br Rotation XRRRotations\^(\^ - Display *\fIdpy\fP, int \fIscreen\fP, + Display *\fIdpy\fP, int \fIscreen\fP, Rotation *\fIcurrent_rotation\fP\^); .sp -XRRScreenSize *XRRSizes\^(\^Display *\fIdpy\fP, +XRRScreenSize *XRRSizes\^(\^Display *\fIdpy\fP, int \fIscreen\fP, int *\fInsizes\fP\^); .sp -short *XRRRates \^(\^Display *\fIdpy\fP, int \fIscreen\fP, +short *XRRRates \^(\^Display *\fIdpy\fP, int \fIscreen\fP, int \fIsize_index\fP, int *\fInrates\fP\^); .sp Time XRRTimes \^(\^Display *\fIdpy\fP, int \fIscreen\fP, Time *\fIconfig_timestamp\fP\^); @@ -202,7 +202,7 @@ Extension. This allows clients to change the size and rotation of the root window of a screen, along with the ability to reflect the screen about either axis (if supported by the implementation). Rotation and reflection may be implemented by software and may result in slower -performance if rotation and reflection are implemented in this fashion +performance if rotation and reflection are implemented in this fashion (as are all implementations as of October 2002). .PP The Xrandr library does some minimal caching to avoid roundtrips to @@ -224,8 +224,8 @@ so that rotation and reflection do not interact. The other way to consider reflection is to is specified in the "normal" orientation, before rotation, if you find the other way confusing. .PP -The -.B XRRScreenChangeNotify +The +.B XRRScreenChangeNotify event is sent to clients that ask to be informed whenever the root window configuration changes. Configuration changes may include resolution, physical size, subpixel order (see XRender(3)), and rotation. Note @@ -234,7 +234,7 @@ that changes to any or all of these could occur due to external events being hot-plugged) and is not only the result of a protocol/library request to the X server. .PP -Additionally, to eliminate a potential race condition, +Additionally, to eliminate a potential race condition, this event may be generated immediately upon selecting for notification if the screen has changed since the client of Xrandr connected to the X server, to enable @@ -295,13 +295,13 @@ values on the screen specified by \fIdraw\fP, or returns a error. \fIsize_index\fP specifies which size configuration is to be used, \fIrotation\fP specifies which rotation or reflection is to -be used (or a +be used (or a .B BadValue error is returned). The \fItimestamp\fP is used by the server to make sure the client has up to date configuration information. Status is returned to indicate success or failure; a client must refresh its configuration -information if it fails and try the call again (by calling +information if it fails and try the call again (by calling \fBXRRGetScreenInfo\fP). .PP .B XRRSetScreenConfigAndRate commit 2da3bb5e59db3ed5f689686774dd051766dd39a6 Author: Gaetan Nadon <mems...@videotron.ca> Date: Wed Feb 2 11:43:44 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 diff --git a/configure.ac b/configure.ac index fa33828..96e2baf 100644 --- a/configure.ac +++ b/configure.ac @@ -1,60 +1,63 @@ -dnl -dnl Copyright © 2003 Keith Packard, Noah Levitt -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 Keith Packard not be used in -dnl advertising or publicity pertaining to distribution of the software without -dnl specific, written prior permission. Keith Packard 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 KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, -dnl INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO -dnl EVENT SHALL KEITH PACKARD 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. +# +# Copyright © 2003 Keith Packard, Noah Levitt +# +# 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 Keith Packard not be used in +# advertising or publicity pertaining to distribution of the software without +# specific, written prior permission. Keith Packard makes no +# representations about the suitability of this software for any purpose. It +# is provided "as is" without express or implied warranty. +# +# KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO +# EVENT SHALL KEITH PACKARD 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. +# +# Initialize Autoconf AC_PREREQ([2.60]) - -dnl -dnl Version should match the current Randr version. XRRQueryVersion -dnl returns the version from randr.h, NOT the version we set here. But we -dnl try to keep these the same. Note that the library has an extra -dnl digit in the version number to track changes which don't affect the -dnl protocol, so Xrandr version l.n.m corresponds to protocol version l.n -dnl +# +# Version should match the current Randr version. XRRQueryVersion +# returns the version from randr.h, NOT the version we set here. But we +# try to keep these the same. Note that the library has an extra +# 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.3.1], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [libXrandr]) +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 -AC_CONFIG_HEADERS(config.h) +XORG_CHECK_MALLOC_ZERO -# Check for progs -AC_PROG_LIBTOOL - # Check randr configuration, strip extra digits from package version to # find the required protocol version - RANDR_VERSION=[`echo $VERSION | sed 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/'`] AC_SUBST(RANDR_VERSION) -PKG_CHECK_MODULES(RANDR, x11 randrproto >= $RANDR_VERSION xext xextproto xrender renderproto) -XORG_CHECK_MALLOC_ZERO +# Obtain compiler/linker options for depedencies +PKG_CHECK_MODULES(RANDR, x11 randrproto >= $RANDR_VERSION xext xextproto xrender renderproto) -AC_OUTPUT([Makefile - src/Makefile - man/Makefile - xrandr.pc]) +AC_CONFIG_FILES([Makefile + src/Makefile + man/Makefile + xrandr.pc]) +AC_OUTPUT commit 04d5ffa04c2255025580ce1740c3f0bb2146e716 Author: Gaetan Nadon <mems...@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 <mems...@videotron.ca> diff --git a/configure.ac b/configure.ac index 8d4838e..fa33828 100644 --- a/configure.ac +++ b/configure.ac @@ -40,7 +40,7 @@ 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) +AC_CONFIG_HEADERS(config.h) # Check for progs AC_PROG_LIBTOOL commit ae18cc9cd98f4db512a21e0b4e1cb18a69fcf532 Author: Gaetan Nadon <mems...@videotron.ca> Date: Fri Jan 28 16:34:14 2011 -0500 config: remove unrequired AC_CONFIG_AUX_DIR The default location for the generation of configuation files is the current package root directory. These files are config.* and friends. Signed-off-by: Gaetan Nadon <mems...@videotron.ca> diff --git a/configure.ac b/configure.ac index 145cfcb..8d4838e 100644 --- a/configure.ac +++ b/configure.ac @@ -32,7 +32,6 @@ dnl protocol, so Xrandr version l.n.m corresponds to protocol version l.n dnl AC_INIT([libXrandr], [1.3.1], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [libXrandr]) -AC_CONFIG_AUX_DIR(.) AM_INIT_AUTOMAKE([foreign dist-bzip2]) AM_MAINTAINER_MODE commit c1c5283f37387fbae7772e1dcd56528a515f0a23 Author: Gaetan Nadon <mems...@videotron.ca> Date: Thu Jan 27 18:50:15 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 <mems...@videotron.ca> diff --git a/configure.ac b/configure.ac index 773f4b1..145cfcb 100644 --- a/configure.ac +++ b/configure.ac @@ -44,7 +44,6 @@ XORG_DEFAULT_OPTIONS AM_CONFIG_HEADER(config.h) # Check for progs -AC_PROG_CC AC_PROG_LIBTOOL # Check randr configuration, strip extra digits from package version to -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/e1qcezc-0008u1...@vasks.debian.org