Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94225 - scratchbox SDK (new ebuild)
Summary: scratchbox SDK (new ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://scratchbox.org/
Whiteboard: [sunrise-overlay]
Keywords: EBUILD, InOverlay
Depends on:
Blocks: 94211
  Show dependency tree
 
Reported: 2005-05-27 15:59 UTC by Julien Cayzac
Modified: 2009-05-06 19:34 UTC (History)
15 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
updated Overlay from sunrise to allow installing scratchbox for maemo sdk 4.0 (sys-devel-scratchbox-overlay.tar.bz2,7.31 KB, application/octet-stream)
2008-04-13 11:36 UTC, Nils Kneuper
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Cayzac 2005-05-27 15:59:57 UTC
Placeholder for an ebuild I'm going to write this week, as someone interested
asked me to open this bug.

Scratchbox is the SDK for ARMed Linux distros.

It is used by Maemo (bug 94211)


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Andrej Kacian (RETIRED) gentoo-dev 2005-06-30 13:49:53 UTC
Any updates on the ebuild writing progress?
Comment 2 Gustavo Sverzut Barbieri 2005-07-06 06:02:15 UTC
Hello,

I'm also interested and will try to create this ebuild.

But to avoid 2 ebuilds for the same thing, keep contact using this bug.
Comment 3 Julien Cayzac 2005-07-06 06:14:42 UTC
Sorry for not having written feedback for so long.
I'm very busy at work right now, and I just can't get the needed time to work on
these two ebuilds. If you (or somebody else) what to take them over, I will be
more than happy with that since I'm looking forward using Maemo and Scratchbox
but can't foresee any timeline for working on it!

From what I've seen, however, the "neat" solution would be to write split
ebuilds and that requires more than a week-end as I previously thought.
Comment 4 Gustavo Sverzut Barbieri 2005-07-06 06:47:02 UTC
Oh god... scratchbox has one of the worst build system ever!

Everything is hard coded to /scratchbox... it opted for interactive
configuration and build system instead of one like autotools/autoconf... :-(

This will be more trouble than I initially thought!
Comment 5 Andrej Kacian (RETIRED) gentoo-dev 2005-07-06 06:53:39 UTC
Yes, I too thought I would write an ebuild for it, but I was deterred by the
build system. It is totally debian-oriented, inflexible and overly complicated.
Comment 6 Gustavo Sverzut Barbieri 2005-07-06 08:20:18 UTC
http://bugzilla.scratchbox.org/bugzilla/show_bug.cgi?id=233

please join the CC of this bug.
Comment 7 Christian Hartmann (RETIRED) gentoo-dev 2005-10-23 04:35:19 UTC
I've put together an ebuild (+initscript) for version 0.9.8.5 (latest
recommended version by maemo.org).

http://download.iansview.com/gentoo/experimental/scratchbox/
Comment 8 Priit Laes (IRC: plaes) 2005-12-24 01:06:43 UTC
(In reply to comment #7)
> I've put together an ebuild (+initscript) for version 0.9.8.5 (latest
> recommended version by maemo.org).
> 
> http://download.iansview.com/gentoo/experimental/scratchbox/
> 
Yay, Christian, You ROCK!!! :)

One note though :)
There should be a /usr/bin/scratchbox symlink which should point to /opt/scratchbox/login 
Comment 9 Priit Laes (IRC: plaes) 2005-12-29 09:41:14 UTC
Btw,(In reply to comment #7)
> I've put together an ebuild (+initscript) for version 0.9.8.5 (latest
> recommended version by maemo.org).

Actually I would name this to scratchbox-bin ;)
Comment 10 Vladimir Pouzanov 2006-02-26 04:43:30 UTC
It would be very nice to make an ebuild for x86_64 version of scratchbox - http://www.rahkonen.org/projects.html
Comment 11 Tiziano Müller (RETIRED) gentoo-dev 2006-05-21 11:16:02 UTC
And it would also be nice to split it up in core/libs, the different toolchains and additional tools. Speeds up the installation and doesn't consume so much space if not really needed. Would also help to update the ebuilds since the different packages do not have the same version: http://www.scratchbox.org/download/files/sbox-releases/stable/tarball
Comment 12 Tiziano Müller (RETIRED) gentoo-dev 2006-07-02 10:54:15 UTC
Ok, ebuilds for version 0.9.8.7 are now in the gentoo-sunrise overlay, available at http://gentoo-sunrise.org/svn/reviewed/sys-devel ,
thanks to ian for the initial ebuild. I splitted it up into different packages. Currently the following are available:
- scratchbox (for x86), containing core and lib
- scratchbox-devkit-debian
- scratchbox-toolchain-cs2005q3_2-glibc, here you have to specify the use-flags arm and/or i386 to install the toolchain for the corresponding arch
About the choice of packages: This is what you need to compile stuff for the maemo :-)
Comment 13 Priit Laes (IRC: plaes) 2006-07-03 04:21:30 UTC
(In reply to comment #12)
> - scratchbox (for x86), containing core and lib
Should it be called scratchbox-bin? ;)
Comment 14 Tiziano Müller (RETIRED) gentoo-dev 2006-07-03 05:22:21 UTC
Well, might be an idea. But you would have to name all the other ebuilds -bin as well. And since there's no one who really wants to do a non *-bin ebuild, I would suggest to leave it that way...
Comment 15 Priit Laes (IRC: plaes) 2006-07-03 05:35:42 UTC
(In reply to comment #14)
> Well, might be an idea. But you would have to name all the other ebuilds -bin
> as well. And since there's no one who really wants to do a non *-bin ebuild, I
> would suggest to leave it that way...

Well, ok ;) 
Because it can be changed when the source-based ebuild has been done.
Comment 16 Fred Labrosse 2008-01-25 16:20:16 UTC
All,

Any chance of more up to date ebuilds in the near future?  Just asking because a newer version of scratchbox is needed for the latest maemo (4.0).

Cheers
Comment 17 Nils Kneuper 2008-04-13 11:36:53 UTC
Created attachment 149543 [details]
updated Overlay from sunrise to allow installing scratchbox for maemo sdk 4.0

Okay, I got an svn checkout of the sunrise overlay and updated all packages to the versions required for the maemo 4.0 sdk. To do so I had to add a new package (sys-devel/scratchbox-devkit-maemo3, copy and rename from sys-devel/scratchbox-devkit-doctools), rename sys-devel/scratchbox-toolchain-cs2005q3_2-glibc to sys-devel/scratchbox-toolchain-cs2005q3_2-glibc2_5 (they now support glibc 2.5, thus they renamed the package...) and bump most versions. I did not bump sys-devel/scratchbox-devkit-cputransp to 1.0.4 because the maemo 4.0 sdk explicitly requires 1.0.3.

This package should allow installing all deps needed to run the maemo 4.0 sdk on a gentoo system. Don't forget to compile the kernel with COMPAT_VDSO=y and BINFMT_MISC=y. Once this is done, you can simply run the binary installer script.

It would be great if this version bump could be incorporated in the official sunrise overlay since probably several others want to use the maemo 4.0 sdk in a normal gentoo system, too.

Thanks to the ones creating the original ebuilds for it, the update just required some renaming and running manifests.
Comment 18 Fred Labrosse 2008-05-26 14:56:58 UTC
I just tried the attachment and it worked.  Note that the digests it contains are wrong (had to recreate them all) and that in case of an upgrade, scratchbox-toolchain-cs2005q3_2-glibc is not automatically upgraded because of the name change (from scratchbox-toolchain-cs2005q3_2-glibc to scratchbox-toolchain-cs2005q3_2-glibc2_5).

But I certainly second that this should be put in sunrise.

And thanks to Nils for the great job.
Comment 19 Olivier Crete (RETIRED) gentoo-dev 2009-05-06 19:34:41 UTC
I added the latest recommended diablo versions to the tree in dev-embedded/scratchbox* ..
I will also add the versions recommended for fremantle