diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-03-23 13:55:47 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-03-23 13:55:47 +0000 |
| commit | ed06917a84653e71fcf5b0b392861b2f1e2686c7 (patch) | |
| tree | ef1c02d62c0fd618a4a63f9283da413e03016abb /dev-cpp | |
| parent | 7d4239d293a3b99721255d6d0b7d46710b290a78 (diff) | |
| download | baldeagleos-repo-ed06917a84653e71fcf5b0b392861b2f1e2686c7.tar.gz baldeagleos-repo-ed06917a84653e71fcf5b0b392861b2f1e2686c7.tar.xz baldeagleos-repo-ed06917a84653e71fcf5b0b392861b2f1e2686c7.zip | |
Adding metadata
Diffstat (limited to 'dev-cpp')
3 files changed, 49 insertions, 80 deletions
diff --git a/dev-cpp/pangomm/Manifest b/dev-cpp/pangomm/Manifest index 36643b7d4439..abb12cbafeb8 100644 --- a/dev-cpp/pangomm/Manifest +++ b/dev-cpp/pangomm/Manifest @@ -1,2 +1,3 @@ DIST pangomm-2.42.1.tar.xz 882508 BLAKE2B 34b6a93d931e1a27c7859e3cc407c714588890122639a61d30d9886bc3d861f11e1fcb97a08b6be8bddcde776d86f8b6c4cdc4a53da245ea1dc81f50d402303c SHA512 46ba375e61dd32e268397ecb8e69364b642ea3d9a6c4d9e3e52500e1e1c9fa0c6aa822c6d5046f49a2fe4d9a872c6c2b354134d39c17370abcfc6a1d752223b0 DIST pangomm-2.42.2.tar.xz 656760 BLAKE2B 8fae779aa78b2337b83759adc7aadec1f61c08c54d892e3cdd05180e2ab032a61faa72c39281fab649bcd08591c5d7ace9ea65b25f76ce17d6f4d96f38900b6a SHA512 5e4826d64c0178527b4df73e901d2fdf5661d41777e189f5e2d4b26577e42689efaccf5a28502246c6b3926571ccd5876cb23d33267b44ace7ee164322c14667 +DIST pangomm-2.48.0.tar.xz 674516 BLAKE2B 58c3e93c6127a14b5bc866b43bff4ab25a1ac1a06813c73e4f2a4d02adad3f51b7ec922f7c6e3d4af518a1f8f31c19de4df0c11b91a10ee61c2e16df8aa025ea SHA512 0c1be5726740669c366214caf8b8b0bca1c7b223aafb2e6ce64f7a5a90d07c62ee509821ac787f3997ae78aa3a3ffd5cff7d33c73bc7ebd7fe642c56689d98a3 diff --git a/dev-cpp/pangomm/pangomm-2.48.0.ebuild b/dev-cpp/pangomm/pangomm-2.48.0.ebuild new file mode 100644 index 000000000000..08b5bce4b561 --- /dev/null +++ b/dev-cpp/pangomm/pangomm-2.48.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit gnome.org meson multilib-minimal + +DESCRIPTION="C++ interface for pango" +HOMEPAGE="https://www.gtkmm.org" + +LICENSE="LGPL-2.1+" +SLOT="1.4" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris" +IUSE="doc" + +DEPEND=" + >=x11-libs/pango-1.48.0[${MULTILIB_USEDEP}] + >=dev-cpp/glibmm-2.68.0:2.68[${MULTILIB_USEDEP}] + >=dev-cpp/cairomm-1.16.0:1.16[${MULTILIB_USEDEP}] + >=dev-libs/libsigc++-3:3[${MULTILIB_USEDEP}] +" +RDEPEND="${DEPEND}" +BDEPEND=" + virtual/pkgconfig + doc? ( + media-gfx/graphviz + dev-libs/libxslt + app-doc/doxygen + ) +" + +multilib_src_configure() { + local emesonargs=( + $(meson_use doc build-documentation) + ) + meson_src_configure +} + +multilib_src_compile() { + meson_src_compile +} + +multilib_src_install() { + meson_src_install +} + +multilib_src_test() { + meson_src_test +} diff --git a/dev-cpp/prometheus-cpp/files/prometheus-cpp-0.9.0-core-Skip-serialization-test-if-locale-is-not-availa.patch b/dev-cpp/prometheus-cpp/files/prometheus-cpp-0.9.0-core-Skip-serialization-test-if-locale-is-not-availa.patch deleted file mode 100644 index ced0b80e83e9..000000000000 --- a/dev-cpp/prometheus-cpp/files/prometheus-cpp-0.9.0-core-Skip-serialization-test-if-locale-is-not-availa.patch +++ /dev/null @@ -1,80 +0,0 @@ -From bf6e2ce56abe2a710181f0365a21ca2dafd2a8f5 Mon Sep 17 00:00:00 2001 -From: Gregor Jasny <gjasny@googlemail.com> -Date: Fri, 13 Mar 2020 13:16:56 +0100 -Subject: [PATCH] core: Skip serialization test if locale is not available - -Closes: #345 ---- - core/tests/raii_locale.h | 15 +++++++++++++++ - core/tests/serializer_test.cc | 21 ++++++++++++++------- - 2 files changed, 29 insertions(+), 7 deletions(-) - create mode 100644 core/tests/raii_locale.h - -diff --git a/core/tests/raii_locale.h b/core/tests/raii_locale.h -new file mode 100644 -index 0000000..592d74f ---- /dev/null -+++ b/core/tests/raii_locale.h -@@ -0,0 +1,15 @@ -+#pragma once -+ -+#include <locale> -+ -+class RAIILocale { -+ public: -+ RAIILocale(const char* name) : savedLocale_(std::locale::classic()) { -+ std::locale::global(std::locale(name)); -+ } -+ -+ ~RAIILocale() { std::locale::global(savedLocale_); } -+ -+ private: -+ const std::locale savedLocale_; -+}; -diff --git a/core/tests/serializer_test.cc b/core/tests/serializer_test.cc -index f935a3b..6cb8f0e 100644 ---- a/core/tests/serializer_test.cc -+++ b/core/tests/serializer_test.cc -@@ -1,9 +1,13 @@ - #include "prometheus/counter.h" -+#include "prometheus/detail/future_std.h" - #include "prometheus/family.h" - #include "prometheus/text_serializer.h" - -+#include "raii_locale.h" -+ - #include <gmock/gmock.h> --#include <locale> -+ -+#include <memory> - #include <sstream> - - namespace prometheus { -@@ -25,15 +29,18 @@ class SerializerTest : public testing::Test { - - #ifndef _WIN32 - TEST_F(SerializerTest, shouldSerializeLocaleIndependent) { -- // save and change locale -- const std::locale oldLocale = std::locale::classic(); -- std::locale::global(std::locale("de_DE.UTF-8")); -+ std::unique_ptr<RAIILocale> localeWithCommaDecimalSeparator; -+ -+ // ignore missing locale and skip test if setup fails -+ try { -+ localeWithCommaDecimalSeparator = -+ detail::make_unique<RAIILocale>("de_DE.UTF-8"); -+ } catch (std::runtime_error&) { -+ GTEST_SKIP(); -+ } - - const auto serialized = textSerializer.Serialize(collected); - EXPECT_THAT(serialized, testing::HasSubstr("1.0")); -- -- // restore locale -- std::locale::global(oldLocale); - } - #endif - --- -2.28.0 - |
