From abfb27c87974121503ac0db838753aa6b84b3424 Mon Sep 17 00:00:00 2001 From: Benno Waldhauer Date: Sun, 24 Nov 2024 23:58:25 +0100 Subject: [PATCH 1/4] Add TempDir to vcpkg --- ports/tempdir/portfile.cmake | 21 +++++++++++++++++++++ ports/tempdir/vcpkg.json | 13 +++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 ports/tempdir/portfile.cmake create mode 100644 ports/tempdir/vcpkg.json diff --git a/ports/tempdir/portfile.cmake b/ports/tempdir/portfile.cmake new file mode 100644 index 00000000000000..d8e04a8863abbc --- /dev/null +++ b/ports/tempdir/portfile.cmake @@ -0,0 +1,21 @@ +set(VCPKG_BUILD_TYPE release) # header-only + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO bw-hro/TempDir + REF "v${VERSION}" + SHA512 75c271b9f84c8eb9256a99683828faecd17f86b9c7a9066266157bf2d10acfe2d057470295b2dc05dbad5cc6fb1d6af60aed2924fba391c0bc292afc37d9e1ea + HEAD_REF master +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + -DTD_BUILD_EXAMPLES=OFF + -DTD_BUILD_TESTS=OFF + -DTD_ENABLE_COVERAGE=OFF +) + +vcpkg_cmake_install() + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt") diff --git a/ports/tempdir/vcpkg.json b/ports/tempdir/vcpkg.json new file mode 100644 index 00000000000000..07ab63537f6ca5 --- /dev/null +++ b/ports/tempdir/vcpkg.json @@ -0,0 +1,13 @@ +{ + "name": "tempdir", + "version": "1.0.0", + "description": "TempDir: Simplified Temporary Directory for C++", + "homepage": "https://github.com/bw-hro/TempDir", + "license": "MIT", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + } + ] +} From b6c940b89bd0fa5fc6171f57ae02addfbe5fd729 Mon Sep 17 00:00:00 2001 From: Benno Waldhauer Date: Mon, 25 Nov 2024 00:01:20 +0100 Subject: [PATCH 2/4] Update version database --- versions/baseline.json | 4 ++++ versions/t-/tempdir.json | 9 +++++++++ 2 files changed, 13 insertions(+) create mode 100644 versions/t-/tempdir.json diff --git a/versions/baseline.json b/versions/baseline.json index 3b519efe645aae..11eb430767c694 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -8852,6 +8852,10 @@ "baseline": "3.1.0", "port-version": 0 }, + "tempdir": { + "baseline": "1.0.0", + "port-version": 0 + }, "tensorflow": { "baseline": "2.10.0", "port-version": 0 diff --git a/versions/t-/tempdir.json b/versions/t-/tempdir.json new file mode 100644 index 00000000000000..03ef3b96badab2 --- /dev/null +++ b/versions/t-/tempdir.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "b43bd37abb7e50bbb02664c1bcf446e35f29f12b", + "version": "1.0.0", + "port-version": 0 + } + ] +} From 4483f778490805e04e4959107b549f9f8783c628 Mon Sep 17 00:00:00 2001 From: Benno Waldhauer Date: Tue, 26 Nov 2024 21:22:18 +0100 Subject: [PATCH 3/4] rename tempdir port to bw-tempdir --- ports/{tempdir => bw-tempdir}/portfile.cmake | 0 ports/{tempdir => bw-tempdir}/vcpkg.json | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename ports/{tempdir => bw-tempdir}/portfile.cmake (100%) rename ports/{tempdir => bw-tempdir}/vcpkg.json (91%) diff --git a/ports/tempdir/portfile.cmake b/ports/bw-tempdir/portfile.cmake similarity index 100% rename from ports/tempdir/portfile.cmake rename to ports/bw-tempdir/portfile.cmake diff --git a/ports/tempdir/vcpkg.json b/ports/bw-tempdir/vcpkg.json similarity index 91% rename from ports/tempdir/vcpkg.json rename to ports/bw-tempdir/vcpkg.json index 07ab63537f6ca5..c07f7856c937e1 100644 --- a/ports/tempdir/vcpkg.json +++ b/ports/bw-tempdir/vcpkg.json @@ -1,5 +1,5 @@ { - "name": "tempdir", + "name": "bw-tempdir", "version": "1.0.0", "description": "TempDir: Simplified Temporary Directory for C++", "homepage": "https://github.com/bw-hro/TempDir", From d6ceb01c18ec8447a840a4740d1f62caf65d2801 Mon Sep 17 00:00:00 2001 From: Benno Waldhauer Date: Tue, 26 Nov 2024 21:46:28 +0100 Subject: [PATCH 4/4] remove tempdir from versions, add bw-tempdir to versions --- versions/{t-/tempdir.json => b-/bw-tempdir.json} | 2 +- versions/baseline.json | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) rename versions/{t-/tempdir.json => b-/bw-tempdir.json} (58%) diff --git a/versions/t-/tempdir.json b/versions/b-/bw-tempdir.json similarity index 58% rename from versions/t-/tempdir.json rename to versions/b-/bw-tempdir.json index 03ef3b96badab2..b22d44c63e1f59 100644 --- a/versions/t-/tempdir.json +++ b/versions/b-/bw-tempdir.json @@ -1,7 +1,7 @@ { "versions": [ { - "git-tree": "b43bd37abb7e50bbb02664c1bcf446e35f29f12b", + "git-tree": "dbdad54667e097904671d22fac55d818283e8fc2", "version": "1.0.0", "port-version": 0 } diff --git a/versions/baseline.json b/versions/baseline.json index 139742198af73d..035628f48e6802 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -1440,6 +1440,10 @@ "baseline": "2019-05-08", "port-version": 4 }, + "bw-tempdir": { + "baseline": "1.0.0", + "port-version": 0 + }, "bxzstr": { "baseline": "1.2.2", "port-version": 0 @@ -8856,10 +8860,6 @@ "baseline": "3.1.0", "port-version": 0 }, - "tempdir": { - "baseline": "1.0.0", - "port-version": 0 - }, "tensorflow": { "baseline": "2.10.0", "port-version": 0