Skip to content

Fetch Freetype source tarballs from a new host#205

Open
HexDecimal wants to merge 2 commits into
rougier:masterfrom
HexDecimal:new-host
Open

Fetch Freetype source tarballs from a new host#205
HexDecimal wants to merge 2 commits into
rougier:masterfrom
HexDecimal:new-host

Conversation

@HexDecimal
Copy link
Copy Markdown

The old host is still unavailable. This is needed to fix build scripts and CI. Resolves #200

GitLab is picked over GitHub because of the archive format, GitHub only has zips.

tarfile.open call modified to use universal compression since there's no .tar.xz file available.

Test rexgex updated to understand the new source archive filename.

FreeType 2.13.2 accidentally pinned its CMake version to 3.0 which is no longer supported by CMake. -DCMAKE_POLICY_VERSION_MINIMUM=3.5 is added as a workaround and must be removed after updating FreeType.

The old host is still unavailable. This is needed to fix build scripts and CI. Resolves rougier#200

GitLab is picked over GitHub because of the archive format, GitHub only has zips.

`tarfile.open` call modified to use universal compression since there's no `.tar.xz` file available.

Test rexgex updated to understand the new source file syntax.

FreeType 2.13.2 accidentally pinned its CMake version to 3.0 which is no longer supported by CMake.
`-DCMAKE_POLICY_VERSION_MINIMUM=3.5` is added as a workaround and must be removed after updating FreeType.
@HinTak
Copy link
Copy Markdown
Collaborator

HinTak commented Feb 1, 2026

Your gitlab url is not a release tar ball but auto-generated ones against a tag. There is a small difference.

@HexDecimal
Copy link
Copy Markdown
Author

I wouldn't argue otherwise. The main difference being how the archive file is labeled.

Is there a more important difference I'm missing? This is building from source as far as I can tell.

@HexDecimal
Copy link
Copy Markdown
Author

FreeType doesn't do any GitHub releases or GitLab releases. The auto generated archives from tags appeared to be the next most reliable option.

@HexDecimal
Copy link
Copy Markdown
Author

HexDecimal commented Feb 1, 2026

I'm willing to swap this to a different host URL if you have something in mind.

@HexDecimal
Copy link
Copy Markdown
Author

HexDecimal commented Feb 1, 2026

I checked https://download.savannah.gnu.org/releases/freetype/ but the download was slow so I'm not confident it has the capacity for automated tasks. (could just be me though.) I misunderstood the nature of the mirror. It should be fine.

@HexDecimal
Copy link
Copy Markdown
Author

HexDecimal commented Feb 1, 2026

I now replaced this with download.savannah.gnu.org so it should be the exact same file as before. (same SHA, same filename)

@HexDecimal HexDecimal changed the title Fetch Freetype source tarballs from GitLab Fetch Freetype source tarballs from a new host Feb 1, 2026
@HexDecimal
Copy link
Copy Markdown
Author

The only thing remaining is the decision to to keep, revert, or erase my changes which allow for handling the auto-generated archives which are no longer downloaded by this PR.

The current host of this PR is FreeType's official meta-mirror: download.savannah.gnu.org found at https://freetype.org/download.html
I can't imagine a more authoritative source, other than the repos themselves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Freetype Host doesn't seem to have the freetype repo mirrored anymore.

2 participants