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 |
|
---|
7 | <!ENTITY libpaper-download-http "http://ftp.debian.org/debian/pool/main/libp/libpaper/libpaper_&libpaper-version;.tar.gz">
|
---|
8 | <!ENTITY libpaper-download-ftp "ftp://ftp.debian.org/debian/pool/main/libp/libpaper/libpaper_&libpaper-version;.tar.gz">
|
---|
9 | <!ENTITY libpaper-md5sum "2d7239e4e7cb295aff54814f0d97992d">
|
---|
10 | <!ENTITY libpaper-size "361 KB">
|
---|
11 | <!ENTITY libpaper-buildsize "2.6 MB">
|
---|
12 | <!ENTITY libpaper-time "less than 0.1 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="libpaper" xreflabel="libpaper-&libpaper-version;">
|
---|
16 | <?dbhtml filename="libpaper.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>libpaper-&libpaper-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="libpaper">
|
---|
26 | <primary sortas="a-libpaper">libpaper</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to libpaper</title>
|
---|
31 |
|
---|
32 | <para>
|
---|
33 | This package is intended to provide a simple way for applications to take
|
---|
34 | actions based on a system or user-specified paper size.
|
---|
35 | </para>
|
---|
36 |
|
---|
37 | &lfs75_checked;
|
---|
38 |
|
---|
39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
40 | <itemizedlist spacing="compact">
|
---|
41 | <listitem>
|
---|
42 | <para>
|
---|
43 | Download (HTTP): <ulink url="&libpaper-download-http;"/>
|
---|
44 | </para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>
|
---|
48 | Download (FTP): <ulink url="&libpaper-download-ftp;"/>
|
---|
49 | </para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>
|
---|
53 | Download MD5 sum: &libpaper-md5sum;
|
---|
54 | </para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>
|
---|
58 | Download size: &libpaper-size;
|
---|
59 | </para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Estimated disk space required: &libpaper-buildsize;
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>
|
---|
68 | Estimated build time: &libpaper-time;
|
---|
69 | </para>
|
---|
70 | </listitem>
|
---|
71 | </itemizedlist>
|
---|
72 |
|
---|
73 | <para condition="html" role="usernotes">
|
---|
74 | User Notes: <ulink url="&blfs-wiki;/libpaper"/>
|
---|
75 | </para>
|
---|
76 |
|
---|
77 | </sect2>
|
---|
78 |
|
---|
79 | <sect2 role="installation">
|
---|
80 | <title>Installation of libpaper</title>
|
---|
81 |
|
---|
82 | <para>
|
---|
83 | Install <application>libpaper</application> by running the following commands:
|
---|
84 | </para>
|
---|
85 |
|
---|
86 | <screen><userinput>./configure --prefix=/usr \
|
---|
87 | --sysconfdir=/etc \
|
---|
88 | --disable-static &&
|
---|
89 | make
|
---|
90 | </userinput></screen>
|
---|
91 |
|
---|
92 | <para>This package does not come with a test suite.</para>
|
---|
93 |
|
---|
94 | <para>
|
---|
95 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
96 | </para>
|
---|
97 |
|
---|
98 | <screen role="root"><userinput>make install &&
|
---|
99 | mkdir -v /etc/libpaper.d &&
|
---|
100 | cat > /uetc/papersize << "EOF"
|
---|
101 | <literal>a4</literal>
|
---|
102 | EOF</userinput></screen>
|
---|
103 |
|
---|
104 | <para>
|
---|
105 | You may wish to use a different paper size, such as letter.
|
---|
106 | </para>
|
---|
107 |
|
---|
108 | </sect2>
|
---|
109 |
|
---|
110 | <sect2 role="commands">
|
---|
111 | <title>Command Explanations</title>
|
---|
112 |
|
---|
113 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
114 | href="../../xincludes/static-libraries.xml"/>
|
---|
115 |
|
---|
116 | </sect2>
|
---|
117 |
|
---|
118 | <sect2 role="content">
|
---|
119 | <title>Contents</title>
|
---|
120 |
|
---|
121 | <segmentedlist>
|
---|
122 | <segtitle>Installed Programs</segtitle>
|
---|
123 | <segtitle>Installed Library</segtitle>
|
---|
124 | <segtitle>Installed Directories</segtitle>
|
---|
125 |
|
---|
126 | <seglistitem>
|
---|
127 | <seg>
|
---|
128 | paperconf, paperconfig
|
---|
129 | </seg>
|
---|
130 | <seg>
|
---|
131 | libpaper.so
|
---|
132 | </seg>
|
---|
133 | <seg>
|
---|
134 | /etc/libpaper.d
|
---|
135 | </seg>
|
---|
136 | </seglistitem>
|
---|
137 | </segmentedlist>
|
---|
138 |
|
---|
139 | <variablelist>
|
---|
140 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
141 | <?dbfo list-presentation="list"?>
|
---|
142 | <?dbhtml list-presentation="table"?>
|
---|
143 |
|
---|
144 | <varlistentry id="paperconf">
|
---|
145 | <term><command>paperconf</command></term>
|
---|
146 | <listitem>
|
---|
147 | <para>print paper configuration information.</para>
|
---|
148 | <indexterm zone="libpaper paperconf">
|
---|
149 | <primary sortas="b-paperconf">paperconf</primary>
|
---|
150 | </indexterm>
|
---|
151 | </listitem>
|
---|
152 | </varlistentry>
|
---|
153 |
|
---|
154 | <varlistentry id="paperconfig">
|
---|
155 | <term><command>paperconfig</command></term>
|
---|
156 | <listitem>
|
---|
157 | <para>configure the system default paper size.</para>
|
---|
158 | <indexterm zone="libpaper paperconfig">
|
---|
159 | <primary sortas="b-paperconfig">paperconfig</primary>
|
---|
160 | </indexterm>
|
---|
161 | </listitem>
|
---|
162 | </varlistentry>
|
---|
163 |
|
---|
164 | <varlistentry id="libpaper-lib">
|
---|
165 | <term><filename class="libraryfile">libpaper.so</filename></term>
|
---|
166 | <listitem>
|
---|
167 | <para>
|
---|
168 | contains functions for interrogating the paper library.
|
---|
169 | </para>
|
---|
170 | <indexterm zone="libpaper libpaper-lib">
|
---|
171 | <primary sortas="c-libpaper">libpaper.so</primary>
|
---|
172 | </indexterm>
|
---|
173 | </listitem>
|
---|
174 | </varlistentry>
|
---|
175 |
|
---|
176 | </variablelist>
|
---|
177 |
|
---|
178 | </sect2>
|
---|
179 |
|
---|
180 | </sect1>
|
---|