Re: [SailfishDevel] SailfishOS SDK April update available tomorrow. [update:all installers and repositories are online]

2014-04-18 Thread Juha Kallioinen

On 18.04.2014 03:09, Juha Kallioinen wrote:
Hi, I installed ubuntu 14.04 (not KDE) to my Mac vmware Fusion and the 
SDK into that - I'm seeing the same problem here now.


What's your host machine and how do you run the SDK in it? I'm just 
trying to collect more info to figure out what's common in our systems.


If I set all the environment variables correctly (from 
/var/lib/eviconment/compositor/*.conf) and run lipstick from nemo's 
console it crashes to a SIGILL in the end.




Seems that this is caused by unsupported CPU capability (AVX) leaking 
into VirtualBox in some machines. At least that's my case. The 
mesa-llvmpipe  packages need patching and that's in the pipeline now. I 
hope we can get a new patched Emulator out there some time next week 
already, but since today and Monday are public holidays in Finland, 
there can be delays.


Mikael, I would be interested to hear the specs of your machine where 
you have this problem. And do you happen to run the SDK in another 
virtual machine by any chance?


Best regards,
 Juha

___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] SailfishOS SDK April update available tomorrow. [update:all installers and repositories are online]

2014-04-18 Thread christopher . lamb

Hi Juha and Mikael

For what it is worth, to kill some time while a batch of beer is  
brewing, I installed Kubuntu 14.04 in a VM, and then the April SDK.


In my case the Emulator does work in Kubuntu 14.04 - though it does  
take inordinately long to do so (maybe down to the multiple layers of  
VMs.


The mother host is an Mac Pro 2008 running Mavericks and Professional  
Version 6.0.3 (1747349).


In that I did I fresh install of Kubuntu 14_04 64 bit.

Into this I installed VirtualBox 4.3.10 for Linux (package for Ubuntu  
13.04 (Raring Ringtail) / 13.10 (Saucy Salamander) AMD), and the  
April SailfishOS SDK.


Having installed everything, the Emulator starts, and I eventually get  
a GUI, and am able to deploy a demo Hello Sailors app.


Cheers

Chris






Zitat von Juha Kallioinen juha.kallioi...@jolla.com:


On 17.04.2014 23:55, Mikael Hermansson wrote:

Reinstall from scratch did not solve the issue.

I guess kubuntu 14.04 have to be blacklisted for now since emulator  
don't work

:/

Let me know if someone else got similar issues.

Btw. the touchpointer is shown.



Hi, I installed ubuntu 14.04 (not KDE) to my Mac vmware Fusion and  
the SDK into that - I'm seeing the same problem here now.


What's your host machine and how do you run the SDK in it? I'm just  
trying to collect more info to figure out what's common in our  
systems.


If I set all the environment variables correctly (from  
/var/lib/eviconment/compositor/*.conf) and run lipstick from nemo's  
console it crashes to a SIGILL in the end.


Best regards,
 Juha
___
SailfishOS.org Devel mailing list





___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] SDL_mixer: different behaviour between emulator and actual device

2014-04-18 Thread Thomas Perl
On 15 Apr 2014, at 18:40, Iosif Hamlatzis i.hamlat...@gmail.com wrote:
 Just verified it the sample from https://github.com/thp/sdl2-opengles-test 
 regarding the mixer only works on the emulator. 
 
 On the emulator every time you touch the screen a sound (.ogg file format) is 
 played, but on the actual device no sound comes out.
 
 Did something go wrong when SDL2_mixer was ported to SailfishOS?

A fix for that is here:

https://github.com/mer-qa/sdl2-opengles-test/pull/2

See also: https://github.com/thp/sdl2-opengles-test/issues/1

HTH :)
Thomas
___
SailfishOS.org Devel mailing list


[SailfishDevel] Systems/Apps

2014-04-18 Thread Vincent B.
Hi,

Is there a way to configure homebrew apps from this menu ? Would be
useful, but I did not find documentation on how to make an app present
configuration options from this menu.

Cheers,

Vincent
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Systems/Apps

2014-04-18 Thread Andrey Kozhevnikov

for Harbour its not allowed, because its executed with system privileges.
for yourself you can hack /usr/share/jolla-settings/
put into entries/ json definitions file
and put into pages/ your settings page

18.04.2014 22:52, Vincent B. пишет:

Hi,

Is there a way to configure homebrew apps from this menu ? Would be
useful, but I did not find documentation on how to make an app present
configuration options from this menu.

Cheers,

Vincent
___
SailfishOS.org Devel mailing list


___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] SailfishOS SDK April update available tomorrow. [update:all installers and repositories are online]

2014-04-18 Thread Mikael Hermansson
My host is running on LenovoX230 with 3rd gen Intel Core and 
Intel GFX 4000 and no nested VBox, just core kubuntu 14.04 host.


On Friday, April 18, 2014 14:17:14 Juha Kallioinen wrote:
 On 18.04.2014 03:09, Juha Kallioinen wrote:
  Hi, I installed ubuntu 14.04 (not KDE) to my Mac vmware 
Fusion and the
  SDK into that - I'm seeing the same problem here now.
  
  What's your host machine and how do you run the SDK in it? 
I'm just
  trying to collect more info to figure out what's common in 
our systems.
  
  If I set all the environment variables correctly (from
  /var/lib/eviconment/compositor/*.conf) and run lipstick from 
nemo's
  console it crashes to a SIGILL in the end.
 
 Seems that this is caused by unsupported CPU capability (AVX) 
leaking
 into VirtualBox in some machines. At least that's my case. The
 mesa-llvmpipe  packages need patching and that's in the 
pipeline now. I
 hope we can get a new patched Emulator out there some time 
next week
 already, but since today and Monday are public holidays in 
Finland,
 there can be delays.
 
 Mikael, I would be interested to hear the specs of your 
machine where
 you have this problem. And do you happen to run the SDK in 
another
 virtual machine by any chance?
 
 Best regards,
   Juha
 
 ___
 SailfishOS.org Devel mailing list

-- 
I am Software engineer and Open Source geek:

Professional experience in Qt/QML, C++, C, Python, GIT, Linux on 
embedded.

Twitter: http://www.twitter.com/mikecomputing
Linkedin: http://www.linkedin.com/pub/mikael-hermansson/30/95b/204
Diaspora: https://diasp.eu/u/mike7b4
Phone: +46732546542

___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] SailfishOS SDK April update available tomorrow. [update:all installers and repositories are online]

2014-04-18 Thread Juha Kallioinen

On 18.04.2014 14:35, christopher.l...@thurweb.ch wrote:

Hi Juha and Mikael

For what it is worth, to kill some time while a batch of beer is 
brewing, I installed Kubuntu 14.04 in a VM, and then the April SDK.


In my case the Emulator does work in Kubuntu 14.04 - though it does 
take inordinately long to do so (maybe down to the multiple layers of 
VMs.


The mother host is an Mac Pro 2008 running Mavericks and Professional 
Version 6.0.3 (1747349).


In that I did I fresh install of Kubuntu 14_04 64 bit.

Into this I installed VirtualBox 4.3.10 for Linux (package for Ubuntu 
13.04 (Raring Ringtail) / 13.10 (Saucy Salamander) AMD), and the 
April SailfishOS SDK.


Having installed everything, the Emulator starts, and I eventually get 
a GUI, and am able to deploy a demo Hello Sailors app.




Hi Chris,

thanks for testing! I think your Mac Pro from 2008 is a bit too old to 
encounter this problem. The problematic instruction set extension 'AVX' 
was introduced in 2011 in Intel CPUs. My Mac is from late 2011 and I got 
the problem when running Ubuntu 12.04 or 14.04 in VMware, but not in the 
native Mac SDK 1404.


We had this same problem in earlier SDKs and it presented itself more 
easily back then (just on my linux laptop) and was patched in the 
mesa/llvm packages. Those packages were updated some time after the 
previous SDK release and the patches were dropped, because it looked 
like the problem was gone.


But here we are... reapplying the AVX patches makes the problem go away 
at least in in my Mac + VMware environment.


Also, as you report, running the SDK inside another virtual machine 
makes it run really slowly.


Best regards,
 Juha



___
SailfishOS.org Devel mailing list


[SailfishDevel] SDL2 family library on market?

2014-04-18 Thread Iosif Hamlatzis
I don't get it, can or cannot we use the SDL2 family libraries on our
games? My game was rejected for requiring the shared libraries.

I then according to the FAQ added them to the
/usr/share/HARBOUR_APP_NAME/lib, updated the makefile to find them using
rpath and built my game, also used the macros related to excluding
installed libraries.

Before uploading the changes I tried the rpmvalidation.sh and now I get
that my package cannot require shared libraries such as SDL2* freetype,
glib and others, also that private libraries are shipped with the package.

I don't get it am I missing something?



my harbour-farwest.spec file:



Name:   harbour-farwest

Summary:A video slot game with the wild west theme

Version:1.0.1

Release:2

Group:  Games

License:Proprietary

URL:http://7cecdab4.blogspot.gr/2014/01/farwest.html

Source: %{name}-%{version}.tar.bz2


BuildRequires: pkgconfig(sdl2)

BuildRequires: pkgconfig(egl)

BuildRequires: pkgconfig(glesv1_cm)

BuildRequires: pkgconfig(glesv2)

BuildRequires: pkgconfig(SDL2_image)

BuildRequires: pkgconfig(SDL2_ttf)

BuildRequires: pkgconfig(SDL2_mixer)

# for playing sound

BuildRequires: pkgconfig(audioresource)

BuildRequires: pkgconfig(glib-2.0)

# for playing sound


%description

A video slot game with the wild west theme


%prep

%setup -q -n %{name}-%{version}


#  macros

# list here all the libraries your RPM installs

%define __requires_exclude ^libSDL2*$

#  macros


%build

# Command used to compile the application

make


%install

rm -rf %{buildroot}

# Command used to install files into %{buildroot}

%make_install


%files

%defattr(-,root,root,-)

%{_bindir}/%{name}

%{_datadir}/%{name}

%{_datadir}/applications/%{name}.desktop

%{_datadir}/icons/hicolor/86x86/apps/%{name}.png
___
SailfishOS.org Devel mailing list

[SailfishDevel] Qt Kits broken on Windows?

2014-04-18 Thread Gabriel Böhme

Hi Sailors,

I've switched to Win8.1 Pro and one of the first things to do was to 
install the latest SDK (fresh). ;) But now my Qt Kits shown as broken in 
the settings (red warning sign). In the next tab the QtVersions seems to 
be the problem, because it says that qmake can't be found or is not 
executable. But the qmake, make, deploy ... *.cmd files are there in 
AppData/Roaming where the path want's them.


Any idea, hint, or known problem?

Thanks, Gabriel.
___
SailfishOS.org Devel mailing list