Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 277824 - =dev-lang/realbasic-2009_p3 Version bump
Summary: =dev-lang/realbasic-2009_p3 Version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Viacheslav Kaloshin
URL:
Whiteboard:
Keywords: EBUILD
Depends on: 280879
Blocks:
  Show dependency tree
 
Reported: 2009-07-14 15:53 UTC by Viacheslav Kaloshin
Modified: 2009-09-23 07:04 UTC (History)
2 users (show)

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


Attachments
new ebuild.has 2 bugs ;-) (realbasic-2009.3.ebuild,1.31 KB, text/plain)
2009-07-14 15:56 UTC, Viacheslav Kaloshin
Details
ebuild that work (realbasic-2009.3.ebuild,1.78 KB, text/plain)
2009-07-16 13:45 UTC, Viacheslav Kaloshin
Details
Work ebuild. Cosmetic changes (realbasic-2009.3.ebuild,1.44 KB, text/plain)
2009-07-16 13:51 UTC, Viacheslav Kaloshin
Details
realbasic-2009-r3.ebuild (realbasic-2009-r3.ebuild,1.45 KB, text/plain)
2009-09-17 08:07 UTC, Viacheslav Kaloshin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Viacheslav Kaloshin 2009-07-14 15:53:40 UTC
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
Comment 1 Viacheslav Kaloshin 2009-07-14 15:56:33 UTC
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.
Comment 2 Patrick Lauer gentoo-dev 2009-07-14 21:36:42 UTC
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 ...
Comment 3 Viacheslav Kaloshin 2009-07-15 06:17:09 UTC
I add in first reoley woring ebuild with small "bugs". currently i do not have much kung-fuu skills )
Comment 4 Viacheslav Kaloshin 2009-07-16 13:45:56 UTC
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 ;)
Comment 5 Viacheslav Kaloshin 2009-07-16 13:51:25 UTC
Created attachment 198188 [details]
Work ebuild. Cosmetic changes

Just cosmetic changes - remove comments
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2009-08-11 21:48:29 UTC
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 :)
Comment 7 Viacheslav Kaloshin 2009-09-17 08:07:14 UTC
Created attachment 204396 [details]
realbasic-2009-r3.ebuild

Next step to the working ebuild ;) Fix mistakes and errors
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2009-09-22 18:23:42 UTC
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.)
Comment 9 Viacheslav Kaloshin 2009-09-23 07:04:30 UTC
Confirm. I check it and all seems to be in order :)