ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/12/04/20:07:19

Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm
Sender: cygwin-apps-owner AT cygwin DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT cygwin DOT com>
List-Help: <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT cygwin DOT com
Message-ID: <3C0D72CC.2A5DC9E4@ece.gatech.edu>
Date: Tue, 04 Dec 2001 20:05:16 -0500
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.8 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To: Jan Nieuwenhuizen <janneke AT gnu DOT org>
CC: JGMBenoit AT Wanadoo DOT fr, cygwin-apps AT cygwin DOT com
Subject: Re: RFP: texmf
References: <m3zo50xawc DOT fsf AT appel DOT lilypond DOT org>
<20011203212637 DOT GA29013 AT redhat DOT com>
<m3vgfox8k8 DOT fsf AT appel DOT lilypond DOT org> <3C0D54FC DOT A6FDDA21 AT t-online DOT de> <m3vgfmzduo DOT fsf AT appel DOT lilypond DOT org>
X-Virus-Scanned: by amavisd-milter (http://amavis.org/)

Jan Nieuwenhuizen wrote:
> 520066587150-0001 AT t-online DOT de (Jerome BENOIT) writes:
> > I will try to rebuild the tetex-beta package this week-end.
> > To avoid any confusion, I plan to rename it `tetex-bin' as suggested
> > in a previous email.
> Very nice.

Be sure to also create a new 'tetex-beta' package that is empty, but
carries a higher version number than the current tetex-beta package. 
You will also need to inform folks to update 'tetex-beta' FIRST, and
then install 'tetex-bin'

Package renaming is a pain (but sometimes necessary).  Rest assured, you
will see many many FAQs if you *do* rename your package -- make sure the
benefit (reduced confusion?) is worth it.

> Sorry for the vagueness, I only heard some complaints when I sent the
> message.  I've investigated a bit, and pdftex.exe doesn't run when
> libjpeg isn't installed (this was missing from my texmf requires:
> line).  Also, texconfig doesn't run when libncurses5 is not installed,
> while the current default is libcurses6?

libncurses5 package contains only the DLL's so that previously working
executables that depend on those versions don't break (woulda been nice
if I'd known to do that with libpng, right?)

However, NEW package builds will link against libncurses6.

> But I really don't know, there were complaints on the list.  Looking
> at it now, it seems to me that both problems would be fixed by adding
> these to tetex-beta/bin's setup.hint:
>     requires: ash bash cygwin libncurses5 jpeg libpng tiff ncurses sed
>     termcap texmf-base zlib

Nope -- the libpng problem will remain.  That was a goof -- but it
wasn't my fault :-/   The binary interface of libpng changed, but they
didn't bump the dll number -- and I didn't know the binary interface had
changed until it was too late.

> a good idea in any case, but I don't know if there are other problems,
> or what the idea is with the ncurses5/6 libs.

The idea is the same as on linux.  You have runtime shared libs, and
development libs.  The various versions of the runtime libs (DLL's) stay
around "forever" so that old executables will continue to work. 
(libncurses5, libncurses6).  You can have many different sharedlib
packages installed at the same time.  BUT you can only have one
development lib package (import libs)  at a time -- unless you want to
jump thru major hoops.

Therefore, the development lib that is installed at any given time will
induce a dependency on a SPECIFIC runtime-lib version in executables
linked AT THAT TIME.  Currently, the development libs (for [lib]ncurses)
are in the "ncurses" package, and induce dependency on libncurses6.

So: old apps will continue to work, and depend on libncurses5.  New apps
will depend on libncurses6.  Both old apps, new apps, libncurses5, and
libncurses6 can coexist on the same system.

(Libpng is the counterexample.  Call it a screwup)


- Raw text -

  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019