[614fce8e] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[f0214829] | 7 | <!ENTITY zenity-download-http "&gnome-download-http;/zenity/&gnome-minor-42;/zenity-&zenity-version;.tar.xz">
|
---|
| 8 | <!ENTITY zenity-download-ftp "&gnome-download-ftp;/zenity/&gnome-minor-42;/zenity-&zenity-version;.tar.xz">
|
---|
[bcf0311] | 9 | <!ENTITY zenity-md5sum "876ce3ab0304ad7591736238ad97795a">
|
---|
[f0214829] | 10 | <!ENTITY zenity-size "2.9 MB">
|
---|
[bcf0311] | 11 | <!ENTITY zenity-buildsize "15 MB">
|
---|
[27229db] | 12 | <!ENTITY zenity-time "0.1 SBU">
|
---|
[614fce8e] | 13 | ]>
|
---|
| 14 |
|
---|
[51dfb3e] | 15 | <sect1 id="zenity" xreflabel="Zenity-&zenity-version;">
|
---|
[614fce8e] | 16 | <?dbhtml filename="zenity.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <title>Zenity-&zenity-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="zenity">
|
---|
| 22 | <primary sortas="a-Zenity">Zenity</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to Zenity</title>
|
---|
| 27 |
|
---|
| 28 | <para>
|
---|
| 29 | <application>Zenity</application> is a rewrite of
|
---|
| 30 | <application>gdialog</application>, the <application>GNOME</application>
|
---|
| 31 | port of <application>dialog</application> which allows you to display
|
---|
| 32 | <application>GTK+</application> dialog boxes from the command line and
|
---|
| 33 | shell scripts.
|
---|
| 34 | </para>
|
---|
| 35 |
|
---|
[19f84a6] | 36 | &lfs112_checked;
|
---|
[614fce8e] | 37 |
|
---|
| 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>
|
---|
| 42 | Download (HTTP): <ulink url="&zenity-download-http;"/>
|
---|
| 43 | </para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>
|
---|
| 47 | Download (FTP): <ulink url="&zenity-download-ftp;"/>
|
---|
| 48 | </para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>
|
---|
| 52 | Download MD5 sum: &zenity-md5sum;
|
---|
| 53 | </para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>
|
---|
| 57 | Download size: &zenity-size;
|
---|
| 58 | </para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>
|
---|
| 62 | Estimated disk space required: &zenity-buildsize;
|
---|
| 63 | </para>
|
---|
| 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
| 66 | <para>
|
---|
| 67 | Estimated build time: &zenity-time;
|
---|
| 68 | </para>
|
---|
| 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
| 71 |
|
---|
| 72 | <bridgehead renderas="sect3">Zenity Dependencies</bridgehead>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 75 | <para role="required">
|
---|
| 76 | <xref linkend="gtk3"/> and
|
---|
| 77 | <xref linkend="itstool"/>
|
---|
| 78 | </para>
|
---|
| 79 |
|
---|
| 80 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 81 | <para role="recommended">
|
---|
[4f5369a] | 82 | <xref linkend="libnotify"/> and
|
---|
| 83 | <xref linkend="libxslt"/>
|
---|
[614fce8e] | 84 | </para>
|
---|
| 85 |
|
---|
| 86 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 87 | <para role="optional">
|
---|
| 88 | <xref linkend="webkitgtk"/>
|
---|
| 89 | </para>
|
---|
| 90 |
|
---|
| 91 | <para condition="html" role="usernotes">User Notes:
|
---|
| 92 | <ulink url="&blfs-wiki;/zenity"/>
|
---|
| 93 | </para>
|
---|
| 94 | </sect2>
|
---|
| 95 |
|
---|
| 96 | <sect2 role="installation">
|
---|
| 97 | <title>Installation of Zenity</title>
|
---|
| 98 |
|
---|
[83c4744] | 99 | <para>
|
---|
| 100 | First, adjust Zenity to properly use <xref linkend="webkitgtk" role="nodep"/>
|
---|
| 101 | if it is present:
|
---|
| 102 | </para>
|
---|
| 103 |
|
---|
| 104 | <screen><userinput remap="pre">sed -i 's/webkit2gtk-4.0/webkit2gtk-4.1/' meson.build</userinput></screen>
|
---|
| 105 |
|
---|
[614fce8e] | 106 | <para>
|
---|
| 107 | Install <application>Zenity</application> by running the following
|
---|
| 108 | commands:
|
---|
| 109 | </para>
|
---|
| 110 |
|
---|
[f0214829] | 111 | <screen><userinput>mkdir build &&
|
---|
| 112 | cd build &&
|
---|
| 113 |
|
---|
[9ad4c65] | 114 | meson --prefix=/usr --buildtype=release -Dlibnotify=true .. &&
|
---|
[f0214829] | 115 | ninja</userinput></screen>
|
---|
[614fce8e] | 116 |
|
---|
| 117 | <para>
|
---|
| 118 | This package does not come with a test suite.
|
---|
| 119 | </para>
|
---|
| 120 |
|
---|
| 121 | <para>
|
---|
| 122 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 123 | </para>
|
---|
| 124 |
|
---|
[f0214829] | 125 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[614fce8e] | 126 |
|
---|
| 127 | </sect2>
|
---|
| 128 |
|
---|
| 129 | <sect2 role="content">
|
---|
| 130 | <title>Contents</title>
|
---|
| 131 |
|
---|
| 132 | <segmentedlist>
|
---|
| 133 | <segtitle>Installed Programs</segtitle>
|
---|
| 134 | <segtitle>Installed Libraries</segtitle>
|
---|
| 135 | <segtitle>Installed Directories</segtitle>
|
---|
| 136 |
|
---|
| 137 | <seglistitem>
|
---|
| 138 | <seg>
|
---|
| 139 | gdialog and zenity
|
---|
| 140 | </seg>
|
---|
| 141 | <seg>
|
---|
| 142 | None
|
---|
| 143 | </seg>
|
---|
| 144 | <seg>
|
---|
| 145 | /usr/share/help/*/zenity and
|
---|
| 146 | /usr/share/zenity
|
---|
| 147 | </seg>
|
---|
| 148 | </seglistitem>
|
---|
| 149 | </segmentedlist>
|
---|
| 150 |
|
---|
| 151 | <variablelist>
|
---|
| 152 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 153 | <?dbfo list-presentation="list"?>
|
---|
| 154 | <?dbhtml list-presentation="table"?>
|
---|
| 155 |
|
---|
| 156 | <varlistentry id="gdialog">
|
---|
| 157 | <term><command>gdialog</command></term>
|
---|
| 158 | <listitem>
|
---|
| 159 | <para>
|
---|
| 160 | is a <application>Perl</application> wrapper script which
|
---|
[4c24eb0a] | 161 | can be used with legacy scripts
|
---|
[614fce8e] | 162 | </para>
|
---|
| 163 | <indexterm zone="zenity gdialog">
|
---|
| 164 | <primary sortas="b-gdialog">gdialog</primary>
|
---|
| 165 | </indexterm>
|
---|
| 166 | </listitem>
|
---|
| 167 | </varlistentry>
|
---|
| 168 |
|
---|
| 169 | <varlistentry id="zenity-prog">
|
---|
| 170 | <term><command>zenity</command></term>
|
---|
| 171 | <listitem>
|
---|
| 172 | <para>
|
---|
| 173 | is a program that will display <application>GTK+</application>
|
---|
[4c24eb0a] | 174 | dialogs, and return the user's input
|
---|
[614fce8e] | 175 | </para>
|
---|
| 176 | <indexterm zone="zenity zenity-prog">
|
---|
| 177 | <primary sortas="b-zenity">zenity</primary>
|
---|
| 178 | </indexterm>
|
---|
| 179 | </listitem>
|
---|
| 180 | </varlistentry>
|
---|
| 181 |
|
---|
| 182 | </variablelist>
|
---|
| 183 |
|
---|
| 184 | </sect2>
|
---|
| 185 |
|
---|
| 186 | </sect1>
|
---|