diff --git a/x11/plasma5-plasma-workspace/Makefile b/x11/plasma5-plasma-workspace/Makefile index 9aa36690f833..4945812470d6 100644 --- a/x11/plasma5-plasma-workspace/Makefile +++ b/x11/plasma5-plasma-workspace/Makefile @@ -1,69 +1,70 @@ PORTNAME= plasma-workspace DISTVERSION= ${KDE_PLASMA_VERSION} +PORTREVISION= 1 CATEGORIES= x11 kde kde-plasma MAINTAINER= kde@FreeBSD.org COMMENT= Plasma5 Plasma workspace WWW= https://www.kde.org/plasma-desktop LIB_DEPENDS= libcln.so:math/cln \ libdbusmenu-qt5.so:devel/libdbusmenu-qt@qt5 \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libicui18n.so:devel/icu \ libqalculate.so:math/libqalculate \ libwayland-client.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon \ libxcb-image.so:x11/xcb-util-image \ libxcb-util.so:x11/xcb-util RUN_DEPENDS= ck-launch-session:sysutils/consolekit2 \ iceauth:x11/iceauth \ xmessage:x11/xmessage \ xrdb:x11/xrdb \ xset:x11/xset \ xsetroot:x11/xsetroot \ ${LOCALBASE}/libdata/pkgconfig/xkeyboard-config.pc:x11/xkeyboard-config \ iso-codes>=0:misc/iso-codes \ ${LOCALBASE}/bin/genv:sysutils/coreutils \ accountsservice>=0:sysutils/accountsservice USES= cmake compiler:c++11-lib cpe desktop-file-utils gettext gl \ kde:5 pkgconfig qt:5 tar:xz xorg USE_GL= gl USE_KDE= activities activities-stats activitymanagerd archive attica \ auth baloo bookmarks codecs completion config configwidgets \ coreaddons crash dbusaddons emoticons filemetadata globalaccel \ guiaddons holidays i18n iconthemes idletime init itemmodels \ itemviews jobwidgets js jsembed kcmutils kdeclarative kdesu \ kio kscreenlocker kwin layer-shell-qt libkscreen \ libksysguard newstuff notifications notifyconfig package parts \ people plasma-framework plasma-integration prison pty runner \ service solid sonnet syntaxhighlighting texteditor textwidgets \ unitconversion wallet wayland widgetsaddons windowsystem \ xmlgui xmlrpcclient \ doctools:build ecm:build \ breeze-icons:run breeze:run kded:run kquickcharts:run \ milou:run oxygen-icons5:run USE_QT= concurrent core dbus declarative graphicaleffects gui network \ phonon4 printsupport qdbus script sql svg wayland \ widgets x11extras xml \ buildtools:build qmake:build testlib:build \ paths:run quickcontrols:run USE_XORG= ice sm x11 xau xcb xcomposite xcursor xext xfixes xft xi \ xkbfile xrender xtst CPE_VENDOR= kde CMAKE_OFF= BUILD_TESTING # In 5.15 a file was moved from x11/plasma5-plasma-desktop to x11/plasma5-plasma-workspace: CONFLICTS_INSTALL= plasma5-plasma-desktop-5.14.* post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${PATCH_WRKSRC}/startkde/startplasma.cpp post-stage: ${INSTALL_SCRIPT} ${FILESDIR}/startplasma-wayland.sh ${STAGEDIR}/${LOCALBASE}/bin/ .include diff --git a/x11/plasma5-plasma-workspace/files/patch-kcms_region_language b/x11/plasma5-plasma-workspace/files/patch-kcms_region_language new file mode 100644 index 000000000000..ec9122268cf3 --- /dev/null +++ b/x11/plasma5-plasma-workspace/files/patch-kcms_region_language @@ -0,0 +1,25 @@ +From 196966b02bf40a971bdf8888a2fa8ba7db0106f1 Mon Sep 17 00:00:00 2001 +From: Gleb Popov <6yearold@gmail.com> +Date: Tue, 24 Oct 2023 22:03:20 +0300 +Subject: [PATCH] kcms/region_language: Fix check for GLIBC_LOCALE. + +The GLIBC_LOCALE_AUTO is created by the #cmakedefine01 directive and thus is +always defined. +--- + config-workspace.h.cmake | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/config-workspace.h.cmake b/config-workspace.h.cmake +index b10d8bc4ae..5e252be071 100644 +--- config-workspace.h.cmake ++++ config-workspace.h.cmake +@@ -18,6 +18,6 @@ + #cmakedefine01 GLIBC_LOCALE_AUTO + #cmakedefine01 GLIBC_LOCALE_GENERATED + +-#if defined(GLIBC_LOCALE_AUTO) || defined(GLIBC_LOCALE_GENERATED) ++#if GLIBC_LOCALE_AUTO == 1 || GLIBC_LOCALE_GENERATED == 1 + #define GLIBC_LOCALE + #endif +-- +GitLab