lp:~darxus/+junk/wayland-packaging

Created by Darxus on 2012-09-28 and last modified on 2012-09-28

Add debian packaging, for automated daily builds. Created with:

bzr branch lp:~ted/wayland/master packaging
wget http://archive.ubuntu.com/ubuntu/pool/main/w/wayland/wayland_0.95.0-0ubuntu1.debian.tar.gz
cd packaging/
tar -axvf ../wayland_0.95.0-0ubuntu1.debian.tar.gz
dch -i
bzr add debian
bzr ci -m "Add debian packaging from wayland_0.95.0-0ubuntu1."
bzr push lp:~darxus/+junk/wayland-packaging

Get this branch:
bzr branch lp:~darxus/+junk/wayland-packaging
Only Darxus can upload to this branch. If you are Darxus please log in for upload directions.

Related bugs

Related blueprints

Branch information

Owner:
Darxus
Status:
Experimental

Recent revisions

1078. By darxus <darxus@panic> on 2012-09-28

Add debian packaging from wayland_0.95.0-0ubuntu1.

1077. By David Herrmann on 2012-09-26

man: fix compilation without xsltproc

We really shouldn't add the man-pages when HAVE_XSLTPROC is not true so
move it into the if-clause.
But declare the automake-variables outside of the if-clause to avoid
automake complaints.

Signed-off-by: David Herrmann <email address hidden>

1076. By David Herrmann on 2012-09-25

man: add man-page infrastructure

This adds a man-page infrastructure based on Docbook XML files. This
allows us to integrate the man-pages into the publican books later. An
example page for wl_display_connect() (with an alias
wl_display_connect_to_fd()) is also added.

Feel free to add more man-pages. Function calls are put in man3 and
overview pages into man7. All pages (including aliases) have to be added
to the Makefile.

Docbook does generate aliases automatically from the additional names that
were put in the XML file. However, a small SED script is needed to fixup
the include-paths in the generated troff files. If someone knows how to
avoid that (or even install them gzip'ped), please fix it up.

Signed-off-by: David Herrmann <email address hidden>

1075. By Tiago Vignatti <email address hidden> on 2012-09-25

protocol: Fix typo

Signed-off-by: Tiago Vignatti <email address hidden>

1074. By Diego Viola on 2012-09-13

Fix typo (ratio, not ration)

Signed-off-by: Diego Viola <email address hidden>

1073. By David Herrmann on 2012-09-12

event-loop: export wl_event_loop_dispatch_idle()

When integrating the wayland event-loop into another event-loop, we
currently have no chance of checking whether there are pending idle
sources that have to be called. This patch exports the
"dispatch_idle_sources()" call so other event loops can call this before
going to sleep. This is what wl_event_loop_dispatch() currently does so we
simply allow external event-loops to do the same now.

To avoid breaking existing applications, we keep the call to
dispatch_idle_sources() in wl_event_loop_dispatch() for now. However, if
we want we can remove this later and require every application to call
this manually. This needs to be discussed, but the overhead is negligible
so we will probably leave it as it is.

This finally allows to fully integrate the wayland-server API into
existing event-loops without any nasty workarounds.

Signed-off-by: David Herrmann <email address hidden>

1072. By David Herrmann on 2012-09-11

wayland-server: return new ID in wl_client_add_resource()

wl_client_add_resource() used to return no error even though the new
resource wasn't added to the client. This currently makes it very easy to
DOS weston by simply posting thousands of "create_surface" requests with
an invalid ID. Weston simply assumes the wl_client_add_resource() request
succeeds but will never destroy the surface again as the "destroy" signal
is never called (because the surface isn't linked into the wl_map).

This change makes wl_client_add_resource() return the new ID of the added
object and 0 on failure. Servers (like weston) can now correctly
immediately destroy the surface when this call fails instead of leaving
the surface around and producing memory-leaks.

Instead of returning -1 on failure and 0 on success, I made it return the
new ID as this seems more appropriate. We can directly use it when calling
it with new_id==0.

Signed-off-by: David Herrmann <email address hidden>

1071. By David Herrmann on 2012-09-11

event-loop: remove dead code

There is really no need to increment "n" if we never read the value. The
do-while() loop overwrites the value before it is read the first time.

Signed-off-by: David Herrmann <email address hidden>

1070. By Philipp Br├╝schweiler <email address hidden> on 2012-09-11

cursor: add cursor.pcf and extraction program

1069. By Philipp Br├╝schweiler <email address hidden> on 2012-09-11

cursor: Add a default cursor theme

This theme is loaded when the specified cursor theme can not be found.

These cursors are extracted from the xorg sources and transformed into
raw ARGB data by a small helper program (commited separately).

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers