From ce24bcfb58da51f5858df5e9afa866826cf89a64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20M=C3=BCller?= Date: Tue, 11 Feb 2025 20:47:46 +0100 Subject: [PATCH 1/7] Add Msys2 package to installation page --- _data/packages.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/_data/packages.yaml b/_data/packages.yaml index 6b8f9e87..bdda4658 100644 --- a/_data/packages.yaml +++ b/_data/packages.yaml @@ -221,6 +221,18 @@ repo_description: Crystal manifest in WinGet packages repository repology: winget +- type: community + os: Windows + arch: [x86_64] + title: Msys2 + example: | + ```shell + pacman -S mingw-w64-x86_64-crystal + ``` + repo_href: https://packages.msys2.org/packages/mingw-w64-x86_64-crystal + repo_description: Crystal package in Msys2 + repology: msys2_mingw + ### FreeBSD - type: system From 752958703e79c904be545b005175a830b12f8159 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20M=C3=BCller?= Date: Tue, 11 Feb 2025 21:55:20 +0100 Subject: [PATCH 2/7] MSYS2 --- _data/packages.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_data/packages.yaml b/_data/packages.yaml index bdda4658..6ffca5b2 100644 --- a/_data/packages.yaml +++ b/_data/packages.yaml @@ -224,13 +224,13 @@ - type: community os: Windows arch: [x86_64] - title: Msys2 + title: MSYS2 example: | ```shell pacman -S mingw-w64-x86_64-crystal ``` repo_href: https://packages.msys2.org/packages/mingw-w64-x86_64-crystal - repo_description: Crystal package in Msys2 + repo_description: Crystal package in MSYS2 repology: msys2_mingw ### FreeBSD From a3107ddb1872ba5f61ff5e789d14572ec84c8a78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20M=C3=BCller?= Date: Tue, 11 Feb 2025 21:55:35 +0100 Subject: [PATCH 3/7] Add examples for ucrt and clang --- _data/packages.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/_data/packages.yaml b/_data/packages.yaml index 6ffca5b2..f8061868 100644 --- a/_data/packages.yaml +++ b/_data/packages.yaml @@ -226,6 +226,12 @@ arch: [x86_64] title: MSYS2 example: | + ```shell + pacman -S mingw-w64-ucrt-x86_64-crystal + ``` + ```shell + pacman -S mingw-w64-clang-x86_64-crystal + ``` ```shell pacman -S mingw-w64-x86_64-crystal ``` From bc772d717444f6be0df9552d1f3fa90a4809d440 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20M=C3=BCller?= Date: Tue, 11 Feb 2025 22:20:46 +0100 Subject: [PATCH 4/7] Update _data/packages.yaml Co-authored-by: Quinton Miller --- _data/packages.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_data/packages.yaml b/_data/packages.yaml index f8061868..8ce19b32 100644 --- a/_data/packages.yaml +++ b/_data/packages.yaml @@ -235,9 +235,9 @@ ```shell pacman -S mingw-w64-x86_64-crystal ``` - repo_href: https://packages.msys2.org/packages/mingw-w64-x86_64-crystal + repo_href: https://packages.msys2.org/base/mingw-w64-crystal repo_description: Crystal package in MSYS2 - repology: msys2_mingw + repology: msys2_ucrt64 ### FreeBSD From 470a903891c01347f834919cb056138fbf856253 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20M=C3=BCller?= Date: Wed, 12 Feb 2025 16:19:40 +0100 Subject: [PATCH 5/7] Add shards --- _data/packages.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_data/packages.yaml b/_data/packages.yaml index 8ce19b32..f417f735 100644 --- a/_data/packages.yaml +++ b/_data/packages.yaml @@ -227,13 +227,13 @@ title: MSYS2 example: | ```shell - pacman -S mingw-w64-ucrt-x86_64-crystal + pacman -S mingw-w64-ucrt-x86_64-crystal mingw-w64-ucrt-x86_64-shards ``` ```shell - pacman -S mingw-w64-clang-x86_64-crystal + pacman -S mingw-w64-clang-x86_64-crystal mingw-w64-clang-x86_64-shards ``` ```shell - pacman -S mingw-w64-x86_64-crystal + pacman -S mingw-w64-x86_64-crystal mingw-w64-x86_64-shards ``` repo_href: https://packages.msys2.org/base/mingw-w64-crystal repo_description: Crystal package in MSYS2 From 234fb3956436c3ebdb58cdbfffd87c20f4336568 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20M=C3=BCller?= Date: Wed, 12 Feb 2025 16:21:34 +0100 Subject: [PATCH 6/7] Split into separate packages --- _data/packages.yaml | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/_data/packages.yaml b/_data/packages.yaml index f417f735..ddfe4253 100644 --- a/_data/packages.yaml +++ b/_data/packages.yaml @@ -224,20 +224,38 @@ - type: community os: Windows arch: [x86_64] - title: MSYS2 + title: "MSYS2: UCRT42" example: | ```shell pacman -S mingw-w64-ucrt-x86_64-crystal mingw-w64-ucrt-x86_64-shards ``` + repo_href: https://packages.msys2.org/packages/mingw-w64-ucrt-x86_64-crystal + repo_description: Crystal package in MSYS2 + repology: msys2_ucrt64 + +- type: community + os: Windows + arch: [x86_64] + title: "MSYS2: Clang64" + example: | ```shell pacman -S mingw-w64-clang-x86_64-crystal mingw-w64-clang-x86_64-shards ``` + repo_href: https://packages.msys2.org/packages/mingw-w64-clang-x86_64-crystal + repo_description: Crystal package in MSYS2 + repology: msys2_clang64 + +- type: community + os: Windows + arch: [x86_64] + title: "MSYS2: MinGW64" + example: | ```shell pacman -S mingw-w64-x86_64-crystal mingw-w64-x86_64-shards ``` - repo_href: https://packages.msys2.org/base/mingw-w64-crystal + repo_href: https://packages.msys2.org/packages/mingw-w64-x86_64-crystal repo_description: Crystal package in MSYS2 - repology: msys2_ucrt64 + repology: msys2_clang64 ### FreeBSD From 08e9acdea98f7a9af201a9541976bd7168294ffb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20M=C3=BCller?= Date: Wed, 12 Feb 2025 18:57:16 +0100 Subject: [PATCH 7/7] Apply suggestions from code review Co-authored-by: Quinton Miller --- _data/packages.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_data/packages.yaml b/_data/packages.yaml index ddfe4253..d16a7789 100644 --- a/_data/packages.yaml +++ b/_data/packages.yaml @@ -224,7 +224,7 @@ - type: community os: Windows arch: [x86_64] - title: "MSYS2: UCRT42" + title: "MSYS2: UCRT64" example: | ```shell pacman -S mingw-w64-ucrt-x86_64-crystal mingw-w64-ucrt-x86_64-shards @@ -255,7 +255,7 @@ ``` repo_href: https://packages.msys2.org/packages/mingw-w64-x86_64-crystal repo_description: Crystal package in MSYS2 - repology: msys2_clang64 + repology: msys2_mingw ### FreeBSD