mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 06:27:16 +08:00
Update to gnome-settings-daemon-3.36.0
Add umockdev to the book Adjust libgudev so that the test suite is present Change the umockdev reference from external to internal in gnome-settings-daemon and upower Move notification-daemon to System Utilities Move polkit-gnome to Security git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22934 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
25de05038e
commit
3609a85de8
@ -153,6 +153,7 @@ $Date$
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="talloc.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="telepathy-glib.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="uchardet.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="umockdev.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="wayland.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="wayland-protocols.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="wv.xml"/>
|
||||
|
@ -81,7 +81,7 @@
|
||||
<para role="optional">
|
||||
<xref linkend="gobject-introspection"/> (for gir-data, needed for GNOME),
|
||||
<xref linkend="gtk-doc"/>, and
|
||||
<ulink url="https://github.com/martinpitt/umockdev">umockdev</ulink>
|
||||
<xref linkend="umockdev"/> (for testing)
|
||||
</para>
|
||||
|
||||
<para condition="html" role="usernotes">User Notes:
|
||||
@ -101,7 +101,8 @@
|
||||
make</userinput></screen>
|
||||
|
||||
<para>
|
||||
This package does not come with a testsuite.
|
||||
If you wish to run the test suite, omit "--disable-umockdev" from the
|
||||
configure command and then issue: <command>make check</command>.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
@ -118,6 +119,12 @@ make</userinput></screen>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
href="../../xincludes/gtk-doc-rebuild.xml"/>
|
||||
|
||||
<para>
|
||||
<parameter>--disable-umockdev</parameter>: Disables the usage of
|
||||
<xref role="nodep" linkend="umockdev"/>. Omit this switch if you
|
||||
wish to run the test suite.
|
||||
</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="content">
|
||||
|
210
general/genlib/umockdev.xml
Normal file
210
general/genlib/umockdev.xml
Normal file
@ -0,0 +1,210 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||||
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
||||
%general-entities;
|
||||
|
||||
<!ENTITY umockdev-download-http "https://github.com/martinpitt/umockdev/releases/download/&umockdev-version;/umockdev-&umockdev-version;.tar.xz">
|
||||
<!ENTITY umockdev-download-ftp " ">
|
||||
<!ENTITY umockdev-md5sum "6c8c200017986aba95e8ee756ccef88a">
|
||||
<!ENTITY umockdev-size "744 KB">
|
||||
<!ENTITY umockdev-buildsize "13 MB">
|
||||
<!ENTITY umockdev-time "0.2 SBU">
|
||||
|
||||
]>
|
||||
|
||||
<sect1 id="umockdev" xreflabel="umockdev-&umockdev-version;">
|
||||
<?dbhtml filename="umockdev.html"?>
|
||||
|
||||
<sect1info>
|
||||
<othername>$LastChangedBy$</othername>
|
||||
<date>$Date$</date>
|
||||
</sect1info>
|
||||
|
||||
<title>Umockdev-&umockdev-version;</title>
|
||||
|
||||
<indexterm zone="umockdev">
|
||||
<primary sortas="a-umockdev">umockdev</primary>
|
||||
</indexterm>
|
||||
|
||||
<sect2 role="package">
|
||||
<title>Introduction to Umockdev</title>
|
||||
|
||||
<para>
|
||||
The <application>Umockdev</application> package contains a framework
|
||||
that allows a developer to mock devices for use in unit testing.
|
||||
</para>
|
||||
|
||||
&lfs91_checked;
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>
|
||||
Download (HTTP): <ulink url="&umockdev-download-http;"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Download (FTP): <ulink url="&umockdev-download-ftp;"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Download MD5 sum: &umockdev-md5sum;
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Download size: &umockdev-size;
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Estimated disk space required: &umockdev-buildsize;
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Estimated build time: &umockdev-time;
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<bridgehead renderas="sect3">Umockdev Dependencies</bridgehead>
|
||||
|
||||
<bridgehead renderas="sect4">Required</bridgehead>
|
||||
<para role="required">
|
||||
<xref linkend="libgudev"/> and
|
||||
<xref linkend="vala"/>
|
||||
</para>
|
||||
|
||||
<bridgehead renderas="sect4">Optional</bridgehead>
|
||||
<para role="optional">
|
||||
<ulink url="http://www.gphoto.org/">libgphoto2</ulink> (optional for tests)
|
||||
</para>
|
||||
|
||||
<para condition="html" role="usernotes">
|
||||
User Notes: <ulink url="&blfs-wiki;/umockdev"/>
|
||||
</para>
|
||||
</sect2>
|
||||
|
||||
<sect2 role="installation">
|
||||
<title>Installation of Umockdev</title>
|
||||
|
||||
<para>
|
||||
Install <application>Umockdev</application> by running the following
|
||||
commands:
|
||||
</para>
|
||||
|
||||
<screen><userinput>./configure --prefix=/usr --disable-static &&
|
||||
make</userinput></screen>
|
||||
|
||||
<para>
|
||||
To test the results, issue: <command>make check</command>.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Now, as the <systemitem class="username">root</systemitem> user:
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>make install</userinput></screen>
|
||||
</sect2>
|
||||
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
href="../../xincludes/static-libraries.xml"/>
|
||||
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
href="../../xincludes/gtk-doc-rebuild.xml"/>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="content">
|
||||
<title>Contents</title>
|
||||
|
||||
<segmentedlist>
|
||||
<segtitle>Installed Programs</segtitle>
|
||||
<segtitle>Installed Libraries</segtitle>
|
||||
<segtitle>Installed Directories</segtitle>
|
||||
|
||||
<seglistitem>
|
||||
<seg>
|
||||
umockdev-record,
|
||||
umockdev-run, and
|
||||
umockdev-wrapper
|
||||
</seg>
|
||||
<seg>
|
||||
libumockdev-preload.so.0 <!-- Only intended for use by
|
||||
umockdev-wrapper. Don't put in a short description for this--> and
|
||||
libumockdev.so
|
||||
</seg>
|
||||
<seg>
|
||||
/usr/include/umockdev-1.0 and
|
||||
/usr/share/doc/umockdev
|
||||
</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
|
||||
<variablelist>
|
||||
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
||||
<?dbfo list-presentation="list"?>
|
||||
<?dbhtml list-presentation="table"?>
|
||||
|
||||
<varlistentry id="umockdev-record">
|
||||
<term><command>umockdev-record</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
records Linux devices and their ancestors from sysfs/udev or
|
||||
records ioctls for a device.
|
||||
</para>
|
||||
<indexterm zone="umockdev umockdev-record">
|
||||
<primary sortas="b-umockdev-record">umockdev-record</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="umockdev-run">
|
||||
<term><command>umockdev-run</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
runs a program under an <application>umockdev</application>
|
||||
testbed.
|
||||
</para>
|
||||
<indexterm zone="umockdev umockdev-run">
|
||||
<primary sortas="b-umockdev-run">umockdev-run</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="umockdev-wrapper">
|
||||
<term><command>umockdev-wrapper</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
wraps a program around
|
||||
<filename class="libraryfile">libumockdev-preload.so.0</filename>
|
||||
through LD_PRELOAD.
|
||||
</para>
|
||||
<indexterm zone="umockdev umockdev-wrapper">
|
||||
<primary sortas="b-umockdev-wrapper">umockdev-wrapper</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="libumockdev">
|
||||
<term><filename class="libraryfile">libumockdev.so</filename></term>
|
||||
<listitem>
|
||||
<para>
|
||||
provides API functions that allow mocking hardware devices for unit
|
||||
testing.
|
||||
</para>
|
||||
<indexterm zone="umockdev libumockdev">
|
||||
<primary sortas="c-libumockdev">libumockdev.so</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</sect2>
|
||||
</sect1>
|
@ -45,6 +45,7 @@ $Date$
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mc.xml"/>
|
||||
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="modemmanager.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="notification-daemon.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="p7zip.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pax.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pciutils.xml"/>
|
||||
|
@ -92,8 +92,7 @@
|
||||
<xref linkend="gtk-doc"/>,
|
||||
<xref linkend="pygobject3"/>,
|
||||
<xref linkend="python-dbusmock"/>, and
|
||||
<ulink url="https://github.com/martinpitt/umockdev">umockdev</ulink>
|
||||
(for part of the testsuite).
|
||||
<xref linkend="umockdev"/> (for part of the test suite).
|
||||
</para>
|
||||
|
||||
<para condition="html" role="usernotes">User Notes:
|
||||
|
@ -56,7 +56,7 @@
|
||||
<!ENTITY zenity-version "3.32.0">
|
||||
<!ENTITY gnome-bluetooth-version "3.34.1">
|
||||
<!ENTITY gnome-keyring-version "3.36.0">
|
||||
<!ENTITY gnome-settings-daemon-version "3.34.2">
|
||||
<!ENTITY gnome-settings-daemon-version "3.36.0">
|
||||
<!ENTITY gnome-control-center-version "3.34.4">
|
||||
<!ENTITY mutter-version "3.34.4">
|
||||
<!ENTITY gnome-shell-version "3.34.4">
|
||||
@ -66,8 +66,8 @@
|
||||
<!ENTITY gnome-user-docs-version "3.34.1">
|
||||
<!-- Icons moved to packages.ent, since they're now in the Icons chapter.-->
|
||||
<!ENTITY yelp-version "3.34.0">
|
||||
<!ENTITY notification-daemon-version "3.20.0">
|
||||
<!ENTITY polkit-gnome-version "0.105">
|
||||
<!-- notification-daemon moved to System Utilites, so it's now in packages.ent -->
|
||||
<!-- polkit-gnome moved to Security, so it's now in packages.ent -->
|
||||
|
||||
<!-- Chapter 31 -->
|
||||
<!-- Applications -->
|
||||
|
@ -5,12 +5,12 @@
|
||||
%general-entities;
|
||||
|
||||
<!ENTITY gnome-settings-daemon-download-http
|
||||
"&gnome-download-http;/gnome-settings-daemon/&gnome-minor-34;/gnome-settings-daemon-&gnome-settings-daemon-version;.tar.xz">
|
||||
"&gnome-download-http;/gnome-settings-daemon/&gnome-minor-36;/gnome-settings-daemon-&gnome-settings-daemon-version;.tar.xz">
|
||||
<!ENTITY gnome-settings-daemon-download-ftp
|
||||
"&gnome-download-ftp;/gnome-settings-daemon/&gnome-minor-34;/gnome-settings-daemon-&gnome-settings-daemon-version;.tar.xz">
|
||||
<!ENTITY gnome-settings-daemon-md5sum "493332fa0f36645188468fed41c0060b">
|
||||
"&gnome-download-ftp;/gnome-settings-daemon/&gnome-minor-36;/gnome-settings-daemon-&gnome-settings-daemon-version;.tar.xz">
|
||||
<!ENTITY gnome-settings-daemon-md5sum "e28f11174ca0bafc56fb7a766591d786">
|
||||
<!ENTITY gnome-settings-daemon-size "1.3 MB">
|
||||
<!ENTITY gnome-settings-daemon-buildsize "29 MB">
|
||||
<!ENTITY gnome-settings-daemon-buildsize "77 MB">
|
||||
<!ENTITY gnome-settings-daemon-time "0.1 SBU (Using parallelism=4)">
|
||||
]>
|
||||
|
||||
@ -120,9 +120,9 @@
|
||||
|
||||
<bridgehead renderas="sect4">Optional</bridgehead>
|
||||
<para role="optional">
|
||||
<xref linkend="python-dbusmock"/> and
|
||||
<ulink url="https://github.com/martinpitt/umockdev">umockdev</ulink>
|
||||
(required for the tests)
|
||||
<xref linkend="mutter"/>,
|
||||
<xref linkend="python-dbusmock"/>, and
|
||||
<xref linkend="umockdev"/>
|
||||
</para>
|
||||
|
||||
<para condition="html" role="usernotes">User Notes:
|
||||
|
@ -73,7 +73,7 @@ $Date$
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gdm.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gnome-user-docs.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="yelp.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="notification-daemon.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="polkit-gnome.xml"/>
|
||||
<!-- notification-daemon moved to System Utilities. -->
|
||||
<!-- polkit-gnome moved to Security. -->
|
||||
|
||||
</chapter>
|
||||
|
@ -44,6 +44,25 @@
|
||||
<listitem>
|
||||
<para>April 2nd, 2020</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[renodr] - Moved polkit-gnome to Security. Fixes
|
||||
<ulink url="&blfs-ticket-root;13350">#13350</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[renodr] - Moved notification-daemon to System Utilites. Fixes
|
||||
<ulink url="&blfs-ticket-root;13349">#13349</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[renodr] - Update to gnome-settings-daemon-3.36.0. Part of
|
||||
<ulink url="&blfs-ticket-root;13242">#13242</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[renodr] - Added the test suite to libgudev.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[renodr] - Added umockdev. Fixes
|
||||
<ulink url="&blfs-ticket-root;13348">#13348</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[thomas] - Update to nano-4.9.1. Fixes
|
||||
<ulink url="&blfs-ticket-root;13334">#13334</ulink>.</para>
|
||||
|
@ -36,6 +36,7 @@
|
||||
<!ENTITY openssl10-version "1.0.2q">
|
||||
<!ENTITY p11-kit-version "0.23.20">
|
||||
<!ENTITY polkit-version "0.116">
|
||||
<!ENTITY polkit-gnome-version "0.105">
|
||||
<!ENTITY shadow-version "4.8.1">
|
||||
<!ENTITY ssh-askpass-version "&openssh-version;">
|
||||
<!ENTITY stunnel-version "5.56">
|
||||
@ -186,6 +187,7 @@ to avoid building libxml2 twice, which is slow with all deps -->
|
||||
<!ENTITY talloc-version "2.3.1">
|
||||
<!ENTITY telepathy-glib-version "0.24.1">
|
||||
<!ENTITY uchardet-version "0.0.6">
|
||||
<!ENTITY umockdev-version "0.14.1">
|
||||
<!ENTITY wayland-version "1.18.0">
|
||||
<!ENTITY wayland-protocols-version "1.20">
|
||||
<!ENTITY wv-version "1.2.9">
|
||||
@ -286,6 +288,7 @@ to avoid building libxml2 twice, which is slow with all deps -->
|
||||
<!ENTITY lsb-tools-version "0.6">
|
||||
<!ENTITY mc-version "4.8.24">
|
||||
<!ENTITY ModemManager-version "1.12.8">
|
||||
<!ENTITY notification-daemon-version "3.20.0">
|
||||
<!ENTITY obex-data-server-version "0.4.6">
|
||||
<!ENTITY p7zip-version "16.02">
|
||||
<!ENTITY pax-version "20161104">
|
||||
|
@ -81,6 +81,7 @@ $Date$
|
||||
<!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="openssl10.xml"/> -->
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="p11-kit.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="polkit.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="polkit-gnome.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="shadow.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ssh-askpass.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="stunnel.xml"/>
|
||||
|
Loading…
Reference in New Issue
Block a user