Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    Registered User webhamster2's Avatar
    Join Date
    Jan 2012
    Posts
    1
    Hi!

    I'm currently in the process of publishing my PySide app to the Ovi Store. However, I encountered some difficulties on the way. Currently, I'm using PySideAssistant to build a package for my application, but it includes some files which should not be included in the final package etc..

    As PSA doesn't get things right, I'm wondering whether I've taken the best approach to this problem. Via searching, I've found several possible ways, but what is the "standard" way to publish a simple python-only app to the store? Is it via the OBS? Should I write my own makefiles for packaging, using dpkg-*? Or is there a way using the QtCreator? Is there some mysterious tool of which I don't know?

    I'd be thankful for some pointers.
    Daniel

  2. #2
    Nokia Developer Moderator achipa's Avatar
    Join Date
    Oct 2009
    Location
    Finland
    Posts
    327
    Unfortunately, there is no official recommendation for the time being. For me it sounds that the most feasible way is to provide patches for PySideAssistant that would then result in acceptable packages (since it claims it's building for Harmattan, I would say it's actually a bugfix . Of course, QtCreator (or even Scratchbox) could be used, but that sounds like a massive overkill to me. So, do we have a list of things PySideAssistant does wrong or required things it doesn't do ?

  3. #3
    Registered User kemargrant's Avatar
    Join Date
    Jul 2011
    Posts
    1
    I am with you both. I keep getting apps rejected because of the version numbers and when I try to manually edit the files, the deb will no longer install normally.

  4. #4
    Registered User CaCO3's Avatar
    Join Date
    Jul 2011
    Posts
    69
    I am using scratchbox, since I had it already set up for Maemo 5.
    I know it "wastes" 22 GB of my hard drive, but I don't care that much about that.
    In there I use dpkg-buildpackage to build the deb for OVI store/Installation and the ,tar.gz file for the OBS server.
    Once you have set it up, it works quite well.

  5. #5
    Registered User AlphaX2's Avatar
    Join Date
    Feb 2012
    Posts
    32
    I also use pyside-assistant to build them - that works well and is fast. My problem is, that you are not able to set pyside-assistant to install to /opt/<appname> allways it's landing at /usr/share/... In case of Harmattan and thanks to it's partitions it's not that big problem, but also not the "common" way. :-/

    Any ideas?!

    AlphaX2

  6. #6
    Registered User AlphaX2's Avatar
    Join Date
    Feb 2012
    Posts
    32
    I've said it works well?! No! It WON'T work anymore, but I don't have any idea why!

    If I am creating a new project and want to build it, it says me "Failed to build initial package." BUT: it builds my old projects. I'm on Ubuntu 11.10?

    Edit: If you are not setting a name, it takes your login name and my RL name holds also a non ASCII sign.

    AlphaX2
    Last edited by AlphaX2; 2012-02-03 at 21:44.

  7. #7
    Registered User m4rtink's Avatar
    Join Date
    Aug 2011
    Posts
    3
    You might want to check out Khertans sdist_maemo. I've modified it a bit and I'm using it together with a simple bash script to produce Ovi store compatible packages for Mieru.

  8. #8
    Registered User AlphaX2's Avatar
    Join Date
    Feb 2012
    Posts
    32
    Is it working out of the box, by only changing personal information, or did you changed some parts of the code. If yes - could you publish it? And will it be possible to use aegis manifest file with this way of package building?

    Thanks in advance.

    AlphaX2

  9. #9
    Registered User m4rtink's Avatar
    Join Date
    Aug 2011
    Posts
    3
    Ok, I'll clean it up a bit and post a link.

  10. #10
    Registered User m4rtink's Avatar
    Join Date
    Aug 2011
    Posts
    3
    So, here it is:
    http://www.modrana.org/misc/mieru_build_example.zip

    It uses git to get the up-to-date source code and osc to upload the source package for building in OBS. It shouldn't be difficult to modify it to just get the source from a folder or build the package using dpkg (as no compilation is taking place).

    Sdist_maemo has been modified a bit, mostly regarding its numbering scheme, so that the resulting package is ovi-store compliant. I have also add some code that removes autogenerated *.egg file clutter, that has been causing me a few Ovi store QA rejections (in __init__.py, line 274). Wouldn't be bad is someone took the changes and upstreamed them. Something like sdist_harmattan_ovi target or ovi_compliant=True switch.
    Last edited by m4rtink; 2012-03-14 at 16:09.

  11. #11
    Registered User XeN's Avatar
    Join Date
    Mar 2011
    Location
    Potsdam, Germany
    Posts
    7
    Any news on pyside-assistant? I tried it today and Nokia QA keeps complaining about not optified packages for harmattan.
    Does someone has a solution? I really want to use psa for my apps but have no idea how to solve this problem.
    XG_

  12. #12
    Registered User Khertan's Avatar
    Join Date
    Nov 2009
    Posts
    10
    Quote Originally Posted by webhamster2 View Post
    Hi!

    I'm currently in the process of publishing my PySide app to the Ovi Store. However, I encountered some difficulties on the way. Currently, I'm using PySideAssistant to build a package for my application, but it includes some files which should not be included in the final package etc..

    As PSA doesn't get things right, I'm wondering whether I've taken the best approach to this problem. Via searching, I've found several possible ways, but what is the "standard" way to publish a simple python-only app to the store? Is it via the OBS? Should I write my own makefiles for packaging, using dpkg-*? Or is there a way using the QtCreator? Is there some mysterious tool of which I don't know?

    I'd be thankful for some pointers.
    Daniel
    Hi python's fan.

    I've published an PySide application to Ovi Store : KhtSimpleText.

    I've used PyPackager, it s a tool to package python software directly on device (on your n950 or n9). I use via a python script nammed make. Take a look at how i do on http://github.com/khertan/KhtSimpleText

    PyPackager informations : http://khertan.net/PyPackager
    http://khertan.net/

  13. #13
    Registered User Khertan's Avatar
    Join Date
    Nov 2009
    Posts
    10
    If you summit change to git, i can merge them
    http://khertan.net/

  14. #14
    Registered User AlphaX2's Avatar
    Join Date
    Feb 2012
    Posts
    32
    Hello,

    Thanks for sharing this possibility with us. But is it possible to integrate a aegis manifest file? Because if you want to use QtMobility stuff (location, organizer...) you need this - with pyside-assisstant it was possible, but it don't created "legal" packages for Nokia Store QA (because they want everything at /opt).

    Thanks, AlphaX2

  15. #15
    Registered User Khertan's Avatar
    Join Date
    Nov 2009
    Posts
    10
    I didn't have take the time to include aegis digest yet, so the answer is no. sorry
    http://khertan.net/

Page 1 of 2 12 LastLast

Similar Threads

  1. Submit a Python/Pyside based application to OVI store?
    By CaCO3 in forum [Archived] Application Submission
    Replies: 9
    Last Post: 2011-11-21, 19:46
  2. PySide / Ovi Store
    By Khertan in forum [Closed] Publishing to Nokia Store
    Replies: 0
    Last Post: 2011-06-27, 10:36
  3. Pyside QT on 64bit
    By wexcel in forum [Archived] Qt SDKs and Tools
    Replies: 1
    Last Post: 2011-04-15, 19:31
  4. what is the path to store database file in s60 3rd edition SDK
    By symbee in forum Symbian User Interface
    Replies: 0
    Last Post: 2006-07-14, 08:29

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved