mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 06:52:14 +08:00
LFS 7.4 tags
Ensure gcc is used for cups git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11747 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
745db805d3
commit
93343b6ee1
@ -87,7 +87,7 @@
|
||||
<bridgehead renderas="sect4">Recommended</bridgehead>
|
||||
<para role="recommended">
|
||||
<xref linkend="colord"/>,
|
||||
<xref linkend="dbus"/> and
|
||||
<xref linkend="dbus"/>, and
|
||||
<xref linkend="libusb"/>
|
||||
</para>
|
||||
|
||||
@ -102,7 +102,7 @@
|
||||
<xref linkend="mitkrb"/>,
|
||||
<xref linkend="openjdk"/>,
|
||||
<xref linkend="php"/>,
|
||||
<xref linkend="python2"/> and
|
||||
<xref linkend="python2"/>, and
|
||||
<xref linkend="xdg-utils"/>
|
||||
</para>
|
||||
|
||||
@ -220,10 +220,12 @@ Enable support for either UHCI or OHCI, not both:
|
||||
<screen><userinput>patch -Np1 -i ../cups-&cups-version;-blfs-1.patch &&
|
||||
aclocal -I config-scripts &&
|
||||
autoconf -I config-scripts &&
|
||||
./configure --libdir=/usr/lib \
|
||||
--with-rcdir=/tmp/cupsinit \
|
||||
|
||||
CC=gcc \
|
||||
./configure --libdir=/usr/lib \
|
||||
--with-rcdir=/tmp/cupsinit \
|
||||
--with-docdir=/usr/share/cups/doc \
|
||||
--with-system-groups=lpadmin &&
|
||||
--with-system-groups=lpadmin &&
|
||||
make</userinput></screen>
|
||||
|
||||
<para>
|
||||
@ -264,6 +266,11 @@ rm -rf /usr/share/cups/data/testprint</userinput></screen>
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<para>
|
||||
<envar>CC=gcc</envar>: This environment variable ensures that gcc
|
||||
is used if clang is installed. The build fails with the clang compiler.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<parameter>--with-rcdir=/tmp/cupsinit</parameter>: This switch tells
|
||||
the build process to install the shipped bootscript into
|
||||
|
@ -36,7 +36,7 @@
|
||||
every input format into PostScript output. The application's name
|
||||
expands appropriately to <quote>all to PostScript</quote>.</para>
|
||||
|
||||
&lfs73_checked;
|
||||
&lfs74_checked;
|
||||
|
||||
<caution>
|
||||
<para><application>a2ps</application> cannot convert UTF-8 encoded
|
||||
@ -114,13 +114,15 @@
|
||||
commands:</para>
|
||||
|
||||
<screen><userinput>autoconf &&
|
||||
sed -i "s/GPERF --version |/& head -n 1 |/" configure &&
|
||||
sed -i "s|/usr/local/share|/usr/share|" configure &&
|
||||
./configure --prefix=/usr \
|
||||
sed -i -e "s/GPERF --version |/& head -n 1 |/" \
|
||||
-e "s|/usr/local/share|/usr/share|" configure &&
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc/a2ps \
|
||||
--enable-shared \
|
||||
--with-medium=letter &&
|
||||
make</userinput></screen>
|
||||
--enable-shared \
|
||||
--with-medium=letter &&
|
||||
make &&
|
||||
touch doc/*.info</userinput></screen>
|
||||
|
||||
<para>To test the results, issue: <command>make check</command>.
|
||||
The <filename>printers.tst</filename> test will fail, as there is no default
|
||||
@ -179,6 +181,11 @@ mv fonts.map.new fonts.map</userinput></screen>
|
||||
wider paper-handling margins. See <filename>/etc/a2ps/a2ps.cfg</filename>
|
||||
after installation.</para>
|
||||
|
||||
<para><command>touch doc/*.info</command>: This command avoids trying to
|
||||
regenerate the info files. This is an older package and the current
|
||||
.texi files will produce errors preventing <command>make install</command>
|
||||
from working properly.</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="configuration">
|
||||
|
@ -36,7 +36,7 @@
|
||||
<para><application>Enscript</application> converts ASCII text files
|
||||
to PostScript, HTML, RTF, ANSI and overstrikes.</para>
|
||||
|
||||
&lfs73_checked;
|
||||
&lfs74_checked;
|
||||
|
||||
<caution>
|
||||
<para><application>Enscript</application> cannot convert UTF-8 encoded
|
||||
@ -95,8 +95,7 @@
|
||||
make &&
|
||||
|
||||
pushd docs &&
|
||||
texi2html enscript.texi &&
|
||||
makeinfo --plaintext -o enscript.txt enscript.texi &&
|
||||
makeinfo --plaintext -o enscript.txt enscript.texi &&
|
||||
popd</userinput></screen>
|
||||
|
||||
<para>If you have <xref linkend="texlive"/> installed, you can create
|
||||
@ -110,7 +109,7 @@ popd</userinput></screen>
|
||||
<screen role="root"><userinput>make install &&
|
||||
|
||||
install -v -m755 -d /usr/share/doc/enscript-&enscript-version; &&
|
||||
install -v -m644 README* *.txt docs/*.{html,txt} \
|
||||
install -v -m644 README* *.txt docs/*.txt \
|
||||
/usr/share/doc/enscript-&enscript-version;</userinput></screen>
|
||||
|
||||
<para>If you built Postscript and PDF documentation, install it
|
||||
@ -148,7 +147,7 @@ install -v -m644 README* *.txt docs/*.{html,txt} \
|
||||
<seg>diffpp, enscript, mkafmmap, over, sliceprint,
|
||||
and states</seg>
|
||||
<seg>None</seg>
|
||||
<seg>/etc/enscript, /usr/share/doc/enscript-&enscript-version; and
|
||||
<seg>/etc/enscript, /usr/share/doc/enscript-&enscript-version;, and
|
||||
/usr/share/enscript</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
|
@ -51,7 +51,7 @@
|
||||
SVG, XML (area tree representation), print, AWT, MIF and ASCII text. The
|
||||
primary output target is PDF.</para>
|
||||
|
||||
&lfs73_checked;
|
||||
&lfs74_checked;
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
|
@ -9,7 +9,7 @@
|
||||
<!ENTITY psutils-md5sum "b161522f3bd1507655326afa7db4a0ad">
|
||||
<!ENTITY psutils-size "68 KB">
|
||||
<!ENTITY psutils-buildsize "740 KB">
|
||||
<!ENTITY psutils-time "0.01 SBU">
|
||||
<!ENTITY psutils-time "less than 0.1 SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="psutils" xreflabel="PSUtils-&psutils-version;">
|
||||
@ -32,7 +32,7 @@
|
||||
<para><application>PSUtils</application> is a set of utilities to manipulate
|
||||
PostScript files.</para>
|
||||
|
||||
&lfs73_checked;
|
||||
&lfs74_checked;
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
|
@ -39,7 +39,7 @@
|
||||
of macros, fonts and documentation; and support for typesetting in many
|
||||
different scripts from around the world.</para>
|
||||
|
||||
&lfs73_checked;
|
||||
&lfs74_checked;
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
|
Loading…
Reference in New Issue
Block a user