From 73cac953ab1f0bc112db69957c84e461774f28e5 Mon Sep 17 00:00:00 2001 From: Robbert Segeren Date: Fri, 30 Jan 2026 13:53:04 +0100 Subject: [PATCH 1/4] [easyprofiler] add new port --- ports/easyprofiler/portfile.cmake | 35 +++++++++++++++++++++++++++++++ ports/easyprofiler/vcpkg.json | 18 ++++++++++++++++ versions/baseline.json | 4 ++++ 3 files changed, 57 insertions(+) create mode 100644 ports/easyprofiler/portfile.cmake create mode 100644 ports/easyprofiler/vcpkg.json diff --git a/ports/easyprofiler/portfile.cmake b/ports/easyprofiler/portfile.cmake new file mode 100644 index 00000000000000..bcdc8658af922d --- /dev/null +++ b/ports/easyprofiler/portfile.cmake @@ -0,0 +1,35 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO yse/easy_profiler + REF "v${VERSION}" + SHA512 101d84a903315456ac24d060da6269e02ac0030e966b801910543c39980042e92082b2430daaa9ab48ced90fb5fc0adf43dfab647615742d32950a1667c3630f + HEAD_REF develop +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + -DEASY_PROFILER_NO_GUI=ON + -DEASY_PROFILER_NO_SAMPLES=ON +) + +vcpkg_cmake_install() + +vcpkg_copy_tools( + TOOL_NAMES "profiler_converter" + AUTO_CLEAN +) + +vcpkg_cmake_config_fixup( + CONFIG_PATH "lib/cmake/easy_profiler" + PACKAGE_NAME easy_profiler +) + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") +file(REMOVE "${CURRENT_PACKAGES_DIR}/LICENSE.APACHE") +file(REMOVE "${CURRENT_PACKAGES_DIR}/LICENSE.MIT") +file(REMOVE "${CURRENT_PACKAGES_DIR}/debug/LICENSE.APACHE") +file(REMOVE "${CURRENT_PACKAGES_DIR}/debug/LICENSE.MIT") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE" "${SOURCE_PATH}/easy_profiler_core/LICENSE.MIT" + "${SOURCE_PATH}/easy_profiler_core/LICENSE.APACHE") diff --git a/ports/easyprofiler/vcpkg.json b/ports/easyprofiler/vcpkg.json new file mode 100644 index 00000000000000..94a7f10e4f2351 --- /dev/null +++ b/ports/easyprofiler/vcpkg.json @@ -0,0 +1,18 @@ +{ + "name": "easyprofiler", + "version": "2.1.0", + "description": "Lightweight profiler library for c++", + "homepage": "https://github.com/yse/easy_profiler", + "license": "MIT", + "supports": "!uwp", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index 9449822978fecc..66681fe6e521ac 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -2676,6 +2676,10 @@ "baseline": "9.97.1", "port-version": 1 }, + "easyprofiler": { + "baseline": "2.1.0", + "port-version": 0 + }, "eathread": { "baseline": "1.32.09", "port-version": 5 From d4a1ba7c0ba389849ff73785b4b4614cca7bf190 Mon Sep 17 00:00:00 2001 From: Billy Robert O'Neal III Date: Wed, 4 Feb 2026 16:21:33 -0800 Subject: [PATCH 2/4] Whitespace nitpicks. --- ports/easyprofiler/portfile.cmake | 30 ++++++++++++++++------------- ports/easyprofiler/vcpkg.json | 32 +++++++++++++++---------------- versions/e-/easyprofiler.json | 9 +++++++++ 3 files changed, 42 insertions(+), 29 deletions(-) create mode 100644 versions/e-/easyprofiler.json diff --git a/ports/easyprofiler/portfile.cmake b/ports/easyprofiler/portfile.cmake index bcdc8658af922d..f26d712a828a53 100644 --- a/ports/easyprofiler/portfile.cmake +++ b/ports/easyprofiler/portfile.cmake @@ -1,14 +1,14 @@ vcpkg_from_github( - OUT_SOURCE_PATH SOURCE_PATH - REPO yse/easy_profiler - REF "v${VERSION}" - SHA512 101d84a903315456ac24d060da6269e02ac0030e966b801910543c39980042e92082b2430daaa9ab48ced90fb5fc0adf43dfab647615742d32950a1667c3630f - HEAD_REF develop + OUT_SOURCE_PATH SOURCE_PATH + REPO yse/easy_profiler + REF "v${VERSION}" + SHA512 101d84a903315456ac24d060da6269e02ac0030e966b801910543c39980042e92082b2430daaa9ab48ced90fb5fc0adf43dfab647615742d32950a1667c3630f + HEAD_REF develop ) vcpkg_cmake_configure( - SOURCE_PATH "${SOURCE_PATH}" - OPTIONS + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS -DEASY_PROFILER_NO_GUI=ON -DEASY_PROFILER_NO_SAMPLES=ON ) @@ -16,13 +16,13 @@ vcpkg_cmake_configure( vcpkg_cmake_install() vcpkg_copy_tools( - TOOL_NAMES "profiler_converter" - AUTO_CLEAN + TOOL_NAMES "profiler_converter" + AUTO_CLEAN ) vcpkg_cmake_config_fixup( - CONFIG_PATH "lib/cmake/easy_profiler" - PACKAGE_NAME easy_profiler + CONFIG_PATH "lib/cmake/easy_profiler" + PACKAGE_NAME easy_profiler ) file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") @@ -31,5 +31,9 @@ file(REMOVE "${CURRENT_PACKAGES_DIR}/LICENSE.MIT") file(REMOVE "${CURRENT_PACKAGES_DIR}/debug/LICENSE.APACHE") file(REMOVE "${CURRENT_PACKAGES_DIR}/debug/LICENSE.MIT") -vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE" "${SOURCE_PATH}/easy_profiler_core/LICENSE.MIT" - "${SOURCE_PATH}/easy_profiler_core/LICENSE.APACHE") +vcpkg_install_copyright( + FILE_LIST + "${SOURCE_PATH}/LICENSE" + "${SOURCE_PATH}/easy_profiler_core/LICENSE.MIT" + "${SOURCE_PATH}/easy_profiler_core/LICENSE.APACHE" +) diff --git a/ports/easyprofiler/vcpkg.json b/ports/easyprofiler/vcpkg.json index 94a7f10e4f2351..9d4385cd5a9baa 100644 --- a/ports/easyprofiler/vcpkg.json +++ b/ports/easyprofiler/vcpkg.json @@ -1,18 +1,18 @@ { - "name": "easyprofiler", - "version": "2.1.0", - "description": "Lightweight profiler library for c++", - "homepage": "https://github.com/yse/easy_profiler", - "license": "MIT", - "supports": "!uwp", - "dependencies": [ - { - "name": "vcpkg-cmake", - "host": true - }, - { - "name": "vcpkg-cmake-config", - "host": true - } - ] + "name": "easyprofiler", + "version": "2.1.0", + "description": "Lightweight profiler library for c++", + "homepage": "https://github.com/yse/easy_profiler", + "license": "MIT", + "supports": "!uwp", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] } diff --git a/versions/e-/easyprofiler.json b/versions/e-/easyprofiler.json new file mode 100644 index 00000000000000..fd879bf1636b50 --- /dev/null +++ b/versions/e-/easyprofiler.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "5eeb0c3a3ad8c3407539212bf3b3203e450ef337", + "version": "2.1.0", + "port-version": 0 + } + ] +} From b262bcd8f08acf6adaf59427badb233def949609 Mon Sep 17 00:00:00 2001 From: Robbert Segeren Date: Thu, 5 Feb 2026 08:20:07 +0100 Subject: [PATCH 3/4] Renamed to easy-profiler and updated license --- ports/{easyprofiler => easy-profiler}/portfile.cmake | 0 ports/{easyprofiler => easy-profiler}/vcpkg.json | 4 ++-- versions/baseline.json | 2 +- versions/e-/{easyprofiler.json => easy-profiler.json} | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename ports/{easyprofiler => easy-profiler}/portfile.cmake (100%) rename ports/{easyprofiler => easy-profiler}/vcpkg.json (83%) rename versions/e-/{easyprofiler.json => easy-profiler.json} (100%) diff --git a/ports/easyprofiler/portfile.cmake b/ports/easy-profiler/portfile.cmake similarity index 100% rename from ports/easyprofiler/portfile.cmake rename to ports/easy-profiler/portfile.cmake diff --git a/ports/easyprofiler/vcpkg.json b/ports/easy-profiler/vcpkg.json similarity index 83% rename from ports/easyprofiler/vcpkg.json rename to ports/easy-profiler/vcpkg.json index 9d4385cd5a9baa..b1f350993d8082 100644 --- a/ports/easyprofiler/vcpkg.json +++ b/ports/easy-profiler/vcpkg.json @@ -1,9 +1,9 @@ { - "name": "easyprofiler", + "name": "easy-profiler", "version": "2.1.0", "description": "Lightweight profiler library for c++", "homepage": "https://github.com/yse/easy_profiler", - "license": "MIT", + "license": "MIT OR Apache-2.0", "supports": "!uwp", "dependencies": [ { diff --git a/versions/baseline.json b/versions/baseline.json index 66681fe6e521ac..e8c549cc8ba759 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -2676,7 +2676,7 @@ "baseline": "9.97.1", "port-version": 1 }, - "easyprofiler": { + "easy-profiler": { "baseline": "2.1.0", "port-version": 0 }, diff --git a/versions/e-/easyprofiler.json b/versions/e-/easy-profiler.json similarity index 100% rename from versions/e-/easyprofiler.json rename to versions/e-/easy-profiler.json From a805a061eded2cc74cb970f67b173d085d184197 Mon Sep 17 00:00:00 2001 From: Robbert Segeren Date: Thu, 5 Feb 2026 08:22:54 +0100 Subject: [PATCH 4/4] Update version database --- versions/e-/easy-profiler.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versions/e-/easy-profiler.json b/versions/e-/easy-profiler.json index fd879bf1636b50..eb799bba51de76 100644 --- a/versions/e-/easy-profiler.json +++ b/versions/e-/easy-profiler.json @@ -1,7 +1,7 @@ { "versions": [ { - "git-tree": "5eeb0c3a3ad8c3407539212bf3b3203e450ef337", + "git-tree": "6723deb535025f823e691a80a81d87bcc7ca6ce7", "version": "2.1.0", "port-version": 0 }