[opensuse-packaging] Distribution Branding and Themes
The branding proposal in previous discussion did not cover the whole range of the problem. As I promised, I will continue on it. Branding of applications, which support themes It is applicable for: - Application supports a method to change its look using a system or user configuration and sets of external files (themes). - One of the themes is chosen by default. We want: - The vendor default theme should be chosen by default. - If user of system administrator changed the theme, application should not revert to the vendor branding theme on update. In theory there are three solutions possible: On my opinion, 1. is "possible", 2. is "good", 3. is "no way". Does anybody see any other possibilities? If not, I will extend previous proposal using 2. 1. If system configuration still uses default, change system configuration set the new branding as a default. Pros: + Each theme exists only once + Each theme uses its native name Cons: - Possibly fragile scriptlets must be used. - When changing branding, previous one has to be known to evaluate: "Is it still configured to used default?" 2. Create virtual theme ("default", "branding", "vendor" or so), which is linked (= equal to) another theme. Pros: + No need for scriptlets. + Works with packages, which the default theme name embed into source Cons: - Needs extra symlinks. 3. The same as 2, but the default theme is only available under name "default" or so. Pros: + Each theme exists only once Cons: - Not backward compatible. User selected "Industrial" theme, now it has name "default". - After installing of branding say "Polar Bear", there is no more possible to use Industrial (the default of OpenSUSE branding). -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@suse.cz Lihovarská 1060/12 tel: +420 284 028 966, +49 911 740538747 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
2008/3/6 Stanislav Brabec <sbrabec@suse.cz>:
The branding proposal in previous discussion did not cover the whole range of the problem.
Well, I have a package fvwm2 where I have hard coded in the systemrc file for fvwm string openSUSE for few menu items. I have added a logo of openSUSE also. In this case, this cannot be "branded". I can revert this change and erase strings wich are trademarks but have anybody idea how it can be done in "allowing branding"-way and leave the *SUSE string in menu? I would suggest to check the presence of /etc/SuSE-release file and run sed on the systemrc file in postinstall section of rpm installation phase. But can I rely on this file? Regards Ladislav. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Thu, Mar 06, Ladislav Michnovič wrote:
2008/3/6 Stanislav Brabec <sbrabec@suse.cz>:
The branding proposal in previous discussion did not cover the whole range of the problem.
Well, I have a package fvwm2 where I have hard coded in the systemrc file for fvwm string openSUSE for few menu items. I have added a logo of openSUSE also.
So I think the systemrc file and the logo should go in the branding package.
I would suggest to check the presence of /etc/SuSE-release file and run sed on the systemrc file in postinstall section of rpm installation phase. But can I rely on this file?
This file will be there, even if no openSUSE/SLED/SLES branding is used. So it does not help. Thorsten -- Thorsten Kukuk, Project Manager/Release Manager SLES SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg GF: Markus Rex, HRB 16746 (AG Nuernberg) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (3)
-
Ladislav Michnovič
-
Stanislav Brabec
-
Thorsten Kukuk