summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTill Kamppeter <till.kamppeter@gmail.com>2012-06-18 21:31:45 +0200
committerTill Kamppeter <till.kamppeter@gmail.com>2012-06-18 21:31:45 +0200
commita3f8b29532f3cd5902eb468b6318573b1d59778e (patch)
tree3e3badb4c2b786c8539a81c987a2b3b6ac34c98d
parent399d0e9fca6341340fdfaeb4566b23eec2fb99d3 (diff)
parentca7afd6b61bfd6d390ca91dc4b91c0943145e307 (diff)
Merge tag 'upstream/4.0.16'
Upstream version 4.0.16
-rw-r--r--ChangeLog17
-rw-r--r--README2
-rw-r--r--USAGE2
-rw-r--r--VERSION2
-rw-r--r--VERSION.full2
-rwxr-xr-xconfigure20
-rw-r--r--configure.ac2
-rw-r--r--foomaticrip.c2
-rw-r--r--spooler.c2
9 files changed, 34 insertions, 17 deletions
diff --git a/ChangeLog b/ChangeLog
index 38c707f..2546210 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,20 @@
+2012-06-18 Till Kamppeter <till.kamppeter@gmail.com>
+
+ * Tagged branch for release 4.0.16.
+
+ * VERSION, README, USAGE, configure.ac: Updated for release 4.0.16.
+
+ * foomaticrip.c: Fixed wrong access to command line option list which
+ prevented the command line options being passed on to the pdftops
+ CUPS filter when incoming PDF is converted to PostScript (Ubuntu
+ bug #1002699).
+
+2012-06-06 Till Kamppeter <till.kamppeter@gmail.com>
+
+ * spooler.c: Fixed off-by-one bug which has cut off the last character
+ of the option string for CUPS (5th command line argument) and so made
+ the last option setting not being applied (Ubuntu bug #1003194).
+
2012-03-23 Till Kamppeter <till.kamppeter@gmail.com>
* Tagged branch for release 4.0.15.
diff --git a/README b/README
index e357d46..4b000c7 100644
--- a/README
+++ b/README
@@ -1,5 +1,5 @@
-Foomatic 4.0.15
+Foomatic 4.0.16
===============
diff --git a/USAGE b/USAGE
index 668d966..c3888f1 100644
--- a/USAGE
+++ b/USAGE
@@ -1,5 +1,5 @@
-Foomatic 4.0.15
+Foomatic 4.0.16
===============
foomatic-filters
diff --git a/VERSION b/VERSION
index af253c1..5188cc0 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-4.0.15
+4.0.16
diff --git a/VERSION.full b/VERSION.full
index df3f72b..0cf72ec 100644
--- a/VERSION.full
+++ b/VERSION.full
@@ -1 +1 @@
-4.0.15.251
+4.0.16.253
diff --git a/configure b/configure
index 6d2363d..c504de3 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.65 for foomatic-rip 4.0.15.
+# Generated by GNU Autoconf 2.65 for foomatic-rip 4.0.16.
#
#
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -549,8 +549,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='foomatic-rip'
PACKAGE_TARNAME='foomatic-rip'
-PACKAGE_VERSION='4.0.15'
-PACKAGE_STRING='foomatic-rip 4.0.15'
+PACKAGE_VERSION='4.0.16'
+PACKAGE_STRING='foomatic-rip 4.0.16'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''
@@ -1270,7 +1270,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 foomatic-rip 4.0.15 to adapt to many kinds of systems.
+\`configure' configures foomatic-rip 4.0.16 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1336,7 +1336,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of foomatic-rip 4.0.15:";;
+ short | recursive ) echo "Configuration of foomatic-rip 4.0.16:";;
esac
cat <<\_ACEOF
@@ -1440,7 +1440,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-foomatic-rip configure 4.0.15
+foomatic-rip configure 4.0.16
generated by GNU Autoconf 2.65
Copyright (C) 2009 Free Software Foundation, Inc.
@@ -1897,7 +1897,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 foomatic-rip $as_me 4.0.15, which was
+It was created by foomatic-rip $as_me 4.0.16, which was
generated by GNU Autoconf 2.65. Invocation command line was
$ $0 $@
@@ -2705,7 +2705,7 @@ fi
# Define the identity of the package.
PACKAGE='foomatic-rip'
- VERSION='4.0.15'
+ VERSION='4.0.16'
# Some tools Automake needs.
@@ -6871,7 +6871,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 foomatic-rip $as_me 4.0.15, which was
+This file was extended by foomatic-rip $as_me 4.0.16, which was
generated by GNU Autoconf 2.65. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -6937,7 +6937,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-foomatic-rip config.status 4.0.15
+foomatic-rip config.status 4.0.16
configured by $0, generated by GNU Autoconf 2.65,
with options \\"\$ac_cs_config\\"
diff --git a/configure.ac b/configure.ac
index 22cbdc9..939089a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.61])
-AC_INIT(foomatic-rip, [4.0.15])
+AC_INIT(foomatic-rip, [4.0.16])
AM_INIT_AUTOMAKE([no-define])
AC_CONFIG_SRCDIR([options.c])
diff --git a/foomaticrip.c b/foomaticrip.c
index 3fdffe4..9209874 100644
--- a/foomaticrip.c
+++ b/foomaticrip.c
@@ -1062,7 +1062,7 @@ int print_file(const char *filename, int convert)
if (spooler == SPOOLER_CUPS)
snprintf(pdf2ps_cmd, PATH_MAX,
"pdftops '%s' '%s' '%s' '%s' '%s' '%s'",
- job->id, job->user, job->title, "1", job->optstr,
+ job->id, job->user, job->title, "1", job->optstr->data,
filename);
else
snprintf(pdf2ps_cmd, PATH_MAX,
diff --git a/spooler.c b/spooler.c
index 150aed7..10289ae 100644
--- a/spooler.c
+++ b/spooler.c
@@ -274,7 +274,7 @@ void init_cups(list_t *arglist, dstr_t *filelist, jobparams_t *job)
cups_options_len = strlen(arglist_get(arglist, 4));
cups_options = malloc(cups_options_len + 1);
- strncpy_omit(cups_options, arglist_get(arglist, 4), cups_options_len, omit_shellescapes);
+ strncpy_omit(cups_options, arglist_get(arglist, 4), cups_options_len + 1, omit_shellescapes);
/* Common job parameters */
strcpy(job->id, cups_jobid);