All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bernd Kuhls <bernd.kuhls@t-online.de>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/tiff: Add utilities submenu and more utility options
Date: Sun, 18 Jan 2015 17:36:52 +0100	[thread overview]
Message-ID: <1421599012-21491-1-git-send-email-bernd.kuhls@t-online.de> (raw)


Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/tiff/Config.in |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 package/tiff/tiff.mk   |   36 +++++++++++++++++++++++++++---------
 2 files changed, 75 insertions(+), 9 deletions(-)

diff --git a/package/tiff/Config.in b/package/tiff/Config.in
index 3a929f7..4b0e7db 100644
--- a/package/tiff/Config.in
+++ b/package/tiff/Config.in
@@ -60,14 +60,62 @@ config BR2_PACKAGE_TIFF_JBIG
 	default y
 endmenu
 
+menu "tiff Utilities"
+
+config BR2_PACKAGE_TIFF_BMP2TIFF
+	bool "bmp2tiff"
+	help
+	  bmp2tiff utility
+
+config BR2_PACKAGE_TIFF_FAX2PS
+	bool "fax2ps"
+	help
+	  fax2ps utility
+
+config BR2_PACKAGE_TIFF_FAX2TIFF
+	bool "fax2tiff"
+	help
+	  fax2tiff utility
+
+config BR2_PACKAGE_TIFF_GIF2TIFF
+	bool "gif2tiff"
+	help
+	  gif2tiff utility
+
+config BR2_PACKAGE_TIFF_PAL2RGB
+	bool "pal2rgb"
+	help
+	  pal2rgb utility
+
+config BR2_PACKAGE_TIFF_PPM2TIFF
+	bool "ppm2tiff"
+	help
+	  ppm2tiff utility
+
+config BR2_PACKAGE_TIFF_RAS2TIFF
+	bool "ras2tiff"
+	help
+	  ras2tiff utility
+
+config BR2_PACKAGE_TIFF_RAW2TIFF
+	bool "raw2tiff"
+	help
+	  raw2tiff utility
+
 config BR2_PACKAGE_TIFF_TIFF2PDF
 	bool "tiff2pdf"
 	help
 	  tiff2pdf utility
 
+config BR2_PACKAGE_TIFF_TIFF2PS
+	bool "tiff2ps"
+	help
+	  tiff2ps utility
+
 config BR2_PACKAGE_TIFF_TIFFCP
 	bool "tiffcp"
 	help
 	  tiffcp utility
+endmenu
 
 endif
diff --git a/package/tiff/tiff.mk b/package/tiff/tiff.mk
index 43f96b7..f801d04 100644
--- a/package/tiff/tiff.mk
+++ b/package/tiff/tiff.mk
@@ -16,18 +16,9 @@ TIFF_CONF_OPTS = \
 TIFF_DEPENDENCIES = host-pkgconf
 
 TIFF_TOOLS_TO_DELETE = \
-	bmp2tiff \
-	fax2ps \
-	fax2tiff \
-	gif2tiff \
-	pal2rgb \
-	ppm2tiff \
-	ras2tiff \
-	raw2tiff \
 	rgb2ycbcr \
 	thumbnail \
 	tiff2bw \
-	tiff2ps \
 	tiff2rgba \
 	tiffcmp \
 	tiffcrop \
@@ -38,9 +29,36 @@ TIFF_TOOLS_TO_DELETE = \
 	tiffset \
 	tiffsplit \
 
+ifeq ($(BR2_PACKAGE_TIFF_BMP2TIFF),)
+	TIFF_TOOLS_TO_DELETE += bmp2tiff
+endif
+ifeq ($(BR2_PACKAGE_TIFF_FAX2PS),)
+	TIFF_TOOLS_TO_DELETE += fax2ps
+endif
+ifeq ($(BR2_PACKAGE_TIFF_FAX2TIFF),)
+	TIFF_TOOLS_TO_DELETE += fax2tiff
+endif
+ifeq ($(BR2_PACKAGE_TIFF_GIF2TIFF),)
+	TIFF_TOOLS_TO_DELETE += gif2tiff
+endif
+ifeq ($(BR2_PACKAGE_TIFF_PAL2RGB),)
+	TIFF_TOOLS_TO_DELETE += pal2rgb
+endif
+ifeq ($(BR2_PACKAGE_TIFF_PPM2TIFF),)
+	TIFF_TOOLS_TO_DELETE += ppm2tiff
+endif
+ifeq ($(BR2_PACKAGE_TIFF_RAS2TIFF),)
+	TIFF_TOOLS_TO_DELETE += ras2tiff
+endif
+ifeq ($(BR2_PACKAGE_TIFF_RAW2TIFF),)
+	TIFF_TOOLS_TO_DELETE += raw2tiff
+endif
 ifeq ($(BR2_PACKAGE_TIFF_TIFF2PDF),)
 	TIFF_TOOLS_TO_DELETE += tiff2pdf
 endif
+ifeq ($(BR2_PACKAGE_TIFF_TIFF2PS),)
+	TIFF_TOOLS_TO_DELETE += tiff2ps
+endif
 ifeq ($(BR2_PACKAGE_TIFF_TIFFCP),)
 	TIFF_TOOLS_TO_DELETE += tiffcp
 endif
-- 
1.7.10.4

             reply	other threads:[~2015-01-18 16:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-18 16:36 Bernd Kuhls [this message]
2015-01-26 22:29 ` [Buildroot] [PATCH 1/1] package/tiff: Add utilities submenu and more utility options 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=1421599012-21491-1-git-send-email-bernd.kuhls@t-online.de \
    --to=bernd.kuhls@t-online.de \
    --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.