Fix Cups-2.2.4 failure to find printers when no default printer is defined

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@18963 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Pierre Labastie 2017-07-30 09:46:53 +00:00
parent 3d0c0f83fa
commit 8f26838f3a
3 changed files with 27 additions and 8 deletions

View File

@ -1,12 +1,12 @@
<!-- $LastChangedBy$ $Date$ -->
<!ENTITY day "29"> <!-- Always 2 digits -->
<!ENTITY day "30"> <!-- Always 2 digits -->
<!ENTITY month "07"> <!-- Always 2 digits -->
<!ENTITY year "2017">
<!ENTITY copyrightdate "2001-&year;">
<!ENTITY copyholder "The BLFS Development Team">
<!ENTITY version "&year;-&month;-&day;">
<!ENTITY releasedate "July 29th &year;">
<!ENTITY releasedate "July 30 &year;">
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
<!ENTITY lfs-version "development"> <!-- x.y|development -->

View File

@ -42,6 +42,17 @@
</listitem>
-->
<listitem>
<para>July 30th, 2017</para>
<itemizedlist>
<listitem>
<para>[pierre] - Fix Cups-2.2.4 failure to find printers when
no default printer is defined. Fixes
<ulink url="&blfs-ticket-root;9471">#9471</ulink>.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>July 29th, 2017</para>
<itemizedlist>

View File

@ -203,6 +203,12 @@
choice.
</para>
<!-- Remove for cups-2.2.5 -->
<para>
Fix a regression in CUPS-2.2.4:
</para>
<screen><userinput>sed -i '2062,2069d' cups/dest.c</userinput></screen>
<!-- This does not appear to be needed any more, but leaving it in as
a comment for right now. - bdubbs 2017-04-07
@ -217,11 +223,7 @@
<!-- docdir is also document root for cups administration interface, so
let's just put it in /usr/share/cups/doc-&cups-version; and create symlink
in /usr/share/doc/cups-&cups-version;
When not using libdir switch, CUPS will install libraries into /usr/lib64
on a 64 bit system, and since /usr/lib64 is symlink to /usr/lib it might
introduce some difficulties with packaging -->
in /usr/share/doc/cups-&cups-version;-->
<para>
Build <application>Cups</application> by running the following commands:
@ -292,14 +294,20 @@ ln -svnf ../cups/doc-&cups-version; /usr/share/doc/cups-&cups-version;</userinpu
<sect2 role="commands">
<title>Command Explanations</title>
<!-- See comment about this above
<para>
<!-- hopefully, 2.2.2 only - https://github.com/apple/cups/issues/4947 -->
<command>sed -i '/kerberized/,$ d' conf/cupsd.conf.in</command>: when this
version of <application>cups</application> is compiled without kerberos
support, it nevertheless adds a policy entry at the end of
<filename>/etc/cups/cupsd.conf</filename>. But the daemon will error out
because it does not understand that entry, so remove it.
</para>
-->
<!-- Remove for cups-2.2.5 -->
<para>
<command>sed ... cups/dest.c</command>: Fix a regression in cups-2.2.4,
which prevents finding printers when no default printer is defined.
</para>
<para>
<command>sed ... Makedefs.in</command>: Fix files and directories