From patchwork Wed Jun 24 20:43: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: 1316577 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.133; helo=hemlock.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=THxDEYJk; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49sZrG25fJz9sRW for ; Thu, 25 Jun 2020 06:44:14 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id D22FD8840C; Wed, 24 Jun 2020 20:44:12 +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 nhstXcpm7eod; Wed, 24 Jun 2020 20:44:12 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 3542288412; Wed, 24 Jun 2020 20:44:12 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id A846C1BF2AA for ; Wed, 24 Jun 2020 20:44:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id A475F860CE for ; Wed, 24 Jun 2020 20:44:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q8dG4LxjbTOc for ; Wed, 24 Jun 2020 20:44:07 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by whitealder.osuosl.org (Postfix) with ESMTPS id B6F4A875EE for ; Wed, 24 Jun 2020 20:44:06 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id z13so3604049wrw.5 for ; Wed, 24 Jun 2020 13:44:06 -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=ujdK1ypQOH80lzYvf4iySVTIgd3KAwgdiFwNjHfxdhc=; b=THxDEYJkKKKHnXsqW9MxIlBGbu1K8O0SVPjocL5wX3zqfxA0hVJjN1h5TKvyQERybg lSB4rfAPX7GmWyyEcGcCT32uvQwzkldZfEjga+epoO/myaZr+fZ9LN0oGocO5DTyEN7z rnKPOgjJI0G/CzWYro2zAU33GuRJK1mvym6UE= 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=ujdK1ypQOH80lzYvf4iySVTIgd3KAwgdiFwNjHfxdhc=; b=Kf1Z4Er8dcUnAH7op89qtTFYb0Ytya7bPglmTyMSuVSmJjy9XHurES/zilg7DcrdkQ bLfyzPa8Kwpz99gtSLZOM4rvfxhxKlBMZ1HHrYCAc6mVsgGfNoeb2oMP1PCtIrs+Fmqj npfR1cs5dGrJWKh6eW2rJDhli+v/5TGb7khoWSyhMcoXua65xsSC9TLjf+lUEBGXFgXg YOa3tItxm35GI4GLJBakqhxPA/KnE1OG5t3iSN4mLwr9sHqkj02v01eqt1P2CC7UQ1V1 7n0vNehAQZ5CPz1ofFH3bwwcVNS3YPMOV6YjUe5VNnFABiCYt6E+updMNX+2R/aLRrF2 WxSw== X-Gm-Message-State: AOAM533jn304vGx4ROhe9B13NY+mE3Xtx5JsYRx2erVQJKvc7L4xz87v idgk+aKNidig7WUW9f3GW6A0IFNjzoAdQQ== X-Google-Smtp-Source: ABdhPJyhOhvxGymvkc6uoVpFv5K+tKxhCS9Lrrvs8SmA1oypGGoRfK+TZ74AEMlyhxVlI0zQlpfW+A== X-Received: by 2002:adf:e5d0:: with SMTP id a16mr16115862wrn.48.1593031444749; Wed, 24 Jun 2020 13:44:04 -0700 (PDT) Received: from localhost.localdomain (host194055151123.static.fidoka.tech. [194.55.151.123]) by smtp.gmail.com with ESMTPSA id 11sm9643996wmg.41.2020.06.24.13.44.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jun 2020 13:44:04 -0700 (PDT) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Wed, 24 Jun 2020 22:43:47 +0200 Message-Id: <20200624204347.797088-8-angelo@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200624204347.797088-1-angelo@amarulasolutions.com> References: <20200624204347.797088-1-angelo@amarulasolutions.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v3 7/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: Angelo Compagnucci Signed-off-by: Michael Trimarchi --- package/cups/cups.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/cups/cups.mk b/package/cups/cups.mk index 805a80e854..67baaf82f9 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 \