Changeset 2c1a7b7f for pst/printing
- Timestamp:
- 10/07/2014 03:18:51 PM (10 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, 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
- Children:
- c77f4066
- Parents:
- 6e5365b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pst/printing/cups.xml
r6e5365b r2c1a7b7f 95 95 <para role="optional"> 96 96 <xref linkend="avahi"/>, 97 <xref linkend="gnutls"/> (if you have it installed, then 98 <xref linkend="libgcrypt"/> is required), 97 <xref linkend="gnutls"/>, 99 98 <xref linkend="libpaper"/>, 100 99 <xref linkend="linux-pam"/>, … … 210 209 <screen><userinput>patch -Np1 -i ../cups-&cups-version;-content_type-1.patch</userinput></screen>--> 211 210 212 <para>213 PAM module needs to be modified for BLFS:214 </para>215 211 <!-- docdir is also document root for cups administration interface, so 216 let's just put it in /usr/share/cups/doc and create symlink in 217 /usr/share/doc - I have modified this, inverting the logic; if it is 218 disliked, please revert my modification (fernando) 212 let's just put it in /usr/share/cups/doc-&cups-version; and create symlink 213 in /usr/share/doc/cups-&cups-version; 219 214 220 215 When not using libdir switch, CUPS will install libraries into /usr/lib64 … … 222 217 introduce some difficulties with packaging --> 223 218 224 <screen><userinput>cat > conf/pam.std.in << "EOF"225 <literal># Begin /etc/pam.d/cups226 227 auth include system-auth228 account include system-account229 session include system-session230 231 # End /etc/pam.d/cups</literal>232 EOF</userinput></screen>233 234 219 <para> 235 220 Install <application>Cups</application> by running the … … 237 222 </para> 238 223 239 240 <screen><userinput>sed -i '/MAN.*.EXT/s:.gz::g' \241 configure config-scripts/cups-manpages.m4 &&242 sed -i ' s:555:755:g;s:444:644:g' Makedefs.in&&224 <screen><userinput>sed -i 's:555:755:g;s:444:644:g' Makedefs.in && 225 sed -i '/MAN.*.EXT/s:.gz::g' \ 226 configure config-scripts/cups-manpages.m4 && 227 sed -i '/LIBGCRYPTCONFIG/d' config-scripts/cups-ssl.m4 && 243 228 244 229 aclocal -I config-scripts && 245 230 autoconf -I config-scripts && 246 231 247 CC=gcc \248 232 ./configure --libdir=/usr/lib \ 249 233 --disable-systemd \ 250 234 --with-rcdir=/tmp/cupsinit \ 251 235 --with-system-groups=lpadmin \ 252 --with-docdir=/usr/share/ doc/cups-&cups-version; &&236 --with-docdir=/usr/share/cups/doc-&cups-version; && 253 237 make</userinput></screen> 254 238 … … 268 252 <screen role="root"><userinput>make install && 269 253 rm -rf /tmp/cupsinit && 270 ln -svnf ../ doc/cups-&cups-version; /usr/share/cups/doc</userinput></screen>254 ln -svnf ../cups/doc-&cups-version; /usr/share/doc/cups-&cups-version;</userinput></screen> 271 255 272 256 <para> … … 303 287 304 288 <para> 305 <command>sed ... cups-manpages.m4</command>: In BLFS, uncompressed man306 pages are preferred.307 </para>308 309 <para>310 289 <command>sed ... Makedefs.in</command>: Fix files and directories 311 290 permissions. … … 313 292 314 293 <para> 315 <envar>CC=gcc</envar>: This environment variable ensures that gcc 316 is used if clang is installed. The build fails with the clang compiler. 294 <command>sed ... cups-manpages.m4</command>: This sed prevents 295 compression of the man pages by default. 296 </para> 297 298 <para> 299 <command>sed ... cups-ssl.m4</command>: Prevent 300 <command>configure</command> script from searching 301 <command>libgcrypt-config</command>, because 302 <application>libgcrypt</application> is not used anywere else in the 303 package. 317 304 </para> 318 305 … … 385 372 <application>Cups</application> developers. 386 373 </para> 374 375 </sect3> 376 377 <sect3> 378 <title>Linux PAM Configuration</title> 379 380 <para> 381 If <application>CUPS</application> has been built with 382 <application>Linux PAM</application> support, you need to create a 383 <application>PAM</application> configuration file, to get it working 384 correctly with BLFS. 385 </para> 386 387 <para> 388 Issue the following command as the <systemitem 389 class="username">root</systemitem> user to create the configuration 390 file for <application>Linux PAM</application>: 391 </para> 392 393 <screen><userinput>cat > /etc/pam.d/cups << "EOF" 394 <literal># Begin /etc/pam.d/cups 395 396 auth include system-auth 397 account include system-account 398 session include system-session 399 400 # End /etc/pam.d/cups</literal> 401 EOF</userinput></screen> 387 402 388 403 </sect3>
Note:
See TracChangeset
for help on using the changeset viewer.