Package: qtiplot
Version: 0.9.3~rc2-1
Severity: grave
Tags: patch
Justification: renders package unusable


Bu default 'QTIPLOT_DEMO' is defined in qtiplot/qtiplot.pro, this directs to 
showing the message:

qtiplot/src/ApplicationWindow.cpp:
#ifdef QTIPLOT_DEMO
void ApplicationWindow::showDemoVersionMessage()
{
        QMessageBox::critical(this, tr("QtiPlot - Demo Version"),
                        tr("You are using the demonstration version of Qtiplot.\
                                It is identical with the full version, except 
that you can't save your work to project files and you can't use it for more th
                                <br><br>\
                                If you want to have ready-to-use, fully 
functional binaries, please subscribe for a\
                                <a 
href=\"http://soft.proindependent.com/individual_contract.html\";>single-user 
binaries maintenance contract</a>.\
                                <br><br>\
                                QtiPlot is free software in the sense of free 
speech.\
                                If you know how to use it, you can get\
                                <a 
href=\"http://developer.berlios.de/project/showfiles.php?group_id=6626\";>the 
source code</a>\
                                free of charge.\
                                Nevertheless, you are welcome to\
                                <a 
href=\"http://soft.proindependent.com/why_donate.html\";>make a donation</a>\
                                in order to support the further development of 
QtiPlot."));
}
#endif

and prevents saving the project:

qtiplot/src/ApplicationWindow.cpp:
void ApplicationWindow::saveFolderAsProject(Folder *f)
{
#ifdef QTIPLOT_DEMO
        showDemoVersionMessage();
        return;
#endif
...
}


The patch is the following:

--- qtiplot-0.9.3~rc2.orig/qtiplot/qtiplot.pro
+++ qtiplot-0.9.3~rc2/qtiplot/qtiplot.pro
@@ -11,7 +11,7 @@
 DEFINES         += SCRIPTING_CONSOLE
 # a dialog for selecting the scripting language on a per-project basis
 DEFINES         += SCRIPTING_DIALOG
-DEFINES         += QTIPLOT_DEMO
+#DEFINES         += QTIPLOT_DEMO
 
 # comment the following lines if you haven't subscribed for a QtiPlot binaries 
maintenance contract
 #RESTRICTED_MODULES += FFT2D


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.23.1 (PREEMPT)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages qtiplot depends on:
ii  libc6                   2.7-6            GNU C Library: Shared libraries
ii  libgcc1                 1:4.3-20080112-1 GCC support library
ii  libgl1-mesa-glx [libgl1 7.0.2-3          A free implementation of the OpenG
ii  libglu1-mesa [libglu1]  7.0.2-3          The OpenGL utility library (GLU)
ii  libgsl0ldbl             1.10-2           GNU Scientific Library (GSL) -- li
ii  libmuparser0            1.28-1           fast mathematical expressions pars
ii  liborigin0              20071119-1       library for reading OriginLab Orig
ii  libqt4-core             4.3.3-2          Qt 4 core non-GUI functionality ru
ii  libqt4-gui              4.3.3-2          Qt 4 core GUI functionality runtim
ii  libqt4-qt3support       4.3.3-2          Qt 3 compatibility library for Qt 
ii  libqwt5-qt4             5.0.2-2          Qt4 widgets library for technical 
ii  libqwtplot3d-qt4        0.2.7+svn191-1   3D plotting library based on Qt4/O
ii  libstdc++6              4.3-20080112-1   The GNU Standard C++ Library v3
ii  python-qt4              4.3.3-2          Python bindings for Qt4
ii  python2.4               2.4.4-7          An interactive high-level object-o
ii  zlib1g                  1:1.2.3.3.dfsg-8 compression library - runtime

qtiplot recommends no packages.

-- debconf-show failed



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to