maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Mieru: a flexible manga and comic book reader (https://talk.maemo.org/showthread.php?t=73907)

MartinK 2012-02-04 00:18

Re: [Announce] Mieru: a flexible manga and comic book reader
 
Quote:

Originally Posted by lonk (Post 1157617)
looking forward to fremantle update!

(some of my suggestions still never made it on n900 :( )

Quote:

Originally Posted by ivgalvez (Post 1157721)
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.

ivgalvez 2012-02-04 10:05

Re: [Announce] Mieru: a flexible manga and comic book reader
 
Quote:

Originally Posted by MartinK (Post 1160200)
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.

MartinK 2012-02-10 15:12

Re: [Announce] Mieru: a flexible manga and comic book reader
 
http://snac.nokia.com/hosted/ea/3b/-...n9-10-160d.jpg
http://store.ovi.com/content/234303

MartinK 2012-02-29 21:45

Re: [Announce] Mieru: a flexible manga and comic book reader
 
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.

ade 2012-02-29 22:03

Re: [Announce] Mieru: a flexible manga and comic book reader
 
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'


MartinK 2012-02-29 22:25

Re: [Announce] Mieru: a flexible manga and comic book reader
 
Quote:

Originally Posted by ade (Post 1172302)
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


ade 2012-02-29 22:38

Re: [Announce] Mieru: a flexible manga and comic book reader
 
Quote:

Originally Posted by MartinK (Post 1172306)
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.

ade 2012-02-29 22:48

Re: [Announce] Mieru: a flexible manga and comic book reader
 
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.

MartinK 2012-02-29 22:55

Re: [Announce] Mieru: a flexible manga and comic book reader
 
Quote:

Originally Posted by ade (Post 1172318)
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. :)

Quote:

Originally Posted by ade (Post 1172318)
(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

MartinK 2012-02-29 22:59

Re: [Announce] Mieru: a flexible manga and comic book reader
 
Quote:

Originally Posted by ade (Post 1172318)
Edit: interface looks beautiful.

Thanks ! :D


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

vBulletin® Version 3.8.8