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.
Any updates on the ebuild writing progress?
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.
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.
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!
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.
http://bugzilla.scratchbox.org/bugzilla/show_bug.cgi?id=233 please join the CC of this bug.
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/
(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
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 ;)
It would be very nice to make an ebuild for x86_64 version of scratchbox - http://www.rahkonen.org/projects.html
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
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 :-)
(In reply to comment #12) > - scratchbox (for x86), containing core and lib Should it be called scratchbox-bin? ;)
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...
(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.
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
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.
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.
I added the latest recommended diablo versions to the tree in dev-embedded/scratchbox* .. I will also add the versions recommended for fremantle