mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
x11-wm/hikari: Update to 2.0.0
- Floating views are raised after layout apply. - Sheet is reset before layout apply. - Focus view is raised to layout on layout apply. - Add append/prepend to layout operations. - Remove sheet groups (ungrouped views create a group for their app id instead). - Groups can now start with digits (no more sheet group overlap). - Add 'sheet-show-group' operation. - Add 'workspace-show-group' operation. - Add 'workspace-show-invisible' operation. - Add 'workspace-show-all' operation. - Add 'workspace-clear' operation. - Add 'workspace-show-group' operation. - Add 'workspace-cycle-[next|prev]' operations. - Add output relative view position configuration (e.g. center, bottom-right). - Allow tiled views to be moved around. - Migrate views to other outputs using move operations (mouse and keyboard). - Add move libinput configuration options for pointer devices. - Add 'ui' section to configuration. - Add default configuration file. - Add default wallpaper. - Many multi-monitor fixes. - And many bugfixes. Port changes: - Use hikari.desktop from upstream. - Use install target from upstream: a patch was needed to avoid installing setuid files in the stage directory. PR: 246954 Submitted by: ports@xanderio.de Approved by: gerald (mentor)
This commit is contained in:
parent
853e87f89f
commit
86a6311d96
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=537836
@ -1,7 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= hikari
|
PORTNAME= hikari
|
||||||
DISTVERSION= 1.2.1
|
DISTVERSION= 2.0.0
|
||||||
CATEGORIES= x11-wm
|
CATEGORIES= x11-wm
|
||||||
MASTER_SITES= https://hikari.acmelabs.space/releases/
|
MASTER_SITES= https://hikari.acmelabs.space/releases/
|
||||||
|
|
||||||
@ -24,17 +24,11 @@ LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \
|
|||||||
USES= compiler:c11 gnome pkgconfig xorg
|
USES= compiler:c11 gnome pkgconfig xorg
|
||||||
USE_GNOME= cairo glib20 pango
|
USE_GNOME= cairo glib20 pango
|
||||||
USE_XORG= pixman
|
USE_XORG= pixman
|
||||||
MAKE_ARGS= ${WITH_DEBUG:DDEBUG=YES}
|
|
||||||
SUB_FILES= ${PORTNAME}.desktop
|
|
||||||
SUB_LIST= COMMENT="${COMMENT}"
|
|
||||||
PLIST_FILES= "${MAYBE_SUID}bin/${PORTNAME}" \
|
|
||||||
"${MAYBE_SUID}bin/${PORTNAME}-unlocker" \
|
|
||||||
etc/pam.d/${PORTNAME}-unlocker \
|
|
||||||
share/man/man1/${PORTNAME}.1.gz \
|
|
||||||
share/wayland-sessions/${PORTNAME}.desktop
|
|
||||||
PORTEXAMPLES= ${PORTNAME}.conf
|
|
||||||
|
|
||||||
OPTIONS_DEFINE= EXAMPLES GAMMA LAYERSHELL SCREENCOPY SUID X11
|
MAKE_ARGS+= ${WITH_DEBUG:DDEBUG=YES} \
|
||||||
|
WITHOUT_SUID=YES
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= GAMMA LAYERSHELL SCREENCOPY SUID X11
|
||||||
OPTIONS_DEFAULT= GAMMA LAYERSHELL SCREENCOPY SUID X11
|
OPTIONS_DEFAULT= GAMMA LAYERSHELL SCREENCOPY SUID X11
|
||||||
|
|
||||||
GAMMA_DESC= Include gammacontrol protocol (required by, e.g., Redshift)
|
GAMMA_DESC= Include gammacontrol protocol (required by, e.g., Redshift)
|
||||||
@ -45,17 +39,16 @@ SUID_DESC= Setuid bit on binaries (required for DRM and PAM)
|
|||||||
GAMMA_MAKE_ARGS= WITH_GAMMACONTROL=YES
|
GAMMA_MAKE_ARGS= WITH_GAMMACONTROL=YES
|
||||||
LAYERSHELL_MAKE_ARGS= WITH_LAYERSHELL=YES
|
LAYERSHELL_MAKE_ARGS= WITH_LAYERSHELL=YES
|
||||||
SCREENCOPY_MAKE_ARGS= WITH_SCREENCOPY=YES
|
SCREENCOPY_MAKE_ARGS= WITH_SCREENCOPY=YES
|
||||||
SUID_VARS= MAYBE_SUID="@(,,4755) "
|
SUID_PLIST_SUB= MAYBE_SUID="@(,,4755) "
|
||||||
|
SUID_PLIST_SUB_OFF= MAYBE_SUID=""
|
||||||
X11_MAKE_ARGS= WITH_XWAYLAND=YES
|
X11_MAKE_ARGS= WITH_XWAYLAND=YES
|
||||||
|
|
||||||
do-install:
|
post-install:
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/hikari ${STAGEDIR}${PREFIX}/bin/
|
.ifndef WITH_DEBUG
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/hikari-unlocker ${STAGEDIR}${PREFIX}/bin/
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/hikari
|
||||||
${INSTALL_DATA} ${WRKSRC}/pam.d/hikari-unlocker.FreeBSD ${STAGEDIR}${PREFIX}/etc/pam.d/hikari-unlocker
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/hikari-unlocker
|
||||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
.endif
|
||||||
${INSTALL_MAN} ${WRKSRC}/share/examples/hikari/hikari.conf ${STAGEDIR}${EXAMPLESDIR}/hikari.conf
|
${MV} ${STAGEDIR}${ETCDIR}/hikari.conf \
|
||||||
${INSTALL_MAN} ${WRKSRC}/share/man/man1/hikari.1 ${STAGEDIR}${MAN1PREFIX}/share/man/man1/
|
${STAGEDIR}${ETCDIR}/hikari.conf.sample
|
||||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/wayland-sessions
|
|
||||||
${INSTALL_DATA} ${WRKDIR}/hikari.desktop ${STAGEDIR}${PREFIX}/share/wayland-sessions
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
TIMESTAMP = 1590253300
|
TIMESTAMP = 1591118564
|
||||||
SHA256 (hikari-1.2.1.tar.gz) = f361ec9a367c03a9e678a8d04361426f6982e661719b9e6a3e742572eae0a8e5
|
SHA256 (hikari-2.0.0.tar.gz) = 0230bd89c90da1082e7d59bd991118e0b76c621ee55d21506893866a44adb5fe
|
||||||
SIZE (hikari-1.2.1.tar.gz) = 99489
|
SIZE (hikari-2.0.0.tar.gz) = 1002997
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
# $FreeBSD$
|
|
||||||
[Desktop Entry]
|
|
||||||
Type=XSession
|
|
||||||
Name=Hikari
|
|
||||||
Comment=%%COMMENT%%
|
|
||||||
TryExec=%%PREFIX%%/bin/hikari
|
|
||||||
Exec=%%PREFIX%%/bin/hikari
|
|
15
x11-wm/hikari/files/patch-Makefile
Normal file
15
x11-wm/hikari/files/patch-Makefile
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
--- Makefile.orig 2020-06-01 09:25:10 UTC
|
||||||
|
+++ Makefile
|
||||||
|
@@ -221,10 +221,10 @@ install: hikari hikari-unlocker share/man/man1/hikari.
|
||||||
|
mkdir -p ${DESTDIR}/${PREFIX}/share/wayland-sessions
|
||||||
|
mkdir -p ${DESTDIR}/${ETC_PREFIX}/etc/hikari
|
||||||
|
mkdir -p ${DESTDIR}/${ETC_PREFIX}/etc/pam.d
|
||||||
|
- sed "s,PREFIX,/${PREFIX}," etc/hikari/hikari.conf > ${DESTDIR}/${ETC_PREFIX}/etc/hikari/hikari.conf
|
||||||
|
+ sed "s,PREFIX,${PREFIX}," etc/hikari/hikari.conf > ${DESTDIR}/${ETC_PREFIX}/etc/hikari/hikari.conf
|
||||||
|
chmod 644 ${DESTDIR}/${ETC_PREFIX}/etc/hikari/hikari.conf
|
||||||
|
install -m ${PERMS} hikari ${DESTDIR}/${PREFIX}/bin
|
||||||
|
- install -m 4555 hikari-unlocker ${DESTDIR}/${PREFIX}/bin
|
||||||
|
+ install -m 555 hikari-unlocker ${DESTDIR}/${PREFIX}/bin
|
||||||
|
install -m 644 share/man/man1/hikari.1 ${DESTDIR}/${PREFIX}/share/man/man1
|
||||||
|
install -m 644 share/backgrounds/hikari/hikari_wallpaper.png ${DESTDIR}/${PREFIX}/share/backgrounds/hikari/hikari_wallpaper.png
|
||||||
|
install -m 644 share/wayland-sessions/hikari.desktop ${DESTDIR}/${PREFIX}/share/wayland-sessions/hikari.desktop
|
7
x11-wm/hikari/pkg-plist
Normal file
7
x11-wm/hikari/pkg-plist
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
%%MAYBE_SUID%%bin/hikari
|
||||||
|
%%MAYBE_SUID%%bin/hikari-unlocker
|
||||||
|
etc/pam.d/hikari-unlocker
|
||||||
|
@sample %%ETCDIR%%/hikari.conf.sample
|
||||||
|
share/backgrounds/hikari/hikari_wallpaper.png
|
||||||
|
share/man/man1/hikari.1.gz
|
||||||
|
share/wayland-sessions/hikari.desktop
|
Loading…
Reference in New Issue
Block a user