Re: [SailfishDevel] Failed to load platform plugin xcb.

2014-07-14 Thread Juha Kallioinen

On 12.07.2014 21:10, Jukka Heikkilä wrote:

Hi folks!

During developing my program I have mostly used Emulator to run the 
app and sometimes also real device and testing has been worked fine on 
both. Now I faced the next problem with real device. When I press run 
from Qt Creator, it will normally compile the app and transfer it to 
real device. However next error will be shown on Application Output:


Connecting to device...
Failed to load platform plugin xcb. Available platforms are:
hwcomposer
eglfs
minimal
wayland-egl
wayland

Remote application crashed: Process killed by signal

I would like to ask, have you faced similar problems with it? Have you 
any idea how to fix this? From IRC logs and mail list I didn't found 
solution how to fix it (at least not sufficiently clear in related to 
my skills). On Emulator my app run fine.


Have you possibly installed another bash version for example from 
openrepos? Or have you done any customization in your .bashrc or .profile?


This failure is a symptom of the shell environment not being set 
correctly over ssh when Qt Creator starts your application. The default 
bash that comes with Sailfish has been compiled with a non-standard 
option to source the user's dotfiles even in a non-interactive session. 
If you've installed a newer bash (I understand that bash 4 is available 
from operepos), then it will cause this kind of an issue when executing 
binaries over ssh.


Another user was having a similar problem and we sorted it out in 
#sailfishos a few weeks ago:


http://merproject.org/logs/%23sailfishos/%23sailfishos.2014-07-01.log.html#t2014-07-01T11:12:04

Best regards,
 Juha

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Failed to load platform plugin xcb.

2014-07-14 Thread Jukka Heikkilä
Hi,

no. I don’t think that I have installed any other bash versions, but bash 
—versions gives:
GNU bash, versio 4.3.0(1)-release (armv7l-unknown-linux-gnueabi)
Copyright (C) 2013 Free Software Foundation, Inc.
Lisenssi GPLv3+: GNU GPL versio 3 tai uudempi http://gnu.org/licenses/gpl.html

So looks like it has been updated, but how? I don’t have any memories that I 
have installed it from openrepos…

Regards,
Jukka

Juha Kallioinen juha.kallioi...@jolla.com kirjoitti 14.7.2014 kello 10.22:

 On 12.07.2014 21:10, Jukka Heikkilä wrote:
 Hi folks!
 
 During developing my program I have mostly used Emulator to run the app and 
 sometimes also real device and testing has been worked fine on both. Now I 
 faced the next problem with real device. When I press run from Qt Creator, 
 it will normally compile the app and transfer it to real device. However 
 next error will be shown on Application Output:
 
 Connecting to device...
 Failed to load platform plugin xcb. Available platforms are: 
 hwcomposer
 eglfs
 minimal
 wayland-egl
 wayland
 
 Remote application crashed: Process killed by signal
 
 I would like to ask, have you faced similar problems with it? Have you any 
 idea how to fix this? From IRC logs and mail list I didn't found solution 
 how to fix it (at least not sufficiently clear in related to my skills). On 
 Emulator my app run fine.
 
 Have you possibly installed another bash version for example from openrepos? 
 Or have you done any customization in your .bashrc or .profile?
 
 This failure is a symptom of the shell environment not being set correctly 
 over ssh when Qt Creator starts your application. The default bash that comes 
 with Sailfish has been compiled with a non-standard option to source the 
 user's dotfiles even in a non-interactive session. If you've installed a 
 newer bash (I understand that bash 4 is available from operepos), then it 
 will cause this kind of an issue when executing binaries over ssh.
 
 Another user was having a similar problem and we sorted it out in #sailfishos 
 a few weeks ago:
 
 http://merproject.org/logs/%23sailfishos/%23sailfishos.2014-07-01.log.html#t2014-07-01T11:12:04
 
 Best regards,
  Juha
 
 ___
 SailfishOS.org Devel mailing list
 To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Failed to load platform plugin xcb.

2014-07-14 Thread Juha Kallioinen

On 14.07.2014 10:33, Jukka Heikkilä wrote:

Hi,

no. I don't think that I have installed any other bash versions, but 
bash ---versions gives:

GNU bash, versio 4.3.0(1)-release (armv7l-unknown-linux-gnueabi)
Copyright (C) 2013 Free Software Foundation, Inc.
Lisenssi GPLv3+: GNU GPL versio 3 tai uudempi 
http://gnu.org/licenses/gpl.html


So looks like it has been updated, but how? I don't have any memories 
that I have installed it from openrepos...


Ok that is the problem then. I also don't know how you've installed it, 
but I could guess that if you've ever configured openrepos to your 
phone, bash might have been installed as a dependency to some 
application from there.


You can see the package installation history by looking at the 
/var/log/zypp/history file on your device. Maybe that could give a clue 
when and how the updated bash has ended up there.


Best regards,
 Juha

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SailfishOS SDK install to /opt

2014-07-14 Thread Juha Kallioinen

On 12.07.2014 11:02, Marcin M. wrote:
Why do the mersdk/MerSDK and emulator/SailfishOS Emulator directories 
have 700 permissions? It makes the VMs unaccesible.


Those folder rights are correct. 700 means that the user has full 
read-write-exec rights to the directories. The SDK works only for a 
single user because of how the virtual machines get set up so you cannot 
have two or more users on the same machine using it. It also means that 
the user who installs it, needs to be the user that uses it.


It's hard to guess what might be the problem and if possible, I suggest 
a reinstall.


First uninstall the SDK and after that open up the VirtualBox manager UI 
and check that the MerSDK and SailfishOS Emulator virtual machines have 
really been removed. If they are still there, manually remove them. 
Furthermore before reinstalling, remove the configuration folder with: 
rm -rf ~/.config/SailfishAlpha4


Best regards,
 Juha

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Could not resolve the prototype ‘TextBaseItem’ of ‘TextBase’. (M301)

2014-07-14 Thread Juha Kallioinen

On 11.07.2014 23:26, Andrey Kozhevnikov wrote:
This is not error and just warning, and you can ignore it and continue 
developing.


That's correct. It's a warning from Qt Creator that it cannot provide 
the code completion suggestions for that class. It is a problem with the 
metadata that is provided with the SDK and that's something we need to 
improve in the future.


This does not affect building/compiling of your application.

Best regards,
 Juha

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] SailfishOS SDK install to /opt

2014-07-14 Thread Juha Kallioinen

On 14.07.2014 11:13, Marcin M. wrote:
Forgot to tell: the user owning it is root (who owns the whole 
/opt/SailfishOS)...


If installed to /home, works correctly.



Ok that was the problem. You can still install it under /opt as long as 
you first create the install dir manually and then set the access rights 
correctly for your user.


For example like this:

$ sudo mkdir -p /opt/SailfishOS
$ sudo chown -R $USER /opt/SailfishOS

And then install the SDK under /opt/SailfishOS

Best regards,
 Juha
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] [Update] Changelog for SailfishOS update 8 (1.0.8.19)

2014-07-14 Thread Bernd Wachter

Hi all,

we've released update8 today. The changelog can be found (and
commented on) here:

https://together.jolla.com/question/50175/release-notes-software-version-10819-tahkalampi/

Changelog and instructions are appended below, for discussions or update
instructions please go to together.

We'll take a break now, and should be back with the next update for
early September.


Whats new?
--

* Easily switch between open Android apps in the homescreen by tapping
  on their respective active covers i.e they are no longer grouped into
  one cover (This feature is experimental. You may face some issues
  while interacting with open Android apps, for e.g while running
  concurrent  apps playing audio, closing apps that have been in the
  background for days etc.)
* Add shortcuts to webpages in the app launcher area
* Set separate synchronization schedules per mail account
* Upload multiple files via Browser and be able to to filter files by
  file type during file selection
* Define email signature and sender name per account
* Save unsent messages as drafts when messages app is pushed to
  background 
* Search word auto-completion in Jolla Store
* Use stroke input method for writing in Chinese
* Define an end date when creating/modifying recurring calendar events
* Artist search support in Media player


Highlights of improvements
--

First time usage
* New version of tutorial app for beginners 
* Improved Get your content page in the Startup wizard

Connectivity
* New version of the connectivity stack
 
Calendar
* Enhanced day view: sparser background, support for 12h clock, all-day
  events shown right aligned near the top right corner when active
* App cover no longer displays already occurred events
* 'Edit' option is now available in the context menu (in addition to
  'Delete')
  
Security 
* Fixes kernel vulnerabilities CVE-2014-0196, CVE-2014-2851 and CVE-2014-3122 

Jolla store
* Displays top categories (Apps, Games, Jolla, Marketplaces) in the
  landing page and access sub-categories using left flick
* Displays OS update size before downloading the update
* Sorts My apps in alphabetical order  
 
Settings/Accounts
* Enhanced layout for accounts settings
* Displays account status information (disabled/not-logged in) and sync
  status of newly created accounts in the accounts overview page
* Allows disabling/enabling accounts from the context menu on the
  accounts listed in the accounts overview page
* Checks for missing profiles before doing a profile sync, and only
  syncs the required profiles

Mail
* Improved HTML email viewer 
* Ensures email accounts are automatically enabled/disabled if Mail app
  is installed/uninstalled
* Email signature and sync settings options removed from Mail app
  settings, instead can be set from the corresponding account settings

Active Sync/Exchange
* Updates default protocol used from version 12.0 to 14.0
* Improves handling of provision policy checks
 
Phone
* Implements reliability fixes to call duration logging
* Does not force minimized calling view to foreground during an active
  call
* A third incoming call (waiting call) is now handled properly when
  there are already two calls active
* DTMF tones and other indicator tones played during the voice call now
  follows the voice call volume
 
Messages
* Increases opacity and font size for message legibility

Sharing
* Sharing options list layouts have been polished

Bluetooth
* Improves detection of suitable Bluetooth devices for file sharing by
  checking whether  the device offers  'Object Transfer' service.

Android runtime
* GPS is now disabled only when all Android apps exit
* Application data for Android applications that are no longer installed
  will be cleaned up on boot
* CalendarProvider support added, Citrix GoToMeeting app no longer crashes
* Improves keyboard opening/closing transition
* Fixes device name to Jolla and displays it correctly in the Spotify
  Devices list
* Hides native keyboard when Android runtime surface loses focus
* Improved implementation of time zone information retrieval

Known issues
* Virtual keyboard pops up even though HW keyboard is connected via
  Bluetooth
* Unable to change the layout of the Bluetooth enabled hardware keyboard
  (default is US layout)
* Facebook account may need re-signing in on first boot after the
  upgrade
* WLAN positioning does not work when internet sharing is enabled
* In some very rare occasion, sending SMS might not work, only a reboot
  fixes this issue
* Some GPS crashes might occur on both native and Android applications 
* Search slider doesn't work on the 1st video taken from camera. Adding
  another video solves the issue
* Sometimes backups are not fully restored, a new trial usually fixes
  the issue
* Running concurrent Android apps playing audio is still experimental,
  for the time being we recommend to only use one at a time


Note to developers
As a follow up to the Changes to RPM side-loading 

[SailfishDevel] Sailfish OS SDK July update available tomorrow 12:00 UTC

2014-07-14 Thread Juha Kallioinen

Hello again,

Tomorrow (July 15th) at 12:00 UTC we will publish new installers and 
package repositories for our Sailfish OS SDK version Alpha-1407-Qt5.


If you already have an existing Alpha-Qt5 SDK installed you should see 
the Updates Available icon in Qt Creator. If you don't have a previous 
SDK installation you can get the latest installer from 
http://www.sailfishos.org.


It is recommended to uninstall the old SDK and download a new installer.

SDK content has been updated to match Jolla Release 1.0.8.19. Please see 
below for detailed information of the changes.


A couple of things you should be aware of:
- As before, in this update the build engine, emulator and targets are 
re-installed so you will lose all changes you may have made in those - 
however, if your application packaging is done correctly, rebuilding 
your projects should reinstall the packages you have been using.
- Any customization done to SDK (adding new package repositories, adding 
custom targets, additional source paths) will be removed during the 
installation process so make your own backup of those before starting 
the update.
- If you import existing projects made with a previous version of the 
Sailfish OS SDK, make sure to select the correct kit in the project 
configuration step. Both ARM and i486 kits are available.
- Windows users need to install VC10 runtime from 
http://www.microsoft.com/en-us/download/confirmation.aspx?id=8328 or the 
Installer will ask for admin rights during installation.
- Package repository contents have been updated and consequently using a 
previous SDK version with these package repositories is not supported.
- Supported host platforms can be found from: 
https://sailfishos.org/alpha_qt5_sdk_release_notes.html
- For more information, please see the SDK Alpha-Qt5 known issues list 
at: https://sailfishos.org/wiki/SDK_Alpha_Qt5_Known_Issues.


This is mainly a housekeeping release and here's the short summary of 
changes:


SDK IDE (Qt Creator)
- Fix bugs related to handling symlinked home directory or project 
directory. This change affects only Linux and Mac hosts.

- Updated component gallery sources in the Example projects
- Updated Sailfish Silica help documentation

Installer:
- Fix Sailfish template application source location in Mac installer. 
Mac users should check out the updated default template application, it 
has some changes that were missing in the previous installer.


SDK Build engine:
- Build targets refreshed to Jolla release 1.0.8.19 level.
- RPM repositories point to releases.jolla.com instead of 
releases.sailfishos.org.


SDK Control Center:
- No updates

Emulator:
- Emulator packages refreshed to Jolla release 1.0.8.19 level.
- RPM repositories point to releases.jolla.com.

Website:
- The Silica documentation at http://sailfishos.org/sailfish-silica/ 
updated to current level.


If you have any questions, feel free to either send an email to this 
mailing list: mailto:devel@lists.sailfishos.org or write it up in 
http://together.jolla.com and tag your issue with 'sdk'.


Happy hacking,
Jolla SDK Team.

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org