public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Martin Schlemmer <azarah@gentoo.org>
To: gentoo-dev@cvs.gentoo.org
Subject: Re: [gentoo-dev] glibc ebuilds
Date: Sat Nov  3 21:33:01 2001	[thread overview]
Message-ID: <1004848524.809.13.camel@nosferatu.lan> (raw)
In-Reply-To: <1004816735.14975.1.camel@Q.neidt.net>

[-- Attachment #1: Type: text/plain, Size: 1279 bytes --]

On Sat, 2001-11-03 at 21:45, Tod M. Neidt wrote:
> Hi!
> 
> Here is a simple patch to glibc-2.2.4-r2.ebuild to check for a running
> Xserver and if there is to exit and echo telling the user to quit X and
> merge from the console.
> 
> tod
> 

Not going to work.  As i am sitting here, if I do a 'su -' to su to
root, $DISPLAY is not defined anymore after su, and it _is_ after all
only root (for the moment anyhow) that can merge packages.

> --- /usr/portage/sys-libs/glibc/glibc-2.2.4-r2.ebuild	Fri Sep 28 05:51:17 2001
> +++ glibc-2.2.4-r2.ebuild	Sat Nov  3 19:37:46 2001
> @@ -15,6 +15,15 @@
>  #We need gcc-2.95.3-r2 because it includes a special fix for this glibc version (2.2.4)
>  DEPEND="~sys-kernel/linux-headers-2.4.10 nls? ( sys-devel/gettext ) gd? ( media-libs/libgd )"
>  
> +#Check for running xserver
> +if [ "$DISPLAY" ]
> +	then
> +	echo "You can't merge glibc with a running X server."
> +	echo "Please shutdown X and merge from a console."
> +	exit
> +fi
> +
> +
>  if [ -z "`use bootstrap`" ] && [ -z "`use bootcd`" ] && [ -z "`use build`" ]
>  then
>  	RDEPEND="gd? ( sys-libs/zlib media-libs/libpng ) sys-apps/baselayout"
-- 

Martin Schlemmer
Gentoo Linux Developer, Desktop Team Developer
Cape Town, South Africa


[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

  reply	other threads:[~2001-11-04  4:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-03 18:25 [gentoo-dev] glibc ebuilds Collins Richey
2001-11-03 19:42 ` Tod M. Neidt
2001-11-03 21:33   ` Martin Schlemmer [this message]
2001-11-04  9:45     ` Tod M. Neidt
2001-11-04 10:31     ` Tod M. Neidt
2001-11-04 12:51       ` Collins Richey
2001-11-11  9:46       ` Karl Trygve Kalleberg
2001-11-12  8:36         ` Tod M. Neidt
2001-11-12 21:01           ` Aron Griffis

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=1004848524.809.13.camel@nosferatu.lan \
    --to=azarah@gentoo.org \
    --cc=gentoo-dev@cvs.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