The package as is, is broken
The build fails with
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
build fail same.
and i find a issue & fix for it in upsteam
https://github.com/soramimi/Guitar/issues/69
but seems like the upsteam not release a new version for this.
the error is :
../src/texteditor/TextEditorWidget.cpp: In member function ‘void TextEditorWidget::paintScreen(QPainter*)’:
../src/texteditor/TextEditorWidget.cpp:327:29: error: reference to ‘screen’ is ambiguous
327 | Character const *line = &screen()->at(o);
| ^~~~~~
In file included from ../src/texteditor/TextEditorWidget.h:9,
from ../src/texteditor/TextEditorWidget.cpp:1:
../src/texteditor/AbstractCharacterBasedApplication.h:237:32: note: candidates are: ‘const std::vector<AbstractCharacterBasedApplication::Character>* AbstractCharacterBasedApplication::scree n() const’
237 | std::vector<Character> const *screen() const;
| ^~~~~~
../src/texteditor/AbstractCharacterBasedApplication.h:236:26: note: ‘std::vector<AbstractCharacterBasedApplication::Character>* AbstractCharacterBasedApplication::screen()’
236 | std::vector<Character> *screen();
| ^~~~~~
In file included from /usr/include/qt/QtWidgets/QWidget:1,
from ../src/texteditor/TextEditorWidget.h:5,
from ../src/texteditor/TextEditorWidget.cpp:1:
/usr/include/qt/QtWidgets/qwidget.h:605:14: note: ‘QScreen* QWidget::screen() const’
605 | QScreen *screen() const;
| ^~~~~~
@FabioLolix yes, works. I forgot to "cleanbuild" with yay.
@ax34 delete old sources files and try again
guitar-1.0.0.tar.gz ... Passed
guitar.desktop ... FAILED
guitar-zlib.patch ... Passed
ERROR: One or more files did not pass the validity check!
Still an issue.
@k2s desktop files are different