mbox series

[0/3] Hi,

Message ID CXN9OZ7FYB2C.Q33EONS2A1HX@joggee.fr
Headers show
Series Hi, | expand

Message

Jonathan GUILLOT Dec. 13, 2023, 2:15 p.m. UTC
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

Comments

Yoann Congal Dec. 13, 2023, 2:47 p.m. UTC | #1
Hi Jonathan,

Le 13/12/2023 à 15:15, Jonathan GUILLOT a écrit :
> 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.

First, welcome! (If I'm not mistaken, we did work together some time ago :) )

Rapidly glancing at your patches, I noticed they miss the "Signed-off-by:" tag.
Try to follow instructions at https://docs.yoctoproject.org/dev/contributor-guide/submit-changes.html#implement-and-commit-changes.
Basically, you'll need to rebase your commits and using "git commit --amend -s".

Another thing, the subject of your coverletter mail is "Hi," (you may want to use a subject that provide some info on the content of your series)

Regards,

> 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
> 
> 
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#192292): https://lists.openembedded.org/g/openembedded-core/message/192292
> Mute This Topic: https://lists.openembedded.org/mt/103149509/4316185
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [yoann.congal@smile.fr]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Jonathan GUILLOT Dec. 13, 2023, 3:05 p.m. UTC | #2
Thanks Yoann,
I will resubmit these patches with your suggestions.

Le mer. 13 déc. 2023 à 15:47, Yoann Congal <yoann.congal@smile.fr> 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 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.
>
> First, welcome! (If I'm not mistaken, we did work together some time ago :) )
>
> Rapidly glancing at your patches, I noticed they miss the "Signed-off-by:" tag.
> Try to follow instructions at https://docs.yoctoproject.org/dev/contributor-guide/submit-changes.html#implement-and-commit-changes.
> Basically, you'll need to rebase your commits and using "git commit --amend -s".
>
> Another thing, the subject of your coverletter mail is "Hi," (you may want to use a subject that provide some info on the content of your series)
>
> Regards,
>
> > 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
> >
> >
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#192292): https://lists.openembedded.org/g/openembedded-core/message/192292
> > Mute This Topic: https://lists.openembedded.org/mt/103149509/4316185
> > Group Owner: openembedded-core+owner@lists.openembedded.org
> > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [yoann.congal@smile.fr]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >
>
> --
> Yoann Congal
> Smile ECS - Tech Expert