1. URL of source changed http://rhig.physics.yale.edu/~ullrich/software/xyscan/Distributions/3.33/xyscan-3.33-src.tar.gz
2. I can't build the package without qt5-multimedia
$ namcap xyscan-3.3.3-1-x86_64.pkg.tar.xz
...
xyscan E: Dependency qt5-multimedia detected and not included (libraries ['usr/lib/libQt5Multimedia.so.5'] needed in files ['usr/bin/xyscan'])
Search Criteria
Package Details: xyscan 3.3.3-1
Package Actions
| Package Base: | xyscan |
|---|---|
| Description: | Tool to extract data points from graphical plots |
| Upstream URL: | http://star.physics.yale.edu/~ullrich/xyscanDistributionPage/ |
| Category: | science |
| Licenses: | |
| Submitter: | bunder |
| Maintainer: | bunder |
| Last Packager: | bunder |
| Votes: | 3 |
| First Submitted: | 2010-01-15 14:27 |
| Last Updated: | 2014-10-26 20:24 |
Dependencies (1)
- qt5-base>=5.2.0
Required by (0)
Sources
- http://star.physics.yale.edu/~ullrich/xyscanDistributionPage/3.33/xyscan-3.33-src.tar.gz
- xyscan-3.3.3-docs.patch
- xyscan.desktop
Latest Comments
Comment by sirocco
Comment by senjin
Thank you, now it works. Sorry I forgot to thank you earlier.
Comment by bunder
Thank you! Fixed.
Comment by senjin
I can't compile the program – see the errors below. I guess it's related to some missing qt package, but I don't have time to work on a solution right now.
In file included from main.cpp:15:0:
xyscanWindow.h:16:23: fatal error: QMainWindow: No such file or directory
#include <QMainWindow>
^
compilation terminated.
Makefile:1144: recipe for target 'main.o' failed
make: *** [main.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from xyscanWindow.cpp:19:0:
xyscanWindow.h:16:23: fatal error: QMainWindow: No such file or directory
#include <QMainWindow>
^
compilation terminated.
Makefile:1466: recipe for target 'xyscanWindow.o' failed
make: *** [xyscanWindow.o] Error 1
In file included from xyscanAbout.cpp:13:0:
xyscanAbout.h:18:28: error: invalid use of incomplete type ‘class QDialog’
class xyscanAbout : public QDialog
^
In file included from /usr/include/qt/QtGui/qevent.h:45:0,
from /usr/include/qt/QtGui/qaccessible.h:57,
from /usr/include/qt/QtGui/QtGui:4,
from xyscanAbout.h:16,
from xyscanAbout.cpp:13:
/usr/include/qt/QtGui/qwindowdefs.h:57:7: error: forward declaration of ‘class QDialog’
class QDialog;
^
In file included from xyscanAbout.cpp:13:0:
xyscanAbout.h:30:5: error: ‘QFrame’ does not name a type
QFrame* mLine;
^
xyscanAbout.h:31:5: error: ‘QPushButton’ does not name a type
QPushButton* mButtonLicense;
^
xyscanAbout.h:32:5: error: ‘QPushButton’ does not name a type
QPushButton* mButtonOk;
^
xyscanAbout.h:33:5: error: ‘QLabel’ does not name a type
QLabel* mTitlePixmapLabel;
^
xyscanAbout.h:34:5: error: ‘QHBoxLayout’ does not name a type
QHBoxLayout* mButtonLayout;
^
xyscanAbout.h:35:5: error: ‘QVBoxLayout’ does not name a type
QVBoxLayout* mLayout;
^
xyscanAbout.cpp: In constructor ‘xyscanAbout::xyscanAbout(QWidget*, Qt::WindowFlags)’:
xyscanAbout.cpp:20:7: error: type ‘QDialog’ is not a direct base of ‘xyscanAbout’
: QDialog(parent, fl),
^
xyscanAbout.cpp:24:18: error: ‘setModal’ was not declared in this scope
setModal(true);
^
xyscanAbout.cpp:43:5: error: ‘mTitlePixmapLabel’ was not declared in this scope
mTitlePixmapLabel = new QLabel(this);
^
xyscanAbout.cpp:43:29: error: expected type-specifier before ‘QLabel’
mTitlePixmapLabel = new QLabel(this);
^
xyscanAbout.cpp:43:29: error: expected ‘;’ before ‘QLabel’
xyscanAbout.cpp:58:5: error: ‘mLine’ was not declared in this scope
mLine = new QFrame(this);
^
xyscanAbout.cpp:58:17: error: expected type-specifier before ‘QFrame’
mLine = new QFrame(this);
^
xyscanAbout.cpp:58:17: error: expected ‘;’ before ‘QFrame’
xyscanAbout.cpp:60:26: error: ‘QFrame’ has not been declared
mLine->setFrameShape(QFrame::HLine);
^
xyscanAbout.cpp:61:27: error: ‘QFrame’ has not been declared
mLine->setFrameShadow(QFrame::Sunken);
^
xyscanAbout.cpp:66:5: error: ‘mButtonOk’ was not declared in this scope
mButtonOk = new QPushButton(this);
^
xyscanAbout.cpp:66:21: error: expected type-specifier before ‘QPushButton’
mButtonOk = new QPushButton(this);
^
xyscanAbout.cpp:66:21: error: expected ‘;’ before ‘QPushButton’
xyscanAbout.cpp:70:5: error: ‘mButtonLicense’ was not declared in this scope
mButtonLicense = new QPushButton(this);
^
xyscanAbout.cpp:70:26: error: expected type-specifier before ‘QPushButton’
mButtonLicense = new QPushButton(this);
^
xyscanAbout.cpp:70:26: error: expected ‘;’ before ‘QPushButton’
xyscanAbout.cpp:76:39: error: ‘setWindowTitle’ was not declared in this scope
setWindowTitle(tr( "About xyscan"));
^
xyscanAbout.cpp:77:29: error: ‘setSizeGripEnabled’ was not declared in this scope
setSizeGripEnabled(false);
^
xyscanAbout.cpp:78:20: error: ‘setFixedWidth’ was not declared in this scope
setFixedWidth(w);
^
xyscanAbout.cpp:83:5: error: ‘QSpacerItem’ was not declared in this scope
QSpacerItem* spacer = new QSpacerItem (300,20, QSizePolicy::Expanding, QSizePolicy::Minimum );
^
xyscanAbout.cpp:83:18: error: ‘spacer’ was not declared in this scope
QSpacerItem* spacer = new QSpacerItem (300,20, QSizePolicy::Expanding, QSizePolicy::Minimum );
^
xyscanAbout.cpp:83:31: error: expected type-specifier before ‘QSpacerItem’
QSpacerItem* spacer = new QSpacerItem (300,20, QSizePolicy::Expanding, QSizePolicy::Minimum );
^
xyscanAbout.cpp:83:31: error: expected ‘;’ before ‘QSpacerItem’
xyscanAbout.cpp:84:5: error: ‘mButtonLayout’ was not declared in this scope
mButtonLayout = new QHBoxLayout;
^
xyscanAbout.cpp:84:25: error: expected type-specifier before ‘QHBoxLayout’
mButtonLayout = new QHBoxLayout;
^
xyscanAbout.cpp:84:25: error: expected ‘;’ before ‘QHBoxLayout’
xyscanAbout.cpp:93:2: error: ‘mLayout’ was not declared in this scope
mLayout = new QVBoxLayout(this);
^
xyscanAbout.cpp:93:16: error: expected type-specifier before ‘QVBoxLayout’
mLayout = new QVBoxLayout(this);
^
xyscanAbout.cpp:93:16: error: expected ‘;’ before ‘QVBoxLayout’
xyscanAbout.cpp:100:40: error: ‘setFixedSize’ was not declared in this scope
setFixedSize(mLayout->minimumSize());
^
xyscanAbout.cpp:105:64: error: ‘connect’ was not declared in this scope
connect( mButtonOk, SIGNAL(clicked()), this, SLOT(accept()));
^
xyscanAbout.cpp: In member function ‘void xyscanAbout::accept()’:
xyscanAbout.cpp:115:10: error: ‘hide’ was not declared in this scope
hide();
^
xyscanAbout.cpp: In member function ‘void xyscanAbout::license()’:
xyscanAbout.cpp:123:26: error: ‘mTitlePixmapLabel’ was not declared in this scope
palette.setColor(mTitlePixmapLabel->backgroundRole(), Qt::white);// white background
^
xyscanAbout.cpp:125:9: error: ‘mButtonLicense’ was not declared in this scope
mButtonLicense->setText(tr("Title && &Version"));
^
xyscanAbout.cpp:145:9: error: ‘mTitlePixmapLabel’ was not declared in this scope
mTitlePixmapLabel->setPixmap(mTitlePixmap);
^
xyscanAbout.cpp:146:9: error: ‘mButtonLicense’ was not declared in this scope
mButtonLicense->setText(tr("&License"));
^
xyscanAbout.cpp:149:12: error: ‘update’ was not declared in this scope
update();
^
Makefile:1770: recipe for target 'xyscanAbout.o' failed
make: *** [xyscanAbout.o] Error 1