meson: remove boost

boost is not necessary here and has little use in the project.

Change-Id: Ia7ce9664335dce50652d0baa4a2132fde28a6269
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
diff --git a/interfaces/internal_interface.cpp b/interfaces/internal_interface.cpp
index c990632..f178489 100644
--- a/interfaces/internal_interface.cpp
+++ b/interfaces/internal_interface.cpp
@@ -19,6 +19,8 @@
 #include <sdbusplus/message.hpp>
 
 #include <algorithm>
+#include <iterator>
+#include <numeric>
 
 namespace phosphor
 {
@@ -50,7 +52,11 @@
         words.emplace_back(ledDescr.color.value());
     }
 
-    std::string s = boost::join(words, "_");
+    std::string s = std::accumulate(std::next(words.begin()), words.end(),
+                                    words[0],
+                                    [](std::string a, const std::string& b) {
+        return std::move(a) + "_" + b;
+    });
 
     // we assume the string to be a correct dbus name besides
     // this detail
diff --git a/interfaces/internal_interface.hpp b/interfaces/internal_interface.hpp
index e0b2b0b..98cf660 100644
--- a/interfaces/internal_interface.hpp
+++ b/interfaces/internal_interface.hpp
@@ -2,7 +2,6 @@
 
 #include "physical.hpp"
 
-#include <boost/algorithm/string.hpp>
 #include <phosphor-logging/lg2.hpp>
 #include <sdbusplus/bus.hpp>
 #include <sdbusplus/server/interface.hpp>
diff --git a/meson.build b/meson.build
index 34f5c25..8fc1ac7 100644
--- a/meson.build
+++ b/meson.build
@@ -12,7 +12,6 @@
 
 sdbusplus_dep = dependency('sdbusplus')
 phosphor_dbus_interfaces_dep = dependency('phosphor-dbus-interfaces')
-boost = dependency('boost', include_type: 'system')
 phosphor_logging_dep = dependency('phosphor-logging')
 
 cxx = meson.get_compiler('cpp')
@@ -26,7 +25,6 @@
     cli11_dep,
     sdbusplus_dep,
     phosphor_dbus_interfaces_dep,
-    boost,
     phosphor_logging_dep,
 ]
 
diff --git a/subprojects/boost.wrap b/subprojects/boost.wrap
deleted file mode 100644
index 620d3fd..0000000
--- a/subprojects/boost.wrap
+++ /dev/null
@@ -1,11 +0,0 @@
-[wrap-file]
-directory = boost_1_81_0
-
-source_url = https://boostorg.jfrog.io/artifactory/main/release/1.81.0/source/boost_1_81_0.tar.bz2
-source_hash = 71feeed900fbccca04a3b4f2f84a7c217186f28a940ed8b7ed4725986baf99fa
-source_filename = 1_81_0.tar.bz2
-
-patch_directory = boost
-
-[provide]
-boost = boost_dep
diff --git a/sysfs.cpp b/sysfs.cpp
index 137218d..e361d64 100644
--- a/sysfs.cpp
+++ b/sysfs.cpp
@@ -18,8 +18,7 @@
 
 #include "phosphor-logging/lg2.hpp"
 
-#include <boost/algorithm/string.hpp>
-
+#include <cstring>
 #include <fstream>
 #include <optional>
 #include <string>