From: Luke-Jr <luke-jr@gentoo.org>
To: vapier@gentoo.org, gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] making metadata.xml pay off and removing pkg_postinst crud
Date: Fri, 15 Aug 2003 14:30:31 +0000 [thread overview]
Message-ID: <200308151430.40174.luke-jr@gentoo.org> (raw)
In-Reply-To: <200308142200.31146.vapier@gentoo.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
1. The XML tag shouldn't really be called postinst. Something like <howto> or
<instructions> looks better for this purpose.
2. Some packages may have different instructions based on the version
installed. metadata.xml is the same for all versions of a package.
Alternatively, why not add a pkg_instructions function and have 'emerge help
...' or 'ebuild ... instructions' run that? It could be run after
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 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 <howto> or <postinstconfig> 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
- --
Luke-Jr
Developer, Gentoo Linux
http://www.gentoo.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/PO6LZl/BHdU+lYMRAkj1AJ9O9wFX0HVIo1C7D0EKkLOkq4x3KwCffZBW
0ZCoa3O7CsXvgRrw5HcKi0A=
=V1HQ
-----END PGP SIGNATURE-----
--
gentoo-dev@gentoo.org mailing list
next prev parent reply other threads:[~2003-08-15 14:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-15 2:00 [gentoo-dev] making metadata.xml pay off and removing pkg_postinst crud Mike Frysinger
2003-08-15 3:09 ` Robin H. Johnson
2003-08-15 3:48 ` matt c
2003-08-16 0:49 ` Luke-Jr
2003-08-15 12:27 ` Markus Nigbur
2003-08-15 4:14 ` Chris Smith
2003-08-15 14:08 ` Chris Gianelloni
2003-08-15 13:58 ` Paul de Vrieze
2003-08-15 14:30 ` Luke-Jr [this message]
2003-08-15 14:39 ` Heinrich Wendel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200308151430.40174.luke-jr@gentoo.org \
--to=luke-jr@gentoo.org \
--cc=gentoo-dev@gentoo.org \
--cc=vapier@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox