public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] making metadata.xml pay off and removing pkg_postinst crud
@ 2003-08-15  2:00 Mike Frysinger
  2003-08-15  3:09 ` Robin H. Johnson
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Mike Frysinger @ 2003-08-15  2:00 UTC (permalink / raw
  To: gentoo-dev

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-08-16  0:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2003-08-15 14:39 ` Heinrich Wendel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox