The Desktop Edition 0.4 is broken on Xubuntu 10.04 Lucid.
First, the compilation fails as indicated in this post . It would be nice if this fix---adding '#include <QVariant>' in the file optionwindow.cpp---could be released, as it is a real turn-off when security application fails to build.
Second, please indicate in 'build.txt' at the end:
"Step 4: Run make and make install"
This may be obvious to some, but it required some deduction from my side.
Third, it is equally disheartening that the compilation proceeds, after applying the hack above, with a lot of warnings, such as "shared/hasher.cpp:284: warning: unused parameter ‘algo’" or "leet.cpp:68: warning: deprecated conversion from string constant to ‘char*’". I am attaching the full build log.
Fourth, the application simply fails to generate the password. I inserted
Using text: passwordmaker.org
Generated pass: ERROR!ERROR!ERROR
Fifth, and this is minor, the string 'Confrimation' should read 'Confirmation'.
Sixth, please add 'install' and 'uninstall' targets in the Makefile. People should be able to install/uninstall the compiled binary. Now the following fails: [email protected]
:/home/liv/Build/passwordmaker-desktop-0.4-src# make install
make: Nothing to be done for `install'.
Seventh, when using mHash the compilation also fails: [email protected]
:/home/liv/Build/passwordmaker-desktop-0.4-src# qmake USE_MHASH=1[email protected]
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -DUSE_QT -DUSE_MHASH -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4 -Irelease -o release/hasher.o shared/hasher.cpp
shared/hasher.cpp: In constructor ‘Hasher::Hasher(QObject*)’:
shared/hasher.cpp:94: error: class ‘Hasher’ does not have any field named ‘script’
shared/hasher.cpp: At global scope:
shared/hasher.cpp:191: warning: unused parameter ‘hmac_sha256_bug’
shared/hasher.cpp:284: warning: unused parameter ‘hmac_sha256_bug’
make: *** [release/hasher.o] Error 1
I am looking into packaging PasswordMaker Desktop for Ubuntu via a PPA, but before proceeding I would like to know whether the issues above could be addressed. I'm using Xubuntu 10.04 with Qt 4.6.2 and mHash 0.9.9.9.