From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 186 invoked by uid 1002); 15 Aug 2003 14:30:42 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 10464 invoked from network); 15 Aug 2003 14:30:42 -0000 From: Luke-Jr Organization: Gentoo Linux To: vapier@gentoo.org, gentoo-dev@gentoo.org Date: Fri, 15 Aug 2003 14:30:31 +0000 User-Agent: KMail/1.5.2 References: <200308142200.31146.vapier@gentoo.org> In-Reply-To: <200308142200.31146.vapier@gentoo.org> GPG-Public-Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD53E9583 MIME-Version: 1.0 Content-Type: Text/Plain; charset="shift_jis" Content-Transfer-Encoding: quoted-printable Content-Description: clearsigned data Content-Disposition: inline Message-Id: <200308151430.40174.luke-jr@gentoo.org> Subject: Re: [gentoo-dev] making metadata.xml pay off and removing pkg_postinst crud X-Archives-Salt: b7a2cf95-eafb-408c-986f-21f77ede162b X-Archives-Hash: e4040436d7a08dcbd96246314efa4889 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 1. The XML tag shouldn't really be called postinst. Something like = or=20 looks better for this purpose. 2. Some packages may have different instructions based on the version=20 installed. metadata.xml is the same for all versions of a package. Alternatively, why not add a pkg_instructions function and have 'emerge hel= p=20 =2E..' or 'ebuild ... instructions' run that? It could be run after=20 pkg_postinst of a normal emerge, also. On Friday 15 August 2003 02:00 am, Mike Frysinger wrote: > right now we're doing all our informative output inside pkg_postinst simp= ly > because it's the last function run by emerge when emerging a new pkg ... > this is really not the reason pkg_postinst was created (displaying > informative output to the user), but i havent said anything before because > we never had a solution to 'fix' the situation ... > > but now ive got it ! lets finally use metadata :) > i propose we add a section, maybe call it or or > something similar, or maybe have a few considering there are a few steps = to > take when properly using some packages ... plus we wouldnt have to worry > about logging said informative output with some kludge that portage > implements because the user missed the message as it flew by his screen in > a multi-merge process ... > we extend the use of '-h' in emerge ... > > for example, say i want to know 'howto' setup mysql ... > root@vapier 0 root # emerge --help dev-db/mysql > You might want to run: > ebuild /var/db/pkg/dev-db/mysql-4.0.14/mysql-4.0.14.ebuild config > if this is a new install. > it will auto generate the basic mysql databases for you. > > or, i just installed these sexy new X cursors ... > root@vapier 0 root # emerge --help x11-themes/silver-xcursors > To use this set of cursors, edit or create the file ~/.Xdefaults > and add the following line: > Xcursor.theme: Silver > > Also, you can change the size by adding a line like: > Xcursor.size: 48 > > To globally use this set of mouse cursors edit the file: > /usr/share/cursors/xfree/default/index.theme > and change the line: > Inherits=3D[current setting] > to > Inherits=3DSilver > Note this will be overruled by a user's ~/.Xdefaults file. > > If you experience flickering, try setting the following line in > the Device section of your XF86Config: > Option "HWCursor" "false" > > if people like the idea, ill put together a bug and/or some portage patch= es > -mike > > -- > gentoo-dev@gentoo.org mailing list =2D --=20 Luke-Jr Developer, Gentoo Linux http://www.gentoo.org/ =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/PO6LZl/BHdU+lYMRAkj1AJ9O9wFX0HVIo1C7D0EKkLOkq4x3KwCffZBW 0ZCoa3O7CsXvgRrw5HcKi0A=3D =3DV1HQ =2D----END PGP SIGNATURE----- -- gentoo-dev@gentoo.org mailing list