source: general/genlib/libpaper.xml@ 111bb21

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 111bb21 was 8f37884, checked in by Bruce Dubbs <bdubbs@…>, 15 months ago

Package updates.
Update to libpaper-2.1.0.
Update to icu4c-73.1.

  • Property mode set to 100644
File size: 5.4 KB
RevLine 
[1ecdb18]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
[25d274a]7 <!ENTITY libpaper-download-http "https://github.com/rrthomas/libpaper/releases/download/v&libpaper-version;/libpaper-&libpaper-version;.tar.gz">
[15b2a2c2]8 <!ENTITY libpaper-download-ftp " ">
[8f37884]9 <!ENTITY libpaper-md5sum "c9136c0d483b868818637ec54200c975">
[25d274a]10 <!ENTITY libpaper-size "1.2 MB">
11 <!ENTITY libpaper-buildsize "11 MB (with tests)">
12 <!ENTITY libpaper-time "0.1 SBU (with tests)">
[1ecdb18]13]>
14
15<sect1 id="libpaper" xreflabel="libpaper-&libpaper-version;">
16 <?dbhtml filename="libpaper.html"?>
17
18
19 <title>libpaper-&libpaper-version;</title>
20
21 <indexterm zone="libpaper">
22 <primary sortas="a-libpaper">libpaper</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to libpaper</title>
27
28 <para>
29 This package is intended to provide a simple way for applications to take
30 actions based on a system or user-specified paper size.
31 </para>
32
[dbd73d6]33 &lfs113_checked;
[1ecdb18]34
35 <bridgehead renderas="sect3">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
38 <para>
39 Download (HTTP): <ulink url="&libpaper-download-http;"/>
40 </para>
41 </listitem>
42 <listitem>
43 <para>
44 Download (FTP): <ulink url="&libpaper-download-ftp;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download MD5 sum: &libpaper-md5sum;
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download size: &libpaper-size;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Estimated disk space required: &libpaper-buildsize;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated build time: &libpaper-time;
65 </para>
66 </listitem>
67 </itemizedlist>
68
69 <para condition="html" role="usernotes">
70 User Notes: <ulink url="&blfs-wiki;/libpaper"/>
71 </para>
72
73 </sect2>
74
75 <sect2 role="installation">
76 <title>Installation of libpaper</title>
77
78 <para>
[d56e7df]79 Install <application>libpaper</application> by running the following
80 commands:
[1ecdb18]81 </para>
82
[25d274a]83<screen><userinput>./configure --prefix=/usr \
84 --sysconfdir=/etc \
85 --disable-static \
86 --enable-relocatable \
87 --docdir=/usr/share/doc/paper-&libpaper-version; &amp;&amp;
[7031a69]88make</userinput></screen>
[1ecdb18]89
[d56e7df]90 <para>
[25d274a]91 To test the results, issue: <command>make check</command>.
[d56e7df]92 </para>
[1ecdb18]93
94 <para>
[25d274a]95 Now, as the &root; user:
[1ecdb18]96 </para>
97
[25d274a]98<screen role="root"><userinput>make install</userinput></screen>
99
[1ecdb18]100 </sect2>
101
102 <sect2 role="commands">
103 <title>Command Explanations</title>
104
105 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
106 href="../../xincludes/static-libraries.xml"/>
107
[d56e7df]108 <para>
[25d274a]109 <option>--enable-relocatable</option>:
110 This option is needed to run the tests.
[d56e7df]111 </para>
[25d274a]112
[fbf70663]113 </sect2>
114
115 <sect2 role="configuration">
116 <title>Configuring libpaper</title>
117
118 <sect3>
119 <title>Configuration Information</title>
120
[d56e7df]121 <para>
[913b88f]122 The paper size is automatically determined from the system locale;
123 see <literal>LC_PAPER</literal> in <filename>locale(7)</filename>.
124 If you want to override it, create a <filename>papersize</filename>
125 file in the user configuration directory. For example:
[d56e7df]126 </para>
[fbf70663]127
[278f297]128<screen role="nodump"><userinput>mkdir -pv ~/.config &amp;&amp;
[913b88f]129echo "a4" &gt; ~/.config/papersize</userinput></screen>
130
131 <para>
132 If you want to override the paper size globally (for all users),
133 set up the <envar>PAPERSIZE</envar> environment variable. For
134 example:
135 </para>
136
137<screen role="nodump"><userinput>echo "PAPERSIZE=a4" &gt; /etc/profile.d/libpaper.sh</userinput></screen>
138
139 <para>
140 You may use a different paper size, such as
141 <quote><literal>letter</literal></quote>.
142 </para>
[fbf70663]143
144 </sect3>
145
[1ecdb18]146 </sect2>
147
148 <sect2 role="content">
149 <title>Contents</title>
150
151 <segmentedlist>
152 <segtitle>Installed Programs</segtitle>
153 <segtitle>Installed Library</segtitle>
154 <segtitle>Installed Directories</segtitle>
155
156 <seglistitem>
157 <seg>
[25d274a]158 paper
[1ecdb18]159 </seg>
160 <seg>
161 libpaper.so
162 </seg>
163 <seg>
[25d274a]164 /usr/share/doc/paper-&libpaper-version;
[1ecdb18]165 </seg>
166 </seglistitem>
167 </segmentedlist>
168
169 <variablelist>
170 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
171 <?dbfo list-presentation="list"?>
172 <?dbhtml list-presentation="table"?>
173
[25d274a]174 <varlistentry id="paper">
175 <term><command>paper</command></term>
[1ecdb18]176 <listitem>
[d56e7df]177 <para>
[4c24eb0a]178 prints paper configuration information
[d56e7df]179 </para>
[25d274a]180 <indexterm zone="libpaper paper">
181 <primary sortas="b-paper">paper</primary>
[1ecdb18]182 </indexterm>
183 </listitem>
184 </varlistentry>
185
186 <varlistentry id="libpaper-lib">
187 <term><filename class="libraryfile">libpaper.so</filename></term>
188 <listitem>
189 <para>
[4c24eb0a]190 contains functions for interrogating the paper library
[1ecdb18]191 </para>
192 <indexterm zone="libpaper libpaper-lib">
193 <primary sortas="c-libpaper">libpaper.so</primary>
194 </indexterm>
195 </listitem>
196 </varlistentry>
197
198 </variablelist>
199
200 </sect2>
201
202</sect1>
Note: See TracBrowser for help on using the repository browser.