Changeset 498c00c


Ignore:
Timestamp:
11/13/2023 07:06:27 AM (6 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.1, ken/TL2024, ken/tuningfonts, lazarus, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18
Children:
a0f16e7
Parents:
aa8180f
Message:

Update to appstream-1.0.0 (again)

Fix up libadwaita to build with it. Update the command explanation to
allow building it with Qt-5. Also fix the errors detected in
org.linuxfromscratch.lfs.xml reported by "appstreamcli validate".

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • general/genlib/appstream.xml

    raa8180f r498c00c  
    77  <!ENTITY appstream-download-http "https://www.freedesktop.org/software/appstream/releases/AppStream-&appstream-version;.tar.xz">
    88  <!ENTITY appstream-download-ftp  " ">
    9   <!ENTITY appstream-md5sum        "5d3d3045711a91e3c3c29dcdeaa14074">
    10   <!ENTITY appstream-size          "2.5 MB">
    11   <!ENTITY appstream-buildsize     "31 MB">
     9  <!ENTITY appstream-md5sum        "6465ef5b23d5b0724fe6dd0aec8b0bec">
     10  <!ENTITY appstream-size          "2.6 MB">
     11  <!ENTITY appstream-buildsize     "27 MB">
    1212  <!ENTITY appstream-time          "0.6 SBU">
    1313]>
     
    8484    <para role="optional">
    8585      <xref linkend="gtk-doc"/>,
    86       &qt5-deps;, and
    87       <ulink url="https://github.com/zvelo/libstemmer">libstemmer</ulink>
     86      &qt5-deps;,
     87      <ulink url="https://github.com/zvelo/libstemmer">libstemmer</ulink>,
     88      and <ulink url="https://download.qt.io/archive/qt/">Qt-6.2.4 or
     89      later</ulink>
    8890    </para>
    8991
     
    146148   
    147149    <para>
    148       <option>-Dqt=true</option>: Use this option if you have &qt5-deps;
    149       installed and you want to build support for Qt applications into this
     150      <option>-Dqt5=true</option>: Use this option if you have &qt5-deps;
     151      installed and you want to build support for Qt-5 applications into this
    150152      package.
    151153    </para>
    152154   
     155    <para>
     156      <option>-Dqt=true</option>: Use this option if you have Qt-6.2.4 or
     157      later installed and you want to build support for Qt-6 applications
     158      into this package.  This option conflicts with
     159      <option>-Dqt5=true</option>.
     160    </para>
     161
    153162  </sect2>
    154163 
     
    185194  &lt;id&gt;org.linuxfromscratch.lfs&lt;/id&gt;
    186195  &lt;name&gt;Linux From Scratch&lt;/name&gt;
    187   &lt;summary&gt;A customized Linux system built entirely from source.&lt;/summary&gt;
     196  &lt;summary&gt;A customized Linux system built entirely from source&lt;/summary&gt;
    188197  &lt;description&gt;
    189198    &lt;p&gt;
     
    195204  &lt;url type="homepage"&gt;https://www.linuxfromscratch.org/lfs/&lt;/url&gt;
    196205  &lt;metadata_license&gt;MIT&lt;/metadata_license&gt;
    197   &lt;developer_name&gt;The Linux From Scratch Editors&lt;/developer_name&gt;
     206  &lt;developer id='linuxfromscratch.org'&gt;
     207    &lt;name&gt;The Linux From Scratch Editors&lt;/name&gt;
     208  &lt;/developer&gt;
    198209
    199210  &lt;releases&gt;
    200     &lt;release version="12.1" type="development"&gt;
     211    &lt;release version="12.1" type="development" date="2024-03-01"&gt;
    201212      &lt;description&gt;
    202213        &lt;p&gt;The next release of Linux From Scratch.&lt;/p&gt;
  • introduction/welcome/changelog.xml

    raa8180f r498c00c  
    4343      <itemizedlist>
    4444        <listitem>
     45          <para>[xry111] - Update to AppStream-1.0.0.  Fixes
     46          <ulink url="&blfs-ticket-root;18843">#18843</ulink>.</para>
     47        </listitem>
     48        <listitem>
    4549          <para>[rahul] - Update to dhcpcd-10.0.5. Fixes
    4650          <ulink url="&blfs-ticket-root;18844">#18844</ulink>.</para>
    4751        </listitem>
    4852        <listitem>
    49           <para>[rahul] - Update to AppStream-0.16.4. Fixes
     53          <para>[rahul] - Update to AppStream-0.16.4. Part of
    5054          <ulink url="&blfs-ticket-root;18843">#18843</ulink>.</para>
    5155        </listitem>
  • packages.ent

    raa8180f r498c00c  
    8383<!-- Part III -->
    8484<!-- Chapter 9 -->
    85 <!ENTITY appstream-version            "0.16.4">
     85<!ENTITY appstream-version            "1.0.0">
    8686<!ENTITY apr-version                  "1.7.4">
    8787<!ENTITY apr-util-version             "1.6.3">
  • x/lib/libadwaita.xml

    raa8180f r498c00c  
    9292
    9393    <para>
     94      Adapt some AppStream API usage for AppStream-1.0.0 or later:
     95    </para>
     96
     97<screen><userinput>sed -e "/releases =/s/=.*/ =                             \
     98        as_release_list_get_entries                      \
     99        (as_component_get_releases_plain (component));/" \
     100    -e "/ developer_name =/s/=.*/ =                      \
     101        as_developer_get_name                            \
     102        (as_component_get_developer (component));/"      \
     103    -i src/adw-about-window.c</userinput></screen>
     104
     105
     106    <para>
    94107      Install <application>libadwaita</application> by running the following
    95108      commands:
     
    113126    <para>
    114127      To test the results, issue: <command>ninja test</command>.
    115       The tests must be run from a graphical session.
     128      The tests must be run from a graphical session.  One test named
     129      <quote>Validate appstream file</quote> is known to fail because the
     130      test input contains constructs deprecated by AppStream-1.0.0 or
     131      later.
    116132    </para>
    117133
Note: See TracChangeset for help on using the changeset viewer.