From: John Darrington Date: Fri, 18 Dec 2009 19:34:12 +0000 (+0100) Subject: Merge branch 'master' into output X-Git-Tag: fc11-i386-build61^0 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c08a6e1009cf60847e770a77a73c650e9326379;hp=-c;p=pspp-builds.git Merge branch 'master' into output Conflicts: NEWS configure.ac src/output/charts/dummy-chart.c --- 7c08a6e1009cf60847e770a77a73c650e9326379 diff --combined NEWS index 24f1d4a8,149d1dea..ab21afde --- a/NEWS +++ b/NEWS @@@ -1,19 -1,10 +1,19 @@@ PSPP NEWS -- history of user-visible changes. -Time-stamp: <2009-10-06 20:46:21 blp> +Time-stamp: <2009-12-05 20:39:07 blp> Copyright (C) 1996-9, 2000, 2008, 2009 Free Software Foundation, Inc. See the end for copying conditions. Please send PSPP bug reports to bug-gnu-pspp@gnu.org. +Changes from 0.7.2 to 0.7.3: + + * Charts are now produced with Cairo and Pango, instead of libplot. + Without them, the new graphing features will not work. If you do + not have Cairo and Pango installed, you must run `configure' with + --without-cairo. + + * The PostScript driver has been removed. + Changes from 0.7.1 to 0.7.2: * Updated Perl module interface. @@@ -63,8 -54,7 +63,7 @@@ Changes from 0.6.2-pre6 to 0.7.0 * A tutorial chapter has been added to the user manual. - - Changes from 0.6.1 to 0.6.2-pre6: + Changes from 0.6.1 to 0.6.2 * New translations: @@@ -86,6 -76,8 +85,8 @@@ * Build fixes and changes: + - Fix build with GTK+ 2.17.4 and later. + - Make running "make" after running "configure" with different settings reliably rebuild version.c. @@@ -109,6 -101,9 +110,9 @@@ - Fix writing corrupted .sav files on Windows. + - Fix writing variable labels longer than 252 bytes to save files. + Thanks to Robert Westlund for reporting this bug. + - Fix writing corrupted .por files (bug #26034). - Fix reading .por files whose initial lines are not padded out diff --combined configure.ac index 499128b3,1ef538bc..1dc8e558 --- a/configure.ac +++ b/configure.ac @@@ -2,7 -2,7 +2,7 @@@ dnl Process this file with autoconf to dnl Initialize. AC_PREREQ(2.60) -AC_INIT([pspp],[0.7.2],[bug-gnu-pspp@gnu.org]) +AC_INIT([pspp],[0.7.3],[bug-gnu-pspp@gnu.org]) AC_CONFIG_HEADERS([config.h]) AM_INIT_AUTOMAKE @@@ -40,39 -40,28 +40,40 @@@ f dnl Checks for libraries. AC_SYS_LARGEFILE AC_SEARCH_LIBS([sin], [m]) + AC_SEARCH_LIBS([dcgettext], [intl]) -PSPP_LIBPLOT PSPP_LC_PAPER -AM_CONDITIONAL(WITHCHARTS, test x"$with_libplot" != x"no") AC_ARG_VAR([PSPP_LDFLAGS], [linker flags to be used for linking the pspp binary only]) AC_ARG_VAR([PSPPIRE_LDFLAGS], [linker flags to be used for linking the psppire binary only]) - -AC_ARG_WITH( - gui, - [AS_HELP_STRING([--without-gui], [don't build the PSPPIRE gui])]) - -required_gtk_version=2.12 - -if test x"$with_gui" != x"no" ; then - PKG_CHECK_MODULES(GTK, gtk+-2.0 >= $required_gtk_version,, - [PSPP_REQUIRED_PREREQ([gtk+ 2.0 v$required_gtk_version or later (or use --without-gui)])]) +# Support for Cairo and Pango. +AC_ARG_WITH([cairo], + [AS_HELP_STRING( + [--without-cairo], + [Don't build support for charts (using Cairo and Pango); + implies --without-gui])], + [], [with_cairo=yes]) +AM_CONDITIONAL([HAVE_CAIRO], [test "$with_cairo" != no]) +if test "$with_cairo" != no; then + PKG_CHECK_MODULES([CAIRO], [cairo >= 1.5 pango >= 1.20 pangocairo], + [CPPFLAGS="$CPPFLAGS $CAIRO_CFLAGS" + AC_DEFINE([HAVE_CAIRO], 1, + [Define to 1 if Cairo and Pango are available.])], + [PSPP_REQUIRED_PREREQ([cairo 1.5 or later and pango 1.20 or later (or use --without-cairo)])]) fi -AM_CONDITIONAL(WITHGUI, test x"$with_gui" != x"no") +# Support for GUI. +AC_ARG_WITH([gui], + [AS_HELP_STRING([--without-gui], + [Don't build the PSPPIRE GUI (using GTK+)])], + [], [with_gui=yes]) +AM_CONDITIONAL([HAVE_GUI], + [test "$with_cairo" != no && test "$with_gui" != "no"]) +if test "$with_cairo" != no && test "$with_gui" != "no"; then + PKG_CHECK_MODULES([GTK], [gtk+-2.0 >= 2.12], [], + [PSPP_REQUIRED_PREREQ([gtk+ 2.0 version 2.12 or later (or use --without-gui)])]) +fi dnl Checks needed for psql reader diff --combined perl-module/lib/PSPP.pm index c6b05982,2dccd10a..fd2f5a5f --- a/perl-module/lib/PSPP.pm +++ b/perl-module/lib/PSPP.pm @@@ -21,7 -21,7 +21,7 @@@ None by default =cut BEGIN { - $PSPP::VERSION='0.7.2'; + $PSPP::VERSION='0.7.3'; require XSLoader; XSLoader::load('PSPP', $PSPP::VERSION); } @@@ -197,7 -197,7 +197,7 @@@ package PSPP::Var =head3 new ($dict, $name, %input_fmt) Creates and returns a new variable in the dictionary C. The - new variable will have the name C. + new variable will have the name C. C must be a valid UTF8 string. The input format is set by the C parameter (See L). By default, the write and print formats are the same as the input format. @@@ -226,7 -226,7 +226,7 @@@ sub ne =head3 set_label ($label) - Sets the variable label to C