debian/0000755000000000000000000000000011737371111007170 5ustar debian/control0000644000000000000000000000427311737111436010603 0ustar Source: qsapecng Section: electronics Priority: optional Maintainer: Simone Rossetto Uploaders: Georges Khaznadar DM-Upload-Allowed: yes Build-Depends: debhelper (>= 7.0.50~), cmake (>= 2.6.0), libqt4-dev (>= 4.6.0), libqwt-dev (>= 6.0.0), libboost-dev (>= 1.41.0), doxygen Standards-Version: 3.9.3 Homepage: http://qsapecng.sourceforge.net/ Vcs-Svn: https://qsapecng.svn.sourceforge.net/svnroot/qsapecng Vcs-Browser: http://qsapecng.svn.sourceforge.net/viewvc/qsapecng Package: qsapecng Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: qsapecng-doc (= ${binary:Version}) Description: symbolic analyzer and solver of linear analog circuits This program consists of two indipendent parts: the SapecNG framework engine and the GUI application QSapecNG. . QSapecNG is an open source, multi-platform project, continuously enhanced by students and researchers of the Department of Electronics and Telecommunications (DET) of the University of Florence (Italy). It comes as continuation of SapWin for Windows, in order to give to the project a full compatibility on other platforms. . Through SapecNG/QSapecNG users can draw, solve and analyze analog circuits as well as manage them. Since version 2.0.0beta1 there is also the full support for sub-circuits that can be created, saved, reopened and added as part of other circuits. . SapecNG/QSapecNG is freely available on SourceForge.net . A previous version of SapecNG is available too, on SourceForge.net . Package: qsapecng-doc Architecture: all Section: doc Depends: libjs-jquery, ${misc:Depends} Recommends: qsapecng (= ${binary:Version}) Suggests: doc-base Description: symbolic analyzer and solver of linear analog circuits (documentation) With QSapecNG users can draw, solve and analyze analog circuits as well as manage them. Since version 2.0.0beta1 there is also the full support for sub-circuits that can be created, saved, reopened and added as part of other circuits. . This package contains the documentation of QSapecNG, that can also be read online at . debian/qsapecng.menu0000644000000000000000000000030411575174316011664 0ustar ?package(qsapecng):\ needs="X11" \ section="Applications/Science/Electronics" \ title="QSapecNG" \ command="qsapecng" \ icon16x16="qsapecng-16x16.xpm" \ icon32x32="qsapecng-32x32.xpm" debian/rules0000755000000000000000000000100411640012613010233 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 export DH_ALWAYS_EXCLUDE=.svn export DH_OPTIONS %: dh $@ override_dh_auto_configure: dh_auto_configure -- \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release doxygen doxy.cfg rm -f doc/html/jquery.js ln -s /usr/share/javascript/jquery/jquery.js doc/html/jquery.js override_dh_auto_clean: dh_auto_clean rm -fr doc/html doc/latex rm -f src/gui/qtsolutions/qtpropertyeditor/moc_* rm -f src/gui/qtsolutions/qtpropertyeditor/*.moc rm -f src/libqwt6_fix.h debian/source/0000755000000000000000000000000011546277470010503 5ustar debian/source/format0000644000000000000000000000001411546277470011711 0ustar 3.0 (quilt) debian/qsapecng.docs0000644000000000000000000000006311546277447011661 0ustar README TODO THANKS AUTHOR src/functor/README.rpoly debian/qsapecng.10000644000000000000000000000657011617573357011100 0ustar .\" .\" QSapecNG - Qt based SapecNG GUI front-end .\" Copyright (C) 2009-2011 Michele Caini .\" .\" This program is free software: you can redistribute it and/or modify .\" it under the terms of the GNU General Public License as published by .\" the Free Software Foundation, either version 3 of the License, or .\" (at your option) any later version. .\" .\" This program is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the .\" GNU General Public License for more details. .\" .\" You should have received a copy of the GNU General Public License .\" along with this program. If not, see . .\" .\" .\" process with groff -man -Tascii qsapecng.1 .\" or with groff -t -e -mandoc -Tps qsapecng.1 > qsapecng.ps .\" or with nroff -man qsapecng.1 | less .TH QSAPECNG 1 "2011-08-07" "GNU GPLv3" "Program Description" .SH NAME qsapecng \- symbolic analyzer of linear analog circuits .SH SYNOPSIS .SY qsapecng .YS .SH DESCRIPTION QSapecNG is a Qt-based program for symbolic analysis of linear analog circuits. In fact, it consists of two indipendent parts: the SapecNG framework engine and the application gui QSapecNG. It is an open source, multi-platform project, continuously enhanced by students and researchers of the Department of Electronics and Telecommunications (DET) of the University of Florence. It comes as continuation of SapWin for Windows, in order to give to the project a full compatibility on other platforms. Through QSapecNG users can draw, solve and analyze analog circuits as well as manage them. Since version 2.0.0beta1 there is also the full support for sub-circuits that can be created, saved, reopened and added as part of other circuits. QSapecNG is freely available on SourceForge .UR https://sourceforge.net/projects/qsapecng/ .UE . A previous version of SapecNG is available too, on SourceForge .UR https://sourceforge.net/projects/sapec-ng/ .UE . Pre-compiled packages will be also available from projects related pages. .SH USAGE TODO (see the website) .SH COPYRIGHT Copyright (C) 2009-2011 .MT michele.caini@gmail.com Michele Caini .ME This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. .SH "THANKS TO" .MT simros85@gmail.com Simone Rossetto .ME and his work as a packager. .UR http://www.crbond.com/download/misc/rpoly.cpp C. R. Bond .UE for Jenkins-Traub real polynomial root finder implementation. Source code has been used as-is, filtered by an adapter function. .UR http://qwt.sf.net Qwt Project .UE for their work. Source code has been used as-is. Nokia and the not yet supported project .UR http://qt.gitorious.org/qt-solutions/qt-solutions/trees/master/qtpropertybrowser QtPropertyBrowser .UE (on .UR http://qt.nokia.com/products/qt-addons/solutions-archive/index Qt Solutions Archive .UE ). Source code has been used as-is. Project coordinators are: .IP - 2 Prof. S. Manetti (who developed last version of SapWin) .IP - 2 .MT luchetta@unifi.it Prof. A. Luchetta .ME .P Debian packager and maintainer is .MT simros85@gmail.com Simone Rossetto .ME debian/qsapecng-doc.install0000644000000000000000000000004111546277447013136 0ustar doc/html usr/share/doc/qsapecng/ debian/patches/0000755000000000000000000000000011737371024010622 5ustar debian/patches/gcc-4.7_fix.patch0000644000000000000000000000062411737360134013555 0ustar Description: Added a missing "this" pointer to the init() function. Forwarded: yes, directly applied upstream Author: Simone Rossetto Last-Update: 2012-04-05 --- a/src/logger/logger.h +++ b/src/logger/logger.h @@ -57,7 +57,7 @@ std::basic_ios(&m_sbuf), std::basic_ostream(&m_sbuf) { - init(&m_sbuf); + this->init(&m_sbuf); } private: debian/patches/libqwt6_fix.patch0000644000000000000000000002762511624766657014134 0ustar Description: Fast fix to build QSapecNG v2.0.0 also with Qwt6 libraries. Upstream sources can be build only with Qwt version 5, this patch edits some source files in order to make them compatible with version 6 of Qwt libraries. If both Qwt5 and Qwt6 are found in the system, the version 5 is used. Forwarded: https://sourceforge.net/tracker/?func=detail&aid=3396943&group_id=369990&atid=1541778 Author: Simone Rossetto Last-Update: 2011-08-23 --- a/cmake/Modules/FindQwt5.cmake +++ b/cmake/Modules/FindQwt5.cmake @@ -36,10 +36,11 @@ # Find Qwt version IF( Qwt5_INCLUDE_DIR ) FILE( READ "${Qwt5_INCLUDE_DIR}/qwt_global.h" QWT_GLOBAL_H ) - STRING( REGEX MATCH "#define *QWT_VERSION *(0x05*)" QWT_IS_VERSION_5 ${QWT_GLOBAL_H}) - - IF( QWT_IS_VERSION_5 ) - STRING(REGEX REPLACE ".*#define[\\t\\ ]+QWT_VERSION_STR[\\t\\ ]+\"([0-9]+\\.[0-9]+\\.[0-9]+)\".*" "\\1" Qwt_VERSION "${QWT_GLOBAL_H}") + STRING(REGEX REPLACE ".*#define[\\t\\ ]+QWT_VERSION_STR[\\t\\ ]+\"([0-9]+\\.[0-9]+\\.[0-9]+).*\".*" "\\1" Qwt_VERSION "${QWT_GLOBAL_H}") + STRING( REGEX MATCH "#define *QWT_VERSION *(0x05[0-9]*)" QWT_IS_VERSION_5 ${QWT_GLOBAL_H}) + STRING( REGEX MATCH "#define *QWT_VERSION *(0x06[0-9]*)" QWT_IS_VERSION_6 ${QWT_GLOBAL_H}) + + IF( QWT_IS_VERSION_5 OR QWT_IS_VERSION_6) # Find Qwt5 library linked to Qt4 FIND_LIBRARY( Qwt5_Qt4_TENTATIVE_LIBRARY @@ -60,7 +61,7 @@ SET( Qwt5_Qt4_LIBRARY ${Qwt5_Qt4_TENTATIVE_LIBRARY} ) SET( Qwt5_Qt4_FOUND TRUE ) IF (NOT Qwt5_FIND_QUIETLY) - MESSAGE( STATUS "Found Qwt: ${Qwt5_Qt4_LIBRARY}" ) + MESSAGE( STATUS "Found Qwt: ${Qwt5_Qt4_LIBRARY} (version ${Qwt_VERSION})" ) ENDIF (NOT Qwt5_FIND_QUIETLY) ENDIF( Qwt5_IS_LINKED_TO_Qt4 ) ENDIF( Qwt5_Qt4_TENTATIVE_LIBRARY ) @@ -101,13 +102,17 @@ # ENDIF (NOT Qwt5_FIND_QUIETLY) #ENDIF( UNIX AND NOT CYGWIN) - ENDIF( QWT_IS_VERSION_5 ) + ENDIF( QWT_IS_VERSION_5 OR QWT_IS_VERSION_6) IF( Qwt5_Qt4_FOUND OR Qwt5_Qt3_FOUND ) SET( Qwt5_FOUND TRUE ) ENDIF( Qwt5_Qt4_FOUND OR Qwt5_Qt3_FOUND ) + + IF( QWT_IS_VERSION_6 ) + SET( Qwt6_FAST_FIX_FOR_DEBIAN "#define Qwt6_FAST_FIX_FOR_DEBIAN 1\n#include \n#include \n#include \n") + ENDIF( QWT_IS_VERSION_6 ) - MARK_AS_ADVANCED( Qwt5_INCLUDE_DIR Qwt5_Qt4_LIBRARY Qwt5_Qt3_LIBRARY ) + MARK_AS_ADVANCED( Qwt5_INCLUDE_DIR Qwt5_Qt4_LIBRARY Qwt5_Qt3_LIBRARY Qwt6_FAST_FIX_FOR_DEBIAN ) ENDIF( Qwt5_INCLUDE_DIR ) IF (NOT Qwt5_FOUND AND Qwt5_FIND_REQUIRED) --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -2,6 +2,7 @@ find_package( Qt4 COMPONENTS QtCore QtGui REQUIRED ) find_package( Qwt5 REQUIRED ) +file(WRITE "libqwt6_fix.h" "${Qwt6_FAST_FIX_FOR_DEBIAN}") if(WIN32) set( QT_USE_QTMAIN 1 ) --- a/src/gui/workplane/workplane.h +++ b/src/gui/workplane/workplane.h @@ -31,6 +31,7 @@ #include #include +#include "libqwt6_fix.h" #include #include @@ -163,6 +164,9 @@ inline QMenu* contextMenu() const { return plot_->contextMenu(); } const QwtPlot& const_plot() const { return *plot_; } +#ifdef Qwt6_FAST_FIX_FOR_DEBIAN + QwtPlot* plot() { return plot_; } +#endif public slots: void setDirty(); --- a/src/gui/qsapecngwindow.cpp +++ b/src/gui/qsapecngwindow.cpp @@ -83,6 +83,11 @@ #include #include +#include "libqwt6_fix.h" +#ifdef Qwt6_FAST_FIX_FOR_DEBIAN +#include +#endif + #include @@ -442,7 +447,12 @@ if(QPrintDialog(&printer).exec() != QDialog::Accepted) return; +#ifndef Qwt6_FAST_FIX_FOR_DEBIAN workplane_->const_plot().print(printer); +#else + QwtPlotRenderer renderer; + renderer.renderTo(workplane_->plot(),printer); +#endif } } --- a/src/gui/workplane/workplane.cpp +++ b/src/gui/workplane/workplane.cpp @@ -37,6 +37,8 @@ #include #include +#include "libqwt6_fix.h" + #include #include #include @@ -88,6 +90,7 @@ { if(isVisible()) { std::size_t idx; +#ifndef Qwt6_FAST_FIX_FOR_DEBIAN for(idx = 0; idx < (data().size() - 1) && data().x(idx + 1) < pos.x(); ++idx); marker_->setValue(data().x(idx), data().y(idx)); @@ -106,6 +109,27 @@ ? Qt::AlignBottom : Qt::AlignTop ; +#else + QwtSeriesData* dd = data(); + for(idx = 0; idx < (dd->size() - 1) && dd->sample(idx + 1).x() < pos.x(); idx++); + marker_->setValue(dd->sample(idx).x(), dd->sample(idx).y()); + + QString label = "( " + QString::number(dd->sample(idx).x()) + ", " + + QString::number(dd->sample(idx).y()) + " ) [" + + QString::number(idx) + "]"; + marker_->setLabel(label); + + Qt::Alignment H = + (dd->sample(idx).x() >= minXValue() + ((maxXValue() - minXValue()) / 2)) + ? Qt::AlignLeft + : Qt::AlignRight + ; + Qt::Alignment V = + (dd->sample(idx).y() >= minYValue() + ((maxYValue() - minYValue()) / 2)) + ? Qt::AlignBottom + : Qt::AlignTop + ; +#endif marker_->setLabelAlignment(H | V); marker_->itemChanged(); @@ -121,7 +145,11 @@ marker_ = new QwtPlotMarker; marker_->setLineStyle(QwtPlotMarker::NoLine); +#ifndef Qwt6_FAST_FIX_FOR_DEBIAN marker_->setSymbol(symbol); +#else + marker_->setSymbol(&symbol); +#endif marker_->setVisible(false); } @@ -152,6 +180,7 @@ { resetMarker(); +#ifndef Qwt6_FAST_FIX_FOR_DEBIAN for(std::size_t i = 0; i < data().size(); ++i) { QwtPlotMarker* marker = new QwtPlotMarker; marker->setLineStyle(QwtPlotMarker::NoLine); @@ -160,6 +189,17 @@ QString label = "( " + QString::number(data().x(i)) + ", " + QString::number(data().y(i)) + " )"; +#else + QwtSeriesData* dd = data(); + for(std::size_t i = 0; i < dd->size(); ++i) { + QwtPlotMarker* marker = new QwtPlotMarker; + marker->setLineStyle(QwtPlotMarker::NoLine); + marker->setLabelAlignment(Qt::AlignBottom); + marker->setValue(dd->sample(i).x(), dd->sample(i).y()); + + QString label = "( " + QString::number(dd->sample(i).x()) + ", " + + QString::number(dd->sample(i).y()) + " )"; +#endif marker->setLabel(label); markers_.push_back(marker); @@ -617,7 +657,12 @@ plot_->setAutoReplot(true); tracker_ = new QwtPlotPicker(plot_->canvas()); +#ifndef Qwt6_FAST_FIX_FOR_DEBIAN + // I cannot find a valid replacement for Qwt6, but the VLineRubberBand can be + // used only with PointSelection, so I think that Qwt6 set that value + // automatically. tracker_->setSelectionFlags(QwtPicker::PointSelection); +#endif tracker_->setRubberBand(QwtPicker::VLineRubberBand); tracker_->setTrackerMode(QwtPicker::AlwaysOff); @@ -653,7 +698,11 @@ curves_[MAGNITUDE].first = new MarkableCurve; curves_[MAGNITUDE].first->setPen(functor_traits::pen); curves_[MAGNITUDE].first->setStyle(functor_traits::style); +#ifndef Qwt6_FAST_FIX_FOR_DEBIAN curves_[MAGNITUDE].first->setSymbol(symbol); +#else + curves_[MAGNITUDE].first->setSymbol(&symbol); +#endif curves_[MAGNITUDE].first->setCurveAttribute( functor_traits::attribute); curves_[MAGNITUDE].second = false; @@ -672,7 +721,11 @@ curves_[MAGNITUDE_RAD].first = new MarkableCurve; curves_[MAGNITUDE_RAD].first->setPen(functor_traits::pen); curves_[MAGNITUDE_RAD].first->setStyle(functor_traits::style); +#ifndef Qwt6_FAST_FIX_FOR_DEBIAN curves_[MAGNITUDE_RAD].first->setSymbol(symbol); +#else + curves_[MAGNITUDE_RAD].first->setSymbol(&symbol); +#endif curves_[MAGNITUDE_RAD].first->setCurveAttribute( functor_traits::attribute); curves_[MAGNITUDE_RAD].second = false; @@ -691,7 +744,11 @@ curves_[PHASE].first = new MarkableCurve; curves_[PHASE].first->setPen(functor_traits::pen); curves_[PHASE].first->setStyle(functor_traits::style); +#ifndef Qwt6_FAST_FIX_FOR_DEBIAN curves_[PHASE].first->setSymbol(symbol); +#else + curves_[PHASE].first->setSymbol(&symbol); +#endif curves_[PHASE].first->setCurveAttribute( functor_traits::attribute); curves_[PHASE].second = false; @@ -709,7 +766,11 @@ curves_[PHASE_RAD].first = new MarkableCurve; curves_[PHASE_RAD].first->setPen(functor_traits::pen); curves_[PHASE_RAD].first->setStyle(functor_traits::style); +#ifndef Qwt6_FAST_FIX_FOR_DEBIAN curves_[PHASE_RAD].first->setSymbol(symbol); +#else + curves_[PHASE_RAD].first->setSymbol(&symbol); +#endif curves_[PHASE_RAD].first->setCurveAttribute( functor_traits::attribute); curves_[PHASE_RAD].second = false; @@ -728,7 +789,11 @@ curves_[GAIN].first = new MarkableCurve; curves_[GAIN].first->setPen(functor_traits::pen); curves_[GAIN].first->setStyle(functor_traits::style); +#ifndef Qwt6_FAST_FIX_FOR_DEBIAN curves_[GAIN].first->setSymbol(symbol); +#else + curves_[GAIN].first->setSymbol(&symbol); +#endif curves_[GAIN].first->setCurveAttribute( functor_traits::attribute); curves_[GAIN].second = false; @@ -746,7 +811,11 @@ curves_[GAIN_RAD].first = new MarkableCurve; curves_[GAIN_RAD].first->setPen(functor_traits::pen); curves_[GAIN_RAD].first->setStyle(functor_traits::style); +#ifndef Qwt6_FAST_FIX_FOR_DEBIAN curves_[GAIN_RAD].first->setSymbol(symbol); +#else + curves_[GAIN_RAD].first->setSymbol(&symbol); +#endif curves_[GAIN_RAD].first->setCurveAttribute( functor_traits::attribute); curves_[GAIN_RAD].second = false; @@ -765,7 +834,11 @@ curves_[LOSS].first = new MarkableCurve; curves_[LOSS].first->setPen(functor_traits::pen); curves_[LOSS].first->setStyle(functor_traits::style); +#ifndef Qwt6_FAST_FIX_FOR_DEBIAN curves_[LOSS].first->setSymbol(symbol); +#else + curves_[LOSS].first->setSymbol(&symbol); +#endif curves_[LOSS].first->setCurveAttribute( functor_traits::attribute); curves_[LOSS].second = false; @@ -782,7 +855,11 @@ curves_[LOSS_RAD].first = new MarkableCurve; curves_[LOSS_RAD].first->setPen(functor_traits::pen); curves_[LOSS_RAD].first->setStyle(functor_traits::style); +#ifndef Qwt6_FAST_FIX_FOR_DEBIAN curves_[LOSS_RAD].first->setSymbol(symbol); +#else + curves_[LOSS_RAD].first->setSymbol(&symbol); +#endif curves_[LOSS_RAD].first->setCurveAttribute( functor_traits::attribute); curves_[LOSS_RAD].second = false; @@ -801,7 +878,11 @@ curves_[ZEROS].first = new MarkedCurve; curves_[ZEROS].first->setPen(functor_traits::pen); curves_[ZEROS].first->setStyle(functor_traits::style); +#ifndef Qwt6_FAST_FIX_FOR_DEBIAN curves_[ZEROS].first->setSymbol(symbol); +#else + curves_[ZEROS].first->setSymbol(&symbol); +#endif curves_[ZEROS].first->setCurveAttribute( functor_traits::attribute); curves_[ZEROS].second = false; @@ -811,7 +892,11 @@ curves_[POLES].first = new MarkedCurve; curves_[POLES].first->setPen(functor_traits::pen); curves_[POLES].first->setStyle(functor_traits::style); +#ifndef Qwt6_FAST_FIX_FOR_DEBIAN curves_[POLES].first->setSymbol(symbol); +#else + curves_[POLES].first->setSymbol(&symbol); +#endif curves_[POLES].first->setCurveAttribute( functor_traits::attribute); curves_[POLES].second = false; @@ -838,7 +923,11 @@ double* y = new double [data.second.size()]; std::copy(data.second.begin(), data.second.end(), y); +#ifndef Qwt6_FAST_FIX_FOR_DEBIAN curves_[f].first->setData(x, y, +#else + curves_[f].first->setSamples(x, y, +#endif data.first.size() < data.second.size() ? data.first.size() : data.second.size() debian/patches/compile_flags.patch0000644000000000000000000000257111624775415014463 0ustar Description: Compilation flags now controlled directly by CMake variables. The upstream CMakeLists.txt always adds debug symbols to the final binaries, this patch fixes that behaviour setting the right flags using CMake variables. Forwarded: yes (applied since revision 39 on upstream SVN) Author: Simone Rossetto Last-Update: 2011-08-11 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,14 @@ CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/" ) -set( CMAKE_BUILD_TYPE "Release" ) + +if(NOT CMAKE_BUILD_TYPE) + set(CMAKE_BUILD_TYPE "Release") +endif(NOT CMAKE_BUILD_TYPE) + +if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug" AND NOT CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo") + add_definitions(-DQT_NO_DEBUG_OUTPUT) +endif(NOT CMAKE_BUILD_TYPE STREQUAL "Debug" AND NOT CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo") set( PROJECT_VERSION_MAJOR 2 ) set( PROJECT_VERSION_MINOR 0 ) @@ -27,8 +34,7 @@ configure_file("${PROJECT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in" "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake" IMMEDIATE @ONLY) add_custom_target(uninstall "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake") -add_definitions( -ansi -Wall -O0 -g ) -# add_definitions( -ansi -Wall -O2 ) +add_definitions( -ansi -Wall ) add_definitions( -DPACKAGE_NAME="${PACKAGE_NAME}" -DPACKAGE_VERSION="${PACKAGE_VERSION}" debian/patches/series0000644000000000000000000000007011737360023012031 0ustar compile_flags.patch libqwt6_fix.patch gcc-4.7_fix.patch debian/watch0000644000000000000000000000007711546277450010236 0ustar version=3 http://sf.net/qsapecng/QSapecNG-(.*)-source\.tar\.gz debian/changelog0000644000000000000000000000514111737360155011051 0ustar qsapecng (2.0.0-5) unstable; urgency=low * Fixed "ftbfs with GCC-4.7" adding a "this" pointer. (Closes: #667342) * Updated the debian/copyright file: - converted the Comment field of the public-domain license for the file rpoly.cpp to the paragraph of the license itself (this fixes the the lintian warning missing-license-paragraph-in-dep5-copyright). - changed the Format url from dep5 to 1.0. * Updated debian/control Standards-Version to 3.9.3. -- Simone Rossetto Thu, 05 Apr 2012 20:11:49 +0200 qsapecng (2.0.0-4) unstable; urgency=low * added a DM-Upload-Allowed: yes field in debian/control -- Georges Khaznadar Sun, 06 Nov 2011 21:01:32 +0100 qsapecng (2.0.0-3) unstable; urgency=low * fixed a typo in debian/rules "rm -dfr" => "rm -fr". Closes: #642675 * added a set of files to clean, probably due to some mistake in upstream clean routines; added a clean instruction for src/libqwt6_fix.h -- Georges Khaznadar Mon, 26 Sep 2011 07:35:42 +0200 qsapecng (2.0.0-2) unstable; urgency=low * Fixed "FTBFS: obsolete build dependency libqwt5-qt4-dev". Removed from debian/control obsolete libqwt5-qt4-dev dependency. (Closes: #638365) * Fixed the lintian warning "embedded-javascript-library" due to the file jquery.js previously included in the qsapecng-doc package. That file has been substituted with a symlink to the file installed with the package libjs-jquery. * Added libjs-jquery as a dependency for the qsapecng-doc package. -- Simone Rossetto Sat, 20 Aug 2011 19:59:06 +0200 qsapecng (2.0.0-1) unstable; urgency=low * New upstream release. * Updated debian/control: - changed Standards-Version to 3.9.2. - changed Build-Depends for Qwt libraries: libqwt5-qt4-dev | libqwt-dev. - changed Description to reflect the original one in the upstream README. * Removed unneeded compile flags (compile_flags.patch): debug symbols were always added to the final binaries even in the 'Release' target. * Solved incompatibility with Qwt version 6 (libqwt6_fix.patch). -- Simone Rossetto Thu, 11 Aug 2011 21:15:50 +0200 qsapecng (1.2.2-1) unstable; urgency=low * Initial release. (Closes: #609218) * Added a notice to the file src/functor/rpoly.cpp in order to release that file under a Public Domain-like license. The permission has been granted with an e-mail sent by the author of rpoly.cpp. See the file README.rpoly for more information. -- Simone Rossetto Sat, 02 Apr 2011 11:09:17 +0200 debian/copyright0000644000000000000000000001431411737111516011127 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: qsapecng Upstream-Contact: Michele Caini Source: http://qsapecng.sourceforge.net/ Files: * Copyright: 2009, Michele Caini License: GPL-3.0+ Files: debian/* Copyright: 2010, Simone Rossetto License: GPL-3.0+ Files: cmake/Modules/FindQwt5.cmake Copyright: 2007, Pau Garcia i Quiles License: BSD-3-Clause Files: src/functor/rpoly.cpp Copyright: 2000, C. Bond License: public-domain This software is offered freely and without restriction. This notice has been added to the file rpoly.cpp with the permission of the author in order to release that file under a Public Domain-like license. The permission has been granted with these two e-mails: . -----(1)---------------------------------------------------------------------- Date: Sun, 30 Jan 2011 10:52:42 +0100 From: Simone Rossetto To: crb@crbond.com . Hello, I'm packaging for Debian the software QSapecNG http://qsapecng.sourceforge.net/ which uses your rpoly.cpp file. The software cannot be put on Debian's main repository because your file has no license information in the header. . On your website I found that "All downloadable software is offered freely and without restriction". I'm writing you to ask if you can add a sentence like that ("This software is offered freely...") to the header of rpoly.cpp file (which put that file under Public Domain) or if you can release that file under a GPL-compatible license http://www.gnu.org/licenses/license-list.html#GPLCompatibleLicenses adding to the header the proper notice. . . Thank you very much, best regards Simone . . -----(2)---------------------------------------------------------------------- Date: Sun, 30 Jan 2011 09:35:24 -0700 (GMT-07:00) From: "C. Bond" To: Simone Rossetto Subject: Re: License for rpoly.cpp file . Hi Simone, . Thanks for your interest in rpoly.cpp. . I have placed rpoly.cpp completely in the public domain. That means there are no restrictions whatsoever in its use by others. You may use or modify it in any way that suits your purposes. I do not require any citations or acknowledgmentsI It may also be repackaged or bundled with other software. . If any bugs or performance problems are discovered, I will try to correct them, so please notify me if any are found. . Some of the software on my website carry weak copyright notices, but they are only there to limit proliferation during early, debug stages of development. . Best regards and good luck, . C. R. Bond, crb@crbond.com . P.S. These permissions for unrestricted use allow you to place any notices of your choice into the versions of rpoly.cpp that you distribute. Files: src/gui/qtsolutions/qtpropertyeditor/qt*.h src/gui/qtsolutions/qtpropertyeditor/qt*.cpp Copyright: 2009 Nokia Corporation and/or its subsidiary(-ies) License: LGPL-2.1+ or GPL-3.0+ License: GPL-3.0+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". License: BSD-3-Clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. License: LGPL-2.1+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU Lesser General Public License can be found in "/usr/share/common-licenses/LGPL-2.1". debian/compat0000644000000000000000000000000211546277446010404 0ustar 7 debian/qsapecng.manpages0000644000000000000000000000002211546277447012517 0ustar debian/qsapecng.1 debian/qsapecng-doc.doc-base0000644000000000000000000000050011546277447013145 0ustar Document: qsapecng Title: QSapecNG User Manual Author: Michele Caini Abstract: This manual describes what QSapecNG is and how it can be used to draw, solve and analyze analog circuits. Section: Science/Electronics Format: HTML Index: /usr/share/doc/qsapecng/html/index.html Files: /usr/share/doc/qsapecng/html/*.html debian/qsapecng.install0000644000000000000000000000016211546277447012377 0ustar usr/bin/qsapecng usr/share/applications/qsapecng.desktop usr/share/icons/ src/gui/images/*.xpm usr/share/pixmaps/ debian/NEWS0000644000000000000000000000104211617572150007667 0ustar qsapecng (2.0.0-1) unstable; urgency=low This new release has the full support for sub-circuits that can now be created, saved, reopened and added as part of other circuits. This functionality offers great flexibility for large and complex circuits, in particular when a small portion of the circuit is repeated many times: the small portion can be created and saved as a stand-alone circuit and then added wherever needed in the bigger circuit. -- Simone Rossetto Sun, 17 Jul 2011 11:25:10 +0200