From patchwork Thu Mar 9 17:16:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Woerner X-Patchwork-Id: 20676 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0F433C64EC4 for ; Thu, 9 Mar 2023 17:16:33 +0000 (UTC) Received: from mail-yw1-f178.google.com (mail-yw1-f178.google.com [209.85.128.178]) by mx.groups.io with SMTP id smtpd.web11.19810.1678382191579970641 for ; Thu, 09 Mar 2023 09:16:31 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=gkuyN1Wq; spf=pass (domain: gmail.com, ip: 209.85.128.178, mailfrom: twoerner@gmail.com) Received: by mail-yw1-f178.google.com with SMTP id 00721157ae682-536bf92b55cso47084617b3.12 for ; Thu, 09 Mar 2023 09:16:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678382190; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=tmj1ihFBE1bQGIQw99DxTUjszAfhmFFkw3KdppK6AUI=; b=gkuyN1WqcBFkgNJ8nlklutWItjKol1F5mmTmCNrauLWNktAhV3YiQHY8Aw+m1zM9jN lzvYb6YB0AWp89mp9blUvYw2j2fOpuGXOBBr6IpKbJqnEIM2SSfz+9V8kE35MQYJQJWK Zta3QzOLABKoh198Hl/22X72kf2YbGQYwXIDYr6ye4OygyumwMo+B/9Rh4GyHiRgPJCa eGWwB2MoUVnjKJ5bbndZjlnHck4/rv7RPG7Nsno0ugcUl+Rk+z8JGh3DqdKiwsAd6Doz 6QA3mMCwlB1vDbZs+3S2g9tmDpOybUDgJd4UjC84vLo4/JvHouyFQAIB3S39jkw39MSV 6Kxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678382190; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=tmj1ihFBE1bQGIQw99DxTUjszAfhmFFkw3KdppK6AUI=; b=CocjQA5G4DSr7cjnH8OdZ916dS7iaCsezFIpRU4WyWGjC3WuIfsINhourJ78Iw5RLy QA4YbRaiipM8qKGQlMlHup2Os+A44tf8QBWd/V8LfxIDMPAyv2k7X8XOItvoHj/ODRFa 1ar7y4pY+63LPEDLWRc1fN90q1dr310mSDAUxvM6WWFW5Vccqp41pvPyBcHn9lGnjzW2 IS2/Os0MhpeHM+rAFUpHahLMtcdgQcAA1aaoDbHqwmLhpbZ6gH9rX7beHi1xDAuwwitx 6NPp4TXAy9HUXq4woyRHuZKPofXsIAOzwD97FXYUpnxJQ7AzBFgkkp0DlvYi2xJdhXy2 prjg== X-Gm-Message-State: AO0yUKUXFn1bwcHQQovAgZk0CHXQXUeB6Off2coS9R8t/G87Nnh1/NCv h1W5SzWd8OlcvymBr3gy/Frz7WaSvBU= X-Google-Smtp-Source: AK7set9lKnD7RadRhXbqx2X5eS1PUZd+NEDeDYgvfU1GWvdpIDezXwJwNdhxYFhoo8xdW8lkNo8Jfw== X-Received: by 2002:a81:4890:0:b0:533:d31c:255f with SMTP id v138-20020a814890000000b00533d31c255fmr23006240ywa.5.1678382190336; Thu, 09 Mar 2023 09:16:30 -0800 (PST) Received: from localhost.localdomain (pppoe-209-91-167-254.vianet.ca. [209.91.167.254]) by smtp.gmail.com with ESMTPSA id d15-20020a05620a240f00b00742562938cfsm14356602qkn.107.2023.03.09.09.16.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 09:16:29 -0800 (PST) From: Trevor Woerner To: openembedded-devel@lists.openembedded.org Subject: [PATCH 1/2] cups-filters: remove duplicate configure option Date: Thu, 9 Mar 2023 12:16:22 -0500 Message-Id: <20230309171623.28428-1-twoerner@gmail.com> X-Mailer: git-send-email 2.36.0.rc2.17.g4027e30c53 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 09 Mar 2023 17:16:33 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/101459 The '--enable-ghostscript' configure option is specified twice and doesn't need to be. It's simply a boolean; it's not the sort of option whose position is relevant, or an option which modifies its immediate neighbours. Signed-off-by: Trevor Woerner --- meta-oe/recipes-printing/cups/cups-filters_1.28.17.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-printing/cups/cups-filters_1.28.17.bb b/meta-oe/recipes-printing/cups/cups-filters_1.28.17.bb index 22de3d544127..0d3560b9c2ac 100644 --- a/meta-oe/recipes-printing/cups/cups-filters_1.28.17.bb +++ b/meta-oe/recipes-printing/cups/cups-filters_1.28.17.bb @@ -15,7 +15,7 @@ SRC_URI[sha256sum] = "270a3752a960368aa99d431fb5d34f4039b2ac943c576d840612d1d818 inherit autotools-brokensep gettext pkgconfig github-releases -EXTRA_OECONF += " --enable-ghostscript --disable-ldap \ +EXTRA_OECONF += " --disable-ldap \ --with-pdftops=hybrid --enable-imagefilters \ --enable-ghostscript --with-gs-path=${bindir}/gs \ --with-pdftops-path=${bindir}/gs \ From patchwork Thu Mar 9 17:16:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Woerner X-Patchwork-Id: 20677 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id F1648C61DA4 for ; Thu, 9 Mar 2023 17:16:42 +0000 (UTC) Received: from mail-qv1-f51.google.com (mail-qv1-f51.google.com [209.85.219.51]) by mx.groups.io with SMTP id smtpd.web10.19948.1678382192957411240 for ; Thu, 09 Mar 2023 09:16:33 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=G8Lc1Bam; spf=pass (domain: gmail.com, ip: 209.85.219.51, mailfrom: twoerner@gmail.com) Received: by mail-qv1-f51.google.com with SMTP id ev13so1861666qvb.10 for ; Thu, 09 Mar 2023 09:16:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678382191; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=BVrjYEqJpUtJ/xncEbYLSc8WrTtTZi0In8cwHqMYnnA=; b=G8Lc1Bammuv4x7SpmUrwr1/mdUqg2AGx6ezEzpupGb2T5ZXfi3lHZcqEFyq4o4zOsr sxwFloMehlg2W6YlftY4Vdtj9tEU9mFxC9xXIjYvUENWcP3Hrx+5X7fndsgDSr8epiLB ZG42NiqbEG+aeFdjCdcozWrvq7T+cWyiHa3Q498MKlwzb8T+Ps18d0RxQNGwN2F5XgPF RgDQpYjWyl8VmPW3LCsLcaypYRAdDgJ6oUA/Z2EKgteCthUJKuue4/ihZ19GbsxS8r7x ekVWtL76Fq5AE5vkv41NHCGvwrdHnM3SIB6jwEQ52n85kC0PnKcjWbwct5dDUpmCdmK3 J9zA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678382191; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BVrjYEqJpUtJ/xncEbYLSc8WrTtTZi0In8cwHqMYnnA=; b=ESFtpviyh1XtNoSWcQB1G1vjDydJd1e1SD7vGTkM4U4VE1swirTGMmB37zGE13muUS nGuIYZGUmXxpxB5R5wWjtH+pviujTtIKufhKz7uNc8WrHUL/08PJVhOjfzoyRsA4Ntn3 tdmkwHN5qrFP+gpznx8JHeVCZY4T3o8m4eu0qPdgcBbz96LefSZCBYsO9Wd8s4SHL49V 66m4IYCX1G/CVVHOZuru8AndrCzsE6VaMQuF6m9Qxd7KMAIXm/zdEaeWPlJKs1jDRxa/ jfSlQ/eCOat2DI8uxoihBoQxGevcYf/ZAexNiAud2BuORpcOKz6cCdAfRs19+oWcHVce tBsg== X-Gm-Message-State: AO0yUKUANZOEybGarRBIXpt50mNaInLkXc4kcKfRa1dKqPSrK5cvF3CC AnqUzjgKl8JBc5GWcd0GfqaSC4GSdjc= X-Google-Smtp-Source: AK7set+rLR60WkB1dONF927PKOQYfZzCl3Zw9tWHzLEkTHoGfMVFzi5IIx60rde7NekMvTd+w4WZOQ== X-Received: by 2002:a05:6214:2a82:b0:572:636d:625f with SMTP id jr2-20020a0562142a8200b00572636d625fmr41571310qvb.33.1678382191471; Thu, 09 Mar 2023 09:16:31 -0800 (PST) Received: from localhost.localdomain (pppoe-209-91-167-254.vianet.ca. [209.91.167.254]) by smtp.gmail.com with ESMTPSA id d15-20020a05620a240f00b00742562938cfsm14356602qkn.107.2023.03.09.09.16.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 09:16:30 -0800 (PST) From: Trevor Woerner To: openembedded-devel@lists.openembedded.org Subject: [PATCH 2/2] cups-filters: fix ghostscript handling Date: Thu, 9 Mar 2023 12:16:23 -0500 Message-Id: <20230309171623.28428-2-twoerner@gmail.com> X-Mailer: git-send-email 2.36.0.rc2.17.g4027e30c53 In-Reply-To: <20230309171623.28428-1-twoerner@gmail.com> References: <20230309171623.28428-1-twoerner@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 09 Mar 2023 17:16:42 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/101460 ghostscript is not needed at build-time (it only needs to be enabled in the configuration step) but it is required at run-time for two of this recipe's packages. Signed-off-by: Trevor Woerner --- meta-oe/recipes-printing/cups/cups-filters_1.28.17.bb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/meta-oe/recipes-printing/cups/cups-filters_1.28.17.bb b/meta-oe/recipes-printing/cups/cups-filters_1.28.17.bb index 0d3560b9c2ac..fd82bb39c2d4 100644 --- a/meta-oe/recipes-printing/cups/cups-filters_1.28.17.bb +++ b/meta-oe/recipes-printing/cups/cups-filters_1.28.17.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=2d77679ce6a2cc4d873d4ebbf2a401e6" SECTION = "console/utils" -DEPENDS = "cups glib-2.0 glib-2.0-native dbus dbus-glib lcms ghostscript poppler qpdf libpng libexif" +DEPENDS = "cups glib-2.0 glib-2.0-native dbus dbus-glib lcms poppler qpdf libpng libexif" DEPENDS:class-native = "poppler-native glib-2.0-native dbus-native pkgconfig-native gettext-native libpng-native" SRC_URI = "https://github.com/OpenPrinting/${BPN}/releases/download/${PV}/${BP}.tar.xz \ @@ -51,6 +51,7 @@ PACKAGES =+ "\ FILES:${PN}-gst = "\ ${libexecdir}/cups/filter/gsto* \ " +RDEPENDS:${PN}-gst += "ghostscript" FILES:${PN}-data = "\ ${datadir}/cups/data \ @@ -71,6 +72,8 @@ FILES:${PN} += "\ ${datadir}/cups/ppdc \ ${datadir}/cups/banners \ " +RDEPENDS:${PN} += "bash" +RDEPENDS:${PN} += "ghostscript" do_install:append() { # remove braille dir @@ -79,5 +82,3 @@ do_install:append() { # remove sysroot path contamination from pkgconfig file sed -i -e 's:${STAGING_DIR_TARGET}::' ${D}/${libdir}/pkgconfig/libcupsfilters.pc } - -RDEPENDS:${PN} += "bash"