From 2952a0756dc3dfcc7e5f3d178c598cb2112eb8cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B3n=20Bjarni=20Bjarnason?= Date: Sun, 23 Apr 2023 22:26:22 +0000 Subject: [PATCH 1/8] update libgpiod to version 2.0.1 --- ports/libgpiod/portfile.cmake | 3 +-- ports/libgpiod/vcpkg.json | 3 +-- versions/baseline.json | 4 ++-- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/ports/libgpiod/portfile.cmake b/ports/libgpiod/portfile.cmake index bffa9e8b6a5308..30287b339401d5 100644 --- a/ports/libgpiod/portfile.cmake +++ b/ports/libgpiod/portfile.cmake @@ -1,8 +1,7 @@ vcpkg_from_git( OUT_SOURCE_PATH SOURCE_PATH URL git://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git - REF dfc5d361e6748d5f48b706e5c4ac949d133b5470 # v1.6.3 - PATCHES + REF ae275c375477f207912113e5cf190fada78f3f90 # v2.0.1 ) if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic) diff --git a/ports/libgpiod/vcpkg.json b/ports/libgpiod/vcpkg.json index 11d6da3782242f..12175cd7f45778 100644 --- a/ports/libgpiod/vcpkg.json +++ b/ports/libgpiod/vcpkg.json @@ -1,7 +1,6 @@ { "name": "libgpiod", - "version": "1.6.3", - "port-version": 2, + "version": "2.0.1", "description": "C library and tools for interacting with the linux GPIO character device", "homepage": "https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git", "license": "LGPL-2.1-or-later", diff --git a/versions/baseline.json b/versions/baseline.json index 29cb00c4a26783..a30fb247407e83 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -4025,8 +4025,8 @@ "port-version": 0 }, "libgpiod": { - "baseline": "1.6.3", - "port-version": 2 + "baseline": "2.0.1", + "port-version": 0 }, "libgpod": { "baseline": "2019-08-29", From 27b3c8e705b6c2075f07329be1c7e012c915e1a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B3n=20Bjarni=20Bjarnason?= Date: Sun, 23 Apr 2023 22:26:45 +0000 Subject: [PATCH 2/8] update libgpiod version --- versions/l-/libgpiod.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/versions/l-/libgpiod.json b/versions/l-/libgpiod.json index 4e8ba921ec9082..a3c2f6eb7f18f8 100644 --- a/versions/l-/libgpiod.json +++ b/versions/l-/libgpiod.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "5623a0dbfe49badbe59f7a3bd54afb65030d19fd", + "version": "2.0.1", + "port-version": 0 + }, { "git-tree": "effc79de6dafb6ef6762bd2863a222c6090881e8", "version": "1.6.3", From 9431304917d94e41bf3866042d79ce2b22f49838 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B3n=20Bjarni=20Bjarnason?= Date: Mon, 24 Apr 2023 14:21:09 +0000 Subject: [PATCH 3/8] add libgpiod HEAD_REF --- ports/libgpiod/portfile.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/ports/libgpiod/portfile.cmake b/ports/libgpiod/portfile.cmake index 30287b339401d5..180960be18c449 100644 --- a/ports/libgpiod/portfile.cmake +++ b/ports/libgpiod/portfile.cmake @@ -1,6 +1,7 @@ vcpkg_from_git( OUT_SOURCE_PATH SOURCE_PATH URL git://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git + HEAD_REF master REF ae275c375477f207912113e5cf190fada78f3f90 # v2.0.1 ) From 770ea716c1b702b43eba55882882d3ed5716f920 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B3n=20Bjarni=20Bjarnason?= Date: Mon, 24 Apr 2023 14:21:40 +0000 Subject: [PATCH 4/8] update tree hash --- versions/l-/libgpiod.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versions/l-/libgpiod.json b/versions/l-/libgpiod.json index a3c2f6eb7f18f8..268d85c0ae1459 100644 --- a/versions/l-/libgpiod.json +++ b/versions/l-/libgpiod.json @@ -1,7 +1,7 @@ { "versions": [ { - "git-tree": "5623a0dbfe49badbe59f7a3bd54afb65030d19fd", + "git-tree": "7160dbf1daa63e65d17a45b51f21d105c23168c1", "version": "2.0.1", "port-version": 0 }, From c0485299e2ee947b027e55a9b3a2b06f51e7a9f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B3n=20Bjarni=20Bjarnason?= Date: Mon, 24 Apr 2023 14:29:28 +0000 Subject: [PATCH 5/8] libgpiod test fetch_ref --- ports/libgpiod/portfile.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/libgpiod/portfile.cmake b/ports/libgpiod/portfile.cmake index 180960be18c449..50efd297dd0283 100644 --- a/ports/libgpiod/portfile.cmake +++ b/ports/libgpiod/portfile.cmake @@ -1,7 +1,7 @@ vcpkg_from_git( OUT_SOURCE_PATH SOURCE_PATH URL git://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git - HEAD_REF master + FETCH_REF master REF ae275c375477f207912113e5cf190fada78f3f90 # v2.0.1 ) From 9e51c95f883e99d7b50074b8a5b30eaefb5472a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B3n=20Bjarni=20Bjarnason?= Date: Mon, 24 Apr 2023 14:29:44 +0000 Subject: [PATCH 6/8] update tree hash --- versions/l-/libgpiod.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versions/l-/libgpiod.json b/versions/l-/libgpiod.json index 268d85c0ae1459..19d2bee5c5184d 100644 --- a/versions/l-/libgpiod.json +++ b/versions/l-/libgpiod.json @@ -1,7 +1,7 @@ { "versions": [ { - "git-tree": "7160dbf1daa63e65d17a45b51f21d105c23168c1", + "git-tree": "508b9c094abecc766d9a10caa1bd3e34695db9b6", "version": "2.0.1", "port-version": 0 }, From e0d2c355ec174a3f6d535f8613e428482eac8dc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B3n=20Bjarni=20Bjarnason?= Date: Mon, 24 Apr 2023 15:04:43 +0000 Subject: [PATCH 7/8] test --- ports/libgpiod/portfile.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/libgpiod/portfile.cmake b/ports/libgpiod/portfile.cmake index 50efd297dd0283..291c24bd2bf327 100644 --- a/ports/libgpiod/portfile.cmake +++ b/ports/libgpiod/portfile.cmake @@ -1,7 +1,7 @@ vcpkg_from_git( OUT_SOURCE_PATH SOURCE_PATH URL git://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git - FETCH_REF master + FETCH_REF "v${VERSION}" REF ae275c375477f207912113e5cf190fada78f3f90 # v2.0.1 ) From a18c005c08b53f3d43ebc0f9523fcc095b03ed07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B3n=20Bjarni=20Bjarnason?= Date: Mon, 24 Apr 2023 15:04:58 +0000 Subject: [PATCH 8/8] update tree hash --- versions/l-/libgpiod.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versions/l-/libgpiod.json b/versions/l-/libgpiod.json index 19d2bee5c5184d..afbc40cd205752 100644 --- a/versions/l-/libgpiod.json +++ b/versions/l-/libgpiod.json @@ -1,7 +1,7 @@ { "versions": [ { - "git-tree": "508b9c094abecc766d9a10caa1bd3e34695db9b6", + "git-tree": "d5fde793827568c4be74cb76793650e37e3e5354", "version": "2.0.1", "port-version": 0 },