maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   [M5+M6] Fremantle and Harmattan QtSDK and scratchbox VM (https://talk.maemo.org/showthread.php?t=95806)

Halftux 2015-08-01 18:27

Fremantle and Harmattan QtSDK and scratchbox VM
 
1 Attachment(s)
Because of the mess of the shutdowned servers we have loss in some packages releated to the QtSDK and a situation which it is not easy to set up new development environment.

Therefore I created from an old debian lenny laptop with scratchbox installed and from another ubuntu laptop where the QtSDK was installed, a VM with the latest stuff you could download in the past.
And I hope that some new people who would like to dig in to the development have an easier start and it doesn't matter if you on linux or windows.

In the end I migrated it to debian squeeze for the QtSDK.
With following included:

scratchbox tagets:
FREMANTLE_ARMEL
FREMANTLE_ARMEL_GCC472
FREMANTLE_X86
HARMATTAN_ARMEL
HARMATTAN_X86

QtSDK targets:
Harmattan PR1.0/PR1.1/PR1.2
Fremantle PR 1.3

It is maybe not perfect configured but I think it is a nice start.
I struggled all time with creating automatic dpkg packages so here is the chance to deal with it (manually it is working fine).

You need to change the dns server when you are in scratchbox by typing nano /etc/resolv.conf
and also from outside scratchbox /scratchbox/etc/resolv.conf

After packaging I try to upload it somewhere and will post it here.
After download you need to load the image with virtualbox.
So people who are working with sailfish should know it.

One thing I recognized now sadly, as I saw the screenshot, debian is set to german so you need to manage it to get it to english. In the end nothing is for free.:rolleyes:

...it is freaky huge still packing

Passwords for debian:

user: halftux
pw: maemo_1

su: root
pw: supermaemo_123

Downloads(md5):

Torrent
Filehoster
Dropbox

Update source list.
Update virtualbox guest additions.
To make use of the GCC472 Target.

peterleinchen 2015-08-01 19:47

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
halftux, that would be awesome.

You are aware of
ftp://ftp.informatik.hu-berlin.de/pu...l.no/QT/qtsdk/


and of course endsormeans efforts:
http://talk.maemo.org/showthread.php...78#post1472078
(which started here: http://talk.maemo.org/showthread.php...1&postcount=88)

Halftux 2015-08-01 20:57

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
Quote:

Originally Posted by peterleinchen (Post 1478468)
halftux, that would be awesome.

I hope so:) It could take a while because I need to upload around 10gb.

Quote:

Originally Posted by peterleinchen (Post 1478468)

Yes but these full_installer don't have latest ota update what ever that means. And when you choose the harmattan one you need to install for fremantle ota which will not work.

Quote:

Originally Posted by peterleinchen (Post 1478468)


Also yes and I really appreciate it. It seems he will support much more and it will run on a real computer which makes it faster.
When I get everything right.
My image should not stop his work I did it mainly for me because my codebox survived 2hdd thanks to the backups.
And then I made a vhd from my backup and tried it to load in virtualbox.
Finally it worked so I thought maybe it is useful for somebody else or somebody get some profit for his similar project.
So I made it "round" and want to upload it.
I think to have more choices is good.

Halftux 2015-08-02 09:23

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
I created a torrent hope this is not to slow. On monday I try to speed it up or will upload in addition 200mb parts. Torrent see first post the zip file.

endsormeans 2015-08-02 14:45

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
I think this is absolutely great Halftux.
Very creative a method of approach.
I did try multiple avenues and considered a similar method to yours..
but had to abandon it since my intent was to make a development environment to be so easy a flat-lining rutabaga in palliative care on life support could manage to figure it out and use it....essentially by doing the grunt work for the end-user.
[I'm not calling anyone here a brain-dead rutabaga of course...but I did feel we needed something soooo easy... for the new guard....the new generation of maemoans ...that people brand new to maemo would be able to just jump into development ...and for old guard members...it just makes setup and work smoother and less a pain is all...]
Also my version includes the qtsdk which Peter mentions...
The difference is...my versions are aimed at the n8x0 and n900 [and viable with the 770]
whereas yours takes into consideration Fremantle and Harmattan.

My view is that ...the more diversity and choice in options... the better.
Hard-difficult, easy-simple, large package or small,
Offering many things or even just 1 impossible-to-find-and-utilize function.
The more varied methods of implementation ...the better.
I think it's all great. And I think how and what you've done is very sharp, innovative.

Halftux 2015-08-03 08:51

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
It seems torrent is working not so well only two people could connect.
One from Israel and one for a short time from Austria.

I added a new torrent file with more trackers included I hope this will working better.

Or you could manually add some trackers.
Code:

udp://tracker.openbittorrent.com:80/announce

udp://explodie.org:6969/announce

http://mgtracker.org:2710/announce

http://tracker.tfile.me/announce

http://tracker1.wasabii.com.tw:6969/announce

udp://coppersurfer.tk:6969/announce

udp://open.demonii.com:1337/announce

http://www.torrent-downloads.to:2710/announce

http://www.torrent-downloads.to:2710/announce

http://www.torrent-downloads.to:2710/announce

udp://tracker.ccc.de:80/announce


Halftux 2015-08-04 09:52

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
Ok torrent is not good for legal things so here some direkt download links.
These links are only valid for 4 days maybe someone share it later with torrent, these are the same files.

http://mab.to/GgqqRqlva

JanneN9 2015-08-21 16:07

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
Hi,

Should I see somewhere user name / password for this VM :)

Janne

Halftux 2015-08-21 20:03

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
Quote:

Originally Posted by JanneN9 (Post 1479939)
Hi,

Should I see somewhere user name / password for this VM :)

Janne

Here you are and thx for trying.

user: halftux
pw: maemo_1

su: root
pw: supermaemo_123

Halftux 2016-01-04 13:08

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
Reuploaded due to request and possible upcoming cc.

Link is valid for only 5 days:

http://mab.to/YPDg6GLZx

Hoppo 2016-03-27 09:47

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
Quote:

Originally Posted by Halftux (Post 1493619)
Reuploaded due to request and possible upcoming cc.

Link is valid for only 5 days:

http://mab.to/YPDg6GLZx

Damn I missed it, will you re-upload, please?

kaiux 2016-04-05 04:51

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
Can you share again the Torrent?

Quote:

Originally Posted by Halftux (Post 1478462)
Because of the mess of the shutdowned servers we have loss in some packages releated to the QtSDK and a situation which it is not easy to set up new development environment.

Therefore I created from an old debian lenny laptop with scratchbox installed and from another ubuntu laptop where the QtSDK was installed, a VM with the latest stuff you could download in the past.
And I hope that some new people who would like to dig in to the development have an easier start and it doesn't matter if you on linux or windows.

In the end I migrated it to debian squeezy for the QtSDK.
With following included:

scratchbox tagets:
FREMANTLE_ARMEL
FREMANTLE_ARMEL_GCC472
FREMANTLE_X86
HARMATTAN_ARMEL
HARMATTAN_X86

QtSDK targets:
Harmattan PR1.0/PR1.1/PR1.2
Fremantle PR 1.3

It is maybe not perfect configured but I think it is a nice start.
I struggled all time with creating dpkg packages so here is the chance to deal with it.

After packaging I try to upload it somewhere and will post it here.
After download you need to load the image with virtualbox.
So people who are working with sailfish should know it.

One thing I recognized now sadly, as I saw the screenshot, debian is set to german so you need to manage it to get it to english. In the end nothing is for free.:rolleyes:

...it is freaky huge still packing


Halftux 2016-04-06 17:05

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
Quote:

Originally Posted by kaiux (Post 1502823)
Can you share again the Torrent?

I am sorry but I will not support the torrent anymore.

However I uploaded it again with different file size:

maemo_sdk_debian_32.bit.7z.001
maemo_sdk_debian_32.bit.7z.002
maemo_sdk_debian_32.bit.7z.003
maemo_sdk_debian_32.bit.7z.004
maemo_sdk_debian_32.bit.7z.005
maemo_sdk_debian_32.bit.7z.006
maemo_sdk_debian_32.bit.7z.007
maemo_sdk_debian_32.bit.7z.008
maemo_sdk_debian_32.bit.7z.009
maemo_sdk_debian_32.bit.7z.010
maemo_sdk_debian_32.bit.7z.011
maemo_sdk_debian_32.bit.7z.012
maemo_sdk_debian_32.bit.7z.013
maemo_sdk_debian_32.bit.7z.014

File size is 700MB so now they could be saved also on fat32. To extract the files you should have more than 30GB free space on your hard drive.

Due to funny people who report these files this will be the last time for public published links. If the links are down future links will only be available through pm.

kaiux 2016-04-06 17:07

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
Thank you for sharing the file

kaiux 2016-04-06 17:22

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
I dont want to ask you too much :D, but can you share the md5 of these files?

Quote:

Originally Posted by Halftux (Post 1502916)
I am sorry but I will not support the torrent anymore.

However I uploaded it again with different file size:

maemo_sdk_debian_32.bit.7z.001
maemo_sdk_debian_32.bit.7z.002
maemo_sdk_debian_32.bit.7z.003
maemo_sdk_debian_32.bit.7z.004
maemo_sdk_debian_32.bit.7z.005
maemo_sdk_debian_32.bit.7z.006
maemo_sdk_debian_32.bit.7z.007
maemo_sdk_debian_32.bit.7z.008
maemo_sdk_debian_32.bit.7z.009
maemo_sdk_debian_32.bit.7z.010
maemo_sdk_debian_32.bit.7z.011
maemo_sdk_debian_32.bit.7z.012
maemo_sdk_debian_32.bit.7z.013
maemo_sdk_debian_32.bit.7z.014

Links are valid for one year. File size is 700MB so now they could be saved also on fat32. To extract the files you should have more than 30GB free space on your hard drive.


Halftux 2016-04-06 17:56

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
Quote:

Originally Posted by kaiux (Post 1502922)
I dont want to ask you too much :D, but can you share the md5 of these files?

I could but only tomorrow. If there is a missmatch the files can't be extracted and 7zip will tell you which one you need to download again.

Halftux 2016-04-07 10:14

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
1 Attachment(s)
Here the md5 checksum:

F68CA117AB683A4782FDD944DB37A8AB maemo_sdk_debian_32.bit.vhd
1795B894F83B273EFE78C8DBBC31489F maemo_sdk_debian_32.bit.7z.001
B392BC51583179E1FE667C68978ED729 maemo_sdk_debian_32.bit.7z.002
94F41E03E1BE5C974FFCC3BF5DBBF652 maemo_sdk_debian_32.bit.7z.003


E6EF9D802FE1BF2FCC7918D4DD98B440 maemo_sdk_debian_32.bit.7z.014
38FB1C00A0A4E77BC3E1048B35B14E60 maemo_sdk_debian_32.bit.7z.013
CF3662FFBD25144684AA1EA244410828 maemo_sdk_debian_32.bit.7z.012
1B44C9F713351421334CE3C702E24BDC maemo_sdk_debian_32.bit.7z.011
432BEA624B2343656BDA6B3E6C50FEC8 maemo_sdk_debian_32.bit.7z.010
4B673110B3ADB9A1A864E66CF715A8FC maemo_sdk_debian_32.bit.7z.009
B3868FAAC8705AF9BB5EA4B0E096B847 maemo_sdk_debian_32.bit.7z.008
26D0ED9FA81ADBE05B313B75D3662428 maemo_sdk_debian_32.bit.7z.007
E56343CD8D5AFA50C6B068D9E1AAC407 maemo_sdk_debian_32.bit.7z.006
5E9257FDBE09BC027B771D3641C0FBB0 maemo_sdk_debian_32.bit.7z.005
CA6ECFE48C8B18C7782D95798936DB25 maemo_sdk_debian_32.bit.7z.004
BBF521E9ACCB89274F899B32015A2AC8 maemo_sdk_debian_32.bit.7z.003
1B1BF022EDE13859DF17ED25A0F728CA maemo_sdk_debian_32.bit.7z.002
280159A55870B85AC08F7BCDD32868CD maemo_sdk_debian_32.bit.7z.001

md5 file for the 14 files is attached to this post remove txt extension.

prosper 2016-04-26 08:53

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
I set up Hyper-X on windows, got into login screen with the fancy eye wallpaper. I'm trying to log in by providing the following user: halftux and psswd: maemo_1, but I get the "legitimation gescheitert. Buchstaben müssen unter (...)" message. Anything I'm doing wrong? Thanks.

Halftux 2016-04-26 11:47

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
Quote:

Originally Posted by prosper (Post 1504427)
Anything I'm doing wrong?

For me it looks ok..., try to write the password into username field to see If all letters are right.
It could be that the keys produce diffrent characters. Keyboard layout is set to german so maybe the underline "_" is somehow different.
Try to use the slash key instead "/".

prosper 2016-04-26 15:17

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
Thanks, that worked. It's hard to change lang and keyboard layout when you don't know the magic key combination for #, _ and many others : )

Halftux 2016-04-26 17:26

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
For changing language and keyboard I would suggest:

Open terminal console and login as su.

Code:

dpkg-reconfigure locales
and

Code:

dpkg-reconfigure console-data

Halftux 2016-09-13 13:46

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
To be able to download from the maemo repository from scratchbox you need to edit the resolv.conf:

Inside scratchbox by typing nano /etc/resolv.conf
Outside scratchbox /scratchbox/etc/resolv.conf

You need to change both!

mr_pingu 2016-11-16 16:11

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
Is the GCC472 target 'thumb'?
Why resolv.conf has to be edited and into what?

Having hopes to get something done for the CC (:

Halftux 2016-11-16 17:02

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
Quote:

Originally Posted by mr_pingu (Post 1518846)
Is the GCC472 target 'thumb'?

Atm it is not for cssu thumb configured but you could make one out of it.

1. install sb-thumb-errata-provider_0.1-1_armel.deb
2. edit the source.list; update and upgrade system
3. install libstdc++6-dev_4.7.2-0+cssu0_armel.deb

Or you could create a new target in scratchbox look here.

Quote:

GCC 4.7.2 does not produce thumb binaries by default, you should pass -mthumb if you want thumb resulting executables! without -mthumb it produces regular ARM ELFs

Quote:

Originally Posted by mr_pingu (Post 1518846)
Why resolv.conf has to be edited and into what?

The resolv.conf should have a valid DNS server. If dhcp was succesful you should have a valid DNS server in the normal resolv.conf. Then you need to make the resolv.conf from scratchbox equal to the normal one.

Quote:

Originally Posted by mr_pingu (Post 1518846)
Having hopes to get something done for the CC (:

Thumbs up!

shubell 2016-11-24 14:46

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
if anyone needs a torrent ;)
Magnet link

torrent

mr_pingu 2016-11-27 22:35

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
Another mirror incoming.

Dropbox

mr_pingu 2016-12-21 08:54

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
I can't get QEMU running in QtCreator as soon I choose maemo5 as build target I got this error:
Cannot deploy: Qemu was not running. It has now been started for you, but it will take a bit of time until it is ready.
Qemu finished with error: Exit code was 1.

is it my fault? Or is has this image some incomplete settings?

mr_pingu 2016-12-21 08:54

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
I can't get QEMU running in QtCreator as soon I choose maemo5 as build target I got this error:
Cannot deploy: Qemu was not running. It has now been started for you, but it will take a bit of time until it is ready.
Qemu finished with error: Exit code was 1.

is it my fault? Or is has this image some incomplete settings?

Halftux 2016-12-21 11:25

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
Quote:

Originally Posted by mr_pingu (Post 1520853)
I can't get QEMU running in QtCreator as soon I choose maemo5 as build target I got this error:
Cannot deploy: Qemu was not running. It has now been started for you, but it will take a bit of time until it is ready.
Qemu finished with error: Exit code was 1.

is it my fault? Or is has this image some incomplete settings?

I am sorry I did not much with the QtCreator for linux because I mainly used scratchbox on my Debian PIII 1GHz laptop. Hence I would guess this is the standard installation from QtCreator and this could mean that there is no emulator for maemo installed.
When I remember right on my windows QtCreator installation I needed to install additional packages for the emulator.
Sadly the nokia QtCreator packages repository is down and you can't install any additional packages.:(

So you could use a real N900 connected to the sdk.
Or you could compile under scratchbox for x86 and run your app with the output to Xephyr.
Or find an older QtCreator full setup which is only for maemo, it could be that the emulator is included (I will look and see if I could implement it in the VM image, but atm I am very busy).

Xephyr procedure:

Terminal 1:

Code:

Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac &
Terminal 2:

Code:

/scratchbox/login
sb-conf se FREMANTLE_X86
export DISPLAY=:2
af-sb-init.sh start
(after nothing happens anymore ctrl+c)
run your previously compiled app ./helloworld

to exit:
af-sb-init.sh stop
exit

mr_pingu 2016-12-21 13:30

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
Quote:

Originally Posted by Halftux (Post 1520859)
I am sorry I did not much with the QtCreator for linux because I mainly used scratchbox on my Debian PIII 1GHz laptop. Hence I would guess this is the standard installation from QtCreator and this could mean that there is no emulator for maemo installed.
When I remember right on my windows QtCreator installation I needed to install additional packages for the emulator.
Sadly the nokia QtCreator packages repository is down and you can't install any additional packages.:(

So you could use a real N900 connected to the sdk.
Or you could compile under scratchbox for x86 and run your app with the output to Xephyr.
Or find an older QtCreator full setup which is only for maemo, it could be that the emulator is included (I will look and see if I could implement it in the VM image, but atm I am very busy).

Xephyr procedure:

Terminal 1:

Code:

Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac &
Terminal 2:

Code:

/scratchbox/login
sb-conf se FREMANTLE_X86
export DISPLAY=:2
af-sb-init.sh start
(after nothing happens anymore ctrl+c)
run your previously compiled app ./helloworld

to exit:
af-sb-init.sh stop
exit

Thanks, now I have insight why it doesn't work. I will give it another shot and see if I can extract maemo emulator from one of these offline installers:
ftp://ftp.informatik.hu-berlin.de/pu...l.no/QT/qtsdk/

Halftux 2016-12-22 11:28

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
Quote:

Originally Posted by mr_pingu (Post 1520865)
Thanks, now I have insight why it doesn't work.

So I started manually qemu and it looks like it is a graphics driver problem. In squeeze there is no emulated gl driver it could be that there is a backport.

libEGL.so.1 is missing....

Halftux 2016-12-22 13:05

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
1 Attachment(s)
So I got the emulator in QtCreator running.

update sources.list and add apt.conf in /etc/apt/ see attachment.

run as su:
Code:

apt-get update
apt-get install libegl1-mesa
apt-get install libgles2
ln -s /usr/lib/libGLESv2.so.2.0.0 /usr/lib/libGLESv2.so.1
chmod -R 777 /opt/QtSDK


Halftux 2017-01-17 16:51

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
1 Attachment(s)
Reminder....

After the last Virtualbox update I wanted to update also the guest additions because I never did before.
Due to the backport sources there could be a new kernel.
Furthermore I got some hint about libgl need a fix.

So here is what I did:
as root:

Code:

strip -R .note.ABI-tag /usr/lib/libGl.so.1
ldconfig

It is also necessary that you check your kernel version (uname -r) and if the headers are missing install the headers for your running kernel.
After this you can install the guest additions.

druk13 2017-08-25 07:18

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
Hi Halftux!

Reactivatet :) my old N9 and tried to install the 'QtSdk-offline-win-x86-v1_2_1.exe'. But after the installation I had no harmattan toolchain :mad:.

Please, can you send me a link to downlaod your VM with SDK and targets for Harmattan and Fremantle.

Halftux 2017-08-25 07:54

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
Quote:

Originally Posted by druk13 (Post 1533197)
Hi Halftux!

Reactivatet :) my old N9 and tried to install the 'QtSdk-offline-win-x86-v1_2_1.exe'. But after the installation I had no harmattan toolchain :mad:.

Are you sure or did you download accidentally v_1_1_2 ?

Quote:

Originally Posted by druk13 (Post 1533197)
Please, can you send me a link to downlaod your VM with SDK and targets for Harmattan and Fremantle.

mr_pingu made a dropbox mirror in post 26. Please thanks to him.

druk13 2017-08-25 11:33

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
Quote:

Originally Posted by Halftux (Post 1533204)
Are you sure or did you download accidentally v_1_1_2 ?[/QUOTA]

mr_pingu made a dropbox mirror in post 26. Please thanks to him.

Yes, I've downloaded 'QtSdk-offline-win-x86-v1_2_1.zip' from 'http://n9.dy.fi/2015/08/install-qtsdk-1-2-1-with-the-offline-installer/" and installed it. The directory 'QtSDK\Madde\toolchains' is empty :mad:

Thank's. I will try dropbox. :)

Halftux 2017-08-25 11:43

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
@druk13 which windows version do you have btw?

You could also have a look here there is a link for qtsdk on mediafire.

druk13 2017-08-26 20:14

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
Quote:

Originally Posted by Halftux (Post 1533219)
@druk13 which windows version do you have btw?

You could also have a look here there is a link for qtsdk on mediafire.

@Halftux:
1) Windows 7 Professional

2) Please can you provide me a source for the file '3.2012.07-1harmattan-runtime.7z', because it does not exist on 'www.file-upload.net' :confused:

Halftux 2017-08-28 11:16

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
Quote:

Originally Posted by druk13 (Post 1533351)
2) Please can you provide me a source for the file '3.2012.07-1harmattan-runtime.7z', because it does not exist on 'www.file-upload.net' :confused:

updated the link

druk13 2017-08-28 11:57

Re: Fremantle and Harmattan QtSDK and scratchbox VM
 
Quote:

Originally Posted by Halftux (Post 1533429)
updated the link

Thank's :D


All times are GMT. The time now is 05:11.

vBulletin® Version 3.8.8