]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
docker: depend on xlib_libX11 and not the X.org server
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 6 Jan 2013 11:29:27 +0000 (11:29 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sat, 12 Jan 2013 21:41:48 +0000 (22:41 +0100)
docker is a X client application, so it doesn't make sense to depend
on the X.org server. An inspection of docker Makefile and source code
shows that it only needs the libX11 library, so we replace the X.org
server dependency by a libX11 dependency.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/docker/Config.in
package/docker/docker.mk

index 75bf5bedebfaa8649b5e4a2cdb91a074aa6dcdf5..f07739a21afa5f311c5659aee33fb1dc887eca82 100644 (file)
@@ -3,6 +3,7 @@ config BR2_PACKAGE_DOCKER
        depends on BR2_PACKAGE_XORG7
        depends on BR2_USE_WCHAR # glib2
        select BR2_PACKAGE_LIBGLIB2
+       select BR2_PACKAGE_XLIB_LIBX11
        help
          a system tray dock for X
 
index 95799e803cde94c0b9a2eb2f57007509323405c5..b452386e6e6e921c22eb664886f8b4737177ea4b 100644 (file)
@@ -16,6 +16,6 @@ DOCKER_MAKE_OPT = CC="$(TARGET_CC)" CXX="$(TARGET_CXX)" LD="$(TARGET_LD)" \
 
 DOCKER_INSTALL_TARGET_OPT = PREFIX=$(TARGET_DIR)/usr install
 
-DOCKER_DEPENDENCIES = host-pkgconf libglib2 xserver_xorg-server
+DOCKER_DEPENDENCIES = host-pkgconf libglib2 xlib_libX11
 
 $(eval $(autotools-package))