X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=2.6 required=5.0	tests=AWL,BAYES_40,FREEMAIL_FROM,KAM_THEBAT,TW_YG
X-Spam-Check-By: sourceware.org
Date: Fri, 2 Mar 2012 16:24:20 +0400
From: Andrey Repin <anrdaemon@freemail.ru>
Reply-To: Andrey Repin <cygwin@cygwin.com>
Message-ID: <1582533978.20120302162420@mtu-net.ru>
To: Achim Gratz <Stromeko@nexgo.de>, cygwin@cygwin.com
Subject: Re: Recent upgrade to wish leads to a problem
In-Reply-To: <87wr73plij.fsf@Rainer.invalid>
References: <70952A932255A2489522275A628B97C3129F4CE5@xmb-sjc-233.amer.cisco.com> <20120301181416.GB28713@ednor.casa.cgf.cx> <CA+sc5mnk9mkDUJb-4Kz2pRs8Vi-2iH7AD1pqqfOUg_nyojEzZg@mail.gmail.com> <20120301182805.GD28713@ednor.casa.cgf.cx> <CA+sc5mn-1N+uYnB2ZH7BqDxHgGz3jC7xX7vf=9OQDGpLtCy=nw@mail.gmail.com> <87pqcwoy16.fsf@Rainer.invalid> <1330650919.6952.8.camel@YAAKOV04> <87wr73plij.fsf@Rainer.invalid>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Greetings, Achim Gratz!

> As long as setup.exe doesn't handle "recommendations", how about having
> an (empty) package "X-application" (or whatever better name you come up
> with) that all such applications depend on?  I'm still not sure how to
> get the actual warning to the user, but for starters the postinstall
> script could fail when it doesn't find the Cygwin X server and leave a
> file that cygcheck looks for otherwise.

Nothing stops you from showing a warning/opening a README to the user in the
same postinstall script.
And there's more, and better, ways to check for configured X server, I bet.


--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 02.03.2012, <16:22>

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

