Index: head/x11-wm/hikari/Makefile =================================================================== --- head/x11-wm/hikari/Makefile (revision 537835) +++ head/x11-wm/hikari/Makefile (revision 537836) @@ -1,61 +1,54 @@ # $FreeBSD$ PORTNAME= hikari -DISTVERSION= 1.2.1 +DISTVERSION= 2.0.0 CATEGORIES= x11-wm MASTER_SITES= https://hikari.acmelabs.space/releases/ MAINTAINER= ports@xanderio.de COMMENT= Stacking Wayland compositor with tiling capabilities LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland-protocols>=1.14:graphics/wayland-protocols \ wlroots>=0.9.0<0.11.0:x11-toolkits/wlroots LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \ libinput.so:x11/libinput \ libucl.so:textproc/libucl \ libwayland-server.so:graphics/wayland \ libwlroots.so:x11-toolkits/wlroots \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c11 gnome pkgconfig xorg USE_GNOME= cairo glib20 pango 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 GAMMA_DESC= Include gammacontrol protocol (required by, e.g., Redshift) LAYERSHELL_DESC= Include layer_shell protocol (required by, e.g., waybar) SCREENCOPY_DESC= Include screenshot protocol (required by, e.g., grim) SUID_DESC= Setuid bit on binaries (required for DRM and PAM) GAMMA_MAKE_ARGS= WITH_GAMMACONTROL=YES LAYERSHELL_MAKE_ARGS= WITH_LAYERSHELL=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 -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/hikari ${STAGEDIR}${PREFIX}/bin/ - ${INSTALL_PROGRAM} ${WRKSRC}/hikari-unlocker ${STAGEDIR}${PREFIX}/bin/ - ${INSTALL_DATA} ${WRKSRC}/pam.d/hikari-unlocker.FreeBSD ${STAGEDIR}${PREFIX}/etc/pam.d/hikari-unlocker - @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - ${INSTALL_MAN} ${WRKSRC}/share/examples/hikari/hikari.conf ${STAGEDIR}${EXAMPLESDIR}/hikari.conf - ${INSTALL_MAN} ${WRKSRC}/share/man/man1/hikari.1 ${STAGEDIR}${MAN1PREFIX}/share/man/man1/ - @${MKDIR} ${STAGEDIR}${PREFIX}/share/wayland-sessions - ${INSTALL_DATA} ${WRKDIR}/hikari.desktop ${STAGEDIR}${PREFIX}/share/wayland-sessions +post-install: +.ifndef WITH_DEBUG + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/hikari + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/hikari-unlocker +.endif + ${MV} ${STAGEDIR}${ETCDIR}/hikari.conf \ + ${STAGEDIR}${ETCDIR}/hikari.conf.sample .include Index: head/x11-wm/hikari/distinfo =================================================================== --- head/x11-wm/hikari/distinfo (revision 537835) +++ head/x11-wm/hikari/distinfo (revision 537836) @@ -1,3 +1,3 @@ -TIMESTAMP = 1590253300 -SHA256 (hikari-1.2.1.tar.gz) = f361ec9a367c03a9e678a8d04361426f6982e661719b9e6a3e742572eae0a8e5 -SIZE (hikari-1.2.1.tar.gz) = 99489 +TIMESTAMP = 1591118564 +SHA256 (hikari-2.0.0.tar.gz) = 0230bd89c90da1082e7d59bd991118e0b76c621ee55d21506893866a44adb5fe +SIZE (hikari-2.0.0.tar.gz) = 1002997 Index: head/x11-wm/hikari/files/hikari.desktop.in =================================================================== --- head/x11-wm/hikari/files/hikari.desktop.in (revision 537835) +++ head/x11-wm/hikari/files/hikari.desktop.in (nonexistent) @@ -1,7 +0,0 @@ -# $FreeBSD$ -[Desktop Entry] -Type=XSession -Name=Hikari -Comment=%%COMMENT%% -TryExec=%%PREFIX%%/bin/hikari -Exec=%%PREFIX%%/bin/hikari Property changes on: head/x11-wm/hikari/files/hikari.desktop.in ___________________________________________________________________ Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:keywords ## -1 +0,0 ## -FreeBSD=%H \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/x11-wm/hikari/files/patch-Makefile =================================================================== --- head/x11-wm/hikari/files/patch-Makefile (nonexistent) +++ head/x11-wm/hikari/files/patch-Makefile (revision 537836) @@ -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 Property changes on: head/x11-wm/hikari/files/patch-Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11-wm/hikari/pkg-plist =================================================================== --- head/x11-wm/hikari/pkg-plist (nonexistent) +++ head/x11-wm/hikari/pkg-plist (revision 537836) @@ -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 Property changes on: head/x11-wm/hikari/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property