![]() |
How to call a dependency from Ovi Store?
I made a theme package, that must be activate it with this app in ovi store called "theme settings"
So i would like to know how can i make the dependency call from my theme package when the file is installing. I tried modifying the control file adding: Code:
Depends: meegotouchtheme-settingsSo i don't know how to point my app installer to installs "theme settings" before it installs itselfs. Any idea how can i do this? |
Re: How to call a dependency from Ovi Store?
There is no such package in Harmattan repositories, so the error is correct. So what are you really trying to install?
Edit: ah now I figured out what you are trying to do. You cannot add depency to packages that are in ovi store. You can only add depencies to Harmattan repo. So your out of luck, you cannot add depency in deb package, if you really want to kludge around, then your have to add some checking into your application if depency has been installed and if not then open the url to ovi store to download the depency. |
Re: How to call a dependency from Ovi Store?
It is a must-need app for my theme package, called "theme settings" (http://store.ovi.com/content/300721)
Maybe i express myself wrong and maybe its not called dependency, it is an app that must be installed in the phone to apply my theme deb package.(http://talk.maemo.org/showthread.php?t=85554) What i want is that the installer first install "theme settings" from ovi store before installs my theme. |
Re: How to call a dependency from Ovi Store?
yep there is no way to do that. Only way is to kludge your application to check missing depency and open url to download page.
|
Re: How to call a dependency from Ovi Store?
Since there is no real "app", this is just a theme, what would be the best way to check this? post install script or something?
|
Re: How to call a dependency from Ovi Store?
Quote:
|
Re: How to call a dependency from Ovi Store?
flotron, you can do something like this:
1. Download Theme settings and put this app to your package, for example: /home/user/MyDocs/Downloads 2. Create a small script with something like this: Code:
#!/bin/sh3. In your postinst script add command to run this script: Code:
sh /home/user/MyDocs/Downloads/my-script.sh |
Re: How to call a dependency from Ovi Store?
Thank you for your help Schturman but the main idea is to start publishing harmattan themes in Ovi Store and keep themes separated from the "theme runner" that its not developed by me. And for respect to the original developer.
The developer send me an example theme that make this job but i don't understand it, here is the source and de deb file. This example theme do the job that i want, but i don't know how to apply it to my theme Code:
#include <MMessageBox> |
Re: How to call a dependency from Ovi Store?
How do you package your themes? Scratchbox?
If yes, untar the sample theme, replace the theme folder with your theme, edit the control and changelog file with your info and then dpkg-buildpackage -rfakeroot |
Re: How to call a dependency from Ovi Store?
i package with this script
Code:
#!/bin/shSorry if i'm saying silly things here but im trying to learn something:confused: |
| All times are GMT. The time now is 23:46. |
vBulletin® Version 3.8.8