From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=DATE_IN_PAST_24_48,DMARC_NONE, INVALID_DATE,MAILING_LIST_MULTI autolearn=no autolearn_force=no version=4.0.0 Received: from smtp06.iafrica.com ([196.2.51.5]) by cvs.gentoo.org with esmtp (Exim 3.30 #1) id 160Exd-0002Uj-00 for gentoo-dev@cvs.gentoo.org; Sat, 03 Nov 2001 21:32:41 -0700 Received: from nosferatu.lan ([196.30.179.4]) by smtp06.iafrica.com (Sun Internet Mail Server sims.3.5.2000.03.23.18.03.p10) with ESMTP id <0GM900FLLDVXM1@smtp06.iafrica.com> for gentoo-dev@cvs.gentoo.org; Sun, 4 Nov 2001 06:31:10 +0200 (SAT) From: Martin Schlemmer Subject: Re: [gentoo-dev] glibc ebuilds In-reply-to: <1004816735.14975.1.camel@Q.neidt.net> To: gentoo-dev@cvs.gentoo.org Message-id: <1004848524.809.13.camel@nosferatu.lan> MIME-version: 1.0 X-Mailer: Evolution/0.16.100 (Preview Release) Content-type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-o/7jntIUMeDlcp6ttx4G" References: <20011103182505.4024c6e3.erichey2@home.com> <1004816735.14975.1.camel@Q.neidt.net> Sender: gentoo-dev-admin@cvs.gentoo.org Errors-To: gentoo-dev-admin@cvs.gentoo.org X-BeenThere: gentoo-dev@cvs.gentoo.org X-Mailman-Version: 2.0 Precedence: bulk Reply-To: gentoo-dev@cvs.gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux development list List-Unsubscribe: , List-Archive: Date: Sat Nov 3 21:33:01 2001 X-Original-Date: Sun, 04 Nov 2001 06:35:23 +0200 X-Archives-Salt: 5d523cad-0b84-4d75-837a-eb99a7eae83d X-Archives-Hash: f80eebd5324b19c2ac2204cc957aa392 --=-o/7jntIUMeDlcp6ttx4G Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2001-11-03 at 21:45, Tod M. Neidt wrote: > Hi! >=20 > 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. >=20 > tod >=20 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=3D"~sys-kernel/linux-headers-2.4.10 nls? ( sys-devel/gettext ) gd= ? ( media-libs/libgd )" > =20 > +#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=3D"gd? ( sys-libs/zlib media-libs/libpng ) sys-apps/baselayout" --=20 Martin Schlemmer Gentoo Linux Developer, Desktop Team Developer Cape Town, South Africa --=-o/7jntIUMeDlcp6ttx4G Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQA75MWLlsNeMtCTD6kRApeqAJ93BhSouiLO4IbDf+ZcPAhdtLSt0gCeN77v vcjnOj/NH5sWoXP32AVI9Sc= =tjsC -----END PGP SIGNATURE----- --=-o/7jntIUMeDlcp6ttx4G--