Index | Thread | Search

From:
Rafael Sadowski <rafael@sizeofvoid.org>
Subject:
Re: NEW: devel/kf6
To:
ports <ports@openbsd.org>
Cc:
landry@openbsd.org
Date:
Sat, 13 Apr 2024 04:12:15 +0200

Download raw body.

Thread
Attached devel/kf6 6.1.0 tarball that is currently in a bulk build. All
build notes below are still valid.

On Mon Apr 01, 2024 at 09:08:13AM +0200, Rafael Sadowski wrote:
> Looking for an OK to import devel/kf6 (latest version attached). I don't
> want to hook it up for now. If you want to build it you need two ports form 
> x11/kde-applications: kf6-kaccounts-integration, kf6-kdegraphics-mobipocket.
> 
> You can find here: https://github.com/sizeofvoid/wip-ports/tree/kde6
> 
> Why don't I send all this along? Because there are so many parts.
> 
> The good news, https://github.com/sizeofvoid/wip-ports/tree/kde6 is
> completed.  All KDE6 parts ported. Now I need your support to import
> some qt6/kf6 ports.
> 
> On Sun Mar 17, 2024 at 08:43:19AM +0100, Rafael Sadowski wrote:
> > Hi ports@, Hi KDE haters and lovers,
> > 
> > I feel very confident that I can send this out. You can find attached as
> > tarball all KDE6 frameworks ports (devel/kf6). devel/kf6 is again a MODULE and
> > it's based on devel/kf5 with some tweaks.
> > 
> > Let me explain the plan to import it.
> > 
> > 1.) After the lock I would like to commit quickly the following changes in
> >     devel/kf5:
> >  - kguiaddons: -DBUILD_GEO_SCHEME_HANDLER=OFF
> >  - baloo: -DBUILD_INDEXER_SERVICE=OFF
> >  - kglobalaccel: -DKF6_COMPAT_BUILD=ON
> >  - kwallet: -DBUILD_KWALLETD=OFF and -DBUILD_KWALLET_QUERY=OFF
> >  - kio: -DKF6_COMPAT_BUILD=ON
> >  - plasma-framework: -DBUILD_DESKTOPTHEMES=OFF (now releases with Plasma)
> > as described here (Coinstallability)
> > https://community.kde.org/Frameworks/6.0_Release_notes
> 
> Committed.
> 
> > 
> > I know the diff includes some:
> > -RUN_DEPENDS =	devel/kf5/breeze-icons>=${MODKF5_VERSION}
> > +RUN_DEPENDS +=	devel/kf6/breeze-icons
> > 
> > This will not commit yet.
> > 
> > 2.) Import devel/kf6 without hooked it. It makes it easier to import some more
> >     dependencies for KDE6.
> >   - All devel/kf6 ports begin with the prefix kf6-.
> > 
> > 2.1) There are a few special ports notes:
> > 
> > 2.1.1) Conflicts with devel/kf5
> > Add conflicts with the deve/kf5 ports (as mentioned above)
> >  - kguiaddons/pkg/PLIST:@conflict kguiaddons-<5.115.0p0
> >  - kwallet/pkg/PLIST:@conflict kf5-kwallet-<5.115.0p0
> >  - kglobalaccel/pkg/PLIST:@conflict kglobalaccel-<5.115.0p0
> >  - kio/pkg/PLIST:@conflict kio-<5.115.0p0
> >  - baloo/pkg/PLIST:@conflict kf5-baloo-<5.115.0p0
> > 
> > 2.1.2) Current replacements:
> > 
> > devel/kf6/kuserfeedback
> > 
> > - Added @pkgpath productivity/kuserfeedback and conflict tag
> > 
> > devel/kf6/extra-cmake-modules
> > - We will switch to devel/kf6/extra-cmake-modules for all KF5 and KF6 ports.
> >   Only one version of extra-cmake-modules can be installed. The KF6 version is
> >   backwards compatible and should also be used for KF5 builds.
> > - Added @pkgpath devel/kf5/extra-cmake-modules and conflict tag
> > 
> > devel/kf6/breeze-icons
> > - All consumers (only RUN depends) should be bumped and switched to kf6
> >   breeze-icons. These are only icons.
> > - Added @pkgpath devel/kf5/breeze-icons and conflict tag
> > 
> > 2.1.3) devel/kf6 module and Makefile.inc
> > 
> > - No EXTRACT_SUFX in kf6.port.mk (it was a part of kf5)
> > 
> > - I add MODKF6_GIT (No by default)
> > .if ${MODKF6_GIT:L} == "no"
> > CONFIGURE_ARGS +=	-DCMAKE_DISABLE_FIND_PACKAGE_Git=ON
> > .endif
> > 
> > - I add MODKF6_GIT (No by default)
> > .if ${MODKF6_GIT:L} == "no"
> > CONFIGURE_ARGS +=	-DCMAKE_DISABLE_FIND_PACKAGE_Git=ON
> > .endif
> > 
> > - Added to avoid platform checks. OpenBSD is still not supported.
> > CONFIGURE_ARGS +=	-DKF_IGNORE_PLATFORM_CHECK=ON
> > 
> > LC_ALL in Makefile.inc
> > # Avoid spam in build process:
> > # Detected locale "C" with character encoding "US-ASCII", which is not UTF-8.
> > # Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
> > CONFIGURE_ENV +=	LC_ALL=C.UTF-8
> > MAKE_ENV +=		LC_ALL=C.UTF-8
> > 
> > I plan to make this a module option for kdoctools ports. If there are files
> > under share/doc/ we need devel/kf6/kdoctools and LC_ALL.
> > 
> > 2.2) Enable devel/kf6/extra-cmake-modules and devel/kf6/breeze-icons
> > First of all hook up extra-cmake-modules and breeze-icons.
> > 
> > 2.3) Start to send more new dependencies and ports to ports@ and pray for Oks
> > 
> > What do I need from you:
> > 
> >  - Does the plan make sense?
> >  - Concerns about (1)? If not I'll do it after lock.
> >  - **I need an OK to import devel/kf6 (unhooked)**
> >  - 2.2 will come with an extra mail
> > 
> > Question, input, comments, welcome...
> > 
> > Cheers, Rafael
> >