Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm Sender: cygwin-apps-owner AT cygwin DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT cygwin DOT com Message-ID: <01a801c18036$3d447350$0200a8c0@lifelesswks> From: "Robert Collins" To: "Jan Nieuwenhuizen" Cc: , References: <878764062 DOT 20011128173421 AT nyckelpiga DOT de><4434079433 DOT 20011129221637 AT familiehaase DOT de><9517228633 DOT 20011203135833 AT familiehaase DOT de> <3C0D8535 DOT D67735D1 AT ece DOT gatech DOT edu><00d501c17d93$1936c990$0200a8c0 AT lifelesswks> Subject: Re: experimental texmf packages Date: Sun, 9 Dec 2001 09:18:16 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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" > Jan Nieuwenhuizen 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 > > * 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