#1028381 kwrite depends on kate, but shouldn't

Package:
kwrite
Source:
kwrite
Description:
simple text editor
Submitter:
Hendrik Lehmbruch
Date:
2023-01-11 11:48:05 UTC
Severity:
normal
#1028381#5
Date:
2023-01-10 10:21:31 UTC
From:
To:
Dear Maintainer,

Is there a reason why kwrite depends on kate? While kate did not depends on
kwrite, both depends on ktexteditor-katepart, but ktexeditor-katepart did  not
depend on both.

It should be possible to install kwrite without installing kate (or remove kate
without removing kwrite), and if i understand this right -> https://kate-
editor.org/post/2022/2022-03-31-kate-ate-kwrite/ <- it should work.

So why kwrite depends on kate?

Would it be possible to demote kate to a suggestion?

Greetings

Hendrik Lehmbruch

#1028381#10
Date:
2023-01-11 11:32:10 UTC
From:
To:
control: severity -1 wishlist

Le mardi 10 janvier 2023, 11:21:31 CET Hendrik Lehmbruch a écrit :

Dear Hendrik,

Yes, if you look at the libraries required by the kwrite binary, you’ll see that it depends on libkateprivate provided by our kate package.

$ ldd $(which kwrite) | grep kate
        libkateprivate.so.22.12.1 => /lib/x86_64-linux-gnu/libkateprivate.so.22.12.1 (0x00007f3c279c2000)

It would be possible to make it work the way you want by splitting the kate package and shipping libkateprivate as a separate binary package.
It’s too late for the next bookworm release to do so, the library transition freeze is around the corner (tomorrow).

You can try and ping the bug report after the bookworm release if that’s important to you.
I personally don’t have a strong incentive working on this but if you or someone else feels like doing the split, patches are welcome.


Happy hacking !
--
Aurélien

#1028381#17
Date:
2023-01-11 11:32:10 UTC
From:
To:
control: severity -1 wishlist

Le mardi 10 janvier 2023, 11:21:31 CET Hendrik Lehmbruch a écrit :

Dear Hendrik,

Yes, if you look at the libraries required by the kwrite binary, you’ll see that it depends on libkateprivate provided by our kate package.

$ ldd $(which kwrite) | grep kate
        libkateprivate.so.22.12.1 => /lib/x86_64-linux-gnu/libkateprivate.so.22.12.1 (0x00007f3c279c2000)

It would be possible to make it work the way you want by splitting the kate package and shipping libkateprivate as a separate binary package.
It’s too late for the next bookworm release to do so, the library transition freeze is around the corner (tomorrow).

You can try and ping the bug report after the bookworm release if that’s important to you.
I personally don’t have a strong incentive working on this but if you or someone else feels like doing the split, patches are welcome.


Happy hacking !
--
Aurélien