[OE-core] [PATCH] cronie: add inotify PACKAGECONFIG option

2024-08-22 Thread Jonathan GUILLOT
By default, cronie inspects crontab modtimes every minute to check for modications avoiding server restart for them to be taken in account. The inotify option allows the server to use this mechanism to be directly notified when a crontab is modified. Signed-off-by: Jonathan GUILLOT --- meta

[OE-core] [kirkstone][PATCH] cups: fix typo in CVE-2023-32360 backport patch

2024-04-03 Thread Jonathan GUILLOT
77 of /etc/cups/cupsd.conf. Signed-off-by: Jonathan GUILLOT --- meta/recipes-extended/cups/cups/CVE-2023-32360.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-extended/cups/cups/CVE-2023-32360.patch b/meta/recipes-extended/cups/cups/CVE-2023-32360.p

Re: [OE-core][PATCH 1/2] bash: add locale alias for ja_JP shiftjis in run-ptest

2024-03-06 Thread Jonathan GUILLOT
Hi Chen, It does not seem to be the main issue, but here is an other strange thing I noticed in the locale.alias file. Indeed, the file (provided by the glibc-locale-alias package) in my environment already contains this line: japanese.sjis ja_JP.SJIS I understand that ja_JP.SJIS is expected t

[OE-core] [PATCH v2 0/2] lib/oe/package: fix LOCALE_PATHS scan to create locale packages

2024-02-23 Thread Jonathan GUILLOT
. Now, even if the file is explictly included in a new glic-locale-alias package. Without such a patch, the glibc-locale recipe was also broken by the main LOCALE_PATHS fix. Regards, Jonathan GUILLOT Jonathan GUILLOT (2): glibc-locale: add an explicit dedicated package for locale.alias file

[OE-core] [PATCH v2 1/2] glibc-locale: add an explicit dedicated package for locale.alias file

2024-02-23 Thread Jonathan GUILLOT
Until now, ${datadir}/locale/locale.alias file were automatically added to a weird glibc-locale-locale.alias package by split_locales() during do_package task. Create an explicit package name in recipe for this file. Signed-off-by: Jonathan GUILLOT --- meta/recipes-core/glibc/glibc-locale.inc

[OE-core] [PATCH v2 2/2] lib/oe/package: fix LOCALE_PATHS scan to create locale packages

2024-02-23 Thread Jonathan GUILLOT
-class.tmpl - cups-locale-add-printer.tmpl - cups-locale-admin.tmpl Signed-off-by: Jonathan GUILLOT --- meta/conf/documentation.conf | 2 +- meta/lib/oe/package.py | 14 +- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/meta/conf/documentation.conf b/meta/conf

Re: [OE-core] [PATCH] lib/oe/package: fix LOCALE_PATHS scan to create locale packages

2024-02-22 Thread Jonathan GUILLOT
I have attached a patch (as an example) recreating the same glibc-locale-locale.alias package but it is really weird to me. Is there a glibc locale expert to help? Regards, Jonathan Le mar. 20 févr. 2024 à 10:45, Jonathan GUILLOT a écrit : > Without any of my modifications, it seems that gl

Re: [OE-core] [PATCH] lib/oe/package: fix LOCALE_PATHS scan to create locale packages

2024-02-20 Thread Jonathan GUILLOT
Without any of my modifications, it seems that glibc-locale recipe creates a glibc-locale-locale.alias package containing only the file /usr/share/locale/locale.alias. It looks like the same issue revealed with the CUPS recipe. Do you know in which package locale.alias file is expected to be locate

[OE-core] [PATCH] lib/oe/package: fix LOCALE_PATHS scan to create locale packages

2024-02-19 Thread Jonathan GUILLOT
-class.tmpl - cups-locale-add-printer.tmpl - cups-locale-admin.tmpl Signed-off-by: Jonathan GUILLOT --- meta/conf/documentation.conf | 2 +- meta/lib/oe/package.py | 14 +- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/meta/conf/documentation.conf b/meta/conf

Re: [OE-core] [PATCH v4 3/3] cups: use LOCALE_PATHS to split localized HTML templates

2024-02-19 Thread Jonathan GUILLOT
3166 country code? Regards, Jonathan GUILLOT Le jeu. 15 févr. 2024 à 17:27, Ross Burton a écrit : > On 6 Dec 2023, at 16:06, Jonathan GUILLOT via lists.openembedded.org > wrote: > > +LOCALE_PATHS += "${datadir}/cups/templates” > > This doesn’t quite do what you expec

[OE-core] [PATCH] udev-extraconf: fix unmount directories containing octal-escaped chars

2024-01-24 Thread Jonathan GUILLOT
these special characters to be unescaped. Signed-off-by: Jonathan GUILLOT --- meta/recipes-core/udev/udev-extraconf/mount.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/udev/udev-extraconf/mount.sh b/meta/recipes-core/udev/udev-extraconf/mount.sh index 0cd51

[OE-core] [PATCH v3 1/3] lib/oe/package: replace in place PN-locale-* packages in PACKAGES

2024-01-04 Thread Jonathan GUILLOT
list to avoid such an issue. Signed-off-by: Jonathan GUILLOT --- meta/lib/oe/package.py | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/meta/lib/oe/package.py b/meta/lib/oe/package.py index 9a465eaa09..2f7a50e144 100644 --- a/meta/lib/oe/package.py +++ b/meta/lib/oe

[OE-core] [PATCH v3 0/3] lib/oe/package: allow to scan extra directories for locale files

2024-01-04 Thread Jonathan GUILLOT
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. Regards, Jonathan GUILLOT Jonathan GUILLOT (3): lib/oe/package: replace in place PN-locale

[OE-core] [PATCH v3 2/3] lib/oe/package: add LOCALE_EXTRA_PATHS to add extra locations for locales

2024-01-04 Thread Jonathan GUILLOT
Some packages may contain localized files not located in ${datadir}/locale. This new variables allows to add these directories in dedicated locale packages. Signed-off-by: Jonathan GUILLOT --- meta/conf/documentation.conf | 1 + meta/lib/oe/package.py | 23 ++- 2

[OE-core] [PATCH v3 3/3] cups: use LOCALE_EXTRA_PATHS to split localized HTML templates

2024-01-04 Thread Jonathan GUILLOT
Localized HTML templates in /usr/share/cups/templates are now part of locale packages. Signed-off-by: Jonathan GUILLOT --- meta/recipes-extended/cups/cups.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-extended/cups/cups.inc b/meta/recipes-extended/cups/cups.inc index

Re: [OE-core] [PATCH v2 2/3] lib/oe/package: add LOCALEEXTRADIRS to define extra locations for locales

2023-12-18 Thread Jonathan GUILLOT
t is the best option here? Regards, Jonathan GUILLOT Le jeu. 14 déc. 2023 à 17:45, Khem Raj a écrit : > > We used this convention when we used '_' as an override separator. > That constainst is no more as we use ':' now. > -=-=-=-=-=-=-=-=-=-=-=- Links: You receiv

Re: [OE-core] [PATCH v2 2/3] lib/oe/package: add LOCALEEXTRADIRS to define extra locations for locales

2023-12-14 Thread Jonathan GUILLOT
Hi Khem Raj, Le mer. 13 déc. 2023 à 21:45, Khem Raj a écrit : > I think using _ to separate the words would make it more readable so > call it LOCALE_EXTRA_PATHS or something. > secondly, it needs to be documented as well. The naming LOCALEEXTRADIRS is inspired from existing FILESEXTRAPATHS. Is

[OE-core] [PATCH v2 0/3] lib/oe/package: allow to scan extra directories for locale files

2023-12-13 Thread Jonathan GUILLOT
ject. 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 templ

[OE-core] [PATCH v2 2/3] lib/oe/package: add LOCALEEXTRADIRS to define extra locations for locales

2023-12-13 Thread Jonathan GUILLOT
Some packages may contain localized files not located in /usr/share/locale. This new variables allows to add these directories in dedicated locale packages. Signed-off-by: Jonathan GUILLOT --- meta/lib/oe/package.py | 23 ++- 1 file changed, 18 insertions(+), 5 deletions

[OE-core] [PATCH v2 1/3] lib/oe/package: replace in place PN-locale-* packages in PACKAGES

2023-12-13 Thread Jonathan GUILLOT
list to avoid such an issue. Signed-off-by: Jonathan GUILLOT --- meta/lib/oe/package.py | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/meta/lib/oe/package.py b/meta/lib/oe/package.py index 9a465eaa09..2f7a50e144 100644 --- a/meta/lib/oe/package.py +++ b/meta/lib/oe

[OE-core] [PATCH v2 3/3] cups: use LOCALEEXTRADIRS to split localized HTML templates

2023-12-13 Thread Jonathan GUILLOT
Localized HTML templates in /usr/share/cups/templates are now part of locale packages. Signed-off-by: Jonathan GUILLOT --- meta/recipes-extended/cups/cups.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-extended/cups/cups.inc b/meta/recipes-extended/cups/cups.inc index

Re: [OE-core] [PATCH 0/3] Hi,

2023-12-13 Thread Jonathan GUILLOT
Thanks Yoann, I will resubmit these patches with your suggestions. Le mer. 13 déc. 2023 à 15:47, Yoann Congal a écrit : > > Hi Jonathan, > > Le 13/12/2023 à 15:15, Jonathan GUILLOT a écrit : > > Just playing with cups and observe the main packages includes localized > >

[OE-core] [PATCH 2/3] lib/oe/package: add LOCALEEXTRADIRS to define extra locations for locales

2023-12-13 Thread Jonathan GUILLOT
Some packages may contain localized files not located in /usr/share/locale. This new variables allows to add these directories in dedicated locale packages. --- meta/lib/oe/package.py | 23 ++- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/meta/lib/oe/package.p

[OE-core] [PATCH 1/3] lib/oe/package: replace in place PN-locale-* packages in PACKAGES

2023-12-13 Thread Jonathan GUILLOT
split_locales() removes PN-locale from PACKAGES and adds PN-locale-* to the end. As the PN-locale package typically appears before PN base package, it may result in paths not installed in PN-locale-* packages if already catched by PN. Now insert PN-locale-* exactly where PN-locale was existing in l

[OE-core] [PATCH 3/3] cups: use LOCALEEXTRADIRS to split localized HTML templates

2023-12-13 Thread Jonathan GUILLOT
Localized HTML templates in /usr/share/cups/templates are now part of locale packages. --- meta/recipes-extended/cups/cups.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-extended/cups/cups.inc b/meta/recipes-extended/cups/cups.inc index 31f686cdfd..560bd67cf6 100644 --- a/

[OE-core] [PATCH 0/3] Hi,

2023-12-13 Thread Jonathan GUILLOT
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