[blfs] 01/05: Update to shared-mime-info-2.5.1.

git Owner ([email protected] via blfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.book
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository blfs.

commit 9af44f5ce0f75e6d692d4389d2e174cffe91babb
Author: Bruce Dubbs <[email protected]>
AuthorDate: Thu Jul 2 13:06:50 2026 -0500

    Update to shared-mime-info-2.5.1.
---
 general/genutils/shared-mime-info.xml | 47 ++++++++++++++++++++++-------------
 introduction/welcome/changelog.xml    | 10 ++++++++
 packages.ent                          |  2 +-
 3 files changed, 41 insertions(+), 18 deletions(-)

diff --git a/general/genutils/shared-mime-info.xml b/general/genutils/shared-mime-info.xml
index 7b3864b632..32647cb65d 100644
--- a/general/genutils/shared-mime-info.xml
+++ b/general/genutils/shared-mime-info.xml
@@ -7,14 +7,13 @@
   <!ENTITY shared-mime-info-download-http
            "https://gitlab.freedesktop.org/xdg/shared-mime-info/-/archive/&shared-mime-info-version;/shared-mime-info-&shared-mime-info-version;.tar.gz">
   <!ENTITY shared-mime-info-download-ftp  " ">
-  <!ENTITY shared-mime-info-md5sum        "aac56db912b7b12a04fb0018e28f2f36">
-  <!ENTITY shared-mime-info-size          "7.5 MB">
-  <!ENTITY shared-mime-info-buildsize     "26 MB (with tests)">
+  <!ENTITY shared-mime-info-md5sum        "59fcd24e31d9744f4333f609f6c2ea13">
+  <!ENTITY shared-mime-info-size          "8.4 MB">
+  <!ENTITY shared-mime-info-buildsize     "32 MB (with tests)">
   <!ENTITY shared-mime-info-time          "less than 0.1 SBU (with tests)">
 
   <!ENTITY xdgmime-download-http "&sources-anduin-http;/xdgmime/xdgmime.tar.xz">
   <!ENTITY xdgmime-md5sum        "7dfb4446705d345d3acd672024049e86">
-
 ]>
 
 <sect1 id="shared-mime-info"
@@ -72,7 +71,7 @@ xreflabel="shared-mime-info-&shared-mime-info-version;">
         </para>
       </listitem>
     </itemizedlist>
-
+<!--
     <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     <itemizedlist spacing="compact">
       <listitem>
@@ -85,7 +84,7 @@ xreflabel="shared-mime-info-&shared-mime-info-version;">
         </para>
       </listitem>
     </itemizedlist>
-
+-->
     <bridgehead renderas="sect3">Shared Mime Info Dependencies</bridgehead>
 
     <bridgehead renderas="sect4">Required</bridgehead>
@@ -96,6 +95,7 @@ xreflabel="shared-mime-info-&shared-mime-info-version;">
 
     <bridgehead renderas="sect4">Optional</bridgehead>
     <para role="optional">
+      <xref linkend="git"/> (for tests), and
       <xref linkend="xmlto"/>
     </para>
 
@@ -105,11 +105,21 @@ xreflabel="shared-mime-info-&shared-mime-info-version;">
   <sect2 role="installation">
     <title>Installation of Shared Mime Info</title>
 
+    <para>
+      When extracting the tarball, the directory does not match the
+      tarball name.  For convenience, rename it:
+    </para>
+
+<screen remap="optional"><userinput>cd ..                                           &amp;&amp;
+mv shared-mime-info-2.5* shared-mime-info-2.5.1 &amp;&amp;
+cd shared-mime-info-2.5.1</userinput></screen>
+
     <para>
       Install <application>Shared Mime Info</application> by running the
       following commands:
     </para>
 
+<!--
     <para>
       If you wish to run the test suite, you must first extract the
       <filename>xdgmime</filename> tarball into the current directory,
@@ -118,29 +128,32 @@ xreflabel="shared-mime-info-&shared-mime-info-version;">
 
 <screen remap="test"><userinput>tar -xf ../xdgmime.tar.xz &amp;&amp;
 make -C xdgmime</userinput></screen>
-
-    <para>
-      Now build the package:
-    </para>
+-->
 
 <screen><userinput>mkdir build &amp;&amp;
 cd    build &amp;&amp;
 
-meson setup --prefix=/usr --buildtype=release -D update-mimedb=true .. &amp;&amp;
+meson setup --prefix=/usr         \
+            --buildtype=release   \
+            -D update-mimedb=true \
+            -D build-tests=false  \
+            .. &amp;&amp;
 ninja</userinput></screen>
 
-    <para role="optional">
-      If you have followed the instructions above to build
-      <application>xdgmime</application>, to test the result issue
-      <command>ninja test</command>.
-    </para>
-
     <para>
       Now, as the <systemitem class="username">root</systemitem> user:
     </para>
 
 <screen role="root"><userinput>ninja install</userinput></screen>
 
+    <para role="test">
+      If want to run the tests, support files will automatically be
+      downloaded from upstream. Build and run the tests with: 
+    </para>
+   
+<screen role="test"><userinput>meson configure -D build-tests=true &amp;&amp;
+ninja test</userinput></screen>
+
   </sect2>
 
   <sect2 role="commands">
diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml
index 31c68cea23..d140320753 100644
--- a/introduction/welcome/changelog.xml
+++ b/introduction/welcome/changelog.xml
@@ -39,6 +39,16 @@
   <itemizedlist>
     <title>Changelog Entries:</title>
 
+    <listitem>
+      <para>July 2nd, 2026</para>
+      <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Update to shared-mime-info-2.5.1. Fixes
+          <ulink url="&blfs-ticket-root;23524">#23524</ulink>.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
       <para>July 1st, 2026</para>
       <itemizedlist>
diff --git a/packages.ent b/packages.ent
index b998d728f8..44f7447672 100644
--- a/packages.ent
+++ b/packages.ent
@@ -306,7 +306,7 @@
 <!ENTITY rep-gtk-version              "0.90.8.3">
 <!ENTITY screen-version               "5.0.1">
 <!ENTITY shaderc-version              "2026.2">
-<!ENTITY shared-mime-info-version     "2.4">
+<!ENTITY shared-mime-info-version     "2.5.1">
 <!ENTITY sharutils-version            "4.15.2">
 <!--<!ENTITY telepathy-logger-version     "0.8.2">-->
 <!--<!ENTITY telepathy-mission-control-version "5.16.6">-->

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.