Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 681940 - dev-libs/libebml-1.4.2 uses internal copy of dev-libs/utfcpp
Summary: dev-libs/libebml-1.4.2 uses internal copy of dev-libs/utfcpp
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: bundled-libs
  Show dependency tree
 
Reported: 2019-03-28 17:55 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2021-02-25 22:41 UTC (History)
2 users (show)

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


Attachments

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:

https://github.com/Matroska-Org/libebml/commit/a880df6db601ec18f4143f830a81aaf57b69fe02
"""
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/README.md
+++ b/README.md
@@ -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](CODE_OF_CONDUCT.md). 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: http://utfcpp.sourceforge.net/
+  * Corresponding files: `src/lib/utf8-cpp/*`