Created attachment 760207 [details] rkward-0.7.2-r1.ebuild 1. Compiling rkward with USE="-handbook" does not work. Compilation fails at configure stage. CMake Error at CMakeLists.txt:57 (KDOCTOOLS_INSTALL): Unknown CMake command "KDOCTOOLS_INSTALL". 2. Second, I propose to add several run time dependencies throu USE flags for rkward (minimal bibtex markdown), which should install additional packages (kate, kbibtex and pandoc respectively). Those changes are incorporated in the ebuild attached along this bug.
Please include the package category in the summary when creating bug reports.
Runtime only IUSE are banned.
(In reply to Milos Popovic from comment #0) > 1. Compiling rkward with USE="-handbook" does not work. Compilation fails at > configure stage. > > CMake Error at CMakeLists.txt:57 (KDOCTOOLS_INSTALL): > Unknown CMake command "KDOCTOOLS_INSTALL". This appears to be the first package in years where the eclass function fails because of using uppercase letters here. (In reply to Milos Popovic from comment #0) > Created attachment 760207 [details] > rkward-0.7.2-r1.ebuild > 2. Second, I propose to add several run time dependencies throu USE flags > for rkward (minimal bibtex markdown), which should install additional > packages (kate, kbibtex and pandoc respectively). Those changes are > incorporated in the ebuild attached along this bug. All these dependencies are announced through the RKward setup wizard, so they are highly visible to the user and will not be missed without having IUSE for them. What we can do is add the missing bits (kate is already covered) as optfeature messages in pkg_postinst.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/kde.git/commit/?id=b1a39345045e820f3a56984bf3e11ba8919d8b9e commit b1a39345045e820f3a56984bf3e11ba8919d8b9e Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2021-12-26 20:35:51 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2021-12-26 20:38:32 +0000 sci-mathematics/rkward: Add more optfeature to pkg_postinst Reported-by: Milos Popovic <gpopac@gmail.com> Bug: https://bugs.gentoo.org/829998 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> sci-mathematics/rkward/rkward-9999.ebuild | 2 ++ 1 file changed, 2 insertions(+) https://gitweb.gentoo.org/proj/kde.git/commit/?id=4635dbecb2ee1129f6f7cde8a29fc27a618ecbbe commit 4635dbecb2ee1129f6f7cde8a29fc27a618ecbbe Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2021-12-26 20:14:48 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2021-12-26 20:38:03 +0000 ecm.eclass: Case-insensitivity for grep and sed Reported-by: Milos Popovic <gpopac@gmail.com> Bug: https://bugs.gentoo.org/829998 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> eclass/ecm.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Thank you all for detailed comments and quick fixes. I haven’t used Gentoo for a few years, thus I am a bit rusty and some things have changed in the mean time :)
(In reply to Milos Popovic from comment #5) > Thank you all for detailed comments and quick fixes. I haven’t used Gentoo > for a few years, thus I am a bit rusty and some things have changed in the > mean time :) Welcome back. Remember the IRC and other support forums are around if you need help. Note that asturm's eclass commit is only in ::kde (the KDE overlay) for now, but it will get pushed to ::gentoo (the main repository) in due course.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2522b493bf5d0b1041111fab10c69d491259a86 commit c2522b493bf5d0b1041111fab10c69d491259a86 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2021-12-29 12:17:43 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2022-01-07 14:21:38 +0000 sci-mathematics/rkward: EAPI-8, more optfeature, various fixes KDE-bug: https://bugs.kde.org/show_bug.cgi?id=389914 KDE-bug: https://bugs.kde.org/show_bug.cgi?id=430680 KDE-bug: https://bugs.kde.org/show_bug.cgi?id=438993 Reported-by: Milos Popovic <gpopac@gmail.com> Closes: https://bugs.gentoo.org/829998 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> .../files/rkward-0.7.2-fix-crash-w-R-4.1.0.patch | 99 ++++++++++++ .../files/rkward-0.7.2-fix-dark-themes.patch | 172 +++++++++++++++++++++ .../files/rkward-0.7.2-fix-eop-tag-in-html.patch | 32 ++++ .../files/rkward-0.7.2-fix-hang-on-exit.patch | 28 ++++ .../rkward/files/rkward-0.7.2-fix-hidpi.patch | 25 +++ sci-mathematics/rkward/rkward-0.7.2-r1.ebuild | 64 ++++++++ 6 files changed, 420 insertions(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b068f2b2031c152888510f5657afe3d3a07113fa commit b068f2b2031c152888510f5657afe3d3a07113fa Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2021-12-26 20:14:48 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2022-01-07 14:21:38 +0000 ecm.eclass: Case-insensitivity for grep and sed Reported-by: Milos Popovic <gpopac@gmail.com> Bug: https://bugs.gentoo.org/829998 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> eclass/ecm.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)