From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22189 invoked by uid 1002); 15 Aug 2003 02:00:28 -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 17640 invoked from network); 15 Aug 2003 02:00:28 -0000 From: Mike Frysinger Reply-To: vapier@gentoo.org To: gentoo-dev@gentoo.org Date: Thu, 14 Aug 2003 22:00:31 -0400 User-Agent: KMail/1.5.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200308142200.31146.vapier@gentoo.org> Subject: [gentoo-dev] making metadata.xml pay off and removing pkg_postinst crud X-Archives-Salt: 4f7966dc-f39a-4189-86e3-e5945b3fe827 X-Archives-Hash: 6bc4b206e2ec5c81e42023e6d7d9c4f3 right now we're doing all our informative output inside pkg_postinst simply 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=[current setting] to Inherits=Silver 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 patches -mike -- gentoo-dev@gentoo.org mailing list