the Fink project is an effort to port
popular Unix programs to Mac OS X
Info2: <<
Package: qtoctave%type_pkg[-ui]
Version: 0.9.1
Revision: 1006
Type: -ui (-x11 -mac)
Source: http://forja.rediris.es/frs/download.php/1760/%{ni}-%v.tar.bz2
PatchFile: %{ni}.patch
PatchFile-MD5: 652aacdce6c09dcbadcaffc2f330b42c
PatchScript: <<
%{default_script}
perl -pi -e "s,qtinfo,qtoctave-info,g" src/scripts_octave/qtinfo.m
<<
Depends: <<
qt4-base%type_pkg[-ui]-qtcore-shlibs (>= 4.7.3-1),
qt4-base%type_pkg[-ui]-qtgui-shlibs (>= 4.7.3-1),
qt4-base%type_pkg[-ui]-qtnetwork-shlibs (>= 4.7.3-1),
qt4-base%type_pkg[-ui]-qtscript-shlibs (>= 4.7.3-1),
qt4-base%type_pkg[-ui]-qtsql-shlibs (>= 4.7.3-1),
qt4-base%type_pkg[-ui]-qtsvg-shlibs (>= 4.7.3-1),
qt4-base%type_pkg[-ui]-qtxml-shlibs (>= 4.7.3-1)
<<
BuildDepends: <<
cmake (>= 2.6.1-2),
fink (>= 0.24.12-1),
qt4-base%type_pkg[-ui] (>= 4.7.3-1),
(type_pkg[-ui] = -x11) x11-dev
<<
Suggests: octave | octave-atlas
Conflicts: qtoctave-x11, qtoctave-mac
Replaces: qtoctave (<< 0.7.4-1006), qtoctave-x11, qtoctave-mac
Maintainer: Jack Fink
Homepage: http://qtoctave.wordpress.com
License: GPL
Description: Graphical frontend for octave, uses Qt4
GCC: 4.0
Source-MD5: a15edc82c6780dc3764052b04bf902f0
CompileScript: <<
#!/bin/bash -ev
export PATH=%p/lib/qt4%type_pkg[-ui]/bin:$PATH
%p/bin/cmake -DCMAKE_INSTALL_PREFIX=%p .
make
<<
InstallScript: make -j1 install DESTDIR=%d && mv %i/bin/qtinfo %i/bin/qtoctave-info
DocFiles: LICENSE_GPL.txt:COPYING readme.txt:README
DescDetail: <<
QtOctave is a front-end for Octave. Octave is a high-level language, primarily
intended for numerical computations like Matlab. QtOctave tries, using menus
and forms, to make Octave easier to operate.
QtOctave:
* Makes Octave easy.
* Contains a help finder system.
* Contains dynamic help: You write and QtOctave shows help about written
commands.
* Deals with matrices as spreadsheets.
* xmlwidget: Creates windows from Octave easily. xmlwidget can build windows
from almost any programming language.
* Users can create their own menus!!
Note: The Aqua variant lacks the top menubar. It also doesn't quit gracefully.
<<
<<
diff -Nurd -x'*~' qtoctave-0.9.1.orig/CMakeLists.txt qtoctave-0.9.1/CMakeLists.txt
--- qtoctave-0.9.1.orig/CMakeLists.txt 2010-01-25 08:19:48.000000000 -0500
+++ qtoctave-0.9.1/CMakeLists.txt 2011-06-15 04:28:28.000000000 -0400
@@ -28,13 +28,13 @@
include(UseQt4)
-if( NOT ${QT_VERSION_MAJOR} EQUAL 4 OR NOT ${QT_VERSION_MINOR} EQUAL 6 )
+if( NOT ${QT_VERSION_MAJOR} EQUAL 4 OR NOT ${QT_VERSION_MINOR} EQUAL 7 )
MESSAGE (FATAL_ERROR
- "Qt version 4.6 required.\n"
+ "Qt version 4.7 required.\n"
"Qt version installed is: ${QT_VERSION_MAJOR}.${QT_VERSION_MINOR}\n"
"Please install required version.\n"
)
-endif( NOT ${QT_VERSION_MAJOR} EQUAL 4 OR NOT ${QT_VERSION_MINOR} EQUAL 6 )
+endif( NOT ${QT_VERSION_MAJOR} EQUAL 4 OR NOT ${QT_VERSION_MINOR} EQUAL 7 )
add_subdirectory (qtoctave_pkg/src)
add_subdirectory (xmlwidget/qt4)