ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alexey Morozov <morozov@novosoft.ru>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] Re: gdk-pixbuf-0.16.0-alt1
Date: 11 Mar 2002 11:28:22 +0600
Message-ID: <1015824502.1984.144.camel@sig.novosoft.ru> (raw)
In-Reply-To: <20020310211357.GA2047@mhz.mikhail.zabaluev.name>

В Пнд, 11.03.2002, в 03:13, Mikhail Zabaluev написал:
> Придумал я это затем, чтобы процесс сборки не зависел от внешних
> условий, таких как наличие X-дисплея и его конфигурация.
Но зависел от наличия Xvfb? :-)

> > > > if [ "X$DISPLAY" != "X" ] && xdpyinfo; then
> > > >     echo "Using current DISPLAY $DISPLAY"
> > > > else
> > > >     unset DISPLAY
> > > >     # Everything below is not really tested and sick enough
> > > >     # so I'd better comment it out
> > > >     #DISPNUM=0
> > > >     #while [ -f /tmp/.X$DISPNUM-lock -o -e /tmp/.X11-unix/X$DISPNUM ];
> > > >     #do
> > > >     #  DISPNUM=$(($DISPNUM+1))
> > > >     #done
> > > >     #if [ -x %_x11bindir/Xvfb ]; then
> > > >     #    %_x11bindir/Xvfb $DISPNUM&
> > > >     #    sleep 3
> > > >     #    if [ -f /tmp/.X$DISPNUM-lock -o -e /tmp/.X11-unix/X$DISPNUM ];
> > > >     #    then
> > > >     #        DISPLAY=:$DISPNUM
> > > >     #        export DISPLAY
> > > >     #    fi
> > > >     #fi
> > > >     #if [ "X$DISPLAY" = "X" -a -x %_x11bindir/X ]; then
> > > >     #    %_x11bindir/X $DISPNUM&
> > > >     #    sleep 3
> > > >     #    if [ -f /tmp/.X$DISPNUM-lock -o -e /tmp/.X11-unix/X$DISPNUM ];
> > > >     #    then
> > > >     #        DISPLAY=:$DISPNUM
> > > >     #        export DISPLAY
> > > >     #    fi
> > > >     #fi
> > > >     if [ "X$DISPLAY" = "X" ]; then
> > > >         echo "NOT using X during build"
> > > >     fi
> > > > fi
> Как локальный хак сгодится, только в отсутствие X-дисплея у вас не
> построится документация.
Ну, тогда нужно требовать X в явном виде. В принципе, достаточно
раскомментировать основной кусок и/или потребовать, присутствия Xvfb для
сборки. Первое, после соответствующей доработки, конечно,
предпочтительнее. А зачем ему, кстати, X'ы?
А не сгодится ли какой-нибудь фиктивный XServer?


  reply	other threads:[~2002-03-11  5:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-10  5:29 [sisyphus] gdk-pixbuf-0.16.0-alt1 Unatine
2002-03-10 10:09 ` Alexey Morozov
2002-03-10 10:44   ` Unatine
2002-03-10 12:31     ` Alexey Morozov
2002-03-10 12:49       ` Unatine
2002-03-10 21:13       ` [sisyphus] gdk-pixbuf-0.16.0-alt1 Mikhail Zabaluev
2002-03-11  5:28         ` Alexey Morozov [this message]
2002-03-11  8:01           ` Mikhail Zabaluev
2002-03-11  9:31             ` Alexey Morozov

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=1015824502.1984.144.camel@sig.novosoft.ru \
    --to=morozov@novosoft.ru \
    --cc=sisyphus@altlinux.ru \
    /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

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git