]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Do some cleanup of the pkg-config support.
authorMichael R Sweet <michael.r.sweet@gmail.com>
Wed, 10 Mar 2021 22:01:22 +0000 (17:01 -0500)
committerMichael R Sweet <msweet@msweet.org>
Thu, 11 Mar 2021 00:25:29 +0000 (19:25 -0500)
21 files changed:
config-scripts/cups-common.m4
config-scripts/cups-directories.m4
config-scripts/cups-dnssd.m4
config-scripts/cups-gssapi.m4
config-scripts/cups-tls.m4
configure
configure.ac
cups-config.in
cups.pc.in
doc/index.html.in
doc/ja/index.html.in
doc/pt_BR/index.html.in
doc/ru/index.html.in
templates/da/header.tmpl.in
templates/de/header.tmpl.in
templates/es/header.tmpl.in
templates/fr/header.tmpl.in
templates/header.tmpl.in
templates/ja/header.tmpl.in
templates/pt_BR/header.tmpl.in
templates/ru/header.tmpl.in

index 136b4908e05de36a1792d4f61db3478e268ec2d7..6fa769118dc17ef99b86e808bd2e3c15aeb1d1de 100644 (file)
@@ -14,18 +14,18 @@ AC_CONFIG_HEADERS([config.h])
 
 dnl Version number information...
 CUPS_VERSION="AC_PACKAGE_VERSION"
-CUPS_REVISION=""
+CUPS_API_VERSION="$(echo AC_PACKAGE_VERSION | awk -F. '{print $1 "." $2}')"
 CUPS_BUILD="cups-$CUPS_VERSION"
 
 AC_ARG_WITH([cups_build], AS_HELP_STRING([--with-cups-build], [set "pkg-config --variable=build" string]), [
     CUPS_BUILD="$withval"
 ])
 
-AC_SUBST([CUPS_VERSION])
-AC_SUBST([CUPS_REVISION])
+AC_SUBST([CUPS_API_VERSION])
 AC_SUBST([CUPS_BUILD])
-AC_DEFINE_UNQUOTED([CUPS_SVERSION], ["AC_PACKAGE_NAME v$CUPS_VERSION$CUPS_REVISION"], [Version number])
-AC_DEFINE_UNQUOTED([CUPS_MINIMAL], ["AC_PACKAGE_NAME/$CUPS_VERSION$CUPS_REVISION"], [Version for HTTP headers])
+AC_SUBST([CUPS_VERSION])
+AC_DEFINE_UNQUOTED([CUPS_SVERSION], ["AC_PACKAGE_NAME v$CUPS_VERSION"], [Version number])
+AC_DEFINE_UNQUOTED([CUPS_MINIMAL], ["AC_PACKAGE_NAME/$CUPS_VERSION"], [Version for HTTP headers])
 
 dnl Default compiler flags...
 CFLAGS="${CFLAGS:=}"
@@ -82,9 +82,13 @@ AC_SUBST([INSTALLSTATIC])
 
 dnl Check for pkg-config, which is used for some other tests later on...
 AC_PATH_TOOL([PKGCONFIG], [pkg-config])
-PKGCONFIG_REQUIRES=""
+PKGCONFIG_CFLAGS=""
 PKGCONFIG_LIBS=""
+PKGCONFIG_LIBS_STATIC=""
+PKGCONFIG_REQUIRES=""
+AC_SUBST([PKGCONFIG_CFLAGS])
 AC_SUBST([PKGCONFIG_LIBS])
+AC_SUBST([PKGCONFIG_LIBS_STATIC])
 AC_SUBST([PKGCONFIG_REQUIRES])
 
 dnl Check for libraries...
@@ -282,7 +286,7 @@ AC_CHECK_HEADER([zlib.h], [
 AC_SUBST([INSTALL_GZIP])
 AC_SUBST([LIBZ])
 
-PKGCONFIG_LIBS="$PKGCONFIG_LIBS $LIBZ"
+PKGCONFIG_LIBS_STATIC="$PKGCONFIG_LIBS_STATIC $LIBZ"
 
 dnl Flags for "ar" command...
 AS_CASE([host_os_name], [darwin* | *bsd*], [
@@ -360,6 +364,7 @@ AS_CASE([$host_os_name], [darwin*], [
     BACKLIBS="$BACKLIBS -framework IOKit"
     SERVERLIBS="$SERVERLIBS -framework IOKit -weak_framework ApplicationServices"
     LIBS="-framework CoreFoundation -framework Security $LIBS"
+    PKGCONFIG_LIBS_STATIC="$PKGCONFIG_LIBS_STATIC -framework CoreFoundation -framework Security"
 
     dnl Check for framework headers...
     AC_CHECK_HEADER([ApplicationServices/ApplicationServices.h], [
index 8957c73126e892e55eabf760c9013efb7576932a..2033d47faef2646bb74096c6f8bfb6e8bfd1144c 100644 (file)
@@ -62,6 +62,9 @@ dnl Fix "includedir" variable if it hasn't been specified...
 AS_IF([test "$includedir" = "\${prefix}/include" -a "$prefix" = "/"], [
     includedir="/usr/include"
 ])
+AS_IF([test "$includedir" != "/usr/include"], [
+    PKGCONFIG_CFLAGS="$PKGCONFIG_CFLAGS -I$includedir"
+])
 
 dnl Fix "localstatedir" variable if it hasn't been specified...
 AS_IF([test "$localstatedir" = "\${prefix}/var"], [
@@ -94,9 +97,18 @@ AS_IF([test "$libdir" = "\${exec_prefix}/lib"], [
     AS_CASE(["$host_os_name"], [linux*], [
        AS_IF([test -d /usr/lib64 -a ! -d /usr/lib64/fakeroot], [
            libdir="$exec_prefix/lib64"
+       ], [
+           libdir="$exec_prefix/lib"
        ])
+    ], [*], [
+       libdir="$exec_prefix/lib"
     ])
 ])
+AS_IF([test "$libdir" = "/usr/lib"], [
+    PKGCONFIG_LIBS="-lcups"
+], [
+    PKGCONFIG_LIBS="-L$libdir -lcups"
+])
 
 dnl Setup default locations...
 # Cache data...
index b874764e6c63a77a33e633b0cb85f330f85f9dec..861fc8493ad66a19979ac4cc1de93fa80ef6bfbf 100644 (file)
@@ -60,7 +60,7 @@ AS_IF([test $with_dnssd = yes -o $with_dnssd = mdnsresponder], [
                DNSSD_BACKEND="dnssd"
                IPPFIND_BIN="ippfind"
                IPPFIND_MAN="ippfind.1"
-               PKGCONFIG_LIBS="$PKGCONFIG_LIBS $DNSSDLIBS"
+               PKGCONFIG_LIBS_STATIC="$PKGCONFIG_LIBS_STATIC $DNSSDLIBS"
            ], [
                AC_MSG_RESULT([no])
                AS_IF([test $with_dnssd = mdnsresponder], [
@@ -72,7 +72,6 @@ AS_IF([test $with_dnssd = yes -o $with_dnssd = mdnsresponder], [
     ])
 ])
 
-PKGCONFIG_LIBS="$PKGCONFIG_LIBS $LIBS"
 dnl Then try Avahi...
 AS_IF([test $with_dnssd = avahi -o $with_dnssd = yes], [
     AS_IF([test "x$PKGCONFIG" = x], [
index 12af60520d42cd1d48ab658f605d6f2e57990674..888cd952653a694e03b065b43da2d0d8a716108e 100644 (file)
@@ -70,7 +70,7 @@ AS_IF([test x$enable_gssapi = xyes], [
 
     SAVELIBS="$LIBS"
     LIBS="$LIBS $LIBGSSAPI"
-       PKGCONFIG_LIBS="$PKGCONFIG_LIBS $LIBS"
+    PKGCONFIG_LIBS_STATIC="$PKGCONFIG_LIBS_STATIC $LIBGSSAPI"
        
     AC_CHECK_FUNC([__ApplePrivate_gss_acquire_cred_ex_f], [
        AC_DEFINE([HAVE_GSS_ACQUIRE_CRED_EX_F], [1], [Have __ApplePrivate_gss_acquire_cred_ex_f function?])
@@ -114,7 +114,6 @@ AS_IF([test x$enable_gssapi = xyes], [
 
     LIBS="$SAVELIBS"
 ])
-PKGCONFIG_LIBS="$PKGCONFIG_LIBS $LIBGSSAPI"
 
 dnl Default GSS service name...
 AC_ARG_WITH([gssservicename], AS_HELP_STRING([--with-gssservicename], [set default gss service name]), [
index b881a6fe144d51fd6d07f51afb9f149e4922af70..0d218a569fe100571d4d8b26128f8e27ea1e562a 100644 (file)
@@ -59,7 +59,7 @@ AS_IF([test $with_tls = yes -o $with_tls = gnutls], [
            with_tls="gnutls"
            TLSLIBS="$($PKGCONFIG --libs gnutls)"
            TLSFLAGS="$($PKGCONFIG --cflags gnutls)"
-               PKGCONFIG_REQUIRES="$PKGCONFIG_REQUIRES gnutls"
+           PKGCONFIG_REQUIRES="$PKGCONFIG_REQUIRES gnutls"
            AC_DEFINE([HAVE_TLS], [1], [Do we support TLS?])
            AC_DEFINE([HAVE_GNUTLS], [1], [Do we have the GNU TLS library?])
        ], [
@@ -71,7 +71,7 @@ AS_IF([test $with_tls = yes -o $with_tls = gnutls], [
        with_tls="gnutls"
        TLSLIBS="$($LIBGNUTLSCONFIG --libs)"
        TLSFLAGS="$($LIBGNUTLSCONFIG --cflags)"
-       PKGCONFIG_LIBS="$PKGCONFIG_LIBS $TLSLIBS"
+       PKGCONFIG_LIBS_STATIC="$PKGCONFIG_LIBS_STATIC $TLSLIBS"
        AC_DEFINE([HAVE_TLS], [1], [Do we support TLS?])
        AC_DEFINE([HAVE_GNUTLS], [1], [Do we have the GNU TLS library?])
     ])
index 20dd130197ff012bc6fd62ba0e4e80fc538e7f3c..6eead76e5c49781d2d41d1270d94a67a7fb6232b 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.70 for CUPS 2.4rc1.
+# Generated by GNU Autoconf 2.70 for CUPS 2.4.0.
 #
 # Report bugs to <https://github.com/openprinting/cups/issues>.
 #
@@ -609,8 +609,8 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='CUPS'
 PACKAGE_TARNAME='cups'
-PACKAGE_VERSION='2.4rc1'
-PACKAGE_STRING='CUPS 2.4rc1'
+PACKAGE_VERSION='2.4.0'
+PACKAGE_STRING='CUPS 2.4.0'
 PACKAGE_BUGREPORT='https://github.com/openprinting/cups/issues'
 PACKAGE_URL='https://openprinting.github.io/cups'
 
@@ -775,7 +775,9 @@ LIBUSB
 LIBPAPER
 LIBMALLOC
 PKGCONFIG_REQUIRES
+PKGCONFIG_LIBS_STATIC
 PKGCONFIG_LIBS
+PKGCONFIG_CFLAGS
 PKGCONFIG
 INSTALLSTATIC
 CUPS_HTMLVIEW
@@ -804,9 +806,9 @@ LDFLAGS
 CFLAGS
 CC
 AWK
-CUPS_BUILD
-CUPS_REVISION
 CUPS_VERSION
+CUPS_BUILD
+CUPS_API_VERSION
 CODE_SIGN
 LOCALTARGET
 host_os
@@ -903,6 +905,7 @@ with_dnssd_libs
 with_dnssd_includes
 enable_snapped_cupsd
 enable_snapped_clients
+with_our_snap_name
 with_snapctl
 with_cups_control_slot
 with_ondemand
@@ -1501,7 +1504,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures CUPS 2.4rc1 to adapt to many kinds of systems.
+\`configure' configures CUPS 2.4.0 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1567,7 +1570,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of CUPS 2.4rc1:";;
+     short | recursive ) echo "Configuration of CUPS 2.4.0:";;
    esac
   cat <<\_ACEOF
 
@@ -1638,12 +1641,14 @@ Optional Packages:
                           mdnsresponder, no, yes)
   --with-dnssd-libs       set directory for DNS Service Discovery library
   --with-dnssd-includes   set directory for DNS Service Discovery header files
+  --with-our-snap-name    Set name of the Snap we are snapped in, only needed
+                          with --enable-snapped-cupsd, default=cups
   --with-snapctl          Set path for snapctl, only needed with
                           --enable-snapped-cupsd, default=/usr/bin/snapctl
   --with-cups-control-slot
                           Name for cups-control slot as defined in
                           snapcraft.yaml, only needed with
-                          --enable-snapped-cupsd, default=admin
+                          --enable-snapped-cupsd, default=cups-control
   --with-ondemand=...     Specify the on-demand launch interface (launchd,
                           systemd, upstart)
   --with-systemd          set directory for systemd service files
@@ -1757,7 +1762,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-CUPS configure 2.4rc1
+CUPS configure 2.4.0
 generated by GNU Autoconf 2.70
 
 Copyright (C) 2020 Free Software Foundation, Inc.
@@ -2112,7 +2117,7 @@ cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by CUPS $as_me 2.4rc1, which was
+It was created by CUPS $as_me 2.4.0, which was
 generated by GNU Autoconf 2.70.  Invocation command line was
 
   $ $0$ac_configure_args_raw
@@ -3243,8 +3248,8 @@ done
 ac_config_headers="$ac_config_headers config.h"
 
 
-CUPS_VERSION="2.4rc1"
-CUPS_REVISION=""
+CUPS_VERSION="2.4.0"
+CUPS_API_VERSION="$(echo 2.4.0 | awk -F. '{print $1 "." $2}')"
 CUPS_BUILD="cups-$CUPS_VERSION"
 
 
@@ -3261,10 +3266,10 @@ fi
 
 
 
-printf "%s\n" "#define CUPS_SVERSION \"CUPS v$CUPS_VERSION$CUPS_REVISION\"" >>confdefs.h
+printf "%s\n" "#define CUPS_SVERSION \"CUPS v$CUPS_VERSION\"" >>confdefs.h
 
 
-printf "%s\n" "#define CUPS_MINIMAL \"CUPS/$CUPS_VERSION$CUPS_REVISION\"" >>confdefs.h
+printf "%s\n" "#define CUPS_MINIMAL \"CUPS/$CUPS_VERSION\"" >>confdefs.h
 
 
 CFLAGS="${CFLAGS:=}"
@@ -5589,8 +5594,12 @@ else
   PKGCONFIG="$ac_cv_path_PKGCONFIG"
 fi
 
-PKGCONFIG_REQUIRES=""
+PKGCONFIG_CFLAGS=""
 PKGCONFIG_LIBS=""
+PKGCONFIG_LIBS_STATIC=""
+PKGCONFIG_REQUIRES=""
+
+
 
 
 
@@ -6702,7 +6711,7 @@ fi
 
 
 
-PKGCONFIG_LIBS="$PKGCONFIG_LIBS $LIBZ"
+PKGCONFIG_LIBS_STATIC="$PKGCONFIG_LIBS_STATIC $LIBZ"
 
 case host_os_name in #(
   darwin* | *bsd*) :
@@ -6893,6 +6902,7 @@ case $host_os_name in #(
     BACKLIBS="$BACKLIBS -framework IOKit"
     SERVERLIBS="$SERVERLIBS -framework IOKit -weak_framework ApplicationServices"
     LIBS="-framework CoreFoundation -framework Security $LIBS"
+    PKGCONFIG_LIBS_STATIC="$PKGCONFIG_LIBS_STATIC -framework CoreFoundation -framework Security"
 
         ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
@@ -7241,6 +7251,12 @@ then :
 
     includedir="/usr/include"
 
+fi
+if test "$includedir" != "/usr/include"
+then :
+
+    PKGCONFIG_CFLAGS="$PKGCONFIG_CFLAGS -I$includedir"
+
 fi
 
 if test "$localstatedir" = "\${prefix}/var"
@@ -7304,12 +7320,30 @@ then :
 
            libdir="$exec_prefix/lib64"
 
+else $as_nop
+
+           libdir="$exec_prefix/lib"
+
 fi
      ;; #(
   *) :
+
+       libdir="$exec_prefix/lib"
+     ;; #(
+  *) :
      ;;
 esac
 
+fi
+if test "$libdir" = "/usr/lib"
+then :
+
+    PKGCONFIG_LIBS="-lcups"
+
+else $as_nop
+
+    PKGCONFIG_LIBS="-L$libdir -lcups"
+
 fi
 
 # Cache data...
@@ -9365,7 +9399,8 @@ fi
 
     SAVELIBS="$LIBS"
     LIBS="$LIBS $LIBGSSAPI"
-       PKGCONFIG_LIBS="$PKGCONFIG_LIBS $LIBS"
+    PKGCONFIG_LIBS_STATIC="$PKGCONFIG_LIBS_STATIC $LIBGSSAPI"
+
     ac_fn_c_check_func "$LINENO" "__ApplePrivate_gss_acquire_cred_ex_f" "ac_cv_func___ApplePrivate_gss_acquire_cred_ex_f"
 if test "x$ac_cv_func___ApplePrivate_gss_acquire_cred_ex_f" = xyes
 then :
@@ -9488,7 +9523,6 @@ fi
     LIBS="$SAVELIBS"
 
 fi
-PKGCONFIG_LIBS="$PKGCONFIG_LIBS $LIBGSSAPI"
 
 
 # Check whether --with-gssservicename was given.
@@ -9829,7 +9863,7 @@ printf "%s\n" "yes" >&6; }
            with_tls="gnutls"
            TLSLIBS="$($PKGCONFIG --libs gnutls)"
            TLSFLAGS="$($PKGCONFIG --cflags gnutls)"
-               PKGCONFIG_REQUIRES="$PKGCONFIG_REQUIRES gnutls"
+           PKGCONFIG_REQUIRES="$PKGCONFIG_REQUIRES gnutls"
 
 printf "%s\n" "#define HAVE_TLS 1" >>confdefs.h
 
@@ -9852,7 +9886,7 @@ then :
        with_tls="gnutls"
        TLSLIBS="$($LIBGNUTLSCONFIG --libs)"
        TLSFLAGS="$($LIBGNUTLSCONFIG --cflags)"
-       PKGCONFIG_LIBS="$PKGCONFIG_LIBS $TLSLIBS"
+       PKGCONFIG_LIBS_STATIC="$PKGCONFIG_LIBS_STATIC $TLSLIBS"
 
 printf "%s\n" "#define HAVE_TLS 1" >>confdefs.h
 
@@ -10663,7 +10697,7 @@ printf "%s\n" "#define HAVE_MDNSRESPONDER 1" >>confdefs.h
                DNSSD_BACKEND="dnssd"
                IPPFIND_BIN="ippfind"
                IPPFIND_MAN="ippfind.1"
-               PKGCONFIG_LIBS="$PKGCONFIG_LIBS $DNSSDLIBS"
+               PKGCONFIG_LIBS_STATIC="$PKGCONFIG_LIBS_STATIC $DNSSDLIBS"
 
 else $as_nop
 
@@ -10689,7 +10723,6 @@ fi
 
 fi
 
-PKGCONFIG_LIBS="$PKGCONFIG_LIBS $LIBS"
 if test $with_dnssd = avahi -o $with_dnssd = yes
 then :
 
@@ -10761,6 +10794,22 @@ then :
 fi
 
 
+# Check whether --with-our-snap-name was given.
+if test ${with_our_snap_name+y}
+then :
+  withval=$with_our_snap_name;
+    OUR_SNAP_NAME="$withval"
+
+else $as_nop
+
+    OUR_SNAP_NAME="cups"
+
+fi
+
+
+printf "%s\n" "#define OUR_SNAP_NAME \"$OUR_SNAP_NAME\"" >>confdefs.h
+
+
 # Check whether --with-snapctl was given.
 if test ${with_snapctl+y}
 then :
@@ -10785,7 +10834,7 @@ then :
 
 else $as_nop
 
-    CUPS_CONTROL_SLOT="admin"
+    CUPS_CONTROL_SLOT="cups-control"
 
 fi
 
@@ -12864,7 +12913,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by CUPS $as_me 2.4rc1, which was
+This file was extended by CUPS $as_me 2.4.0, which was
 generated by GNU Autoconf 2.70.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -12929,7 +12978,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config='$ac_cs_config_escaped'
 ac_cs_version="\\
-CUPS config.status 2.4rc1
+CUPS config.status 2.4.0
 configured by $0, generated by GNU Autoconf 2.70,
   with options \\"\$ac_cs_config\\"
 
index c696f41aab62f4aacaaa7bb2c4798f0671386893..65ecc0dada5e63b074fec23ec5496b41508c91a7 100644 (file)
@@ -13,7 +13,7 @@ dnl We need at least autoconf 2.60...
 AC_PREREQ([2.60])
 
 dnl Package name and version...
-AC_INIT([CUPS], [2.4rc1], [https://github.com/openprinting/cups/issues], [cups], [https://openprinting.github.io/cups])
+AC_INIT([CUPS], [2.4.0], [https://github.com/openprinting/cups/issues], [cups], [https://openprinting.github.io/cups])
 
 dnl This line is provided to ensure that you don't run the autoheader program
 dnl against this project.  Doing so is completely unsupported and WILL cause
index f6221b6d740a0618f1b24e35f1332d09a2c7813b..f4bbed325f4bebe1e43e4950af93fc36f3a38b7a 100755 (executable)
@@ -11,7 +11,7 @@
 #
 
 VERSION="@CUPS_VERSION@"
-APIVERSION="2.4"
+APIVERSION="@CUPS_API_VERSION@"
 BUILD="@CUPS_BUILD@"
 
 prefix=@prefix@
index 08cc17df5bff97f9ee3d9d945d4160f08fa3c282..217ff56feeb581f80ed02a207830b9c1c16b0b74 100644 (file)
@@ -1,36 +1,29 @@
-#cups pkg-config file
-
-
-VERSION="@CUPS_VERSION@"
-APIVERSION="2.3"
-BUILD="@CUPS_BUILD@"
+#
+# CUPS pkg-config file
+#
+# Copyright © 2021 by OpenPrinting.
+#
+# Licensed under Apache License v2.0.  See the file "LICENSE" for more
+# information.
+#
 
 prefix=@prefix@
 exec_prefix=@exec_prefix@
-bindir=@bindir@
 includedir=@includedir@
 libdir=@libdir@
-datarootdir=@datadir@
-#datadir=@datadir@
-sysconfdir=@sysconfdir@
+
+cups_api_version="@CUPS_API_VERSION@"
+cups_build="@CUPS_BUILD@"
 cups_datadir=@CUPS_DATADIR@
 cups_serverbin=@CUPS_SERVERBIN@
 cups_serverroot=@CUPS_SERVERROOT@
-INSTALLSTATIC=@INSTALLSTATIC@
-
-
-# flags for compiler and linker...
-CFLAGS=" -I${includedir}"
-LDFLAGS="@EXPORT_LDFLAGS@ -L${libdir}"
-Libs.private: @PKGCONFIG_LIBS@
-Name: "CUPS"
-Description: "CUPS API Library"
-Requires.private:@PKGCONFIG_REQUIRES@
-api_version=${APIVERSION}
-build=${BUILD}
-Cflags: ${CFLAGS}
-datadir= ${cups_datadir}
 
-Libs: @EXTLINKCUPS@
+Name: CUPS
+Description: CUPS API Library
+Version: @CUPS_VERSION@
+URL: https://openprinting.github.io/cups/
+Cflags: @PKGCONFIG_CFLAGS@
+Libs: @PKGCONFIG_LIBS@
 
-Version: ${VERSION}
\ No newline at end of file
+Requires.private: @PKGCONFIG_REQUIRES@
+Libs.private: @PKGCONFIG_LIBS_STATIC@
index 9c18e7e25f451aa3fd750211fa2f93a342987403..74a341006c932db718c190b5ba26583e7b4e7378 100644 (file)
@@ -7,12 +7,12 @@
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
     <meta http-equiv="X-UA-Compatible" content="IE=9">
     <meta name="viewport" content="width=device-width">
-    <title>Home - CUPS @CUPS_VERSION@@CUPS_REVISION@</title>
+    <title>Home - CUPS @CUPS_VERSION@</title>
   </head>
   <body>
     <div class="header">
       <ul>
-       <li><a href="http://www.cups.org/" target="_blank">CUPS.org</a></li>
+       <li><a href="https://openprinting.github.io/cups/" target="_blank">OpenPrinting CUPS</a></li>
        <li><a class="active" href="/">Home</a></li>
        <li><a href="/admin">Administration</a></li>
        <li><a href="/classes/">Classes</a></li>
     </div>
     <div class="body">
       <div class="row">
-       <h1>CUPS @CUPS_VERSION@</h1>
-       <p>CUPS is the standards-based, open source printing system developed by <a href="http://www.apple.com/">Apple Inc.</a> for macOS<sup>&reg;</sup> and other UNIX<sup>&reg;</sup>-like operating systems.</p>
+       <h1>OpenPrinting CUPS @CUPS_VERSION@</h1>
+       <p>The standards-based, open source printing system developed by <a class="jumbolink" href="https://openprinting.github.io/" target="_blank">OpenPrinting</a> for Linux® and other Unix®-like operating systems. CUPS uses <a href="https://www.pwg.org/ipp/everywhere.html" target="_blank">IPP Everywhere™</a> to support printing to local and network printers.</p>
       </div>
       <div class="row">
        <div class="thirds">
          <h2>CUPS for Users</h2>
          <p><a href="help/overview.html">Overview of CUPS</a></p>
          <p><a href="help/options.html">Command-Line Printing and Options</a></p>
-         <p><a href="http://www.cups.org/lists.php?LIST=cups">User Forum</a></p>
        </div>
        <div class="thirds">
          <h2>CUPS for Administrators</h2>
          <h2>CUPS for Developers</h2>
          <p><a href="help/cupspm.html">CUPS Programming Manual</a></p>
          <p><a href="help/api-filter.html">Filter and Backend Programming</a></p>
-         <p><a href="http://www.cups.org/lists.php?LIST=cups-devel">Developer Forum</a></p>
        </div>
       </div>
     </div>
-    <div class="footer">CUPS and the CUPS logo are trademarks of <a href="http://www.apple.com">Apple Inc.</a> Copyright &copy; 2007-2019 Apple Inc. All rights reserved.</div>
+    <div class="footer">Copyright &copy; 2021 OpenPrinting. All rights reserved.</div>
   </body>
 </html>
index 2e8990e663108e6e576089ddd24f06aba388ac0d..113d3d9c617386ace03d348faf681586e03db33d 100644 (file)
@@ -7,12 +7,12 @@
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
     <meta http-equiv="X-UA-Compatible" content="IE=9">
     <meta name="viewport" content="width=device-width">
-    <title>ホーム - CUPS @CUPS_VERSION@@CUPS_REVISION@</title>
+    <title>ホーム - CUPS @CUPS_VERSION@</title>
   </head>
   <body>
     <div class="header">
       <ul>
-       <li><a href="http://www.cups.org/" target="_blank">CUPS.org</a></li>
+       <li><a href="https://openprinting.github.io/cups/" target="_blank">OpenPrinting CUPS</a></li>
        <li><a class="active" href="/">ホーム</a></li>
        <li><a href="/admin">管理</a></li>
        <li><a href="/classes/">クラス</a></li>
@@ -31,7 +31,6 @@
          <h2>CUPS ユーザー向け</h2>
          <p><a href="help/overview.html">CUPS の概要</a></p>
          <p><a href="help/options.html">コマンドラインからの印刷とオプション</a></p>
-         <p><a href="http://www.cups.org/lists.php?LIST=cups">ユーザーフォーラム</a></p>
        </div>
        <div class="thirds">
          <h2>CUPS 管理者向け</h2>
          <h2>CUPS 開発者向け</h2>
          <p><a href="help/cupspm.html">CUPS Programming Manual</a></p>
          <p><a href="help/api-filter.html">フィルタとバックエンドのプログラミング</a></p>
-         <p><a href="http://www.cups.org/lists.php?LIST=cups-devel">開発者フォーラム</a></p>
        </div>
       </div>
     </div>
-    <div class="footer">CUPS and the CUPS logo are trademarks of <a href="http://www.apple.com">Apple Inc.</a> Copyright &copy; 2007-2019 Apple Inc. All rights reserved.</div>
+    <div class="footer">CUPS and the CUPS logo are trademarks of <a href="http://www.apple.com">Apple Inc.</a> Copyright &copy; 2021 OpenPrinting. All rights reserved.</div>
   </body>
 </html>
index 1a99dbe94972f55a4f11d74c2b89335558b88265..001b87c0d58ac567f736babc85f4e2c6a587a88b 100644 (file)
@@ -7,12 +7,12 @@
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
     <meta http-equiv="X-UA-Compatible" content="IE=9">
     <meta name="viewport" content="width=device-width">
-    <title>In&iacute;cio - CUPS @CUPS_VERSION@@CUPS_REVISION@</title>
+    <title>In&iacute;cio - CUPS @CUPS_VERSION@</title>
   </head>
   <body>
     <div class="header">
       <ul>
-       <li><a href="http://www.cups.org/" target="_blank">CUPS.org</a></li>
+       <li><a href="https://openprinting.github.io/cups/" target="_blank">OpenPrinting CUPS</a></li>
        <li><a class="active" href="/">In&iacute;cio</a></li>
        <li><a href="/admin">Administração</a></li>
        <li><a href="/classes/">Classes</a></li>
@@ -31,7 +31,6 @@
          <h2>CUPS para usu&aacute;rios</h2>
          <p><a href="help/overview.html">Vis&atilde;o geral do CUPS</a></p>
          <p><a href="help/options.html">Impress&atilde;o e op&ccedil;&otilde;es em linha de comando</a></p>
-         <p><a href="http://www.cups.org/lists.php?LIST=cups">F&oacute;rum de usu&aacute;rios</a></p>
        </div>
        <div class="thirds">
          <h2>CUPS para administradores</h2>
          <h2>CUPS para desenvolvedores</h2>
          <p><a href="help/cupspm.html">CUPS Programming Manual</a></p>
          <p><a href="help/api-filter.html">Programa&ccedil;&atilde;o de filtros e backend</a></p>
-         <p><a href="http://www.cups.org/lists.php?LIST=cups-devel">F&oacute;rum de desenvolvedores</a></p>
        </div>
       </div>
     </div>
-    <div class="footer">CUPS e o logo do CUPS s&atilde;o marcas registradas da <a href="http://www.apple.com">Apple Inc.</a> Copyright &copy; 2007-2019 Apple Inc. Todos os direitos reservados.</div>
+    <div class="footer">CUPS e o logo do CUPS s&atilde;o marcas registradas da <a href="http://www.apple.com">Apple Inc.</a> Copyright &copy; 2021 OpenPrinting. Todos os direitos reservados.</div>
   </body>
 </html>
index f5b6f0fbf4d38c54722ac02ee261694c5b948888..f38773def8421270d8cf40b8b5d9bf7aef0fbfd4 100644 (file)
@@ -7,12 +7,12 @@
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
     <meta http-equiv="X-UA-Compatible" content="IE=9">
     <meta name="viewport" content="width=device-width">
-       <title>Home - CUPS @CUPS_VERSION@@CUPS_REVISION@</title>
+       <title>Home - CUPS @CUPS_VERSION@</title>
   </head>
   <body>
     <div class="header">
       <ul>
-       <li><a href="http://www.cups.org/" target="_blank">CUPS.org</a></li>
+       <li><a href="https://openprinting.github.io/cups/" target="_blank">OpenPrinting CUPS</a></li>
        <li><a class="active" href="/">Начало</a></li>
        <li><a href="/admin">Администрирование</a></li>
        <li><a href="/classes/">Группы</a></li>
@@ -31,7 +31,6 @@
          <H2>CUPS для пользователей</H2>
          <P><A HREF="help/overview.html">Введение в CUPS</A></P>
          <P><A HREF="help/options.html">Печать из командной строки</A></P>
-         <P><A HREF="http://www.cups.org/lists.php?LIST=cups">Форум пользователей</A></P>
        </div>
        <div class="thirds">
          <H2>CUPS для администраторов</H2>
          <H2>CUPS для разработчиков</H2>
          <p><a href="help/cupspm.html">CUPS Programming Manual</a></p>
          <P><A HREF="help/api-filter.html">Разработка фильтров и модулей</A></P>
-         <P><A HREF="http://www.cups.org/lists.php?LIST=cups-devel">Форум разработчиков</A></P>
 </div>
       </div>
     </div>
-    <div class="footer">CUPS а также логотип CUPS являются зарегистрированными торговыми марками <A HREF="http://www.apple.com">Apple Inc.</A> Авторские права на CUPS принадлежат (2007-2019) компании Apple Inc. Все права защищены.</div>
+    <div class="footer">CUPS а также логотип CUPS являются зарегистрированными торговыми марками <A HREF="http://www.apple.com">Apple Inc.</A> Авторские права на CUPS принадлежат (2921) компании OpenPrinting Все права защищены.</div>
   </body>
 </html>
index d4a9367e7e95f6ab78ec9d0f4505339fc89039c3..6af89c25a8db85e8992feb91c38e03fcb186b856 100644 (file)
        }
       }
     --></SCRIPT>
-    <title>{title} - CUPS @CUPS_VERSION@@CUPS_REVISION@</title>
+    <title>{title} - CUPS @CUPS_VERSION@</title>
   </head>
   <body onload="check_cookies();">
     <div class="header">
       <ul>
-       <li><a href="https://openprinting.github.io/cups/" target="_blank">CUPS.org</a></li>
+       <li><a href="https://openprinting.github.io/cups/" target="_blank">OpenPrinting CUPS</a></li>
        <li><a href="/">Hjem</a></li>
        <li><a {SECTION=admin?class="active" :}href="/admin">Administration</a></li>
        <li><a {SECTION=classes?class="active" :}href="/classes/">Klasser</a></li>
index ac459c7aabeb25e3fb193969235b0543a3149d84..1a42e4fe701b2e740fdc62a6f707b441f7f682f3 100644 (file)
        }
       }
     --></SCRIPT>
-    <title>{title} - CUPS @CUPS_VERSION@@CUPS_REVISION@</title>
+    <title>{title} - CUPS @CUPS_VERSION@</title>
   </head>
   <body onload="check_cookies();">
     <div class="header">
       <ul>
-       <li><a href="https://openprinting.github.io/cups/" target="_blank">CUPS.org</a></li>
+       <li><a href="https://openprinting.github.io/cups/" target="_blank">OpenPrinting CUPS</a></li>
        <li><a href="/">Startseite</a></li>
        <li><a {SECTION=admin?class="active" :}href="/admin">Verwaltung</a></li>
        <li><a {SECTION=classes?class="active" :}href="/classes/">Klassen</a></li>
index edc0bac412712701748da01d9773cd5b9514ee8d..01a78743b5b3b0369dce78001509d60d50ce4709 100644 (file)
        }
       }
     --></SCRIPT>
-    <title>{title} - CUPS @CUPS_VERSION@@CUPS_REVISION@</title>
+    <title>{title} - CUPS @CUPS_VERSION@</title>
   </head>
   <body onload="check_cookies();">
     <div class="header">
       <ul>
-       <li><a href="https://openprinting.github.io/cups/" target="_blank">CUPS.org</a></li>
+       <li><a href="https://openprinting.github.io/cups/" target="_blank">OpenPrinting CUPS</a></li>
        <li><a href="/">Inicio</a></li>
        <li><a {SECTION=admin?class="active" :}href="/admin">Administraci&oacute;n</a></li>
        <li><a {SECTION=classes?class="active" :}href="/classes/">Clases</a></li>
index d483f3ef6cd55ce45f94333d5e0c655124d622fb..e3aa316110e403902433cd17183d5aeaf66b3b08 100644 (file)
        }
       }
     --></SCRIPT>
-    <title>{title} - CUPS @CUPS_VERSION@@CUPS_REVISION@</title>
+    <title>{title} - CUPS @CUPS_VERSION@</title>
   </head>
   <body onload="check_cookies();">
     <div class="header">
       <ul>
-       <li><a href="https://openprinting.github.io/cups/" target="_blank">CUPS.org</a></li>
+       <li><a href="https://openprinting.github.io/cups/" target="_blank">OpenPrinting CUPS</a></li>
        <li><a href="/">Home</a></li>
        <li><a {SECTION=admin?class="active" :}href="/admin">Administration</a></li>
        <li><a {SECTION=classes?class="active" :}href="/classes/">Classes</a></li>
index 6a377430f227d5cab17c3a60ce5a38888cffdd58..764b99edafdcc829de9c041adf292c575de82d64 100644 (file)
        }
       }
     --></SCRIPT>
-    <title>{title} - CUPS @CUPS_VERSION@@CUPS_REVISION@</title>
+    <title>{title} - CUPS @CUPS_VERSION@</title>
   </head>
   <body onload="check_cookies();">
     <div class="header">
       <ul>
-       <li><a href="https://openprinting.github.io/cups/" target="_blank">CUPS.org</a></li>
+       <li><a href="https://openprinting.github.io/cups/" target="_blank">OpenPrinting CUPS</a></li>
        <li><a href="/">Home</a></li>
        <li><a {SECTION=admin?class="active" :}href="/admin">Administration</a></li>
        <li><a {SECTION=classes?class="active" :}href="/classes/">Classes</a></li>
index 583bec21f6e87e90355508b3b5cab9a0edcb1f9c..10dbd578e7a9d4971c4e1b873ed4d061e411fb47 100644 (file)
        }
       }
     --></SCRIPT>
-    <title>{title} - CUPS @CUPS_VERSION@@CUPS_REVISION@</title>
+    <title>{title} - CUPS @CUPS_VERSION@</title>
   </head>
   <body onload="check_cookies();">
     <div class="header">
       <ul>
-       <li><a href="https://openprinting.github.io/cups/" target="_blank">CUPS.org</a></li>
+       <li><a href="https://openprinting.github.io/cups/" target="_blank">OpenPrinting CUPS</a></li>
        <li><a href="/">ホーム</a></li>
        <li><a {SECTION=admin?class="active" :}href="/admin">管理</a></li>
        <li><a {SECTION=classes?class="active" :}href="/classes/">クラス</a></li>
index 2b00a64b5385fe1610936a0a0ff19609d91b2457..d6fdf8a09308a3d1f61b33253f930b5049006f47 100644 (file)
        }
       }
     --></SCRIPT>
-    <title>{title} - CUPS @CUPS_VERSION@@CUPS_REVISION@</title>
+    <title>{title} - CUPS @CUPS_VERSION@</title>
   </head>
   <body onload="check_cookies();">
     <div class="header">
       <ul>
-       <li><a href="https://openprinting.github.io/cups/" target="_blank">CUPS.org</a></li>
+       <li><a href="https://openprinting.github.io/cups/" target="_blank">OpenPrinting CUPS</a></li>
        <li><a href="/">In&iacute;cio</a></li>
        <li><a {SECTION=admin?class="active" :}href="/admin">Administração</a></li>
        <li><a {SECTION=classes?class="active" :}href="/classes/">Classes</a></li>
index 35f026c6842054a17a281596e424a171134d12a0..8d9d3abbb756fe5d449fe50f9dbc2d4b92703494 100644 (file)
        }
       }
     --></SCRIPT>
-    <title>{title} - CUPS @CUPS_VERSION@@CUPS_REVISION@</title>
+    <title>{title} - CUPS @CUPS_VERSION@</title>
   </head>
   <body onload="check_cookies();">
     <div class="header">
       <ul>
-       <li><a href="https://openprinting.github.io/cups/" target="_blank">CUPS.org</a></li>
+       <li><a href="https://openprinting.github.io/cups/" target="_blank">OpenPrinting CUPS</a></li>
        <li><a href="/">Начало</a></li>
        <li><a {SECTION=admin?class="active" :}href="/admin">Администрирование</a></li>
        <li><a {SECTION=classes?class="active" :}href="/classes/">Группы</a></li>