aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorAdriaan de Groot <adridg@FreeBSD.org>2022-03-30 14:12:47 +0000
committerAdriaan de Groot <adridg@FreeBSD.org>2022-03-30 14:13:14 +0000
commitef1948cac85b9643a668136be225b61c006ec732 (patch)
tree3fb8c6746a69940602262ece621b33e624772cb1 /x11
parent164d8e36fb490cacec19ef31bbf0a99b8db4e7fa (diff)
downloadports-ef1948cac85b9643a668136be225b61c006ec732.tar.gz
ports-ef1948cac85b9643a668136be225b61c006ec732.zip
x11/kf5-plasma-framework: add bugfix from the distributions-list
Specific backport request for a visual regression on the KDE distributions list.
Diffstat (limited to 'x11')
-rw-r--r--x11/kf5-plasma-framework/Makefile3
-rw-r--r--x11/kf5-plasma-framework/files/7352045b388f4b0ef553706bd219457e5018ce4e.patch40
2 files changed, 43 insertions, 0 deletions
diff --git a/x11/kf5-plasma-framework/Makefile b/x11/kf5-plasma-framework/Makefile
index 3fcb06b62f67..526a6244f306 100644
--- a/x11/kf5-plasma-framework/Makefile
+++ b/x11/kf5-plasma-framework/Makefile
@@ -1,7 +1,10 @@
PORTNAME= plasma-framework
DISTVERSION= ${KDE_FRAMEWORKS_VERSION}
+PORTREVISION= 1
CATEGORIES= x11 kde kde-frameworks
+EXTRA_PATCHES= ${PATCHDIR}/7352045b388f4b0ef553706bd219457e5018ce4e.patch:-p1
+
MAINTAINER= kde@FreeBSD.org
COMMENT= KF5 plugin based UI runtime used to write user interfaces
diff --git a/x11/kf5-plasma-framework/files/7352045b388f4b0ef553706bd219457e5018ce4e.patch b/x11/kf5-plasma-framework/files/7352045b388f4b0ef553706bd219457e5018ce4e.patch
new file mode 100644
index 000000000000..04992bcb129d
--- /dev/null
+++ b/x11/kf5-plasma-framework/files/7352045b388f4b0ef553706bd219457e5018ce4e.patch
@@ -0,0 +1,40 @@
+From 7352045b388f4b0ef553706bd219457e5018ce4e Mon Sep 17 00:00:00 2001
+From: Marco Martin <notmart@gmail.com>
+Date: Mon, 28 Mar 2022 21:20:16 +0000
+Subject: [PATCH] Don't install the heading SVG in breeze-light and breeze-dark
+ Plasma themes
+
+Installing that file there was an acky workaround that got broken by 2cccf230.
+---
+ src/desktoptheme/breeze-dark/CMakeLists.txt | 5 +----
+ src/desktoptheme/breeze-light/CMakeLists.txt | 4 ----
+ 2 files changed, 1 insertion(+), 8 deletions(-)
+
+diff --git a/src/desktoptheme/breeze-dark/CMakeLists.txt b/src/desktoptheme/breeze-dark/CMakeLists.txt
+index 8f2078e4d..7f8f99062 100644
+--- a/src/desktoptheme/breeze-dark/CMakeLists.txt
++++ b/src/desktoptheme/breeze-dark/CMakeLists.txt
+@@ -8,7 +8,4 @@ install(
+ FILES colors "${CMAKE_CURRENT_BINARY_DIR}/metadata.desktop"
+ DESTINATION ${PLASMA_DATA_INSTALL_DIR}/desktoptheme/breeze-dark
+ )
+-install(
+- FILES ${PROJECT_BINARY_DIR}/src/desktoptheme/breeze/default.gzipped/widgets/plasmoidheading.svgz
+- DESTINATION ${PLASMA_DATA_INSTALL_DIR}/desktoptheme/breeze-dark/widgets
+-)
++
+diff --git a/src/desktoptheme/breeze-light/CMakeLists.txt b/src/desktoptheme/breeze-light/CMakeLists.txt
+index 678033cec..6688a603b 100644
+--- a/src/desktoptheme/breeze-light/CMakeLists.txt
++++ b/src/desktoptheme/breeze-light/CMakeLists.txt
+@@ -8,7 +8,3 @@ install(
+ FILES colors "${CMAKE_CURRENT_BINARY_DIR}/metadata.desktop"
+ DESTINATION ${PLASMA_DATA_INSTALL_DIR}/desktoptheme/breeze-light
+ )
+-install(
+- FILES ${PROJECT_BINARY_DIR}/src/desktoptheme/breeze/default.gzipped/widgets/plasmoidheading.svgz
+- DESTINATION ${PLASMA_DATA_INSTALL_DIR}/desktoptheme/breeze-light/widgets
+-)
+--
+GitLab
+