Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 851684 - [kde overlay] media-(libs|gfx)/ksanecore: New package required by >=kde-apps/libksane-22.07.80 (since upstream 70684f1b1)
Summary: [kde overlay] media-(libs|gfx)/ksanecore: New package required by >=kde-apps/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-13 08:18 UTC by Duncan
Modified: 2022-07-09 12:52 UTC (History)
0 users

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


Attachments
working but likely dep-incorrect kde-apps/ksanecore-9999.ebuild (ksanecore-9999.ebuild,544 bytes, text/plain)
2022-06-13 09:45 UTC, Duncan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Duncan 2022-06-13 08:18:08 UTC
[See title]

The error:

CMake Error at CMakeLists.txt:62 (find_package):
By not providing "FindKSaneCore.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"KSaneCore", but CMake did not find one.

Could not find a package configuration file provided by "KSaneCore"
(requested version 22.07) with any of the following names:

KSaneCoreConfig.cmake
ksanecore-config.cmake

Add the installation prefix of "KSaneCore" to CMAKE_PREFIX_PATH or set
"KSaneCore_DIR" to a directory containing one of the above files.  If
"KSaneCore" provides a separate development package or SDK, be sure it has
been installed.


-- Configuring incomplete, errors occurred!

The upstream culprit commit:

* commit 70684f1b1
Author:     Alexander Stippich <a.stippich@gmx.net>
AuthorDate: Sun Dec 12 17:02:49 2021 +0100
Commit:     Alexander Stippich <a.stippich@gmx.net>
CommitDate: Thu May 26 13:32:21 2022 +0200

split out KSaneCore from libksane and depend on it

Skipping the long per-file diffstat, but the summary is...

68 files changed, 214 insertions(+), 5157 deletions(-)

... so there's a lot missing now without that new depend!
Comment 1 Duncan 2022-06-13 08:36:12 UTC
The README.md was updated a few commits later, with fee6de597 (upstream HEAD ATM).  In addition to updating cmake/qt/frameworks minimum-deps it replaces the (genric) libsane dep with the new KSaneCore dep (which in turn deps on the generic libsane), like this, thus providing our new package source:

- - libsane        >= 1.0.18                http://www.sane-project.org
+ - KSaneCore      from same KDE Gear       https://invent.kde.org/libraries/ksanecore
Comment 2 Duncan 2022-06-13 09:45:35 UTC
Created attachment 784610 [details]
working but likely dep-incorrect kde-apps/ksanecore-9999.ebuild

This is minimally changed ksanecore ebuild mostly just inherited from the libksane ebuild.  It fetches and builds but DEPEND/RDEPEND, LICENSE, DESCRIPTION, etc., will need reexamined.

KDE_ORG_CATEGORY=libraries was added, and IUSE=kwallet (and resulting deps and config line) was removed, since cmake suggested it wasn't used in this core build (presumably that remained in libksane only).  Also, DESCRIPTION was tweaked ("core" added) so as to not be identical to the libksane description but further changes may be appropriate.

Signed-off-by: John Duncan <1i5t5.duncan@cox.net>
Comment 3 Andreas Sturmlechner gentoo-dev 2022-06-13 10:52:25 UTC
yup.
Comment 4 Larry the Git Cow gentoo-dev 2022-07-09 12:52:55 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=bcf85b7f64235b9180ae1df1299a775b0dd12b33

commit bcf85b7f64235b9180ae1df1299a775b0dd12b33
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-07-09 09:19:14 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-07-09 12:52:38 +0000

    kde-apps/libksane: Update dependencies
    
    Upstream commit 70684f1b1dfa784ea47ef4b0d55c8d472a342a9a
    
    Closes: https://bugs.gentoo.org/851684
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-apps/libksane/libksane-9999.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=21c67fbb955a07d769cb08a39f014f33bbba6fbf

commit 21c67fbb955a07d769cb08a39f014f33bbba6fbf
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-07-09 09:15:23 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-07-09 12:52:38 +0000

    media-gfx/skanpage: Add new dependency
    
    Upstream commit 825f93c140e7eb0804ff5e75c71e334284d693af
    
    Bug: https://bugs.gentoo.org/851684
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-gfx/skanpage/skanpage-9999.ebuild | 1 +
 1 file changed, 1 insertion(+)

https://gitweb.gentoo.org/proj/kde.git/commit/?id=7010f60e086d2f07ad65cc1354e07def9fae12d3

commit 7010f60e086d2f07ad65cc1354e07def9fae12d3
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-07-09 09:13:12 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-07-09 09:19:47 +0000

    media-libs/ksanecore: New package
    
    See also:
    https://mail.kde.org/pipermail/release-team/2022-May/012685.html
    
    Bug: https://bugs.gentoo.org/851684
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-libs/ksanecore/ksanecore-9999.ebuild | 23 +++++++++++++++++++++++
 media-libs/ksanecore/metadata.xml          |  8 ++++++++
 2 files changed, 31 insertions(+)