ZaWertun / fedora-copr-kde5

https://copr.fedorainfracloud.org/coprs/zawertun/kde/
18 stars 4 forks source link

Installing kwrite also installs kate and kate-plugins #132

Closed popov895 closed 2 years ago

popov895 commented 2 years ago

It seems that since 22.08 kwrite requires kate (and kate-plugins):

$ dnf repoquery --requires --resolve kwrite
glibc-0:2.35-15.fc36.i686
glibc-0:2.35-15.fc36.x86_64
kate-0:22.08.0-1.fc36.x86_64
kf5-kconfig-core-0:5.97.0-1.fc36.x86_64
kf5-kconfig-gui-0:5.97.0-1.fc36.x86_64
kf5-kconfigwidgets-0:5.97.0-1.fc36.x86_64
kf5-kcoreaddons-0:5.97.0-1.fc36.x86_64
kf5-kcrash-0:5.97.0-1.fc36.x86_64
kf5-kdbusaddons-0:5.97.0-1.fc36.x86_64
kf5-ki18n-0:5.97.0-1.fc36.x86_64
kf5-kparts-0:5.97.0-1.fc36.x86_64
kf5-ktexteditor-0:5.97.0-1.fc36.x86_64
kf5-kwidgetsaddons-0:5.97.0-1.fc36.x86_64
kf5-kxmlgui-0:5.97.0-1.fc36.x86_64
libstdc++-0:12.1.1-1.fc36.x86_64
qt5-qtbase-0:5.15.5-2.fc36.x86_64
qt5-qtbase-gui-0:5.15.5-2.fc36.x86_64

Is it possible to make kwrite not require kate (and kate-plugins)?

ZaWertun commented 2 years ago

If libkateprivate.so will be moved to separate package - I think yes.

$ ldd /usr/bin/kwrite |grep kate
libkateprivate.so.22.08.0 => /lib64/libkateprivate.so.22.08.0 (0x00007f6ae09e2000)
popov895 commented 2 years ago

Unfortunately, it's still not fixed.

$ dnf info kwrite
Installed Packages
Name         : kwrite
Version      : 22.08.0
Release      : 1.fc36
Architecture : x86_64
Size         : 251 k
Source       : kate-22.08.0-1.fc36.src.rpm
Repository   : @System
From repo    : copr:copr.fedorainfracloud.org:zawertun:kde
Summary      : Text Editor
URL          : https://cgit.kde.org/kate.git
License      : LGPLv2+
Description  : Text Editor.
$ dnf repoquery --requires --resolve kwrite
glibc-0:2.35-15.fc36.i686
glibc-0:2.35-15.fc36.x86_64
kate-0:22.08.0-1.fc36.x86_64
kf5-kconfig-core-0:5.97.0-1.fc36.x86_64
kf5-kconfig-gui-0:5.97.0-1.fc36.x86_64
kf5-kconfigwidgets-0:5.97.0-1.fc36.x86_64
kf5-kcoreaddons-0:5.97.0-1.fc36.x86_64
kf5-kcrash-0:5.97.0-1.fc36.x86_64
kf5-kdbusaddons-0:5.97.0-1.fc36.x86_64
kf5-ki18n-0:5.97.0-1.fc36.x86_64
kf5-kparts-0:5.97.0-1.fc36.x86_64
kf5-ktexteditor-0:5.97.0-1.fc36.x86_64
kf5-kwidgetsaddons-0:5.97.0-1.fc36.x86_64
kf5-kxmlgui-0:5.97.0-1.fc36.x86_64
libstdc++-0:12.1.1-1.fc36.x86_64
qt5-qtbase-0:5.15.5-2.fc36.x86_64
qt5-qtbase-gui-0:5.15.5-2.fc36.x86_64

This problem is present on all distros for now (I checked KDE neon, openSUSE Tumbleweed), so I'm not sure if it's a packaging problem.

ZaWertun commented 2 years ago

You're checking info for old package kate-22.08.0-1.fc36.src.rpm, new one is kate-22.08.0-2.fc36.src.rpm. Do dnf up --refresh, than try to delete kate, while kwrite is installed.

ZaWertun commented 2 years ago
$ sudo dnf repoquery --requires --resolve kwrite-0:22.08.0-2.fc36.x86_64
glibc-0:2.35-15.fc36.i686
glibc-0:2.35-15.fc36.x86_64
kate-0:22.08.0-1.fc36.x86_64
kf5-kcoreaddons-0:5.97.0-1.fc36.x86_64
kf5-kdbusaddons-0:5.97.0-1.fc36.x86_64
kf5-ki18n-0:5.97.0-1.fc36.x86_64
libkateprivate-0:22.08.0-2.fc36.x86_64
libstdc++-0:12.1.1-1.fc36.x86_64
qt5-qtbase-0:5.15.5-2.fc36.x86_64
qt5-qtbase-gui-0:5.15.5-2.fc36.x86_64
popov895 commented 2 years ago

Oops, sorry for my inattention. Fixed!