From patchwork Tue Mar 14 18:44:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gilles Talis X-Patchwork-Id: 738880 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3vjNvG0d8Qz9s1h for ; Wed, 15 Mar 2017 05:44:42 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="DMqlhqfX"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 94966889AD; Tue, 14 Mar 2017 18:44:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oUV93A9I2Ldu; Tue, 14 Mar 2017 18:44:37 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 8B69188917; Tue, 14 Mar 2017 18:44:37 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 365021BFCC3 for ; Tue, 14 Mar 2017 18:44:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 3442430C6C for ; Tue, 14 Mar 2017 18:44:36 +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 FY1AIMcqpO12 for ; Tue, 14 Mar 2017 18:44:34 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) by silver.osuosl.org (Postfix) with ESMTPS id C927D30C68 for ; Tue, 14 Mar 2017 18:44:33 +0000 (UTC) Received: by mail-wr0-f196.google.com with SMTP id u108so25003717wrb.2 for ; Tue, 14 Mar 2017 11:44:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=fGYfrHRrZ7y9N0tJWkPV0/+lZkXtgUah0q+WJONm8N4=; b=DMqlhqfXUpcl8ktRZQLMKu3rwhL4p0nWC19/6rn6SzsfhsjXOo72Ch0ou1qNzhuqs9 1uIswqmUZi+HGGxllGUAtvjCP7/lyBL+qcZCP1JgpjEjEU37tO8c9RlsQMcLZu2iwqdc wvwW1SgVaRVk+g6/PjxR09rlVZAgNnAv/PeTJrrvZzenaYFWbr47UY1nXhkopMfuiSvq ZNpISfgL88FtOiGV5+gEWZyPP6kFCGnKMvW4wtHyvv9bMCyoyEJ4li/vXOjp1lJzeZfj aZxEmzDdaYWwy22ltayfL2HwL51O3iz3h/8r81/p+/ktESnLl6lwdg4DM74cn3IWzYa4 lylA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=fGYfrHRrZ7y9N0tJWkPV0/+lZkXtgUah0q+WJONm8N4=; b=ZzP2xTrpKtJcOxqSQaDsZ6ZoEXSK1/k/AbIUSA6wPqX1HnAfgvbfajYO/vJWry4b6P QKCnRTifLzhcztFrqOkTX+W1xiD8C3d4qYi0KtPgh44pPO1hibEp7ibU56Fdw2CCvjOz oXt+9gjD6e9gDvohQ7xGDGTa60X69xdXfUZ2Fy42ZWvzUdgtfN8aDw0ebbpFvL2Ac0sj AaYouVz8S1+NJ29Q8WYYqP6HWQbQ3Cam/TOXl33zQU4wrSFDaW/29JX8mzmZ+V5IFtd+ cr3tw5eKYdzOfB1WU0FouUAahrNzVuixJ8jWIt5Lxt5V0nkBEyVOcMf6wyWrM0zNHI5e h80A== X-Gm-Message-State: AMke39ndK9c+o0lTE9GR364UEB6bY3dGIW1b3DGmNagJ48gcXa1sCErXQz+4gwQLoqTJ9g== X-Received: by 10.223.160.143 with SMTP id m15mr37974038wrm.116.1489517072109; Tue, 14 Mar 2017 11:44:32 -0700 (PDT) Received: from localhost.localdomain (vll06-4-78-208-168-137.fbx.proxad.net. [78.208.168.137]) by smtp.gmail.com with ESMTPSA id t195sm16447343wmt.32.2017.03.14.11.44.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 14 Mar 2017 11:44:31 -0700 (PDT) From: Gilles Talis To: buildroot@buildroot.org Date: Tue, 14 Mar 2017 19:44:25 +0100 Message-Id: <1489517067-3155-2-git-send-email-gilles.talis@gmail.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1489517067-3155-1-git-send-email-gilles.talis@gmail.com> References: <1489517067-3155-1-git-send-email-gilles.talis@gmail.com> Subject: [Buildroot] [PATCH 1/3] leptonica: new package 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: Gilles Talis --- package/Config.in | 1 + package/leptonica/Config.in | 9 +++++++ package/leptonica/leptonica.hash | 2 ++ package/leptonica/leptonica.mk | 57 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 69 insertions(+) create mode 100644 package/leptonica/Config.in create mode 100644 package/leptonica/leptonica.hash create mode 100644 package/leptonica/leptonica.mk diff --git a/package/Config.in b/package/Config.in index 85e4dee..390560e 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1008,6 +1008,7 @@ menu "Graphics" source "package/jpeg/Config.in" source "package/kmsxx/Config.in" source "package/lcms2/Config.in" + source "package/leptonica/Config.in" source "package/lesstif/Config.in" source "package/libart/Config.in" source "package/libdmtx/Config.in" diff --git a/package/leptonica/Config.in b/package/leptonica/Config.in new file mode 100644 index 0000000..d485344 --- /dev/null +++ b/package/leptonica/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_LEPTONICA + bool "leptonica" + + help + Leptonica is a pedagogically-oriented open source site containing + software that is broadly useful for image processing and image + analysis applications. + + http://www.leptonica.org/ diff --git a/package/leptonica/leptonica.hash b/package/leptonica/leptonica.hash new file mode 100644 index 0000000..48da06b --- /dev/null +++ b/package/leptonica/leptonica.hash @@ -0,0 +1,2 @@ +# locally computed hash +sha256 746a517a47a3bd2a90bc8d581ca6464c10f30e91a60209735efe45b3778bec62 leptonica-1.74.1.tar.gz diff --git a/package/leptonica/leptonica.mk b/package/leptonica/leptonica.mk new file mode 100644 index 0000000..5f2da79 --- /dev/null +++ b/package/leptonica/leptonica.mk @@ -0,0 +1,57 @@ +################################################################################ +# +# leptonica +# +################################################################################ + +LEPTONICA_VERSION = 1.74.1 +LEPTONICA_SITE = http://www.leptonica.org/source +LEPTONICA_LICENSE = BSD-2c +LEPTONICA_LICENSE_FILES = leptonica-license.txt +LEPTONICA_INSTALL_STAGING = YES + +LEPTONICA_CONF_OPTS += --disable-programs + +ifeq ($(BR2_PACKAGE_GIFLIB),y) +LEPTONICA_DEPENDENCIES += giflib +else +LEPTONICA_CONF_OPTS += --without-giflib +endif + +ifeq ($(BR2_PACKAGE_JPEG),y) +LEPTONICA_DEPENDENCIES += jpeg +else +LEPTONICA_CONF_OPTS += --without-jpeg +endif + +ifeq ($(BR2_PACKAGE_LIBPNG),y) +LEPTONICA_DEPENDENCIES += libpng +else +LEPTONICA_CONF_OPTS += --without-libpng +endif + +ifeq ($(BR2_PACKAGE_OPENJPEG),y) +LEPTONICA_DEPENDENCIES += openjpeg +else +LEPTONICA_CONF_OPTS += --without-libopenjpeg +endif + +ifeq ($(BR2_PACKAGE_TIFF),y) +LEPTONICA_DEPENDENCIES += tiff +else +LEPTONICA_CONF_OPTS += --without-libtiff +endif + +ifeq ($(BR2_PACKAGE_WEBP),y) +LEPTONICA_DEPENDENCIES += webp +else +LEPTONICA_CONF_OPTS += --without-libwebp +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +LEPTONICA_DEPENDENCIES += zlib +else +LEPTONICA_CONF_OPTS += --without-zlib +endif + +$(eval $(autotools-package))