Re: [weston v2] configure.ac: Add support for new versions of systemd

2015-03-13 Thread sardemff7+wayland
On 2015-03-13 01:56, Javier Jardón wrote: ... that only provide a unique libsystemd.pc file --- configure.ac | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index d9d8d8f..5f2cbc1 100644 --- a/configure.ac +++ b/configure.ac @@ -

Re: [PATCH libinput 11/26] tablet: use libwacom to identify tablets for left-handedness

2015-02-26 Thread sardemff7+wayland
On 2015-02-24 07:21, Peter Hutterer wrote: A tablet hotplug event is rare and not a time-critical event, so we load the database on tablet init and throw it away again. Signed-off-by: Peter Hutterer --- configure.ac | 14 ++ src/Makefile.am| 2 ++ src/

Re: [PATCH weston] configure.ac: make use of wayland-scanner.pc

2015-02-23 Thread sardemff7+wayland
On 2015-02-17 16:13, Emil Velikov wrote: Currently we use the wayland-scanner executable as found with AC_PATH_PROG, and then check the presence of wayland-scanner.pc Currently the latter is unused even if AC_PATH_PROG fails to find the binary. Rework things to use the pkg-config variable as a f

Re: [PATCH weston 1/2] configure.ac: Don't look for Xwayland in the weston install destination

2015-02-10 Thread sardemff7+wayland
On 2015-02-10 03:15, Bryce Harrington wrote: Turns out the issue I've run into is that the --with-xserver-path setting doesn't get passed down into distcheck, which calls configure like this: && $(am__cd) $(distdir)/_build \ && ../configure \ $(AM_DISTCHECK_CON

Re: [PATCH libinput 2/3] Add a rules file to assign LIBINPUT_DEVICE_GROUP

2015-02-10 Thread sardemff7+wayland
On 2015-02-10 07:50, Peter Hutterer wrote: diff --git a/configure.ac b/configure.ac index f47c5a4..2420f86 100644 --- a/configure.ac +++ b/configure.ac @@ -69,6 +69,15 @@ fi AC_SUBST(GCC_CFLAGS) AC_SUBST(GCC_CXXFLAGS) +AC_ARG_WITH(udev-rules-dir, +AS_HELP_STRING([--with-udev-rule

Re: [PATCH V2] configure.ac: Fallback to older detection code if pkg-config can't find expat

2015-02-02 Thread sardemff7+wayland
On 2015-02-02 22:29, Bill Spitzak wrote: This paritally reverts commit a4afd90f9f0c27ed5f3f313b915c260673f8be34. On older expat versions (ie the one on Ubuntu 12.04) there is no pkg-config file, so fall back to the previous test for the header file when it fails. Test is slightly cleaned up from

Re: [PATCH] Fallback to older detection code if pkg-config can't find expat

2015-01-31 Thread sardemff7+wayland
On 2015-01-31 02:23, Bill Spitzak wrote: On older expat versions there is no pkg-config file, so fall back to the previous test for the header file and library if it fails. I agree this a good practice to fallback in this case. This paritally reverts commit a4afd90f9f0c27ed5f3f313b915c260673

Re: [PATCH 1/1] configure.ac: use pkg-config to find expat

2015-01-27 Thread sardemff7+wayland
Once the two things below are fixed: Reviewed-by: Quentin Glidic On 2015-01-26 15:32, Andrew Oakley wrote: This is now done in the same way as the libffi dependency and still allows the library to be installed in a non-standard location (with PKG_CONFIG_PATH). We also now enable the normal G

Re: [WESTON patch] Makefile: fix assigning to dist_wayland_session_DATA

2015-01-22 Thread sardemff7+wayland
On 2015-01-22 10:03, Marek Chalupa wrote: dist_wayland_session_DATA is not set anywhere before, so using += results in: error: dist_wayland_session_DATA must be set with '=' before using '+=' Signed-off-by: Marek Chalupa --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH weston] build: install a login manager session entry

2015-01-21 Thread sardemff7+wayland
On 2015-01-21 04:46, Bryce Harrington wrote: On Sun, Dec 28, 2014 at 02:20:49PM +0100, Lubomir Rintel wrote: This makes it possible to run Weston session from GDM (and possibly other login managers). --- Makefile.am| 5 + src/weston.desktop | 5 + 2 files changed, 10 insertio

Re: [PATCH weston v2 2/2] compositor: Implement JSON-timeline logging

2014-12-04 Thread sardemff7+wayland
On 2014-12-04 12:23, Pekka Paalanen wrote: On Tue, 02 Dec 2014 12:12:28 -0800 Bill Spitzak wrote: I think you should make an emit(FILE*, const char*) function that prints a quoted string or null, instead of doing this repeatedly. Such a function could also convert non-printable characters to es

Re: [PATCH] doc: Add config check for doxygen 1.8.0+.

2014-12-04 Thread sardemff7+wayland
On 2014-12-03 21:39, Bill Spitzak wrote: Thanks! You know I tried searching for "version" in the autotools documents, but did not find this. That documentation is pretty incomplete. Not incomplete at all. You should search harder next time. ;-)

Re: [weston V2 1/2] Check for math (m) and real time (rt) libraries

2014-10-31 Thread sardemff7+wayland
On 2014-10-30 15:23, Javier Jardón wrote: --- Makefile.am | 19 +-- configure.ac | 6 ++ 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/configure.ac b/configure.ac index 934..e78f6c8 100644 --- a/configure.ac +++ b/configure.ac @@ -46,6 +46,12 @@ AC

Re: [PATCH] build: honor results obtained by pkg-config libinput

2014-09-30 Thread sardemff7+wayland
On 2014-09-08 15:03, Jan Engelhardt wrote: The error was: src/libinput-seat.c:30:22: fatal error: libinput.h: No such file or directory --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index b2d6893..7f3e5d3 100644 --- a/Makefile.a

Re: [PATCH libinput 6/8] test/Makefile.am: Use $(GCC_CFLAGS) from configure.ac

2014-03-25 Thread sardemff7+wayland
On 25/03/2014 21:45, Jonas Ådahl wrote: Signed-off-by: Jonas Ådahl --- test/Makefile.am | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/test/Makefile.am b/test/Makefile.am index b59d4a9..12ed023 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -2,6 +

Re: Weston : ideas about xdg_sell, and implementation for a taskbar

2014-02-11 Thread sardemff7+wayland
On 11/02/2014 02:23, Bill Spitzak wrote: May not have explained it correctly. It sounded like you were not going to allow dialogs to be minimized except as a side-effect of minimizing the parent. I was, but I am not any more. I certainly want to allow this! And I certainly want to support mi

Re: Weston : ideas about xdg_sell, and implementation for a taskbar

2014-02-10 Thread sardemff7+wayland
(Some parts are reordered to makes more sense in my answers. Agreed parts are removed.) On 10/02/2014 23:42, Bill Spitzak wrote: sardemff7+wayl...@sardemff7.net wrote: Based on Bill’s events and requests, here is what I think should handle all cases the right way while keeping the global policy

Re: Weston : ideas about xdg_sell, and implementation for a taskbar

2014-02-10 Thread sardemff7+wayland
On 10/02/2014 21:57, Bill Spitzak wrote: Okay this sounds like it is going in exactly the wrong direction. And you sound like you do not understand the strong need here: the compositor *must be in charge* of everything. But, please, do not start to yell now, it can perfectly work well with yo

Re: [PATCH weston 06/11] configure.ac: Make AC_ARG_ENABLE calls consistent

2013-12-08 Thread sardemff7+wayland
On 08/12/2013 19:45, Quentin Glidic wrote: From: Quentin Glidic Signed-off-by: Quentin Glidic --- configure.ac | 128 ++- 1 file changed, 83 insertions(+), 45 deletions(-) diff --git a/configure.ac b/configure.ac index daf81eb..157dc3

Re: [RFC wayland v2] libwayland-client: Add GLib main loop integration

2013-10-23 Thread sardemff7+wayland
Forgot to amend the commit message: libwayland-client: Add GLib main loop integration -- Quentin “Sardem FF7” Glidic ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Re: [PATCH weston 1/5] tests: always build tests

2013-09-11 Thread sardemff7+wayland
On 11/09/2013 11:12, Sam Spilsbury wrote: Quick thought: there's also an important psychological effect to building the tests on a standard make because it promotes them to the same importance as the rest of your code. They become less of an afterthought and it promotes greater care around how pe

Re: [PATCH weston 2/5] tests: use variable for test name in weston-tests-env

2013-09-11 Thread sardemff7+wayland
On 11/09/2013 07:58, Peter Hutterer wrote: Slightly more readable and makes it easier to switch to use $2 for something in the future (if that's ever needed). I have a series to remove that script, making it more integrated with autotools. --- tests/weston-tests-env | 17

Re: [PATCH weston 1/5] tests: always build tests

2013-09-11 Thread sardemff7+wayland
On 11/09/2013 07:58, Peter Hutterer wrote: check_PROGRAMS and friends are only built during make check. Which is perfectly fine. > Which is a great way of introducing compiler errors in tests. Agree, but we should fix the workflow, not some arbitrary “problem”. > Always build them, TESTS

Re: [RFC] compositor-drm: Add hardware accelerated capture of screen using libva

2013-08-30 Thread sardemff7+wayland
On 30/08/2013 06:37, Kristian Høgsberg wrote: On Fri, Aug 23, 2013 at 05:15:48PM +0300, Ander Conselvan de Oliveira wrote: +PKG_CHECK_MODULES(LIBVA, [libva >= 0.34.0 libva-drm >= 0.34.0], [have_libva=yes], [have_libva=no]) +AS_IF([test "x$have_libva" = "xyes"], + [AC_DEFINE([HAVE_LIBVA], [

Re: [PATCH weston sdk v2 1/8] weston.pc: Add dependencies for pixman-1 and xkbcommon

2013-07-04 Thread sardemff7+wayland
On 04/07/2013 18:25, Thiago Macieira wrote: On quinta-feira, 4 de julho de 2013 10.12.05, Pekka Paalanen wrote: On Wed, 3 Jul 2013 18:26:06 -0400 No, it has to be plain Requires. By having pixman and libxkbcommon headers in our SDK headers, we expose those dependencies to applications. Hi,

Re: xserver problems

2013-07-03 Thread sardemff7+wayland
On 03/07/2013 10:19, Bill Spitzak wrote: I am really interested in knowing if other people are seeing this problem. If this is due to the wlshm driver I would be able to try to fix this. If this is for all xserver users then I suspect I do not have enough knowledge to fix it however. Bill Spitz

Re: [PATCH] build: disabling the mtdev library support

2013-06-25 Thread sardemff7+wayland
On 25/06/2013 17:59, Marc Chalain wrote: 2013/6/25 On 25/06/2013 17:28, mchalain [marc.chal...@gmail.com] wrote: From: mchalain AC_CHECK_LIB([jpeg], [jpeg_CreateDecompress], have_jpeglib=yes) if test x$have_jpeglib = xyes; then JPEG_LIBS="-ljpeg" @@ -259,8 +269,8 @@ AS_IF

Re: [PATCH] build: disabling the mtdev library support

2013-06-25 Thread sardemff7+wayland
On 25/06/2013 17:28, mchalain [marc.chal...@gmail.com] wrote: From: mchalain This patch creates the --enable-mtdev configure's option with "auto" as default value. If mtdv library is not available the mtdev functions are replaced by empty macros. To simplify the Makefile.am evdev source files a

Re: [PATCH 03/18] evdev: automatic configuration of mtdev library support

2013-06-21 Thread sardemff7+wayland
On 21/06/2013 11:52, Marc Chalain wrote: 2013/6/21 On 21/06/2013 10:39, mchalain [marc.chal...@gmail.com] wrote: From: mchalain it allows the --disable-mtdev option at configuration. evdev.c creates empty macros for mtdev functions not availlables --- weston/configure.ac | 17 +

Re: [PATCH 03/18] evdev: automatic configuration of mtdev library support

2013-06-21 Thread sardemff7+wayland
On 21/06/2013 10:39, mchalain [marc.chal...@gmail.com] wrote: From: mchalain it allows the --disable-mtdev option at configuration. evdev.c creates empty macros for mtdev functions not availlables --- weston/configure.ac | 17 ++--- weston/src/evdev.c | 11 ---

Re: [PATCH weston 6/7] weston.ini: Allow a relative path for input-method

2013-06-18 Thread sardemff7+wayland
On 18/06/2013 09:11, Quentin Glidic wrote: From: Quentin Glidic Signed-off-by: Quentin Glidic --- man/Makefile.am| 1 + man/weston.ini.man | 3 ++- src/text-backend.c | 8 weston.ini | 2 +- 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/man/Makefile

Re: minimized and stick windows

2013-06-13 Thread sardemff7+wayland
On 12/06/2013 21:39, Bill Spitzak wrote: Shell surface types, exclusive: - top-level - transient (umm, what was this for, again?) - popup (menu?) Transcient is for dialog (modal?) boxes, isn’t it? It means "this window stays above another one". Transient cannot be a type, but instead a sta

Re: minimized and stick windows

2013-06-12 Thread sardemff7+wayland
On 12/06/2013 11:18, Pekka Paalanen wrote: On Wed, 12 Jun 2013 10:23:33 +0200 sardemff7+wayl...@sardemff7.net wrote: On 12/06/2013 09:57, Pekka Paalanen wrote: To get the big picture, let me reiterate the surface classification as a whole, the way I see it. Surface roles, exclusive: - cursor

Re: minimized and stick windows

2013-06-12 Thread sardemff7+wayland
On 12/06/2013 09:57, Pekka Paalanen wrote: To get the big picture, let me reiterate the surface classification as a whole, the way I see it. Surface roles, exclusive: - cursor - drag icon - shell surface Each role is an interface then? Simple and efficient, I love it. Shell surface types, e

Re: Things that killed my motivation to play with wayland

2013-06-12 Thread sardemff7+wayland
On 12/06/2013 02:49, dar...@chaosreigns.com wrote: 1) This mesa bug: https://bugs.freedesktop.org/show_bug.cgi?id=61919 make fails without C_INCLUDE_PATH set. It pretty much destroyed my build testing setup (I was build testing 46 related repos every few hours). I never managed to work out the

Re: [PATCH] weston.pc: Added libexecdir and pkglibexecdir variables

2013-06-11 Thread sardemff7+wayland
On 11/06/2013 08:05, Pekka Paalanen wrote: On Mon, 10 Jun 2013 14:40:19 -0300 "Eduardo Lima (Etrunko)" wrote: I have added the pkglibexedir in an attempt to avoid crowding libexecdir too much. Other than that, no special reason. Ok, so should the weston install paths be adjusted to pkglibex

Re: [PATCH weston v2 4/4] weston.pc: Provide moduledir

2013-06-11 Thread sardemff7+wayland
On 10/06/2013 18:23, Othman, Ossama wrote: Hi, --- a/src/Makefile.am +++ b/src/Makefile.am @@ -94,7 +94,6 @@ westoninclude_HEADERS = \ ../shared/matrix.h \ ../shared/config-parser.h -moduledir = $(libdir)/weston module_LTLI

Re: [PATCH] clients/nested: Fix compilation

2013-06-04 Thread sardemff7+wayland
On 04/06/2013 13:19, Armin K. wrote: On 06/04/2013 01:19 PM, sardemff7+wayl...@sardemff7.net wrote: On 04/06/2013 13:05, Armin K wrote: diff --git a/clients/nested.c b/clients/nested.c index baaff64..132724d 100644 --- a/clients/nested.c +++ b/clients/nested.c @@ -34,8 +34,11 @@ #include

Re: [PATCH] clients/nested: Fix compilation

2013-06-04 Thread sardemff7+wayland
On 04/06/2013 13:05, Armin K wrote: --- clients/Makefile.am | 2 +- clients/nested.c| 3 +++ configure.ac| 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/clients/Makefile.am b/clients/Makefile.am index 1379c4b..d84f575 100644 --- a/clients/Makefile.am +++ b/cl

Re: Compiling weston now needs colord

2013-06-03 Thread sardemff7+wayland
On 30/05/2013 08:24, Michael Hasselmann wrote: On Tue, 2013-05-28 at 22:16 -0700, Bill Spitzak wrote: Running autogen.sh in weston with --disable-colord works to avoid this, I suspect nothing I care about is lost this way. I ran into the very same problems. I would have preferred if such new d