glfs/gnome/add/zenity.xml

109 lines
3.5 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY zenity-download-http "http://ftp.gnome.org/pub/GNOME/sources/zenity/&gnome-version;/zenity-&zenity-version;.tar.bz2">
<!ENTITY zenity-download-ftp "ftp://ftp.gnome.org/pub/GNOME/sources/zenity/&gnome-version;/zenity-&zenity-version;.tar.bz2">
<!ENTITY zenity-md5sum "2e501bba72b6e7d4f951080b9e5f675b">
<!ENTITY zenity-size "742 KB">
<!ENTITY zenity-buildsize "6 MB">
<!ENTITY zenity-time "less than 0.1 SBU">
]>
<sect1 id="zenity" xreflabel="Zenity-&zenity-version;">
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<?dbhtml filename="zenity.html"?>
<title>Zenity-&zenity-version;</title>
<sect2>
<title>Introduction to <application>Zenity</application></title>
<para><application>Zenity</application> is a rewrite of
<application>gdialog</application>, the
<application><acronym>GNOME</acronym></application> port of
<application>dialog</application> which allows you to display
<application><acronym>GTK</acronym>+</application> dialog boxes from the
command line and shell scripts.</para>
<sect3><title>Package information</title>
<itemizedlist spacing='compact'>
<listitem><para>Download (HTTP): <ulink
url="&zenity-download-http;"/></para></listitem>
<listitem><para>Download (FTP): <ulink
url="&zenity-download-ftp;"/></para></listitem>
<listitem><para>Download MD5 sum: &zenity-md5sum;</para></listitem>
<listitem><para>Download size: &zenity-size;</para></listitem>
<listitem><para>Estimated disk space required:
&zenity-buildsize;</para></listitem>
<listitem><para>Estimated build time:
&zenity-time;</para></listitem></itemizedlist>
</sect3>
<sect3><title><application>Zenity</application> dependencies</title>
<sect4><title>Required</title>
<para><xref linkend="intltool"/>,
<xref linkend="popt"/>,
<xref linkend="libgnomecanvas"/> and
<xref linkend="scrollkeeper"/></para>
</sect4>
</sect3>
</sect2>
<sect2>
<title>Installation of <application>Zenity</application></title>
<para>Install <application>Zenity</application> by running the following
commands:</para>
<screen><userinput><command>./configure --prefix=`pkg-config --variable=prefix ORBit-2.0` \
--localstatedir=/var/lib &amp;&amp;
make</command></userinput></screen>
<para>This package does not come with a test suite.</para>
<para>Now, as the root user:</para>
<screen><userinput role='root'><command>make install</command></userinput></screen>
</sect2>
<sect2>
<title>Command explanations</title>
<para><parameter>--localstatedir=/var/lib</parameter>: This switch
puts <application>ScrollKeeper</application> files in
<filename class="directory">/var/lib/scrollkeeper</filename> instead of
<filename class="directory">$GNOME_PREFIX/var/scrollkeeper</filename>.</para>
</sect2>
<sect2>
<title>Contents</title>
<para>The <application>Zenity</application> package contains
<command>gdialog</command> and
<command>zenity</command>.</para>
</sect2>
<sect2><title>Description</title>
<sect3><title>gdialog</title>
<para><command>gdialog</command> is a <application>Perl</application> wrapper
script which can be used with legacy scripts.</para></sect3>
<sect3><title>zenity</title>
<para><command>zenity</command> is a program that will display
<application><acronym>GTK</acronym>+</application> dialogs, and return
the user's input.</para></sect3>
</sect2>
</sect1>