From patchwork Sun Jan 18 16:36:52 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 430228 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 15C1C140216 for ; Mon, 19 Jan 2015 03:37:11 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 1D8B194D44; Sun, 18 Jan 2015 16:37:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FvWvR4-DGs1b; Sun, 18 Jan 2015 16:37:08 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 4AA3B94B55; Sun, 18 Jan 2015 16:37:08 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 87B511C1F9B for ; Sun, 18 Jan 2015 16:37:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 838CD332D9 for ; Sun, 18 Jan 2015 16:37:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rhnFK5QjMA3V for ; Sun, 18 Jan 2015 16:37:05 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout06.t-online.de (mailout06.t-online.de [194.25.134.19]) by silver.osuosl.org (Postfix) with ESMTPS id C44CE332D2 for ; Sun, 18 Jan 2015 16:37:04 +0000 (UTC) Received: from fwd14.aul.t-online.de (fwd14.aul.t-online.de [172.20.26.242]) by mailout06.t-online.de (Postfix) with SMTP id B394F58191 for ; Sun, 18 Jan 2015 17:37:01 +0100 (CET) Received: from fli4l.lan.fli4l (r1UeGQZH8hAFobqS7BVzJnrxWcAXKwG4rAOwWm9iUZzIOkihwTFZCwdtvfHKM+nQoN@[79.247.137.37]) by fwd14.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1YCsqO-0FbO3U0; Sun, 18 Jan 2015 17:36:56 +0100 Received: from fli4lbuild64.lan.fli4l ([192.168.1.51]:48430) by fli4l.lan.fli4l with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.85) (envelope-from ) id 1YCsqM-00030L-V5; Sun, 18 Jan 2015 17:36:55 +0100 From: Bernd Kuhls To: buildroot@buildroot.org Date: Sun, 18 Jan 2015 17:36:52 +0100 Message-Id: <1421599012-21491-1-git-send-email-bernd.kuhls@t-online.de> X-Mailer: git-send-email 1.7.10.4 X-ID: r1UeGQZH8hAFobqS7BVzJnrxWcAXKwG4rAOwWm9iUZzIOkihwTFZCwdtvfHKM+nQoN X-TOI-MSGID: f056e8e0-97b2-4bfd-81a1-0ab76468d81c Cc: Bernd Kuhls Subject: [Buildroot] [PATCH 1/1] package/tiff: Add utilities submenu and more utility options X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Bernd Kuhls --- 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