From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 07/33] fluxbox: fix build against imlib2
Date: Fri, 23 Nov 2012 10:14:35 +0100 [thread overview]
Message-ID: <878v9sfzpg.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <1353543503-8952-8-git-send-email-s.martin49@gmail.com> (Samuel Martin's message of "Thu, 22 Nov 2012 01:17:57 +0100")
>>>>> "Samuel" == Samuel Martin <s.martin49@gmail.com> writes:
Samuel> * fix missing dependency
Samuel> * set imlib2 prefix at configure time
Samuel> * fix configure script to take account of the imlib2 prefix if any
Ehh, fluxbox doesn't select imlib2 in it's Config.in and it looks like
it's an optional dependency:
From configure.in:
dnl Check whether to use imlib2
IMLIB2=false
AC_MSG_CHECKING([whether to have Imlib2 (pixmap themes) support])
AC_ARG_ENABLE(imlib2,
AC_HELP_STRING([--enable-imlib2],
[Imlib2 (pixmap themes) support ([default=yes])]), ,
[enable_imlib2=yes])
So all of this should only be done if BR2_PACKAGE_IMLIB2 is enabled.
Samuel> Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Samuel> ---
Samuel> package/fluxbox/fluxbox-fix-configure.patch | 19 +++++++++++++++++++
Please consider sending this patch upstream.
Samuel> package/fluxbox/fluxbox.mk | 7 ++++---
Samuel> 2 files changed, 23 insertions(+), 3 deletions(-)
Samuel> create mode 100644 package/fluxbox/fluxbox-fix-configure.patch
Samuel> diff --git a/package/fluxbox/fluxbox-fix-configure.patch b/package/fluxbox/fluxbox-fix-configure.patch
Samuel> new file mode 100644
Samuel> index 0000000..a739f08
Samuel> --- /dev/null
Samuel> +++ b/package/fluxbox/fluxbox-fix-configure.patch
Samuel> @@ -0,0 +1,19 @@
Samuel> +Avoid to call the imlib2-config that may be installed on the host system
Samuel> +(even when --with-imlib2-prefix or --with-imlib2-exec-prefix is passed to
Samuel> +the configure script), which totally screws up the resulting linker flags.
Samuel> +
Samuel> +Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Samuel> +
Samuel> +--- fluxbox-1.3.2.orig/configure.in 2012-10-21 16:11:59.445749396 +0200
Samuel> ++++ fluxbox-1.3.2/configure.in 2012-10-21 16:35:27.658390856 +0200
Samuel> +@@ -443,8 +443,8 @@ if test x$enable_imlib2 = "xyes"; then
Samuel> + [
Samuel> + IMLIB2=true
Samuel> + AC_DEFINE(HAVE_IMLIB2, [], [Imlib2 support])
Samuel> +- IMLIB2_LIBS=`imlib2-config --libs`
Samuel> +- IMLIB2_CFLAGS=`imlib2-config --cflags`
Samuel> ++ IMLIB2_LIBS=`$IMLIB2_CONFIG --libs`
Samuel> ++ IMLIB2_CFLAGS=`$IMLIB2_CONFIG --cflags`
Samuel> + LIBS="$LIBS $IMLIB2_LIBS"
Samuel> + CXXFLAGS="$CXXFLAGS $IMLIB2_CFLAGS"
Samuel> + ], [ AC_MSG_RESULT(no)]
Samuel> diff --git a/package/fluxbox/fluxbox.mk b/package/fluxbox/fluxbox.mk
Samuel> index 15136c9..bb34379 100644
Samuel> --- a/package/fluxbox/fluxbox.mk
Samuel> +++ b/package/fluxbox/fluxbox.mk
Samuel> @@ -7,11 +7,12 @@
Samuel> FLUXBOX_VERSION = 1.3.2
Samuel> FLUXBOX_SOURCE = fluxbox-$(FLUXBOX_VERSION).tar.bz2
Samuel> FLUXBOX_SITE = http://downloads.sourceforge.net/project/fluxbox/fluxbox/$(FLUXBOX_VERSION)
Samuel> -
Samuel> +FLUXBOX_AUTORECONF = YES
Samuel> FLUXBOX_CONF_OPT = --x-includes=$(STAGING_DIR)/usr/include/X11 \
Samuel> - --x-libraries=$(STAGING_DIR)/usr/lib
Samuel> + --x-libraries=$(STAGING_DIR)/usr/lib \
Samuel> + --with-imlib2-prefix=$(STAGING_DIR)/usr
Samuel> -FLUXBOX_DEPENDENCIES = xlib_libX11 $(if $(BR2_PACKAGE_LIBICONV),libiconv)
Samuel> +FLUXBOX_DEPENDENCIES = imlib2 xlib_libX11 $(if $(BR2_PACKAGE_LIBICONV),libiconv)
Samuel> define FLUXBOX_INSTALL_XSESSION_FILE
Samuel> [ -f $(TARGET_DIR)/root/.xsession ] || $(INSTALL) -m 0755 -D \
Samuel> --
Samuel> 1.8.0
Samuel> _______________________________________________
Samuel> buildroot mailing list
Samuel> buildroot at busybox.net
Samuel> http://lists.busybox.net/mailman/listinfo/buildroot
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2012-11-23 9:14 UTC|newest]
Thread overview: 82+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-22 0:17 [Buildroot] [PATCH 00/33] Pull request for 2012.11/bug-fixes Samuel Martin
2012-11-22 0:17 ` [Buildroot] [PATCH 01/33] libecore: fix build with glibc >=2.16 Samuel Martin
2012-11-23 9:00 ` Peter Korsgaard
2012-11-22 0:17 ` [Buildroot] [PATCH 02/33] libpcap: add pcap.pc file Samuel Martin
2012-11-22 10:09 ` Thomas Petazzoni
2012-11-22 10:39 ` Samuel Martin
2012-11-22 0:17 ` [Buildroot] [PATCH 03/33] tcpdump: use 'pkg-config pcap' instead of pcap-config Samuel Martin
2012-11-22 10:10 ` Thomas Petazzoni
2012-11-22 10:46 ` Samuel Martin
2012-11-22 0:17 ` [Buildroot] [PATCH 04/33] igh-ethercat: disable drivers build with kernel 3.6 Samuel Martin
2012-11-22 10:12 ` Thomas Petazzoni
2012-11-22 11:07 ` Samuel Martin
2012-11-22 0:17 ` [Buildroot] [PATCH 05/33] imagemagick: explicitly disable c++ support if no c++ compiler available Samuel Martin
2012-11-23 9:09 ` Peter Korsgaard
2012-11-22 0:17 ` [Buildroot] [PATCH 06/33] sylpheed: fix build disabling gpgme support Samuel Martin
2012-11-23 9:10 ` Peter Korsgaard
2013-05-06 8:01 ` Peter Korsgaard
2013-05-06 10:02 ` Samuel Martin
2012-11-22 0:17 ` [Buildroot] [PATCH 07/33] fluxbox: fix build against imlib2 Samuel Martin
2012-11-23 9:14 ` Peter Korsgaard [this message]
2012-12-09 18:14 ` Samuel Martin
2012-11-22 0:17 ` [Buildroot] [PATCH 08/33] owl-linux: update help text about linux kernel dependencies Samuel Martin
2012-11-30 15:45 ` Peter Korsgaard
2012-11-22 0:17 ` [Buildroot] [PATCH 09/33] linux-fusion: fix build Samuel Martin
2012-11-29 12:38 ` Simon Dawson
2012-11-30 0:34 ` Peter Korsgaard
2012-11-22 0:18 ` [Buildroot] [PATCH 10/33] ltp-testsuite: add warning about bessel function support if uclibc toolchain Samuel Martin
2013-03-04 9:30 ` Peter Korsgaard
2012-11-22 0:18 ` [Buildroot] [PATCH 11/33] ltp-testsuite: fix build on uClibc exp10 Samuel Martin
2013-03-04 9:29 ` Peter Korsgaard
2012-11-22 0:18 ` [Buildroot] [PATCH 12/33] sconeserver: fix configure.in Samuel Martin
2012-11-22 0:18 ` [Buildroot] [PATCH 13/33] sconeserver: fix imagemagick dependency Samuel Martin
2012-11-22 0:18 ` [Buildroot] [PATCH 14/33] dependencies: build a host python2 if no suitable one can be found Samuel Martin
2012-11-22 0:18 ` [Buildroot] [PATCH 15/33] scons: force to use python2 on the host Samuel Martin
2012-11-22 0:18 ` [Buildroot] [PATCH 16/33] libmad: do not install mad.pc on the target Samuel Martin
2012-11-22 0:18 ` [Buildroot] [PATCH 17/33] matchbox packages: fix broken urls Samuel Martin
2012-11-30 15:43 ` Peter Korsgaard
2012-11-30 19:57 ` Samuel Martin
2012-11-30 20:16 ` Peter Korsgaard
2012-11-30 20:38 ` [Buildroot] [PATCH] " Samuel Martin
2012-11-30 21:09 ` Peter Korsgaard
2012-11-22 0:18 ` [Buildroot] [PATCH 18/33] linux-fusion: bump to version 8.10.4 Samuel Martin
2012-11-29 12:38 ` Simon Dawson
2012-11-30 15:24 ` Peter Korsgaard
2012-11-22 0:18 ` [Buildroot] [PATCH 19/33] python2: bump to 2.7.3 Samuel Martin
2012-11-22 10:16 ` Thomas Petazzoni
2012-11-22 10:47 ` Samuel Martin
2012-11-22 10:52 ` Thomas Petazzoni
2012-11-22 0:18 ` [Buildroot] [PATCH 20/33] pkg-download.mk: add tarball check in the wget method Samuel Martin
2012-11-22 0:18 ` [Buildroot] [PATCH 21/33] rrdtool: add python binding support Samuel Martin
2013-01-15 21:57 ` Peter Korsgaard
2013-01-15 22:17 ` Samuel Martin
2012-11-22 0:18 ` [Buildroot] [PATCH 22/33] libmad: add license info Samuel Martin
2012-11-24 23:08 ` Arnout Vandecappelle
2012-11-30 15:29 ` Peter Korsgaard
2012-11-22 0:18 ` [Buildroot] [PATCH 23/33] scons: " Samuel Martin
2012-11-24 23:06 ` Arnout Vandecappelle
2012-11-30 15:32 ` Peter Korsgaard
2012-11-22 0:18 ` [Buildroot] [PATCH 24/33] efl packages: " Samuel Martin
2012-11-24 23:04 ` Arnout Vandecappelle
2012-11-22 0:18 ` [Buildroot] [PATCH 25/33] fluxbox: " Samuel Martin
2012-11-24 20:48 ` Arnout Vandecappelle
2012-11-22 0:18 ` [Buildroot] [PATCH 26/33] igh-ethercat: " Samuel Martin
2012-11-24 20:46 ` Arnout Vandecappelle
2012-11-22 0:18 ` [Buildroot] [PATCH 27/33] imagemagick: " Samuel Martin
2012-11-24 20:42 ` Arnout Vandecappelle
2012-11-30 15:34 ` Peter Korsgaard
2012-11-22 0:18 ` [Buildroot] [PATCH 28/33] imlib2: " Samuel Martin
2012-11-24 20:29 ` Arnout Vandecappelle
2012-11-22 0:18 ` [Buildroot] [PATCH 29/33] ltp-testsuite: " Samuel Martin
2012-11-24 20:41 ` Arnout Vandecappelle
2013-01-15 22:18 ` Peter Korsgaard
2012-11-22 0:18 ` [Buildroot] [PATCH 30/33] matchbox packages: " Samuel Martin
2012-11-24 20:37 ` Arnout Vandecappelle
2012-11-22 0:18 ` [Buildroot] [PATCH 31/33] owl-linux: " Samuel Martin
2012-11-24 20:20 ` Arnout Vandecappelle
2012-11-22 0:18 ` [Buildroot] [PATCH 32/33] rrdtool: " Samuel Martin
2012-11-22 5:17 ` Baruch Siach
2012-11-22 10:07 ` Samuel Martin
2012-11-24 20:09 ` Arnout Vandecappelle
2012-11-22 0:18 ` [Buildroot] [PATCH 33/33] sylpheed: " Samuel Martin
2012-11-24 23:15 ` Arnout Vandecappelle
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=878v9sfzpg.fsf@dell.be.48ers.dk \
--to=jacmet@uclibc.org \
--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