Author: thomas
Date: Mon Apr 20 01:58:55 2020
New Revision: 23012

Log:
Upgrade json-c-0.14

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/general/genlib/json-c.xml
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/packages.ent

Modified: trunk/BOOK/general.ent
==============================================================================
--- trunk/BOOK/general.ent      Sun Apr 19 12:28:09 2020        (r23011)
+++ trunk/BOOK/general.ent      Mon Apr 20 01:58:55 2020        (r23012)
@@ -1,12 +1,12 @@
 <!-- $LastChangedBy$ $Date$ -->
 
-<!ENTITY day          "19">                   <!-- Always 2 digits -->
+<!ENTITY day          "20">                   <!-- Always 2 digits -->
 <!ENTITY month        "04">                   <!-- Always 2 digits -->
 <!ENTITY year         "2020">
 <!ENTITY copyrightdate "2001-&year;">
 <!ENTITY copyholder   "The BLFS Development Team">
 <!ENTITY version      "&year;-&month;-&day;">
-<!ENTITY releasedate  "April 19th, &year;">
+<!ENTITY releasedate  "April 20th, &year;">
 <!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
 <!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
 <!ENTITY lfs-version  "development">          <!-- x.y|development -->

Modified: trunk/BOOK/general/genlib/json-c.xml
==============================================================================
--- trunk/BOOK/general/genlib/json-c.xml        Sun Apr 19 12:28:09 2020        
(r23011)
+++ trunk/BOOK/general/genlib/json-c.xml        Mon Apr 20 01:58:55 2020        
(r23012)
@@ -6,10 +6,10 @@
 
   <!ENTITY json-c-download-http 
"https://s3.amazonaws.com/json-c_releases/releases/json-c-&json-c-version;.tar.gz";>
   <!ENTITY json-c-download-ftp  " ">
-  <!ENTITY json-c-md5sum        "04969ad59cc37bddd83741a08b98f350">
-  <!ENTITY json-c-size          "620 KB">
-  <!ENTITY json-c-buildsize     "5.0 MB (add 6.0 MB for tests)">
-  <!ENTITY json-c-time          "less than 0.1 SBU (add 1.7 SBU for tests)">
+  <!ENTITY json-c-md5sum        "72cbb065b43376d825cd521d115ae1f6">
+  <!ENTITY json-c-size          "314 KB">
+  <!ENTITY json-c-buildsize     "264 KB">
+  <!ENTITY json-c-time          "less than 0.1 SBU">
 
 ]>
 
@@ -73,6 +73,19 @@
       </listitem>
     </itemizedlist>
 
+    <bridgehead renderas="sect3">JSON-C Dependencies</bridgehead>
+
+    <bridgehead renderas="sect4">Required</bridgehead>
+    <para role="required">
+      <xref linkend="cmake"/>
+    </para>
+<!--
+    <bridgehead renderas="sect4">Optional</bridgehead>
+    <para role="Optional">
+      <xref linkend="doxygen"/> and
+      <xref linkend="graphviz"/> (for dot tool)
+    </para>
+-->
     <para condition="html" role="usernotes">
       User Notes: <ulink url="&blfs-wiki;/json-c"/>
     </para>
@@ -92,11 +105,16 @@
       commands:
     </para>
 
-<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
+<screen><userinput>mkdir build &amp;&amp;
+cd    build &amp;&amp;
+
+cmake -DCMAKE_INSTALL_PREFIX=/usr \
+      -DCMAKE_BUILD_TYPE=Release \
+      .. &amp;&amp;
 make</userinput></screen>
 
     <para>
-      To test the results, issue: <command>make check</command>.
+      To test the results, issue: <command>make test</command>.
     </para>
 
     <para>
@@ -109,8 +127,10 @@
   <sect2 role="commands">
     <title>Command Explanations</title>
 
-    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude";
-      href="../../xincludes/static-libraries.xml"/>
+    <para>
+      <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is
+      used to apply a higher level of compiler optimizations.
+    </para>
 
   </sect2>
 
@@ -127,10 +147,9 @@
           None
         </seg>
         <seg>
-          libjson-c.so and libjson.so
+          libjson-c.so
         </seg>
         <seg>
-          /usr/include/json and
           /usr/include/json-c
         </seg>
       </seglistitem>
@@ -141,18 +160,6 @@
       <?dbfo list-presentation="list"?>
       <?dbhtml list-presentation="table"?>
 
-      <varlistentry id="libjson">
-        <term><filename class="libraryfile">libjson.so</filename></term>
-        <listitem>
-          <para>
-            contains the <application>JSON-C</application> API functions.
-          </para>
-          <indexterm zone="json-c libjson">
-            <primary sortas="c-libjson">libjson.so</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
       <varlistentry id="libjson-c">
         <term><filename class="libraryfile">libjson-c.so</filename></term>
         <listitem>

Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml       Sun Apr 19 12:28:09 
2020        (r23011)
+++ trunk/BOOK/introduction/welcome/changelog.xml       Mon Apr 20 01:58:55 
2020        (r23012)
@@ -43,6 +43,16 @@
     -->
 
     <listitem>
+      <para>April 20th, 2020</para>
+      <itemizedlist>
+        <listitem>
+          <para>[thomas] - Update to json-c-0.14. Fixes
+          <ulink url="&blfs-ticket-root;13429">#13429</ulink>.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>April 19th, 2020</para>
       <itemizedlist>
         <listitem>

Modified: trunk/BOOK/packages.ent
==============================================================================
--- trunk/BOOK/packages.ent     Sun Apr 19 12:28:09 2020        (r23011)
+++ trunk/BOOK/packages.ent     Mon Apr 20 01:58:55 2020        (r23012)
@@ -120,7 +120,7 @@
 <!ENTITY JS60-version                 "60.8.0">
 <!-- JS68 uses the firefox tarball
 <!ENTITY JS68-version -->
-<!ENTITY json-c-version               "0.13.1">
+<!ENTITY json-c-version               "0.14">
 <!ENTITY json-glib-version            "1.4.4">
 <!ENTITY keyutils-version             "1.6.1">
 <!ENTITY libaio-version               "0.3.112">
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to