delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/12/08/17:18:25

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: <01a801c18036$3d447350$0200a8c0@lifelesswks>
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: "Jan Nieuwenhuizen" <janneke AT gnu DOT org>
Cc: <cygwin-apps AT cygwin DOT com>, <cygwin-patches AT cygwin DOT com>
References: <m3bshtmxhb DOT fsf AT appel DOT lilypond DOT org><878764062 DOT 20011128173421 AT nyckelpiga DOT de><m37ks9lgxi DOT fsf AT appel DOT lilypond DOT org><4434079433 DOT 20011129221637 AT familiehaase DOT de><m3oflgy98n DOT fsf AT appel DOT lilypond DOT org><9517228633 DOT 20011203135833 AT familiehaase DOT de><m3lmgkwgeu DOT fsf AT appel DOT lilypond DOT org> <3C0D8535 DOT D67735D1 AT ece DOT gatech DOT edu><m33d2pam3l DOT fsf AT appel DOT lilypond DOT org><00d501c17d93$1936c990$0200a8c0 AT lifelesswks><m3zo4x7obb DOT fsf AT appel DOT lilypond DOT org> <m38zcdssxd DOT fsf AT appel DOT lilypond DOT org>
Subject: Re: experimental texmf packages
Date: Sun, 9 Dec 2001 09:18:16 +1100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-OriginalArrivalTime: 08 Dec 2001 22:18:12.0579 (UTC) FILETIME=[3995C330:01C18036]

Follow to cygwin-patches please.

Thanks for freshening this up. There's still a little more to do, but it
looks good nonetheless.

Rob

----- Original Message -----
From: "Jan Nieuwenhuizen" <janneke AT gnu DOT org>
> Jan Nieuwenhuizen <janneke AT gnu DOT org> writes:
>
> > > BTW: can you freshed up your postremove patch? I'd like that to be
> > > included in setup.
> >
> > Yes, will do.

Thank you. A few nits:

> cygwin-installer-20011208.ChangeLog
> 2001-12-08  Jan Nieuwenhuizen  <janneke AT gnu DOT org>
>
> * Makefile.in (CFLAGS): Remove -Werror to allow build.

The Werror is in by design. If your patch won't build with it, I won't
accept you patch.

> (realclean): more clean.
>
> * configure.in (LIB_AC_PROG_CXX): Bugfix for CXXFLAGS override.

What's wrong with the current method?

> * desktop.cc (etc_profile): Remove line breaks and spaces from PS1.

The line is now > 80 chars, and indent will break it up again. Is there
some reason for this change?

> * Forward port cygwin-20010707.jcn3.patch.
>
> * postinstall.cc (do_postinstall): Split off:
> (init_run_script): New function.
> (run_script_in_etc_postinstall): New function.
>
> * package_meta.cc (try_run_script): New function.

This doesn't belong here. It's nothing to do with the package, but with
interfacing with the shell/scripts. Also (this one is minor/optional),
cygpath and _access are deprecated - foo = io_stream::open (concat
("cygfile://", dir, fname, 0), "rb") followed by run_script (foo) would
be the more OO approach here.

In the future I think we'll want a script or shell class to encapsulate
all of this.

> (uninstall): Run pre- and postremove scripts.


> * install.cc (do_install): Run script initialisation.

You're missing postinstall.h in your changelog.
Also postinstall.h won't compile if it's the only include used in a
translation unit. (ie include the _absolutely_ required headers to parse
postinstall.h

Thanks

- Raw text -


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