configure.ac | 16 +++++++++++++++- debian/changelog | 5 ++--- debian/control | 1 + doc/Wayland/Makefile.am | 2 ++ doc/man/Makefile.am | 7 +++++-- src/wayland-client.h | 3 --- tests/connection-test.c | 4 ++-- 7 files changed, 27 insertions(+), 11 deletions(-)
New commits: commit c762403489347a0713ca36a4b7bbd2b95c811aa8 Author: Sven Joachim <[email protected]> Date: Sat Dec 15 18:10:56 2012 +0100 Add docbook-xsl to Build-Depends Necessary to generate the manpages, prior to commit 7fd3ca049b2339363d31abcb7fe0e8305972317b this had been hidden if the build machine had Internet access. diff --git a/debian/changelog b/debian/changelog index 06c5877..5fcae70 100644 --- a/debian/changelog +++ b/debian/changelog @@ -25,6 +25,7 @@ wayland (1.0.3-1) UNRELEASED; urgency=low [ Sven Joachim ] * Update symbols file, bumping minver of all symbols to 1.0.2. + * Add docbook-xsl to Build-Depends. * Add Homepage field to debian/control. * Update debian/copyright. diff --git a/debian/control b/debian/control index 55a2f1c..26a4583 100644 --- a/debian/control +++ b/debian/control @@ -10,6 +10,7 @@ Build-Depends: pkg-config, doxygen, xsltproc, + docbook-xsl, libexpat1-dev, libffi-dev, Standards-Version: 3.9.3 commit de09d609d69c98541f7f494dd8691bf560a61ce4 Author: Sven Joachim <[email protected]> Date: Sat Dec 15 17:19:14 2012 +0100 Revert "Document the cherry-pick" This reverts commit f368a65dac42222197622c778776b12aac87e6f2. The fix has been included in the 1.0.3 release as commit 15625a5cc70f58aa466f3db5171a5fa1851aad71. diff --git a/debian/changelog b/debian/changelog index d2f5eb7..06c5877 100644 --- a/debian/changelog +++ b/debian/changelog @@ -25,8 +25,6 @@ wayland (1.0.3-1) UNRELEASED; urgency=low [ Sven Joachim ] * Update symbols file, bumping minver of all symbols to 1.0.2. - * Cherry-pick commit 7415e8eb (tests: Don't leave temporary files behind) - from upstream master to avoid putting 2001 files in /tmp at build time. * Add Homepage field to debian/control. * Update debian/copyright. commit 08fa76f3b244e7d233a7c7a92a1c337c8ffd652e Author: Sven Joachim <[email protected]> Date: Sat Dec 15 17:18:42 2012 +0100 New upstream release diff --git a/debian/changelog b/debian/changelog index cbb3513..d2f5eb7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -wayland (1.0.2-1) UNRELEASED; urgency=low +wayland (1.0.3-1) UNRELEASED; urgency=low [ Robert Ancell ] * debian/libwayland-dev.install: commit ce1f41251a07600ed8c6b2e3dc1e868008aeb33a Author: Kristian Høgsberg <[email protected]> Date: Fri Dec 14 16:38:09 2012 -0500 configure.ac: Bump version to 1.0.3 diff --git a/configure.ac b/configure.ac index c584439..571ca97 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ AC_PREREQ([2.64]) m4_define([wayland_major_version], [1]) m4_define([wayland_minor_version], [0]) -m4_define([wayland_micro_version], [2]) +m4_define([wayland_micro_version], [3]) m4_define([wayland_version], [wayland_major_version.wayland_minor_version.wayland_micro_version]) commit 8148896d19d0e5bb195c76825a4b140d5b16e501 Author: Pekka Paalanen <[email protected]> Date: Wed Dec 12 14:19:23 2012 +0200 client: remove two unused function pointer typedefs The need for wl_display_update_func_t was removed in commit 53d24713a31d59d9534c1c1a84a7ad46f44ee95f Author: Kristian Høgsberg <[email protected]> Date: Thu Oct 4 16:54:22 2012 -0400 Change filedescriptor API to be thread safe and wl_callback_func_t does not seem to have ever been used in the first place. Signed-off-by: Pekka Paalanen <[email protected]> diff --git a/src/wayland-client.h b/src/wayland-client.h index 8d2b8df..8b1fd0d 100644 --- a/src/wayland-client.h +++ b/src/wayland-client.h @@ -135,9 +135,6 @@ void wl_proxy_set_queue(struct wl_proxy *proxy, struct wl_event_queue *queue); #include "wayland-client-protocol.h" -typedef int (*wl_display_update_func_t)(uint32_t mask, void *data); -typedef void (*wl_callback_func_t)(void *data, uint32_t time); - struct wl_display *wl_display_connect(const char *name); struct wl_display *wl_display_connect_to_fd(int fd); void wl_display_disconnect(struct wl_display *display); commit 8bcfa5ad7061231495a65d39c4c9503a64fb2746 Author: Pekka Paalanen <[email protected]> Date: Mon Dec 3 16:58:25 2012 +0200 tests: rename temporary files This is libwayland, not weston, so call the temporary files wayland-tests-*, not weston-tests-*. This is a candidate for the stable branch. Signed-off-by: Pekka Paalanen <[email protected]> diff --git a/tests/connection-test.c b/tests/connection-test.c index 45744a0..1ac88d2 100644 --- a/tests/connection-test.c +++ b/tests/connection-test.c @@ -425,7 +425,7 @@ marshal_demarshal(struct marshal_data *data, TEST(connection_marshal_demarshal) { struct marshal_data data; - char f[] = "/tmp/weston-tests-XXXXXX"; + char f[] = "/tmp/wayland-tests-XXXXXX"; setup_marshal_data(&data); @@ -478,7 +478,7 @@ TEST(connection_marshal_alot) * for both regular data an fds. */ for (i = 0; i < 2000; i++) { - strcpy(f, "/tmp/weston-tests-XXXXXX"); + strcpy(f, "/tmp/wayland-tests-XXXXXX"); data.value.h = mkstemp(f); assert(data.value.h >= 0); unlink(f); commit 15625a5cc70f58aa466f3db5171a5fa1851aad71 Author: Sven Joachim <[email protected]> Date: Sun Dec 2 22:42:11 2012 +0100 tests: Don't leave temporary files behind Signed-off-by: Sven Joachim <[email protected]> diff --git a/tests/connection-test.c b/tests/connection-test.c index d0113f1..45744a0 100644 --- a/tests/connection-test.c +++ b/tests/connection-test.c @@ -447,6 +447,7 @@ TEST(connection_marshal_demarshal) data.value.h = mkstemp(f); assert(data.value.h >= 0); + unlink(f); marshal_demarshal(&data, (void *) validate_demarshal_h, 8, "h", data.value.h); @@ -480,6 +481,7 @@ TEST(connection_marshal_alot) strcpy(f, "/tmp/weston-tests-XXXXXX"); data.value.h = mkstemp(f); assert(data.value.h >= 0); + unlink(f); marshal_demarshal(&data, (void *) validate_demarshal_h, 8, "h", data.value.h); } commit 7fd3ca049b2339363d31abcb7fe0e8305972317b Author: Jonas Ådahl <[email protected]> Date: Sat Dec 1 17:33:23 2012 +0100 man, configure.ac: Only generate man pages if we can do it offline Instead of relying on downloading the stylesheet from the Internet for generating man pages, only generate them if the stylesheet is available locally. Signed-off-by: Jonas Ådahl <[email protected]> diff --git a/configure.ac b/configure.ac index 0d842e1..c584439 100644 --- a/configure.ac +++ b/configure.ac @@ -76,6 +76,20 @@ fi AC_PATH_PROG(XSLTPROC, xsltproc) AM_CONDITIONAL([HAVE_XSLTPROC], [test "x$XSLTPROC" != "x"]) +AC_MSG_CHECKING([for docbook manpages stylesheet]) +MANPAGES_STYLESHEET=http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl +AC_PATH_PROGS_FEATURE_CHECK([XSLTPROC_TMP], [xsltproc], + AS_IF([`"$ac_path_XSLTPROC_TMP" --nonet "$MANPAGES_STYLESHEET" > /dev/null 2>&1`], + [HAVE_MANPAGES_STYLESHEET=yes])) +if test "x$HAVE_MANPAGES_STYLESHEET" = "xyes"; then + AM_CONDITIONAL([HAVE_MANPAGES_STYLESHEET], true) + AC_SUBST(MANPAGES_STYLESHEET) + AC_MSG_RESULT([yes]) +else + AM_CONDITIONAL([HAVE_MANPAGES_STYLESHEET], false) + AC_MSG_RESULT([no]) +fi + AM_CONDITIONAL(BUILD_DOCS, [test x$enable_documentation = xyes]) if test "x$enable_documentation" = "xyes"; then AC_PATH_PROG(DOXYGEN, doxygen) diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am index a6a5072..1407953 100644 --- a/doc/man/Makefile.am +++ b/doc/man/Makefile.am @@ -16,6 +16,7 @@ EXTRA_DIST = man_MANS = if HAVE_XSLTPROC +if HAVE_MANPAGES_STYLESHEET CLEANFILES += $(MANPAGES) $(MANPAGES_ALIASES) EXTRA_DIST += $(MANPAGES) $(MANPAGES_ALIASES) $(XML_FILES) @@ -25,11 +26,12 @@ XSLTPROC_FLAGS = \ --stringparam man.authors.section.enabled 0 \ --stringparam man.copyright.section.enabled 0 \ --stringparam funcsynopsis.style ansi \ - --stringparam man.output.quietly 1 + --stringparam man.output.quietly 1 \ + --nonet XSLTPROC_PROCESS_MAN = \ $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ - $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \ + $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(MANPAGES_STYLESHEET) $< && \ $(SED) -i -e 's/^\.so \(.*\)\.\(.\)$$/\.so man\2\/\1\.\2/' $(MANPAGES_ALIASES) %.1: %.xml @@ -46,4 +48,5 @@ XSLTPROC_PROCESS_MAN = \ wl_display_connect_to_fd.3: wl_display_connect.3 +endif # HAVE_MANPAGES_STYLESHEET endif # HAVE_XSLTPROC commit 61387cac3de4dbe574263a0fc4c1fce1ecd3629d Author: Jonas Ådahl <[email protected]> Date: Sat Dec 1 17:33:22 2012 +0100 doc: Only generate Wayland documentation if xsltproc was found Instead of failing to generate documentation because xsltproc doesn't exist, don't try to generate at all. Signed-off-by: Jonas Ådahl <[email protected]> diff --git a/doc/Wayland/Makefile.am b/doc/Wayland/Makefile.am index 53ad6ee..1d27b1a 100644 --- a/doc/Wayland/Makefile.am +++ b/doc/Wayland/Makefile.am @@ -14,6 +14,7 @@ publican_sources = \ $(srcdir)/en_US/images/x-architecture.png if HAVE_PUBLICAN +if HAVE_XSLTPROC noinst_DATA = Wayland $(publican_targets) pubdir = $(docdir)/Wayland/en-US @@ -96,5 +97,6 @@ uninstall-local: fi; endif +endif EXTRA_DIST = $(publican_sources) publican.cfg protocol-to-docbook.xsl protocol-interfaces-to-docbook.xsl doxygen-to-publican.xsl -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

