Update to rest-0.9.1

This commit is contained in:
Douglas R. Reno 2022-12-16 13:08:55 -06:00
parent 46a7b28734
commit 7a81c7f348
3 changed files with 71 additions and 32 deletions

View File

@ -27,7 +27,7 @@
<!ENTITY gcr4-version "&gcr4-minor;.0">
<!ENTITY gsettings-desktop-schemas-version "43.0">
<!ENTITY libsecret-version "0.20.5">
<!ENTITY rest-version "0.8.1">
<!ENTITY rest-version "0.9.1">
<!ENTITY totem-pl-parser-version "3.26.6">
<!ENTITY vte-minor "0.70">
<!ENTITY vte-version "&vte-minor;.2">

View File

@ -4,12 +4,12 @@
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY rest-download-http "&gnome-download-http;/rest/0.8/rest-&rest-version;.tar.xz">
<!ENTITY rest-download-ftp "&gnome-download-ftp;/rest/0.8/rest-&rest-version;.tar.xz">
<!ENTITY rest-md5sum "ece4547298a81105f307369d73c21b9d">
<!ENTITY rest-size "332 KB">
<!ENTITY rest-buildsize "12.5 MB (with tests)">
<!ENTITY rest-time "0.2 SBU (with tests)">
<!ENTITY rest-download-http "&gnome-download-http;/rest/0.9/rest-&rest-version;.tar.xz">
<!ENTITY rest-download-ftp "&gnome-download-ftp;/rest/0.9/rest-&rest-version;.tar.xz">
<!ENTITY rest-md5sum "b997b83232be3814a1b78530c5700df9">
<!ENTITY rest-size "72 KB">
<!ENTITY rest-buildsize "3.2 MB (with tests)">
<!ENTITY rest-time "0.1 SBU (with tests)">
]>
<sect1 id="rest" xreflabel="rest-&rest-version;">
@ -72,8 +72,9 @@
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="make-ca"/> and
<xref linkend="libsoup"/>
<xref linkend="json-glib"/>,
<xref linkend="libsoup3"/>, and
<xref linkend="make-ca"/>
</para>
<bridgehead renderas="sect4">Recommended</bridgehead>
@ -83,8 +84,9 @@
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="gtk-doc"/> and
<ulink url="http://ltp.sourceforge.net/coverage/lcov.php">LCOV</ulink>
<xref linkend="libadwaita"/> (to build the demo),
<xref linkend="vala"/>, and
<ulink url="https://gnome.pages.gitlab.gnome.org/gi-docgen/">gi-docgen</ulink>
</para>
<para condition="html" role="usernotes">User Notes:
@ -100,21 +102,24 @@
commands:
</para>
<screen><userinput>./configure --prefix=/usr &amp;&amp;
make</userinput></screen>
<screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
meson --prefix=/usr \
--buildtype=release \
-Dexamples=false \
-Dgtk_doc=false .. &amp;&amp;
ninja</userinput></screen>
<para>
To test the results, issue: <command>make check</command>.
The flickr test will fail due to Public API changes on their site.
The OAuth tests will fail because the website that it uses to test
connectivity via OAuth no longer exists.
To test the results, issue: <command>ninja test</command>.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
<screen role="root"><userinput>ninja install</userinput></screen>
</sect2>
@ -122,8 +127,25 @@ make</userinput></screen>
<title>Command Explanations</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/gtk-doc-rebuild.xml"/>
href="../../xincludes/meson-buildtype-release.xml"/>
<para>
<parameter>-Dgtk_doc=false</parameter>: Remove this option if
<ulink url="https://gnome.pages.gitlab.gnome.org/gi-docgen/">gi-docgen</ulink>
is installed and you wish to build and install the API documentation.
</para>
<para>
<parameter>-Dexamples=false</parameter>: Remove this option if
<xref linkend="libadwaita"/> is installed and you wish to build the
demonstration application provided by this package.
</para>
<para>
<option>-Dvapi=true</option>: Use this switch if <xref linkend="vala"/>
is installed and you wish to build the Vala bindings provided by this
package.
</para>
</sect2>
<sect2 role="content">
@ -136,14 +158,14 @@ make</userinput></screen>
<seglistitem>
<seg>
None
librest-demo (optional)
</seg>
<seg>
librest-0.7.so and librest-extras-0.7.so
librest-1.0.so and librest-extras-1.0.so
</seg>
<seg>
/usr/include/rest-0.7 and
/usr/share/gtk-doc/html/rest-0.7
/usr/include/rest-1.0 and
/usr/share/gtk-doc/html/rest-1.0
</seg>
</seglistitem>
</segmentedlist>
@ -153,26 +175,39 @@ make</userinput></screen>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="librest-0.7">
<term><filename class="libraryfile">librest-0.7.so</filename></term>
<varlistentry id="librest-demo">
<term><command>librest-demo</command></term>
<listitem>
<para>
contains the RESTful Web API Query functions
provides an example of how to use the RESTful Web API Query
functions
</para>
<indexterm zone="rest librest-0.7">
<primary sortas="c-librest-0.7">librest-0.7.so</primary>
<indexterm zone="rest librest-demo">
<primary sortas="b-librest-demo">librest-demo</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="librest-extras-0.7">
<term><filename class="libraryfile">librest-extras-0.7.so</filename></term>
<varlistentry id="librest-1.0">
<term><filename class="libraryfile">librest-1.0.so</filename></term>
<listitem>
<para>
contains the RESTful Web API Query functions
</para>
<indexterm zone="rest librest-1.0">
<primary sortas="c-librest-1.0">librest-1.0.so</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="librest-extras-1.0">
<term><filename class="libraryfile">librest-extras-1.0.so</filename></term>
<listitem>
<para>
contains extra RESTful Web API Query functions
</para>
<indexterm zone="rest librest-extras-0.7">
<primary sortas="c-librest-extras-0.7">librest-extras-0.7.so</primary>
<indexterm zone="rest librest-extras-1.0">
<primary sortas="c-librest-extras-1.0">librest-extras-1.0.so</primary>
</indexterm>
</listitem>
</varlistentry>

View File

@ -41,6 +41,10 @@
<listitem>
<para>December 16th, 2022</para>
<itemizedlist>
<listitem>
<para>[renodr] - Update to rest-0.9.1. Fixes
<ulink url="&blfs-ticket-root;16011">#16011</ulink>.</para>
</listitem>
<listitem>
<para>[renodr] - Update to vte-0.70.2. Fixes
<ulink url="&blfs-ticket-root;17043">#17043</ulink>.</para>