Ignore:
Timestamp:
05/18/2021 09:00:30 PM (2 months ago)
Author:
Thomas Trepl (Moody) <thomas@…>
Branches:
trunk
Children:
7246c35
Parents:
f8cde65
Message:

Use OpenPrinting CUPS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pst/printing/cups.xml

    rf8cde65 r3d16a42  
    55  %general-entities;
    66
    7   <!ENTITY cups-download-http "https://github.com/apple/cups/releases/download/v&cups-version;/cups-&cups-version;-source.tar.gz">
     7  <!ENTITY cups-download-http "https://github.com/OpenPrinting/cups/releases/download/v&cups-version;op2/cups-&cups-version;op2-source.tar.gz">
    88  <!ENTITY cups-download-ftp  " ">
    9   <!ENTITY cups-md5sum        "412434ceefbdf3ec71bc9188a035f589">
    10   <!ENTITY cups-size          "7.8 MB">
     9  <!ENTITY cups-md5sum        "524266752cf243c968921547b18ee594">
     10  <!ENTITY cups-size          "7.6 MB">
    1111  <!ENTITY cups-buildsize     "80 MB (Add 89 MB for tests)">
    1212  <!ENTITY cups-time          "0.5 SBU (Add 0.9 SBU for tests)">
     
    202202
    203203    <para>
     204      Remove an invalid warning option:
     205    </para>
     206
     207<screen><userinput>sed -e "s/-Wno-format-truncation//" \
     208    -i configure \
     209    -i config-scripts/cups-compiler.m4</userinput></screen>
     210
     211    <para>
    204212      Build <application>Cups</application> by running the following commands:
    205213    </para>
    206214
    207215
     216<!-- This seems to be no longer required with OpenPrinting-cups.
     217     Remove this comment when switch to OP is settled.
     218
    208219<screen revision="sysv"><userinput>sed -i '/stat.h/a #include &lt;asm-generic/ioctls.h&gt;' tools/ipptool.c  &amp;&amp;
    209220
    210221CC=gcc CXX=g++ \
    211 ./configure --libdir=/usr/lib            \
     222-->
     223<screen revision="sysv"><userinput>./configure --libdir=/usr/lib            \
    212224            --disable-systemd            \
    213225            --with-rcdir=/tmp/cupsinit   \
     
    216228make</userinput></screen>
    217229
     230<!-- same apply here:
     231
    218232<screen revision="systemd"><userinput>sed -i '/stat.h/a #include &lt;asm-generic/ioctls.h&gt;' tools/ipptool.c   &amp;&amp;
    219233
    220234CC=gcc CXX=g++ \
    221 ./configure --libdir=/usr/lib            \
     235-->
     236<screen revision="sysv"><userinput>./configure --libdir=/usr/lib            \
    222237            --with-rcdir=/tmp/cupsinit   \
    223238            --with-system-groups=lpadmin \
     
    228243      To test the results, issue: <command>LC_ALL=C make -k check</command>. An already
    229244      active graphical session with bus address is necessary to run the tests.
     245      Make sure that there is not other instance of <application>Cups</application>
     246      running, otherwise at least 4 tests will fail with "address in use".
    230247      <!--One test, <filename>httpAddrGetList</filename>, is known to fail.-->
    231248    </para>
     
    257274    <title>Command Explanations</title>
    258275
     276    <para>
     277      <command>sed ... configure</command>: This sed removes a compiler
     278      option which is no longer supported. Leaving this change out, the
     279      compilation will run thru but a warning about an invalid
     280      warning option will be emitted on every compiler invocation.
     281    </para>
     282<!--
    259283    <para>
    260284      <command>sed ... tools/ipptool.c</command>: This sed fixes a bug caused
     
    268292      Installed disk space is not appreciably modified.
    269293    </para>
    270 
     294-->
    271295    <para revision="sysv">
    272296      <parameter>--disable-systemd</parameter>: Systemd is not supported by
     
    421445           <!--accept,--> cancel, cupsaccept, <!--cupsaddsmb,--> cups-config,
    422446          cupsctl, cupsd, cupsdisable, cupsenable, cupsfilter, cupsreject,
    423           <!--cupstestdsc,--> cupstestppd, ippeveprinter, ippfind, ipptool, lp,
     447          <!--cupstestdsc,--> cupstestppd, ippeveprinter,<!-- ippfind--> ipptool, lp,
    424448          lpadmin, lpc, lpinfo, lpmove, lpoptions, lpq, lpr, lprm, lpstat, ppdc,
    425449          ppdhtml, ppdi, ppdmerge, and ppdpo <!--and reject-->
     
    620644        </listitem>
    621645      </varlistentry>
    622 
     646<!--
    623647      <varlistentry id="ippfind">
    624648        <term><command>ippfind</command></term>
     
    632656        </listitem>
    633657      </varlistentry>
    634 
     658-->
    635659      <varlistentry id="ipptool">
    636660        <term><command>ipptool</command></term>
Note: See TracChangeset for help on using the changeset viewer.