Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
questions on deps for kmymoney-5.0.9999 [kde overlay]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
genterminl
Guru
Guru


Joined: 12 Feb 2005
Posts: 527
Location: Connecticut, USA

PostPosted: Sun Oct 27, 2019 11:18 pm    Post subject: questions on deps for kmymoney-5.0.9999 [kde overlay] Reply with quote

I've been trying to follow recent kmymoney development, but some time in the past few months, the 5.0.9999 ebuild from the kde overlay has started requiring several unstable frameworks:
Code:
=kde-frameworks/extra-cmake-modules-5.63.0 ~amd64
=kde-frameworks/kconfig-5.63.0 ~amd64
=kde-frameworks/ki18n-5.63.0 ~amd64
=kde-frameworks/kcodecs-5.63.0 ~amd64
=kde-frameworks/kcoreaddons-5.63.0 ~amd64
=kde-frameworks/kcontacts-5.63.0 ~amd64
I am able to compile from git head 5.0 branch with only stable versions of all these, so I wonder why they are required, or if it is just an unintended consequence of other kde overlay unstable stuff.
In addition, that ebuild requires
Code:
hbci? (
     >=net-libs/aqbanking-5.8.2
     >=sys-libs/gwenhywfar-4.20.2[qt5]
 )
but as I understand it, recent upgrades related to recent EU banking rules require newer versions of them (from cmake output)
Code:
* AQBANKING (required version >= 5.99.32)
* gwenhywfar (required version >= 4.99.16)
Since I don't use them, I'm not sure if 5.8.2 and 4.20.2 (note portage has 4.20.2-r1) are adequate.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9337

PostPosted: Tue Oct 29, 2019 12:07 pm    Post subject: Reply with quote

Recently, kde-apps/kcalcore and kde-apps/kcontacts were moved into KDE Frameworks as kde-frameworks/kcalendarcore and kde-frameworks/kcontacts.

All kde overlay ebuilds were already switched over to accept the KDE Frameworks versions only.
Back to top
View user's profile Send private message
genterminl
Guru
Guru


Joined: 12 Feb 2005
Posts: 527
Location: Connecticut, USA

PostPosted: Tue Oct 29, 2019 1:32 pm    Post subject: Reply with quote

I understand that would account for new frameworks on the list, and while I haven't tested my own compile against those new frameworks (vs as application(s,) my question is why all these frameworks require unstable versions?

Also, the issue of aqbanking and gwenhywfar versions is unrelated to the frameworks question.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9337

PostPosted: Tue Oct 29, 2019 1:57 pm    Post subject: Reply with quote

Frameworks in Tier 2 and 3 always depend on the same version of other Frameworks, this is enshrined in their build system. Same as you wouldn't expect a mix of Qt 5.12.3 and 5.12.5 as well.

Question about live ebuild dependencies is moot, if you do development on kmymoney you are in the best position to just submit a PR to kde overlay. Live ebuilds are fetching moving targets and they don't write themselves - help always welcome! But if you sync again, you'll see there have already been changes. ;)
Back to top
View user's profile Send private message
genterminl
Guru
Guru


Joined: 12 Feb 2005
Posts: 527
Location: Connecticut, USA

PostPosted: Tue Oct 29, 2019 4:58 pm    Post subject: Reply with quote

Thanks. I just synced yesterday, but haven't actually tried KMM since that. I'll sync again before my next look. I do participate in the kde-devel list, so I suppose I'll have to get myself set up for PR's on the overlay. (I do docs, not actual code development, but I can still help pass on current changes in deps. Hopefully a new sync will answer some of my questions, but I wasn't asking why any ~ framework would only depend on other ~ frameworks, but why KMM 5.0.9999 would depend on unstable frameworks, when (with possible rare exceptions) KMM itself (even git head, especially 5.0 branch) doesn't need them. Also, I don't follow all the logic of the eclasses, so it wasn't even clear to me exactly where the request for the ~ frameworks was coming from. That's just me still trying to understand all the plumbing.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9337

PostPosted: Tue Oct 29, 2019 5:25 pm    Post subject: Reply with quote

asturm wrote:
Recently, kde-apps/kcalcore and kde-apps/kcontacts were moved into KDE Frameworks as kde-frameworks/kcalendarcore and kde-frameworks/kcontacts.

^ These only exist as ~arch packages right now.

Bottom line is this: Whatever minimum dependencies are set by upstream for a single package can only ever be a baseline for downstream, on top of which there are packaging constraints to be considered.
Back to top
View user's profile Send private message
genterminl
Guru
Guru


Joined: 12 Feb 2005
Posts: 527
Location: Connecticut, USA

PostPosted: Tue Oct 29, 2019 10:44 pm    Post subject: Reply with quote

Yes, that makes sense for new frameworks. However, it seems to mean I can't install KMM 5.0.9999 without allowing lots of my other KDE apps and frameworks to also go to unstable. (I have a mostly stable system, with only select unstable packages.) I suppose I might end up doing that, or else just keep compiling myself, sticking with the kde-apps versions of kcalcore and kcontacts until the stable versions of other kde applications have also gotten upgraded to use the frameworks versions.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9337

PostPosted: Tue Oct 29, 2019 10:51 pm    Post subject: Reply with quote

I would recommend doing the following:

Code:
# ln -s <path-to-kde-overlay>/Documentation/package.keywords/kde-frameworks-5.63.keywords /etc/portage/package.keywords/
# ln -s <path-to-kde-overlay>/Documentation/package.keywords/kde-applications-19.08.keywords /etc/portage/package.keywords/


That covers most of the lot. Non-kde-apps packages you may have to add to package.keywords depending on your needs:
Code:
app-office/calligraplan-3.1.0-r3
media-gfx/digikam-6.3.0-r1
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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