Gentoo Archives: gentoo-dev

From: Michael Haubenwallner <michael.haubenwallner@×××××××.at>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] new glep draft: Portage as a secondary package manager
Date: Tue, 24 May 2005 09:42:04
Message-Id: 00a501c56046$715a07b0$8ed5a8c0@xxxxxxx
In Reply to: [gentoo-dev] new glep draft: Portage as a secondary package manager by Michael Haubenwallner
1 Ok, no separate glep for home installation:
2
3 So i need some clues how to install plugins into home - attached is some
4 ebuild patch sample (actually not a diff output) how i would try to start
5 with vim-plugins.eclass, as a discussion base.
6
7 Variables to be set by portage:
8 PREFIX="/home/haubi"
9 AFFIX="home/haubi/" (not used here)
10 INSTALL_TARGET_TYPE="home" (value is found in the SUPPORTS
11 metadata-variable)
12 This is a new variable which needs a better name, or even a portage-function
13 for querying the install target type, which comes from the
14 'emerge --target home' bit by Brian Harring.
15
16 Is it confusing when PREFIX contains home-dirs - should another variable
17 name be used for home-dir, or should PREFIX/AFFIX be renamed - suggestions ?
18
19 Where should additional documents (seen in current vim-plugin_src_install)
20 go to ?
21 Can `id -un`:`id -gn` (maybe wrapped by some portage function, using glep 27
22 for non-home-target) be used to set the owner of the files ?
23
24 ~haubi
25
26
27 begin 666 vim-plugins-home.patch
28 M("!V:6TM<&QU9VEN7W-R8U]I;G-T86QL*"D@>PHM(" @("!L;V-A;"!F"BL@
29 M(" @(&QO8V%L(&8@=7-E<B!G<F]U<"!D97-T8F%S92!D97-T9&ER"BL@"BL@
30 M(" @(&EF(%L@(B1[24Y35$%,3%]405)'151?5%E017TB(#T@(FAO;64B(%T*
31 M*R @(" @=&AE;@HK(" @(" @(" @(R!T:&ES(&ES(&YO="!G;&5P(#(W"BL@
32 M(" @(" @("!U<V5R/6!I9" M=6Y@"BL@(" @(" @("!G<F]U<#U@:60@+6=N
33 M8 HK(" @(" @(" @9&5S=&)A<V4](B1[4%)%1DE8?2(@(" C(%!2149)6#TO
34 M:&]M92\\=7-E<CX**R @(" @(" @(&1E<W1D:7(](BYV:6TB"BL@(" @(&5L
35 M<V4**R @(" @(" @(",@9VQE<" R-R!A<'!L:65S(&AE<F4@/PHK(" @(" @
36 M(" @=7-E<CUR;V]T"BL@(" @(" @("!G<F]U<#UR;V]T"BL@(" @(" @("!D
37 M97-T8F%S93TB)'M04D5&25A]+W-H87)E+W9I;2(**R @(" @(" @(&1E<W1D
38 M:7(](G9I;69I;&5S(@HK(" @("!F:0H*(" @(" @96)E9VEN(")&:7AI;F<@
39 M9FEL92!P97)M:7-S:6]N<R(*(" @(" @(R!-86ME('-U<F4@<&5R;7,@87)E
40 M(&=O;V0*(" @(" @8VAM;V0@+5(@82MR6" D>U-]('Q\(&1I92 B8VAM;V0@
41 M9F%I;&5D(@HM(" @("!F:6YD("1[4WT@+75S97(@("=P;W)T86=E)R M97AE
42 M8R!C:&]W;B!R;V]T("=[?2<@7#L@?'P@9&EE(")C:&]W;B!F86EL960B"BT@
43 M(" @(&9I;F0@)'M3?2 M9W)O=7 @)W!O<G1A9V4G("UE>&5C(&-H9W)P(')O
44 M;W0@)WM])R!<.R!\?"!D:64@(F-H9W)P(&9A:6QE9"(**R @(" @9FEN9" D
45 M>U-]("UU<V5R(" G<&]R=&%G92<@+65X96,@8VAO=VX@(B1[=7-E<GTB("=[
46 M?2<@7#L@?'P@9&EE(")C:&]W;B!F86EL960B"BL@(" @(&9I;F0@)'M3?2 M
47 M9W)O=7 @)W!O<G1A9V4G("UE>&5C(&-H9W)P("(D>V=R;W5P?2(@)WM])R!<
48 M.R!\?"!D:64@(F-H9W)P(&9A:6QE9"(*(" @(" @965N9" D/PH**'-N:7!P
49 M960@=&AE(&1O8W5M96YT871I;VXI"@HM(" @("!D;V1I<B O=7-R+W-H87)E
50 M+W9I;0HM(" @("!M=B D>U-]("1[1'TO=7-R+W-H87)E+W9I;2]V:6UF:6QE
51 M<PHK(" @("!D;V1I<B B)'MD97-T8F%S97TB"BL@(" @(&UV("1[4WT@(B1[
52 ?1'TD>V1E<W1B87-E?2\D>V1E<W1D:7)](@H@('T*"@``
53 `
54 end
55
56 --
57 gentoo-dev@g.o mailing list

Replies