Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 297197 - myrulib - Create your own collection of e-books
Summary: myrulib - Create your own collection of e-books
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Default Assignee for New Packages
URL: http://www.lintest.ru/wiki/MyRuLib
Whiteboard:
Keywords:
Depends on: 143950
Blocks:
  Show dependency tree
 
Reported: 2009-12-16 17:58 UTC by Dmitry S. Kulyabov
Modified: 2024-09-07 13:16 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
app-text/myrulib/myrulib-0.16.ebuild (myrulib-0.16.ebuild,482 bytes, text/plain)
2009-12-16 17:58 UTC, Dmitry S. Kulyabov
Details
app-text/myrulib/myrulib-0.17.ebuild (myrulib-0.17.ebuild,482 bytes, text/plain)
2009-12-26 11:09 UTC, Dmitry S. Kulyabov
Details
app-text/myrulib/myrulib-0.19.ebuild (myrulib-0.19.ebuild,482 bytes, text/plain)
2010-02-11 10:22 UTC, Dmitry S. Kulyabov
Details
app-text/myrulib/myrulib-0.20.ebuild (myrulib-0.20.ebuild,482 bytes, text/plain)
2010-03-13 17:51 UTC, Dmitry S. Kulyabov
Details
app-text/myrulib/myrulib-0.21.ebuild (myrulib-0.21.ebuild,482 bytes, text/plain)
2010-04-11 08:36 UTC, Dmitry S. Kulyabov
Details
app-text/myrulib/myrulib-0.23.6.ebuild (myrulib-0.23.6.ebuild,469 bytes, text/plain)
2010-06-19 16:18 UTC, Dmitry S. Kulyabov
Details
app-text/myrulib/myrulib-0.24.12.ebuild (myrulib-0.24.12.ebuild,470 bytes, text/plain)
2010-09-23 18:08 UTC, Victor O. Mustya
Details
app-text/myrulib/myrulib-9999.ebuild (myrulib-9999.ebuild,547 bytes, text/plain)
2010-09-24 20:22 UTC, Victor O. Mustya
Details
app-text/myrulib/myrulib-9998.ebuild (myrulib-9998.ebuild,574 bytes, text/plain)
2010-09-25 13:19 UTC, Victor O. Mustya
Details
app-text/myrulib/myrulib-9999.ebuild (myrulib-9999.ebuild,538 bytes, text/plain)
2010-09-25 13:19 UTC, Victor O. Mustya
Details
ebuild, works for me (myrulib-0.24.18.ebuild,702 bytes, text/plain)
2010-12-18 15:43 UTC, Nikoli
Details
ebuild (myrulib-9999.ebuild,802 bytes, text/plain)
2010-12-18 15:43 UTC, Nikoli
Details
new version (myrulib-0.26.9.ebuild,720 bytes, text/plain)
2011-02-26 20:29 UTC, Nikoli
Details
app-text/myrulib/myrulib-0.29.14.ebuild (myrulib-0.29.14.ebuild,923 bytes, text/plain)
2013-11-17 14:39 UTC, Dmitry
Details
myrulib-0.29.16.ebuild (myrulib-0.29.16.ebuild,1.08 KB, text/plain)
2013-11-18 06:57 UTC, Nikoli
Details
myrulib-9999.ebuild (myrulib-9999.ebuild,1014 bytes, text/plain)
2013-11-18 06:57 UTC, Nikoli
Details
1 patch (myrulib-0.29.16-stretch.patch,3.85 KB, patch)
2020-10-24 12:12 UTC, Atlant
Details | Diff
2 patch (myrulib-force-version.patch,484 bytes, patch)
2020-10-24 12:12 UTC, Atlant
Details | Diff
3 patch (myrulib-freetype2-includes.patch,557 bytes, patch)
2020-10-24 12:12 UTC, Atlant
Details | Diff
4 patch (myrulib-wxsqlite3-with-pkg-config.patch,538 bytes, patch)
2020-10-24 12:13 UTC, Atlant
Details | Diff
new ebuild for git version - use only with 1..4 patches! (myrulib-9999.ebuild,1.42 KB, text/plain)
2020-10-24 12:18 UTC, Atlant
Details
Freelib ebuild (freelib-6.0.83.9999.ebuild,957 bytes, text/plain)
2024-05-10 16:41 UTC, Dmitry S. Kulyabov
Details
Freelib ebuild (freelib-6.1.0.9999.ebuild,1000 bytes, application/vnd.gentoo.ebuild)
2024-09-07 13:14 UTC, Dmitry S. Kulyabov
Details
Freelib ebuild (freelib-6.1.0.9999.ebuild,1000 bytes, text/plain)
2024-09-07 13:16 UTC, Dmitry S. Kulyabov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry S. Kulyabov 2009-12-16 17:58:13 UTC
myrulib is library for fb2

Reproducible: Always
Comment 1 Dmitry S. Kulyabov 2009-12-16 17:58:54 UTC
Created attachment 213219 [details]
app-text/myrulib/myrulib-0.16.ebuild
Comment 2 Dmitry S. Kulyabov 2009-12-26 11:09:52 UTC
Created attachment 214195 [details]
app-text/myrulib/myrulib-0.17.ebuild
Comment 3 Dmitry S. Kulyabov 2010-02-11 10:22:09 UTC
Created attachment 219205 [details]
app-text/myrulib/myrulib-0.19.ebuild
Comment 4 Dmitry S. Kulyabov 2010-03-13 17:51:11 UTC
Created attachment 223433 [details]
app-text/myrulib/myrulib-0.20.ebuild
Comment 5 Dmitry S. Kulyabov 2010-04-11 08:36:31 UTC
Created attachment 227351 [details]
app-text/myrulib/myrulib-0.21.ebuild
Comment 6 Dmitry S. Kulyabov 2010-06-19 16:18:23 UTC
Created attachment 235957 [details]
app-text/myrulib/myrulib-0.23.6.ebuild
Comment 7 Anna Z 2010-08-08 10:34:52 UTC
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.
Comment 8 Stephen 2010-08-21 20:38:15 UTC
(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.
Comment 9 Victor O. Mustya 2010-09-23 18:08:52 UTC
Created attachment 248452 [details]
app-text/myrulib/myrulib-0.24.12.ebuild
Comment 10 Victor O. Mustya 2010-09-24 20:22:16 UTC
Created attachment 248553 [details]
app-text/myrulib/myrulib-9999.ebuild

Current version from git
Comment 11 Victor O. Mustya 2010-09-25 13:19:00 UTC
Created attachment 248593 [details]
app-text/myrulib/myrulib-9998.ebuild

Stable git branch
Comment 12 Victor O. Mustya 2010-09-25 13:19:39 UTC
Created attachment 248594 [details]
app-text/myrulib/myrulib-9999.ebuild

Master git branch
Comment 13 Nikoli 2010-12-18 15:42:35 UTC
In rion overlay, fixed some mistakes in ebuilds.
Comment 14 Nikoli 2010-12-18 15:43:05 UTC
Created attachment 257498 [details]
ebuild, works for me
Comment 15 Nikoli 2010-12-18 15:43:54 UTC
Created attachment 257499 [details]
ebuild
Comment 16 Nikoli 2011-02-26 20:29:56 UTC
Created attachment 263963 [details]
new version
Comment 17 Dmitry 2013-11-17 14:39:11 UTC
Created attachment 363426 [details]
app-text/myrulib/myrulib-0.29.14.ebuild
Comment 18 Nikoli 2013-11-17 14:42:50 UTC
And why you attached it? It is not even latest version. Current myrulib ebuilds are in rion overlay.
Comment 19 Nikoli 2013-11-18 06:57:35 UTC
Created attachment 363464 [details]
myrulib-0.29.16.ebuild
Comment 20 Nikoli 2013-11-18 06:57:48 UTC
Created attachment 363466 [details]
myrulib-9999.ebuild
Comment 21 Atlant 2020-10-24 12:12:12 UTC
Created attachment 668276 [details, diff]
1 patch
Comment 22 Atlant 2020-10-24 12:12:32 UTC
Created attachment 668279 [details, diff]
2 patch
Comment 23 Atlant 2020-10-24 12:12:48 UTC
Created attachment 668282 [details, diff]
3 patch
Comment 24 Atlant 2020-10-24 12:13:07 UTC
Created attachment 668285 [details, diff]
4 patch
Comment 25 Atlant 2020-10-24 12:18:37 UTC
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)
Comment 26 Cleus 2021-04-17 10:11:54 UTC
Не получилось собрать
 
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
Comment 27 Cleus 2022-05-25 15:11:16 UTC
There is a problem with processing large zip files - more than 4 GB
Comment 28 vyp08 2022-09-14 08:52:04 UTC
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} "$@";
Comment 29 Cleus 2024-05-10 06:49:20 UTC
Добрый день! Может, если кто умееет, попробовать сделать ebuild для этого форка freelib https://github.com/petrovvlad/freeLib ?
Comment 30 Dmitry S. Kulyabov 2024-05-10 16:41:25 UTC
Created attachment 892692 [details]
Freelib ebuild
Comment 31 Cleus 2024-05-11 15:52:37 UTC
emerge: there are no ebuilds to satisfy "dev-qt/qtbase:5"?
Comment 32 Cleus 2024-05-11 16:04:48 UTC
(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
Comment 33 Cleus 2024-05-16 16:03:00 UTC
(In reply to Dmitry S. Kulyabov from comment #30)
> Created attachment 892692 [details]
> Freelib ebuild

Что-то из ebuild так и не собирается, хотя обычным cmake собралось без проблем.Где-то у нас что-то не получилось.
Comment 34 Cleus 2024-05-17 15:00:18 UTC
Проблема с работой ebuild может быть в том, что система пытается собрать пакет с помощью ninja? Потому что cmake --build . -j2 никаких вопросов не вызывает и там, как я могу судить, ninja не используется.
Comment 35 Cleus 2024-05-17 15:16:19 UTC
Нет, без 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);
Comment 36 Dmitry S. Kulyabov 2024-09-07 13:14:51 UTC
Created attachment 902300 [details]
Freelib ebuild

Dirty hack.
Only QT6 (but works with QT5 too).
Comment 37 Dmitry S. Kulyabov 2024-09-07 13:16:56 UTC
Created attachment 902301 [details]
Freelib ebuild

Dirty hack.
Only QT6 (but works with QT5 too).