All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 09/10] libgtk2: add option to install the gtk-demo program
Date: Wed, 18 May 2011 12:08:27 +0200	[thread overview]
Message-ID: <d9451fbf4cec2d4a7533fb4dd0fa5853b61e93f0.1305713253.git.thomas.petazzoni@free-electrons.com> (raw)
In-Reply-To: <cover.1305713253.git.thomas.petazzoni@free-electrons.com>

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/libgtk2/Config.in  |    7 +++++++
 package/libgtk2/libgtk2.mk |    2 ++
 2 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/package/libgtk2/Config.in b/package/libgtk2/Config.in
index 38b0b47..b5c42ef 100644
--- a/package/libgtk2/Config.in
+++ b/package/libgtk2/Config.in
@@ -16,5 +16,12 @@ config BR2_PACKAGE_LIBGTK2
 
 	  http://www.gtk.org/
 
+config BR2_PACKAGE_LIBGTK2_DEMO
+        bool "Install libgtk2 demo program"
+	depends on BR2_PACKAGE_LIBGTK2
+	help
+	  The GTK+ source base contains a gtk-demo program. This
+	  option allows to install this program to the target.
+
 comment "libgtk2 requires a toolchain with WCHAR and C++ support"
 	depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP
diff --git a/package/libgtk2/libgtk2.mk b/package/libgtk2/libgtk2.mk
index 3586c86..169ef97 100644
--- a/package/libgtk2/libgtk2.mk
+++ b/package/libgtk2/libgtk2.mk
@@ -114,11 +114,13 @@ else
 LIBGTK2_CONF_OPT += --disable-cups
 endif
 
+ifeq ($(BR2_PACKAGE_LIBGTK2_DEMO),)
 define LIBGTK2_POST_INSTALL_TWEAKS
 	rm -rf $(TARGET_DIR)/usr/share/gtk-2.0/demo $(TARGET_DIR)/usr/bin/gtk-demo
 endef
 
 LIBGTK2_POST_INSTALL_TARGET_HOOKS += LIBGTK2_POST_INSTALL_TWEAKS
+endif
 
 # We do not build a full version of libgtk2 for the host, because that
 # requires compiling Cairo, Pango, ATK and X.org for the
-- 
1.7.1

  parent reply	other threads:[~2011-05-18 10:08 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-18 10:08 [Buildroot] [pull request] Pull request for branch for-2011.05/package-cleanups Thomas Petazzoni
2011-05-18 10:08 ` [Buildroot] [PATCH 01/10] festival: remove packages Thomas Petazzoni
2011-05-18 10:08 ` [Buildroot] [PATCH 02/10] dhcpdump: move as a proper package, bump version Thomas Petazzoni
2011-05-18 15:33   ` Peter Korsgaard
2011-05-18 16:00     ` Thomas Petazzoni
2011-05-18 18:04       ` Peter Korsgaard
2011-05-18 10:08 ` [Buildroot] [PATCH 03/10] sudo: bump and convert to AUTOTARGETS Thomas Petazzoni
2011-05-18 10:08 ` [Buildroot] [PATCH 04/10] atk: bump to 1.33.6 Thomas Petazzoni
2011-05-18 10:08 ` [Buildroot] [PATCH 05/10] libglib2: bump to 2.28.6 Thomas Petazzoni
2011-05-18 10:08 ` [Buildroot] [PATCH 06/10] pango: bump to 1.28.4 Thomas Petazzoni
2011-05-18 10:08 ` [Buildroot] [PATCH 07/10] libgtk2: bump to 2.24.4 Thomas Petazzoni
2011-05-18 10:08 ` [Buildroot] [PATCH 08/10] libgtk2: change download site Thomas Petazzoni
2011-05-18 10:08 ` Thomas Petazzoni [this message]
2011-05-18 15:37   ` [Buildroot] [PATCH 09/10] libgtk2: add option to install the gtk-demo program Peter Korsgaard
2011-05-18 10:08 ` [Buildroot] [PATCH 10/10] gtk2-engines: bump, rename config option and convert to AUTOTARGETS Thomas Petazzoni

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=d9451fbf4cec2d4a7533fb4dd0fa5853b61e93f0.1305713253.git.thomas.petazzoni@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --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 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.