From patchwork Wed Jun 17 17:28:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 1311364 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.a=rsa-sha256 header.s=google header.b=hms5QwD7; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49nBrS2bg0z9sT2 for ; Thu, 18 Jun 2020 03:29:12 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 2EEE421537; Wed, 17 Jun 2020 17:29:07 +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 zA8p5clEn5FM; Wed, 17 Jun 2020 17:29:04 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id B91FA214E6; Wed, 17 Jun 2020 17:29:04 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 8DCBD1BF278 for ; Wed, 17 Jun 2020 17:29:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 8A58887629 for ; Wed, 17 Jun 2020 17:29:02 +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 UraRUjM0P_MW for ; Wed, 17 Jun 2020 17:29:02 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 043448741F for ; Wed, 17 Jun 2020 17:29:01 +0000 (UTC) Received: by mail-wm1-f66.google.com with SMTP id r9so2653508wmh.2 for ; Wed, 17 Jun 2020 10:29:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lqZpQBar7L4AuGJXi3GgkM/ZZxmbF/zaghsHWwiTDn8=; b=hms5QwD7LRXtRZpM4FftZZBq78ccSYqqcgdlpYQI3VJM8VssCBcwModx0FQvSNFkbQ 7jYuUak1zLmpM1Y19/nFgMQ1HaYpYGreW4bh8AMAAlVrG69f5vgLcN4SfKNRPCqy1X9j BX/KUxWgFTWJ+DvCc5vdbo55REVDIzj/TOaUk= 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:mime-version:content-transfer-encoding; bh=lqZpQBar7L4AuGJXi3GgkM/ZZxmbF/zaghsHWwiTDn8=; b=suE5ECJSHSLNxHMnGXZ2FvpPuh3KA/5HxPOhrv0dRx9IGhYt3E7Vak3TOqM9P0xmdQ b//Bt2QGF3QR+5EU8zeuu8sScnnVMiU8btSHCMN/UWGVQz9BQ9QBy+NVXf1Fiz7J0Hrr UziBjtnwAPK27Gh3bT/PHLhX+YN2WupFNbaXPdUgbL/mn9AVcNNE99jUu+4ywYvviVcE rkZr3DiGsIqdZ8JWl5nUUTIohP2FS5fPWoOnnhNgrpeB5ZFBing8YkKF1BWL/LGEXWuY tkp/pHJlltNO7fA3njnelZ7wyM80ECBbBOGeWDITfLP7pRgDzcHyuPnCtAXJrOwz+acG eBrA== X-Gm-Message-State: AOAM531Vjr0F1zwEUHTWEkdjfotyFbQJRUNysMTAvoUF23k+uZl5wEND QlBTapzCqxQA0BXfU2tAbPmM4l0LqmW9sA== X-Google-Smtp-Source: ABdhPJxWZjRuGku0g0tp8yz5xUYWeAbz2nU4XCV6oeCXl3SEQf8iFDdCc1/ccgoCWbwvxtW9iJDDZg== X-Received: by 2002:a7b:c08f:: with SMTP id r15mr9456611wmh.6.1592414939152; Wed, 17 Jun 2020 10:28:59 -0700 (PDT) Received: from localhost.localdomain (host194055151123.static.fidoka.tech. [194.55.151.123]) by smtp.gmail.com with ESMTPSA id n189sm406305wmb.43.2020.06.17.10.28.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jun 2020 10:28:58 -0700 (PDT) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Wed, 17 Jun 2020 19:28:47 +0200 Message-Id: <20200617172848.2601-6-angelo@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200617172848.2601-1-angelo@amarulasolutions.com> References: <20200617172848.2601-1-angelo@amarulasolutions.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 5/6] package/cups: adding python support X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Trimarchi , Angelo Compagnucci Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Enables python support if python is available. Signed-off-by: Michael Trimarchi Signed-off-by: Angelo Compagnucci --- package/cups/cups.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/cups/cups.mk b/package/cups/cups.mk index d4356682bf..c75a618941 100644 --- a/package/cups/cups.mk +++ b/package/cups/cups.mk @@ -72,6 +72,13 @@ else CUPS_CONF_OPTS += --disable-avahi endif +ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y) +CUPS_CONF_OPTS += --with-python +CUPS_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON),python,python3) +else +CUPS_CONF_OPTS += --without-python +endif + ifeq ($(BR2_PACKAGE_HAS_UDEV),y) define CUPS_INSTALL_UDEV_RULES $(INSTALL) -D -m 0644 package/cups/70-usb-printers.rules \