Reply
Thread Tools
flotron's Avatar
Posts: 418 | Thanked: 506 times | Joined on Jan 2012 @ Argentina
#21
Originally Posted by thedead1440 View Post
That's because its been brought offline. Till the community can get its hands on scratchbox.org's domain (we have the resources already), use http://skeiron.org/scratchbox/ for your needs...
Thank you dead, which one of those i need to download? (for the schturman tutorial) https://www.dropbox.com/s/xxvk85ozm9...SB%20drive.pdf
 
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#22
In pdf instruction you have 2 links one of PC binary-amd64 and one for PC binary-i386. Choose one for you PC 64 or 32 bit...
Both links on my dropbox that you can download directly...

Also you can use this link to download all needed files:
http://thecust.net/nelisquare/hathor-sdk/

Last edited by Schturman; 2013-03-25 at 20:41.
 

The Following User Says Thank You to Schturman For This Useful Post:
flotron's Avatar
Posts: 418 | Thanked: 506 times | Joined on Jan 2012 @ Argentina
#23
Sorry my ignorance: but those files are small... and the files in http://thecust.net/nelisquare/hathor-sdk/ are big...¿?
And i don't understand which files go in each folder

0. Put scratchbox files to:

a./media/schturman/USB/NOKIA_N9/Scratchbox/harmattan/dists/parse/main/binary-amd64
Also download this file, extract and put it here.

b./media/schturman/USB/NOKIA_N9/Scratchbox/harmattan/dists/parse/main/binary-i386
Also download this file, extract and put it here.

c. /media/schturman/USB/NOKIA_N9/Scratchbox/rootstrap And inside here?

d. /media/schturman/USB/NOKIA_N9/Scratchbox/tarball And here?
 
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#24
Ok, again:
1. USB = name of your usb disk-on-key
Connect your usb disk-on-key to PC
2. Create this folders on this usb:
a.
Code:
/NOKIA_N9/Scratchbox/harmattan/dists/parse/main/binary-amd64
b.
Code:
/NOKIA_N9/Scratchbox/harmattan/dists/parse/main/binary-i386
c.
Code:
/NOKIA_N9/Scratchbox/rootstrap
3.
a. If your PC 64 bit, download this deb files: http://thecust.net/nelisquare/hathor-sdk/amd64/
Also download this zip: http://dl.dropbox.com/u/17706605/binary-amd64.zip extract file and put all to:
Code:
/NOKIA_N9/Scratchbox/harmattan/dists/parse/main/binary-amd64
b. if your PC 32 bit, download this deb files: http://thecust.net/nelisquare/hathor-sdk/i386/
Also download this zip: http://dl.dropbox.com/u/17706605/binary-i386.zip extract file and put all to:
Code:
/NOKIA_N9/Scratchbox/harmattan/dists/parse/main/binary-i386
4.
a. If your PC 64 bit, download this rootstrap: http://thecust.net/nelisquare/hathor...-rootstrap.tgz and put it to:
Code:
/NOKIA_N9/Scratchbox/rootstrap
b. If your PC 32 bit, download this rootstrap: http://thecust.net/nelisquare/hathor...-rootstrap.tgz and put it to:
Code:
/NOKIA_N9/Scratchbox/rootstrap
to be sure download both of them and put here...
5. Install the deb files from terminal:
a. if your PC 64 bit:
Code:
sudo dpkg -i /media/YOUR_NAME/USB/NOKIA_N9/Scratchbox/harmattan/dists/parse/main/binary-amd64/*
b. if your PC 32 bit:
Code:
sudo dpkg -i /media/YOUR_NAME/USB/NOKIA_N9/Scratchbox/harmattan/dists/parse/main/binary-i386/*
6. Edit script harmattan-sdk-setup.py like explained in PDF:
lines: 92, 107, 216
7. Put script harmattan-sdk-setup.py to: /home/YOUR_NAME
8. In terminal:
Code:
chmod +x /home/YOUR_NAME/harmattan-sdk-setup.py
and for install:
Code:
sudo ./harmattan-sdk-setup.py admininstall
9. Reboot.

Look in to the installation window if it will write some errors and if it finish process or not...
Hope it will help

PS. tarball you don't need (if I remember right)..

Last edited by Schturman; 2013-03-25 at 21:57.
 

The Following 2 Users Say Thank You to Schturman For This Useful Post:
flotron's Avatar
Posts: 418 | Thanked: 506 times | Joined on Jan 2012 @ Argentina
#25
Thank you Schtur, i not mean to drive you crazy
 
flotron's Avatar
Posts: 418 | Thanked: 506 times | Joined on Jan 2012 @ Argentina
#26
Aleluya.... sdk installed, thank you again
 

The Following User Says Thank You to flotron For This Useful Post:
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#27
Cool
Later I will update PDF with this instruction, I see it's explained better
Now when you will create aegis manifest file and package your app
Code:
<aegis>
    <request policy="add">
    <credential name="UID::root" />
    <credential name="GID::root" />
    <credential name="GRP::root" />

    <for path="/opt/mytheme/changer/script.sh" />
    </request>
</aegis>
the EXEC line in .desktop file will look like this:
Code:
[Desktop Entry]
Type=Application
Name=My Theme
Exec=/opt/mytheme/changer/script.sh
Icon=/opt/mytheme/icon/icon.png
X-Window-Icon=
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable
It's automatically will start your script as ROOT
 

The Following User Says Thank You to Schturman For This Useful Post:
flotron's Avatar
Posts: 418 | Thanked: 506 times | Joined on Jan 2012 @ Argentina
#28
Ok.. i made my first package. But why when i install it installs in /home/user folder instead /opt/ :S
 
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#29
You should put your opt and usr/share/applications/NAME_OF_YOUR_PACKAGE.desktop here:
Code:
/scratchbox/users/YOUR_NAME/home/YOUR_NAME/NAME_OF_YOUR_PACKAGE/debian/data

Last edited by Schturman; 2013-03-26 at 19:53.
 
Posts: 14 | Thanked: 12 times | Joined on Jan 2012 @ Indonesia
#30
i have a problem when installing Scratchbox...any body help me..

Code:
gzip: /tmp/arm-public-sdk-rootstrap.tgz: unexpected end of file
V: [10:16:29 16.06.2013]: Destroying <class 'subprocess.Popen'> with pid = 4602, exit status = 1
V: [10:16:29 16.06.2013]: Integrity test failed
V: [10:16:29 16.06.2013]: Tarball failed integrity test, will download it
V: [10:16:29 16.06.2013]: Downloading arm rootstrap tarball
V: [10:16:29 16.06.2013]: Saving URL file:///media/yoyocx/USB/NOKIA_N9/Scratchbox/rootstrap/arm-public-sdk-rootstrap.tgz as /tmp/arm-public-sdk-rootstrap.tgz
V: [10:16:30 16.06.2013]: Testing integrity of file /tmp/arm-public-sdk-rootstrap.tgz
V: [10:16:30 16.06.2013]: Executing: gunzip -qt /tmp/arm-public-sdk-rootstrap.tgz
V: [10:16:30 16.06.2013]: Creating process <class 'subprocess.Popen'>: ('exec gunzip -qt /tmp/arm-public-sdk-rootstrap.tgz',) {'stderr': -2, 'shell': True, 'preexec_fn': None, 'env': None, 'stdout': <open file '/tmp/harmattan-sdk-setup.log', mode 'w' at 0xb7157bd0>}
V: [10:16:30 16.06.2013]: Created <class 'subprocess.Popen'> with pid = 4604

gzip: /tmp/arm-public-sdk-rootstrap.tgz: unexpected end of file
V: [10:16:30 16.06.2013]: Destroying <class 'subprocess.Popen'> with pid = 4604, exit status = 1
V: [10:16:30 16.06.2013]: Integrity test failed
V: [10:16:30 16.06.2013]: Set fatal to: 5/9 Setting up arm rootstrap /tmp/arm-public-sdk-rootstrap.tgz
V: [10:16:30 16.06.2013]: arm rootstrap tarball /tmp/arm-public-sdk-rootstrap.tgz failed integrity test!
V: [10:16:30 16.06.2013]: ----- Begin logging exception -----
Traceback (most recent call last):
  File "./harmattan-sdk-setup.py", line 1801, in run
    phase.run(say_msg_prepend, users_selections, should_abort)
  File "./harmattan-sdk-setup.py", line 1421, in run
    tasks.run_all(should_abort)
  File "./harmattan-sdk-setup.py", line 1386, in run_all
    task.run()
  File "./harmattan-sdk-setup.py", line 1326, in run
    self.__func(*self.__args, **self.__kwds)
  File "./harmattan-sdk-setup.py", line 5686, in save_tarball
    "%s tarball %s failed integrity test!" % (desc, filename))
FriendlyException: arm rootstrap tarball /tmp/arm-public-sdk-rootstrap.tgz failed integrity test!
V: [10:16:30 16.06.2013]: ----- End logging exception -----
 
Reply


 
Forum Jump


All times are GMT. The time now is 22:07.