From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from taro.utanet.at (taro.utanet.at [213.90.36.45]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j4O9g4kM008087 for ; Tue, 24 May 2005 09:42:04 GMT Received: from anya.utanet.at ([213.90.36.57]) by taro.utanet.at with esmtp (Exim 4.41) id 1DaVvN-0006hJ-QE for gentoo-dev@lists.gentoo.org; Tue, 24 May 2005 11:42:09 +0200 Received: from suedu1-233-180.utaonline.at ([212.152.233.180] helo=xxxxxxx) by anya.utanet.at with smtp (Exim 4.50) id 1DaVvM-0006cc-O5 for gentoo-dev@lists.gentoo.org; Tue, 24 May 2005 11:42:09 +0200 Message-ID: <00a501c56046$715a07b0$8ed5a8c0@xxxxxxx> From: "Michael Haubenwallner" To: References: <42761B77.4030206@salomon.at> Subject: Re: [gentoo-dev] new glep draft: Portage as a secondary package manager Date: Tue, 24 May 2005 11:53:30 +0200 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4927.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 X-DNSBL-Warning: listed at bogusmx.rfc-ignorant.org (Domain has demonstrably bogus MX records) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Archives-Salt: ff8b453f-346b-4e62-8534-4644c4c791f2 X-Archives-Hash: a332baa7c7f4efc4fa6db2ef9993f32c Ok, no separate glep for home installation: So i need some clues how to install plugins into home - attached is some ebuild patch sample (actually not a diff output) how i would try to start with vim-plugins.eclass, as a discussion base. Variables to be set by portage: PREFIX="/home/haubi" AFFIX="home/haubi/" (not used here) INSTALL_TARGET_TYPE="home" (value is found in the SUPPORTS metadata-variable) This is a new variable which needs a better name, or even a portage-function for querying the install target type, which comes from the 'emerge --target home' bit by Brian Harring. Is it confusing when PREFIX contains home-dirs - should another variable name be used for home-dir, or should PREFIX/AFFIX be renamed - suggestions ? Where should additional documents (seen in current vim-plugin_src_install) go to ? Can `id -un`:`id -gn` (maybe wrapped by some portage function, using glep 27 for non-home-target) be used to set the owner of the files ? ~haubi begin 666 vim-plugins-home.patch M("!V:6TM<&QU9VEN7W-R8U]I;G-T86QL*"D@>PHM(" @("!L;V-A;"!F"BL@ M(" @(&QO8V%L(&8@=7-EU-]('Q\(&1I92 B8VAM;V0@ M9F%I;&5D(@HM(" @("!F:6YD("1[4WT@+75S97(@("=P;W)T86=E)R M97AE M8R!C:&]W;B!R;V]T("=[?2<@7#L@?'P@9&EE(")C:&]W;B!F86EL960B"BT@ M(" @(&9I;F0@)'M3?2 M9W)O=7 @)W!O&5C(&-H9W)P(')O M;W0@)WM])R!<.R!\?"!D:64@(F-H9W)P(&9A:6QE9"(**R @(" @9FEN9" D M>U-]("UU&5C(&-H9W)P("(D>V=R;W5P?2(@)WM])R!< M.R!\?"!D:64@(F-H9W)P(&9A:6QE9"(*(" @(" @965N9" D/PH**'-N:7!P M960@=&AE(&1O8W5M96YT871I;VXI"@HM(" @("!D;V1IU-]("1[1'TO=7-R+W-H87)E+W9I;2]V:6UF:6QE MV1EV1E