Commit 558afdbe authored by Stefan Gerlach's avatar Stefan Gerlach

initial import

parents
project(LabPlot)
find_package(KDE4 REQUIRED)
include_directories( ${KDE4_INCLUDES} )
add_definitions ('-DLVERSION=\"2.0.0.alpha1\"')
### GSL ######################################
FIND_LIBRARY(GSL_LIBRARIES gsl
PATHS
/usr/lib
/usr/local/lib
)
FIND_LIBRARY (GSL_CBLAS_LIBRARIES gslcblas
PATHS
/usr/lib
/usr/local/lib
)
FIND_PATH (GSL_INCLUDE_DIR gsl_multimin.h
/usr/include/gsl
/usr/local/include/gsl
)
FIND_PROGRAM (GSL_CONFIG gsl-config
/usr/bin
/usr/local/bin
)
IF (GSL_CONFIG)
EXEC_PROGRAM (${GSL_CONFIG} ARGS "--version" OUTPUT_VARIABLE gsl_version)
SET (GSL_VERSION ${gsl_version} CACHE STRING "GNU Scientific Library Version")
ENDIF (GSL_CONFIG)
IF (GSL_LIBRARIES AND GSL_CBLAS_LIBRARIES AND GSL_INCLUDE_DIR)
SET (GSL_FOUND TRUE)
ELSE (GSL_LIBRARIES AND GSL_CBLAS_LIBRARIES AND GSL_INCLUDE_DIR)
SET (GSL_FOUND FALSE)
ENDIF (GSL_LIBRARIES AND GSL_CBLAS_LIBRARIES AND GSL_INCLUDE_DIR)
IF (GSL_FOUND)
MESSAGE (STATUS "Found GNU Scientific Library ${GSL_VERSION}: ${GSL_INCLUDE_DIR} ${GSL_LIBRARIES};${GSL_CBLAS_LIBRARIES}")
add_definitions ('-DHAVE_GSL=1')
# TODO : set version ?
add_definitions ('-DGSL_VERSION='GSL_VERSION)
ELSE (GSL_FOUND)
MESSAGE (STATUS "GNU Scientific Library not found. "
"LabPlot will be build without GSL suppot.")
ENDIF (GSL_FOUND)
### HDF5 #####################################
FIND_LIBRARY(HDF5_LIBRARY
NAMES hdf5
)
IF(HDF5_LIBRARY)
MESSAGE ("-- Found HDF5 library: ${HDF5_LIBRARY}" )
add_definitions ('-DHAVE_HDF5=1')
ELSE(HDF5_LIBRARY)
MESSAGE ("-- HDF5 library NOT FOUND!" )
SET(HDF5_LIBRARY "")
ENDIF(HDF5_LIBRARY)
### NETCDF #####################################
FIND_LIBRARY(NETCDF_LIBRARY
NAMES netcdf
)
IF(NETCDF_LIBRARY)
MESSAGE ("-- Found NETCDF library: ${NETCDF_LIBRARY}" )
add_definitions ('-DHAVE_NETCDF=1')
ELSE(NETCDF_LIBRARY)
MESSAGE ("-- NETCDF library NOT FOUND!" )
SET(NETCDF_LIBRARY "")
ENDIF(NETCDF_LIBRARY)
### CDF #####################################
FIND_LIBRARY(CDF_LIBRARY
NAMES cdf
)
IF(CDF_LIBRARY)
MESSAGE ("-- Found CDF library: ${CDF_LIBRARY}" )
add_definitions ('-DHAVE_CDF=1')
ELSE(CDF_LIBRARY)
MESSAGE ("-- CDF library NOT FOUND!" )
SET(CDF_LIBRARY "")
ENDIF(CDF_LIBRARY)
### OPJ #####################################
FIND_LIBRARY(OPJ_LIBRARY
NAMES origin
)
IF(OPJ_LIBRARY)
MESSAGE ("-- Found liborigin library: ${OPJ_LIBRARY}" )
ELSE(OPJ_LIBRARY)
MESSAGE ("-- System OPJ library not found! Using included version." )
add_subdirectory(liborigin)
SET(OPJ_LIBRARY "-L../liborigin/lib/ -lorigin")
ENDIF(OPJ_LIBRARY)
##############################################
add_subdirectory(src)
install( FILES src/LabPlotui.rc labplot.png
DESTINATION ${DATA_INSTALL_DIR}/LabPlot )
2008-03-03 released 2.0.0.alpha1
2008-02-17 worksheet, plots and axes
2008-02-08 column dialog
2008-02-05 project dialog
2008-02-03 menus
2008-02-02 basic opj import
2008-02-01 netcdf,cdf import
2008-01-30 prepared cdf, netcdf import
2008-01-29 hdf5 import
2008-01-28 binary file import
2008-01-23 import compressed data
2008-01-21 hide import options
2008-01-20 import options
2008-01-16 worksheet class
2008-01-06 added splash screen
update logo
2007-12-20 started project LabPlot 2.0.0
--------------------------------------------------------------------
compile :
# ./build
# make install
TODO file of LabPlot:
***********************
##############################################################################################################
* Translations :
en/de : Stefan Gerlach English/Deutsch English/German
fr : Pascal Pirotte Français French
sv : Peter Landgren Svenska Swedisch
it : Gabriele Modena, Davide Setti Italiano Italian
pl : Monika Olasek Polski Polish
br : Narcizo Marques Português-Brasileiro Portuguese-Brazilian
es : Jos Antonio Lorenzo Fernandez Español Spanish
nl : Rinse de Vries Nederlands Dutch
lt : Andrius tikonas Lietuvi Lithuanian
zh : Roy Hu Traditional Chinese
ru : <unmaintained>
##############################################################################################################
RELEASE :
* update LabPlot.spec, build-LabPlot.sh, BUGFIXES
* README/FEATURES/CHANGES
* po/ Update
* doxygen -> doc/html/
* doc/en/index.docbook (Handbook)
-------------------------------------------------------------------------------------
##############################################################################################################
LabPlot 2.0.0: (see also WISHLIST)
*************
-> start a new project and add features step by step
BUGS:
Import dialog : set "OK" as default button
Import dialog : not resized if options hidden
Import dialog : file info with nonexisting file hangs in KMessageBox::sorry()
Import dialog : compressed data shows no progress
config settings not always used ? (function dialog)
message boxes sometimes hang the application
progress dialog can not be canceled
TODO :
******
-------------------------------------------------------------------------
* create parser.tab.c with cmake
"bison parser.y"
* use numinputs in import dialog (when ok)
* check functions.h, constants.h
* Import Dialog
Options
same first column
Formats
advanced opj
magick (images)
audio
database (kexi ?)
file info dialog
* Print
Worksheet::setupPrinter();
* use GSL (functions.h)
* GSL_VERSION ?
labelWidget(): title dialog, function dialog
-------------------------------------------------------------------------
add function to spreadsheet
XX Worksheet
legend dialog
title dialog
saveSettings
axes dialog
set dialog
draw other symbols
draw other styles
Settings dialog
plot dialog
worksheet dialog
XX Function Dialog
style/symbol
update sheetcb after apply
other plot types
save/load settings
Spreadsheet
column dialog on double click
new column on click (empty header)
Menu (also in MainWin)
add column
export dialog
ascii
binary
hdf5
magick
cdf
audio
kexi(?)
sort
fill
Plot -> type ..
...
Plots
surface
qwt plot
3d ?
Project explorer
MainWin
Print Preview (see Qt textedit demo)
Export to eps, svg, ...
open
save, save as
analysis functions
Scripting (Workbench ?)
dynamic menus (sheets + graphs)
...
##############################################################################################################
NEW FEATURES :
* independent/different y axes
* option to disconnect y2,x2 axes ?
* Undo/Redo support
-> libundo
U CRASH : menu after undo
* in Worksheet
* TODO : MainWin::redoAction()
-> History of actions? Can also be used to save all action ("Replay")
"class History"
How to ...
* Categorical x-axis (also y-axis ?) -> see mails
* custom ticks (position & label)
* parametric plot
* (XY(t)). ( using scripting ? )
* from function (y(t) vs x(t))
* multiple regions
* shown/ not shown in print
* with background color
* contraints for fit parameter
-> fix values in iteration loop or use ool ? : see msg00411
* data dialog has the same functions as the import dialog
-> merge into import dialog
* mask matrix data :
* mask single points
* check plotting from spreadsheet
* 2d surface plot
* mask data with mouse (maskPlot)
* check mask in graphlist
* connect to octave/scilab, etc.
* It will help enormously if one could drive Labplot from Octave (or
other numerical language) and interact with Labplot using some form of
RPC. I know that Labplot supports Qt scripting interface. Has anyone
created Labplot bindings for Octave or similar packages??
* One thing i just missed is a search field for headers from a spreadsheet as
data source when adding a new graph.
I created a new empty graph/ 2D plot and started adding data to plot. Because
there are so many columns, it would help a lot if there would be some search
field to filter the columns with data to plot.
-> filter for spreadsheet column names in AddGraphDialog.cc
* improve graph list
* set all line styles to same style
* set all symbols to same symbol
* set line/symbol width/size for all graphs
* limit drawing of symbols in legend to legend box
* data mode
* jump in data point steps (configure steps)
Worksheet::keyPressEvent()
* select plot for data mode
* support new liborigin features -> see qtiplot/importOPJ.cpp
* import graphs
* axes
* tic format & style
* axes label style
* import function
* texts (special label)
* use opj.curveLineConnect(g,l,c)
* legend
##############################################################################################################
* CMAKE :
-> see cmake-2.4.6/Source/CTest/Curl/CmakeLists.txt
* check for used libs
gsl : VERSION, HAVE_GSL14, etc.
MAJOR : gsl-config --version | sed -e 's/^\([0-9]*\).*/\1/'
MINOR : gsl-config --version | sed 's/^\([0-9]*\)\.\{0,1\}\([0-9]*\).*/\2/'
EXECUTE_PROCESS(...)
STRING(REGEX REPLACE ".([bd])." "[\\1]" RESULT "a(b)c(d)e")
-> REPLACE ALL "."?
? -> STRING(REGEX MATCH "(?)\." "[\\1]" RESULT GSL_VERSION)
./cmake-2.4.6/Tests/ComplexRelativePaths/CMakeLists.txt
or STRING(COMPARE) ?
IF("${GSL_MAJOR_VERSION}.${GSL_MINOR_VERSION}" GREATER 1.5)
qwtplot3d
ImageMagick
textvc
pstoedit
netcdf
cdf
hdf5
qhull
audiofile
...
* add options "-disable-qwtplot3d", etc.
OPTION(OPTION_VAR "help string describing option"
[initial value])
* include all subdirs
* install
* uninstall -> see cmake FAQ
* Qt/KDE 4 :
* qt3to4
* kdeconfig -> kde4-config
* ./configure --with-qt-dir=/home/kde4/qt
* libqt-mt -> libQtCore, etc.
This diff is collapsed.
DIR=LabPlot-2.0.0
cd
tar zcf "$DIR.tar.gz" $DIR
scp "$DIR.tar.gz" linux:/sw/
rm "$DIR.tar.gz"
cd -
cmake . -DCMAKE_INSTALL_PREFIX=/usr
rm -rf CMakeFiles CMakeTmp src/CMakeFiles
rm -f Makefile CMakeCache.txt cmake_install.cmake cmake_uninstall.cmake install_manifest.txt
rm -f src/LabPlot src/LabPlot.shell src/moc_* src/LabPlot_automoc.cpp src/LabPlot_automoc.cpp.files src/cmake_install.cmake
labplot.png

73.4 KB

liborigin-20071119/
\ No newline at end of file
# This is the CMakeCache file.
# For build in directory: /root/LabPlot-2.0.0/liborigin
# It was generated by CMake: /usr/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUI's for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.
########################
# EXTERNAL cache entries
########################
//Path to a program.
CMAKE_AR:FILEPATH=/usr/bin/ar
//For backwards compatibility, what version of CMake commands and
// syntax should this version of CMake allow.
CMAKE_BACKWARDS_COMPATIBILITY:STRING=2.4
//Choose the type of build, options are: None(CMAKE_CXX_FLAGS or
// CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.
//
CMAKE_BUILD_TYPE:STRING=
//Enable/Disable color output during build.
CMAKE_COLOR_MAKEFILE:BOOL=ON
//CXX compiler.
CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++
//Flags used by the compiler during all build types.
CMAKE_CXX_FLAGS:STRING=' '
//Flags used by the compiler during debug builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=-g
//Flags used by the compiler during release minsize builds.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
//Flags used by the compiler during release builds (/MD /Ob1 /Oi
// /Ot /Oy /Gs will produce slightly less optimized but smaller
// files).
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
//Flags used by the compiler during Release with Debug Info builds.
//
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g
//C compiler.
CMAKE_C_COMPILER:FILEPATH=/usr/bin/gcc
//Flags for C compiler.
CMAKE_C_FLAGS:STRING='-O2 '
//Flags used by the compiler during debug builds.
CMAKE_C_FLAGS_DEBUG:STRING=-g
//Flags used by the compiler during release minsize builds.
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
//Flags used by the compiler during release builds (/MD /Ob1 /Oi
// /Ot /Oy /Gs will produce slightly less optimized but smaller
// files).
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
//Flags used by the compiler during Release with Debug Info builds.
//
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g
//Flags used by the linker.
CMAKE_EXE_LINKER_FLAGS:STRING=
//Flags used by the linker during debug builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during release minsize builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during release builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during Release with Debug Info builds.
//
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=/usr/local
//Path to a program.
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/gmake
//Flags used by the linker during the creation of modules.
CMAKE_MODULE_LINKER_FLAGS:STRING=
//Flags used by the linker during debug builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during release minsize builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during release builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during Release with Debug Info builds.
//
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Path to a program.
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
//Flags used by the linker during the creation of dll's.
CMAKE_SHARED_LINKER_FLAGS:STRING=
//Flags used by the linker during debug builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during release minsize builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during release builds.
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during Release with Debug Info builds.
//
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//If set, runtime paths are not added when using shared libraries.
//
CMAKE_SKIP_RPATH:BOOL=NO
//If true, cmake will use relative paths in makefiles and projects.
//
CMAKE_USE_RELATIVE_PATHS:BOOL=OFF
//If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console
// during the make. This is useful for debugging only. With Visual
// Studio IDE projects all commands are done without /nologo.
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
//Single output directory for building all executables.
EXECUTABLE_OUTPUT_PATH:PATH=
//Single output directory for building all libraries.
LIBRARY_OUTPUT_PATH:PATH=
//Value Computed by CMake
Project_BINARY_DIR:STATIC=/root/LabPlot-2.0.0/liborigin
//Value Computed by CMake
Project_SOURCE_DIR:STATIC=/root/LabPlot-2.0.0/liborigin
//Dependencies for target
origin_LIB_DEPENDS:STATIC=
########################
# INTERNAL cache entries
########################
//Advanced flag for variable: CMAKE_AR
CMAKE_AR-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_BUILD_TOOL
CMAKE_BUILD_TOOL-ADVANCED:INTERNAL=1
//What is the target build tool cmake is generating for.
CMAKE_BUILD_TOOL:INTERNAL=/usr/bin/gmake
//This is the directory where this CMakeCahe.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=/root/LabPlot-2.0.0/liborigin
//Major version of cmake used to create the current loaded cache
//
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=2
//Minor version of cmake used to create the current loaded cache
//
CMAKE_CACHE_MINOR_VERSION:INTERNAL=4
//Major version of cmake used to create the current loaded cache
//
CMAKE_CACHE_RELEASE_VERSION:INTERNAL=patch 7
//Advanced flag for variable: CMAKE_COLOR_MAKEFILE
CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=/usr/bin/cmake
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest
//Advanced flag for variable: CMAKE_CXX_COMPILER
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
CMAKE_CXX_COMPILER_WORKS:INTERNAL=1
//Advanced flag for variable: CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_C_COMPILER
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
CMAKE_C_COMPILER_WORKS:INTERNAL=1
//Advanced flag for variable: CMAKE_C_FLAGS
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_C_FLAGS_MINSIZEREL
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Path to cache edit program executable.
CMAKE_EDIT_COMMAND:INTERNAL=/usr/bin/ccmake
//Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
//
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
//
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
//Start directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=/root/LabPlot-2.0.0/liborigin
//Install .so files without execute permission.
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=0
//Advanced flag for variable: CMAKE_MAKE_PROGRAM
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
//
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
//
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
//