Makefile.am | 4 clients/.gitignore | 23 clients/Makefile.am | 60 - clients/cliptest.c | 907 +++++++++++++++++++ clients/desktop-shell.c | 155 +++ clients/dnd.c | 11 clients/editor.c | 787 ++++++++++++++-- clients/eventdemo.c | 58 - clients/flower.c | 1 clients/gears.c | 62 + clients/image.c | 292 +++++- clients/keyboard.c | 348 ++++++- clients/screenshot.c | 28 clients/simple-egl.c | 283 ++++- clients/simple-shm.c | 71 - clients/simple-touch.c | 103 +- clients/smoke.c | 4 clients/tablet-shell.c | 9 clients/terminal.c | 135 ++ clients/view.c | 35 clients/weston-info.c | 427 ++++++++ clients/window.c | 1069 +++++++++++++++------- clients/window.h | 46 clients/wscreensaver-glue.c | 6 clients/wscreensaver.c | 8 configure.ac | 82 - debian/README.source | 58 + debian/changelog | 47 debian/compat | 2 debian/control | 4 debian/patches/series | 1 debian/rules | 2 debian/source/format | 2 debian/weston.install | 25 man/.gitignore | 3 man/Makefile.am | 24 man/weston-drm.man | 130 ++ man/weston.ini.man | 332 ++++++ man/weston.man | 274 +++++ protocol/Makefile.am | 7 protocol/input-method.xml | 98 ++ protocol/text.xml | 143 ++- protocol/wayland-test.xml | 55 + protocol/workspaces.xml | 27 shared/Makefile.am | 27 shared/cairo-util.c | 51 - shared/cairo-util.h | 13 shared/config-parser.c | 9 shared/config-parser.h | 5 shared/image-loader.c | 2 src/.gitignore | 4 src/Makefile.am | 46 src/compositor-android.c | 192 ++-- src/compositor-drm.c | 1138 ++++++++++++++++++----- src/compositor-openwfd.c | 687 -------------- src/compositor-wayland.c | 275 ++--- src/compositor-x11.c | 641 +++++++++---- src/compositor.c | 1809 +++++++++++++++----------------------- src/compositor.h | 186 ++- src/evdev-private.h | 115 -- src/evdev-touchpad.c | 474 +++++++-- src/evdev.c | 389 ++------ src/evdev.h | 105 +- src/gles2-renderer.c | 1307 +++++++++++++++++++++++++++ src/launcher-util.c | 2 src/libbacklight.c | 33 src/log.c | 2 src/log.h | 35 src/matrix.c | 8 src/matrix.h | 10 src/screenshooter.c | 84 + src/shell.c | 1195 +++++++++++++++++-------- src/tablet-shell.c | 14 src/text-backend.c | 364 ++++++- src/tty.c | 27 src/util.c | 26 src/weston-egl-ext.h | 5 src/weston-launch.c | 15 src/xwayland/Makefile.am | 8 src/xwayland/launcher.c | 6 src/xwayland/selection.c | 17 src/xwayland/window-manager.c | 83 + src/xwayland/xwayland.h | 5 src/zoom.c | 90 + tests/.gitignore | 10 tests/Makefile.am | 92 + tests/button-test.c | 55 + tests/client-test.c | 71 - tests/event-test.c | 361 ++++++- tests/keyboard-test.c | 65 + tests/matrix-test.c | 3 tests/setbacklight.c | 13 tests/surface-global-test.c | 79 + tests/surface-test.c | 19 tests/test-client.c | 365 ------- tests/test-runner.c | 148 --- tests/test-runner.h | 42 tests/text-test.c | 177 +++ tests/weston-test | 4 tests/weston-test-client-helper.c | 506 ++++++++++ tests/weston-test-client-helper.h | 114 ++ tests/weston-test-runner.c | 118 ++ tests/weston-test-runner.h | 56 + tests/weston-test.c | 248 +++++ tests/weston-tests-env | 34 105 files changed, 13089 insertions(+), 5243 deletions(-)
New commits: commit 367be9749d2add40b8b10d4b72c6fa2795d9ce32 Author: Timo Aaltonen <tjaal...@ubuntu.com> Date: Fri Feb 1 19:34:45 2013 +0200 release to raring diff --git a/debian/changelog b/debian/changelog index 53f0ec0..70e4074 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +weston (1.0.4-0ubuntu1) raring; urgency=low + + * Sync from unreleased debian git. + - new upstream release. + + -- Timo Aaltonen <tjaal...@ubuntu.com> Fri, 01 Feb 2013 19:32:45 +0200 + weston (1.0.4-1) UNRELEASED; urgency=low * New upstream release. commit 4d05381843752ab3ab33cf00d852a967d12b3598 Author: Timo Aaltonen <tjaal...@ubuntu.com> Date: Fri Feb 1 19:30:46 2013 +0200 patches/series: Add a placeholder file. diff --git a/debian/changelog b/debian/changelog index 80d4a5e..6e1ed14 100644 --- a/debian/changelog +++ b/debian/changelog @@ -14,6 +14,7 @@ weston (1.0.4-1) UNRELEASED; urgency=low * control: Bump policy to 3.9.4, no changes. * control: Added homepage. * Add README.source. + * patches/series: Add a placeholder file. -- Timo Aaltonen <tjaal...@ubuntu.com> Thu, 16 Aug 2012 20:52:23 +0300 diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..a82d1b4 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +#placeholder commit 6a6dca2043b0b9aa46cf636f3df4f396ed462b54 Author: Timo Aaltonen <tjaal...@ubuntu.com> Date: Fri Feb 1 19:29:43 2013 +0200 Add README.source. diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..5dde0bf --- /dev/null +++ b/debian/README.source @@ -0,0 +1,58 @@ +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +To configure quilt to use debian/patches instead of patches, you want +either to export QUILT_PATCHES=debian/patches in your environment +or use this snippet in your ~/.quiltrc: + + for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do + if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then + export QUILT_PATCHES=debian/patches + break + fi + done + +To get the fully patched source after unpacking the source package, cd to +the root level of the source package and run: + + quilt push -a + +The last patch listed in debian/patches/series will become the current +patch. + +To add a new set of changes, first run quilt push -a, and then run: + + quilt new <patch> + +where <patch> is a descriptive name for the patch, used as the filename in +debian/patches. Then, for every file that will be modified by this patch, +run: + + quilt add <file> + +before editing those files. You must tell quilt with quilt add what files +will be part of the patch before making changes or quilt will not work +properly. After editing the files, run: + + quilt refresh + +to save the results as a patch. + +Alternately, if you already have an external patch and you just want to +add it to the build system, run quilt push -a and then: + + quilt import -P <patch> /path/to/patch + quilt push -a + +(add -p 0 to quilt import if needed). <patch> as above is the filename to +use in debian/patches. The last quilt push -a will apply the patch to +make sure it works properly. + +To remove an existing patch from the list of patches that will be applied, +run: + + quilt delete <patch> + +You may need to run quilt pop -a to unapply patches first before running +this command. diff --git a/debian/changelog b/debian/changelog index 5b74544..80d4a5e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -13,6 +13,7 @@ weston (1.0.4-1) UNRELEASED; urgency=low * control, compat: Switch to debhelper 9. * control: Bump policy to 3.9.4, no changes. * control: Added homepage. + * Add README.source. -- Timo Aaltonen <tjaal...@ubuntu.com> Thu, 16 Aug 2012 20:52:23 +0300 commit 07d0c53af9958f360e167661c6e8110ac9973bc0 Author: Timo Aaltonen <tjaal...@ubuntu.com> Date: Fri Feb 1 19:23:30 2013 +0200 install weston.ini.5 diff --git a/debian/weston.install b/debian/weston.install index 955fb07..74c0ff7 100644 --- a/debian/weston.install +++ b/debian/weston.install @@ -13,5 +13,6 @@ usr/lib/*/weston/wayland-backend.so usr/lib/*/weston/x11-backend.so usr/lib/*/weston/xwayland.so usr/share/man/man1/weston.1 +usr/share/man/man5/weston.ini.5 usr/share/man/man7/weston-drm.7 usr/share/weston commit ec559baa83b208e42c018584ff3b2a99445be5e3 Author: Timo Aaltonen <tjaal...@ubuntu.com> Date: Fri Feb 1 19:19:40 2013 +0200 use the unstable branch for gentarball diff --git a/debian/rules b/debian/rules index 81af3c1..40abf6c 100755 --- a/debian/rules +++ b/debian/rules @@ -23,4 +23,4 @@ override_dh_makeshlibs: gentarball: SOURCE=$(shell dpkg-parsechangelog|awk '/^Source:/ {print $$2}') gentarball: UV=$(shell dpkg-parsechangelog|awk '/^Version:/ {print $$2}'|sed 's/-.*$$//') gentarball: - git archive --format=tar upstream-experimental --prefix=$(SOURCE)-$(UV)/ | gzip -9 > ../$(SOURCE)_$(UV).orig.tar.gz + git archive --format=tar upstream-unstable --prefix=$(SOURCE)-$(UV)/ | gzip -9 > ../$(SOURCE)_$(UV).orig.tar.gz commit 6224cc6265d9a79420c77f63766323d2364da8c3 Author: Timo Aaltonen <tjaal...@ubuntu.com> Date: Fri Feb 1 19:18:07 2013 +0200 use source format 1.0 diff --git a/debian/changelog b/debian/changelog index 669bf2e..5b74544 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,7 +4,7 @@ weston (1.0.4-1) UNRELEASED; urgency=low * Add a watch file. * control: Add missing build-depends: libmtdev-dev, libxcursor-dev, libpam0g-dev, libvpx-dev. - * Switch to source format 3.0 (quilt) due to xz tarballs. + * Use source format 1.0. * control: Bump the build-depends on libxkbcommon-dev to (>= 0.1.0~2). * rules: Make the test run failure non-fatal, since it doesn't work properly in headless-mode. diff --git a/debian/source/format b/debian/source/format index 163aaf8..d3827e7 100644 --- a/debian/source/format +++ b/debian/source/format @@ -1 +1 @@ -3.0 (quilt) +1.0 commit 5ad0dde1f255334cd82899dc491430e35b4d017e Author: Timo Aaltonen <tjaal...@ubuntu.com> Date: Fri Feb 1 19:16:31 2013 +0200 bump the version diff --git a/debian/changelog b/debian/changelog index 356ad0e..669bf2e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -weston (1.0.3-1) UNRELEASED; urgency=low +weston (1.0.4-1) UNRELEASED; urgency=low * New upstream release. * Add a watch file. commit 6ec775ccab81282b85bcdd39a2360b83041872b6 Author: Timo Aaltonen <Timo Aaltonen tjaal...@cc.hut.fi> Date: Fri Feb 1 18:46:45 2013 +0200 merge an old changelog entry diff --git a/debian/changelog b/debian/changelog index fa91306..8673fd3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -16,6 +16,17 @@ weston (1.0.3-1) UNRELEASED; urgency=low -- Timo Aaltonen <tjaal...@ubuntu.com> Thu, 16 Aug 2012 20:52:23 +0300 +weston (1.0.3-0ubuntu1) raring; urgency=low + + * New upstream release + * debian/control: + - Add build-depends on sed + - Use standards-version 3.9.4 + * weston.install: + - Updated + + -- Robert Ancell <robert.anc...@canonical.com> Thu, 10 Jan 2013 10:01:50 +1300 + weston (0.95.0-0ubuntu2) quantal; urgency=low * debian/control: added Homepage field commit e4cd90e6bd5ac72a40d87f7da2cd1fd9c8455513 Author: Kristian Høgsberg <k...@bitplanet.net> Date: Thu Jan 24 20:32:30 2013 -0500 configure.ac: Bump version to 1.0.4 diff --git a/configure.ac b/configure.ac index 490ae2a..120185b 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ AC_PREREQ([2.64]) AC_INIT([weston], - [1.0.3], + [1.0.4], [https://bugs.freedesktop.org/enter_bug.cgi?product=weston], [weston], [http://wayland.freedesktop.org/]) commit 6828711c4c281459e4a4bee33aed2911d608239d Author: Scott Moreau <ore...@gmail.com> Date: Mon Jan 21 23:40:59 2013 -0700 weston-launch: Use "weston-launch" for --help instead of "weston". The output of weston-launch --help was "Usage: weston [args...] ...". This changes it to read "Usage: weston-launch [args...] ...". diff --git a/src/weston-launch.c b/src/weston-launch.c index 6d1f7c3..583e85a 100644 --- a/src/weston-launch.c +++ b/src/weston-launch.c @@ -541,7 +541,7 @@ main(int argc, char *argv[]) sleep_fork = 10; break; case 'h': - help("weston"); + help("weston-launch"); exit(1); } } commit a533a85820cc78cc912cbe47b9cd88f26648c4ec Author: Pekka Paalanen <ppaala...@gmail.com> Date: Tue Dec 18 17:30:16 2012 +0200 tests: make signal other than ABRT a hard failure We handle FAIL_TEST tests by simply inverting the success flag. The problem with this is, that if a FAIL_TEST fails by a SIGSEGV, it will be interpreted as passed. However, no code should ever cause a SEGV, or any other signal than ABRT. And even ABRT only in the case of an assert() that is meant to fail. We would probably need more sophistication for the FAIL_TEST cases. For now, just interpret any other signal than ABRT as a hard failure, regardless whether it is a TEST or FAIL_TEST. At least segfaults do not cause false passes anymore. Signed-off-by: Pekka Paalanen <ppaala...@gmail.com> diff --git a/tests/weston-test-runner.c b/tests/weston-test-runner.c index e60d4d2..27ea9e4 100644 --- a/tests/weston-test-runner.c +++ b/tests/weston-test-runner.c @@ -28,6 +28,7 @@ #include <string.h> #include <assert.h> #include <errno.h> +#include <signal.h> #include "weston-test-runner.h" extern const struct weston_test __start_test_section, __stop_test_section; @@ -71,6 +72,7 @@ int main(int argc, char *argv[]) pass = 0; for (t = &__start_test_section; t < &__stop_test_section; t++) { int success = 0; + int hardfail = 0; pid = fork(); assert(pid >= 0); @@ -93,13 +95,15 @@ int main(int argc, char *argv[]) case CLD_KILLED: case CLD_DUMPED: fprintf(stderr, "signal %d", info.si_status); + if (info.si_status != SIGABRT) + hardfail = 1; break; } if (t->must_fail) success = !success; - if (success) { + if (success && !hardfail) { pass++; fprintf(stderr, ", pass.\n"); } else commit f03435717c6cf6627cb34eb16b21096b026f944b Author: Martin Minarik <minari...@student.fiit.stuba.sk> Date: Fri Jan 18 18:44:29 2013 +0100 Weston: weston.ini.man page changes: - launcher path, passing environment variables and parameter - indent modeline example diff --git a/man/Makefile.am b/man/Makefile.am index 4d84db1..8243776 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -1,4 +1,4 @@ -man_MANS = weston.1 +man_MANS = weston.1 weston.ini.5 if ENABLE_DRM_COMPOSITOR man_MANS += weston-drm.7 @@ -8,14 +8,17 @@ MAN_SUBSTS = \ -e 's|__weston_modules_dir__|$(pkglibdir)|g' \ -e 's|__version__|$(PACKAGE_VERSION)|g' -SUFFIXES = .1 .7 .man +SUFFIXES = .1 .5 .7 .man .man.1: $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@ +.man.5: + $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@ + .man.7: $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@ -EXTRA_DIST = weston.man weston-drm.man +EXTRA_DIST = weston.man weston-drm.man weston.ini.man CLEANFILES = $(man_MANS) diff --git a/man/weston.ini.man b/man/weston.ini.man new file mode 100644 index 0000000..7699e35 --- /dev/null +++ b/man/weston.ini.man @@ -0,0 +1,332 @@ +.\" shorthand for double quote that works everywhere. +.ds q \N'34' +.TH weston.ini 5 "2013-01-17" "Weston __version__" +.SH NAME +weston.ini \- configuration file for +.B Weston +\- the reference Wayland +compositor +.SH INTRODUCTION +.B Weston +obtains configuration from its command line parameters and the configuration +file described here. +.SH DESCRIPTION +.B Weston +uses a configuration file called +.I weston.ini +for its setup. +The +.I weston.ini +configuration file is searched for in one of the following places when the +server is started: +.PP +.RS 4 +.nf +.BR "$XDG_CONFIG_HOME/weston.ini " "(if $XDG_CONFIG_HOME is set)" +.BR "$HOME/.config/weston.ini " "(if $HOME is set)" +.BR "<current dir>/weston.ini " "(if both variables were not set)" +.fi +.RE +.PP +where environment variable +.B $HOME +is the user's home directory, and +.B $XDG_CONFIG_HOME +is the user specific configuration directory. +.PP +The +.I weston.ini +file is composed of a number of sections which may be present in any order, or +omitted to use default configuration values. Each section has the form: +.PP +.RS 4 +.nf +.BI [ SectionHeader ] +.RI Key1=Value1 +.RI Key2=Value2 + ... +.fi +.RE +.PP +The spaces are significant. +Comment lines are ignored: +.PP +.RS 4 +.nf +.IR "#comment" +.fi +.RE +.PP +The section headers are: +.PP +.RS 4 +.nf +.BR "core " "The core modules" +.BR "shell " "Desktop customization" +.BR "launcher " "Add launcher to the panel" +.BR "screensaver " "Screensaver selection" +.BR "output " "Output configuration" +.BR "input-method " "Onscreen keyboard input" +.BR "keyboard " "Keyboard layouts" +.BR "terminal " "Terminal application options" +.fi +.RE +.PP +Possible value types are string, signed and unsigned 32-bit +integer, and boolean. Strings must not be quoted, do not support any +escape sequences, and run till the end of the line. Integers can +be given in decimal (e.g. 123), octal (e.g. 0173), and hexadecimal +(e.g. 0x7b) form. Boolean values can be only 'true' or 'false'. +.RE +.SH "CORE SECTION" +The +.B core +section is used to select the startup compositor modules. +.TP 7 +.BI "modules=" desktop-shell.so,xwayland.so +specifies the modules to load (string). Available modules in the +.IR "__weston_modules_dir__" +directory are: +.PP +.RS 10 +.nf +.BR desktop-shell.so +.BR tablet-shell.so +.BR xwayland.so +.fi +.RE +.RS +.PP + +.SH "SHELL SECTION" +The +.B shell +section is used to customize the compositor. Some keys may not be handled by +different shell plugins. +.PP +The entries that can appear in this section are: +.TP 7 +.BI "background-image=" file +sets the path for the background image file (string). +.TP 7 +.BI "background-color=" 0xAARRGGBB +sets the color of the background (unsigned integer). The hexadecimal +digit pairs are in order alpha, red, green, and blue. +.TP 7 +.BI "panel-color=" 0xAARRGGBB +sets the color of the panel (unsigned integer). The hexadecimal +digit pairs are in order transparency, red, green, and blue. Examples: +.PP +.RS 10 +.nf +.BR "0xffff0000 " "Red" +.BR "0xff00ff00 " "Green" +.BR "0xff0000ff " "Blue" +.BR "0x00ffffff " "Fully transparent" +.fi +.RE +.TP 7 +.BI "locking=" true +enables screen locking (boolean). +.TP 7 +.BI "animation=" zoom +sets the effect used for opening new windows (string). Can be +.B zoom, +.B fade. +Otherwise, no animation is used. +.TP 7 +.BI "binding-modifier=" ctrl +sets the modifier key used for common bindings (string), such as moving +surfaces, resizing, rotating, switching, closing and setting the transparency +for windows, controlling the backlight and zooming the desktop. Possible values: +ctrl, alt, super (default) +.TP 7 +.BI "num-workspaces=" 6 +defines the number of workspaces (unsigned integer). The user can switch +workspaces by using the +binding+F1, F2 keys. If this key is not set, fall back to one workspace. +.TP 7 +.BI "lockscreen-icon=" path +sets the path to lock screen icon image (string). (tablet shell only) +.TP 7 +.BI "lockscreen=" path +sets the path to lock screen background image (string). (tablet shell only) +.TP 7 +.BI "homescreen=" path +sets the path to home screen background image (string). (tablet shell only) +.RE +.SH "LAUNCHER SECTION" +There can be multiple launcher sections, one for each launcher. +.TP 7 +.BI "icon=" icon +sets the path to icon image (string). Svg images are not currently supported. +.TP 7 +.BI "path=" program +sets the path to the program that is run by clicking on this launcher (string). +It is possible to pass arguments and environment variables to the program. For +example: +.nf +.in +4n + +path=GDK_BACKEND=wayland gnome-terminal --full-screen +.in +.fi +.PP +.RE +.SH "SCREENSAVER SECTION" +The +.B screensaver +section is used to select and schedule a screensaver. +The +.B screensaver +section is optional, as are all of the entries that may be specified in +it. +.TP 7 +.BI "path=" /usr/libexec/weston-screensaver +This instructs the compositor to use the selected screensaver client on a given +path (string). If this line is missing or commented out, the screensaver in +.B "weston(1)" +is disabled. +.RE +.TP 7 +.BI "duration=" 600 +The idle time in seconds until the screensaver disappears in order to save power +(unsigned integer). +.SH "OUTPUT SECTION" +There can be multiple output sections, each corresponding to one output. It is +currently only recognized by the drm and x11 backends. +.TP 7 +.BI "name=" name +sets a name for the output (string). The backend uses the name to +identify the output. All X11 output names start with a letter X. The available +output names for DRM backend are listed in the +.B "weston-launch(1)" +output. +Examples of usage: +.PP +.RS 10 +.nf +.BR "LVDS1 " "DRM backend, Laptop internal panel no.1" +.BR "VGA1 " "DRM backend, VGA connector no.1" +.BR "X1 " "X11 backend, X window no.1" +.fi +.RE +.RS +.PP +See +.B "weston-drm(7)" +for more details. +.RE +.TP 7 +.BI "mode=" mode +sets the output mode (string). The mode parameter is handled differently +depending on the backend. On the X11 backend, it just sets the WIDTHxHEIGHT of +the weston window. +The DRM backend accepts different modes: +.PP +.RS 10 +.nf +.BR "WIDTHxHEIGHT " "Resolution size width and height in pixels" +.BR "preferred " "Uses the preferred mode" +.BR "current " "Uses the current crt controller mode" +.BR "off " "Disables the output" +.fi +.RE +.RS +.PP +Optionally, an user may specify a modeline, such as: +.PP +.nf +.in +4n +.nf +173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync +.fi +.in +.PP +It consists of the refresh rate in Hz, horizontal and vertical resolution, +options for horizontal and vertical synchronisation. The program +.B "cvt(1)" +can provide suitable modeline string. +.RE +.TP 7 +.BI "transform=" normal +The transformation applied to screen output (string). The transform key can +be one of the following 8 strings: +.PP +.RS 10 +.nf +.BR "normal " "Normal output." +.BR "90 " "90 degrees clockwise." +.BR "180 " "Upside down." +.BR "270 " "90 degrees counter clockwise." +.BR "flipped " "Horizontally flipped" +.BR "flipped-90 " "Flipped and 90 degrees clockwise" +.BR "flipped-180 " "Flipped upside down" +.BR "flipped-270 " "Flipped and 90 degrees counter clockwise" +.fi +.RE +.SH "INPUT-METHOD SECTION" +.TP 7 +.BI "path=" "/usr/libexec/weston-keyboard" +sets the path of the on screen keyboard input method (string). +.RE +.RE +.SH "KEYBOARD SECTION" +This section contains the following keys: +.TP 7 +.BI "keymap_rules=" "evdev" +sets the keymap rules file (string). Used to map layout and model to input +device. +.RE +.RE +.TP 7 +.BI "keymap_model=" "pc105" +sets the keymap model (string). See the Models section in +.B "xkeyboard-config(7)." +.RE +.RE +.TP 7 +.BI "keymap_layout=" "us,de,gb" +sets the comma separated list of keyboard layout codes (string). See the +Layouts section in +.B "xkeyboard-config(7)." +.RE +.RE +.TP 7 +.BI "keymap_variant=" "euro,,intl" +sets the comma separated list of keyboard layout variants (string). The number +of variants must be the same as the number of layouts above. See the Layouts +section in +.B "xkeyboard-config(7)." +.RE +.RE +.TP 7 +.BI "keymap_options=" "grp:alt_shift_toggle,grp_led:scroll" +sets the keymap options (string). See the Options section in +.B "xkeyboard-config(7)." +.RE +.RE +.SH "TERMINAL SECTION" +Contains settings for the weston terminal application (weston-terminal). It +allows to customize the font and shell of the command line interface. +.TP 7 +.BI "font=" "DejaVu Sans Mono" +sets the font of the terminal (string). For a good experience it is recommend +to use monospace fonts. In case the font is not found, the default one is used. +.RE +.RE +.TP 7 +.BI "font-size=" "14" +sets the size of the terminal font (unsigned integer). +.RE +.RE +.TP 7 +.BI "term=" "xterm-256color" +The terminal shell (string). Sets the $TERM variable. +.RE +.RE +.SH "SEE ALSO" +.BR weston (1), +.BR weston-launch (1), +.BR weston-drm (7), +.BR xkeyboard-config (7) commit a0c8799a456ed04b0aee1f741f8e82201e631ce0 Author: Ning Tang <ning.t...@intel.com> Date: Thu Dec 27 15:36:35 2012 +0800 compositor-drm: Remove drm_disable_unused_sprites() If a sprite is no longer used, it is disabled on the call to drmModeSetPlane() when doing the output repaint, since its pending_fb_id is 0. This patch is a backport patch on weston 1.0. Originally from Ander Conselvan de Oliveira <ander.conselvan.de.olive...@intel.com> commit 3b2bd44d924744fa4635390e91afe569351e7d8d Some platform has a heavy CPU load caused by redundant drmModeRmFB, which is called in drm_disable_unused_sprites and would trigger drm_err. Signed-off-by: Ning Tang <ning.t...@intel.com> diff --git a/src/compositor-drm.c b/src/compositor-drm.c index 1fa822a..48b2685 100644 --- a/src/compositor-drm.c +++ b/src/compositor-drm.c @@ -184,8 +184,6 @@ struct drm_seat { static void drm_output_set_cursor(struct drm_output *output); -static void -drm_disable_unused_sprites(struct weston_output *output_base); static int drm_sprite_crtc_supported(struct weston_output *output_base, uint32_t supported) @@ -455,8 +453,6 @@ drm_output_repaint(struct weston_output *output_base, output->vblank_pending = 1; } - drm_disable_unused_sprites(&output->base); - return; } @@ -564,38 +560,6 @@ drm_surface_transform_supported(struct weston_surface *es) return 1; } -static void -drm_disable_unused_sprites(struct weston_output *output_base) -{ - struct weston_compositor *ec = output_base->compositor; - struct drm_compositor *c =(struct drm_compositor *) ec; - struct drm_output *output = (struct drm_output *) output_base; - struct drm_sprite *s; - int ret; - - wl_list_for_each(s, &c->sprite_list, link) { - if (s->pending_fb_id) - continue; - - ret = drmModeSetPlane(c->drm.fd, s->plane_id, - output->crtc_id, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0); - if (ret) - weston_log("failed to disable plane: %d: %s\n", - ret, strerror(errno)); - drmModeRmFB(c->drm.fd, s->fb_id); - - if (s->surface) { - s->surface = NULL; - wl_list_remove(&s->destroy_listener.link); - } - - assert(!s->pending_surface); - s->fb_id = 0; - s->pending_fb_id = 0; - } -} - static struct weston_plane * drm_output_prepare_overlay_surface(struct weston_output *output_base, struct weston_surface *es) commit 7cb33a09053694050d9f8354f076a6fecc86b855 Author: Timo Aaltonen <tjaal...@ubuntu.com> Date: Thu Jan 10 09:39:38 2013 +0200 control: Added homepage. diff --git a/debian/changelog b/debian/changelog index defc084..356ad0e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -12,6 +12,7 @@ weston (1.0.3-1) UNRELEASED; urgency=low * control: Bump build-depends on mesa derived components to 9.0~. * control, compat: Switch to debhelper 9. * control: Bump policy to 3.9.4, no changes. + * control: Added homepage. -- Timo Aaltonen <tjaal...@ubuntu.com> Thu, 16 Aug 2012 20:52:23 +0300 diff --git a/debian/control b/debian/control index 40e3342..8f5e7a5 100644 --- a/debian/control +++ b/debian/control @@ -30,6 +30,7 @@ Build-Depends: libpam0g-dev, libvpx-dev, Standards-Version: 3.9.4 +Homepage: http://wayland.freedesktop.org/ Vcs-Git: git://git.debian.org/git/pkg-xorg/wayland/weston Vcs-Browser: http://git.debian.org/?p=pkg-xorg/wayland/weston.git commit 15aa6e16b18e52208a1bab2e99b0cdf980e0f6c1 Author: Timo Aaltonen <tjaal...@ubuntu.com> Date: Thu Jan 10 09:29:46 2013 +0200 fix install paths due to dh9 diff --git a/debian/weston.install b/debian/weston.install index f95de02..955fb07 100644 --- a/debian/weston.install +++ b/debian/weston.install @@ -3,17 +3,15 @@ usr/bin/weston usr/bin/weston-info usr/bin/weston-launch usr/bin/weston-terminal - -usr/lib/weston/weston-tablet-shell -usr/lib/weston/weston-desktop-shell -usr/lib/weston/weston-screenshooter - -usr/lib/weston/desktop-shell.so -usr/lib/weston/drm-backend.so -usr/lib/weston/tablet-shell.so -usr/lib/weston/wayland-backend.so -usr/lib/weston/x11-backend.so -usr/lib/weston/xwayland.so +usr/lib/*/weston-tablet-shell +usr/lib/*/weston-desktop-shell +usr/lib/*/weston-screenshooter +usr/lib/*/weston/desktop-shell.so +usr/lib/*/weston/drm-backend.so +usr/lib/*/weston/tablet-shell.so +usr/lib/*/weston/wayland-backend.so +usr/lib/*/weston/x11-backend.so +usr/lib/*/weston/xwayland.so usr/share/man/man1/weston.1 usr/share/man/man7/weston-drm.7 usr/share/weston commit 67267075d1d1f1e89afd461d99ceb1935b437201 Author: Timo Aaltonen <tjaal...@ubuntu.com> Date: Wed Jan 9 20:37:34 2013 +0200 control: Bump policy to 3.9.4, no changes. diff --git a/debian/changelog b/debian/changelog index 3c4969c..defc084 100644 --- a/debian/changelog +++ b/debian/changelog @@ -11,6 +11,7 @@ weston (1.0.3-1) UNRELEASED; urgency=low * weston.install: Add new files. * control: Bump build-depends on mesa derived components to 9.0~. * control, compat: Switch to debhelper 9. + * control: Bump policy to 3.9.4, no changes. -- Timo Aaltonen <tjaal...@ubuntu.com> Thu, 16 Aug 2012 20:52:23 +0300 diff --git a/debian/control b/debian/control index 111c02f..40e3342 100644 --- a/debian/control +++ b/debian/control @@ -29,7 +29,7 @@ Build-Depends: libmtdev-dev, libpam0g-dev, -- 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/e1u1kwm-0002wj...@vasks.debian.org