All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/4] Wayland/weston packages
@ 2013-04-22 16:07 Thomas Petazzoni
  2013-04-22 16:07 ` [Buildroot] [PATCH 1/4] xkeyboard-config: make available outside of X.org, reduce dependencies Thomas Petazzoni
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Thomas Petazzoni @ 2013-04-22 16:07 UTC (permalink / raw)
  To: buildroot

Hello,

Here is a set of four patches that add support for Weston, the
reference implementation of the Wayland protocol. So far, only the
fbdev backend is supported, but it's in my plans to add support for
the RPi compositor, and maybe the DRM one.

Note that the first patch does something a little bit ugly: it moves
xkeyboard-config outside of the if BR2_PACKAGE_XORG7 ... endif clause,
because we also need it for Wayland/Weston. The consequence is that it
now appears "alone" right after the "X.org system" submenu in
menuconfig, which is not entirely nice. Suggestions welcome.

Best regards,

Thomas

Thomas Petazzoni (4):
  xkeyboard-config: make available outside of X.org, reduce
    dependencies
  libxkbcommon: new package
  wayland: new package
  weston: new package

 package/Config.in                                  |    3 ++
 package/libxkbcommon/Config.in                     |    8 ++++
 package/libxkbcommon/libxkbcommon.mk               |   16 +++++++
 package/wayland/Config.in                          |   10 +++++
 package/wayland/wayland.mk                         |   30 +++++++++++++
 package/weston/Config.in                           |   29 ++++++++++++
 ...pendent-code-only-when-the-DRM-compositor.patch |   47 ++++++++++++++++++++
 package/weston/weston.mk                           |   32 +++++++++++++
 package/x11r7/Config.in                            |    3 +-
 package/x11r7/xkeyboard-config/Config.in           |    7 +--
 package/x11r7/xkeyboard-config/xkeyboard-config.mk |    7 ++-
 11 files changed, 187 insertions(+), 5 deletions(-)
 create mode 100644 package/libxkbcommon/Config.in
 create mode 100644 package/libxkbcommon/libxkbcommon.mk
 create mode 100644 package/wayland/Config.in
 create mode 100644 package/wayland/wayland.mk
 create mode 100644 package/weston/Config.in
 create mode 100644 package/weston/weston-0001-Pull-DRM-dependent-code-only-when-the-DRM-compositor.patch
 create mode 100644 package/weston/weston.mk

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] [PATCH 1/4] xkeyboard-config: make available outside of X.org, reduce dependencies
  2013-04-22 16:07 [Buildroot] [PATCH 0/4] Wayland/weston packages Thomas Petazzoni
@ 2013-04-22 16:07 ` Thomas Petazzoni
  2013-04-22 16:07 ` [Buildroot] [PATCH 2/4] libxkbcommon: new package Thomas Petazzoni
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 10+ messages in thread
From: Thomas Petazzoni @ 2013-04-22 16:07 UTC (permalink / raw)
  To: buildroot

xkeyboard-connfig was selectable only if X.org was enabled. However,
weston, the reference implementation of the Wayland protocol, also
needs xkeyboard-config, so we have to make this package available
outside of the if BR2_PACKAGE_XORG7 ... endif conditional.

In addition to this, the xkeyboard-config currently pulls in
xapp_xkbcomp as a runtime dependency, but this dependency is only
needed with X.org. And it also pulls in xlib_libX11 and xproto_proto
has build-time dependencies. But in fact those ones are runtime
dependencies, and they are only needed under X.org. This helps
reducing the number of dependencies of xkeyboard-config in a
weston/wayland configuration.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/x11r7/Config.in                            |    3 ++-
 package/x11r7/xkeyboard-config/Config.in           |    7 ++++---
 package/x11r7/xkeyboard-config/xkeyboard-config.mk |    7 ++++++-
 3 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/package/x11r7/Config.in b/package/x11r7/Config.in
index 971ef37..2be9ae0 100644
--- a/package/x11r7/Config.in
+++ b/package/x11r7/Config.in
@@ -257,9 +257,10 @@ if BR2_PACKAGE_XORG7
 		source package/x11r7/xdata_xbitmaps/Config.in
 		source package/x11r7/xdata_xcursor-themes/Config.in
 		source package/x11r7/xcursor-transparent-theme/Config.in
-		source package/x11r7/xkeyboard-config/Config.in
 	endmenu
 endif
 
 comment "X.org requires a toolchain with WCHAR support"
         depends on !BR2_USE_WCHAR
+
+source package/x11r7/xkeyboard-config/Config.in
diff --git a/package/x11r7/xkeyboard-config/Config.in b/package/x11r7/xkeyboard-config/Config.in
index 640bb1d..5d1d6a7 100644
--- a/package/x11r7/xkeyboard-config/Config.in
+++ b/package/x11r7/xkeyboard-config/Config.in
@@ -1,8 +1,9 @@
 config BR2_PACKAGE_XKEYBOARD_CONFIG
 	bool "xkeyboard-config"
-	select BR2_PACKAGE_XAPP_XKBCOMP
-	select BR2_PACKAGE_XLIB_LIBX11
-	select BR2_PACKAGE_XPROTO_XPROTO
+	# Runtime dependencies
+	select BR2_PACKAGE_XAPP_XKBCOMP if BR2_PACKAGE_XORG7
+	select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7
+	select BR2_PACKAGE_XPROTO_XPROTO if BR2_PACKAGE_XORG7
 	help
 	  keyboard configuration database for X
 
diff --git a/package/x11r7/xkeyboard-config/xkeyboard-config.mk b/package/x11r7/xkeyboard-config/xkeyboard-config.mk
index 78ed1ee..cdddd95 100644
--- a/package/x11r7/xkeyboard-config/xkeyboard-config.mk
+++ b/package/x11r7/xkeyboard-config/xkeyboard-config.mk
@@ -3,10 +3,15 @@
 # xkeyboard-config
 #
 #############################################################
+
 XKEYBOARD_CONFIG_VERSION = 2.6
 XKEYBOARD_CONFIG_SOURCE = xkeyboard-config-$(XKEYBOARD_CONFIG_VERSION).tar.bz2
 XKEYBOARD_CONFIG_SITE = http://www.x.org/releases/individual/data/xkeyboard-config/
-XKEYBOARD_CONFIG_DEPENDENCIES = host-gettext host-intltool host-xapp_xkbcomp xlib_libX11 xproto_xproto
+XKEYBOARD_CONFIG_LICENSE = MIT
+XKEYBAORD_CONFIG_LICENSE_FILES = COPYING
+
+XKEYBOARD_CONFIG_DEPENDENCIES = host-gettext host-intltool host-xapp_xkbcomp
+XKEYBOARD_CONFIG_CONF_OPT += --disable-runtime-deps
 
 $(eval $(autotools-package))
 
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [Buildroot] [PATCH 2/4] libxkbcommon: new package
  2013-04-22 16:07 [Buildroot] [PATCH 0/4] Wayland/weston packages Thomas Petazzoni
  2013-04-22 16:07 ` [Buildroot] [PATCH 1/4] xkeyboard-config: make available outside of X.org, reduce dependencies Thomas Petazzoni
@ 2013-04-22 16:07 ` Thomas Petazzoni
  2013-04-22 16:07 ` [Buildroot] [PATCH 3/4] wayland: " Thomas Petazzoni
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 10+ messages in thread
From: Thomas Petazzoni @ 2013-04-22 16:07 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/Config.in                    |    1 +
 package/libxkbcommon/Config.in       |    8 ++++++++
 package/libxkbcommon/libxkbcommon.mk |   16 ++++++++++++++++
 3 files changed, 25 insertions(+)
 create mode 100644 package/libxkbcommon/Config.in
 create mode 100644 package/libxkbcommon/libxkbcommon.mk

diff --git a/package/Config.in b/package/Config.in
index f28cedd..f3be210 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -466,6 +466,7 @@ source "package/libnfc-llcp/Config.in"
 source "package/libusb/Config.in"
 source "package/libusb-compat/Config.in"
 source "package/libv4l/Config.in"
+source "package/libxkbcommon/Config.in"
 source "package/mtdev/Config.in"
 source "package/ne10/Config.in"
 source "package/neardal/Config.in"
diff --git a/package/libxkbcommon/Config.in b/package/libxkbcommon/Config.in
new file mode 100644
index 0000000..0a52c6f
--- /dev/null
+++ b/package/libxkbcommon/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_LIBXKBCOMMON
+	bool "libxkbcommon"
+	help
+	  xkbcommon is a keymap compiler and support library which
+	  processes a reduced subset of keymaps as defined by the XKB
+	  specification.
+
+	  http://xkbcommon.org/
diff --git a/package/libxkbcommon/libxkbcommon.mk b/package/libxkbcommon/libxkbcommon.mk
new file mode 100644
index 0000000..1ff851b
--- /dev/null
+++ b/package/libxkbcommon/libxkbcommon.mk
@@ -0,0 +1,16 @@
+#############################################################
+#
+# libxkbcommon
+#
+#############################################################
+
+LIBXKBCOMMON_VERSION = 0.3.0
+LIBXKBCOMMON_SITE = http://xkbcommon.org/download/
+LIBXKBCOMMON_SOURCE = libxkbcommon-$(LIBXKBCOMMON_VERSION).tar.xz
+LIBXKBCOMMON_LICENSE = MIT/X11
+LIBXKBCOMMON_LICENSE_FILES = COPYING
+
+LIBXKBCOMMON_INSTALL_STAGING = YES
+LIBXKBCOMMON_DEPENDENCIES = host-bison host-flex
+
+$(eval $(autotools-package))
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [Buildroot] [PATCH 3/4] wayland: new package
  2013-04-22 16:07 [Buildroot] [PATCH 0/4] Wayland/weston packages Thomas Petazzoni
  2013-04-22 16:07 ` [Buildroot] [PATCH 1/4] xkeyboard-config: make available outside of X.org, reduce dependencies Thomas Petazzoni
  2013-04-22 16:07 ` [Buildroot] [PATCH 2/4] libxkbcommon: new package Thomas Petazzoni
@ 2013-04-22 16:07 ` Thomas Petazzoni
  2013-04-22 16:07 ` [Buildroot] [PATCH 4/4] weston: " Thomas Petazzoni
  2013-04-22 21:33 ` [Buildroot] [PATCH 0/4] Wayland/weston packages Arnout Vandecappelle
  4 siblings, 0 replies; 10+ messages in thread
From: Thomas Petazzoni @ 2013-04-22 16:07 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/Config.in          |    1 +
 package/wayland/Config.in  |   10 ++++++++++
 package/wayland/wayland.mk |   30 ++++++++++++++++++++++++++++++
 3 files changed, 41 insertions(+)
 create mode 100644 package/wayland/Config.in
 create mode 100644 package/wayland/wayland.mk

diff --git a/package/Config.in b/package/Config.in
index f3be210..41989c7 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -445,6 +445,7 @@ source "package/opengl/Config.in"
 source "package/pango/Config.in"
 source "package/pixman/Config.in"
 source "package/tiff/Config.in"
+source "package/wayland/Config.in"
 source "package/webkit/Config.in"
 source "package/zxing/Config.in"
 endmenu
diff --git a/package/wayland/Config.in b/package/wayland/Config.in
new file mode 100644
index 0000000..e5d2649
--- /dev/null
+++ b/package/wayland/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_WAYLAND
+	bool "wayland"
+	select BR2_PACKAGE_LIBFFI
+	select BR2_PACKAGE_EXPAT
+	help
+	  Wayland is a project to define a protocol for a compositor
+	  to talk to its clients as well as a library implementation
+	  of the protocol.
+
+	  http://wayland.freedesktop.org/
diff --git a/package/wayland/wayland.mk b/package/wayland/wayland.mk
new file mode 100644
index 0000000..65381ec
--- /dev/null
+++ b/package/wayland/wayland.mk
@@ -0,0 +1,30 @@
+#############################################################
+#
+# wayland
+#
+#############################################################
+
+WAYLAND_VERSION = 1.1.0
+WAYLAND_SITE = http://wayland.freedesktop.org/releases/
+WAYLAND_SOURCE = wayland-$(WAYLAND_VERSION).tar.xz
+WAYLAND_LICENSE = MIT
+WAYLAND_LICENSE_FILES = COPYING
+
+WAYLAND_INSTALL_STAGING = YES
+WAYLAND_DEPENDENCIES = libffi host-pkgconf expat host-expat
+
+# wayland needs a wayland-scanner program to generate some of its
+# source code. By default, it builds it with CC, so it doesn't in
+# cross-compilation. Therefore, we build it manually, and tell wayland
+# that the tool is already available.
+WAYLAND_CONF_OPT = --disable-scanner
+
+define WAYLAND_BUILD_SCANNER
+	(cd $(@D)/src/; \
+		$(HOSTCC) $(HOST_CFLAGS) $(HOST_LDFLAGS) \
+			-o wayland-scanner scanner.c wayland-util.c -lexpat)
+endef
+
+WAYLAND_POST_CONFIGURE_HOOKS += WAYLAND_BUILD_SCANNER
+
+$(eval $(autotools-package))
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [Buildroot] [PATCH 4/4] weston: new package
  2013-04-22 16:07 [Buildroot] [PATCH 0/4] Wayland/weston packages Thomas Petazzoni
                   ` (2 preceding siblings ...)
  2013-04-22 16:07 ` [Buildroot] [PATCH 3/4] wayland: " Thomas Petazzoni
@ 2013-04-22 16:07 ` Thomas Petazzoni
  2013-04-22 21:33 ` [Buildroot] [PATCH 0/4] Wayland/weston packages Arnout Vandecappelle
  4 siblings, 0 replies; 10+ messages in thread
From: Thomas Petazzoni @ 2013-04-22 16:07 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/Config.in                                  |    1 +
 package/weston/Config.in                           |   29 ++++++++++++
 ...pendent-code-only-when-the-DRM-compositor.patch |   47 ++++++++++++++++++++
 package/weston/weston.mk                           |   32 +++++++++++++
 4 files changed, 109 insertions(+)
 create mode 100644 package/weston/Config.in
 create mode 100644 package/weston/weston-0001-Pull-DRM-dependent-code-only-when-the-DRM-compositor.patch
 create mode 100644 package/weston/weston.mk

diff --git a/package/Config.in b/package/Config.in
index 41989c7..5db377a 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -150,6 +150,7 @@ endif
 
 source "package/qt5/Config.in"
 source "package/x11r7/Config.in"
+source "package/weston/Config.in"
 
 comment "X libraries and helper libraries"
 source "package/liberation/Config.in"
diff --git a/package/weston/Config.in b/package/weston/Config.in
new file mode 100644
index 0000000..15cc9e8
--- /dev/null
+++ b/package/weston/Config.in
@@ -0,0 +1,29 @@
+comment "weston requires udev"
+	depends on BR2_PACKAGE_UDEV
+
+config BR2_PACKAGE_WESTON
+	bool "weston"
+	select BR2_PACKAGE_WAYLAND
+	select BR2_PACKAGE_LIBXKBCOMMON
+	select BR2_PACKAGE_CAIRO
+	select BR2_PACKAGE_CAIRO_PNG
+	select BR2_PACKAGE_LIBPNG
+	select BR2_PACKAGE_JPEG
+	select BR2_PACKAGE_MTDEV
+	depends on BR2_PACKAGE_UDEV
+	# Runtime dependency
+	select BR2_PACKAGE_XKEYBOARD_CONFIG
+	# Make sure at least one backend is selected
+	select BR2_PACKAGE_WESTON_FBDEV
+	help
+	  Weston is the reference implementation of a Wayland
+	  compositor, and a useful compositor in its own right.
+	  Weston has various backends that lets it run on Linux kernel
+	  modesetting and evdev input as well as under X11.
+
+if BR2_PACKAGE_WESTON
+
+config BR2_PACKAGE_WESTON_FBDEV
+	bool "fbdev compositor"
+
+endif
diff --git a/package/weston/weston-0001-Pull-DRM-dependent-code-only-when-the-DRM-compositor.patch b/package/weston/weston-0001-Pull-DRM-dependent-code-only-when-the-DRM-compositor.patch
new file mode 100644
index 0000000..d390b02
--- /dev/null
+++ b/package/weston/weston-0001-Pull-DRM-dependent-code-only-when-the-DRM-compositor.patch
@@ -0,0 +1,47 @@
+From b8a831387a37f09ea5479eeb1d435a26680299c6 Mon Sep 17 00:00:00 2001
+From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+Date: Fri, 19 Apr 2013 06:19:05 +0200
+Subject: [PATCH] Pull DRM dependent code only when the DRM compositor is
+ enabled
+
+The <xf86drm.h> header and the drm*() functions may not be available
+at all when the DRM compositor is not enabled, so they should not be
+used. Fixes build failures when building the fbdev compositor on
+systems where DRM is not available.
+
+Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+---
+ src/launcher-util.c |    5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/src/launcher-util.c b/src/launcher-util.c
+index 9196e4f..d2fb160 100644
+--- a/src/launcher-util.c
++++ b/src/launcher-util.c
+@@ -31,7 +31,9 @@
+ #include <sys/uio.h>
+ #include <fcntl.h>
+ 
++#ifdef BUILD_DRM_COMPOSITOR
+ #include <xf86drm.h>
++#endif
+ 
+ #include "compositor.h"
+ #include "launcher-util.h"
+@@ -103,6 +105,7 @@ weston_launcher_open(struct weston_compositor *compositor,
+ 	return data->fd;
+ }
+ 
++#ifdef BUILD_DRM_COMPOSITOR
+ int
+ weston_launcher_drm_set_master(struct weston_compositor *compositor,
+ 			       int drm_fd, char master)
+@@ -157,4 +160,4 @@ weston_launcher_drm_set_master(struct weston_compositor *compositor,
+ 
+ 	return ret;
+ }
+-
++#endif
+-- 
+1.7.9.5
+
diff --git a/package/weston/weston.mk b/package/weston/weston.mk
new file mode 100644
index 0000000..4e7cada
--- /dev/null
+++ b/package/weston/weston.mk
@@ -0,0 +1,32 @@
+#############################################################
+#
+# weston
+#
+#############################################################
+
+WESTON_VERSION = 1.1.0
+WESTON_SITE = http://wayland.freedesktop.org/releases/
+WESTON_SOURCE = weston-$(WAYLAND_VERSION).tar.xz
+WESTON_LICENSE = MIT
+WESTON_LICENSE_FILES = COPYING
+
+WESTON_DEPENDENCIES = wayland libxkbcommon pixman libpng jpeg mtdev udev
+WESTON_CONF_OPT = \
+	--disable-egl \
+	--disable-xwayland \
+	--disable-x11-compositor \
+	--disable-drm-compositor \
+	--disable-wayland-compositor \
+	--disable-headless-compositor \
+	--disable-rpi-compositor \
+	--disable-weston-launch \
+	--disable-libunwind
+
+ifeq ($(BR2_PACKAGE_WESTON_FBDEV),y)
+WESTON_CONF_OPT += --enable-fbdev-compositor
+else
+WESTON_CONF_OPT += --disable-fbdev-compositor
+endif
+
+$(eval $(autotools-package))
+
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [Buildroot] [PATCH 0/4] Wayland/weston packages
  2013-04-22 16:07 [Buildroot] [PATCH 0/4] Wayland/weston packages Thomas Petazzoni
                   ` (3 preceding siblings ...)
  2013-04-22 16:07 ` [Buildroot] [PATCH 4/4] weston: " Thomas Petazzoni
@ 2013-04-22 21:33 ` Arnout Vandecappelle
  2013-04-24  2:27   ` Thomas Petazzoni
  4 siblings, 1 reply; 10+ messages in thread
From: Arnout Vandecappelle @ 2013-04-22 21:33 UTC (permalink / raw)
  To: buildroot

On 22/04/13 18:07, Thomas Petazzoni wrote:
> Note that the first patch does something a little bit ugly: it moves
> xkeyboard-config outside of the if BR2_PACKAGE_XORG7 ... endif clause,
> because we also need it for Wayland/Weston. The consequence is that it
> now appears "alone" right after the "X.org system" submenu in
> menuconfig, which is not entirely nice. Suggestions welcome.

  Maybe moving it into "X libraries and helper libraries" is more 
relevant? I expect that other packages (mesa3d?) may also move there.

  Regards,
  Arnout

-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] [PATCH 0/4] Wayland/weston packages
  2013-04-22 21:33 ` [Buildroot] [PATCH 0/4] Wayland/weston packages Arnout Vandecappelle
@ 2013-04-24  2:27   ` Thomas Petazzoni
  2013-04-24 12:44     ` Arnout Vandecappelle
  0 siblings, 1 reply; 10+ messages in thread
From: Thomas Petazzoni @ 2013-04-24  2:27 UTC (permalink / raw)
  To: buildroot

Dear Arnout Vandecappelle,

On Mon, 22 Apr 2013 23:33:44 +0200, Arnout Vandecappelle wrote:

>   Maybe moving it into "X libraries and helper libraries" is more 
> relevant? I expect that other packages (mesa3d?) may also move there.

Good idea. However, it means that we have from package/Config.in an
include to a Config.in in package/x11r7/<foo>/Config.in:

diff --git a/package/Config.in b/package/Config.in
index ab514c7..3a19243 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -155,6 +155,7 @@ source "package/x11r7/Config.in"
 comment "X libraries and helper libraries"
 source "package/liberation/Config.in"
 source "package/libsexy/Config.in"
+source "package/x11r7/xkeyboard-config/Config.in"

Does it matter, or should I also move the xkeyboard-config directory
outside of package/x11r7/ ?

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [Buildroot] [PATCH 0/4] Wayland/weston packages
  2013-04-24  2:27   ` Thomas Petazzoni
@ 2013-04-24 12:44     ` Arnout Vandecappelle
  2013-04-24 14:23       ` Thomas Petazzoni
  0 siblings, 1 reply; 10+ messages in thread
From: Arnout Vandecappelle @ 2013-04-24 12:44 UTC (permalink / raw)
  To: buildroot

On 24/04/13 04:27, Thomas Petazzoni wrote:
> Dear Arnout Vandecappelle,
>
> On Mon, 22 Apr 2013 23:33:44 +0200, Arnout Vandecappelle wrote:
>
>>    Maybe moving it into "X libraries and helper libraries" is more
>> relevant? I expect that other packages (mesa3d?) may also move there.
>
> Good idea. However, it means that we have from package/Config.in an
> include to a Config.in in package/x11r7/<foo>/Config.in:
>
> diff --git a/package/Config.in b/package/Config.in
> index ab514c7..3a19243 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -155,6 +155,7 @@ source "package/x11r7/Config.in"
>   comment "X libraries and helper libraries"
>   source "package/liberation/Config.in"
>   source "package/libsexy/Config.in"
> +source "package/x11r7/xkeyboard-config/Config.in"
>
> Does it matter, or should I also move the xkeyboard-config directory
> outside of package/x11r7/ ?

  If it no longer depends on xorg7, I would vote to move it out.

  Regards,
  Arnout


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] [PATCH 0/4] Wayland/weston packages
  2013-04-24 12:44     ` Arnout Vandecappelle
@ 2013-04-24 14:23       ` Thomas Petazzoni
  2013-04-24 20:09         ` Peter Korsgaard
  0 siblings, 1 reply; 10+ messages in thread
From: Thomas Petazzoni @ 2013-04-24 14:23 UTC (permalink / raw)
  To: buildroot

Dear Arnout Vandecappelle,

On Wed, 24 Apr 2013 14:44:56 +0200, Arnout Vandecappelle wrote:

> > Does it matter, or should I also move the xkeyboard-config directory
> > outside of package/x11r7/ ?
> 
>   If it no longer depends on xorg7, I would vote to move it out.

It still depends on host-xapp_xkbcomp, but since it's a host package,
it can be used even if BR2_PACKAGE_XORG7 is not enabled, which is why I
could move the xkeyboard-config/Config.in inclusion outside of the
BR2_PACKAGE_XORG7. The other dependencies are runtime dependencies that
are only needed in a X.org context.

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] [PATCH 0/4] Wayland/weston packages
  2013-04-24 14:23       ` Thomas Petazzoni
@ 2013-04-24 20:09         ` Peter Korsgaard
  0 siblings, 0 replies; 10+ messages in thread
From: Peter Korsgaard @ 2013-04-24 20:09 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 >> If it no longer depends on xorg7, I would vote to move it out.

 Thomas> It still depends on host-xapp_xkbcomp, but since it's a host
 Thomas> package, it can be used even if BR2_PACKAGE_XORG7 is not
 Thomas> enabled, which is why I could move the
 Thomas> xkeyboard-config/Config.in inclusion outside of the
 Thomas> BR2_PACKAGE_XORG7. The other dependencies are runtime
 Thomas> dependencies that are only needed in a X.org context.

Ok, sounds good.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-04-24 20:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-22 16:07 [Buildroot] [PATCH 0/4] Wayland/weston packages Thomas Petazzoni
2013-04-22 16:07 ` [Buildroot] [PATCH 1/4] xkeyboard-config: make available outside of X.org, reduce dependencies Thomas Petazzoni
2013-04-22 16:07 ` [Buildroot] [PATCH 2/4] libxkbcommon: new package Thomas Petazzoni
2013-04-22 16:07 ` [Buildroot] [PATCH 3/4] wayland: " Thomas Petazzoni
2013-04-22 16:07 ` [Buildroot] [PATCH 4/4] weston: " Thomas Petazzoni
2013-04-22 21:33 ` [Buildroot] [PATCH 0/4] Wayland/weston packages Arnout Vandecappelle
2013-04-24  2:27   ` Thomas Petazzoni
2013-04-24 12:44     ` Arnout Vandecappelle
2013-04-24 14:23       ` Thomas Petazzoni
2013-04-24 20:09         ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.