Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
konqueror-23.03.90 configure error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
houtworm
Guru
Guru


Joined: 08 Mar 2003
Posts: 391
Location: Den Haag, Netherlands

PostPosted: Mon Apr 10, 2023 1:53 pm    Post subject: konqueror-23.03.90 configure error Reply with quote

From the build log:
Code:
-- Found KF5Sonnet: /usr/lib64/cmake/KF5Sonnet/KF5SonnetConfig.cmake (found version "5.104.0")
-- Found KF5: success (found suitable version "5.104.0", minimum required is "5.101.0") found components: Sonnet
CMake Warning at /usr/lib64/cmake/KF5CoreAddons/KF5CoreAddonsMacros.cmake:37 (message):
  kcoreaddons_desktop_to_json is deprecated and will be removed in KF6.
  Convert the desktop files to JSON in source using the desktoptojson
  executable
Call Stack (most recent call first):
  webenginepart/src/CMakeLists.txt:97 (kcoreaddons_desktop_to_json)

CMake Error at webenginepart/src/CMakeLists.txt:113 (if):
  if given arguments:

    "(" "NOT" "0" ")" "AND"

  Unknown arguments specified

-- Configuring incomplete, errors occurred!


I have created local ebuilds for kdecore-meta and removed konqueror. I also removed konqueror to prevent it from updating. So the meta packages emerged just fine now, but I really like to have this error fixed.

I also tried to convert the (/usr/share/applications/*.desktop) desktop files to json but is seems that a lot of icons disappeared from the start menu and almost all from the favorites, so I put the old desktop files back.
Code:
 desktoptojson -i input.desktop -o output.desktop



So 2 questions: is the cmake error fixable? and how do I use the desktoptojson properly?
_________________
niemand is onbekwamer, dan een timmerman zonder hamer

Kees
Back to top
View user's profile Send private message
rab0171610
Apprentice
Apprentice


Joined: 24 Dec 2022
Posts: 297

PostPosted: Mon Apr 10, 2023 6:04 pm    Post subject: Reply with quote

Just so you know . . .
the error you are seeing is a message to KDE developers that maintain apps whose code may call "kcoreaddons_desktop_to_json." It is letting them know they need to update code to no longer rely on "kcoreaddons_desktop_to_json" during compile as it is not going to be available anymore and their application will fail to build at some point in the future. It is not telling the user to convert .desktop files to .json. You do not need to do that and it will mess up your application menu, as you realized.

In order to help you, we need more information. Please install kde-apps/konqueror:
Code:
emerge -av kde-apps/konqueror

Afterwards, please post the full build log and 'emerge --info'.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8935

PostPosted: Mon Apr 10, 2023 6:45 pm    Post subject: Reply with quote

You're both looking at the warning, not the error.

Upstream fix is pending: https://invent.kde.org/network/konqueror/-/merge_requests/186
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54216
Location: 56N 3W

PostPosted: Mon Apr 10, 2023 6:52 pm    Post subject: Reply with quote

Moved from Portage & Programming to Unsupported Software.

This package is from the KDE Overlay.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
houtworm
Guru
Guru


Joined: 08 Mar 2003
Posts: 391
Location: Den Haag, Netherlands

PostPosted: Mon Apr 10, 2023 9:40 pm    Post subject: Reply with quote

asturm wrote:
You're both looking at the warning, not the error.


I was looking at both.
Thanks for finding the text about the upstream fix. I will wait for it.

@NeddySeagoon thanks for moving it. Yes it is from an overlay, sorry.
_________________
niemand is onbekwamer, dan een timmerman zonder hamer

Kees
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum