[manjaro-dev] Fwd: Calamares branding components

Philip Müller philm at manjaro.org
Tue Oct 21 17:07:30 CEST 2014


FYI

-------- Weitergeleitete Nachricht --------
Betreff: 	Calamares branding components
Datum: 	Thu, 16 Oct 2014 18:40:06 +0200
Von: 	Teo Mrnjavac <teo at kde.org>
An: 	calamares-dev at googlegroups.com



Hello everyone,

this is to let you know that as of today the branding mechanism has been
merged.

A prominent element of the whole rationale behind Calamares has always been to
discourage the proliferation of branches and forks and enable everyone to
share and work on common general-purpose solutions which can then be
customized to suit individual needs and tastes.

The branding system now allows distributors to customize strings and graphics
in their Calamares deployment without forking and without writing C++ or
Python code. Right now Calamares comes with a "default" branding component, it
lives in src/branding/default and is chosen at the end of settings.conf. A lot
of strings and images are not customizable yet, they can become so over time
as we notice unbranded strings and images which someone might want to make
brandable.

A branding component is a directory, which contains a YAML file branding.desc
and other files as needed.
To roll out your own branding component "mybranding", you only need to provide
a directory called "mybranding" with a branding.desc file inside. This file is
the branding descriptor. It must specify "mybranding" as componentName, plus
your strings and paths to other resources. All paths in branding.desc must be
relative to the branding component directory. A badly formatted branding.desc,
or invalid paths in branding.desc, will result in Calamares quitting on
startup with an error message in the terminal.
If you choose to maintain your branding component in Calamares master, you
only need to put it in src/branding, together with the default one (feel free
to submit a pull request). The Calamares build system will then pick it up and
install it in /usr/share/calamares/branding.
If you choose to maintain it outside the Calamares repo and ship it yourself,
you can deploy it in /etc/calamares/branding as well.

Cheers,
-- 
Teo Mrnjavac
http://teom.org | teo at kde.org

-- 
You received this message because you are subscribed to the Google Groups "Calamares development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to calamares-dev+unsubscribe at googlegroups.com.
To post to this group, send email to calamares-dev at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/calamares-dev/1463180.ln8DUW99Mm%40haven.
For more options, visit https://groups.google.com/d/optout.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.manjaro.org/pipermail/manjaro-dev/attachments/20141021/25468fed/attachment.html>


More information about the manjaro-dev mailing list