currently in portage is 2007.3. last version from site 2009.3 what need to do change in ebuild SRC_URI to http://realsoftware.cachefly.net/REALbasic2009r3/REALbasic2009r3.tgz And at the end of ebuild change some more like path and icon Thats all. Reproducible: Always
Created attachment 197937 [details] new ebuild.has 2 bugs ;-) two bugs - perms to /opt/REALbasic is set to 0700 instead of 0755 - during install i see ------------------------ >>> Completed installing realbasic-2009.3 into /var/tmp/portage/dev-lang/realbasic-2009.3/image/ scanelf: Invalid ar entry >>> Installing (1 of 1) dev-lang/realbasic-2009.3 ------------------ And no icon in menu.
ok,there's a few references to 2007 in the ebuild. Easy to fix, but: * newins: RBCube.xpm does not exist that icon is gone as far as I can tell. The other one is now de-capitalized. >>> Install realbasic-2009.3 into /var/tmp/portage/dev-lang/realbasic-2009.3/image/ category dev-lang /usr/lib64/portage/bin/ebuild-helpers/newins: Need two arguments, old file and new file * * ERROR: dev-lang/realbasic-2009.3 failed. Something goes wrong there ... and I have no idea what (yet) Once that is fixed we can have a shiny new version, I hope ...
I add in first reoley woring ebuild with small "bugs". currently i do not have much kung-fuu skills )
Created attachment 198186 [details] ebuild that work I check this .ebuild It works for me (amd64) fine. So please check and upload to portage ;) btw, i can be maintainer for this ;)
Created attachment 198188 [details] Work ebuild. Cosmetic changes Just cosmetic changes - remove comments
Some hints... RESTRICT="mirror strip" ^ If strip is here to supress QA warnings here it's wrong. Instead you should be using QA_PRESTRIPPED (see "man 5 ebuild", at least in portage 2.2_pre) for the offending files. RDEPEND="x86? ( =virtual/libstdc++-3* ^ Are you sure this is required? It installs libstdc++.so.5 from GCC 3.3. Starting from GCC 3.4 it's called libstdc++.so.6 and you have it already. You can check by running `objdump -p <file>` on executables and libraries installed by this package. dosym /opt/REALbasic/REALbasic2009r3/realbasic.xpm /usr/share/realbasic.xpm ^ Pixmaps go to /usr/share/pixmaps, definately not in the root of /usr/share. make_desktop_entry realbasic REALbasic /usr/share/realbasic.xpm Development || die "Failed making desktop entry!" } ^ After changing the pixmaps directory you should be able to use "realbasic" instead of "/usr/share/realbasic.xpm" absolute path and extension. pkg_postinst() { # i dont know, who set 700 perms to dir ;( chmod 0755 /opt/REALbasic } ^ Doesn't respect ${ROOT} (which needs to be quoted). Correct syntax would be: chmod 0755 "${ROOT}"opt/REALbasic It includes the first / by itself so above isn't a typo :)
Created attachment 204396 [details] realbasic-2009-r3.ebuild Next step to the working ebuild ;) Fix mistakes and errors
Done. *realbasic-2009_p3 (22 Sep 2009) 22 Sep 2009; Samuli Suominen <ssuominen@gentoo.org> -realbasic-2007.3.ebuild, +realbasic-2009_p3.ebuild, metadata.xml: Version bump wrt #277824, thanks to Viacheslav Kaloshin. I've added you to metadata.xml as well. Please check the ebuild, I made some modifications and dropped unnecessary cruft (at least they seemed to be unnecessary to me, that's why you should check.)
Confirm. I check it and all seems to be in order :)