On 2025-08-02 07:30, Bruno Haible via Cygwin wrote:
Hello Jon,

(These can be installed into /usr/src/ using the setup tool, by
selecting "src?" checkbox after locating the appropriate package and
version)

Oh, I completely missed this possibility.

I also missed the possibility to download the source package from a
Cygwin packages mirror, such as https://ftp.gwdg.de/pub/cygwin/x86_64/release/ .

I was focused on the links that can be reached from the
https://cygwin.com/packages/summary/<package>.html
and
https://cygwin.com/packages/summary/<package>-src.html
including the "packaging repository:" link.

Apologies.

For the exactly reasons you lay out, it is absolutely mandatory that
those packages exist, are accurate and be provided along with the
install package.

That's great. Sorry that I got a wrong impression.

I would very much like to evolve it into a system
which reduces the scope for maintainer error and where the sources used
to build a package are more transparently and easily located.

Maybe in the per-version table in
https://cygwin.com/packages/summary/<package>-src.html,
next to the hyperlink "list of files", add another column "Download source",
with a hyperlink to <mirror>/x86_64/release/<package>/*-src.tar.{xz,zst}. ?

Difficult when there are a plethora of global mirrors in
/etc/setup/setup.rc, https://cygwin.com/mirrors.html, and
https://cygwin.com/mirrors-report.html e.g. [for me]

https://mirror.cpsc.ucalgary.ca/mirror/cygwin.com/x86_64/release/gettext/…
                    https://muug.ca/mirror/cygwin/x86_64/release/gettext/…
     https://mirrors.kernel.org/sourceware/cygwin/x86_64/release/gettext/…

and source packages:

…/x86_64/release/gettext/gettext-0.22.3-1-src.hint
…/x86_64/release/gettext/gettext-0.22.3-1-src.tar.xz
…/x86_64/release/gettext/gettext-0.22.4-1-src.hint
…/x86_64/release/gettext/gettext-0.22.4-1-src.tar.xz
…/x86_64/release/gettext/gettext-0.22.5-1-src.hint
…/x86_64/release/gettext/gettext-0.22.5-1-src.tar.xz

As with the GNU https://ftpmirror.gnu.org/ mirrors, you just have to know your way around the tree, or the setup.ini contents e.g.

$ awk 'BEGIN{RS="\n\n@ ";FS="\n";};/^gettext\n/' ~/mirror/x86_64/setup.ini
gettext
sdesc: "GNU Internationalization library and utilities"
ldesc: "A well integrated set of tools and documentation that provides a
framework for producing multi-lingual messages in programs.
Includes a set of conventions for writing programs to support message
catalogs, a directory and file naming organization for message catalogs,
a library for retrieving translated messages, and programs for handling
translatable and translated strings."
category: Text Devel Utils
version: 0.22.5-1
install: x86_64/release/gettext/gettext-0.22.5-1.tar.xz 225460 fccb5b15319047543961c7d606fa1024ccc6031e3b90b1170ca88b429ae87d9bb76ff006c3eb1b425415f156006bc6d401b38b3e19754b3429ec4f571d767bea source: x86_64/release/gettext/gettext-0.22.5-1-src.tar.xz 8483620 101bf0971ec63c5a99fc1f78be0047417ce4bbbe6bee88596a27973cad07cbb7a89e466e3e996332ef9d99b3d38b3bede42e53ca544c5e3540f723ccb8621e04
depends2: bash, cygwin, libiconv2, libintl8
build-depends: bzip2, coreutils, cygport, diffutils, emacs, gawk, gcc-core, gcc-g++, git, grep, gzip, libiconv-devel, libncurses-devel, libopenmpi-devel, libunistring-devel, libxml2-devel, make, tar, xz
[prev]
version: 0.22.3-1
install: x86_64/release/gettext/gettext-0.22.3-1.tar.xz 224700 54c4a9f68292c3cafeb9211c7623d43d75b9cede8717f0a917aac30e4aad7b1a97d40e0176586e3eaee73d754eaba9ea95f9c1816b9aca567e387c85d7170f9a source: x86_64/release/gettext/gettext-0.22.3-1-src.tar.xz 8437416 511f5efd060bf3d2fd6f313322ca48f3e5f44572e2ed1bb9f11584b370e07f455c67c67e6d0f288a0a8bde4456a21d483d8e37883a55779ddfb5eb3cdb2c806d
depends2: bash, cygwin, libiconv2, libintl8
build-depends: bzip2, coreutils, cygport, diffutils, emacs, gawk, gcc-core, gcc-g++, git, grep, gzip, libiconv-devel, libncurses-devel, libopenmpi-devel, libunistring-devel, libxml2-devel, make, tar, xz
[prev]
version: 0.22.4-1
install: x86_64/release/gettext/gettext-0.22.4-1.tar.xz 225168 26db4f1dfde8de4e521eed632b4214562338abc98c86b1192e165d80e411d546ff180b8f6de00f5e4163a143413bfef1e5aed6a558d86fce72bfaf2a03769650 source: x86_64/release/gettext/gettext-0.22.4-1-src.tar.xz 8453452 b8d5f8af67b568ff76f1d576d7550235960b6d2c911df5dc3e42a4802dde190decd9ebd9888aa5c8606099fa0e221fdb30bc7471b7b9d29527fb3cbefbc81a4e
depends2: bash, cygwin, libiconv2, libintl8
build-depends: bzip2, coreutils, cygport, diffutils, emacs, gawk, gcc-core, gcc-g++, git, grep, gzip, libiconv-devel, libncurses-devel, libopenmpi-devel, libunistring-devel, libxml2-devel, make, tar, xz

--
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

Reply via email to