Skip to content

Commit b8e942e

Browse files
committed
Bump version to 2.4.13.
Drop macOS language bundle support since they don't match CUPS 2.4.x strings.
1 parent e97dc8e commit b8e942e

19 files changed

Lines changed: 52 additions & 674 deletions

Makedefs.in

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# Common makefile definitions for CUPS.
33
#
4-
# Copyright © 2020-2024 by OpenPrinting.
4+
# Copyright © 2020-2025 by OpenPrinting.
55
# Copyright © 2007-2019 by Apple Inc.
66
# Copyright © 1997-2007 by Easy Software Products, all rights reserved.
77
#
@@ -77,8 +77,6 @@ CUPS_LOG_FILE_PERM = @CUPS_LOG_FILE_PERM@
7777
#
7878

7979
LANGUAGES = @LANGUAGES@
80-
INSTALL_LANGUAGES = @INSTALL_LANGUAGES@
81-
UNINSTALL_LANGUAGES = @UNINSTALL_LANGUAGES@
8280

8381
#
8482
# Cross-compilation support: "local" target is used for any tools that are
@@ -223,7 +221,6 @@ top_srcdir = @top_srcdir@
223221
BUILDROOT = $(DSTROOT)$(DESTDIR)
224222

225223
BINDIR = $(BUILDROOT)@bindir@
226-
BUNDLEDIR = @CUPS_BUNDLEDIR@
227224
CACHEDIR = $(BUILDROOT)@CUPS_CACHEDIR@
228225
DATADIR = $(BUILDROOT)@CUPS_DATADIR@
229226
DOCDIR = $(BUILDROOT)@CUPS_DOCROOT@
@@ -239,7 +236,6 @@ RCLEVELS = @RCLEVELS@
239236
RCSTART = @RCSTART@
240237
RCSTOP = @RCSTOP@
241238
REQUESTS = $(BUILDROOT)@CUPS_REQUESTS@
242-
RESOURCEDIR = @CUPS_RESOURCEDIR@
243239
SBINDIR = $(BUILDROOT)@sbindir@
244240
SERVERBIN = $(BUILDROOT)@CUPS_SERVERBIN@
245241
SERVERROOT = $(BUILDROOT)@CUPS_SERVERROOT@

config-scripts/cups-defaults.m4

Lines changed: 1 addition & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
dnl
22
dnl Default cupsd configuration settings for CUPS.
33
dnl
4-
dnl Copyright © 2020-2024 by OpenPrinting.
4+
dnl Copyright © 2020-2025 by OpenPrinting.
55
dnl Copyright © 2007-2018 by Apple Inc.
66
dnl Copyright © 2006-2007 by Easy Software Products, all rights reserved.
77
dnl
@@ -25,40 +25,6 @@ AC_ARG_WITH([languages], AS_HELP_STRING([--with-languages], [set installed langu
2525
])
2626
AC_SUBST([LANGUAGES])
2727

28-
dnl macOS bundle-based localization support
29-
AC_ARG_WITH([bundledir], AS_HELP_STRING([--with-bundledir], [set localization bundle directory]), [
30-
CUPS_BUNDLEDIR="$withval"
31-
], [
32-
AS_IF([test "x$host_os_name" = xdarwin -a $host_os_version -ge 100], [
33-
CUPS_BUNDLEDIR="/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A"
34-
LANGUAGES=""
35-
], [
36-
CUPS_BUNDLEDIR=""
37-
])
38-
])
39-
40-
AC_SUBST([CUPS_BUNDLEDIR])
41-
AS_IF([test "x$CUPS_BUNDLEDIR" != x], [
42-
AC_DEFINE_UNQUOTED([CUPS_BUNDLEDIR], ["$CUPS_BUNDLEDIR"], [macOS bundle directory.])
43-
])
44-
45-
AC_ARG_WITH([bundlelang], AS_HELP_STRING([--with-bundlelang], [set localization bundle base language (English or en)]), [
46-
cups_bundlelang="$withval"
47-
], [
48-
AS_IF([test $host_os_version -ge 190], [
49-
cups_bundlelang="en"
50-
], [
51-
cups_bundlelang="English"
52-
])
53-
])
54-
55-
AS_IF([test "x$cups_bundlelang" != x -a "x$CUPS_BUNDLEDIR" != x], [
56-
CUPS_RESOURCEDIR="$CUPS_BUNDLEDIR/Resources/$cups_bundlelang.lproj"
57-
], [
58-
CUPS_RESOURCEDIR=""
59-
])
60-
AC_SUBST([CUPS_RESOURCEDIR])
61-
6228
dnl Default executable file permissions
6329
AC_ARG_WITH([exe_file_perm], AS_HELP_STRING([--with-exe-file-perm], [set default executable permissions value, default=0755]), [
6430
CUPS_EXE_FILE_PERM="$withval"

config.h.in

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -659,13 +659,6 @@
659659
#undef HAVE_SYS_VFS_H
660660

661661

662-
/*
663-
* Location of macOS localization bundle, if any.
664-
*/
665-
666-
#undef CUPS_BUNDLEDIR
667-
668-
669662
/*
670663
* Do we have XPC?
671664
*/

configure

Lines changed: 11 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/sh
22
# Guess values for system-dependent variables and create Makefiles.
3-
# Generated by GNU Autoconf 2.71 for CUPS 2.4.12.
3+
# Generated by GNU Autoconf 2.71 for CUPS 2.4.13.
44
#
55
# Report bugs to <https://github.com/openprinting/cups/issues>.
66
#
@@ -610,8 +610,8 @@ MAKEFLAGS=
610610
# Identity of this package.
611611
PACKAGE_NAME='CUPS'
612612
PACKAGE_TARNAME='cups'
613-
PACKAGE_VERSION='2.4.12'
614-
PACKAGE_STRING='CUPS 2.4.12'
613+
PACKAGE_VERSION='2.4.13'
614+
PACKAGE_STRING='CUPS 2.4.13'
615615
PACKAGE_BUGREPORT='https://github.com/openprinting/cups/issues'
616616
PACKAGE_URL='https://openprinting.github.io/cups'
617617

@@ -650,8 +650,6 @@ ac_header_c_list=
650650
ac_default_prefix=/
651651
ac_subst_vars='LTLIBOBJS
652652
LIBOBJS
653-
UNINSTALL_LANGUAGES
654-
INSTALL_LANGUAGES
655653
TIMEOUTSTARTSEC
656654
EXIT_TIMEOUT
657655
SYSTEMD_WANTED_BY
@@ -680,8 +678,6 @@ CUPS_LOG_FILE_PERM
680678
CUPS_CUPSD_FILE_PERM
681679
CUPS_CONFIG_FILE_PERM
682680
CUPS_EXE_FILE_PERM
683-
CUPS_RESOURCEDIR
684-
CUPS_BUNDLEDIR
685681
LANGUAGES
686682
XINETD
687683
RCSTOP
@@ -915,8 +911,6 @@ with_rcstart
915911
with_rcstop
916912
with_xinetd
917913
with_languages
918-
with_bundledir
919-
with_bundlelang
920914
with_exe_file_perm
921915
with_config_file_perm
922916
with_cupsd_file_perm
@@ -1504,7 +1498,7 @@ if test "$ac_init_help" = "long"; then
15041498
# Omit some internal or obsolete options to make the list less imposing.
15051499
# This message is too long to be a string in the A/UX 3.1 sh.
15061500
cat <<_ACEOF
1507-
\`configure' configures CUPS 2.4.12 to adapt to many kinds of systems.
1501+
\`configure' configures CUPS 2.4.13 to adapt to many kinds of systems.
15081502
15091503
Usage: $0 [OPTION]... [VAR=VALUE]...
15101504
@@ -1570,7 +1564,7 @@ fi
15701564

15711565
if test -n "$ac_init_help"; then
15721566
case $ac_init_help in
1573-
short | recursive ) echo "Configuration of CUPS 2.4.12:";;
1567+
short | recursive ) echo "Configuration of CUPS 2.4.13:";;
15741568
esac
15751569
cat <<\_ACEOF
15761570
@@ -1649,9 +1643,6 @@ Optional Packages:
16491643
--with-rcstop set stop number for rc scripts
16501644
--with-xinetd set path for xinetd config files
16511645
--with-languages set installed languages, default=all
1652-
--with-bundledir set localization bundle directory
1653-
--with-bundlelang set localization bundle base language (English or
1654-
en)
16551646
--with-exe-file-perm set default executable permissions value,
16561647
default=0755
16571648
--with-config-file-perm set default ConfigFilePerm value, default=0640
@@ -1758,7 +1749,7 @@ fi
17581749
test -n "$ac_init_help" && exit $ac_status
17591750
if $ac_init_version; then
17601751
cat <<\_ACEOF
1761-
CUPS configure 2.4.12
1752+
CUPS configure 2.4.13
17621753
generated by GNU Autoconf 2.71
17631754
17641755
Copyright (C) 2021 Free Software Foundation, Inc.
@@ -2113,7 +2104,7 @@ cat >config.log <<_ACEOF
21132104
This file contains any messages produced by compilers while
21142105
running configure, to aid debugging if configure makes a mistake.
21152106
2116-
It was created by CUPS $as_me 2.4.12, which was
2107+
It was created by CUPS $as_me 2.4.13, which was
21172108
generated by GNU Autoconf 2.71. Invocation command line was
21182109
21192110
$ $0$ac_configure_args_raw
@@ -3244,8 +3235,8 @@ done
32443235
ac_config_headers="$ac_config_headers config.h"
32453236

32463237

3247-
CUPS_VERSION="2.4.12"
3248-
CUPS_API_VERSION="$(echo 2.4.12 | awk -F. '{print $1 "." $2}')"
3238+
CUPS_VERSION="2.4.13"
3239+
CUPS_API_VERSION="$(echo 2.4.13 | awk -F. '{print $1 "." $2}')"
32493240
CUPS_BUILD="cups-$CUPS_VERSION"
32503241

32513242

@@ -11522,75 +11513,6 @@ fi
1152211513

1152311514

1152411515

11525-
# Check whether --with-bundledir was given.
11526-
if test ${with_bundledir+y}
11527-
then :
11528-
withval=$with_bundledir;
11529-
CUPS_BUNDLEDIR="$withval"
11530-
11531-
else $as_nop
11532-
11533-
if test "x$host_os_name" = xdarwin -a $host_os_version -ge 100
11534-
then :
11535-
11536-
CUPS_BUNDLEDIR="/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A"
11537-
LANGUAGES=""
11538-
11539-
else $as_nop
11540-
11541-
CUPS_BUNDLEDIR=""
11542-
11543-
fi
11544-
11545-
fi
11546-
11547-
11548-
11549-
if test "x$CUPS_BUNDLEDIR" != x
11550-
then :
11551-
11552-
11553-
printf "%s\n" "#define CUPS_BUNDLEDIR \"$CUPS_BUNDLEDIR\"" >>confdefs.h
11554-
11555-
11556-
fi
11557-
11558-
11559-
# Check whether --with-bundlelang was given.
11560-
if test ${with_bundlelang+y}
11561-
then :
11562-
withval=$with_bundlelang;
11563-
cups_bundlelang="$withval"
11564-
11565-
else $as_nop
11566-
11567-
if test $host_os_version -ge 190
11568-
then :
11569-
11570-
cups_bundlelang="en"
11571-
11572-
else $as_nop
11573-
11574-
cups_bundlelang="English"
11575-
11576-
fi
11577-
11578-
fi
11579-
11580-
11581-
if test "x$cups_bundlelang" != x -a "x$CUPS_BUNDLEDIR" != x
11582-
then :
11583-
11584-
CUPS_RESOURCEDIR="$CUPS_BUNDLEDIR/Resources/$cups_bundlelang.lproj"
11585-
11586-
else $as_nop
11587-
11588-
CUPS_RESOURCEDIR=""
11589-
11590-
fi
11591-
11592-
11593-
1159411516
# Check whether --with-exe_file_perm was given.
1159511517
if test ${with_exe_file_perm+y}
1159611518
then :
@@ -12369,14 +12291,10 @@ fi
1236912291

1237012292

1237112293

12372-
INSTALL_LANGUAGES=""
12373-
UNINSTALL_LANGUAGES=""
1237412294
LANGFILES=""
1237512295
if test "x$LANGUAGES" != x
1237612296
then :
1237712297

12378-
INSTALL_LANGUAGES="install-languages"
12379-
UNINSTALL_LANGUAGES="uninstall-languages"
1238012298
for lang in $LANGUAGES; do
1238112299
if test -f doc/$lang/index.html.in
1238212300
then :
@@ -12393,17 +12311,8 @@ then :
1239312311
fi
1239412312
done
1239512313

12396-
elif test "x$CUPS_BUNDLEDIR" != x
12397-
then :
12398-
12399-
INSTALL_LANGUAGES="install-langbundle"
12400-
UNINSTALL_LANGUAGES="uninstall-langbundle"
12401-
1240212314
fi
1240312315

12404-
12405-
12406-
1240712316
ac_config_files="$ac_config_files Makedefs conf/cups-files.conf conf/cupsd.conf conf/mime.convs conf/pam.std conf/snmp.conf cups.pc cups-config desktop/cups.desktop doc/index.html scheduler/cups-lpd.xinetd scheduler/cups.sh scheduler/cups.xml scheduler/org.cups.cups-lpd.plist scheduler/cups-lpdAT.service scheduler/cups.path scheduler/cups.service scheduler/cups.socket templates/header.tmpl packaging/cups.list $LANGFILES"
1240812317

1240912318
cat >confcache <<\_ACEOF
@@ -12905,7 +12814,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1290512814
# report actual input values of CONFIG_FILES etc. instead of their
1290612815
# values after options handling.
1290712816
ac_log="
12908-
This file was extended by CUPS $as_me 2.4.12, which was
12817+
This file was extended by CUPS $as_me 2.4.13, which was
1290912818
generated by GNU Autoconf 2.71. Invocation command line was
1291012819
1291112820
CONFIG_FILES = $CONFIG_FILES
@@ -12970,7 +12879,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
1297012879
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1297112880
ac_cs_config='$ac_cs_config_escaped'
1297212881
ac_cs_version="\\
12973-
CUPS config.status 2.4.12
12882+
CUPS config.status 2.4.13
1297412883
configured by $0, generated by GNU Autoconf 2.71,
1297512884
with options \\"\$ac_cs_config\\"
1297612885

configure.ac

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dnl We need at least autoconf 2.71...
1313
AC_PREREQ([2.71])
1414

1515
dnl Package name and version...
16-
AC_INIT([CUPS],[2.4.12],[https://github.com/openprinting/cups/issues],[cups],[https://openprinting.github.io/cups])
16+
AC_INIT([CUPS],[2.4.13],[https://github.com/openprinting/cups/issues],[cups],[https://openprinting.github.io/cups])
1717

1818
dnl This line is provided to ensure that you don't run the autoheader program
1919
dnl against this project. Doing so is completely unsupported and WILL cause
@@ -42,12 +42,8 @@ sinclude(config-scripts/cups-defaults.m4)
4242

4343
dnl See what languages are available and make sure we generate the localization
4444
dnl files as needed...
45-
INSTALL_LANGUAGES=""
46-
UNINSTALL_LANGUAGES=""
4745
LANGFILES=""
4846
AS_IF([test "x$LANGUAGES" != x], [
49-
INSTALL_LANGUAGES="install-languages"
50-
UNINSTALL_LANGUAGES="uninstall-languages"
5147
for lang in $LANGUAGES; do
5248
AS_IF([test -f doc/$lang/index.html.in], [
5349
LANGFILES="$LANGFILES doc/$lang/index.html"
@@ -57,14 +53,8 @@ AS_IF([test "x$LANGUAGES" != x], [
5753
LANGFILES="$LANGFILES templates/$lang/header.tmpl"
5854
])
5955
done
60-
], [test "x$CUPS_BUNDLEDIR" != x], [
61-
INSTALL_LANGUAGES="install-langbundle"
62-
UNINSTALL_LANGUAGES="uninstall-langbundle"
6356
])
6457

65-
AC_SUBST([INSTALL_LANGUAGES])
66-
AC_SUBST([UNINSTALL_LANGUAGES])
67-
6858
dnl Provide autoconf with a list of files to generate and output them...
6959
AC_CONFIG_FILES([
7060
Makedefs

0 commit comments

Comments
 (0)