myrulib is library for fb2 Reproducible: Always
Created attachment 213219 [details] app-text/myrulib/myrulib-0.16.ebuild
Created attachment 214195 [details] app-text/myrulib/myrulib-0.17.ebuild
Created attachment 219205 [details] app-text/myrulib/myrulib-0.19.ebuild
Created attachment 223433 [details] app-text/myrulib/myrulib-0.20.ebuild
Created attachment 227351 [details] app-text/myrulib/myrulib-0.21.ebuild
Created attachment 235957 [details] app-text/myrulib/myrulib-0.23.6.ebuild
dependencies are wrong. checking for wxWidgets version >= 2.8.10 (--unicode=yes)... no configure: error: Please check that wx-config is in path, the directory where wxWindows libraries are installed (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH or equivalent variable and wxWindows is version 2.8.10 or above.
(In reply to comment #7) > dependencies are wrong. > > checking for wxWidgets version >= 2.8.10 (--unicode=yes)... no > configure: error: > Please check that wx-config is in path, the directory > where wxWindows libraries are installed (returned by > 'wx-config --libs' command) is in LD_LIBRARY_PATH or > equivalent variable and wxWindows is version 2.8.10 or above. > First, the ebuild file is out of date: you can get it working by renaming its version part into 24.11 or 24.12 before running ebuild command to make 'Manifests'. Then run 'emerge myrulib' and type 'eselect wxwidgets set 1' when it crashes: the problem is, that the program requires some wxwidgets system profile which is set to 'none' by default. Then emerge myrulib once again and - wow - here it works.
Created attachment 248452 [details] app-text/myrulib/myrulib-0.24.12.ebuild
Created attachment 248553 [details] app-text/myrulib/myrulib-9999.ebuild Current version from git
Created attachment 248593 [details] app-text/myrulib/myrulib-9998.ebuild Stable git branch
Created attachment 248594 [details] app-text/myrulib/myrulib-9999.ebuild Master git branch
In rion overlay, fixed some mistakes in ebuilds.
Created attachment 257498 [details] ebuild, works for me
Created attachment 257499 [details] ebuild
Created attachment 263963 [details] new version
Created attachment 363426 [details] app-text/myrulib/myrulib-0.29.14.ebuild
And why you attached it? It is not even latest version. Current myrulib ebuilds are in rion overlay.
Created attachment 363464 [details] myrulib-0.29.16.ebuild
Created attachment 363466 [details] myrulib-9999.ebuild
Created attachment 668276 [details, diff] 1 patch
Created attachment 668279 [details, diff] 2 patch
Created attachment 668282 [details, diff] 3 patch
Created attachment 668285 [details, diff] 4 patch
Created attachment 668288 [details] new ebuild for git version - use only with 1..4 patches! this ebuild correct compiled ONLY WITH PATCHED wxGTK-3.0.5.1(bugfix in https://bugs.gentoo.org/732802) and patched wxsqlite3 (bugfix in https://bugs.gentoo.org/689798). P.S. with current wxGTK-3.0.4 - only compiled, NOT WORKING (terminated by error)
Не получилось собрать x86_64-pc-linux-gnu-g++ -o zipscan zipscan_ZipScan.o zipscan_md5.o -L. -Wl,--as-needed -lmrl_wxbzip2 -lwxcode_gtk3_wxsqlite3-3.0 -L/usr/lib64 -pthread -lwx_gtk3u_aui-3.0-gtk3 -lwx_gtk3u_adv-3.0-gtk3 -lwx_gtk3u_html-3.0-gtk3 -lwx_gtk3u_core-3.0-gtk3 -lwx_baseu_net-3.0-gtk3 -lwx_baseu-3.0-gtk3 -lsqlite3 -lbz2 -L/usr/lib64 -pthread -lwx_gtk3u_aui-3.0-gtk3 -lwx_gtk3u_adv-3.0-gtk3 -lwx_gtk3u_html-3.0-gtk3 -lwx_gtk3u_core-3.0-gtk3 -lwx_baseu_net-3.0-gtk3 -lwx_baseu-3.0-gtk3 -lxml2 -lz -licui18n -licuuc -licudata -lm -ldl /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lwxcode_gtk3_wxsqlite3-3.0 collect2: error: ld returned 1 exit status make: *** [Makefile:384: zipscan] Error 1
There is a problem with processing large zip files - more than 4 GB
Solution for amd64-multilib: copy all nessessary binary files (exe+so) from 32-bit system. Start by script: $ cat /opt/myrulib-0.29.16-02/myrulib-0.29.16.sh #!/bin/sh rp="$(realpath $0)"; dn="$(dirname $rp)"; export LD_LIBRARY_PATH="$dn:$LD_LIBRARY_PATH"; exec ${rp%.sh} "$@";
Добрый день! Может, если кто умееет, попробовать сделать ebuild для этого форка freelib https://github.com/petrovvlad/freeLib ?
Created attachment 892692 [details] Freelib ebuild
emerge: there are no ebuilds to satisfy "dev-qt/qtbase:5"?
(In reply to Cleus from comment #31) > emerge: there are no ebuilds to satisfy "dev-qt/qtbase:5"? Пардон, USE="-qt5 qt6", конечно, оказывается, Qt у меня уже на 6 версию перешёл. Но пока ошибки FAILED: freeLib/src/CMakeFiles/freelib.dir/settingsdlg.cpp.o FAILED: freeLib/src/CMakeFiles/freelib.dir/importthread.cpp.o FAILED: freeLib/src/CMakeFiles/freelib.dir/options.cpp.o
(In reply to Dmitry S. Kulyabov from comment #30) > Created attachment 892692 [details] > Freelib ebuild Что-то из ebuild так и не собирается, хотя обычным cmake собралось без проблем.Где-то у нас что-то не получилось.
Проблема с работой ebuild может быть в том, что система пытается собрать пакет с помощью ninja? Потому что cmake --build . -j2 никаких вопросов не вызывает и там, как я могу судить, ninja не используется.
Нет, без ninja тоже самое, на том же месте [ 18%] Building CXX object freeLib/src/CMakeFiles/freelib.dir/exportframe.cpp.o cd /var/tmp/portage/app-text/freelib-9999/work/freelib-9999_build/freeLib/src && /usr/bin/x86_64-pc-linux-gnu-g++ -DQT_CONCURRENT_LIB -DQT_CORE5COMPAT_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HTTPSERVER_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DUSE_DEJVULIBRE=1 -I/var/tmp/portage/app-text/freelib-9999/work/freelib-9999_build/freeLib/src -I/var/tmp/portage/app-text/freelib-9999/work/freelib-9999/freeLib/src -I/var/tmp/portage/app-text/freelib-9999/work/freelib-9999_build/freeLib/src/freelib_autogen/include -isystem /usr/include/qt6/QtCore -isystem /usr/include/qt6 -isystem /usr/lib64/qt6/mkspecs/linux-g++ -isystem /usr/include/qt6/QtWidgets -isystem /usr/include/qt6/QtGui -isystem /usr/include/qt6/QtNetwork -isystem /usr/include/qt6/QtSql -isystem /usr/include/qt6/QtXml -isystem /usr/include/qt6/QtConcurrent -isystem /usr/include/QuaZip-Qt6-1.4 -isystem /usr/include/QuaZip-Qt6-1.4/quazip -isystem /usr/include/qt6/QtCore5Compat -isystem /usr/include/qt6/QtHttpServer -march=native -mtune=native -O2 -pipe -fomit-frame-pointer -ftree-vectorize -std=gnu++20 -fPIC -MD -MT freeLib/src/CMakeFiles/freelib.dir/exportframe.cpp.o -MF CMakeFiles/freelib.dir/exportframe.cpp.o.d -o CMakeFiles/freelib.dir/exportframe.cpp.o -c /var/tmp/portage/app-text/freelib-9999/work/freelib-9999/freeLib/src/exportframe.cpp In file included from /var/tmp/portage/app-text/freelib-9999/work/freelib-9999/freeLib/src/settingsdlg.cpp:2: /var/tmp/portage/app-text/freelib-9999/work/freelib-9999/freeLib/src/settingsdlg.h: In member function ‘virtual QWidget* FileItemDelegate::createEditor(QWidget*, const QStyleOptionViewItem&, const QModelIndex&) const’: /var/tmp/portage/app-text/freelib-9999/work/freelib-9999/freeLib/src/settingsdlg.h:32:52: error: invalid use of incomplete type ‘class QToolButton’ 32 | QToolButton *button = new QToolButton(frame); | ^ In file included from /usr/include/qt6/QtWidgets/qwidget.h:12, from /usr/include/qt6/QtWidgets/qdialog.h:8, from /usr/include/qt6/QtWidgets/QDialog:1, from /var/tmp/portage/app-text/freelib-9999/work/freelib-9999/freeLib/src/settingsdlg.h:4: /usr/include/qt6/QtGui/qaction.h:234:18: note: forward declaration of ‘class QToolButton’ 234 | friend class QToolButton; | ^~~~~~~~~~~ /var/tmp/portage/app-text/freelib-9999/work/freelib-9999/freeLib/src/settingsdlg.h:33:15: error: invalid use of incomplete type ‘class QToolButton’ 33 | button->setText(QStringLiteral("...")); | ^~ /usr/include/qt6/QtGui/qaction.h:234:18: note: forward declaration of ‘class QToolButton’ 234 | friend class QToolButton; | ^~~~~~~~~~~ /var/tmp/portage/app-text/freelib-9999/work/freelib-9999/freeLib/src/settingsdlg.h:36:27: error: cannot convert ‘QToolButton*’ to ‘QWidget*’ 36 | layout->addWidget(button, 0); | ^~~~~~ | | | QToolButton* In file included from /usr/include/qt6/QtWidgets/QHBoxLayout:1, from /var/tmp/portage/app-text/freelib-9999/work/freelib-9999/freeLib/src/settingsdlg.h:6: /usr/include/qt6/QtWidgets/qboxlayout.h:38:20: note: initializing argument 1 of ‘void QBoxLayout::addWidget(QWidget*, int, Qt::Alignment)’ 38 | void addWidget(QWidget *, int stretch = 0, Qt::Alignment alignment = Qt::Alignment()); | ^~~~~~~~~ /var/tmp/portage/app-text/freelib-9999/work/freelib-9999/freeLib/src/settingsdlg.h:41:26: error: ‘QAbstractButton’ has not been declared 41 | connect(button, &QAbstractButton::clicked, this, &FileItemDelegate::SelectFile);
Created attachment 902300 [details] Freelib ebuild Dirty hack. Only QT6 (but works with QT5 too).
Created attachment 902301 [details] Freelib ebuild Dirty hack. Only QT6 (but works with QT5 too).