Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via or IRC
Bug 681940 - dev-libs/libebml-1.3.10 uses internal copy of dev-libs/utfcpp
Summary: dev-libs/libebml-1.3.10 uses internal copy of dev-libs/utfcpp
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: media-video herd
Depends on:
Blocks: bundled-libs
  Show dependency tree
Reported: 2019-03-28 17:55 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2020-05-25 12:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2019-03-28 17:55:13 UTC
dev-libs/libebml-1.3.7 bundles copy of dev-libs/utfcpp (snapshot from commit 1537543999978d3a0464560a9a940d6140c6ba59 between release 2.3.5 and release 2.3.6) since this commit:
EbmlUnicodeString: use UTF8-CPP library for UTF-8/UCS2 conversions

The custom code for converting between UTF-8-encoded std::strings and
the internal UCS2-encoded buffer did not handle code points > U+FFFF
correctly — meaning the code neither created nor read surrogate pairs
for such code points.

Instead of re-implementing even more functionality, we now include the
header-only library "utf8-cpp" and use its well-tested functionality
for the conversions.

--- a/
+++ b/
@@ -31,6 +31,17 @@
 * `-DBUILD_SHARED_LIBS=YES` — build the shared library instead of the
   static one (default: no)
-## Code of conduct
+# Code of conduct
 Please note that this project is released with a [Contributor Code of Conduct]( By participating in this project you agree to abide by its terms.
+# Included third-party components and their licenses
+## utf8-cpp
+UTF-8 with C++ in a Portable Way
+  * Copyright: 2006 Nemanja Trifunovic
+  * License: custom (see `src/lib/utf8-cpp/source/utf8.h`)
+  * URL:
+  * Corresponding files: `src/lib/utf8-cpp/*`