On 04/21/2011 01:10 AM, Marko Saukko wrote:
On 04/21/2011 07:36 AM, Luis Araujo wrote:
Hello everyone,
We need to offer a custom version of the virtual keyboard CSS style file
for the N900 images (and probably later on for other platforms too).
Is the resolution only thing why it needs customization, i.e, it
doesn't fit to the landscape screen? It works on the higher
resolutions doesn't it? Could the theme be made more dynamic so that
it would scale on different resolutions?
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.
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.
What would be a best and more accurate solution?
Regards,
_______________________________________________
MeeGo-packaging mailing list
[email protected]
http://lists.meego.com/listinfo/meego-packaging
_______________________________________________
MeeGo-packaging mailing list
[email protected]
http://lists.meego.com/listinfo/meego-packaging