All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] fluxbox: fix build against xlib_libXpm
@ 2015-06-18 17:42 James Knight
  2015-06-18 20:41 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: James Knight @ 2015-06-18 17:42 UTC (permalink / raw)
  To: buildroot

Explicitly configure XPM support based on the library selection provided
(BR2_PACKAGE_XLIB_LIBXPM). It has been observed on different hosts that
XPM support may or may not be included based off the state of the host's
system. One can validate XPM support is included in Fluxbox by using the
command `fluxbox -info`.

Signed-off-by: James Knight <james.knight@rockwellcollins.com>
---
 package/fluxbox/fluxbox.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/fluxbox/fluxbox.mk b/package/fluxbox/fluxbox.mk
index c8e4289..d2e8c89 100644
--- a/package/fluxbox/fluxbox.mk
+++ b/package/fluxbox/fluxbox.mk
@@ -22,6 +22,13 @@ else
 FLUXBOX_CONF_OPTS += --disable-imlib2
 endif
 
+ifeq ($(BR2_PACKAGE_XLIB_LIBXPM),y)
+FLUXBOX_CONF_OPTS += --enable-xpm --with-xpm-prefix=$(STAGING_DIR)/usr
+FLUXBOX_DEPENDENCIES += xlib_libXpm
+else
+FLUXBOX_CONF_OPTS += --disable-xpm
+endif
+
 define FLUXBOX_INSTALL_XSESSION_FILE
 	$(INSTALL) -m 0755 -D package/fluxbox/xsession \
 		$(TARGET_DIR)/root/.xsession
-- 
1.9.5.msysgit.1

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

* [Buildroot] [PATCH 1/1] fluxbox: fix build against xlib_libXpm
  2015-06-18 17:42 [Buildroot] [PATCH 1/1] fluxbox: fix build against xlib_libXpm James Knight
@ 2015-06-18 20:41 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2015-06-18 20:41 UTC (permalink / raw)
  To: buildroot

Dear James Knight,

On Thu, 18 Jun 2015 13:42:56 -0400, James Knight wrote:
> Explicitly configure XPM support based on the library selection provided
> (BR2_PACKAGE_XLIB_LIBXPM). It has been observed on different hosts that
> XPM support may or may not be included based off the state of the host's
> system. One can validate XPM support is included in Fluxbox by using the
> command `fluxbox -info`.
> 
> Signed-off-by: James Knight <james.knight@rockwellcollins.com>
> ---
>  package/fluxbox/fluxbox.mk | 7 +++++++
>  1 file changed, 7 insertions(+)

Applied, thanks. However, there are lots of optional dependencies in
fluxbox that we don't handle correctly yet. At least:

  --disable-xft           disable xft support
  --disable-freetype2     disable freetype2 support
  --disable-xrender       disable xrender support
  --disable-xinerama      disable xinerama support
  --disable-xext          disable Misc X Extension Library support
  --disable-xrandr        disable xrandr support
  --disable-fribidi       disable fribidi support

If you want to send a patch also adding support for all those optional
dependencies, or at least explicitly passing --disable-<foo> to avoid
automatic detection, it would be useful.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

end of thread, other threads:[~2015-06-18 20:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-18 17:42 [Buildroot] [PATCH 1/1] fluxbox: fix build against xlib_libXpm James Knight
2015-06-18 20:41 ` Thomas Petazzoni

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.