Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 312531 - Add EAPI-3/Prefix support to gnome2.eclass
Summary: Add EAPI-3/Prefix support to gnome2.eclass
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks: prefix-gx86
  Show dependency tree
 
Reported: 2010-04-01 01:02 UTC by Jonathan Callen (RETIRED)
Modified: 2010-04-26 19:38 UTC (History)
1 user (show)

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


Attachments
patch for gnome2.eclass (gnome2.eclass.patch,1.44 KB, patch)
2010-04-01 01:02 UTC, Jonathan Callen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Callen (RETIRED) gentoo-dev 2010-04-01 01:02:09 UTC
Please see attached patch.
Comment 1 Jonathan Callen (RETIRED) gentoo-dev 2010-04-01 01:02:42 UTC
Created attachment 226049 [details, diff]
patch for gnome2.eclass
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-04-01 06:23:36 UTC
seems like there is a couple of  ->  substitions, is there any reason for this ? Also, I'd prefer a real if/fi for the first line of gnome2_src_install but that's cosmetic.
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-04-01 06:26:08 UTC
meant ${D} ${ED}
Comment 4 Fabian Groffen gentoo-dev 2010-04-01 06:30:41 UTC
${D} -> ${ED}: s/EAPI-3/Prefix/

The first line of gnome2_src_install is just in line with all other eclasses, but you can expand it if you like.
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-04-03 11:48:50 UTC
(In reply to comment #4)
> ${D} -> ${ED}: s/EAPI-3/Prefix/
> 
I missed the "missing" word. Let me rewrite it for better comprehension:
"seems like there is a couple of ${D} ->  ${ED} substitions missing, is there any reason for this ?"

Also could you explain what we should change to make EAPI-3/Prefix support real, EAPI cheat sheet doesn't give a clue and it seems I skipped all the EAPI 3 being move to EAPI 4 and EAPI 3 being xz+prefix support discussion on dev ml.
Comment 6 Jonathan Callen (RETIRED) gentoo-dev 2010-04-05 02:07:25 UTC
The only ${D} entries left in the ebuild are as follows:

  emake DESTDIR="${D}" ... install
    As econf passes --prefix="${EPREFIX}/usr", using ED here would cause a
    "double prefix" error (installing to $D/$EPREFIX/$EPREFIX/usr)

  find "${D}" -name '*.omf'
    This can be changed if you want - there should be absolutely no difference
    between $D and $ED here, as all the files are in $ED, which is a subdir of
    $D
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-04-26 10:21:49 UTC
Alright, feel free to commit.
Comment 8 Jonathan Callen (RETIRED) gentoo-dev 2010-04-26 19:38:41 UTC
In tree