On 2025-04-25 09:34, Jeremy Drake via Cygwin-apps wrote:
On Fri, 25 Apr 2025, Philippe Baril Lecavalier via Cygwin-apps wrote:
On Thu, 24 Apr 2025 19:02:29 -0700 (PDT)
Jeremy Drake via Cygwin-apps <cygwin-apps@cygwin.com> wrote:
This package uses python3 at build time. I inherit-ed python3, would
I be better off putting it in BUILD_REQUIRES instead?
If it merely needs to execute some python scripts (seems to be the case
here), rather than build something like python modules, I don't think
python3 cygclass is needed, but in that case you should add it as build
dep.
Later (2014-12-25!) developer sources:
https://github.com/vmt/udis86
updated fork sources additions and fixes from multiple acked upstreams:
https://github.com/canihavesomecoffee/udis86
used by Debian packager:
https://salsa.debian.org/NyxTrail/udis86
see files under debian/; released as +20221013 - we would use 1.7.2+20221013.
Cygport assumes and performs "inherit autotools" - sometimes produces mysterious
messages!
>> I suggest to put patches from Gentoo in a subdir "gentoo", and
>> similarly for any existing outside patch, so that in the future we know
>> where this is from (lots of mystery patches in repos), and so one can
>> potentially look again if something changed where it comes from.
>
> New version of the cygport attached (the patches didn't change so I'm not
> re-attaching them).
I've always used remote URI definitions for upstream patches, for example:
# patch source repos - note *plain* text format patches
DEBIAN=https://sources.debian.org/data/main/${NAME:0:1}/$NAME/1.7.2-1/debian/patches
# Fedora patches from explicit latest f4# branch rather than rawhide or main!
FEDORA=https://src.fedoraproject.org/rpms/$NAME/raw/f42/f # explicit f42 branch
GENTOO=https://gitweb.gentoo.org/repo/gentoo.git/plain/dev-libs/$NAME/files
OPENSUSE=https://raw.githubusercontent.com/bmwiedemann/openSUSE/raw/refs/heads/master/packages/${NAME:0:1}/$NAME
PATCH_URI="
$DEBIAN/...patch
$FEDORA/...patch
$GENTOO/$NAME-1.7.2-docdir.patch
$GENTOO/$NAME-1.7.2-python3.patch
$GENTOO/$NAME-1.7.2-uninitialized-variable.patch
$OPENSUSE/...patch
" # keep explicit upstream versions for use with future versions
--
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