From patchwork Wed Dec 13 14:15:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan GUILLOT X-Patchwork-Id: 864 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 E4F93C41535 for ; Wed, 13 Dec 2023 14:15:12 +0000 (UTC) Received: from 6.mo582.mail-out.ovh.net (6.mo582.mail-out.ovh.net [87.98.177.69]) by mx.groups.io with SMTP id smtpd.web10.37073.1702476903538036116 for ; Wed, 13 Dec 2023 06:15:04 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=softfail (domain: joggee.fr, ip: 87.98.177.69, mailfrom: jonathan@joggee.fr) Received: from director6.ghost.mail-out.ovh.net (unknown [10.109.140.229]) by mo582.mail-out.ovh.net (Postfix) with ESMTP id BE43529AE7 for ; Wed, 13 Dec 2023 14:15:01 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-j56hl (unknown [10.110.178.147]) by director6.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 89A9C1FED2 for ; Wed, 13 Dec 2023 14:15:01 +0000 (UTC) Received: from joggee.fr ([37.59.142.106]) by ghost-submission-6684bf9d7b-j56hl with ESMTPSA id 4p09G2W8eWWtJQEAcHI1ww (envelope-from ) for ; Wed, 13 Dec 2023 14:15:01 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-106R00660df8961-5cb7-4afc-982f-8a81cfd5ca31, 8AE51020AAF3E055EAEAC9529530B6D231DC969C) smtp.auth=jonathan@joggee.fr X-OVh-ClientIp: 84.14.185.34 Message-Id: To: From: "Jonathan GUILLOT" Date: Wed, 13 Dec 2023 14:15:00 +0000 Subject: [PATCH 0/3] Hi, X-Ovh-Tracer-Id: 13575256652157947003 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvkedrudeljedgtddvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefkvffhfffusedttdertddttddtnecuhfhrohhmpedflfhonhgrthhhrghnucfifgfknffnqffvfdcuoehjohhnrghthhgrnhesjhhoghhgvggvrdhfrheqnecuggftrfgrthhtvghrnhepvdegudetgefhleeiledtheeltefgjefhgeefveehhfffiedutddvveetkeetkeffnecukfhppeduvdejrddtrddtrddupdekgedrudegrddukeehrdefgedpfeejrdehledrudegvddruddtieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehjohhnrghthhgrnhesjhhoghhgvggvrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepohhpvghnvghmsggvugguvgguqdgtohhrvgeslhhishhtshdrohhpvghnvghmsggvugguvggurdhorhhgpdfovfetjfhoshhtpehmohehkedvpdhmohguvgepshhmthhpohhuth 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 ; Wed, 13 Dec 2023 14:15:12 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/192292 Just playing with cups and observe the main packages includes localized HTML templates in /usr/share/cups/templates. Locale packages were only looking for files in /usr/locale. This serie of patches allows to add extra directories to be scanned. For a next patch, I would also like possible FILES:${PN}-locale-* variables defined in recipe not to be overriden by the split_locales() function. It is my first patch proposal on this project. Thanks in advance for your feedbacks. Regards, Jonathan GUILLOT Jonathan GUILLOT (3): lib/oe/package: replace in place PN-locale-* packages in PACKAGES lib/oe/package: add LOCALEEXTRADIRS to define extra locations for locales cups: use LOCALEEXTRADIRS to split localized HTML templates meta/lib/oe/package.py | 33 ++++++++++++++++++++++------- meta/recipes-extended/cups/cups.inc | 2 ++ 2 files changed, 27 insertions(+), 8 deletions(-) base-commit: 564339afb73fc52a66c1a08437587cad1c4d46e7