Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 528078 - eutils.eclass make_desktop_icon subslot support
Summary: eutils.eclass make_desktop_icon subslot support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-03 06:43 UTC by Mark Wright
Modified: 2014-11-15 09:49 UTC (History)
0 users

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


Attachments
patch to add subslot support to make_desktop_entry (eutils-subslot.patch,655 bytes, patch)
2014-11-03 06:43 UTC, Mark Wright
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Wright gentoo-dev 2014-11-03 06:43:41 UTC
Created attachment 388394 [details, diff]
patch to add subslot support to make_desktop_entry

The proposed patch is to add subslot support to make_desktop_entry
in eclass/eutils.eclass, so that ebuilds that use a subslot like:

SLOT="0/${PV}"

Can call make_desktop_entry.  Without the proposed patch it
fails as the / for the subslot is interpreted as a non-existing
sub directory:

/var/tmp/portage/sci-mathematics/coq-8.4_p5/temp/environment: line 1506: /var/tmp/portage/sci-mathematics/coq-8.4_p5/temp/coqide-coq-0/8.4_p5.desktop: No such file or directory
/usr/bin/install: cannot stat ‘/var/tmp/portage/sci-mathematics/coq-8.4_p5/temp/coqide-coq-0/8.4_p5.desktop’: No such file or directory
!!! doins: /var/tmp/portage/sci-mathematics/coq-8.4_p5/temp/coqide-coq-0/8.4_p5.desktop does not exist
 * ERROR: sci-mathematics/coq-8.4_p5::x-portage failed (install phase):
 *   doins failed

sci-mathematics/coq is a compiler, it should be in SLOT="0/${PV}" so
that reverse dependencies like sci-mathematics/ssreflect will be rebuilt
when coq is upgraded. sci-mathematics/coq calls make_desktop_entry.
Comment 1 SpanKY gentoo-dev 2014-11-15 09:49:32 UTC
i've gone with a slightly diff patch:
http://sources.gentoo.org/eclass/eutils.eclass?r1=1.439&r2=1.440

please re-open if it no workie ;)