%general-entities; ]> AppStream-&appstream-version; AppStream Introduction to AppStream The AppStream package contains a library and tool that is useful for retrieving software metadata and making it easily accessible to programs which need it. &lfs121_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &appstream-md5sum; Download size: &appstream-size; Estimated disk space required: &appstream-buildsize; Estimated build time: &appstream-time; AppStream Dependencies Required , , , , , and Optional , &qt5-deps;, , DAPS, and libstemmer Installation of AppStream Install AppStream by running the following commands: mkdir build && cd build && meson setup --prefix=/usr \ --buildtype=release \ -Dapidocs=false \ -Dstemming=false .. && ninja To test the results, issue: ninja test. Now, as the root user: ninja install && mv -v /usr/share/doc/appstream{,-&appstream-version;} Command Explanations -Dapidocs=false: This switch disables building the API documentation. Remove it if you have installed and wish to regenerate the API documentation. When the API documentation is not regenerated, a pre-built copy is installed anyway. -Dstemming=false: This switch disables stemming support. Remove this switch if you have libstemmer installed and want faster searches. : Use this option if you have &qt5-deps; installed and you want to build support for Qt-5 applications into this package. : Use this option if you have installed and you want to build support for Qt6 applications into this package. This option conflicts with . Configuring AppStream Config Files /usr/share/metainfo/org.linuxfromscratch.lfs.xml Configuration Information AppStream expects an operating system metainfo file describing the GNU/Linux distribution. As the &root; user, create the file describing LFS: /usr/share/metainfo/org.linuxfromscratch.lfs.xml install -vdm755 /usr/share/metainfo && cat > /usr/share/metainfo/org.linuxfromscratch.lfs.xml << EOF <?xml version="1.0" encoding="UTF-8"?> <component type="operating-system"> <id>org.linuxfromscratch.lfs</id> <name>Linux From Scratch</name> <summary>A customized Linux system built entirely from source</summary> <description> <p> Linux From Scratch (LFS) is a project that provides you with step-by-step instructions for building your own customized Linux system entirely from source. </p> </description> <url type="homepage">https://www.linuxfromscratch.org/lfs/</url> <metadata_license>MIT</metadata_license> <developer id='linuxfromscratch.org'> <name>The Linux From Scratch Editors</name> </developer> <releases> <release version="12.2" type="development" date="2024-09-01"> <description> <p>The next release of Linux From Scratch.</p> </description> </release> <release version="12.1" type="stable" date="2024-03-01"> <description> <p>Now contains Binutils 2.42, GCC-13.2.0, Glibc-2.39, and Linux kernel 6.7.</p> </description> </release> </releases> </component> EOF Contents Installed Programs Installed Libraries Installed Directories appstreamcli libappstream.so /usr/include/appstream, /usr/share/doc/appstream-&version;, and /usr/share/installed-tests/appstream Short Descriptions appstreamcli queries information from AppStream metadata and from the AppStream component index appstreamcli libappstream.so contains functions that handle AppStream metadata queries and request information from the AppStream component index libappstream.so