From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 52502 invoked by alias); 28 Mar 2019 09:36:42 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 52495 invoked by uid 89); 28 Mar 2019 09:36:41 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-103.6 required=5.0 tests=AWL,BAYES_50,GOOD_FROM_CORINNA_CYGWIN,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=retrieve, Gratz, gratz, helpfully X-HELO: mout.kundenserver.de Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (212.227.126.130) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 28 Mar 2019 09:36:40 +0000 Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MLzeb-1hRNqu1TaT-00HyjQ for ; Thu, 28 Mar 2019 10:36:37 +0100 Received: by calimero.vinschen.de (Postfix, from userid 500) id B0101A80534; Thu, 28 Mar 2019 10:36:36 +0100 (CET) Date: Thu, 28 Mar 2019 09:36:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: [ANNOUNCEMENT] Updated: mintty 2.9.9 Message-ID: <20190328093636.GO4096@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <87pnqq536x.fsf@Rainer.invalid> <8bf901a3-5e61-fa65-651f-5bdb9dddba4b@towo.net> <20190324181931.GE3471@calimero.vinschen.de> <8b43cced-6c22-e9de-046d-0895d0bc4f81@towo.net> <87sgvarfgt.fsf@Rainer.invalid> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="45wMVEkw4XUbiYON" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.3 (2019-02-01) X-SW-Source: 2019-03/txt/msg00624.txt.bz2 --45wMVEkw4XUbiYON Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 2204 On Mar 28 09:43, Thomas Wolff wrote: > Achim Gratz wrote: > >=20 > > > Trying cygport package, a bunch of problems arise: > > >=20 > > > I removed -s as suggested by Achim, added -g as advised by Corinna, > > > but cygport still says: > > > *** Info: No debug files, skipping debuginfo subpackage > > Well, do not reset CFLAGS in your Makefile and cygport helpfully > > provides all the scaffolding you need. You might have noticed I > > replaced the ":=3D" in your Makefile for exactly that reason. > I wondered why and forgot... Works now, thank you. > > A build system is supposed to be able to pre-configure CFLAGS without y= our > > Makefile nixing all of that effort. > As also indicated by Jeffrey Walton. However, I'll do only minimal revisi= on > of the Makefile, as required. >=20 > >=20 > > > Achim also suggested some changes in the cygport file: > > > #SRC_URI=3D"https://github.com/${NAME}/release/${NAME}-${VERSION}-src= .tar.bz2" > > > SRC_URI=3D"https://github.com/${NAME}/${NAME}/archive/${VERSION}.tar.= gz" > > > =E2=86=92 While it=E2=80=99s proper to retrieve the archive (if neede= d at all; why > > > does cygport refer to this if the package is locally available?) > > It's generally considered bad form to provide a cygport file that > > doesn't work standalone and the SRC_URI you provided only got me a 404. > Referring to the "release" repository was only a fallback rescue setting, > because due to github's strange URL scheme, the working download URL would > confuse cygport. If your repo is on github anyway it would be much simpler to define the source as a git repo. Rather than SRC_URI, just use something like this: GIT_URI=3D"https://github.com/mintty/mintty.git" # Just as example # Either... GIT_TAG=3D"your release tag" # ...or... GIT_REV=3D"matching sha1-hash" inherit git > Sure, that's why the VERSION should better not be mentioned in it, right? No, the VERSION and RELEASE fields define how tohe package is called when you do `cygport package'. Did you read Cygwin's Package Contributor's Guide? https://cygwin.com/packaging-contributors-guide.html It's really not that complicated to do it right. Corinna --=20 Corinna Vinschen Cygwin Maintainer --45wMVEkw4XUbiYON Content-Type: application/pgp-signature; name="signature.asc" Content-length: 833 -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlyclaQACgkQ9TYGna5E T6B8SRAAgfWpJfBZ+aOOF2iypT70L3uktBRUaFC5oghlzqa22EBC7zLefbywLYJi NP3vcEFPAnjED2452CAQF7eiOxJS/YYB5wVDkjLtZXDtaSLG9eTqq7PGfxctsuxe V6iwa2RyKCz/2I+Jm6sutv0u9WAOgx33PU+tj30401wIQoGOiwhIhSotL2spkCa+ sazvlrnMkdoxxZs+gAMbEuAK5JblEs3eEXOnWa8U8gvEUSJZ30sDIoDp4LU+X7Pf GrkAxsW99qpL58E5EzPgL/+BA7JzViGMoJ3h1ux4uOWJtvV3SNs6o4oG7i3wPW8y yZIBTfpRat46Q/NMVQxNuC2SZ1XiFU4+JFBpFL9sBxJiuIMNN6ox2UWKomx2FGOx 9lKPVZFh/QVwAw2XwDHRfsc0VIa1PTRAtiXyP154PeAGXf2GgJgxgSSCvHhOI4vY irjudDHgmjFHZqtlQUYrxqCxO9h5fuq3dhNhiAOZxaOC6mgLUZRa7dQ7nbedDI3a RcEzszJvmD2Ey54eaeOSFyITsmR7C0o0J4FR+sGJMZgStOj0dDv1/XwvkkVwQxyq CIVYTUPZzHJhENVA6D5jhGIVKkenCo8wLzSlQvOnWh+s8iQ6pdDCghRF7Cl7OX/n hVJ30Xdb1adb7uvQuYw9cj46r/HniLUxdx8zToWuX7ezPgypow4= =GBQ6 -----END PGP SIGNATURE----- --45wMVEkw4XUbiYON--