Index: general/genlib/genlib.xml
===================================================================
--- general/genlib/genlib.xml	(revision f4c8d13cd17dfa83b5ba25a608578f0d8b6a8728)
+++ general/genlib/genlib.xml	(revision 1ecdb180d3c28aff41d8ca1ca22493a14089f876)
@@ -83,4 +83,5 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libksba.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="liblinear.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libpaper.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libsigc++.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libtasn1.xml"/>
Index: general/genlib/libpaper.xml
===================================================================
--- general/genlib/libpaper.xml	(revision 1ecdb180d3c28aff41d8ca1ca22493a14089f876)
+++ general/genlib/libpaper.xml	(revision 1ecdb180d3c28aff41d8ca1ca22493a14089f876)
@@ -0,0 +1,180 @@
+<?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 libpaper-download-http "http:iftp.debian.org/debian/pool/main/libp/libpaper/libpaper-&libpaper-version;.tar.gz">
+  <!ENTITY libpaper-download-ftp "ftp:iftp.debian.org/debian/pool/main/libp/libpaper/libpaper-&libpaper-version;.tar.gz">
+  <!ENTITY libpaper-md5sum        "2d7239e4e7cb295aff54814f0d97992d">
+  <!ENTITY libpaper-size          "361 KB">
+  <!ENTITY libpaper-buildsize     "2.6 MB">
+  <!ENTITY libpaper-time          "less than 0.1 SBU">
+]>
+
+<sect1 id="libpaper" xreflabel="libpaper-&libpaper-version;">
+  <?dbhtml filename="libpaper.html"?>
+
+  <sect1info>
+    <othername>$LastChangedBy$</othername>
+    <date>$Date$</date>
+  </sect1info>
+
+  <title>libpaper-&libpaper-version;</title>
+
+  <indexterm zone="libpaper">
+    <primary sortas="a-libpaper">libpaper</primary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title>Introduction to libpaper</title>
+
+    <para>
+      This package is intended to provide a simple way for applications to take
+      actions based on a system or user-specified paper size.
+    </para>
+
+    &lfs75_checked;
+
+    <bridgehead renderas="sect3">Package Information</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>
+          Download (HTTP): <ulink url="&libpaper-download-http;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download (FTP): <ulink url="&libpaper-download-ftp;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download MD5 sum: &libpaper-md5sum;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download size: &libpaper-size;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated disk space required: &libpaper-buildsize;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated build time: &libpaper-time;
+        </para>
+      </listitem>
+    </itemizedlist>
+
+    <para condition="html" role="usernotes">
+      User Notes: <ulink url="&blfs-wiki;/libpaper"/>
+    </para>
+
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of libpaper</title>
+
+    <para>
+      Install <application>libpaper</application> by running the following commands:
+    </para>
+
+<screen><userinput>./configure --prefix=/usr     \
+            --sysconfdir=/etc \
+            --disable-static &amp;&amp;
+make
+</userinput></screen>
+
+    <para>This package does not come with a test suite.</para>
+
+    <para>
+      Now, as the <systemitem class="username">root</systemitem> user:
+    </para>
+
+<screen role="root"><userinput>make install &amp;&amp;
+mkdir -v /etc/libpaper.d &amp;&amp;
+cat &gt; /uetc/papersize &lt;&lt; "EOF"
+<literal>a4</literal>
+EOF</userinput></screen>
+
+    <para>
+      You may wish to use a different paper size, such as letter.
+    </para>
+
+  </sect2>
+
+  <sect2 role="commands">
+    <title>Command Explanations</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+      href="../../xincludes/static-libraries.xml"/>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title>Contents</title>
+
+    <segmentedlist>
+      <segtitle>Installed Programs</segtitle>
+      <segtitle>Installed Library</segtitle>
+      <segtitle>Installed Directories</segtitle>
+
+      <seglistitem>
+        <seg>
+          paperconf, paperconfig
+        </seg>
+        <seg>
+          libpaper.so
+        </seg>
+        <seg>
+          /etc/libpaper.d
+        </seg>
+      </seglistitem>
+    </segmentedlist>
+
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
+
+      <varlistentry id="paperconf">
+        <term><command>paperconf</command></term>
+        <listitem>
+          <para>print paper configuration information.</para>
+          <indexterm zone="libpaper paperconf">
+            <primary sortas="b-paperconf">paperconf</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="paperconfig">
+        <term><command>paperconfig</command></term>
+        <listitem>
+          <para>configure the system default paper size.</para>
+          <indexterm zone="libpaper paperconfig">
+            <primary sortas="b-paperconfig">paperconfig</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="libpaper-lib">
+        <term><filename class="libraryfile">libpaper.so</filename></term>
+        <listitem>
+          <para>
+            contains functions for interrogating the paper library.
+          </para>
+          <indexterm zone="libpaper libpaper-lib">
+            <primary sortas="c-libpaper">libpaper.so</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+  </sect2>
+
+</sect1>
Index: introduction/welcome/changelog.xml
===================================================================
--- introduction/welcome/changelog.xml	(revision f4c8d13cd17dfa83b5ba25a608578f0d8b6a8728)
+++ introduction/welcome/changelog.xml	(revision 1ecdb180d3c28aff41d8ca1ca22493a14089f876)
@@ -48,4 +48,8 @@
       <para>August 28th, 2014</para>
       <itemizedlist>
+        <listitem>
+          <para>[ken] - Added libpaper-1.1.24+nmu3. Fixes
+          <ulink url="&blfs-ticket-root;5440">#5440</ulink>.</para>
+        </listitem>
         <listitem>
           <para>[igor] - Update to gimp-2.8.14. Fixes
Index: packages.ent
===================================================================
--- packages.ent	(revision f4c8d13cd17dfa83b5ba25a608578f0d8b6a8728)
+++ packages.ent	(revision 1ecdb180d3c28aff41d8ca1ca22493a14089f876)
@@ -121,4 +121,5 @@
 <!ENTITY libksba-version              "1.3.0">
 <!ENTITY liblinear-version            "1.94">
+<!ENTITY libpaper-version             "1.1.24+nmu3">
 <!ENTITY libsigc-version              "2.3.2">
 <!ENTITY libtasn1-version             "4.1">
Index: pst/printing/cups.xml
===================================================================
--- pst/printing/cups.xml	(revision f4c8d13cd17dfa83b5ba25a608578f0d8b6a8728)
+++ pst/printing/cups.xml	(revision 1ecdb180d3c28aff41d8ca1ca22493a14089f876)
@@ -103,12 +103,11 @@
       <xref linkend="gnutls"/> (if you have it installed, then
       <xref linkend="libgcrypt"/> is required) or <xref linkend="openssl"/>,
+      <xref linkend="libpaper"/>,
       <xref linkend="linux-pam"/>,
       <xref linkend="mitkrb"/>,
       <xref linkend="openjdk"/>,
       <xref linkend="php"/>,
-      <xref linkend="python2"/>,
-      <xref linkend="xdg-utils"/>, and
-      <ulink
-      url="http://packages.debian.org/source/sid/libpaper">libpaper</ulink>
+      <xref linkend="python2"/>, and
+      <xref linkend="xdg-utils"/>
     </para>
 
Index: pst/printing/gs.xml
===================================================================
--- pst/printing/gs.xml	(revision f4c8d13cd17dfa83b5ba25a608578f0d8b6a8728)
+++ pst/printing/gs.xml	(revision 1ecdb180d3c28aff41d8ca1ca22493a14089f876)
@@ -116,12 +116,12 @@
     <para role="optional">
       <xref linkend="cairo"/>,
+      <xref linkend="cups"/>,
       <xref linkend="fontconfig"/> (required, if you are installing any
       suggested font),
       <xref linkend="gtk2"/>,
-      <xref linkend="cups"/>,
-      <xref linkend="lcms"/> (not used by default, nor if lcms2 is present or found),
       <xref linkend="libidn"/>,
-      <xref linkend="x-window-system"/> and
-      <ulink url="http://packages.debian.org/unstable/source/libpaper">libpaper</ulink>
+      <xref linkend="libpaper"/>,
+      <xref linkend="lcms"/> (not used by default, nor if lcms2 is present or found), and
+      <xref linkend="x-window-system"/>
     </para>
 
Index: pst/ps/a2ps.xml
===================================================================
--- pst/ps/a2ps.xml	(revision f4c8d13cd17dfa83b5ba25a608578f0d8b6a8728)
+++ pst/ps/a2ps.xml	(revision 1ecdb180d3c28aff41d8ca1ca22493a14089f876)
@@ -92,8 +92,8 @@
     <bridgehead renderas="sect4">Optional</bridgehead>
     <para role="optional">
+      <xref linkend="gs"/>,
+      <xref linkend="libpaper"/>.
+      <xref linkend="texlive"/>,
       <xref linkend="x-window-system"/>,
-      <xref linkend="texlive"/>,
-      <xref linkend="gs"/>,
-      <ulink url="http://packages.debian.org/unstable/source/libpaper">libpaper</ulink>,
       <ulink url="http://www.adobe.com/products/acrobat/readstep2.html">Adobe Reader</ulink>, and
       <ulink url="http://www.gnu.org/software/ghostview/ghostview.html">Ghostview</ulink>
Index: pst/typesetting/texlive.xml
===================================================================
--- pst/typesetting/texlive.xml	(revision f4c8d13cd17dfa83b5ba25a608578f0d8b6a8728)
+++ pst/typesetting/texlive.xml	(revision 1ecdb180d3c28aff41d8ca1ca22493a14089f876)
@@ -87,4 +87,5 @@
       <xref linkend="harfbuzz"/> (linked to graphite2),
       <xref linkend="icu"/>,
+      <xref linkend="libpaper"/>,
       <xref linkend="libpng"/>,
       <xref linkend="poppler"/>
@@ -94,11 +95,4 @@
     <para role="optional">
       <ulink url="http://www.fftw.org/">FFTW</ulink> can be used by asy.
-    </para>
-    <para>
-      The version of
-      <ulink
-      url="http://packages.debian.org/source/sid/libpaper">libpaper</ulink>
-      shipped with the source will be used unless you have installed a system
-      version and told it to use that.
     </para>
     <para role="optional">
