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)

ivgalvez 2012-03-01 08:15

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

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

This is great!

However, it's time to start thinking about applications depending on latest CSSU. Right now, you won't be able to promote this package to Extras, and that rule should be overridden.

ade 2012-03-01 17:09

Re: [Announce] Mieru: a flexible manga and comic book reader
 
One remark and one question :)

Question:

Is it my imagination, or could I zoom with the volume buttons in the previous version? Maybe I am mistaken and it was never there...

Edit: it was for turning pages. New method is even better.

Remark:

Could you add an icon to the latest installable deb file? It is missing now.

robotsindisguise 2012-03-01 17:25

Re: [Announce] Mieru: a flexible manga and comic book reader
 
Might be a silly comment, but: why is the japanese set in a serif font when the regular name set in sans-serif on the splash harmattan splash screen? lol

MartinK 2012-03-01 19:12

Re: [Announce] Mieru: a flexible manga and comic book reader
 
I have found and (hopefully) fixed the installation issue. Quite interestingly, it was caused by old byte compiled python (*.pyc) files remaining from the previous version overriding new files, leading to those "argument not found" errors.

Updated installation instructions
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
Download the package somewhere:
Code:

wget http://m4rtink.github.com/mieru/packages/mieru_2.2.29_armel.deb
And install it:
Code:

dpkg -i mieru_2.2.29_armel.deb

MartinK 2012-03-02 19:03

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

Originally Posted by ivgalvez (Post 1172491)
This is great!

However, it's time to start thinking about applications depending on latest CSSU. Right now, you won't be able to promote this package to Extras, and that rule should be overridden.

Well, I would say that a big part of users has Extras-devel enabled, but still a good point. As Mieru really doesn't have any exotic dependencies, this issue should really be solved.

Quote:

Originally Posted by ade (Post 1172517)
One remark and one question :)

Question:

Is it my imagination, or could I zoom with the volume buttons in the previous version? Maybe I am mistaken and it was never there...

Edit: it was for turning pages. New method is even better.

I have investigated how to use the volume buttons from a Qt application and found this:

Maemo 5 zoom example
Example on Maemo Wiki

Not really sure how to do this from Python + PySide...
Some sort of an utility/wrapper written in C/C++ might be needed. :)

Quote:

Originally Posted by ade (Post 1172517)

Remark:

Could you add an icon to the latest installable deb file? It is missing now.

It should be there, in the graphics section.

Quote:

Originally Posted by robotsindisguise (Post 1172532)
Might be a silly comment, but: why is the japanese set in a serif font when the regular name set in sans-serif on the splash harmattan splash screen? lol

IIRC, I typeset the English text first and then found that the font won't render kanji, so I found other roughly similar font and used it for the Japanese part. :)

ade 2012-03-02 21:21

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

Originally Posted by MartinK (Post 1173238)
It should be there, in the graphics section.

There is an icon in the deb file, but it does not show. It could be some setting on my device (I use categorize), but I doubt it. It shows up in the menu on your device?

Here is what I did to make it show on my device:
- Resized the icon to 64x64 and put it in /usr/share/icons/hicolor/64x64/apps.
- Moved mieru.desktop to /usr/share/applications/hildon (from /usr/share/applications) and changed the reference to the icon.

Now it shows the icon in the menu, but maybe it is a specific issue on my device after all.

D@vIcHoJD 2012-03-02 22:29

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

Originally Posted by ade (Post 1173307)
There is an icon in the deb file, but it does not show. It could be some setting on my device (I use categorize), but I doubt it. It shows up in the menu on your device?

Here is what I did to make it show on my device:
- Resized the icon to 64x64 and put it in /usr/share/icons/hicolor/64x64/apps.
- Moved mieru.desktop to /usr/share/applications/hildon (from /usr/share/applications) and changed the reference to the icon.

Now it shows the icon in the menu, but maybe it is a specific issue on my device after all.

I have the same problem:D

MartinK 2012-03-04 15:28

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

Originally Posted by ade (Post 1173307)
There is an icon in the deb file, but it does not show. It could be some setting on my device (I use categorize), but I doubt it. It shows up in the menu on your device?

Here is what I did to make it show on my device:
- Resized the icon to 64x64 and put it in /usr/share/icons/hicolor/64x64/apps.
- Moved mieru.desktop to /usr/share/applications/hildon (from /usr/share/applications) and changed the reference to the icon.

Now it shows the icon in the menu, but maybe it is a specific issue on my device after all.

Quote:

Originally Posted by D@vIcHoJD (Post 1173341)
I have the same problem:D

Well, the package is bit of a hack at the moment. :) Currently its the same package as for Harmattan that in its postinst detects if it is running on the N900 (using /proc/cpuinfo) and does some Fremantle specific modifications (copy the icon to other folder, add startup script, etc.).

This is a temporary solution I used to get a workable package quickly. A proper package is still needed:
  • that postinst hack is ugly and potentially fragile - you really don't want a failing postinst script :)
  • different icon size - 80x80 for Harmattan vs 64x64 for Fremantle
  • different desktop file location
  • different dependencies - Fremantle has unrar in the repo but Harmattan doesn't so Mieru has to ship with an unrar binary
  • you can't place a startup script to /usr/bin/ on Harmattan or your package would not pass the Ovi QA - see the list of path name exceptions
  • Harmatan applications mostly use invoker for splash screens & single instance behavior in their Desktop files, making the Desktop files incompatible with Fremantle
Fortunately as I already have quite a nice & fast packaging setup comprising from:
  1. a bash script that pulls current source from GIT, sets version + changelog and initiates packaging (i really should finally clean this up a bit and publish it somewhere :) )
  2. a setup.py script that uses Khertans nice sdist_maemo module and builds the source package
  3. and a COBS repo that builds the actual installable package (the bash script automatically uploads the source package using osc once it's done with packaging)
Modifying it to produce a customized Fremantle package should not be that hard. :)

MartinK 2012-03-19 14:20

Re: [Announce] Mieru: a flexible manga and comic book reader
 
Mieru package in Apps for MeeGo updated - testing needed !

I have updated the Mieru package in Apps for MeeGo testing, so it is currently on the same level as the version in Ovi store. Please test (see the community QA testing guidelines) and then fill in the QA form. Don't forget to tick in Should the application be in this application catalog?, provided that you think Mieru is worthy of this, of course. :) Thanks in advance ! :)

What do I need to test applications in Apps for MeeGo ?

ivgalvez 2012-04-07 12:07

Re: [Announce] Mieru: a flexible manga and comic book reader
 
A new version of QtComponents for Fremantle is in Extras Devel. Would you try to upload Mieru to Devel depending on it?


All times are GMT. The time now is 22:07.

vBulletin® Version 3.8.8