Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93233 - [version bump] fpc and fpc-source 2.0.0
Summary: [version bump] fpc and fpc-source 2.0.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Maintainers for Miscelleneous Language Packages [OBSOLETE]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-19 10:33 UTC by Daniel Herzog
Modified: 2005-06-27 10:03 UTC (History)
1 user (show)

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


Attachments
fpc-2.0.0.ebuild (fpc-2.0.0.ebuild,2.28 KB, text/plain)
2005-05-19 10:34 UTC, Daniel Herzog
Details
fpc-source-2.0.0.ebuild (fpc-source-2.0.0.ebuild,1.65 KB, text/plain)
2005-05-19 10:34 UTC, Daniel Herzog
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Herzog 2005-05-19 10:33:21 UTC
Please also remove those old fpc and lazarus bugs noone works on anymore - they
are not needed but make life harder, since there are hundrets of dead worthless
bugs filling up search results in gentoos bugzilla.

Reproducible: Always
Steps to Reproduce:
Comment 1 Daniel Herzog 2005-05-19 10:34:00 UTC
Created attachment 59311 [details]
fpc-2.0.0.ebuild
Comment 2 Daniel Herzog 2005-05-19 10:34:29 UTC
Created attachment 59312 [details]
fpc-source-2.0.0.ebuild
Comment 3 Daniel Herzog 2005-05-19 10:56:26 UTC
fpc-ide will be updated upon request or when i'm idle.
Comment 4 Aron Griffis (RETIRED) gentoo-dev 2005-06-25 15:53:24 UTC
fpc-2.0.0.ebuild and fpc-source-2.0.0.ebuild are in portage now.  They are quite
different from what you posted here, so please take note of my changes for your
next submission.  Also if you find any problems I introduced, please let me know.

http://www.gentoo.org/cgi-bin/viewcvs.cgi/dev-lang/fpc/fpc-2.0.0.ebuild?rev=1.1&content-type=text/vnd.viewcvs-markup
http://www.gentoo.org/cgi-bin/viewcvs.cgi/dev-lang/fpc-source/fpc-source-2.0.0.ebuild?rev=1.1&content-type=text/vnd.viewcvs-markup
Comment 5 Daniel Herzog 2005-06-27 06:07:46 UTC
Thanks for cleaning it up, in the first place.

By reading through it, i saw the following things:

compiler ebuild:
"set_compiler new" has to be
"set_pp new" until you rename the function (which might be a nice idea)

also - i wonder where you got the image variable from in "pkg_preinst"
i cannot find it inside of the ebuild, or in some of the docs why not leave it
to "{D}"?

in "src_install()" i see no reason for not using emake anymore? but remember to
use -j1 then...

source ebuild:
I had a typo you copied: "# Needed to release candidates etc." has to be
                         "# Needed for release candidates etc."

And, why did you take you this single "pkg_preinst"-command completely? I think
it should be somewhere else at least...
Comment 6 Aron Griffis (RETIRED) gentoo-dev 2005-06-27 08:16:11 UTC
(In reply to comment #5)
> "set_compiler new" has to be
> "set_pp new" until you rename the function (which might be a nice idea)

Thanks, I fixed the calls to be set_pp.

> also - i wonder where you got the image variable from in "pkg_preinst"
> i cannot find it inside of the ebuild, or in some of the docs why not leave it
> to "{D}"?

I don't know why IMAGE is undocumented.  It's the correct variable to use for
the pkg_* functions.  From ebuild(5):

       D = "${PORTAGE_TMPDIR}/portage/${PF}/image"
              Contains the path to the temporary install directory.  Every 
write  opera-
              tion  that  does  not  involve the helper tools and functions
(found below)
              should be prefixed with ${D}.  Do not modify this variable.  This
will  not
              be available inside of the pkg_* functions.

> in "src_install()" i see no reason for not using emake anymore? but remember to
> use -j1 then...

emake is never appropriate for src_install.  It is for building only.  See other
ebuilds for an example.

> source ebuild:
> I had a typo you copied: "# Needed to release candidates etc." has to be
>                          "# Needed for release candidates etc."

Thanks, fixed.

> And, why did you take you this single "pkg_preinst"-command completely? I think
> it should be somewhere else at least...

Because it wasn't doing anything, from what I could see in the unpacked source.
 There's no reason to have functions/commands in ebuilds that aren't doing
anything.  We can revive it if a future release of fpc-source needs it.
Comment 7 Daniel Herzog 2005-06-27 10:03:30 UTC
Okay. Thank you for explaining it, this clarified things for me :-)