maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Is Py-QT going to turn up in extras soon - so i can install useful apps like aarddict? (https://talk.maemo.org/showthread.php?t=47221)

REMFwhoopitydo 2010-03-12 14:56

Is Py-QT going to turn up in extras soon - so i can install useful apps like aarddict?
 
hey guys, i am quite keen to install aarddict, but it appears to have a dependency on Py-Qt which is not available from extras according to this:
http://aarddict.org/forum/index.php?topic=440.0

is this situation going to to resolve itself any time soon?

attila77 2010-03-12 15:06

Re: Is Py-QT going to turn up in extras soon - so i can install useful apps like aarddict?
 
Itself ? No. It's lingering forsaken in extras-testing for nearly a month now. All it needs is YOU, the proverbial tester, to get to Extras.

itkach 2010-03-12 18:05

Re: Is Py-QT going to turn up in extras soon - so i can install useful apps like aarddict?
 
I would love to see PyQt in Extras both for Maemo 4 and Maemo 5. Having said that, I don't have N900, so I can only join attila77 in asking N900 owners to help promote PyQt for Maemo 5 to Extras.

attila77 2010-03-12 22:23

Re: Is Py-QT going to turn up in extras soon - so i can install useful apps like aarddict?
 
Maemo 4.1 is sadly out of reach as Qt itself never made it to Extras there. :( Another issue is that on non-cloned setups, it's very hard to fit Qt + PyQt to the N8x0 rootfs.

REMFwhoopitydo 2010-03-16 10:30

Re: Is Py-QT going to turn up in extras soon - so i can install useful apps like aarddict?
 
PyQT has just turned up in extras:
http://maemo.org/downloads/product/M...on2.5-qt4-doc/

but it says: "You need to install this package explicitly ONLY if you wish to tinker with Python yourself."

I want PyQT4 so i can try out aarddict, not so i can tinker with Python, is this not the package i am looking for?

Cheers

[edit] wrong link [/edit]

attila77 2010-03-16 10:43

Re: Is Py-QT going to turn up in extras soon - so i can install useful apps like aarddict?
 
Quote:

Originally Posted by REMFwhoopitydo (Post 568933)

I have the feeling this is not the link you wanted to paste :)

Quote:

but it says: "You need to install this package explicitly ONLY if you wish to tinker with Python yourself."
I want PyQT4 so i can try out aarddict, not so i can tinker with Python, is this not the package i am looking for?
Correct. It would be needed if you wanted to install aarddict from source or outside of the application manager. Hopefully the aarddict folks will correct the install links so they reflect this (the current install file on the aarrddict site enables extras-devel).

REMFwhoopitydo 2010-03-16 12:30

Re: Is Py-QT going to turn up in extras soon - so i can install useful apps like aarddict?
 
haha, quite correct, and cheers for the info.

itkach 2010-03-16 13:51

Re: Is Py-QT going to turn up in extras soon - so i can install useful apps like aarddict?
 
Quote:

Originally Posted by attila77 (Post 568949)
Hopefully the aarddict folks will correct the install links so they reflect this (the current install file on the aarrddict site enables extras-devel).

This is because currently it's the only way to get it installed on Maemo 4.1 (N8x0).

For Maemo 5 (N900), try http://aarddict.org/aarddict_maemo5.install - it enables Aard Dictionary repository and Maemo Extras - and let me know if it works for you.

attila77 2010-03-16 14:17

Re: Is Py-QT going to turn up in extras soon - so i can install useful apps like aarddict?
 
Quote:

Originally Posted by itkach (Post 569169)
This is because currently it's the only way to get it installed on Maemo 4.1 (N8x0).

Yeah, I know, but Maemo 4.1 and Maemo 5 really need to be separated due to the different status of Qt for them...

Quote:

For Maemo 5 (N900), try http://aarddict.org/aarddict_maemo5.install - it enables Aard Dictionary repository and Maemo Extras - and let me know if it works for you.
You don't need to do anything with Extras :) Extras is on the device and enabled by default since the PR1.1 firmware. Installing it through the .install file is bad (it *will* create a duplicate repository). On a side note, is there any particular reason why aarddict itself is not in extras/testing/devel ?

itkach 2010-03-16 14:35

Re: Is Py-QT going to turn up in extras soon - so i can install useful apps like aarddict?
 
Quote:

Originally Posted by attila77 (Post 569215)
You don't need to do anything with Extras :) Extras is on the device and enabled by default since the PR1.1 firmware.

I didn't know that, thanks.

Quote:

Originally Posted by attila77 (Post 569215)
Installing it through the .install file is bad (it *will* create a duplicate repository).

Hm... I thought .install is *the* way to install. What's the alternative? And Application Manager used to be able to detect duplicate repositories before (when enabled through .install), is this not so in Maemo 5?

Of course your first point about Extras being enabled by default makes these questions somewhat academic - I will simply remove Extras from .install.

Quote:

Originally Posted by attila77 (Post 569215)
On a side note, is there any particular reason why aarddict itself is not in extras/testing/devel ?

It's just that I find dealing with Maemo infrastructure painful and generally unpleasant, so I avoid it. Or call me lazy :)

attila77 2010-03-16 14:48

Re: Is Py-QT going to turn up in extras soon - so i can install useful apps like aarddict?
 
Quote:

Originally Posted by itkach (Post 569247)
Hm... I thought .install is *the* way to install. What's the alternative?

No, no, I mean't installing *extras* is bad, nothing inherently wrong with .install files.

Quote:

And Application Manager used to be able to detect duplicate repositories before (when enabled through .install), is this not so in Maemo 5?
Not sure, I ended up with a duplicate directory. The repo definitions might be slightly different that can cause this.

Quote:

It's just that I find dealing with Maemo infrastructure painful and generally unpleasant, so I avoid it. Or call me lazy :)
Hey, I don't blame you. On the other hand, if you ever change your mind, I can help you make an initial version, from there on it's fairly painless.

BTW I had some errors installing (different dependencies/Extras clash):
dpkg: error processing /var/cache/apt/archives/simplejson_2.0.9_armel.deb (--unpack):
trying to overwrite `/usr/lib/python2.5/site-packages/simplejson/_speedups.so', which is also in package python-simplejson

Also, just libicu takes some 13MB of rootfs space... it would really be cool to get it optified (there, another reason for using the autobuilder as it would do this for you automatically :) )

itkach 2010-03-16 15:17

Re: Is Py-QT going to turn up in extras soon - so i can install useful apps like aarddict?
 
Quote:

Originally Posted by attila77 (Post 569270)
... I ended up with a duplicate directory. The repo definitions might be slightly different that can cause this...

Probably. I'll just remove Extras from the .install.

Quote:

Originally Posted by attila77 (Post 569270)
I can help you make an initial version, from there on it's fairly painless.

Thank you, maybe I'll take you up on this when I have some time :)

Quote:

Originally Posted by attila77 (Post 569270)
BTW I had some errors installing (different dependencies/Extras clash):
dpkg: error processing /var/cache/apt/archives/simplejson_2.0.9_armel.deb (--unpack):
trying to overwrite `/usr/lib/python2.5/site-packages/simplejson/_speedups.so', which is also in package python-simplejson

I see that python-simplejson is now in extras both for Diablo and Fremantle, I'll change dependency and get rid of simplejson in aarddict's repo.

Quote:

Originally Posted by attila77 (Post 569270)
Also, just libicu takes some 13MB of rootfs space... it would really be cool to get it optified (there, another reason for using the autobuilder as it would do this for you automatically :) )

Well, I didn't really package libicu, package in aarddict repo is what was once available in Extras for Chinook. I'd be happy to depend on a properly packaged version of libicu (PyICU is really what aarddict needs), but repackaging and, more importantly, maintaining libicu is not something I'm looking forward to (did I mention I'm lazy?:))

Rob1n 2010-03-16 15:40

Re: Is Py-QT going to turn up in extras soon - so i can install useful apps like aarddict?
 
Quote:

Originally Posted by itkach (Post 569314)
Well, I didn't really package libicu, package in aarddict repo is what was once available in Extras for Chinook. I'd be happy to depend on a properly packaged version of libicu (PyICU is really what aarddict needs), but repackaging and, more importantly, maintaining libicu is not something I'm looking forward to (did I mention I'm lazy?:))

There's libicu40 and libicu42 in Fremantle extras - there doesn't seem to be any python bindings for them though :(

itkach 2010-03-16 15:49

Re: Is Py-QT going to turn up in extras soon - so i can install useful apps like aarddict?
 
Quote:

Originally Posted by Rob1n (Post 569354)
There's libicu40 and libicu42 in Fremantle extras - there doesn't seem to be any python bindings for them though :(

I'm looking at
http://repository.maemo.org/extras/d...armel/Packages and http://repository.maemo.org/extras/d...armel/Packages, there doesn't seem any libicu packages at all, am I looking in the wrong place?

Rob1n 2010-03-16 15:58

Re: Is Py-QT going to turn up in extras soon - so i can install useful apps like aarddict?
 
Quote:

Originally Posted by itkach (Post 569371)
I'm looking at
http://repository.maemo.org/extras/d...armel/Packages and http://repository.maemo.org/extras/d...armel/Packages, there doesn't seem any libicu packages at all, am I looking in the wrong place?

My mistake - looks like they're in extras-testing and extras-devel at the moment (http://maemo.org/packages/view/libicu42/ and http://maemo.org/packages/view/libicu40/).

REMFwhoopitydo 2010-03-16 17:32

Re: Is Py-QT going to turn up in extras soon - so i can install useful apps like aarddict?
 
thanks all, i feel this is now a positive and useful thread, consider that a meagre contribution from someone too afraid to do anything more than use extras. :)

geneven 2010-03-16 23:28

Re: Is Py-QT going to turn up in extras soon - so i can install useful apps like aarddict?
 
I have aarddict installed on my N900 and am using it happily. It gives me evil messages when I try to update it using App Mgr, but it still works fine. I don't remember well how I got it working, but I think I mainly ignored warnings and went ahead anyway. I'm like that. :)

Edit: I uninstalled aardict on my N900 and reinstalled with the install file for the N900 you mentioned. It worked, though I got a message saying it couldn't be installed. I think this is the same way I installed it before. I have a couple of dictionaries installed, so it's definitely working.

itkach 2010-03-17 04:33

Re: Is Py-QT going to turn up in extras soon - so i can install useful apps like aarddict?
 
Quote:

Originally Posted by attila77 (Post 569270)
BTW I had some errors installing (different dependencies/Extras clash):
dpkg: error processing /var/cache/apt/archives/simplejson_2.0.9_armel.deb (--unpack):
trying to overwrite `/usr/lib/python2.5/site-packages/simplejson/_speedups.so', which is also in package python-simplejson

I updated dependencies, aarddict now depends on python-simplejson in extras instead of simplejson from aarddict repo, also removes simplejson if it was installed.

I also updated http://aarddict.org/aarddict_maemo5.install, now it doesn't add extras.

REMFwhoopitydo 2010-03-17 11:18

Re: Is Py-QT going to turn up in extras soon - so i can install useful apps like aarddict?
 
i take it this is the right py-qt?

http://maemo.org/downloads/product/M...on2.5-qt4-doc/

attila77 2010-03-17 11:30

Re: Is Py-QT going to turn up in extras soon - so i can install useful apps like aarddict?
 
It is the right PyQt, but for what ? :) If you want aarddict, just use the install link above by itkach (you don't need to explicitly install PyQt, installing aarddict will do that for you automatically).

Just have enough rootfs space to be able to take on the grunt of Qt + libicu :)

EDIT: As for the libicu in extras-testing - as it's a generic lib it will go to extras when an app using it enters extras.

itkach 2010-03-17 14:36

Re: Is Py-QT going to turn up in extras soon - so i can install useful apps like aarddict?
 
Quote:

Originally Posted by attila77 (Post 570264)
Just have enough rootfs space to be able to take on the grunt of Qt + libicu :)

Isn't Qt already installed on N900? It should only be "grunt" of libicu :) An that is a sacrifice I'm willing to make - I don't have N900 anyway :)

Quote:

Originally Posted by attila77 (Post 570264)
EDIT: As for the libicu in extras-testing - as it's a generic lib it will go to extras when an app using it enters extras.

Yeah, I was wondering how that works, obviously no one is going to test libicu in extras-testing directly.

So here's catch-22: libicu needs an app to drag it into extras, but an app (*cough* aarddict *cough*) needs libicu to be in extras :)

Ok, I'm joking, good job selling idea of putting aarddict into extras*, I'll look into it :)

REMFwhoopitydo 2010-03-17 15:27

Re: Is Py-QT going to turn up in extras soon - so i can install useful apps like aarddict?
 
hehe, thanks. :D

attila77 2010-03-17 15:54

Re: Is Py-QT going to turn up in extras soon - so i can install useful apps like aarddict?
 
Quote:

Originally Posted by itkach (Post 570535)
Isn't Qt already installed on N900? It should only be "grunt" of libicu :)

No, Qt is in the system repositories, but (apart from maybe core and xml ?) is not installed by default. Nor is it optified, sadly :(

Quote:

Ok, I'm joking, good job selling idea of putting aarddict into extras*, I'll look into it :)
Heh :D Holler if you need any assistance battling the autobuilder.

mtjioe 2010-03-31 14:10

Re: Is Py-QT going to turn up in extras soon - so i can install useful apps like aarddict?
 
Hi Itkach,

thank you for the Aarddict port to Maemo5.
I have question though. Is it possible to look for dictionaries/folders on a memorycard? At this moment that doesn't seem possible.

itkach 2010-03-31 14:55

Re: Is Py-QT going to turn up in extras soon - so i can install useful apps like aarddict?
 
Quote:

Originally Posted by mtjioe (Post 589861)
Is it possible to look for dictionaries/folders on a memorycard?

Of course. Click Dictionary -> Add Dictionaries menu, file open dialog appears. Qt is supposed to open platform "native" dialog, but on N810 (Maemo 4.1) the dialog seems to be GTK file chooser, showing file system as is. If that's also the case in Maemo 5, you need to choose "File System" on the left, find "media" directory on the right, then "mmc1" in "media" directory. That's the sd card. There's also "mmc-undefined-name" shortcut on the left below "File System" that points to /media/mmc1.

Dictionary -> Add Directory works in a similar way, except that you choose a directory rather than files: Aard Dictionary will open any dictionaries it finds in that directory (it won't look in sub directories though).

mtjioe 2010-04-02 05:46

Re: Is Py-QT going to turn up in extras soon - so i can install useful apps like aarddict?
 
Hi Itkach,

thank you.It works now.
I have run into another problem. I accidently closed the Lookup Box, but I cant get it back?
I tried Ctrl-L but that doesn't seem to work. Actually I tried all possible Ctrl-combinations....

itkach 2010-04-02 13:59

Re: Is Py-QT going to turn up in extras soon - so i can install useful apps like aarddict?
 
Quote:

Originally Posted by mtjioe (Post 592221)
I accidently closed the Lookup Box, but I cant get it back?

Go to menu, View, note first three menu items in View - Lookup, History, Toolbar - these toggle corresponding interface elements.

Quote:

Originally Posted by mtjioe (Post 592221)
I tried Ctrl-L but that doesn't seem to work. Actually I tried all possible Ctrl-combinations....

Keyboard shortcuts work only for those actions that have a toolbar button and only when toolbar is on (i.e. not turned off via View > Toolbar menu). This, I think, is because of this bug: https://bugs.maemo.org/show_bug.cgi?id=4986

mtjioe 2010-04-02 14:50

Re: Is Py-QT going to turn up in extras soon - so i can install useful apps like aarddict?
 
Hi Itkach,

In my version there is no View: Lookup button, but there is an View /Fullscreen, but not a View: Lookup.

itkach 2010-04-02 17:24

Re: Is Py-QT going to turn up in extras soon - so i can install useful apps like aarddict?
 
Quote:

Originally Posted by mtjioe (Post 592698)
no View: Lookup button, but there is an View /Fullscreen, but not a View: Lookup.

It's not a button, it's a menu item in "View" menu, is this where you are looking? Do you see History and Toolbar menu items?

In any case, you can always reset layout to default by opening X Terminal (in Utilities) and deleting file ~/.aarddict/layout. In X Termial type
Code:

rm .aarddict/layout
and press Return key.

itkach 2010-04-02 17:39

Re: Is Py-QT going to turn up in extras soon - so i can install useful apps like aarddict?
 
Navigate > Lookup Box in Aard Dictionary menu also makes lokup pane visible.


All times are GMT. The time now is 10:31.

vBulletin® Version 3.8.8