Gucharmap is a Unicode character map and font viewer. It allows you to browse through all the available Unicode characters and categories for the installed fonts, and to examine their detailed properties. It is an easy way to find the character you might only know by its Unicode name or code point.
This package is known to build and work properly using an LFS 12.2 platform.
Download (HTTP): https://gitlab.gnome.org/GNOME/gucharmap/-/archive/15.1.5/gucharmap-15.1.5.tar.bz2
Download MD5 sum: f50222e790637b951ae6a798d71b3f40
Download size: 1.4 MB
Estimated disk space required: 74 MB
Estimated build time: 0.1 SBU
Unicode Character Database: https://www.unicode.org/Public/zipped/15.1.0/UCD.zip
CJK Unified Ideographs: https://www.unicode.org/Public/zipped/15.1.0/Unihan.zip
desktop-file-utils-0.27, gsettings-desktop-schemas-46.1, GTK+-3.24.43, itstool-2.0.7, pcre2-10.44, and UnZip-6.0
GLib-2.80.4 (with GObject Introspection) and Vala-0.56.17
This package uses two unversioned downloads. You may want to
rename these to a versioned name, e.g. UCD-15.zip
to make upgrades easier.
Install Gucharmap by running the following commands:
mkdir build && cd build && mkdir ucd && pushd ucd && unzip ../../../UCD.zip && cp -v ../../../Unihan.zip . && popd && meson setup --prefix=/usr \ --strip \ --buildtype=release \ -D ucd_path=./ucd \ -D docs=false \ .. && ninja
This package does not have a test suite.
Now, as the root
user:
rm -fv /usr/share/glib-2.0/schemas/org.gnome.Charmap.enums.xml && ninja install
--strip
: Although the
package defaults to a release build without debug information,
without this switch there will be some debug information in the
binaries.
-D ucd_path=./ucd
: This
points to where the extracted main Unicode data files, and the
zipped Unihan archive can be found.
rm -fv /usr/share/glib-2.0/schemas/org.gnome.Charmap.enums.xml: Old versions of this package installed an obsolete file that prevents the program from running, as if the main schema has not been installed. Forcibly removing works even if the old file is not present.
-D docs=false
: This allows
the package to build even if gtk-doc has not been installed. Remove this if
you have installed that and wish to build the documentation.
-D gir=false
: Use this if you have not
installed GLib-2.80.4 (with GObject Introspection).
-D vapi=false
: Use this if you have not
installed Vala-0.56.17.