delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/04/29/18:23:55

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 53TMNseb1681694
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 53TMNseb1681694
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=kzDLhu+k
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BE3D93858D26
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1745965432;
bh=mvRXob+LVefpRejEnFfSjNodq55fsko1wT2OmbxUWBw=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=kzDLhu+kB/AGvNxi9iXj1e9nzokyjXcb+nkjt19RVyAOx8N+ivI1JaJiesfNld8fm
d/oa0+JLctvxVUONlVtCQx6s+95HUGwKeVWbGV7VwQDKUt5alFGnnsAAkV643XzJz9
JggZkXY9xKc8hNtrkvE2Y99A2l86xb7GlTDMjwj0=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 165A13858D26
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 165A13858D26
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1745965407; cv=none;
b=fte4bgbqc35EdmDGJDW9VxsI0V5rQxGh3J1u5vmLDFA5T+OSJ1RMlz0UBTBERFFQZvzoo38aC2FW2h5m4d1Y7Me3Sp35ZdOvHVwPN+FDQ4EdywyXF0ZsM0wd779J7SVB6ZL9aGjaY3K3GyV52FbeE/jBstN5fljmsVMdOEb6hsM=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1745965407; c=relaxed/simple;
bh=7hMb+dFZ0nRKMbc2yCwDOVEjr4u+J9lEL9GbJ4yg+SE=;
h=Message-ID:Date:MIME-Version:From:Subject:To:DKIM-Signature;
b=QJ4SEoQfZRasm4G+eOLYS6sCual5rNjy5AS0zBA5OHF/k6cs8GEpN1ozHp/lI3KQwKi00mj3x1xpOWFj/v9mKVAB7kuo1Al9Q2JyBIsYi6Ayt4p7uqWea1dOsZCu7dYsYAns8ec3Hm0x/jK0oqKQR1trWjmMmlZg0dfJAZFBpCg=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 165A13858D26
Message-ID: <b599f802-0fe6-4e4c-9d7f-ae83589bab57@SystematicSW.ab.ca>
Date: Tue, 29 Apr 2025 16:23:24 -0600
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: gnu-patch source, cygwin maintainer patches don't apply cleanly
To: cygwin AT cygwin DOT com
References: <CAGB_HuR1kZm4e0s=eqJtJixS_ukf-p6U3rr_Hm+c+z_HwVbqqw AT mail DOT gmail DOT com>
<622890479 DOT 20250429130437 AT yandex DOT ru>
<CAGB_HuTOnr0ShoRHVQGMz9VW+7ztzdgTnE45-sNbVqiigvq7Og AT mail DOT gmail DOT com>
Organization: Systematic Software
In-Reply-To: <CAGB_HuTOnr0ShoRHVQGMz9VW+7ztzdgTnE45-sNbVqiigvq7Og@mail.gmail.com>
X-Stat-Signature: hbgi45ctjdr888wu7aicpirri3f1cmca
X-Rspamd-Server: rspamout06
X-Rspamd-Queue-Id: 27E8330
X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361
X-Session-ID: U2FsdGVkX1+D4KcIShGHxirHROKXllaop96SnxK+RxQ=
X-HE-Tag: 1745965405-597060
X-HE-Meta: U2FsdGVkX1+cGmIlFdwhWgSl/60SiguAiUTxceLZL8/EFfkuUvPX6g1KR/Wa0+cghqpk3Y5joRWgquBGzWwBTQKuWUJ0OlhrI6oOiUXZ3tYBtzK1sXQQdy5yN1loeYqA+XUCWIIWLNGn6Z+if18iQmGoAj4GMgsQcEfgekCmEB1iIKWhgtvG4w36egeYo0TrtfS56S52eTnR7dbo2N0aGr+bOBkKeZo8WD4jgJZtkmEsjFD34cQJZ6DQa06kTMFy3Y++9/sOI8BKoEpFZCXsuJJkJg7Xj1NTVD8vIDpYTpBcqdzBRAI0xabgfdWx39LmgzGcSakx+H0ftpbfKbq0uwfu9Z7+dLjU7y26h0lA5R7FOGlABepQO8WgcibxrLQiZaCtl44zM/9+TQgbD3QYjHTBlcvK/YxOgto3qwS+OxJgaeEXl8BMS2Zl4EL4vSn+0Ixjp4QyI9lannrJsxWviKcNeNbSPbIToLSAr9YlHOZt/QF3wmgPDWcR7it9lnWYIg2lLWb1iwDSkUkOIWOWaplmINNLxXR38QyOWJUAHnUMwj6VEhX0lA==
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Brian Inglis via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Brian Inglis <Brian DOT Inglis AT SystematicSW DOT ab DOT ca>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 53TMNseb1681694

On 2025-04-29 11:07, Soren via Cygwin wrote:
> I read up some on cygport a while ago. My impression is that it makes
> packaging apps in conformance with the standards of cygwin easier. I
> don't remember clearly, but it didn't seem like a necessity for
> building packages for local use. My recollection is that cygport just
> automates the steps that a user would do:
>      $PATH_TO_SRC/configure <ARGS>
>      make
>      make check
>      make install

It does quite a bit more for you to check and setup up the build environment.
> The point of the Autotools is of course to make source package
> building work the same on every supported platform, and I have a
> half-dozen Gnu/Linux systems as well as this computer running cygwin
> on top of Windows 10, so I am a multi-platform user. I will explain
> that, as I mentioned, "...re-familiarizing myself with Autoconfiscated
> projects, primarily"; for personal reasons I ceased doing any sort of
> work or play on computers for 8 years, resuming only about a year ago.
> In that 8 years I aged (heh heh) and lost a lot of detailed knowledge.
> 
> I'll admit that I don't recall whether cygport patches the src for
> you. I should find out since it would be a real labor-saver.
It makes applying the patches easier, especially if you get them from an 
upstream distro like Fedora:
	https://cygwin.github.io/cygport/cygport_in.html
documentation on Preparation stage between Downloading and Compiling:

	https://cygwin.github.io/cygport/src_prep_cygpart.html

> I will apply myself to reading the fine documentation for cygport. I
> don't expect to have my hand held here on the list, I have been a
> reader long enough to realize that repeating the same instructions
> about cygport over and over is tiresome for the experienced readers.
> 
> I'm not likely to write "the next great tool" in C, as my C is rusty
> as hell, and my main interests lie in using (and extending) Perl.

GNU patch 2.8 is now available and should be updated soon in Cygwin:

	https://savannah.gnu.org/projects/patch

	https://ftpmirror.gnu.org/patch/

You can clone the cygport repo:

	https://cygwin.com/git/cygwin-packages/patch

change the version, update the Fedora patch sources to F42:

	https://src.fedoraproject.org/rpms/patch/raw/f42/f

comment out all the patches:

https://cygwin.com/git/?p=git/cygwin-packages/patch.git;a=blob;f=patch.cygport

probably also the autoconf version, and SCALLYWAG test suppression; then run:

	$ cygport patch.cygport get all

and it may well build you a nice new version of patch, with all the build logs 
under patch-2.8-1.x86_64/log/, the install tree under .../inst/ and the tars 
under .../dist/, etc.

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retrancher  but when there is no more to cut
                                 -- Antoine de Saint-Exupéry

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

- Raw text -


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