From nobody Sun Jun 16 08:49:55 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4W26CR6kvvz5NbR3; Sun, 16 Jun 2024 08:49:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W26CR65cpz4bYV; Sun, 16 Jun 2024 08:49:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718527795; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=nXL4XSS/UwQEW/ikmgOfY6JE2aQWVpN3dgX58vYJKSQ=; b=NG3UNnCN6gDgZEHALfRyffamOxuuLxFSrlZfus4qmktWYUkaDbNuEC19dbAtbj0IDY0Iv8 AvjpYVh+hHmATAADAPqz0cAfBVaMJg8vI5qfI7i+b+HyJ+0b03kPYl313r591e32YH/gFE LWWo53SSFwjnghcIvqWHpTCvLF44JVlVCl+qTNHdziZVu80q1AUq84iGtFKicX/8nP/hIe HpIyDtvj/Qkq4/Wauow8Wd+JLL6KFxTao7r+9utgJpwWnuJFP1+RrGDhdLD8wMIsbUjasw uu0+yHPDXQfJOsJZdU3M6owp2d5MQgAnfg5fJJ4a3GyC+cW6Tk1hE3Og7s0ezQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1718527795; a=rsa-sha256; cv=none; b=myeDqDqy/dKBmmFqJOgthSRKCtLKMiPdDOHX6uty1YG2ujughXx8qRdDFyrLYXV+XFnW8i kbo+FBOINT/40EGwiqdSXJVVph79xI1xUx2idObXA4nBq503/vjUgyIAm8qQkPT6KJwfsN FnfCfyAZhxtA9lDMl+DLxQ9b3MGDuttd+pG9eR1RcJOddX/1mXUDaasgThGsr1BJGStvjH SAEX1WkP4z/Bd6CKrt+sVHNgdSEt6+I6ae2J5grArcMUJsg0E+BuELae9vuXwO2TcJ+BZo HdzRfnL4BaTtPcCurrEQ2nr8/v5g38RnuReI8qEo7yRnNgrIKrVL+NFgTI6kIw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718527795; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=nXL4XSS/UwQEW/ikmgOfY6JE2aQWVpN3dgX58vYJKSQ=; b=Og2Z6ubV5a2gDPPaAF0bFSdM5buTQV+9G0BaDnZs0CE7PoBALRmLq7E4+8tAGRLal8HpVW dwVdPz3ZsRl9bXzhu52izKcu5U8a5Po146zj2gHT6EikqTSd9n1gwximPwV/ARLTrr2BXd qJOaSfcoWAcyL0i5KiB2lK4P8Pjk2JmWL9CyqLYlF+SYblYWM8YT/3xLpXj/7uEjHYj5if RLN6hXK//SuBtwf7Dr7NQDfUrtybXyYU2OMcjsX4KVU07Nldgyoy/0uQtAJsM1hPobBRlD 8nlbblLsrm+g3Za3gPJhhMueJBZrFfsNI/sd65U/STKO+oTy8BAY+pPm3IEclA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4W26CR5hbhzhBG; Sun, 16 Jun 2024 08:49:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 45G8ntmw079690; Sun, 16 Jun 2024 08:49:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45G8nt3E079687; Sun, 16 Jun 2024 08:49:55 GMT (envelope-from git) Date: Sun, 16 Jun 2024 08:49:55 GMT Message-Id: <202406160849.45G8nt3E079687@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Jason E. Hale" Subject: git: c75e38974160 - main - x11/plasma5-plasma-workspace: QA improvements List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhale X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c75e3897416092ecd7dd255114dae100734524d7 Auto-Submitted: auto-generated The branch main has been updated by jhale: URL: https://cgit.FreeBSD.org/ports/commit/?id=c75e3897416092ecd7dd255114dae100734524d7 commit c75e3897416092ecd7dd255114dae100734524d7 Author: Jason E. Hale AuthorDate: 2024-06-16 07:34:43 +0000 Commit: Jason E. Hale CommitDate: 2024-06-16 08:44:31 +0000 x11/plasma5-plasma-workspace: QA improvements Add missing pkg-plist entries after my rushed and pointy-hat-worthy commit 353079b68987. [1] I was under the impression that this version just contained the security fixes and didn't do my due diligence. To sort of make up for it: Add other missing pkg-plist entries if kuserfeedback is installed and add it as a dependency. Potentially improve wayland support by adding plasma-wayland-protocols and wayland-protocols as build dependencies. Add PIPEWIRE option and patch out auto-detection. Enable by default as x11/plasma5-plasma-desktop also enables PIPEWIRE by default. Remove ancient CONFLICTS. PR: 279744 [1] Reported by: jbeich [1] MFH: 2024Q2 --- x11/plasma5-plasma-workspace/Makefile | 31 ++++++++++------ .../files/patch-CMakeLists.txt | 26 ++++++++++++++ x11/plasma5-plasma-workspace/pkg-plist | 42 ++++++++++++++++++++++ 3 files changed, 89 insertions(+), 10 deletions(-) diff --git a/x11/plasma5-plasma-workspace/Makefile b/x11/plasma5-plasma-workspace/Makefile index 21100793eeb9..9c5c494a31bb 100644 --- a/x11/plasma5-plasma-workspace/Makefile +++ b/x11/plasma5-plasma-workspace/Makefile @@ -1,12 +1,16 @@ PORTNAME= plasma-workspace DISTVERSION= ${KDE_PLASMA_VERSION}.1 +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 \ +BUILD_DEPENDS= kio-extras>=23.08.5:devel/kio-extras \ + wayland-protocols>=1.31:graphics/wayland-protocols +LIB_DEPENDS= libKUserFeedbackCore.so:deskutils/kuserfeedback \ + libcln.so:math/cln \ libdbusmenu-qt5.so:devel/libdbusmenu-qt@qt5 \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ @@ -18,6 +22,7 @@ LIB_DEPENDS= libcln.so:math/cln \ libxcb-util.so:x11/xcb-util RUN_DEPENDS= ck-launch-session:sysutils/consolekit2 \ iceauth:x11/iceauth \ + kio-extras>=23.08.5:devel/kio-extras \ xmessage:x11/xmessage \ xrdb:x11/xrdb \ xset:x11/xset \ @@ -35,13 +40,13 @@ USE_KDE= activities activities-stats activitymanagerd archive attica \ 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 phonon plasma-framework plasma-integration prison pty runner \ - service solid sonnet syntaxhighlighting texteditor textwidgets \ - unitconversion wallet wayland widgetsaddons windowsystem \ - xmlgui xmlrpcclient \ - doctools:build ecm:build \ + kio kquickcharts kscreenlocker kwin layer-shell-qt libkexiv2 \ + libkscreen libksysguard newstuff notifications notifyconfig \ + package parts people phonon plasma-framework plasma-integration \ + prison pty runner service solid sonnet syntaxhighlighting \ + texteditor textwidgets unitconversion wallet wayland \ + widgetsaddons windowsystem xmlgui xmlrpcclient \ + doctools:build ecm:build plasma-wayland-protocols:build \ breeze-icons:run breeze:run kded:run kquickcharts:run \ milou:run oxygen-icons5:run USE_QT= concurrent core dbus declarative graphicaleffects gui network \ @@ -56,8 +61,14 @@ 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.* +OPTIONS_DEFINE= PIPEWIRE +OPTIONS_DEFAULT= PIPEWIRE + +PIPEWIRE_DESC= Screen capture via PipeWire + +PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire +PIPEWIRE_USE= KDE=kpipewire +PIPEWIRE_CMAKE_OFF= -DDISABLE_PIPEWIRE:BOOL=ON post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ diff --git a/x11/plasma5-plasma-workspace/files/patch-CMakeLists.txt b/x11/plasma5-plasma-workspace/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..aeae194a35f9 --- /dev/null +++ b/x11/plasma5-plasma-workspace/files/patch-CMakeLists.txt @@ -0,0 +1,26 @@ +Don't auto-detect PipeWire + +--- CMakeLists.txt.orig 2024-05-31 12:34:07 UTC ++++ CMakeLists.txt +@@ -47,7 +47,9 @@ find_package(KDED CONFIG REQUIRED) + OPTIONAL_COMPONENTS DocTools) + + find_package(KDED CONFIG REQUIRED) +-find_package(KPipeWire CONFIG) ++if(NOT DISABLE_PIPEWIRE) ++ find_package(KPipeWire CONFIG) ++endif() + + find_package(KF5NetworkManagerQt ${KF5_MIN_VERSION}) + set_package_properties(KF5NetworkManagerQt PROPERTIES DESCRIPTION "Qt wrapper for NetworkManager API" +@@ -152,7 +154,9 @@ endif() + set(HAVE_XFIXES 0) + endif() + +-pkg_check_modules(PipeWire IMPORTED_TARGET libpipewire-0.3) ++if(NOT DISABLE_PIPEWIRE) ++ pkg_check_modules(PipeWire IMPORTED_TARGET libpipewire-0.3) ++endif() + add_feature_info(PipeWire PipeWire_FOUND "Required for Wayland screencasting") + + if(PipeWire_FOUND) diff --git a/x11/plasma5-plasma-workspace/pkg-plist b/x11/plasma5-plasma-workspace/pkg-plist index 89abd277d6c0..d850766dc5a8 100644 --- a/x11/plasma5-plasma-workspace/pkg-plist +++ b/x11/plasma5-plasma-workspace/pkg-plist @@ -210,6 +210,7 @@ lib/libweather_ion.so.7.0.0 %%QT_PLUGINDIR%%/plasma/kcms/systemsettings/kcm_colors.so %%QT_PLUGINDIR%%/plasma/kcms/systemsettings/kcm_cursortheme.so %%QT_PLUGINDIR%%/plasma/kcms/systemsettings/kcm_desktoptheme.so +%%QT_PLUGINDIR%%/plasma/kcms/systemsettings/kcm_feedback.so %%QT_PLUGINDIR%%/plasma/kcms/systemsettings/kcm_fonts.so %%QT_PLUGINDIR%%/plasma/kcms/systemsettings/kcm_icons.so %%QT_PLUGINDIR%%/plasma/kcms/systemsettings/kcm_lookandfeel.so @@ -284,6 +285,7 @@ lib/systemd/user/plasma-xembedsniproxy.service share/applications/kcm_autostart.desktop share/applications/kcm_colors.desktop share/applications/kcm_cursortheme.desktop +share/applications/kcm_feedback.desktop share/applications/kcm_fontinst.desktop share/applications/kcm_fonts.desktop share/applications/kcm_icons.desktop @@ -301,6 +303,7 @@ share/applications/org.kde.plasmawindowed.desktop share/applications/org.kde.systemmonitor.desktop share/config.kcfg/colorssettings.kcfg share/config.kcfg/cursorthemesettings.kcfg +share/config.kcfg/feedbacksettings.kcfg share/config.kcfg/fontssettings.kcfg share/config.kcfg/freespacenotifier.kcfg share/config.kcfg/iconssettingsbase.kcfg @@ -504,6 +507,8 @@ share/doc/HTML/es/kcontrol/screenlocker/index.cache.bz2 share/doc/HTML/es/kcontrol/screenlocker/index.docbook share/doc/HTML/es/klipper/index.cache.bz2 share/doc/HTML/es/klipper/index.docbook +share/doc/HTML/fr/kcontrol/desktopthemedetails/index.cache.bz2 +share/doc/HTML/fr/kcontrol/desktopthemedetails/index.docbook share/doc/HTML/fr/kcontrol/fontinst/index.cache.bz2 share/doc/HTML/fr/kcontrol/fontinst/index.docbook share/doc/HTML/id/kcontrol/autostart/index.cache.bz2 @@ -832,6 +837,7 @@ share/kpackage/kcms/kcm_cursortheme/contents/ui/main.qml share/kpackage/kcms/kcm_desktoptheme/contents/ui/Hand.qml share/kpackage/kcms/kcm_desktoptheme/contents/ui/ThemePreview.qml share/kpackage/kcms/kcm_desktoptheme/contents/ui/main.qml +share/kpackage/kcms/kcm_feedback/contents/ui/main.qml share/kpackage/kcms/kcm_fonts/contents/ui/FontWidget.qml share/kpackage/kcms/kcm_fonts/contents/ui/main.qml share/kpackage/kcms/kcm_icons/contents/ui/IconSizePopup.qml @@ -1922,29 +1928,62 @@ share/locale/eo/LC_MESSAGES/kcm_autostart.mo share/locale/eo/LC_MESSAGES/kcm_colors.mo share/locale/eo/LC_MESSAGES/kcm_cursortheme.mo share/locale/eo/LC_MESSAGES/kcm_desktoptheme.mo +share/locale/eo/LC_MESSAGES/kcm_feedback.mo share/locale/eo/LC_MESSAGES/kcm_fonts.mo share/locale/eo/LC_MESSAGES/kcm_icons.mo +share/locale/eo/LC_MESSAGES/kcm_lookandfeel.mo +share/locale/eo/LC_MESSAGES/kcm_nightcolor.mo +share/locale/eo/LC_MESSAGES/kcm_notifications.mo +share/locale/eo/LC_MESSAGES/kcm_regionandlang.mo share/locale/eo/LC_MESSAGES/kcm_style.mo +share/locale/eo/LC_MESSAGES/kcm_users.mo share/locale/eo/LC_MESSAGES/kcminit.mo share/locale/eo/LC_MESSAGES/kfontinst.mo +share/locale/eo/LC_MESSAGES/kholidays_calendar_plugin.mo share/locale/eo/LC_MESSAGES/kio5_applications.mo +share/locale/eo/LC_MESSAGES/kio_desktop.mo share/locale/eo/LC_MESSAGES/klipper.mo share/locale/eo/LC_MESSAGES/krdb.mo +share/locale/eo/LC_MESSAGES/krunner.mo share/locale/eo/LC_MESSAGES/ksmserver.mo +share/locale/eo/LC_MESSAGES/libkicker.mo share/locale/eo/LC_MESSAGES/libkworkspace.mo +share/locale/eo/LC_MESSAGES/libnotificationmanager.mo share/locale/eo/LC_MESSAGES/phonon_kde_plugin.mo +share/locale/eo/LC_MESSAGES/plasma_applet_org.kde.plasma.activitybar.mo share/locale/eo/LC_MESSAGES/plasma_applet_org.kde.plasma.analogclock.mo +share/locale/eo/LC_MESSAGES/plasma_applet_org.kde.plasma.appmenu.mo share/locale/eo/LC_MESSAGES/plasma_applet_org.kde.plasma.battery.mo +share/locale/eo/LC_MESSAGES/plasma_applet_org.kde.plasma.calendar.mo +share/locale/eo/LC_MESSAGES/plasma_applet_org.kde.plasma.clipboard.mo share/locale/eo/LC_MESSAGES/plasma_applet_org.kde.plasma.devicenotifier.mo +share/locale/eo/LC_MESSAGES/plasma_applet_org.kde.plasma.digitalclock.mo +share/locale/eo/LC_MESSAGES/plasma_applet_org.kde.plasma.icon.mo share/locale/eo/LC_MESSAGES/plasma_applet_org.kde.plasma.lock_logout.mo +share/locale/eo/LC_MESSAGES/plasma_applet_org.kde.plasma.manageinputmethod.mo +share/locale/eo/LC_MESSAGES/plasma_applet_org.kde.plasma.mediacontroller.mo share/locale/eo/LC_MESSAGES/plasma_applet_org.kde.plasma.notifications.mo +share/locale/eo/LC_MESSAGES/plasma_applet_org.kde.plasma.panelspacer.mo +share/locale/eo/LC_MESSAGES/plasma_applet_org.kde.plasma.private.systemtray.mo +share/locale/eo/LC_MESSAGES/plasma_applet_org.kde.plasma.systemmonitor.mo +share/locale/eo/LC_MESSAGES/plasma_containmentactions_applauncher.mo share/locale/eo/LC_MESSAGES/plasma_containmentactions_contextmenu.mo share/locale/eo/LC_MESSAGES/plasma_containmentactions_switchwindow.mo share/locale/eo/LC_MESSAGES/plasma_engine_applicationjobs.mo +share/locale/eo/LC_MESSAGES/plasma_engine_devicenotifications.mo +share/locale/eo/LC_MESSAGES/plasma_engine_dict.mo +share/locale/eo/LC_MESSAGES/plasma_engine_hotplug.mo share/locale/eo/LC_MESSAGES/plasma_engine_keystate.mo +share/locale/eo/LC_MESSAGES/plasma_engine_mpris2.mo share/locale/eo/LC_MESSAGES/plasma_engine_notifications.mo +share/locale/eo/LC_MESSAGES/plasma_engine_powermanagement.mo share/locale/eo/LC_MESSAGES/plasma_engine_soliddevice.mo +share/locale/eo/LC_MESSAGES/plasma_engine_time.mo share/locale/eo/LC_MESSAGES/plasma_engine_weather.mo +share/locale/eo/LC_MESSAGES/plasma_lookandfeel_org.kde.lookandfeel.mo +share/locale/eo/LC_MESSAGES/plasma_package_plasmashell.mo +share/locale/eo/LC_MESSAGES/plasma_runner_appstream.mo +share/locale/eo/LC_MESSAGES/plasma_runner_baloosearch5.mo share/locale/eo/LC_MESSAGES/plasma_runner_bookmarksrunner.mo share/locale/eo/LC_MESSAGES/plasma_runner_calculatorrunner.mo share/locale/eo/LC_MESSAGES/plasma_runner_kill.mo @@ -1957,7 +1996,10 @@ share/locale/eo/LC_MESSAGES/plasma_runner_sessions.mo share/locale/eo/LC_MESSAGES/plasma_runner_shell.mo share/locale/eo/LC_MESSAGES/plasma_runner_webshortcuts.mo share/locale/eo/LC_MESSAGES/plasma_runner_windowedwidgets.mo +share/locale/eo/LC_MESSAGES/plasma_wallpaper_org.kde.color.mo share/locale/eo/LC_MESSAGES/plasma_wallpaper_org.kde.image.mo +share/locale/eo/LC_MESSAGES/plasmashell.mo +share/locale/eo/LC_MESSAGES/plasmashellprivateplugin.mo share/locale/eo/LC_MESSAGES/soliduiserver5.mo share/locale/es/LC_MESSAGES/freespacenotifier.mo share/locale/es/LC_MESSAGES/kcm_autostart.mo