git: 8aa2ac6602a9 - main - x11/lumina-core: Disable CPU-saturating "Warp" screensaver
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 23 Jan 2023 00:48:56 UTC
The branch main has been updated by jwb: URL: https://cgit.FreeBSD.org/ports/commit/?id=8aa2ac6602a97060841784147a4a906ea8c0bf11 commit 8aa2ac6602a97060841784147a4a906ea8c0bf11 Author: Jason W. Bacon <jwb@FreeBSD.org> AuthorDate: 2023-01-23 00:45:35 +0000 Commit: Jason W. Bacon <jwb@FreeBSD.org> CommitDate: 2023-01-23 00:45:35 +0000 x11/lumina-core: Disable CPU-saturating "Warp" screensaver Lumina currently has no configuration interface for the screensaver, so users cannot prevent Warp from starting and using all available CPU time. This is a temporary hack to make Lumina more CPU-friendly until the screensaver options are configurable. --- x11/lumina-core/Makefile | 9 +++++++-- x11/lumina-core/pkg-plist | 2 -- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/x11/lumina-core/Makefile b/x11/lumina-core/Makefile index d16977c5828d..3a292f70ca8c 100644 --- a/x11/lumina-core/Makefile +++ b/x11/lumina-core/Makefile @@ -1,7 +1,7 @@ PORTNAME= lumina-core DISTVERSIONPREFIX= v DISTVERSION= 1.6.2 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= x11 MAINTAINER= ports@FreeBSD.org @@ -24,7 +24,7 @@ LIB_DEPENDS+= libxcb-ewmh.so:x11/xcb-util-wm \ libxcb-util.so:x11/xcb-util \ libXcursor.so:x11/libXcursor -USES= compiler:c++11-lang gl qmake qt:5 xorg +USES= compiler:c++11-lang desktop-file-utils gl qmake qt:5 xorg USE_GL= gl USE_XORG= x11 xdamage xcb USE_LDCONFIG= yes @@ -55,6 +55,11 @@ CONFIGURE_ENV+= DESTDIR=${STAGEDIR} CONFLICTS_INSTALL= lumina-1.2.* +post-extract: + @${RM} ${WRKSRC}/lumina-desktop*/extrafiles/screensavers/Warp* + @${RM} ${WRKSRC}/lumina-desktop*/extrafiles/screensavers/*/Warp* + post-install: ${FIND} ${STAGEDIR}${PREFIX}/share -name "ecp.*" -delete + .include <bsd.port.mk> diff --git a/x11/lumina-core/pkg-plist b/x11/lumina-core/pkg-plist index 3f84230df157..ad643feaaf66 100644 --- a/x11/lumina-core/pkg-plist +++ b/x11/lumina-core/pkg-plist @@ -1928,13 +1928,11 @@ share/lumina-desktop/screensavers/Grav.json share/lumina-desktop/screensavers/Matrix.json share/lumina-desktop/screensavers/README.md share/lumina-desktop/screensavers/Video.json -share/lumina-desktop/screensavers/Warp.json %%NLS%%share/lumina-desktop/screensavers/qml_scripts/Fireflies.qml %%NLS%%share/lumina-desktop/screensavers/qml_scripts/Firefly.qml %%NLS%%share/lumina-desktop/screensavers/qml_scripts/Grav.qml %%NLS%%share/lumina-desktop/screensavers/qml_scripts/Matrix.qml %%NLS%%share/lumina-desktop/screensavers/qml_scripts/Video.qml -%%NLS%%share/lumina-desktop/screensavers/qml_scripts/Warp.qml share/lumina-desktop/theme.cfg share/lumina-desktop/themes/DarkGlass.qss.template share/lumina-desktop/themes/Glass.qss.template