Changeset 789


Ignore:
Timestamp:
Oct 10, 2010, 9:39:23 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

configure.cmd: Do not require to install the CUPS WPI, suggest ZIP instead.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/README.OS2

    r788 r789  
    6060      http://www.os2site.com/sw/util/archiver/lxlt133.zip
    6161
    62   - eCUPS 1.3.11 or later to support printing in Qt. The eCUPS WPI is available
    63     from:
    64 
    65       ftp://ftp.netlabs.org/incoming/eCUPS003.wpi   or
    66       ftp://ftp.netlabs.org/pub/ecups/eCUPS003.wpi
     62  - CUPS 1.3.11 or later to support printing in Qt. The CUPS libraries are
     63    available at:
     64
     65      http://download.smedley.info/cups-1.3.11-os2-20090807.zip
    6766
    6867    Linking against eCUPS also requires pthread.lib:
     
    7877      or
    7978
     79      http://bauxite.sakura.ne.jp/tmp/os2/openssl-1.0.0a-os2knix-20100706-runtime.zip
    8080      http://bauxite.sakura.ne.jp/tmp/os2/openssl-1.0.0a-os2knix-20100706-dev.zip
    81       http://bauxite.sakura.ne.jp/tmp/os2/openssl-1.0.0a-os2knix-20100706-runtime.zip
    8281
    8382
     
    157156that the Qt library depends on:
    158157
    159   - Install the eCUPS WPI archive to enable printing support. If this WPI is
    160     installed, the Qt build system will pick up all necessary libraries
    161     automatically. Otherwise (e.g. if you use a ZIP or build eCUPS yourself),
    162     you will need to use the following environment variables to tell it where to
    163     look for CUPS:
    164 
    165       set CUPS_INCLUDEPATH=X:\Path\to\CUPS\include
    166       set CUPS_LIBS=X:\Path\to\CUPS\lib\libcups.a
    167 
    168     You will also need to make sure that pthread.lib is placed somewhere in your
    169     system library path so that the compiler can find it.
     158  - Unzip the CUPS libraries to some directory and set the following environment
     159    variables to tell the Qt configure script its location:
     160
     161      set CUPS_INCLUDEPATH=X:\<path_to_CUPS>\include
     162      set CUPS_LIBS=-LX:\<path_to_CUPS>\lib -llibcups.a -L<path_to_pthread> -lpthread.lib
    170163
    171164  - Unzip the OpenSSL libraries to some directory and set the following
  • trunk/configure.cmd

    r788 r789  
    600600    G.CUPS_INCLUDEPATH = GetEnv('CUPS_INCLUDEPATH')
    601601    G.CUPS_LIBS = GetEnv('CUPS_LIBS')
    602     if (G.CUPS_INCLUDEPATH == '' & G.CUPS_LIBS == '') then do
    603         /* Check if eCUPS WPI is installed */
    604         call GetPkgVersionAndPath 'Peter Brown\CUPS\CUPS', 'G.CUPS'
    605         if (G.CUPS.version \== '') then
    606             call SayVerbose 'eCUPS version 'G.CUPS.version' is detected in "'G.CUPS.path'"'
    607         else
    608             call SayVerbose 'eCUPS is not found.'
    609         if (G.CUPS.version >= "1.3.11") then do
    610             G.CUPS.path = FixDirNoSlash(G.CUPS.path)'\cups';
    611             G.CUPS_INCLUDEPATH = G.CUPS.path'\include'
    612             G.CUPS_LIBS = '-L'G.CUPS.path'\lib libcups.a pthread.lib'
    613         end
    614         else
    615             call SayVerbose 'eCUPS version is not supported.'
    616         drop G.CUPS.
    617     end
    618602    if (G.CUPS_INCLUDEPATH \== '' & G.CUPS_LIBS \== '') then do
    619603        call SayVerbose 'CUPS include path : 'G.CUPS_INCLUDEPATH
Note: See TracChangeset for help on using the changeset viewer.