From patchwork Fri Jun 19 14:57:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 1313016 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=Pl9SyiBL; 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 49pMP22q92z9sf9 for ; Sat, 20 Jun 2020 00:57:57 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id EB15D2544B; Fri, 19 Jun 2020 14:57:55 +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 CPwHYxxURM83; Fri, 19 Jun 2020 14:57:54 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 019B720447; Fri, 19 Jun 2020 14:57:54 +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 4D6A61BF860 for ; Fri, 19 Jun 2020 14:57:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 49BAE2283C for ; Fri, 19 Jun 2020 14:57:33 +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 YZjRjEEjhPLc for ; Fri, 19 Jun 2020 14:57:32 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) by silver.osuosl.org (Postfix) with ESMTPS id 891382040E for ; Fri, 19 Jun 2020 14:57:32 +0000 (UTC) Received: by mail-wm1-f68.google.com with SMTP id g10so8701242wmh.4 for ; Fri, 19 Jun 2020 07:57:32 -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=7wPp2oshIKzivKmLjWGovn91xf7tM0zL/tRABus5wEM=; b=Pl9SyiBLcEmoVorcM/i0fJTsMkbd+uxdgugx470Qv3qcL3ilMVQ2lReNd50UMEr5GP l8WjuFAFAR8slLSNs68qvtsCdWSCf6mUijRPxG7yckTvlxcoMfcQcV87Iavu9hvz+6mo tPPgzldZ2q35nCtS73QpYZfoLM3jXbWINguLw= 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=7wPp2oshIKzivKmLjWGovn91xf7tM0zL/tRABus5wEM=; b=W0MeF5M/2PLqd1IK+L9KB2m1qK9tNSLG2B7FShkzUWRaaqAdDTDNrBck9B/N4/eT2h vBpdRSaf5wWyx/XzTQbrZNIriXaEzaZjgZk8aDWpWbC9jtPlH+i0HQbqs8y3XoKMdr0e szAuuva4qnEEAcCNbct7wg1o/HScMZW53zypU+sAo3p5eTRYHPakJw378UbXr4SJ3pFG dATLGLPhxyuybr0eNrrzD6fNH/8XiX6XY28ap2M/e/x726ylYSWbsNPDjPuhRvSnxhoh 9Y7Y/Sezpdj9kb9D8hWliHcwJ/nHlA7deJkghgzRXMJOn4xol3e9ljFYaVaGhv8RlJuJ elIA== X-Gm-Message-State: AOAM533mAGniW83E+dUmR9QQJi5W5Fm1B8GR4OWCYtrfseW6qUNhI9TN 8kknVhet7bLkyXXIZY4VugCPPzqVHn5IxA== X-Google-Smtp-Source: ABdhPJz+H3fOcbjFk23lhjTerajARVfLleNohBCoZAZRYtlmC9Uuq7mBC5Aj9cNC5YknIVwhoGYl2A== X-Received: by 2002:a1c:7414:: with SMTP id p20mr4116608wmc.124.1592578650479; Fri, 19 Jun 2020 07:57:30 -0700 (PDT) Received: from localhost.localdomain (host194055151123.static.fidoka.tech. [194.55.151.123]) by smtp.gmail.com with ESMTPSA id a16sm7302165wrx.8.2020.06.19.07.57.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jun 2020 07:57:29 -0700 (PDT) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Fri, 19 Jun 2020 16:57:18 +0200 Message-Id: <20200619145719.2352019-7-angelo@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200619145719.2352019-1-angelo@amarulasolutions.com> References: <20200619145719.2352019-1-angelo@amarulasolutions.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 6/7] 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 617b402969..67690b61c4 100644 --- a/package/cups/cups.mk +++ b/package/cups/cups.mk @@ -75,6 +75,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 \