Re: Collection of packaging notes

2023-11-10 Thread Jonathan Riddell
On Fri, 10 Nov 2023 at 10:55, Christophe Marin  wrote:

> 3 different issues appeared with plasma 6 alpha:
>
>
- The CMake config names are identical for certain core libraries:
> KDecoration2, KPipeWire, KScreenLocker, KsysGuard, LayerShellQt,
> LibKWorkspace,
>  LibTaskManager (and Breeze but it's slightly less problematic)
>
> - The CMake config files for DBus interface are not versioned:
> KRunnerAppDBusInterface, KWinDBusInterface, KSMServerDBusInterface,
> ScreenSaverDBusInterface
>

As discussed on Matrix our assumption is that Plasma 5 and 6 aren't
packaged together, a single version of Plasma should be packaged only with
the same version.


> - The libksysguard  libraries soversion weren't bumped. It's not only a
> problem for
> building plasma 5 and plasma 6. KSysguard is also an optional dependency
> for kdevelop.
>

I've bumped the soversions in libksysguard now. (I'll look at doing the
KFification for kuserfeedback too.)

I've also release noted that ksysguard the app is dead and should be
removed from distros, it hasn't been released for over 2 years and hasn't
been ported.

Jonathan


Re: Collection of packaging notes

2023-11-10 Thread Neal Gompa
On Fri, Nov 10, 2023 at 6:15 AM Christophe Marin  wrote:
>
> Hello,
>
> On mercredi 1 novembre 2023 11:55:08 CET Christophe Marin wrote:
> > Hello,
> >
> > With various alpha coming out soon, here are the notes added to my packages
> > when I started packaging snapshots and still present.
> >
>
> I now merged the frameworks and plasna packages in our openSUSE KDE repo to
> see how the build behave. The frameworks builds went fine, but I can't say the
> same about plasma.
>
> Some background:
> For openSUSE, we want to give users the opportunity to choose when they want 
> to
> migrate to plasma 6. The plasma packages won't be coinstallable, but they will
> coexist for a while.
>

You're really asking for hard mode, aren't you? :)

> From a packaging pov, we also make use of the CMake config name rather than
> the corresponding -devel package when we need some build dependencies.
> In most cases, the CMake config name will persist, even if the distro package 
> name
> changes or upstream code moves to a different place.
>
> 3 different issues appeared with plasma 6 alpha:
>
> - The CMake config names are identical for certain core libraries:
> KDecoration2, KPipeWire, KScreenLocker, KsysGuard, LayerShellQt, 
> LibKWorkspace,
>  LibTaskManager (and Breeze but it's slightly less problematic)
>

The versions emitted aren't the same, so you can use version ranges, e.g.:

# kf5 version
BuildRequires: (cmake(KPipeWire) >= 5.26 with cmake(KPipeWire) < 5.27.80)
# kf6 version
BuildRequires: cmake(KPipeWire) >= 5.27.80


> - The CMake config files for DBus interface are not versioned:
> KRunnerAppDBusInterface, KWinDBusInterface, KSMServerDBusInterface,
> ScreenSaverDBusInterface
>

This should not be a problem since the devel packages shouldn't be
co-installable in any circumstance.

> - The libksysguard  libraries soversion weren't bumped. It's not only a 
> problem for
> building plasma 5 and plasma 6. KSysguard is also an optional dependency
> for kdevelop.
>

Well, okay, this is an issue. You'll also run into this with KUserFeedback.


--
真実はいつも一つ!/ Always, there's only one truth!


Re: Collection of packaging notes

2023-11-10 Thread Christophe Marin
Hello,

On mercredi 1 novembre 2023 11:55:08 CET Christophe Marin wrote:
> Hello,
> 
> With various alpha coming out soon, here are the notes added to my packages 
> when I started packaging snapshots and still present.
> 

I now merged the frameworks and plasna packages in our openSUSE KDE repo to
see how the build behave. The frameworks builds went fine, but I can't say the
same about plasma.

Some background:
For openSUSE, we want to give users the opportunity to choose when they want to
migrate to plasma 6. The plasma packages won't be coinstallable, but they will
coexist for a while.

>From a packaging pov, we also make use of the CMake config name rather than
the corresponding -devel package when we need some build dependencies.
In most cases, the CMake config name will persist, even if the distro package 
name
changes or upstream code moves to a different place.

3 different issues appeared with plasma 6 alpha:

- The CMake config names are identical for certain core libraries:
KDecoration2, KPipeWire, KScreenLocker, KsysGuard, LayerShellQt, LibKWorkspace,
 LibTaskManager (and Breeze but it's slightly less problematic)

- The CMake config files for DBus interface are not versioned:
KRunnerAppDBusInterface, KWinDBusInterface, KSMServerDBusInterface,
ScreenSaverDBusInterface

- The libksysguard  libraries soversion weren't bumped. It's not only a problem 
for
building plasma 5 and plasma 6. KSysguard is also an optional dependency
for kdevelop.

Christophe









Re: Collection of packaging notes

2023-11-01 Thread Jonathan Riddell
>
> If not, then why not fix any misnaming while we change names anyway.
>

Go for it :)

Jonathan


Re: Collection of packaging notes

2023-11-01 Thread Friedrich W. H. Kossebau
Am Mittwoch, 1. November 2023, 13:30:03 CET schrieb Jonathan Riddell:
> One quick question, is naming non-frameworks libKF6foo really a problem we
> need to fix?  Given all the other issues...

What is in a name... usually some semantics.

We could also call random libraries libdsafwef or libPlasmaFoo (while 
unrelated to Plasma), would that be a good idea?

If not, then why not fix any misnaming while we change names anyway.

Cheers
Friedrich




Re: Collection of packaging notes

2023-11-01 Thread Jonathan Riddell
Thanks for your e-mail.  It covers more than Frameworks so I'm including
release-team@ too.

One quick question, is naming non-frameworks libKF6foo really a problem we
need to fix?  Given all the other issues...

Jonathan


On Wed, 1 Nov 2023 at 10:55, Christophe Marin  wrote:

> Hello,
>
> With various alpha coming out soon, here are the notes added to my
> packages
> when I started packaging snapshots and still present.
>
> I'm well aware that some of these modules won't be present in the first
> releases.
>
> First, the most annoying issue:
> Plasma still didn't bump all their libraries soname. That's a major
> annoyance
> for packagers.
>
> - Conflicting files (not mentioned in the other thread)
> kcm_trash.desktop is installed by both kio (kf5) and kio-extras (kf6)
>
> - Conflicting translation catalog names:
> plasma-integration (plasmaintegration5)
> kuserfeedback
>
> - Misnamed libraries:
> kmail-account-wizard (liblibaccountwizard.so)
> ktextaddons (liblibvoskspeechtotext.so)
>
> - Non frameworks modules installing libKF*.so
> ktextaddons (various libraries)
> konqueror (libKF6Konq.so)
> libksane (libKF5Sane5.so)
> kweathercore (libKF6KWeatherCore.so)
> libktorrent (libKF5Torrent.so)
> libkexiv2 (libKF6KExiv2.so)
> libkdcraw (libKF6KDcraw.so)
> baloo-widgets (libKF6BalooWidgets.so)
> kmoretools (libKF6MoreTools.so)
> libkscreen (libKF6Screen.so, libKF6ScreenDpms.so)
>
> - Wrong install location for knewstuff files:
> khangman
> kturtle
>
> - Wrong install location for CMake files:
> qqc2-breeze-style (still uses KF5QQC2BreezeStyle)
>
> - old install location:
> kalgebra (/usr/share/katepart5. Note: syntax-highlighting won't ignore the
> file, but it's not the default location)
> ksystemlog (/usr/share/kxmlgui5/ksystemlog)
>
> - Modules still using QQC1:
> kdeplasma-addons (applets/fifteenPuzzle)
>
> - build dependency issues:
> plasma5support (links and requires QtGui but doesn't search for it at
> build
> time)
> kinfocenter (requires kpackage at build time but doesn't seem to need it)
>
>
> Christophe
>
>
>
>