<?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 libgnomeprint-download-http "&gnome-download-http;/libgnomeprint/2.18/libgnomeprint-&libgnomeprint-version;.tar.bz2">
  <!ENTITY libgnomeprint-download-ftp  "&gnome-download-ftp;/libgnomeprint/2.18/libgnomeprint-&libgnomeprint-version;.tar.bz2">
  <!ENTITY libgnomeprint-md5sum        "d66b81ee8aa3b3a33f5efc9a47ce07e3">
  <!ENTITY libgnomeprint-size          "838 KB">
  <!ENTITY libgnomeprint-buildsize     "26 MB">
  <!ENTITY libgnomeprint-time          "0.6 SBU">
]>

<sect1 id="libgnomeprint" xreflabel="libgnomeprint-&libgnomeprint-version;">
  <?dbhtml filename="libgnomeprint.html"?>

  <sect1info>
    <othername>$LastChangedBy: ken $</othername>
    <date>$Date: 2012-02-19 18:29:40 -0500 (Sun, 19 Feb 2012) $</date>
  </sect1info>

  <title>libgnomeprint-&libgnomeprint-version;</title>

  <indexterm zone="libgnomeprint">
    <primary sortas="a-Libgnomeprint">Libgnomeprint</primary>
  </indexterm>

  <sect2 role="package">
    <title>Introduction to libgnomeprint</title>

    <para>The <application>libgnomeprint</application> package contains
    <filename class="libraryfile">libgnomeprint</filename> libraries.</para>

    &lfs65_checked;

    <bridgehead renderas="sect3">Package Information</bridgehead>
    <itemizedlist spacing="compact">
      <listitem>
        <para>Download (HTTP): <ulink url="&libgnomeprint-download-http;"/></para>
      </listitem>
      <listitem>
        <para>Download (FTP): <ulink url="&libgnomeprint-download-ftp;"/></para>
      </listitem>
      <listitem>
        <para>Download MD5 sum: &libgnomeprint-md5sum;</para>
      </listitem>
      <listitem>
        <para>Download size: &libgnomeprint-size;</para>
      </listitem>
      <listitem>
        <para>Estimated disk space required: &libgnomeprint-buildsize;</para>
      </listitem>
      <listitem>
        <para>Estimated build time: &libgnomeprint-time;</para>
      </listitem>
    </itemizedlist>
    <bridgehead renderas="sect3">libgnomeprint Dependencies</bridgehead>

    <bridgehead renderas="sect4">Required</bridgehead>
    <para role="required"><xref linkend="pango"/>,
    <xref linkend="intltool"/>,
    <xref linkend="libart_lgpl"/>,
    <xref linkend="libxml2"/>, and
    <xref linkend="perl-xml-parser"/></para>

    <bridgehead renderas="sect4">Optional</bridgehead>
    <para role="optional"><xref linkend="libgnomecups"/>,
    <xref linkend="gtk-doc"/>, and
    <xref linkend="docbook-utils"/></para>

    <para>If you have <xref linkend="cups"/> installed, you must also have
    <xref linkend="libgnomecups"/> installed or pass
    <option>--without-cups</option> to the <command>configure</command>
    command in the instructions below.</para>

    <para condition="html" role="usernotes">User Notes:
    <ulink url="&blfs-wiki;/libgnomeprint"/></para>

  </sect2>

  <sect2 role="installation">
    <title>Installation of libgnomeprint</title>

    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    href="../../xincludes/without-gnome.xml"/>

    <para>Install <application>libgnomeprint</application> by running the
    following commands:</para>

<screen><userinput>./configure --prefix=$(pkg-config --variable=prefix ORBit-2.0) \
            --disable-gtk-doc &amp;&amp;
make</userinput></screen>

    <para>The test suite requires <application>Acroread-4</application> to be
    installed and passing <option>--with-metadata-printer</option> to the
    <command>configure</command> script. If the previous requirements are met
    and you wish to run the regression tests, change directories to the
    <filename class='directory'>tests</filename> directory and issue:
    <command>./run-test.pl</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/gnome-prefix.xml"/>

    <para><parameter>--disable-gtk-doc</parameter>: This switch prevents
    rebuilding the documentation during the <command>make</command>
    command. Remove this parameter if you have
    <application>GTK-Doc</application> installed and wish to rebuild the
    documentation.</para>

  </sect2>

  <sect2 role="content">
    <title>Contents</title>

    <segmentedlist>
      <segtitle>Installed Programs</segtitle>
      <segtitle>Installed Libraries</segtitle>
      <segtitle>Installed Directories</segtitle>

      <seglistitem>
        <seg>None</seg>
        <seg>libgnomeprint-2-2.{so,a}, libgnomeprint-clip.{so,a},
        libgnomeprint-draft.{so,a}, libgnomeprint-frgba.{so,a},
        libgnomeprint-multipage.{so,a}, libgnomeprint-position.{so,a},
        libgnomeprint-reorder.{so,a}, libgnomeprint-reverse.{so,a},
        libgnomeprint-rotate.{so,a}, libgnomeprint-select.{so,a},
        libgnomeprint-zoom.{so,a}, libgnomeprintcups.{so,a},
        libgnomeprintlpd.{so,a}, libgnomeprint-custom.{so,a},
        libgnomeprint-file.{so,a}, and libgnomeprint-lpr.{so,a}</seg>
        <seg><envar>$GNOME_PREFIX</envar>/{include/libgnomeprint-2.2/libgnomeprint/private,
        lib/libgnomeprint/&libgnomeprint-version;/modules/{filters,transports},
        share/{gtk-doc/html/libgnomeprint,
        libgnomeprint/&libgnomeprint-version;/{models/uninstalled,
        printers/uninstalled}}}</seg>
      </seglistitem>
    </segmentedlist>

    <variablelist>
      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
      <?dbfo list-presentation="list"?>
      <?dbhtml list-presentation="table"?>

      <varlistentry id="libgnomeprint-2">
        <term><filename class='libraryfile'>libgnomeprint-2-2.{so,a}</filename></term>
        <listitem>
          <para>implements the <application>GNOME</application> Printing
          Architecture.</para>
          <indexterm zone="libgnomeprint libgnomeprint-2">
            <primary sortas="c-libgnomeprint-2-2">libgnomeprint-2-2.{so,a}</primary>
          </indexterm>
        </listitem>
      </varlistentry>

    </variablelist>

  </sect2>

</sect1>
