Active Topics

 


Reply
Thread Tools
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#31
@itkach: hmm, it seems libqt4-core and libqt4-gui are just metapackages on Diablo (the real ones are libqtcore4 and libqtgui4) and have different dependencies than the Fremantle counterparts. Will try to dance around that...

Regarding phonon, unfortunately webkit requires phonon (that's a Qt level thing), not much we can do about that. As for Python2.6 and phonon, we're in a bit different position than upstream so should be mostly safe from the problem that requires 2.6.
__________________
Blogging about mobile linux - The Penguin Moves!
Maintainer of PyQt (see introduction and docs), AppWatch, QuickBrownFox, etc
 

The Following 2 Users Say Thank You to attila77 For This Useful Post:
Posts: 729 | Thanked: 155 times | Joined on Dec 2009
#32
Originally Posted by attila77 View Post
Yes, for some reason the autobuilder did not build the opengl (sub)package even though it builds just fine in my SDK. Looking into it.
Have you already found a solution for this?
 
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#33
Lack of coffee. Upstream changed package names, so all is well, just use python2.5-qt4-gl (NOT opengl !) as package name. Note that pyopengl libs (currently not in any repos I know of) might be needed for things to actually run, but that's a bit out of my scope
__________________
Blogging about mobile linux - The Penguin Moves!
Maintainer of PyQt (see introduction and docs), AppWatch, QuickBrownFox, etc
 

The Following 2 Users Say Thank You to attila77 For This Useful Post:
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#34
Diablo users: there is a newer version, -maemo4 that should use Qt versions for dependency checking. Please check if this works better than the previous pymaemo-optify/maemo-version-dev combo.
__________________
Blogging about mobile linux - The Penguin Moves!
Maintainer of PyQt (see introduction and docs), AppWatch, QuickBrownFox, etc
 

The Following User Says Thank You to attila77 For This Useful Post:
Posts: 53 | Thanked: 90 times | Joined on Nov 2009 @ Manaus, Brazil
#35
Originally Posted by attila77 View Post
http://repository.maemo.org/ diablo/sdk free

Apparently devices get this repo if they install some of the dev packages. Thought it was standard (as it is on the N900), apparently not I'll try to dig up something specific (kernel-diablo-flasher ?) and replace maemo-version-dev... Suggestions welcome
AFAIK, it is not standard to have the SDK repositories on the tablet. People usually add it to get some dependencies, but AFAIK the default images do not have it added.

BTW, you don't have to depend on pymaemo-optify directly. In fact, this is not recommended. Simply depend on "python" (or "python2.5" to work with previous products) and pymaemo-optify will be pulled too.
__________________
Anderson Lizardo
 

The Following User Says Thank You to lizardo For This Useful Post:
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#36
Originally Posted by lizardo View Post
AFAIK, it is not standard to have the SDK repositories on the tablet. People usually add it to get some dependencies, but AFAIK the default images do not have it added.
Yes, got rid of it in the latest releases.

BTW, you don't have to depend on pymaemo-optify directly. In fact, this is not recommended. Simply depend on "python" (or "python2.5" to work with previous products) and pymaemo-optify will be pulled too.
My concern was what about the people who are still on PR1.0 when they try to install a PyQt app from Extras ? Without explicit optification dependency, the bindings would not only be useless, but quite dangerous because of the NAND space they would use. But if you say that's not a problem, I can remove it, I'm not emotionally tied to that depencency
__________________
Blogging about mobile linux - The Penguin Moves!
Maintainer of PyQt (see introduction and docs), AppWatch, QuickBrownFox, etc
 
itkach's Avatar
Posts: 95 | Thanked: 41 times | Joined on May 2006 @ New Jersey, USA
#37
Originally Posted by attila77 View Post
Will try to dance around that...
Thanks - anything to get the size down is very much appreciated on N8x0
__________________
Aard DictionarySDict Viewer
 
Posts: 53 | Thanked: 90 times | Joined on Nov 2009 @ Manaus, Brazil
#38
Originally Posted by attila77 View Post
My concern was what about the people who are still on PR1.0 when they try to install a PyQt app from Extras ? Without explicit optification dependency, the bindings would not only be useless, but quite dangerous because of the NAND space they would use. But if you say that's not a problem, I can remove it, I'm not emotionally tied to that depencency
I believe you are referring to users who might have a python2.5 version prior to the optification. These old versions existed only in extras-devel, so the user would only have it if he/she enabled extras-devel in the first place.

Most regular users who never enabled extras-devel never got a non optified python installation, because the first version to enter extras was already optified.

So if you want to target these users (which I believe are now only a few, but I cannot guarantee that), then you should (IMHO) add a greater-than-or-equal versioned dependency on python2.5 to the version available in extras:

Depends: ... python2.5 (>= 2.5.4-1maemo5)

This should have the same effect, but without depending on the pymaemo-optify package explicitly (with the bonus that you enforce users to install a decently new python runtime).

Of course, you will need to find a way to arrange things so you can support previous Maemo releases; I'm talking only about fremantle here.
__________________
Anderson Lizardo
 

The Following 2 Users Say Thank You to lizardo For This Useful Post:
Posts: 292 | Thanked: 131 times | Joined on Dec 2009
#39
I'm a N900 and a Python noob, so forgive my lack of experience here...

I'm trying to run python2.5-qt4-doc on scratchbox. However, after installing it from extra-testing I'm having the following error:

-------
Traceback (most recent call last):
File "/usr/share/python2.5-qt4-doc/examples/demos/qtdemo/qtdemo.py", line 46, in ?
import sip
ImportError: No module named sip
-------

python2.5-sip4 is already installed. :-( Any ideas?
 
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#40
Originally Posted by soeiro View Post
I'm a N900 and a Python noob, so forgive my lack of experience here...

I'm trying to run python2.5-qt4-doc on scratchbox. However, after installing it from extra-testing I'm having the following error:

-------
Traceback (most recent call last):
File "/usr/share/python2.5-qt4-doc/examples/demos/qtdemo/qtdemo.py", line 46, in ?
import sip
ImportError: No module named sip
-------

python2.5-sip4 is already installed. :-( Any ideas?
Make sure you're running the proper python, i.e. the Maemo one, not the (outdated) scratchbox one ! Start with

python2.5 /usr/share/python2.5-qt4-doc/examples/demos/qtdemo/qtdemo.py
__________________
Blogging about mobile linux - The Penguin Moves!
Maintainer of PyQt (see introduction and docs), AppWatch, QuickBrownFox, etc
 
Reply

Tags
development, pyqt, pyside, python, qt4


 
Forum Jump


All times are GMT. The time now is 02:35.