source: general/sysutils/p7zip.xml@ 1527145

10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 1527145 was 1527145, checked in by Douglas R. Reno <renodr@…>, 3 years ago

p7zip: Remove compressed manpages

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24179 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.8 KB
RevLine 
[86b7da48]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
[e8f2aba0]7 <!ENTITY p7zip-download-http "https://github.com/jinfeihan57/p7zip/archive/v&p7zip-version;/p7zip-&p7zip-version;.tar.gz">
[86b7da48]8 <!ENTITY p7zip-download-ftp " ">
[e8f2aba0]9 <!ENTITY p7zip-md5sum "fd7e6b082db89edfc047c1ce2d810850">
10 <!ENTITY p7zip-size "6.2 MB">
11 <!ENTITY p7zip-buildsize "66 MB">
12 <!ENTITY p7zip-time "2.3 SBU (with tests)">
[86b7da48]13]>
14
15<sect1 id="p7zip" xreflabel="p7zip-&p7zip-version;">
16 <?dbhtml filename="p7zip.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>p7zip-&p7zip-version;</title>
24
25 <indexterm zone="p7zip">
26 <primary sortas="a-p7zip">p7zip</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to p7zip</title>
31
32 <para>
33 <application>p7zip</application> is the Unix command-line port of 7-Zip, a
34 file archiver that archives with high compression ratios. It handles 7z,
[e8f2aba0]35 ZIP, GZIP, Brotli, BZIP2, XZ, TAR, APM, ARJ, CAB, CHM, CPIO, CramFS, DEB,
36 DMG, FAT, HFS, ISO, Lizard, LZ5, LZFSE, LZH, LZMA, LZMA2, MBR, MSI, MSLZ,
37 NSIS, NTFS, RAR, RPM, SquashFS, UDF, VHD, WIM, XAR, Z, and Zstd formats.
[86b7da48]38 </para>
39
[78af2ee]40 &lfs10_checked;
[86b7da48]41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
46 Download (HTTP): <ulink url="&p7zip-download-http;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download (FTP): <ulink url="&p7zip-download-ftp;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download MD5 sum: &p7zip-md5sum;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download size: &p7zip-size;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated disk space required: &p7zip-buildsize;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated build time: &p7zip-time;
72 </para>
73 </listitem>
74 </itemizedlist>
75
[e8f2aba0]76<!-- Applied in 17.03
[a45f297]77 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
78 <itemizedlist spacing='compact'>
79 <listitem>
80 <para>Required patch: <ulink
81 url="&patch-root;/p7zip-&p7zip-version;-consolidated_fixes-1.patch"/></para>
82 </listitem>
83 </itemizedlist>
[e8f2aba0]84-->
[a45f297]85
[86b7da48]86 <bridgehead renderas="sect3">p7zip Dependencies</bridgehead>
87
88 <bridgehead renderas="sect4">Optional</bridgehead>
89 <para role="optional">
90 <ulink url="http://www.wxwidgets.org/">wxWidgets</ulink>
91 </para>
92
93 <para condition="html" role="usernotes">User Notes:
94 <ulink url="&blfs-wiki;/p7zip"/>
95 </para>
96
97 </sect2>
98
99 <sect2 role="installation">
100 <title>Installation of p7zip</title>
101
[e8f2aba0]102<!-- Applied in 17.03
[a45f297]103 <para>
104 First, update the package for gcc10 and some security issues:
105 </para>
106
107<screen><userinput>patch -Np1 -i ../p7zip-&p7zip-version;-consolidated_fixes-1.patch</userinput></screen>
[e8f2aba0]108-->
[a45f297]109
[1527145]110 <para>
111 First, prevent <application>p7zip</application> from installing
112 compressed manual pages:
113 </para>
114
115<screen><userinput remap="pre">sed '/^gzip/d' -i install.sh</userinput></screen>
116
[86b7da48]117 <para>
118 Install <application>p7zip</application> by running the following
119 commands:
120 </para>
121
[589ba74]122<screen><userinput>make all3</userinput></screen>
[86b7da48]123
124 <para>
125 To test the results, issue: <command>make test</command>.
126 </para>
127
128 <para>
129 Now, as the <systemitem class="username">root</systemitem> user:
130 </para>
131
132<!-- dev note: make DEST_DIR=<DESTDIR> install -->
133
134<screen role="root"><userinput>make DEST_HOME=/usr \
135 DEST_MAN=/usr/share/man \
136 DEST_SHARE_DOC=/usr/share/doc/p7zip-&p7zip-version; install</userinput></screen>
137
[b1532549]138 <note>
139 <para>
140 If using DESTDIR techniques, use DEST_DIR instead.
141 </para>
142 </note>
[589ba74]143
[86b7da48]144 </sect2>
145
146 <sect2 role="content">
147 <title>Contents</title>
148
149 <segmentedlist>
150 <segtitle>Installed Programs</segtitle>
151 <segtitle>Installed Libraries</segtitle>
152 <segtitle>Installed Directory</segtitle>
153
154 <seglistitem>
155 <seg>
156 7z, 7za, and 7zr
157 </seg>
158 <seg>
159 None
160 </seg>
161 <seg>
162 /usr/lib/p7zip and /usr/share/doc/p7zip-&p7zip-version;
163 </seg>
164 </seglistitem>
165 </segmentedlist>
166
167 <variablelist>
168 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
169 <?dbfo list-presentation="list"?>
170 <?dbhtml list-presentation="table"?>
171
172 <varlistentry id="Sevenz">
173 <term><command>7z</command></term>
174 <listitem>
175 <para>
176 is a file archiver utility.
177 </para>
178 <indexterm zone="p7zip Sevenz">
179 <primary sortas="b-7z">7z</primary>
180 </indexterm>
181 </listitem>
182 </varlistentry>
183
184 <varlistentry id="Sevenza">
185 <term><command>7za</command></term>
186 <listitem>
187 <para>
188 is a stand-alone executable handling less archive formats than
189 <command>7z</command>.
190 </para>
191 <indexterm zone="p7zip Sevenza">
192 <primary sortas="b-7za">7za</primary>
193 </indexterm>
194 </listitem>
195 </varlistentry>
196
197 <varlistentry id="Sevenzr">
198 <term><command>7zr</command></term>
199 <listitem>
200 <para>
201 is a minimal version of <command>7za</command> that handles only
202 7z archives.
203 </para>
204 <indexterm zone="p7zip Sevenzr">
205 <primary sortas="b-7zr">7zr</primary>
206 </indexterm>
207 </listitem>
208 </varlistentry>
209
210 </variablelist>
211
212 </sect2>
213
214</sect1>
Note: See TracBrowser for help on using the repository browser.