Mail Archives: cygwin/2012/09/25/20:06:26
X-Recipient: | archive-cygwin AT delorie DOT com
|
X-SWARE-Spam-Status: | No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,MAY_BE_FORGED,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_NEUTRAL
|
X-Spam-Check-By: | sourceware.org
|
Message-ID: | <506246E9.405@cs.utoronto.ca>
|
Date: | Tue, 25 Sep 2012 20:06:01 -0400
|
From: | Ryan Johnson <ryan DOT johnson AT cs DOT utoronto DOT ca>
|
User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1
|
MIME-Version: | 1.0
|
To: | cygwin AT cygwin DOT com
|
Subject: | Re: Unwanted texlive invasion
|
References: | <5061D0B4 DOT 40601 AT cs DOT utoronto DOT ca> <5061E4CA DOT 5090708 AT cornell DOT edu> <CAM-A7MBGCjdDv+iehp2As5wDh+UbpmJt6wzp1edh6-7Ey=05Eg AT mail DOT gmail DOT com> <50622016 DOT 6060208 AT cornell DOT edu>
|
In-Reply-To: | <50622016.6060208@cornell.edu>
|
X-IsSubscribed: | yes
|
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm
|
List-Id: | <cygwin.cygwin.com>
|
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com>
|
List-Archive: | <http://sourceware.org/ml/cygwin/>
|
List-Post: | <mailto:cygwin AT cygwin DOT com>
|
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
|
Sender: | cygwin-owner AT cygwin DOT com
|
Mail-Followup-To: | cygwin AT cygwin DOT com
|
Delivered-To: | mailing list cygwin AT cygwin DOT com
|
On 25/09/2012 5:20 PM, Ken Brown wrote:
> [Please don't top-post.]
>
> On 9/25/2012 2:10 PM, Wynfield Henman wrote:
>> On Tue, Sep 25, 2012 at 10:07 AM, Ken Brown wrote:
>>> On 9/25/2012 11:41 AM, Ryan Johnson wrote:
>>>>
>>>> Hi all,
>>>>
>>>> I'm trying to upgrade a set of existing cygwin packages, and texlive
>>>> suddenly wants to install itself, apparently due to a new dependency
>>>> from gnuplot. Is this really necessary?
>>>
>>>
>>> This dependency is created by cygport. It's of course up to the
>>> gnuplot
>>> maintainer (Volker Zell) whether or not he wants to override it, but
>>> I can
>>> explain the rationale. gnuplot installs some files into
>>> /usr/share/texmf-dist. To make it possible for tex to find those
>>> files, the
>>> gnuplot postinstall script runs /usr/bin/mktexlsr. The latter is
>>> provided
>>> by texlive-collection-basic, so this package is required by gnuplot.
>>>
>>> Maybe you should just bite the bullet and install texlive. It won't
>>> interfere in any way with your native TeX Live installation, as long
>>> as you
>>> put the bin directory for the latter first in your path.
>
> > I don't agree. The solution should not be to install an unnecessary
> > package and waste space and complicate by having to check order in the
> > PATH variable.
>
> People who install programs that are not provided by Cygwin have to
> expect to set PATH appropriately, including checking the order of the
> paths.
>
> > It would be better that a.) installation scripts check for the
> > existence of the necessary commands first and not brute force the
> > installation or warning that the cygwin port of it be installed.
>
> For the issue being discussed in this thread (the gnuplot dependency
> on texlive-collection-basic), the necessary command *is*
> /usr/bin/mktexlsr. Running the mktexlsr provided by the native TeX
> Live distribution will not do the job (which is to make the files
> installed in /usr/share/texmf-dist accessible to tex).
>
> > It may also be desirable, to have setup use a list of packages to NOT
> > install, regardless of any dependencies.
>
> I don't think setup.exe should make it quite that easy for people to
> circumvent dependencies. But maybe something like the Debian "equivs"
> facility would be useful (see http://www.tug.org/texlive/debian.html
> for a discussion of this in the context of TeX Live).
I think this really reflects a more general issue, which is how software
should treat optional dependencies (e.g. gnuplot's TikZ terminal, or
myriad emacs bells and whistles). Options tend to be hardwired in at
compile time, with pressure to include support for everything lest some
user complain their favorite feature is disabled. If feature checks were
performed at runtime, the problem goes away. Files in
/usr/share/texmf-dist are a problem under this regime, but really it
just shows that TikZ should be a separate package that depends on both
texlive and gnuplot; it is essentially a pair of plugins, one for each app.
</wishful-thinking>
Meanwhile, the workaround is simple enough this time: uninstall gnuplot.
Fewer checkboxes to tick in setup.exe, only needs done once, and its
.tgz (to compile from scratch) is significantly smaller than the texlive
packages, should that become necessary.
Ryan
--
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
- Raw text -