Update to gucharmap-13.0.8.

Like some other gnome applications, gsettings seems to be required.
This commit is contained in:
Ken Moffat 2021-07-09 21:30:33 +01:00
parent 72f9c9a1bc
commit ca33d3b2e5
3 changed files with 81 additions and 33 deletions

View File

@ -94,7 +94,10 @@
<!ENTITY gnome-terminal-version "3.40.3">
<!ENTITY gnome-tweaks-version "40.0">
<!ENTITY gnome-weather-version "40.0">
<!ENTITY gucharmap-version "12.0.1">
<!--ENTITY gucharmap-version "13.0.8"-->
<!-- "major" version also used for links to unicode downloads -->
<!ENTITY gucharmap-major-version "13.0">
<!ENTITY gucharmap-version "&gucharmap-major-version;.8">
<!-- nm-applet moved to Networking Utilities, so it's now in packages.ent -->
<!ENTITY seahorse-version "40.0">
<!ENTITY vinagre-version "3.22.0">

View File

@ -4,14 +4,15 @@
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY gucharmap-download-http
"&gnome-download-http;/gucharmap/12.0/gucharmap-&gucharmap-version;.tar.xz">
<!ENTITY gucharmap-download-ftp
"&gnome-download-ftp;/gucharmap/12.0/gucharmap-&gucharmap-version;.tar.xz">
<!ENTITY gucharmap-md5sum "0c34aa29657a41712d011d939c5bc85e">
<!ENTITY gucharmap-size "1.6 MB">
<!ENTITY gucharmap-buildsize "56 MB">
<!ENTITY gucharmap-time "0.4 SBU (with a fast internet connection)">
<!-- found by looking at souce of https://gitlab.gnome.org/GNOME/gucharmap/-/tags
in seamonkey, finding the .tar.bz2 and putting the gitlab.gnome.org prefix
onto it -->
<!ENTITY gucharmap-download-http "https://gitlab.gnome.org/GNOME/gucharmap/-/archive/&gucharmap-version;/gucharmap-&gucharmap-version;.tar.bz2">
<!ENTITY gucharmap-download-ftp " ">
<!ENTITY gucharmap-md5sum "5dbe3a3f6d063f819f82f15d6613a7a4">
<!ENTITY gucharmap-size "1.3 MB">
<!ENTITY gucharmap-buildsize "77 MB">
<!ENTITY gucharmap-time "0.1 SBU">
]>
<sect1 id="gucharmap" xreflabel="Gucharmap-&gucharmap-version;">
@ -74,15 +75,33 @@
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<bridgehead renderas="sect4">Unicode Character Database files</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download: <ulink url="https://www.unicode.org/Public/zipped/&gucharmap-major-version;.0/UCD.zip"> https://www.unicode.org/Public/zipped/&gucharmap-major-version;.0/UCD.zip</ulink>
(Unicode Character Database)
</para>
</listitem>
<listitem>
<para>
Download: <ulink url="https://www.unicode.org/Public/zipped/&gucharmap-major-version;.0/Unihan.zip"> https://www.unicode.org/Public/zipped/&gucharmap-major-version;.0/Unihan.zip</ulink>
(CJK Unified Ideographs)
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Gucharmap Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="desktop-file-utils"/>,
<xref linkend="gsettings-desktop-schemas"/>,
<xref linkend="gtk3"/>,
<xref linkend="itstool"/>,
<xref linkend="unzip"/>, and
<xref linkend="wget"/> (used to download data from unicode.org)
<xref linkend="itstool"/>, and
<xref linkend="unzip"/>
</para>
<bridgehead renderas="sect4">Recommended</bridgehead>
@ -111,49 +130,70 @@
commands:
</para>
<screen><userinput>LIBS="-ldl" \
./configure --prefix=/usr \
--enable-vala \
--with-unicode-data=download &amp;&amp;
make</userinput></screen>
<screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
mkdir ucd &amp;&amp;
pushdir ucd &amp;&amp;
unzip ../../UCD.zip &amp;&amp;
cp -v ../../Unihan.zip . &amp;&amp;
popd &amp;&amp;
meson --prefix=/usr \
--strip \
-Ducd_path=./ucd \
-Ddocs=false .. &amp;&amp;
ninja</userinput></screen>
<para>
This package&apos;s testsuite is only intended to be used by the
maintainer to check the i18n help files.
This package does not have a testsuite.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
<screen role="root"><userinput>rm -fv /usr/share/glib-2.0/schemas/org.gnome.Charmap.enums.xml &amp;&amp;
ninja install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<!-- Needed in Gucharmap 10.0.4: should be fixed in subsequent versions -->
<!-- 13.0.8, meson 58 series - file reports 'with debug_info, not stripped'.
The build still used -O3 and claimed to not be a debug version -->
<para>
<command>LIBS="-ldl" ...</command>: Allows linking some system libraries.
This is currently broken in version 10.0.4.
<parameter>--strip</parameter>: Although the package defaults to a release
build without debug information, without this switch there will be some
debug information in the binaries.
</para>
<para>
<parameter>--with-unicode-data=download</parameter>: This switch forces
the build process to download the <application>Unicode</application> data
instead of trying to look for it locally.
<parameter>-Ducd_path=./ucd</parameter>: This points to where the extracted
main Unicode data files, and the zipped Unihan archive can be found.
</para>
<para>
<parameter>--enable-vala</parameter>: This switch enables building of the
<application>Vala</application> bindings (auto-detection of
<command>vapigen</command> is currently broken). Remove if you don't
have <xref linkend="vala"/> installed.
<command>rm -fv /usr/share/glib-2.0/schemas/org.gnome.Charmap.enums.xml</command>:
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.
</para>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/gtk-doc-rebuild.xml"/>
<para>
<parameter>-Ddocs=false</parameter>: This allows the package to build even
if <application>gtk-doc</application> has not been installed. Remove this
if you have installed that and wish to build the documentation.
</para>
<para>
<option>-Dgir=false</option>: Use this if you have not installed
<xref linkend="gobject-introspection"/>.
</para>
<para>
<option>-Dvapi=false</option>: Use this if you have not installed
<xref linkend="vala"/>.
</para>
</sect2>
@ -167,7 +207,8 @@ make</userinput></screen>
<seglistitem>
<seg>
charmap, gnome-character-map (both symlinks), and gucharmap
<!-- these appear to no-longer get created
charmap, gnome-character-map (both symlinks), and--> gucharmap
</seg>
<seg>
libgucharmap_2_90.so

View File

@ -44,6 +44,10 @@
<listitem>
<para>July 9th, 2021</para>
<itemizedlist>
<listitem>
<para>[ken] - Update to gucharmap-13.0.8. Fixes
<ulink url="&blfs-ticket-root;15244">#15244</ulink>.</para>
</listitem>
<listitem>
<para>[renodr] - Update to gtk+-3.24.30. Fixes
<ulink url="&blfs-ticket-root;15250">#15250</ulink>.</para>