Editing QtComponents/Miniature

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
'''Miniature''' is a chess game currently maintained by Michael Hasselmann and Quim Gil and targeted to Harmattan devices. See more about it on [[Miniature]] page.
'''Miniature''' is a chess game currently maintained by Michael Hasselmann and Quim Gil and targeted to Harmattan devices. See more about it on [[Miniature]] page.
-
I'm going to make use of this project as an example of the required changes to get it working on Fremantle
+
I'm going to make this project as an example of the required changes to get it working on Fremantle
== Fetch sources ==
== Fetch sources ==
Line 22: Line 22:
|}
|}
-
=== Change meego namespace by fremantle one ===
+
=== Change meego namesapce by fremantle one ===
There is a simple script to do this task located at [https://qt.gitorious.org/~inean/qt-components/ineans-qt-components/blobs/fremantle-1.0/src/fremantle/migrateTo gitorious]. invoke inside miniature directory as:
There is a simple script to do this task located at [https://qt.gitorious.org/~inean/qt-components/ineans-qt-components/blobs/fremantle-1.0/src/fremantle/migrateTo gitorious]. invoke inside miniature directory as:
Line 35: Line 35:
== Handle Close events ==
== Handle Close events ==
-
QtComponents uses Qt.quit() event to notify application backends that user has requested to close window. Miniature doesn't handle this event on its own, so we need to add it.
+
QtComponents uses qt.qui() event to notify application backends that user has requested to close window. Miniature doens't handle this event on it's own so, we need to add it.
First, lookup for a DeclarativeView or 'show' call inside miniature directory. A '''grep''' command point us to miniature.cc file. We add a close Slot to deal with Qt.quit() event.
First, lookup for a DeclarativeView or 'show' call inside miniature directory. A '''grep''' command point us to miniature.cc file. We add a close Slot to deal with Qt.quit() event.
Line 167: Line 167:
and copy generated files into debian/patches directory.
and copy generated files into debian/patches directory.
-
Finally, modify rules file at debian directory to merge patches. At '''config-stamp''' rule add:
+
modify rules to merge this patches at '''config-stamp''' rule with
<syntaxhighlight lang="make">for p in debian/patches/*; do patch -p1 < $$p; done
<syntaxhighlight lang="make">for p in debian/patches/*; do patch -p1 < $$p; done
</syntaxhighlight>
</syntaxhighlight>
-
And thats all. You have upstream '''miniature''' working on Maemo5
+
And thats all. You have upstream '''minuature''' working on Maemo5

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)