Notices


Reply
Thread Tools
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#61
Originally Posted by lonk View Post
looking forward to fremantle update!

(some of my suggestions still never made it on n900 )
Originally Posted by ivgalvez View Post
Me too. I'm still using cbrPager and I would like to see new alternatives in the N900.
I'm working on it right now. Most things are working already but there are still some glitches. Also, for some reason things that don't need modification on Fremantle with CSSU break quite horribly on Vanilla (PR 1.3) Fremantle. Might be due to older Qt (4.7.0 vs 4.7.4 in CSSU) and PySide.

I plan to support both - looks like the version for Fremantle CSSU can share the same QML files with Harmattan while Fremantle Vanilla needs separate "forked" files due to specific Qt Components namespace (org.maemo.fremantle) and all the glitches.
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)
 

The Following 3 Users Say Thank You to MartinK For This Useful Post:
Posts: 1,397 | Thanked: 2,126 times | Joined on Nov 2009 @ Dublin, Ireland
#62
Originally Posted by MartinK View Post
I'm working on it right now. Most things are working already but there are still some glitches. Also, for some reason things that don't need modification on Fremantle with CSSU break quite horribly on Vanilla (PR 1.3) Fremantle. Might be due to older Qt (4.7.0 vs 4.7.4 in CSSU) and PySide.

I plan to support both - looks like the version for Fremantle CSSU can share the same QML files with Harmattan while Fremantle Vanilla needs separate "forked" files due to specific Qt Components namespace (org.maemo.fremantle) and all the glitches.
I would say that at some point it will be unavoidable to need CSSU for developing new applications. Imagine when Qt 4.8 becomes available, so I would suggest you not to bother with vanilla PR1.3 but at least try to keep it in good shape with Stable CSSU.
 

The Following 2 Users Say Thank You to ivgalvez For This Useful Post:
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#63

http://store.ovi.com/content/234303
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)

Last edited by MartinK; 2012-02-10 at 15:14.
 

The Following User Says Thank You to MartinK For This Useful Post:
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#64
Updated package for Maemo 5 Fremantle with CSSU
So I finally worked out most of the quirk for running Mieru 2.x on Fremantle and made an installable package. It's manual installation only for the moment though I plan to also properly update the package in Extras in due time. This package also basically requires CSSU - you can install it even without it but quite a lot important things (like page fitting) just don't work properly, most probably to old & broken Qt/QML/PySide version.

If you spot some bugs or other issues, please let me know.

How to install ?
First, you need to became root.
Then, install all the needed dependencies:
Code:
apt-get install qt-components-10 libzip1 unrar python-pyside.qtgui python-pyside.qtdeclarative
Uninstall the currently installed mieru package, just to be sure (all your settings/history will be untouched by this):

Code:
apt-get remove mieru
Download the package somewhere:
Code:
wget http://m4rtink.github.com/mieru/packages/mieru_2.2.27_armel.deb
And install it:
Code:
dpkg -i mieru_2.2.27_armel.deb
How to return to the old interface:
Just uninstall the package and install it from Extras-devel:
Code:
apt-get remove mieru
apt-get update
apt-get install mieru
How to go to the task switcher ?/ How to minimize Mieru ?

Tap the upper left corner.

How to shutdown Mieru ?

There is a Quit button in the main menu.
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)

Last edited by MartinK; 2012-02-29 at 22:32.
 

The Following 4 Users Say Thank You to MartinK For This Useful Post:
Posts: 1,100 | Thanked: 2,797 times | Joined on Apr 2011 @ Netherlands
#65
I am receiving an error at this moment:
Code:
All modules combined 530.00 ms
options: profile path: /home/user/.mieru
Traceback (most recent call last):
  File "mieru.py", line 399, in <module>
    mieru = Mieru()
  File "mieru.py", line 75, in __init__
    self.platform = maemo5.Maemo5(self, GTK=False)
TypeError: __init__() got an unexpected keyword argument 'GTK'
 

The Following User Says Thank You to ade For This Useful Post:
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#66
Originally Posted by ade View Post
I am receiving an error at this moment:
Code:
All modules combined 530.00 ms
options: profile path: /home/user/.mieru
Traceback (most recent call last):
  File "mieru.py", line 399, in <module>
    mieru = Mieru()
  File "mieru.py", line 75, in __init__
    self.platform = maemo5.Maemo5(self, GTK=False)
TypeError: __init__() got an unexpected keyword argument 'GTK'
Hmm, maybe try to uninstall Mieru first and do a clean install ?

Code:
apt-get remove mieru
dpkg -i mieru_2.2.27_armel.deb
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)

Last edited by MartinK; 2012-02-29 at 22:28.
 

The Following User Says Thank You to MartinK For This Useful Post:
Posts: 1,100 | Thanked: 2,797 times | Joined on Apr 2011 @ Netherlands
#67
Originally Posted by MartinK View Post
Hmm, maybe try to uninstall Mieru first and do a clean install ?

Code:
apt-get remove mieru
dpkg -i mieru_2.2.27_armel.deb
Does not make a difference

Code:
# apt-get remove mieru
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  mieru
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 1266kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 61389 files and directories currently installed.)
Removing mieru ...
dpkg - warning: while removing mieru, directory `/opt/mieru/platforms' not empty so not removed.
dpkg - warning: while removing mieru, directory `/opt/mieru/gui/qml' not empty so not removed.
dpkg - warning: while removing mieru, directory `/opt/mieru/gui' not empty so not removed.
dpkg - warning: while removing mieru, directory `/opt/mieru' not empty so not removed.

Code:
# dpkg -i mieru_2.2.27_armel.deb
Selecting previously deselected package mieru.
(Reading database ... 61295 files and directories currently installed.)
Unpacking mieru (from mieru_2.2.27_armel.deb) ...
Setting up mieru (2.2.27) ...
generating *.pyc files
Listing /opt/mieru ...
Listing /opt/mieru/data ...
Listing /opt/mieru/data/desktop_files ...
Listing /opt/mieru/gui ...
Listing /opt/mieru/gui/qml ...
Listing /opt/mieru/gui/qml_1.0_fremantle ...
Listing /opt/mieru/icons ...
Listing /opt/mieru/lib ...
Listing /opt/mieru/platforms ...
adding startup script for Fremantle
modifying Desktop file for Fremantle
Fremantle modifications done
Code:
# mieru 
All modules combined 420.00 ms
options: profile path: /home/user/.mieru
Traceback (most recent call last):
  File "mieru.py", line 399, in <module>
    mieru = Mieru()
  File "mieru.py", line 75, in __init__
    self.platform = maemo5.Maemo5(self, GTK=False)
TypeError: __init__() got an unexpected keyword argument 'GTK'
P.s. I do have CSSU and the other mentioned packages installed.
 
Posts: 1,100 | Thanked: 2,797 times | Joined on Apr 2011 @ Netherlands
#68
Okay, did a rm -rf /opt/mieru and a reinstall and now it works!

(only saw the warning
/opt/mieru/gui/qml_gui.py:38: GtkWarning: gtk_widget_set_sensitive: assertion `GTK_IS_WIDGET (widget)' failed)

Edit: interface looks beautiful.

Last edited by ade; 2012-02-29 at 22:53.
 

The Following 2 Users Say Thank You to ade For This Useful Post:
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#69
Originally Posted by ade View Post
Okay, did a rm -rf /opt/mieru and a reinstall and now it works!
Nice !

Rm-rf-ing the /opt/mieru folder should be safe as all user data is stored in ~/.mieru anyway.

I'll try to reproduce the issue (eq. installing the package over the version from Extras) tomorrow and find a fix for it.

Originally Posted by ade View Post
(only saw the warning
/opt/mieru/gui/qml_gui.py:38: GtkWarning: gtk_widget_set_sensitive: assertion `GTK_IS_WIDGET (widget)' failed)
I get it too - doesn't seem to cause any harm though. The line it points to is just the instantiation of the main QApplication, nothing special.


BTW, anynone else get those startup errors, this how you can start Mieru directly, without the startup script in /usr/bin/mieru:
Code:
python /opt/mieru/mieru.py -u harmattan -p maemo5
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)

Last edited by MartinK; 2012-02-29 at 23:00.
 

The Following 2 Users Say Thank You to MartinK For This Useful Post:
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#70
Originally Posted by ade View Post
Edit: interface looks beautiful.
Thanks !
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)
 
Reply


 
Forum Jump


All times are GMT. The time now is 17:41.