[gnome-boxes] configure option to disable logos
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] configure option to disable logos
- Date: Mon, 5 Mar 2012 23:33:31 +0000 (UTC)
commit b15944cdb01b3007ed4148cce8192332c64d0baf
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Mon Mar 5 22:25:27 2012 +0200
configure option to disable logos
Provide a configure option to disable installation and build of non-free
logos.
https://bugzilla.gnome.org/show_bug.cgi?id=671253
configure.ac | 8 ++++++++
data/icons/Makefile.am | 15 +++++++++++----
2 files changed, 19 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 1eaa849..fcf0b9c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -94,6 +94,14 @@ AC_ARG_ENABLE([strict-cc],
AS_IF([test "x$enable_strict_cc" = "xyes"], [CFLAGS="$CFLAGS -Wall -Werror"],
[CFLAGS="$CFLAGS -w"])
+dnl Distribute logos?
+AC_ARG_ENABLE([logos],
+ AS_HELP_STRING([--enable-logos],
+ [Enable distribution of non-free logos]),
+ [enable_logos=$enableval],
+ [enable_logos=yes])
+AM_CONDITIONAL(ENABLE_LOGOS, test "x$enable_logos" != "xno")
+
AC_CONFIG_FILES([
Makefile
data/Makefile
diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am
index 2914f9f..0da1412 100644
--- a/data/icons/Makefile.am
+++ b/data/icons/Makefile.am
@@ -23,14 +23,21 @@ assets_DATA = \
boxes-gray.png \
$(NULL)
+if ENABLE_LOGOS
+LOGOS = debianbuzz.svg \
+ fedora1.svg \
+ opensuse102.svg \
+ ubuntuhardy.svg \
+ $(NULL)
+else
+LOGOS =
+endif
+
imagesdir = $(datadir)/gnome-boxes/pixmaps
images_DATA = \
boxes-create.png \
boxes-grid.png \
- debianbuzz.svg \
- fedora1.svg \
- opensuse102.svg \
- ubuntuhardy.svg \
+ $(LOGOS) \
$(NULL)
EXTRA_DIST = \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]