From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 22/30] package/matchbox: forcibly disable support for compositing
Date: Fri, 01 May 2015 22:31:23 +0200 [thread overview]
Message-ID: <5543E29B.6050400@mind.be> (raw)
In-Reply-To: <65143442337102f480fc792f8f04505f6ab529dd.1429725549.git.yann.morin.1998@free.fr>
On 22/04/15 20:09, Yann E. MORIN wrote:
> Building with the experimental support for compositing is broken:
>
> /home/ymorin/dev/buildroot/O/host/usr/bin/arm-linux-gnueabihf-gcc
> -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
> -Os -o matchbox-window-manager main.o wm.o base_client.o main_client.o
> toolbar_client.o toolbar_client_alt.o dockbar_client.o dialog_client.o
> select_client.o desktop_client.o ewmh.o misc.o client_common.o keys.o
> list.o stack.o composite-engine.o session.o mbtheme.o xml.o
> -lmb -lX11
> -L/home/ymorin/dev/buildroot/O/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/lib
> -lXext -lXcomposite -lXdamage -lXfixes -lXrender
> -L/home/ymorin/dev/buildroot/O/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/lib
> -lX11 -lexpat
> -L/home/ymorin/dev/buildroot/O/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/lib
> -lXfixes
> composite-engine.o: In function `gaussian':
> /home/ymorin/dev/buildroot/O/build/matchbox-1.2/src/composite-engine.c:65:
> undefined reference to `exp'
>
> That's because it forgets to link with -lm.
>
> However, adding "MATCHBOX_CONF_ENV = -lm" does not solve the issue, as
> it still does not link with -lm at all.
>
> Furthermore, the package does not autoreconf, since it is missing the
> gconf m4 macros, and Buildroot does not have a package for gconf, hence
> we can not even patch Makefile.am and autoreconf.
>
> Patching Makefile.in (in addition to .am) could be a solution, but
> support for compositing is explicitly marked as being experimental.
>
> So, just forcibly disable it altogether.
>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
It kind of makes the previous patch redundant, but there you go...
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> ---
> package/matchbox/matchbox.mk | 13 +------------
> 1 file changed, 1 insertion(+), 12 deletions(-)
>
> diff --git a/package/matchbox/matchbox.mk b/package/matchbox/matchbox.mk
> index be94414..4ec3fb5 100644
> --- a/package/matchbox/matchbox.mk
> +++ b/package/matchbox/matchbox.mk
> @@ -11,22 +11,11 @@ MATCHBOX_LICENSE = GPLv2+
> MATCHBOX_LICENSE_FILES = COPYING
>
> MATCHBOX_DEPENDENCIES = matchbox-lib
> -MATCHBOX_CONF_OPTS = --enable-expat
> +MATCHBOX_CONF_OPTS = --enable-expat --disable-composite
>
> # Workaround bug in configure script
> MATCHBOX_CONF_ENV = expat=yes
>
> -ifeq ($(BR2_PACKAGE_XLIB_LIBXCOMPOSITE)$(BR2_PACKAGE_XLIB_LIBXFIXES)$(BR2_PACKAGE_XLIB_LIBXDAMAGE)$(BR2_PACKAGE_XLIB_LIBXRENDER),yyyy)
> -MATCHBOX_CONF_OPTS += --enable-composite
> -MATCHBOX_DEPENDENCIES += \
> - xlib_libXcomposite \
> - xlib_libXfixes \
> - xlib_libXdamage \
> - xlib_libXrender
> -else
> -MATCHBOX_CONF_OPTS += --disable-composite
> -endif
> -
> ifeq ($(BR2_PACKAGE_XLIB_LIBXFT),y)
> MATCHBOX_DEPENDENCIES += xlib_libXft
> endif
>
--
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
next prev parent reply other threads:[~2015-05-01 20:31 UTC|newest]
Thread overview: 82+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-22 18:09 [Buildroot] [PATCH 0/30] matchbox: huge cleanups (branch yem/matchbox) Yann E. MORIN
2015-04-22 18:09 ` [Buildroot] [PATCH 01/30] package/matchbox: make matchbox-lib a real package Yann E. MORIN
2015-04-23 21:29 ` Arnout Vandecappelle
2015-04-22 18:09 ` [Buildroot] [PATCH 02/30] package/matchbox: make matchbox-wm " Yann E. MORIN
2015-04-23 21:35 ` Arnout Vandecappelle
2015-04-23 21:44 ` Arnout Vandecappelle
2015-04-22 18:09 ` [Buildroot] [PATCH 03/30] package/matchbox-wm: drop useless commented options Yann E. MORIN
2015-04-23 21:33 ` Arnout Vandecappelle
2015-04-22 18:09 ` [Buildroot] [PATCH 04/30] package/matchbox: make matchbox-panel a real package Yann E. MORIN
2015-04-23 21:36 ` Arnout Vandecappelle
2015-04-23 21:46 ` Arnout Vandecappelle
2015-04-23 21:47 ` Arnout Vandecappelle
2015-04-22 18:09 ` [Buildroot] [PATCH 05/30] package/matchbox: make matchbox-desktop " Yann E. MORIN
2015-04-23 21:49 ` Arnout Vandecappelle
2015-04-24 17:37 ` Yann E. MORIN
2015-04-22 18:09 ` [Buildroot] [PATCH 06/30] package/matchbox: make matchbox-common " Yann E. MORIN
2015-04-23 21:52 ` Arnout Vandecappelle
2015-04-22 18:09 ` [Buildroot] [PATCH 07/30] package/matchbox: make matchbox-fakekey " Yann E. MORIN
2015-04-23 21:54 ` Arnout Vandecappelle
2015-04-22 18:09 ` [Buildroot] [PATCH 08/30] package/matchbox: make matchbox-keyboard " Yann E. MORIN
2015-04-23 21:55 ` Arnout Vandecappelle
2015-04-22 18:09 ` [Buildroot] [PATCH 09/30] package/matchbox: make match-startup-monitor " Yann E. MORIN
2015-04-23 22:00 ` Arnout Vandecappelle
2015-04-24 17:40 ` Yann E. MORIN
2015-04-22 18:09 ` [Buildroot] [PATCH 10/30] package/matchbox: remove superfluous conditional includes Yann E. MORIN
2015-04-23 22:01 ` Arnout Vandecappelle
2015-04-24 17:43 ` Yann E. MORIN
2015-04-22 18:09 ` [Buildroot] [PATCH 11/30] package/matchbox: point to new home Yann E. MORIN
2015-04-23 8:58 ` Alexandre Belloni
2015-04-23 16:38 ` Yann E. MORIN
2015-04-23 22:01 ` Arnout Vandecappelle
2015-04-22 18:09 ` [Buildroot] [PATCH 12/30] package/matchbox: get rid of intermediate non-package matchbox Yann E. MORIN
2015-04-23 22:27 ` Arnout Vandecappelle
2015-04-24 16:51 ` Yann E. MORIN
2015-04-22 18:09 ` [Buildroot] [PATCH 13/30] package/matchbox: fix option prompts Yann E. MORIN
2015-04-23 22:26 ` Arnout Vandecappelle
2015-04-24 16:50 ` Yann E. MORIN
2015-04-22 18:09 ` [Buildroot] [PATCH 14/30] package/matchbox-common: fix dependencies Yann E. MORIN
2015-05-01 20:01 ` Arnout Vandecappelle
2015-04-22 18:09 ` [Buildroot] [PATCH 15/30] package/matchbox-common: break dependency chain for display Yann E. MORIN
2015-05-01 20:02 ` Arnout Vandecappelle
2015-05-02 12:00 ` Yann E. MORIN
2015-04-22 18:09 ` [Buildroot] [PATCH 16/30] package/matchbox-fakekey: add missing dependency Yann E. MORIN
2015-05-01 20:07 ` Arnout Vandecappelle
2015-04-22 18:09 ` [Buildroot] [PATCH 17/30] package/matchbox-startup-monitor: add misisng dependency Yann E. MORIN
2015-05-01 20:19 ` Arnout Vandecappelle
2015-04-22 18:09 ` [Buildroot] [PATCH 18/30] package/matchbox: finally add prompts to all sub-packages Yann E. MORIN
2015-05-01 20:23 ` Arnout Vandecappelle
2015-05-02 12:28 ` Yann E. MORIN
2015-04-22 18:09 ` [Buildroot] [PATCH 19/30] package/matchbox: enable support for the Xsession manager Yann E. MORIN
2015-05-01 20:28 ` Arnout Vandecappelle
2015-05-02 13:10 ` Yann E. MORIN
2015-04-22 18:09 ` [Buildroot] [PATCH 20/30] package/matchbox: cleanup handling of support for compositing Yann E. MORIN
2015-05-01 20:29 ` Arnout Vandecappelle
2015-04-22 18:09 ` [Buildroot] [PATCH 21/30] package/matchbox: make it a menu Yann E. MORIN
2015-05-01 20:32 ` Arnout Vandecappelle
2015-04-22 18:09 ` [Buildroot] [PATCH 22/30] package/matchbox: forcibly disable support for compositing Yann E. MORIN
2015-05-01 20:31 ` Arnout Vandecappelle [this message]
2015-05-02 13:04 ` Yann E. MORIN
2015-04-22 18:09 ` [Buildroot] [PATCH 23/30] package/matchbox: drop useless dependencies Yann E. MORIN
2015-05-01 20:41 ` Arnout Vandecappelle
2015-05-01 20:58 ` Arnout Vandecappelle
2015-05-02 13:40 ` Yann E. MORIN
2015-05-02 14:12 ` Yann E. MORIN
2015-04-22 18:09 ` [Buildroot] [PATCH 24/30] package/matchbox-keyboard: enforce disabling support for cairo Yann E. MORIN
2015-05-01 20:45 ` Arnout Vandecappelle
2015-04-22 18:09 ` [Buildroot] [PATCH 25/30] package/matchbox-common: explicitly disable PDA folders when not selected Yann E. MORIN
2015-05-01 20:44 ` Arnout Vandecappelle
2015-04-22 18:09 ` [Buildroot] [PATCH 26/30] package/matchbox: wrap long lines Yann E. MORIN
2015-04-22 18:09 ` [Buildroot] [PATCH 27/30] package/matchbox: xlib-libXcursor is an optional dependency Yann E. MORIN
2015-05-01 21:02 ` Arnout Vandecappelle
2015-05-02 14:33 ` Yann E. MORIN
2015-04-22 18:09 ` [Buildroot] [PATCH 28/30] package/matchbox-panel: add option to use ACPI for the battery applet Yann E. MORIN
2015-05-01 21:39 ` Arnout Vandecappelle
2015-05-02 15:22 ` Yann E. MORIN
2015-04-22 18:09 ` [Buildroot] [PATCH 29/30] package/matchbox-panel: add support for dnotify Yann E. MORIN
2015-05-01 21:44 ` Arnout Vandecappelle
2015-05-02 15:23 ` Yann E. MORIN
2015-04-22 18:09 ` [Buildroot] [PATCH 30/30] package/matchbox-panel: fix WiFi monitoring Yann E. MORIN
2015-05-01 21:45 ` Arnout Vandecappelle
2015-04-23 21:24 ` [Buildroot] [PATCH 0/30] matchbox: huge cleanups (branch yem/matchbox) Arnout Vandecappelle
2015-04-23 21:27 ` Yann E. MORIN
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5543E29B.6050400@mind.be \
--to=arnout@mind.be \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox