Hi Roberto

Looks good from my humble point of view.

One thing I've noticed: you use the user nemo to install to the Emulator, I have tended to use root. I wonder if there are any advantages / disadvantages / side-effects in using root vs nemo. Perhaps somebody more knowledgable can comment.

If you are interested in installing "import libraries" you will find some articles on how I do this on my Sailfish blog:

http://flyingsheeponsailfish.blogspot.ch/2013/08/alpha-2-installing-import-library-on.html

http://flyingsheeponsailfish.blogspot.ch/search?updated-max=2013-06-01T10:30:00%2B02:00&max-results=7&start=7&by-date=false

Grüsse

Chris


Zitat von "Roberto Colistete Jr." <roberto.colist...@gmail.com>:

    Hi,

My procedure for adding packages & repositories to MerSDK and Sailfish Emulator (Alpha Qt5), for example, the "mer-python3" repository (https://build.merproject.org/project/show?project=mer-python3) and "python3" package :

1) In MerSDK & target i486 (via ssh) :
a) adding repository to MerSDK, for example the "mer-python3" one :
mersdk@SailfishSDK:~$ sudo zypper ar -f http://repo.merproject.org/obs/mer-python3/latest_i486/ mer-python3
mersdk@SailfishSDK:~$ sudo zypper ref
b) adding repository to i486 target in MerSDK :
mersdk@SailfishSDK:~$ sb2 -t SailfishOS-i486-x86 -m sdk-install -R zypper ar -f http://repo.merproject.org/obs/mer-python3/latest_i486/ mer-python3
mersdk@SailfishSDK:~$ sb2 -t SailfishOS-i486-x86 -m sdk-install -R zypper ref
c) adding packages to MerSDK :
mersdk@SailfishSDK:~$ sudo zypper in python3-base python3-devel
d) adding packages to i486 target in MerSDK :
I. go to "SailfishOS IDE (Qt Creator) -> SailfishOS mode -> Targets -> Manage SailfishOS-i486-x86" and select the packages to install;
II. or :
mersdk@SailfishSDK:~$ sb2 -t SailfishOS-i486-x86 -m sdk-install -R zypper in python3-base python3-devel then go to "SailfishOS IDE (Qt Creator) -> SailfishOS mode -> Targets -> Manage SailfishOS-i486-x86 -> sync".

2) In Sailfish Emulator (via ssh) :
[nemo@SailfishEmul ~]$ sudo zypper ar -f http://repo.merproject.org/obs/mer-python3/latest_i486/ mer-python3
[nemo@SailfishEmul ~]$ sudo zypper ref
[nemo@SailfishEmul ~]$ sudo zypper in python3-base

If there is some error, feel free to comment. I want to update the 1st post of the topic "Sailfish SDK Alpha Qt5 released " in Talk Maemo.org (http://talk.maemo.org/showthread.php?t=89294) with useful info.



_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to