Mailinglist Archive: opensuse-commit (762 mails)
| < Previous | Next > |
commit libspectre for openSUSE:Factory
- From: root@xxxxxxxxxxxxxxx (h_root)
- Date: Mon, 09 Aug 2010 22:28:03 +0200
- Message-id: <20100809202803.6FD8D2025B@xxxxxxxxxxxxxxx>
Hello community,
here is the log from the commit of package libspectre for openSUSE:Factory
checked in at Mon Aug 9 22:28:03 CEST 2010.
--------
--- libspectre/libspectre.changes 2010-02-22 00:20:28.000000000 +0100
+++ libspectre/libspectre.changes 2010-08-09 15:57:05.000000000 +0200
@@ -1,0 +2,19 @@
+Mon Aug 9 15:48:06 CEST 2010 - vuntz@xxxxxxxxxxxx
+
+- Update to version 0.2.6:
+ + The most important change in this release is that gs is now
+ always initalized with the flag -P- to make Ghostscript not
+ look in the current directory for library files. See
+ deb#583183.
+ + Compiler flags -ansi and -pedantic are now optional and can be
+ enabled with --enable-iso-c configure option. (fdo#27735)
+ + Files with a doseps header and without EOF comment are
+ correctly rendered now. (fdo#27830)
+- Changes from version 0.2.5:
+ + Fix a portability issue that caused crashes on big-endian 64
+ bit systems. See lp#298139.
+ + Fix a crash when something goes wrong while running pdf
+ exporter. (fdo#26592)
+- Add pkg-config BuildRequires to have pkgconfig() Provides.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
libspectre-0.2.4.tar.bz2
New:
----
libspectre-0.2.6.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libspectre.spec ++++++
--- /var/tmp/diff_new_pack.dNBeR9/_old 2010-08-09 22:26:55.000000000 +0200
+++ /var/tmp/diff_new_pack.dNBeR9/_new 2010-08-09 22:26:55.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package libspectre (Version 0.2.4)
+# spec file for package libspectre (Version 0.2.6)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -23,12 +23,13 @@
License: GPLv2+
Group: Development/Libraries/C and C++
Summary: Library for Rendering PostScript Documents
-Version: 0.2.4
+Version: 0.2.6
Release: 1
Source0: %name-%version.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define debug_package_requires libspectre1 = %{version}-%{release}
BuildRequires: ghostscript-devel ghostscript-library
+BuildRequires: pkg-config
%description
libspectre is a small library for rendering Postscript documents. It
++++++ libspectre-0.2.4.tar.bz2 -> libspectre-0.2.6.tar.bz2 ++++++
++++ 11442 lines of diff (skipped)
++++ retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh
old/libspectre-0.2.4/ChangeLog new/libspectre-0.2.6/ChangeLog
--- old/libspectre-0.2.4/ChangeLog 2010-02-21 20:48:15.000000000 +0100
+++ new/libspectre-0.2.6/ChangeLog 2010-06-10 13:26:12.000000000 +0200
@@ -1,3 +1,103 @@
+commit 213dfcef5ee9e44f0f9e9026222beb0e69a4257d
+Author: Carlos Garcia Campos <carlosgc@xxxxxxxxx>
+Date: Thu Jun 10 13:20:21 2010 +0200
+
+ Update for release 0.2.6
+
+ NEWS | 19 +++++++++++++++++++
+ configure.ac | 4 ++--
+ 2 files changed, 21 insertions(+), 2 deletions(-)
+
+commit b389eb07cf793fec3a7c7cd4c75a2752a72f51ad
+Author: Carlos Garcia Campos <carlosgc@xxxxxxxxx>
+Date: Tue Jun 1 14:39:54 2010 +0200
+
+ Fix rendering of files with doseps header and EOF comment missing
+
+ Fixes bug #27830.
+
+ libspectre/ps.c | 9 ++++++++-
+ 1 files changed, 8 insertions(+), 1 deletions(-)
+
+commit 64405a78fdce7e028d91bdc68ab497d4c8a53bf0
+Author: Carlos Garcia Campos <carlosgc@xxxxxxxxx>
+Date: Tue Jun 1 11:35:34 2010 +0200
+
+ Add --enable-iso-c configure option disabled by default
+
+ It uses, if available, -ansic and -pedantic flags. See bug #27735
+
+ configure.ac | 8 +++++++-
+ 1 files changed, 7 insertions(+), 1 deletions(-)
+
+commit 8e28de56006377184aa2ac2220afd82c9a2431d1
+Author: Carlos Garcia Campos <carlosgc@xxxxxxxxx>
+Date: Tue Jun 1 11:09:57 2010 +0200
+
+ Remove unneeded #include
+
+ See bug #27734.
+
+ libspectre/spectre-device.c | 1 -
+ 1 files changed, 0 insertions(+), 1 deletions(-)
+
+commit 4bcf3ff07f962712f71b2dc6dbd5f7e8f95e566a
+Author: Carlos Garcia Campos <carlosgc@xxxxxxxxx>
+Date: Tue Jun 1 11:01:29 2010 +0200
+
+ Make Ghostscript not look first in the current directory for library files
+
+ libspectre/spectre-device.c | 3 ++-
+ libspectre/spectre-exporter-pdf.c | 5 +++--
+ 2 files changed, 5 insertions(+), 3 deletions(-)
+
+commit ee8c5a19138f33dd4c40da4e3def16eba48eccc1
+Author: Carlos Garcia Campos <carlosgc@xxxxxxxxx>
+Date: Sun Apr 18 19:01:01 2010 +0200
+
+ Update for release 0.2.5
+
+ NEWS | 16 ++++++++++++++++
+ configure.ac | 4 ++--
+ 2 files changed, 18 insertions(+), 2 deletions(-)
+
+commit 233babb7bf516aac10b853785b8d22c7d6fa777e
+Author: Carlos Garcia Campos <carlosgc@xxxxxxxxx>
+Date: Sun Apr 18 18:28:34 2010 +0200
+
+ Use %I64x format for DisplayHandle on Windows 64 bits
+
+ libspectre/spectre-device.c | 8 +++++++-
+ 1 files changed, 7 insertions(+), 1 deletions(-)
+
+commit ce55aa1110f3b933943a92ecd0a948d017cdb492
+Author: Carlos Garcia Campos <carlosgc@xxxxxxxxx>
+Date: Tue Apr 6 17:24:59 2010 +0200
+
+ Fix a crash in pdf exporter when rendering fails
+
+ libspectre/spectre-exporter-pdf.c | 6 ++++++
+ 1 files changed, 6 insertions(+), 0 deletions(-)
+
+commit 35aa9dfac2631de24a40d95d1469acb52f379249
+Author: Carlos Garcia Campos <carlosgc@xxxxxxxxx>
+Date: Sun Mar 28 13:18:38 2010 +0200
+
+ Use the correct format string for DisplayHandle arg depending on the
platform
+
+ libspectre/spectre-device.c | 7 +++++--
+ 1 files changed, 5 insertions(+), 2 deletions(-)
+
+commit 75a268029e803a34ce93b7094809ee15be0a9c08
+Author: Carlos Garcia Campos <carlosgc@xxxxxxxxx>
+Date: Sun Feb 21 20:49:15 2010 +0100
+
+ Update for release 0.2.4
+
+ NEWS | 15 +++++++++++++++
+ configure.ac | 4 ++--
+ 2 files changed, 17 insertions(+), 2 deletions(-)
+
commit 6dc6c41ba977e8bee0fd71f3db4c3c92287ee71f
Author: Carlos Garcia Campos <carlosgc@xxxxxxxxx>
Date: Sun Feb 21 17:49:05 2010 +0100
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh
old/libspectre-0.2.4/NEWS new/libspectre-0.2.6/NEWS
--- old/libspectre-0.2.4/NEWS 2010-02-21 19:36:12.000000000 +0100
+++ new/libspectre-0.2.6/NEWS 2010-06-10 13:02:13.000000000 +0200
@@ -1,3 +1,38 @@
+libspectre 0.2.6 (10 June 2010)
+===============================
+
+This is another bugfix only release in the libspectre's 0.2 series.
+
+The most important change in this release is that gs is now always
+initalized with the flag -P- to make Ghostscript not look in the
+current directory for library files. See Debian bug
+http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=583183
+
+Compiler flags -ansi and -pedantic are now optional and can be enabled
+with --enable-iso-c configure option. It seems -pedantic causes
+performance regression when compiling with Sun Studio compiler. Thanks
+to Dagobert Michelsen for eporting the issue. (Bug #27735)
+
+Files with a doseps header and without EOF comment are correctly
+rendered now. (Bug #27830)
+
+
+libspectre 0.2.5 (18 April 2010)
+================================
+
+This is another bugfix only release in the libspectre's 0.2 series.
+
+This release contains two important fixes:
+
+ - The first one is a portability issue that caused crashes on
+ big-endian 64 bit systems. Thanks to Rogério Brito who spotted the
+ problem, see launchpad bug
+ https://bugs.launchpad.net/ubuntu/+source/libspectre/+bug/298139
+
+ - The second one is a crash when something goes wrong while running
+ pdf exporter. (Bug #26592)
+
+
libspectre 0.2.4 (21 February 2010)
===================================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh
old/libspectre-0.2.4/config.h.in new/libspectre-0.2.6/config.h.in
--- old/libspectre-0.2.4/config.h.in 2010-02-03 12:48:21.000000000 +0100
+++ new/libspectre-0.2.6/config.h.in 2010-03-28 13:19:22.000000000 +0200
@@ -58,6 +58,9 @@
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
+/* Define to the home page for this package. */
+#undef PACKAGE_URL
+
/* Define to the version of this package. */
#undef PACKAGE_VERSION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh
old/libspectre-0.2.4/configure.ac new/libspectre-0.2.6/configure.ac
--- old/libspectre-0.2.4/configure.ac 2010-02-21 20:47:25.000000000 +0100
+++ new/libspectre-0.2.6/configure.ac 2010-06-10 13:07:18.000000000 +0200
@@ -2,7 +2,7 @@
m4_define([spectre_major_version], [0])
m4_define([spectre_minor_version], [2])
-m4_define([spectre_micro_version], [4])
+m4_define([spectre_micro_version], [6])
m4_define([spectre_version],
[spectre_major_version.spectre_minor_version.spectre_micro_version])
@@ -25,7 +25,7 @@
## increment any time the source changes; set to
## 0 if you increment CURRENT
-LT_REVISION=4
+LT_REVISION=6
## increment if any interfaces have been added; set to 0
## if any interfaces have been changed or removed. removal has
@@ -158,7 +158,7 @@
dnl else. If for any reason you need to force a recheck, just change
dnl MAYBE_WARN in an ignorable way (like adding whitespace)
-MAYBE_WARN="-Wall -Wextra -pedantic \
+MAYBE_WARN="-Wall -Wextra \
-Wsign-compare -Werror-implicit-function-declaration \
-Wpointer-arith -Wstrict-prototypes \
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs \
@@ -168,6 +168,12 @@
-Wno-missing-field-initializers -Wno-unused-parameter \
-Wno-attributes -Wno-long-long -Winline"
+AC_ARG_ENABLE(iso-c,
+ AC_HELP_STRING([--enable-iso-c], [Try to warn if code is not ISO
C ]),,[enable_iso_c=no])
+
+if test "x$enable_iso_c" != "xno"; then
+ MAYBE_WARN="$MAYBE_WARN -ansi -pedantic"
+fi
# invalidate cached value if MAYBE_WARN has changed
if test "x$spectre_cv_warn_maybe" != "x$MAYBE_WARN"; then
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh
old/libspectre-0.2.4/libspectre/ps.c new/libspectre-0.2.6/libspectre/ps.c
--- old/libspectre-0.2.4/libspectre/ps.c 2010-02-21 13:19:38.000000000
+0100
+++ new/libspectre-0.2.6/libspectre/ps.c 2010-06-01 14:39:27.000000000
+0200
@@ -1184,8 +1184,15 @@
}
section_len += line_len;
if (DSCcomment(line) && iscomment(line+2, "EOF")) {
- readline(fd, enddoseps, &line, &position, &line_len);
+ readline(fd, enddoseps, &line, &position, &line_len);
section_len += line_len;
+ } else if (doc->doseps) {
+ /* No EOF, make sure endtrailer <= ps_end */
+ if (position > doc->doseps->ps_begin + doc->doseps->ps_length) {
+ position = doc->doseps->ps_begin + doc->doseps->ps_length;
+ section_len = position - doc->begintrailer;
+ line_len = 0;
+ }
}
doc->endtrailer = position;
doc->lentrailer = section_len - line_len;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh
old/libspectre-0.2.4/libspectre/spectre-device.c
new/libspectre-0.2.6/libspectre/spectre-device.c
--- old/libspectre-0.2.4/libspectre/spectre-device.c 2009-09-11
11:50:47.000000000 +0200
+++ new/libspectre-0.2.6/libspectre/spectre-device.c 2010-06-01
11:09:01.000000000 +0200
@@ -21,7 +21,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <stdint.h>
#include "spectre-device.h"
#include "spectre-gs.h"
@@ -176,9 +175,10 @@
{
SpectreGS *gs;
char **args;
- int n_args = 12;
+ int n_args = 13;
int arg = 0;
int success;
+ char *fmt;
char *text_alpha, *graph_alpha;
char *size = NULL;
char *resolution, *set;
@@ -218,6 +218,7 @@
args[arg++] = "-dSAFER";
args[arg++] = "-dNOPAUSE";
args[arg++] = "-dNOPAGEPROMPT";
+ args[arg++] = "-P-";
args[arg++] = "-sDEVICE=display";
args[arg++] = text_alpha = _spectre_strdup_printf ("-dTextAlphaBits=%d",
rc->text_alpha_bits);
@@ -239,8 +240,16 @@
DISPLAY_LITTLEENDIAN
|
#endif
DISPLAY_TOPFIRST);
- args[arg++] = dsp_handle = _spectre_strdup_printf
("-sDisplayHandle=16#%llx",
- (uintptr_t)device);
+#ifdef WIN32
+#define FMT64 "I64"
+#else
+#define FMT64 "ll"
+#endif
+ fmt = _spectre_strdup_printf ("-sDisplayHandle=16#%s",
+ sizeof (device) == 4 ? "%lx" :
"%"FMT64"x");
+ args[arg++] = dsp_handle = _spectre_strdup_printf (fmt, device);
+ free (fmt);
+#undef FMT64
if (rc->use_platform_fonts == FALSE)
args[arg++] = "-dNOPLATFONTS";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh
old/libspectre-0.2.4/libspectre/spectre-exporter-pdf.c
new/libspectre-0.2.6/libspectre/spectre-exporter-pdf.c
--- old/libspectre-0.2.4/libspectre/spectre-exporter-pdf.c 2010-02-21
17:15:57.000000000 +0100
+++ new/libspectre-0.2.6/libspectre/spectre-exporter-pdf.c 2010-06-01
10:59:47.000000000 +0200
@@ -27,7 +27,7 @@
spectre_exporter_pdf_begin (SpectreExporter *exporter,
const char *filename)
{
- char *args[9];
+ char *args[10];
int arg = 0;
char *output_file;
struct document *doc = exporter->doc;
@@ -46,13 +46,14 @@
args[arg++] = "-dBATCH";
args[arg++] = "-dNOPAUSE";
args[arg++] = "-dSAFER";
+ args[arg++] = "-P-";
args[arg++] = "-sDEVICE=pdfwrite";
args[arg++] = output_file = _spectre_strdup_printf ("-sOutputFile=%s",
filename);
args[arg++] = "-c";
args[arg++] = ".setpdfwrite";
- if (!spectre_gs_run (exporter->gs, 9, args)) {
+ if (!spectre_gs_run (exporter->gs, 10, args)) {
free (output_file);
spectre_gs_free (exporter->gs);
exporter->gs = NULL;
@@ -93,6 +94,9 @@
{
struct document *doc = exporter->doc;
+ if (!exporter->gs)
+ return SPECTRE_STATUS_EXPORTER_ERROR;
+
if (!spectre_gs_process (exporter->gs,
doc->filename,
0, 0,
@@ -113,6 +117,9 @@
int ret;
struct document *doc = exporter->doc;
+ if (!exporter->gs)
+ return SPECTRE_STATUS_EXPORTER_ERROR;
+
ret = spectre_gs_process (exporter->gs,
doc->filename,
0, 0,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh
old/libspectre-0.2.4/libspectre/spectre-version.h
new/libspectre-0.2.6/libspectre/spectre-version.h
--- old/libspectre-0.2.4/libspectre/spectre-version.h 2010-02-21
20:47:53.000000000 +0100
+++ new/libspectre-0.2.6/libspectre/spectre-version.h 2010-06-10
13:16:03.000000000 +0200
@@ -27,11 +27,11 @@
#define SPECTRE_MAJOR_VERSION 0
#define SPECTRE_MINOR_VERSION 2
-#define SPECTRE_MICRO_VERSION 4
+#define SPECTRE_MICRO_VERSION 6
-#define SPECTRE_VERSION_STRING "0.2.4"
+#define SPECTRE_VERSION_STRING "0.2.6"
-#define SPECTRE_VERSION ((0 << 16) | (2 << 8) | (4))
+#define SPECTRE_VERSION ((0 << 16) | (2 << 8) | (6))
SPECTRE_END_DECLS
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx
| < Previous | Next > |