PLEASE NOTE!
Tampering with custom repositories on Jolla might leave you with a bricked device, please take care to follow instructions and do this only if you really know what you are doing! This requires developer mode to be enabled on your device.
THERE WILL BE BUGS! YOU HAVE BEEN WARNED!
PLEASE NOTE!
First, download a couple of RPM packages, package1 and package2 (for glacier gallery download this package). Then in your device, preferably do this over ssh, do this:
devel-su
ssu ar http://repo.merproject.org/obs/nemo:/devel:/mw/latest_armv7hl/ nemo-devel-mw
ssu er nemo-devel-mw
ssu ur
pkcon refresh
cd /home/nemo/Downloads
pkcon install-local qt5-qtquickcontrols-nemo-5.1.0-nemo1.armv7hl.rpm
ssu dr nemo-devel-mw
ssu ur
pkcon refresh
pkcon install-local lipstick-glacier-home-qt5-0.0.0-1.armv7hl.rpm
# Then do this:
systemctl-user restart lipstick.service
# After you have done testing it
pkcon remove lipstick-glacier-home-qt5
pkcon install lipstick-jolla-home-qt5
systemctl-user restart lipstick.service
Thats it then, you have successfully tested the Glacier homescreen experience on your Jolla device, good luck testing it :)
Thursday, March 20, 2014
Sunday, November 3, 2013
Installing SDK version of Sailfish UI on N9
CAUTION: Might break your stuff, back up your nemo installation
beforehand if you want to be cautious. You have been warned!
!! KNOWN ISSUE !!
Zypper does not always cache the packages, remove lipstick-jolla-home-qt5 with --clean-deps and try again.
Please note, an official guide is coming up from Jolla, which demonstrates this entire process into making an image. This guide will be updated with instructions regarding that.
First things first, you need a working copy of Nemo Mobile running on N9, you can grab one from this link, magnet link. I will not cover the installation of Nemo Mobile for your N9, you can follow this guide to do that.
You also need a working copy of Sailfish SDK running. I will also not cover the installation process here but its quite straightforward to setup. After having a Mer SDK virtual machine instance running, do this to gain ssh access to the virtual machine:
ssh -i ~/SailfishOS/vmshare/ssh/private_keys/engine/mersdk mersdk@localhost -p 2222
beforehand if you want to be cautious. You have been warned!
!! KNOWN ISSUE !!
Zypper does not always cache the packages, remove lipstick-jolla-home-qt5 with --clean-deps and try again.
Please note, an official guide is coming up from Jolla, which demonstrates this entire process into making an image. This guide will be updated with instructions regarding that.
First things first, you need a working copy of Nemo Mobile running on N9, you can grab one from this link, magnet link. I will not cover the installation of Nemo Mobile for your N9, you can follow this guide to do that.
You also need a working copy of Sailfish SDK running. I will also not cover the installation process here but its quite straightforward to setup. After having a Mer SDK virtual machine instance running, do this to gain ssh access to the virtual machine:
ssh -i ~/SailfishOS/vmshare/ssh/private_keys/engine/mersdk mersdk@localhost -p 2222
In this ssh shell, run:
sb2 -t SailfishOS-armv7hl -m sdk-install -R zypper mr -k -all
Then:
sb2 -t SailfishOS-armv7hl -m sdk-install -R zypper in lipstick-jolla-home-qt5
This generates rpm packages to /parentroot/srv/mer/targets/SailfishOS-armv7hl/var/cache/zypp/packages/jolla/ subdirectories, copy them all over to a separate directory on the host machine as one flat directory, like this:
mkdir ~/sailfishrpms
cd /parentroot/srv/mer/targets/SailfishOS-armv7hl/var/cache/zypp/packages/jolla/
cp ./*/*/*.rpm ~/sailfishrpms/
Copy these over to Nemo Mobile running in N9, using eg. scp. Usually one wants to copy over entire directory like the above sailfishrpms.
Then in the device, over ssh, execute:
cd sailfishrpms
zypper install --force *
This will install all of the generated rpms to the device, although with warnings, afterwards reboot to gain access of the Sailfish, SDK version, homescreen.
CAUTION: Might break your stuff, back up your nemo installation beforehand if you want to be cautious. You have been warned!
CAUTION: Might break your stuff, back up your nemo installation beforehand if you want to be cautious. You have been warned!
Monday, September 9, 2013
Adding armv7hl target to Sailfish SDK
ssh -i ~/SailfishOS/vmshare/ssh/private_keys/engine/mersdk -p 2222 mersdk@localhost
sudo -s
mer-cross=%(releaseProtocol)://%(releaseDomain)/%(releasePath)/%(release)/mer/%(arch)/cross/
release=jolla,nemo,mer-core,mer-cross
ssu er mer-cross ssu ur zypper ar http://repo.merproject.org/obs/mer-tools:/testing/latest_i486/mer-tools:testing.repo zypper ref zypper dup
The Sailfish SDK now has arm toolchain installed by default, so you only need to add a target:
The next step is to install a viable target to the SDK. Return to 'Targets' tab and make sure that Mer-SB2-armv7hl is the selected toolchain, then add whatever name you'd like for you target and as the target url add:
https://dl.dropboxusercontent.com/s/5w8uwazmdsaalgn/nemo-wayland-arm.tar.bz2
Target installation should now proceed to download the target image, unpacking it and then updating Qt Creator with the newly created target.
And that's pretty much it, you can now compile Qt5 applications with Sailfish SDK. The build will also work for Sailfish applications but running them won't work as Jolla is still to release the Silica library for armv7hl.
Stay tuned for the knowledge of getting Qt5 apps to run on your N9/50 Nemo Wayland, from within Qt Creator, in the near future!
Subscribe to:
Posts (Atom)