<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 11-12-21 09:47 PM, Bryce Harrington wrote:
<blockquote
cite="mid:1324522033-6627-1-git-send-email-bryce@canonical.com"
type="cite">
<pre wrap="">Begin refactoring the xrandr command line tool's internals into a
utility library. This is to provide a higher level abstraction for
configuring multiple monitors.
With the coming complexities of hybrid graphics, >2 heads, and so on, it
will hopefully save headaches all around to have a central place for the
configuration logic, rather than duplicated across Qt, gtk, and other
client-side tools.
This first set of changes just sets up the directory structure and
migrates a couple structures as proof of concept. Posting it at this
early stage for feedback it's going in the correct direction.
Bryce Harrington (6):
Initial packaging and directory structure.
Import xrandr.c and its test as implementation examples.
Copy a few basic structs and enums from xrandr.c into header.
Add unit test suite and a basic test of the geometry structs.
Refactor geometry structs in xrandr.c to use libXrandrUtil's
Drop rectangle_t.
.gitignore | 78 +
Makefile.am | 37 +
autogen.sh | 12 +
configure.ac | 63 +
examples/.gitignore | 1 +
examples/Makefile.am | 13 +
examples/xrandr.c | 3414 ++++++++++++++++++++++++++++++++++
include/X11/extensions/XrandrUtils.h | 47 +
man/Makefile.am | 19 +
man/XrandrUtils.man | 51 +
src/Makefile.am | 18 +
test/.gitignore | 2 +
test/Makefile.am | 14 +
test/README | 14 +
test/geometry.c | 84 +
xrandr-utils.pc.in | 12 +
16 files changed, 3879 insertions(+), 0 deletions(-)
create mode 100644 .gitignore
create mode 100644 Makefile.am
create mode 100755 autogen.sh
create mode 100644 configure.ac
create mode 100644 examples/.gitignore
create mode 100644 examples/Makefile.am
create mode 100644 examples/xrandr.c
create mode 100644 include/X11/extensions/XrandrUtils.h
create mode 100644 man/Makefile.am
create mode 100644 man/XrandrUtils.man
create mode 100644 src/Makefile.am
create mode 100644 src/XrandrUtils.c
create mode 100644 test/.gitignore
create mode 100644 test/Makefile.am
create mode 100644 test/README
create mode 100644 test/geometry.c
create mode 100644 xrandr-utils.pc.in
</pre>
</blockquote>
<br>
Builds and complies to New Module Guidelines
<a class="moz-txt-link-freetext" href="http://www.x.org/wiki/NewModuleGuidelines">http://www.x.org/wiki/NewModuleGuidelines</a><br>
as of today for: <a
href="git://people.freedesktop.org/%7Ebryce/libXrandrUtils">git://people.freedesktop.org/~bryce/libXrandrUtils</a><br>
<br>
The COPYING file is missing a Canonical copyright statement.<br>
<br>
Reviewed-by: Gaetan Nadon <a class="moz-txt-link-rfc2396E" href="mailto:memsize@videotron.ca"><memsize@videotron.ca></a><br>
<br>
<br>
<br>
</body>
</html>