On 04/21/2011 02:16 AM, Marko Saukko wrote:
On 04/21/2011 09:23 AM, Luis Araujo wrote:
On 04/21/2011 01:10 AM, Marko Saukko wrote:
Yes, the main reason is to properly adjust the resolution, currently
with the default theme the VKB doesn't fit to the landscape screen of
the N900.

Right now, we are mainly interested to fix this issue, but later we
might think of adding custom styles for other platforms too.

Right, but the difference from VKB point of view is only the resolution in MeeGo reference platforms. So maybe this style should be called 800x480 instead of N900, so installing VKB theme called N900 to another device Y with same screen resolution would not raise confusion.

We still don't decide the name of the style packages, though, thanks for pointing out this.


So far I can only think of the %ifarch macro to test for armv7l, and
include the proper file depending on the result; but evidently, this
might be a little bit extreme and will overwrite any platform/image
using this architecture.

If the style is CSS then the package should be noarch as no binary
there. Also if this package is just resolution thing maybe it would be
better to provide style called 800x480 instead of N900 as that would
tell use more about what this style is about. That is if the default
style can not be made more scalable.

We have been talking about getting packages containing custom style for
different platforms, but this might take a while to implement, right now
we mainly want to fix the N900 issue.

I was thinking if there existed a way to just include the custom file
from the rpm .spec file for the specific platform, since this looks like
would be the easier and straightforward way of doing it; considering we
only care about the n900 image right now.

About making the theme more dynamic, it seems there is no plan to
implement such a feature in this VKB.

OBS doesn't provide means to apply a separate patch for a specific platform such as N900 only. Only thing you can do is to make conditions with %ifarch, however in this case this should not be done because this patch might not work on other ARM based devices well, right?
Yes, that is my main concern, it might not work fine with other armv7l devices, though we are seriously considering this solution for Meego Core 1.2 if we don't have time to get independent style packages.


I can think of two separate things for this, first is to create separate VKB style package for N900. Note: With separate package you would need also to add this package to "Nokia N900 Support" pattern to get it to the N900 images. Also it might conflict with the existing packages.
How exactly do we go adding this package to that pattern?


And second is using the boardname functionality. With boardname you can know what device this is and you could configure the theme based on that information.

[root@localhost ~]# cat /etc/boardname
arm_nokia_rx_51_board_0020
[root@localhost ~]#

For the second one the question is that can you change the theme based on the boardname value?

I have considered this option too, though this would be a runtime configuration right?

Regards,
_______________________________________________
MeeGo-packaging mailing list
[email protected]
http://lists.meego.com/listinfo/meego-packaging

Reply via email to