delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/01/17/16:04:09

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_54,SPF_PASS,TVD_SPACED_SUBJECT_WORD3
X-Spam-Check-By: sourceware.org
Message-ID: <497247E9.80909@gmail.com>
Date: Sat, 17 Jan 2009 21:04:41 +0000
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
User-Agent: Thunderbird 2.0.0.18 (Windows/20081105)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: MinTTY
References: <495917BA DOT 1090401 AT gmail DOT com> <B156E7DDCF464660AEABAB84A01F365A AT DFW5RB41> <0E77A4429F494644A9C7CB6F6F3D2125 AT DFW5RB41> <0105D5C1E0353146B1B222348B0411A211B41DD8 AT NIHMLBX02 DOT nih DOT gov> <20081230165106 DOT GA5230 AT ednor DOT casa DOT cgf DOT cx> <495AB264 DOT 8020800 AT gmail DOT com> <495B3FB6 DOT 3030607 AT users DOT sourceforge DOT net> <49723D05 DOT 3020503 AT gmail DOT com>
In-Reply-To: <49723D05.3020503@gmail.com>
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

Andy Koppe wrote:

> Okay, I'm having a go at this. cygport does look very nice indeed, but 
> unfortunately I got stuck anyway.
> 
> So I've got the following files all in one directory:
> 
>   mintty-0.3.4-1.cygport
>   mintty-0.3.4-src.tgz
>   setup.hint
>   postinstall.sh
>   preremove.sh
> 
> Building the source and binary packages works, except for the following:
> 
>   *** Warning: setup.hint is missing
> 
> postinstall.sh and preremove.sh do not get included in the packages 
> either. The cygport README tells me that those files should all be 
> placed in the CYGWIN-PATCHES directory. So I naively created a that 
> directory alongside the .cygport and shuffled the three files in there, 
> but to no effect.
> 
> I also tried copying them the to ${C} at the start of src_install():
> 
>   cp setup.hint postinstall.sh preremove.sh ${C}
> 
> Alas, 'cp' couldn't find those files, presumably because it isn't run in 
> the same directory as the .cygport file.
> 
> So my probably rather stupid question is, where should I be putting 
> those files and how?

I worked it out, I think: run cygport prep command, copy the files into 
foo-x.y.z-r/CYGWIN-PATCHES, and run cygport compile, install and package 
commands.

Andy

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

- Raw text -


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