diff --git a/x11-wm/cagebreak/Makefile b/x11-wm/cagebreak/Makefile index 25e80662accd..987f4bfd6a6e 100644 --- a/x11-wm/cagebreak/Makefile +++ b/x11-wm/cagebreak/Makefile @@ -1,47 +1,47 @@ PORTNAME= cagebreak DISTVERSION= 1.9.0 -CATEGORIES= x11-wm +CATEGORIES= x11-wm wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Wayland tiling compositor inspired by ratpoison LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland-protocols>=1.14:graphics/wayland-protocols \ wlroots>=0.15.0<0.16.0:x11-toolkits/wlroots LIB_DEPENDS= libevdev.so:devel/libevdev \ libudev.so:devel/libudev-devd \ libwayland-server.so:graphics/wayland \ libfontconfig.so:x11-fonts/fontconfig \ libwlroots.so:x11-toolkits/wlroots \ libinput.so:x11/libinput \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c11 gnome meson pkgconfig xorg USE_GITHUB= yes USE_GNOME= cairo pango USE_XORG= pixman GH_ACCOUNT= project-repo MESON_ARGS= -Dversion_override="${DISTVERSIONFULL}" # if snapshot PLIST_FILES= bin/${PORTNAME} \ etc/xdg/${PORTNAME}/config OPTIONS_DEFINE= MANPAGES X11 OPTIONS_DEFAULT=MANPAGES X11 MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_TRUE= man-pages MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz \ man/man5/${PORTNAME}-config.5.gz X11_MESON_TRUE= xwayland post-patch: # Respect PREFIX for system-wide config @${REINPLACE_CMD} -e 's,/etc,${PREFIX}&,' \ ${WRKSRC}/${PORTNAME}.c \ ${WRKSRC}/meson.build .include diff --git a/x11-wm/gamescope/Makefile b/x11-wm/gamescope/Makefile index 1005941aff7c..9627b0cef72b 100644 --- a/x11-wm/gamescope/Makefile +++ b/x11-wm/gamescope/Makefile @@ -1,50 +1,50 @@ PORTNAME= gamescope DISTVERSION= 3.11.32 -CATEGORIES= x11-wm +CATEGORIES= x11-wm wayland PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= 2a84a44f6897.patch:-p1 # https://github.com/Plagman/gamescope/pull/119 PATCHFILES+= e0927f7bce95.patch:-p1 # https://github.com/Plagman/gamescope/pull/119 PATCHFILES+= a618ea074660.patch:-p1 # https://github.com/Plagman/gamescope/issues/120 MAINTAINER= jbeich@FreeBSD.org COMMENT= Micro-compositor from SteamOS LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= glslangValidator:graphics/glslang \ evdev-proto>0:devel/evdev-proto \ libliftoff>=0.2.0<0.3.0:graphics/libliftoff \ vulkan-headers>0:graphics/vulkan-headers \ wayland-protocols>=1.17:graphics/wayland-protocols \ wlroots>=0.15.0<0.16.0:x11-toolkits/wlroots LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \ libdrm.so:graphics/libdrm \ libliftoff.so:graphics/libliftoff \ libvulkan.so:graphics/vulkan-loader \ libwayland-server.so:graphics/wayland \ libwlroots.so:x11-toolkits/wlroots \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c++11-lib meson pkgconfig sdl xorg USE_GITHUB= yes USE_SDL= sdl2 USE_XORG= x11 xcomposite xdamage xext xfixes xrender xres xtst xxf86vm GH_ACCOUNT= Plagman GH_TUPLE= nothings:stb:af1a5bc:stb/subprojects/stb PLIST_FILES= bin/${PORTNAME} MESON_ARGS= --force-fallback-for= # allow system wlroots + libliftoff OPTIONS_DEFINE= PIPEWIRE OPTIONS_DEFAULT=PIPEWIRE PIPEWIRE_DESC= Screen capture via PipeWire PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_MESON_ENABLED= pipewire post-extract: # Merge patch_directory for subprojects without meson.build @(cd ${WRKSRC}/subprojects/packagefiles && ${COPYTREE_SHARE} . ..) .include diff --git a/x11-wm/hikari/Makefile b/x11-wm/hikari/Makefile index 26bdbe276048..78980a5b7d3f 100644 --- a/x11-wm/hikari/Makefile +++ b/x11-wm/hikari/Makefile @@ -1,49 +1,49 @@ PORTNAME= hikari DISTVERSION= 2.3.3 -CATEGORIES= x11-wm +CATEGORIES= x11-wm wayland MASTER_SITES= https://hikari.acmelabs.space/releases/ MAINTAINER= ashish@FreeBSD.org 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.15.0<0.16.0:x11-toolkits/wlroots LIB_DEPENDS= 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 pango USE_XORG= pixman MAKE_ARGS+= ${WITH_DEBUG:DDEBUG=YES} OPTIONS_DEFINE= GAMMA LAYERSHELL SCREENCOPY VIRTUALINPUT X11 OPTIONS_DEFAULT= GAMMA LAYERSHELL SCREENCOPY VIRTUALINPUT 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) VIRTUALINPUT_DESC= needed for VNC support (requiered by e.g. wayvnc) GAMMA_MAKE_ARGS= WITH_GAMMACONTROL=YES LAYERSHELL_MAKE_ARGS= WITH_LAYERSHELL=YES SCREENCOPY_MAKE_ARGS= WITH_SCREENCOPY=YES VIRTUALINPUT_MAKE_ARGS= WITH_VIRTUAL_INPUT=YES X11_MAKE_ARGS= WITH_XWAYLAND=YES 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 diff --git a/x11-wm/kwinft/Makefile b/x11-wm/kwinft/Makefile index e091a8afb7a2..b6c6c336c2a5 100644 --- a/x11-wm/kwinft/Makefile +++ b/x11-wm/kwinft/Makefile @@ -1,60 +1,60 @@ PORTNAME= kwinft DISTVERSIONPREFIX= ${PORTNAME}@ DISTVERSION= 5.24.1 -CATEGORIES= x11-wm +CATEGORIES= x11-wm wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Wayland compositor and X11 window manager LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto LIB_DEPENDS= libepoxy.so:graphics/libepoxy \ libwayland-server.so:graphics/wayland \ libWraplandServer.so:graphics/wrapland \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libwlroots.so:x11-toolkits/wlroots \ libinput.so:x11/libinput \ libxkbcommon.so:x11/libxkbcommon \ libxcb-cursor.so:x11/xcb-util-cursor \ libxcb-image.so:x11/xcb-util-image \ libxcb-keysyms.so:x11/xcb-util-keysyms \ libxcb-icccm.so:x11/xcb-util-wm TEST_DEPENDS= ${qt-testlib_PORT:T}>0:${qt-testlib_PORT} CONFLICTS_INSTALL= plasma5-kwin # bin/kwin_wayland USES= cmake:testing gl kde:5 pkgconfig python:run qt:5 shebangfix xorg USE_GITLAB= yes USE_GL= egl USE_KDE= ecm_build auth completion config configwidgets \ coreaddons crash dbusaddons decoration globalaccel i18n \ idletime kcmutils kdeclarative kio kscreenlocker newstuff \ notifications package plasma-framework service textwidgets \ widgetsaddons windowsystem xmlgui USE_LDCONFIG= yes USE_QT= qmake_build buildtools_build core dbus declarative gui \ multimedia_run quickcontrols2_run widgets x11extras USE_XORG= pixman x11 xcb xi SHEBANG_FILES= kconf_update/*.py kconf_update/*.pl GL_COMMIT= 022f157ce4bd14fbe069ab6fe41647b70d20f004 PLIST_SUB= VERSION=${PORTVERSION} LDFLAGS+= -Wl,--as-needed # GL, ICE/SM/Xext, epoll-shim, glib, intl, Qt5*, KF5* OPTIONS_DEFINE= BREEZE DOCS QA11Y OPTIONS_DEFAULT=BREEZE QA11Y BREEZE_DESC= Default window decoration plugin BREEZE_USE= KDE=breeze BREEZE_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Breeze DOCS_USE= KDE=doctools_build DOCS_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_KF5DocTools QA11Y_DESC= Accessibility (focus tracking) for Zoom effect QA11Y_LIB_DEPENDS= libqaccessibilityclient-qt5.so:accessibility/libqaccessibilityclient QA11Y_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_QAccessibilityClient .include diff --git a/x11-wm/labwc/Makefile b/x11-wm/labwc/Makefile index b5097c68e367..a171bf219fd1 100644 --- a/x11-wm/labwc/Makefile +++ b/x11-wm/labwc/Makefile @@ -1,55 +1,55 @@ PORTNAME= labwc DISTVERSION= 0.5.2 -CATEGORIES= x11-wm +CATEGORIES= x11-wm wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Wayland stacking compositor LICENSE= GPLv2 BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland-protocols>0:graphics/wayland-protocols \ wlroots>=0.15.0<0.16.0:x11-toolkits/wlroots LIB_DEPENDS= libwayland-server.so:graphics/wayland \ libwlroots.so:x11-toolkits/wlroots \ libinput.so:x11/libinput \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c11 gnome meson pkgconfig xorg USE_GITHUB= yes USE_GNOME= cairo libxml2 pango USE_XORG= pixman PLIST_FILES= bin/${PORTNAME} \ share/wayland-sessions/${PORTNAME}.desktop OPTIONS_DEFINE= MANPAGES X11 OPTIONS_DEFAULT=MANPAGES X11 MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz \ man/man5/${PORTNAME}-actions.5.gz \ man/man5/${PORTNAME}-config.5.gz \ man/man5/${PORTNAME}-environment.5.gz \ man/man5/${PORTNAME}-menu.5.gz \ man/man5/${PORTNAME}-theme.5.gz X11_MESON_ENABLED= xwayland post-extract: # Force system dependencies @${RM} ${WRKSRC}/subprojects/*.wrap post-patch: # Extract (snapshot) version from the port instead of meson.build @${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \ -e '/project_version/s/@0@/${DISTVERSIONFULL}/' \ ${WRKSRC}/meson.build # Respect PREFIX for system-wide config and Openbox themes @${REINPLACE_CMD} -e 's,/etc,${PREFIX}&,' \ -e 's,/usr/local,${PREFIX},' \ ${WRKSRC}/docs/${PORTNAME}-config.5.scd \ ${WRKSRC}/docs/${PORTNAME}-environment.5.scd \ ${WRKSRC}/src/common/dir.c .include diff --git a/x11-wm/phoc/Makefile b/x11-wm/phoc/Makefile index 35fb9085ccb2..76584e12341e 100644 --- a/x11-wm/phoc/Makefile +++ b/x11-wm/phoc/Makefile @@ -1,35 +1,35 @@ PORTNAME= phoc DISTVERSIONPREFIX= v DISTVERSION= 0.20.0 -CATEGORIES= x11-wm +CATEGORIES= x11-wm wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Phone compositor LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland-protocols>=1.15:graphics/wayland-protocols \ wlroots>=0.14.1<0.15.0:x11-toolkits/wlroots LIB_DEPENDS= libwayland-server.so:graphics/wayland \ libwlroots.so:x11-toolkits/wlroots \ libinput.so:x11/libinput \ libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS= ${LOCALBASE}/share/glib-2.0/schemas/org.gnome.mutter.gschema.xml:x11-wm/mutter USES= compiler:c11 gl gnome meson pkgconfig python:build shebangfix xorg USE_GITLAB= yes USE_GL= glesv2 USE_GNOME= gnomedesktop3 USE_XORG= pixman xcb GL_SITE= https://gitlab.gnome.org GL_ACCOUNT= World/Phosh GL_COMMIT= b686cc5010a8d0f9a654a8171e90415e0717e10c SHEBANG_FILES= build-aux/post_install.py CFLAGS+= -Wno-error=format-nonliteral # clang PLIST_FILES= bin/${PORTNAME} GLIB_SCHEMAS= sm.puri.phoc.gschema.xml .include "${.CURDIR}/Makefile.wlroots" .include diff --git a/x11-wm/river/Makefile b/x11-wm/river/Makefile index 771f06816020..1cd5a0734e46 100644 --- a/x11-wm/river/Makefile +++ b/x11-wm/river/Makefile @@ -1,75 +1,75 @@ PORTNAME= river DISTVERSIONPREFIX= v DISTVERSION= 0.1.3 PORTREVISION= 1 -CATEGORIES= x11-wm +CATEGORIES= x11-wm wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Dynamic tiling Wayland compositor LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland-protocols>0:graphics/wayland-protocols \ wlroots>=0.15.0:x11-toolkits/wlroots \ zig>=0.9.0:lang/zig LIB_DEPENDS= libevdev.so:devel/libevdev \ libwayland-server.so:graphics/wayland \ libwlroots.so:x11-toolkits/wlroots \ libinput.so:x11/libinput \ libxkbcommon.so:x11/libxkbcommon USES= pkgconfig xorg USE_GITHUB= yes USE_XORG= pixman GH_ACCOUNT= riverwm GH_TUPLE= ifreund:zig-pixman:d381567:zig_pixman/deps/zig-pixman \ ifreund:zig-wayland:80166ba:zig_wayland/deps/zig-wayland \ ifreund:zig-xkbcommon:60dde05:zig_xkbcommon/deps/zig-xkbcommon \ swaywm:zig-wlroots:49a5f81:zig_wlroots/deps/zig-wlroots MAKE_ENV= DESTDIR="${STAGEDIR}" CONFIGURE_ARGS= --prefix "${PREFIX}" \ ${WITH_DEBUG:D:U-Drelease-fast} \ -Dcpu=${CPUTYPE:Ubaseline} \ --verbose NO_INSTALL= yes # strip(1) breaks runtime PLIST_FILES= bin/${PORTNAME} \ bin/${PORTNAME}ctl \ bin/${PORTNAME}tile \ libdata/pkgconfig/${PORTNAME}-protocols.pc \ share/${PORTNAME}-protocols/${PORTNAME}-layout-v3.xml \ share/bash-completion/completions/${PORTNAME}ctl \ share/fish/vendor_completions.d/${PORTNAME}ctl.fish \ share/zsh/site-functions/_${PORTNAME}ctl \ ${NULL} OPTIONS_DEFINE= MANPAGES X11 OPTIONS_DEFAULT=MANPAGES X11 MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_CONFIGURE_ON= -Dman-pages=true MANPAGES_CONFIGURE_OFF= -Dman-pages=false MANPAGES_PLIST_FILES= share/man/man1/${PORTNAME}.1.gz \ share/man/man1/${PORTNAME}ctl.1.gz \ share/man/man1/${PORTNAME}tile.1.gz \ ${NULL} X11_CONFIGURE_ON= -Dxwayland=true X11_CONFIGURE_OFF= -Dxwayland=false post-patch: # Respect devel/pkgconf default search @${REINPLACE_CMD} -e '/pkgconfig/s/share/libdata/' \ ${WRKSRC}/build.zig # Respect PREFIX in path references @${REINPLACE_CMD} -e 's,/usr,${LOCALBASE},' \ ${WRKSRC}/doc/${PORTNAME}ctl.1.scd do-build: @(cd ${WRKSRC} && ${MAKE_ENV} zig build ${CONFIGURE_ARGS}) do-test: @(cd ${WRKSRC} && ${TEST_ENV} zig build test ${CONFIGURE_ARGS}) .include diff --git a/x11-wm/sway-devel/Makefile b/x11-wm/sway-devel/Makefile index 7d9aa2536d0c..e5938db5d0c7 100644 --- a/x11-wm/sway-devel/Makefile +++ b/x11-wm/sway-devel/Makefile @@ -1,68 +1,68 @@ PORTNAME= sway DISTVERSION= 1.7-104 DISTVERSIONSUFFIX= -ga55472c6d -CATEGORIES= x11-wm +CATEGORIES= x11-wm wayland PKGNAMESUFFIX= -devel PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= cd9d1038a822.patch:-p1 # https://github.com/swaywm/sway/pull/5090 PATCHFILES+= f98ca3ab7ca1.patch:-p1 # https://github.com/swaywm/sway/pull/5090 MAINTAINER= jbeich@FreeBSD.org COMMENT= i3-compatible Wayland compositor (development snapshot) LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland-protocols>=1.24:graphics/wayland-protocols \ wlroots>=0.15.0.289<0.17.0:x11-toolkits/wlroots LIB_DEPENDS= libjson-c.so:devel/json-c \ libevdev.so:devel/libevdev \ libudev.so:devel/libudev-devd \ libpcre2-8.so:devel/pcre2 \ libwayland-egl.so:graphics/wayland \ libwlroots.so:x11-toolkits/wlroots \ libinput.so:x11/libinput \ libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS= swaybg:x11/swaybg CONFLICTS_INSTALL= ${PORTNAME} USES= compiler:c11 gl gnome meson pkgconfig xorg USE_GITHUB= yes USE_GL= glesv2 USE_GNOME= cairo pango USE_XORG= pixman GH_ACCOUNT= swaywm MESON_ARGS= -Dsd-bus-provider=basu OPTIONS_DEFINE= BASU MANPAGES PIXBUF X11 OPTIONS_DEFAULT=BASU MANPAGES PIXBUF X11 OPTIONS_SUB= yes BASU_DESC= Tray in swaybar via basu BASU_LIB_DEPENDS= libbasu.so:devel/basu BASU_MESON_ENABLED= tray MANPAGES_BUILD_DEPENDS= scdoc>=1.9.2:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages PIXBUF_USE= GNOME=gdkpixbuf2 PIXBUF_MESON_ENABLED= gdk-pixbuf X11_USE= XORG=xcb X11_LIB_DEPENDS= libxcb-icccm.so:x11/xcb-util-wm X11_MESON_ENABLED= xwayland post-patch: # Let @sample handle default files under etc/ @${REINPLACE_CMD} -e '/config\.in/{ N; s/@BASENAME@/&.sample/; }' \ ${WRKSRC}/meson.build # Extract (snapshot) version from the port instead of meson.build @${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \ -e '/project_version/s/@0@/${DISTVERSIONFULL}/' \ ${WRKSRC}/meson.build .include "${.CURDIR:H:H}/x11-toolkits/wlroots-devel/override.mk" .include diff --git a/x11-wm/sway/Makefile b/x11-wm/sway/Makefile index a9f3c56f42c7..3cd490d17d93 100644 --- a/x11-wm/sway/Makefile +++ b/x11-wm/sway/Makefile @@ -1,64 +1,64 @@ PORTNAME= sway DISTVERSION= 1.7 -CATEGORIES= x11-wm +CATEGORIES= x11-wm wayland PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= cd9d1038a822.patch:-p1 # https://github.com/swaywm/sway/pull/5090 PATCHFILES+= f98ca3ab7ca1.patch:-p1 # https://github.com/swaywm/sway/pull/5090 MAINTAINER= jbeich@FreeBSD.org COMMENT= i3-compatible Wayland compositor LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland-protocols>=1.24:graphics/wayland-protocols \ wlroots>=0.15.0<0.16.0:x11-toolkits/wlroots LIB_DEPENDS= libjson-c.so:devel/json-c \ libevdev.so:devel/libevdev \ libudev.so:devel/libudev-devd \ libpcre.so:devel/pcre \ libwayland-egl.so:graphics/wayland \ libwlroots.so:x11-toolkits/wlroots \ libinput.so:x11/libinput \ libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS= swaybg:x11/swaybg CONFLICTS_INSTALL= ${PORTNAME}-devel USES= compiler:c11 gl gnome meson pkgconfig xorg USE_GITHUB= yes USE_GL= glesv2 USE_GNOME= cairo pango USE_XORG= pixman GH_ACCOUNT= swaywm MESON_ARGS= -Dsd-bus-provider=basu OPTIONS_DEFINE= BASU MANPAGES PIXBUF X11 OPTIONS_DEFAULT=BASU MANPAGES PIXBUF X11 OPTIONS_SUB= yes BASU_DESC= Tray in swaybar via basu BASU_LIB_DEPENDS= libbasu.so:devel/basu BASU_MESON_ENABLED= tray MANPAGES_BUILD_DEPENDS= scdoc>=1.9.2:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages PIXBUF_USE= GNOME=gdkpixbuf2 PIXBUF_MESON_ENABLED= gdk-pixbuf X11_USE= XORG=xcb X11_MESON_ENABLED= xwayland post-patch: # Let @sample handle default files under etc/ @${REINPLACE_CMD} -e '/config\.in/{ N; s/@BASENAME@/&.sample/; }' \ ${WRKSRC}/meson.build # Extract (snapshot) version from the port instead of meson.build @${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \ -e '/project_version/s/@0@/${DISTVERSIONFULL}/' \ ${WRKSRC}/meson.build .include diff --git a/x11-wm/wayfire-plugins-extra/Makefile b/x11-wm/wayfire-plugins-extra/Makefile index e8528bfe2c73..de58bef17561 100644 --- a/x11-wm/wayfire-plugins-extra/Makefile +++ b/x11-wm/wayfire-plugins-extra/Makefile @@ -1,52 +1,52 @@ PORTNAME= wayfire-plugins-extra DISTVERSIONPREFIX= v DISTVERSION= 0.7.0 PORTREVISION= 5 -CATEGORIES= x11-wm +CATEGORIES= x11-wm wayland PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= cf95ac721fb1.patch:-p1 # https://github.com/WayfireWM/wayfire-plugins-extra/pull/127 MAINTAINER= jbeich@FreeBSD.org COMMENT= Additional plugins for Wayfire LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= wayland-scanner:graphics/wayland \ wayland-protocols>0:graphics/wayland-protocols \ wayfire>0:x11-wm/wayfire LIB_DEPENDS= libwf-config.so:devel/wf-config \ libwlroots.so:x11-toolkits/wlroots USES= compiler:c++17-lang gnome meson pkgconfig shebangfix USE_GITHUB= yes USE_GITLAB= nodefault USE_GNOME= cairo glibmm GH_ACCOUNT= WayfireWM GH_TUPLE= damianatorrpm:wayfire-plugin_dbus_interface:c705bf1:dbus/subprojects/dbus GL_TUPLE= wayfireplugins:windecor:6ad31bfc10c5d39c0da7c68fa435064effad6381:windecor/subprojects/windecor SHEBANG_FILES= subprojects/dbus/compile-schemas.sh bash_CMD= ${SH} OPTIONS_DEFINE= DBUS LIBRSVG2 OPTIONS_DEFAULT=DBUS LIBRSVG2 OPTIONS_SUB= yes DBUS_BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto DBUS_USES= xorg DBUS_USE= XORG=xcb DBUS_MESON_TRUE= enable_dbus DBUS_VARS= GLIB_SCHEMAS+=org.wayland.compositor.dbus.gschema.xml LIBRSVG2_BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto LIBRSVG2_USES= xorg LIBRSVG2_USE= GNOME=librsvg2 XORG=pixman LIBRSVG2_MESON_TRUE= enable_windecor post-patch: # Respect PREFIX for icons @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \ ${WRKSRC}/subprojects/windecor/deco-theme.cpp .include diff --git a/x11-wm/wayfire/Makefile b/x11-wm/wayfire/Makefile index f1ad5993b3ee..1163f50e2f99 100644 --- a/x11-wm/wayfire/Makefile +++ b/x11-wm/wayfire/Makefile @@ -1,54 +1,54 @@ PORTNAME= wayfire DISTVERSIONPREFIX= v DISTVERSION= 0.7.3 -CATEGORIES= x11-wm +CATEGORIES= x11-wm wayland PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= dd479c06bf84.patch:-p1 # https://github.com/WayfireWM/wayfire/issues/599 MAINTAINER= jbeich@FreeBSD.org COMMENT= 3D Wayland compositor LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wf-config>=0.7.0<0.8.0:devel/wf-config \ ${LOCALBASE}/include/xf86drmMode.h:graphics/libdrm \ wayland-protocols>=1.12:graphics/wayland-protocols \ glm>=0.9.8:math/glm \ wlroots>=0.15.0<0.16.0:x11-toolkits/wlroots LIB_DEPENDS= libinotify.so:devel/libinotify \ libwf-config.so:devel/wf-config \ libpng.so:graphics/png \ libwayland-server.so:graphics/wayland \ libwlroots.so:x11-toolkits/wlroots \ libinput.so:x11/libinput \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c++17-lang gl gnome jpeg meson pkgconfig xorg USE_GITHUB= yes USE_GL= egl glesv2 USE_GNOME= cairo pango USE_XORG= pixman GH_ACCOUNT= WayfireWM GH_TUPLE= WayfireWM:wf-touch:8974eb0:wftouch/subprojects/wf-touch \ WayfireWM:wf-utils:889fdaf:wfutils/subprojects/wf-utils OPTIONS_DEFINE= X11 OPTIONS_DEFAULT=X11 X11_USE= XORG=xcb X11_MESON_ENABLED= xwayland post-patch: # Extract (snapshot) version from the port instead of meson.build @${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \ -e '/project_version/s/@0@/${DISTVERSIONFULL}/' \ ${WRKSRC}/meson.build post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.ini ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/x11/alacritty/Makefile b/x11/alacritty/Makefile index c3e2ec158559..9437b2ec6b7b 100644 --- a/x11/alacritty/Makefile +++ b/x11/alacritty/Makefile @@ -1,274 +1,274 @@ PORTNAME= alacritty DISTVERSIONPREFIX= v DISTVERSION= 0.10.1 PORTREVISION= 3 -CATEGORIES= x11 +CATEGORIES= x11 wayland MAINTAINER= mikael@FreeBSD.org COMMENT= GPU-accelerated terminal emulator LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE-APACHE LIB_DEPENDS= libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libxkbcommon.so:x11/libxkbcommon TEST_DEPENDS= dejavu>0:x11-fonts/dejavu USES= cargo localbase:ldflags python:3.6+,build ssl:build USE_GITHUB= yes CARGO_CRATES= adler32-1.2.0 \ android_glue-0.2.3 \ ansi_term-0.12.1 \ atty-0.2.14 \ autocfg-1.0.1 \ base64-0.13.0 \ bitflags-1.2.1 \ block-0.1.6 \ bumpalo-3.9.1 \ calloop-0.9.3 \ cc-1.0.72 \ cfg-if-0.1.10 \ cfg-if-1.0.0 \ cgl-0.3.2 \ clap-2.34.0 \ clipboard-win-3.1.1 \ cmake-0.1.48 \ cocoa-0.24.0 \ cocoa-foundation-0.1.0 \ copypasta-0.7.1 \ core-foundation-0.7.0 \ core-foundation-0.9.2 \ core-foundation-sys-0.7.0 \ core-foundation-sys-0.8.3 \ core-graphics-0.19.2 \ core-graphics-0.22.3 \ core-graphics-types-0.1.1 \ core-text-19.2.0 \ core-video-sys-0.1.4 \ crc32fast-1.3.0 \ crossfont-0.3.2 \ cty-0.2.2 \ darling-0.13.1 \ darling_core-0.13.1 \ darling_macro-0.13.1 \ dirs-3.0.2 \ dirs-sys-0.3.6 \ dispatch-0.2.0 \ dlib-0.5.0 \ downcast-rs-1.2.0 \ dwrote-0.11.0 \ embed-resource-1.6.5 \ expat-sys-2.1.6 \ filetime-0.2.15 \ fnv-1.0.7 \ foreign-types-0.3.2 \ foreign-types-0.5.0 \ foreign-types-macros-0.2.1 \ foreign-types-shared-0.1.1 \ foreign-types-shared-0.3.0 \ freetype-rs-0.26.0 \ freetype-sys-0.13.1 \ fsevent-0.4.0 \ fsevent-sys-2.0.1 \ fuchsia-zircon-0.3.3 \ fuchsia-zircon-sys-0.3.3 \ getrandom-0.2.3 \ gl_generator-0.14.0 \ glutin-0.28.0 \ glutin_egl_sys-0.1.5 \ glutin_emscripten_sys-0.1.1 \ glutin_gles2_sys-0.1.5 \ glutin_glx_sys-0.1.7 \ glutin_wgl_sys-0.1.5 \ hashbrown-0.11.2 \ heck-0.3.3 \ hermit-abi-0.1.19 \ ident_case-1.0.1 \ indexmap-1.8.0 \ inotify-0.7.1 \ inotify-sys-0.1.5 \ instant-0.1.12 \ iovec-0.1.4 \ itoa-1.0.1 \ jni-sys-0.3.0 \ js-sys-0.3.55 \ kernel32-sys-0.2.2 \ khronos_api-3.1.0 \ lazy-bytes-cast-5.0.1 \ lazy_static-1.4.0 \ lazycell-1.3.0 \ libc-0.2.112 \ libloading-0.7.2 \ linked-hash-map-0.5.4 \ lock_api-0.4.5 \ log-0.4.14 \ malloc_buf-0.0.6 \ memchr-2.4.1 \ memmap2-0.3.1 \ memoffset-0.6.5 \ minimal-lexical-0.2.1 \ miniz_oxide-0.3.7 \ mio-0.6.23 \ mio-0.8.0 \ mio-anonymous-pipes-0.2.0 \ mio-extras-2.0.6 \ mio-uds-0.6.8 \ miow-0.2.2 \ miow-0.3.7 \ ndk-0.5.0 \ ndk-glue-0.5.0 \ ndk-macro-0.3.0 \ ndk-sys-0.2.2 \ net2-0.2.37 \ nix-0.22.2 \ nom-7.1.0 \ notify-4.0.17 \ ntapi-0.3.6 \ num_enum-0.5.6 \ num_enum_derive-0.5.6 \ objc-0.2.7 \ objc-foundation-0.1.1 \ objc_id-0.1.1 \ once_cell-1.9.0 \ osmesa-sys-0.1.2 \ parking_lot-0.11.2 \ parking_lot_core-0.8.5 \ percent-encoding-2.1.0 \ pkg-config-0.3.24 \ png-0.16.8 \ proc-macro-crate-1.1.0 \ proc-macro-error-1.0.4 \ proc-macro-error-attr-1.0.4 \ proc-macro2-1.0.36 \ quick-xml-0.22.0 \ quote-1.0.14 \ raw-window-handle-0.4.2 \ redox_syscall-0.2.10 \ redox_users-0.4.0 \ regex-automata-0.1.10 \ regex-syntax-0.6.25 \ ryu-1.0.9 \ same-file-1.0.6 \ scoped-tls-1.0.0 \ scopeguard-1.1.0 \ serde-1.0.133 \ serde_derive-1.0.133 \ serde_json-1.0.74 \ serde_yaml-0.8.23 \ servo-fontconfig-0.5.1 \ servo-fontconfig-sys-5.1.0 \ shared_library-0.1.9 \ signal-hook-0.3.13 \ signal-hook-mio-0.2.1 \ signal-hook-registry-1.4.0 \ slab-0.4.5 \ smallvec-1.7.0 \ smithay-client-toolkit-0.15.3 \ smithay-clipboard-0.6.5 \ spsc-buffer-0.1.1 \ strsim-0.8.0 \ strsim-0.10.0 \ structopt-0.3.25 \ structopt-derive-0.4.18 \ syn-1.0.85 \ textwrap-0.11.0 \ thiserror-1.0.30 \ thiserror-impl-1.0.30 \ toml-0.5.8 \ unicode-segmentation-1.8.0 \ unicode-width-0.1.9 \ unicode-xid-0.2.2 \ utf8parse-0.2.0 \ vec_map-0.8.2 \ version_check-0.9.4 \ vswhom-0.1.0 \ vswhom-sys-0.1.0 \ vte-0.10.1 \ vte_generate_state_changes-0.1.1 \ walkdir-2.3.2 \ wasi-0.10.2+wasi-snapshot-preview1 \ wasm-bindgen-0.2.78 \ wasm-bindgen-backend-0.2.78 \ wasm-bindgen-macro-0.2.78 \ wasm-bindgen-macro-support-0.2.78 \ wasm-bindgen-shared-0.2.78 \ wayland-client-0.29.4 \ wayland-commons-0.29.4 \ wayland-cursor-0.29.4 \ wayland-egl-0.29.4 \ wayland-protocols-0.29.4 \ wayland-scanner-0.29.4 \ wayland-sys-0.29.4 \ web-sys-0.3.55 \ winapi-0.2.8 \ winapi-0.3.9 \ winapi-build-0.1.1 \ winapi-i686-pc-windows-gnu-0.4.0 \ winapi-util-0.1.5 \ winapi-x86_64-pc-windows-gnu-0.4.0 \ winit-0.26.1 \ winreg-0.10.1 \ wio-0.2.2 \ ws2_32-sys-0.2.1 \ x11-clipboard-0.5.3 \ x11-dl-2.19.1 \ xcb-0.10.1 \ xcursor-0.3.4 \ xdg-2.4.0 \ xml-rs-0.8.4 \ yaml-rust-0.4.5 CARGO_INSTALL_PATH= alacritty CARGO_FEATURES+= --no-default-features CARGO_CARGOTOML= ${WRKSRC}/${PORTNAME}/Cargo.toml # For xcb crate BINARY_ALIAS= python3=${PYTHON_CMD} PLIST_FILES= bin/alacritty \ etc/bash_completion.d/alacritty.bash \ share/fish/completions/alacritty.fish \ share/man/man1/alacritty.1.gz \ share/pixmaps/Alacritty.svg \ share/zsh/site-functions/_alacritty \ ${DESKTOPDIR}/Alacritty.desktop PORTEXAMPLES= alacritty.yml OPTIONS_DEFINE= EXAMPLES BACKEND_DESC= Display backend OPTIONS_MULTI= BACKEND OPTIONS_MULTI_BACKEND= WAYLAND X11 OPTIONS_DEFAULT= WAYLAND X11 WAYLAND_VARS= CARGO_FEATURES+=wayland X11_USES= xorg X11_USE= XORG=xcb X11_VARS= CARGO_FEATURES+=x11 post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/alacritty ${INSTALL_DATA} ${WRKSRC}/extra/linux/Alacritty.desktop \ ${STAGEDIR}${DESKTOPDIR} ${INSTALL_DATA} ${WRKSRC}/extra/logo/alacritty-term.svg \ ${STAGEDIR}${PREFIX}/share/pixmaps/Alacritty.svg ${INSTALL_MAN} ${WRKSRC}/extra/alacritty.man \ ${STAGEDIR}${PREFIX}/share/man/man1/alacritty.1 @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d ${INSTALL_DATA} ${WRKSRC}/extra/completions/alacritty.bash \ ${STAGEDIR}${PREFIX}/etc/bash_completion.d @${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/completions ${INSTALL_DATA} ${WRKSRC}/extra/completions/alacritty.fish \ ${STAGEDIR}${PREFIX}/share/fish/completions @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions ${INSTALL_DATA} ${WRKSRC}/extra/completions/_alacritty \ ${STAGEDIR}${PREFIX}/share/zsh/site-functions post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/x11/clipman/Makefile b/x11/clipman/Makefile index 27eee1b8272f..6f3e09ab8c0f 100644 --- a/x11/clipman/Makefile +++ b/x11/clipman/Makefile @@ -1,28 +1,28 @@ PORTNAME= clipman DISTVERSIONPREFIX= v DISTVERSION= 1.6.1 PORTREVISION= 2 -CATEGORIES= x11 +CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Simple clipboard manager for Wayland LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= wl-copy:x11/wl-clipboard USES= go:modules USE_GITHUB= yes GH_ACCOUNT= yory8 GH_TUPLE= alecthomas:kingpin:v2.2.6:alecthomas_kingpin/vendor/gopkg.in/alecthomas/kingpin.v2 \ alecthomas:template:fb15b899a751:alecthomas_template/vendor/github.com/alecthomas/template \ alecthomas:units:f65c72e2690d:alecthomas_units/vendor/github.com/alecthomas/units \ kballard:go-shellquote:95032a82bc51:kballard_go_shellquote/vendor/github.com/kballard/go-shellquote PLIST_FILES= bin/${PORTNAME} \ share/man/man1/${PORTNAME}.1.gz post-install: ${INSTALL_MAN} ${WRKSRC}/docs/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1 .include diff --git a/x11/dmenu-wayland/Makefile b/x11/dmenu-wayland/Makefile index f0e8547c1c58..df066dea5111 100644 --- a/x11/dmenu-wayland/Makefile +++ b/x11/dmenu-wayland/Makefile @@ -1,31 +1,31 @@ PORTNAME= dmenu-wayland PORTVERSION= 0.1 DISTVERSIONPREFIX= v -CATEGORIES= x11 +CATEGORIES= x11 wayland PATCH_SITES= https://github.com/nyyManni/dmenu-wayland/commit/ PATCHFILES= b646f4d14c627d9a4300d9d015fb8e9b5cb2abef.patch:-p1 MAINTAINER= bapt@FreeBSD.org COMMENT= Efficient dynamic menu for wayland LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= gnome meson pkgconfig BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/wayland-protocols.pc:graphics/wayland-protocols LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon USE_GITHUB= yes GH_ACCOUNT= nyyManni USE_GNOME= cairo glib20 pango PLIST_FILES= bin/dmenu-wl \ bin/dmenu-wl_path \ bin/dmenu-wl_run \ man/man1/dmenu-wl.1.gz .include diff --git a/x11/fnott/Makefile b/x11/fnott/Makefile index 134862b94162..97128ceddd9f 100644 --- a/x11/fnott/Makefile +++ b/x11/fnott/Makefile @@ -1,31 +1,31 @@ PORTNAME= fnott DISTVERSION= 1.2.1 -CATEGORIES= x11 +CATEGORIES= x11 wayland MASTER_SITES= https://codeberg.org/dnkl/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ MAINTAINER= jbeich@FreeBSD.org COMMENT= Keyboard-driven notification daemon for wlroots-based compositors LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ tllist>=1.0.1:devel/tllist \ wayland-protocols>0:graphics/wayland-protocols \ scdoc:textproc/scdoc LIB_DEPENDS= libdbus-1.so:devel/dbus \ libepoll-shim.so:devel/libepoll-shim \ libpng.so:graphics/png \ libwayland-client.so:graphics/wayland \ libfcft.so:x11-fonts/fcft USES= compiler:c11 meson pkgconfig xorg USE_XORG= pixman WRKSRC= ${WRKDIR}/${PORTNAME} post-patch: # Respect PREFIX for icons @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \ ${WRKSRC}/xdg.c .include diff --git a/x11/foot/Makefile b/x11/foot/Makefile index d44afde515b6..e51cee0fb5b0 100644 --- a/x11/foot/Makefile +++ b/x11/foot/Makefile @@ -1,101 +1,101 @@ PORTNAME= foot DISTVERSION= 1.12.1 -CATEGORIES= x11 +CATEGORIES= x11 wayland MASTER_SITES= https://codeberg.org/dnkl/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ MAINTAINER= jbeich@FreeBSD.org COMMENT= Fast, lightweight and minimalistic Wayland terminal emulator LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ tllist>=1.0.4:devel/tllist \ wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \ libwayland-client.so:graphics/wayland \ libfcft.so:x11-fonts/fcft \ libfontconfig.so:x11-fonts/fontconfig \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c11 meson pkgconfig xorg USE_XORG= pixman WRKSRC= ${WRKDIR}/${PORTNAME} OPTIONS_DEFINE= DOCS LTO NOTIFY PGO UTF8PROC XDG OPTIONS_DEFAULT=LTO NOTIFY PGO UTF8PROC XDG OPTIONS_EXCLUDE+= ${CC:T:Mgcc*:C/.+/LTO/} # undefined reference to `xstrdup' OPTIONS_EXCLUDE_powerpc64= ${"${/usr/bin/ld:L:tA}"==/usr/bin/ld.lld:?LTO:} # https://github.com/llvm/llvm-project/issues/46697 OPTIONS_EXCLUDE_FreeBSD_12= ${WAYLAND_DISPLAY:UPGO} # ./pgo hangs DOCS_BUILD_DEPENDS= scdoc:textproc/scdoc DOCS_MESON_ENABLED= docs LTO_MESON_TRUE= b_lto NOTIFY_RUN_DEPENDS= notify-send:devel/libnotify PGO_USES= python:build PGO_MESON_ON= -Db_pgo=generate PGO_CFLAGS= ${PGO_CFLAGS_${CHOSEN_COMPILER_TYPE}} PGO_CFLAGS_clang= -Wno-ignored-optimization-argument # meson -Db_pgo=use PGO_SCRIPT_ARGS= --colors-regular --colors-bright --colors-256 --colors-rgb \ --scroll --scroll-region \ --attr-bold --attr-italic --attr-underline \ --sixel UTF8PROC_DESC= Grapheme clustering using libutf8proc UTF8PROC_LIB_DEPENDS= libutf8proc.so:textproc/utf8proc UTF8PROC_MESON_ENABLED= grapheme-clustering XDG_DESC= Open files with xdg-open XDG_RUN_DEPENDS= xdg-open:devel/xdg-utils .if exists(/usr/bin/tic) # Add site- suffix to avoid conflict with terminfo-db (part of ncurses) MESON_ARGS+= -Dcustom-terminfo-install-location="${PLIST_FILES:M*terminfo*:[1]:H:H}" PKGMESSAGE= ${NONEXISTENT} PLIST_FILES+= share/site-terminfo/${PORTNAME:C,^.,&/&,} \ share/site-terminfo/${PORTNAME:C,^.,&/&,}-direct .else MESON_ARGS+= -Dterminfo=disabled -Ddefault-terminfo=xterm-256color .endif post-patch: # Respect PREFIX for system-wide config @${REINPLACE_CMD} -e 's,/etc,${PREFIX}&,' \ ${WRKSRC}/config.c \ ${WRKSRC}/doc/${PORTNAME}.1.scd \ ${WRKSRC}/doc/${PORTNAME}.ini.5.scd # Let @sample handle default files under etc/ @${REINPLACE_CMD} -e "/install.*sysconfdir/s/'[^']*/&', rename: &.sample/1" \ ${WRKSRC}/meson.build .if !defined(DEFAULT_POST_BUILD) post-build-PGO-on: (cd ${BUILD_WRKSRC} && ./tests/test-config) # -Wbackend-plugin/-Wmissing-profile (cd ${BUILD_WRKSRC} && ./${PORTNAME}client --version) # -Wbackend-plugin/-Wmissing-profile .if defined(WAYLAND_DISPLAY) # Likely a local build, so optimize for the current config (cd ${BUILD_WRKSRC} && LC_ALL=en_US.UTF-8 ./${PORTNAME} ${PYTHON_CMD} \ ${WRKSRC}/scripts/generate-alt-random-writes.py \ ${PGO_SCRIPT_ARGS}) .else (cd ${BUILD_WRKSRC} && ./${PORTNAME} --version) # -Wbackend-plugin/-Wmissing-profile (cd ${BUILD_WRKSRC} && ${PYTHON_CMD} \ ${WRKSRC}/scripts/generate-alt-random-writes.py \ --seed=${:!${AWK} '/TIMESTAMP/ { print \$3 }' ${DISTINFO_FILE}!} \ --rows=67 --cols=135 \ ${PGO_SCRIPT_ARGS} \ pgo-input && ./pgo pgo-input) .endif @if [ ${CHOSEN_COMPILER_TYPE} = clang ]; then \ llvm-profdata merge -o ${BUILD_WRKSRC}/default.profdata \ ${BUILD_WRKSRC}/default*.profraw; \ fi ${RM} ${BUILD_COOKIE} ${CONFIGURE_CMD} configure -Db_pgo=use ${BUILD_WRKSRC} ${MAKE} -C${.CURDIR} build DEFAULT_POST_BUILD=1 .endif .include diff --git a/x11/fuzzel/Makefile b/x11/fuzzel/Makefile index 1b4e03fb093a..2125952df7bf 100644 --- a/x11/fuzzel/Makefile +++ b/x11/fuzzel/Makefile @@ -1,51 +1,51 @@ PORTNAME= fuzzel DISTVERSION= 1.7.0 -CATEGORIES= x11 +CATEGORIES= x11 wayland MASTER_SITES= https://codeberg.org/dnkl/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ MAINTAINER= jbeich@FreeBSD.org COMMENT= Application launcher for wlroots-based Wayland compositors LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= tllist>=1.0.1:devel/tllist \ wayland-protocols>0:graphics/wayland-protocols \ scdoc:textproc/scdoc LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \ libwayland-client.so:graphics/wayland \ libfcft.so:x11-fonts/fcft \ libfontconfig.so:x11-fonts/fontconfig \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c11 meson pkgconfig xorg USE_XORG= pixman WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_FILES= bin/${PORTNAME} \ man/man1/${PORTNAME}.1.gz \ share/zsh/site-functions/_${PORTNAME} OPTIONS_DEFINE= CAIRO LIBRSVG2 PNG OPTIONS_DEFAULT=CAIRO LIBRSVG2 PNG CAIRO_USES= gnome CAIRO_USE= GNOME=cairo CAIRO_MESON_ENABLED= enable-cairo LIBRSVG2_USES= gnome LIBRSVG2_USE= GNOME=librsvg2 LIBRSVG2_MESON_ON= -Dsvg-backend=librsvg LIBRSVG2_MESON_OFF= -Dsvg-backend=nanosvg LIBRSVG2_IMPLIES= CAIRO PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_MESON_ON= -Dpng-backend=libpng PNG_MESON_OFF= -Dpng-backend=none post-patch: # Respect PREFIX for icons @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \ ${WRKSRC}/completions/zsh/_${PORTNAME} \ ${WRKSRC}/xdg.c .include diff --git a/x11/grim/Makefile b/x11/grim/Makefile index 8a713874567e..390353551a51 100644 --- a/x11/grim/Makefile +++ b/x11/grim/Makefile @@ -1,33 +1,33 @@ PORTNAME= grim DISTVERSIONPREFIX= v DISTVERSION= 1.4.0 -CATEGORIES= x11 +CATEGORIES= x11 wayland MASTER_SITES= https://git.sr.ht/~emersion/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ PATCH_SITES= https://git.sr.ht/~emersion/${PORTNAME}/commit/ PATCHFILES+= 89e02e663fab.patch:-p1 # https://github.com/emersion/grim/pull/121 MAINTAINER= jbeich@FreeBSD.org COMMENT= Grab images from a Wayland compositor LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= wayland-protocols>=1.14:graphics/wayland-protocols LIB_DEPENDS= libwayland-client.so:graphics/wayland USES= compiler:c11 gnome meson pkgconfig USE_GNOME= cairo PLIST_FILES= bin/${PORTNAME} OPTIONS_DEFINE= JPEG MANPAGES OPTIONS_DEFAULT=JPEG MANPAGES MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz JPEG_USES= jpeg JPEG_MESON_ENABLED= jpeg .include diff --git a/x11/havoc/Makefile b/x11/havoc/Makefile index 6b1bf41d4c73..82ba56ab8f2c 100644 --- a/x11/havoc/Makefile +++ b/x11/havoc/Makefile @@ -1,47 +1,47 @@ # Created by: Emmanuel Vadot PORTNAME= havoc PORTVERSION= 0.3.1 -CATEGORIES= x11 +CATEGORIES= x11 wayland PATCH_SITES= https://github.com/ii8/havoc/commit/ PATCH_DIST_STRIP= -p1 MAINTAINER= manu@FreeBSD.org COMMENT= Minimal terminal emulator for Wayland LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols \ libxkbcommon>0:x11/libxkbcommon LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \ libwayland-client.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSansMono.ttf:x11-fonts/dejavu USES= gmake pkgconfig USE_GITHUB= yes GH_ACCOUNT= ii8 GH_PROJECT= havoc PATCHFILES+= be024469f0.patch # https://github.com/ii8/havoc/pull/32 PATCHFILES+= 4fe53499c6.patch # https://github.com/ii8/havoc/pull/32 PATCHFILES+= f7bcc3d158.patch # https://github.com/ii8/havoc/pull/32 PATCHFILES+= ef6eff8681.patch # https://github.com/ii8/havoc/pull/32 PLIST_FILES= bin/havoc \ share/examples/havoc/havoc.cfg SUB_FILES= pkg-message do-build: (cd ${WRKSRC} && ${MAKE_CMD} havoc) do-install: (cd ${WRKSRC} && ${MAKE_CMD} PREFIX=${STAGEDIR}${PREFIX} install) ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/havoc.cfg ${STAGEDIR}${EXAMPLESDIR}/havoc.cfg ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/havoc .include diff --git a/x11/kanshi/Makefile b/x11/kanshi/Makefile index d86391b66425..f4614764eae7 100644 --- a/x11/kanshi/Makefile +++ b/x11/kanshi/Makefile @@ -1,30 +1,30 @@ PORTNAME= kanshi DISTVERSIONPREFIX= v PORTVERSION= 1.2.0 -CATEGORIES= x11 +CATEGORIES= x11 wayland MASTER_SITES= https://git.sr.ht/~emersion/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ MAINTAINER= jbeich@FreeBSD.org COMMENT= Dynamic display configuration for Wayland LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libwayland-client.so:graphics/wayland USES= compiler:c11 meson pkgconfig PLIST_FILES= bin/${PORTNAME} OPTIONS_DEFINE= MANPAGES OPTIONS_DEFAULT=MANPAGES MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz \ man/man5/${PORTNAME}.5.gz post-patch: @${REINPLACE_CMD} -e 's,/etc,${PREFIX}&,' \ ${WRKSRC}/${PORTNAME}.5.scd .include diff --git a/x11/kickoff/Makefile b/x11/kickoff/Makefile index fc97183342a2..624bb8a89c4e 100644 --- a/x11/kickoff/Makefile +++ b/x11/kickoff/Makefile @@ -1,238 +1,238 @@ PORTNAME= kickoff DISTVERSIONPREFIX= v DISTVERSION= 0.5.1 -CATEGORIES= x11 +CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Minimalistic program launcher for Wayland LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= libxkbcommon>0:x11/libxkbcommon LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig USES= cargo USE_GITHUB= yes GH_ACCOUNT= j0ru PLIST_FILES= bin/${PORTNAME} CARGO_CRATES= adler-1.0.2 \ adler32-1.2.0 \ ahash-0.7.6 \ aho-corasick-0.7.18 \ async-broadcast-0.4.0 \ async-channel-1.6.1 \ async-executor-1.4.1 \ async-io-1.7.0 \ async-lock-2.5.0 \ async-recursion-0.3.2 \ async-task-4.2.0 \ async-trait-0.1.56 \ atty-0.2.14 \ autocfg-1.1.0 \ bit_field-0.10.1 \ bitflags-1.3.2 \ block-0.1.6 \ bumpalo-3.10.0 \ bytemuck-1.9.1 \ byteorder-1.4.3 \ bytes-1.1.0 \ cache-padded-1.2.0 \ calloop-0.9.3 \ cc-1.0.73 \ cfg-if-1.0.0 \ clap-3.2.1 \ clap_derive-3.2.1 \ clap_lex-0.2.2 \ color_quant-1.1.0 \ concurrent-queue-1.2.2 \ const-cstr-0.3.0 \ crc32fast-1.3.2 \ crossbeam-channel-0.5.4 \ crossbeam-deque-0.8.1 \ crossbeam-epoch-0.9.8 \ crossbeam-utils-0.8.8 \ css-color-0.2.4 \ deflate-1.0.0 \ derivative-2.2.0 \ dirs-4.0.0 \ dirs-next-2.0.0 \ dirs-sys-0.3.7 \ dirs-sys-next-0.1.2 \ dlib-0.5.0 \ downcast-rs-1.2.0 \ easy-parallel-3.2.0 \ either-1.6.1 \ enumflags2-0.7.5 \ enumflags2_derive-0.7.4 \ env_logger-0.9.0 \ errno-0.2.8 \ errno-dragonfly-0.1.2 \ event-listener-2.5.2 \ exec-0.3.1 \ exr-1.4.2 \ fastrand-1.7.0 \ flate2-1.0.24 \ flume-0.10.13 \ fontconfig-0.5.0 \ fontdue-0.7.2 \ futures-core-0.3.21 \ futures-io-0.3.21 \ futures-lite-1.12.0 \ futures-sink-0.3.21 \ futures-task-0.3.21 \ futures-util-0.3.21 \ fuzzy-matcher-0.3.7 \ getrandom-0.2.6 \ gif-0.11.3 \ half-1.8.2 \ hashbrown-0.11.2 \ heck-0.3.3 \ heck-0.4.0 \ hermit-abi-0.1.19 \ hex-0.4.3 \ humantime-2.1.0 \ image-0.24.2 \ indexmap-1.8.2 \ inflate-0.4.5 \ instant-0.1.12 \ itoa-1.0.2 \ jpeg-decoder-0.2.6 \ js-sys-0.3.57 \ lazy_static-1.4.0 \ lebe-0.5.1 \ libc-0.2.126 \ libloading-0.7.3 \ lock_api-0.4.7 \ log-0.4.17 \ mac-notification-sys-0.5.2 \ malloc_buf-0.0.6 \ memchr-2.5.0 \ memmap2-0.3.1 \ memoffset-0.6.5 \ minimal-lexical-0.2.1 \ miniz_oxide-0.5.3 \ nanorand-0.7.0 \ nix-0.22.3 \ nix-0.23.1 \ nix-0.24.1 \ nom-7.1.1 \ notify-rust-4.5.8 \ num-integer-0.1.45 \ num-iter-0.1.43 \ num-rational-0.4.0 \ num-traits-0.2.15 \ num_cpus-1.13.1 \ num_threads-0.1.6 \ objc-0.2.7 \ objc-foundation-0.1.1 \ objc_id-0.1.1 \ once_cell-1.12.0 \ ordered-stream-0.0.1 \ os_str_bytes-6.1.0 \ parking-2.0.0 \ parking_lot-0.11.2 \ parking_lot_core-0.8.5 \ pin-project-1.0.10 \ pin-project-internal-1.0.10 \ pin-project-lite-0.2.9 \ pin-utils-0.1.0 \ pkg-config-0.3.25 \ png-0.17.5 \ polling-2.2.0 \ ppv-lite86-0.2.16 \ proc-macro-crate-1.1.3 \ proc-macro-error-1.0.4 \ proc-macro-error-attr-1.0.4 \ proc-macro2-1.0.39 \ quote-1.0.18 \ rand-0.8.5 \ rand_chacha-0.3.1 \ rand_core-0.6.3 \ rayon-1.5.3 \ rayon-core-1.9.3 \ redox_syscall-0.2.13 \ redox_users-0.4.3 \ regex-1.5.6 \ regex-syntax-0.6.26 \ remove_dir_all-0.5.3 \ ryu-1.0.10 \ scoped-tls-1.0.0 \ scoped_threadpool-0.1.9 \ scopeguard-1.1.0 \ serde-1.0.137 \ serde_derive-1.0.137 \ serde_json-1.0.81 \ serde_repr-0.1.8 \ sha1-0.6.1 \ sha1_smol-1.0.0 \ shellwords-1.1.0 \ slab-0.4.6 \ smallvec-1.8.0 \ smithay-client-toolkit-0.15.4 \ smithay-clipboard-0.6.5 \ socket2-0.4.4 \ spin-0.9.3 \ static_assertions-1.1.0 \ strsim-0.10.0 \ strum-0.22.0 \ strum_macros-0.22.0 \ syn-1.0.96 \ tempfile-3.3.0 \ termcolor-1.1.3 \ textwrap-0.15.0 \ thiserror-1.0.31 \ thiserror-impl-1.0.31 \ thread_local-1.1.4 \ threadpool-1.8.1 \ tiff-0.7.2 \ time-0.3.9 \ tokio-1.19.2 \ tokio-macros-1.8.0 \ toml-0.5.9 \ tracing-0.1.35 \ tracing-attributes-0.1.21 \ tracing-core-0.1.27 \ ttf-parser-0.15.1 \ uds_windows-1.0.2 \ unicode-ident-1.0.0 \ unicode-segmentation-1.9.0 \ version_check-0.9.4 \ waker-fn-1.1.0 \ wasi-0.10.2+wasi-snapshot-preview1 \ wasm-bindgen-0.2.80 \ wasm-bindgen-backend-0.2.80 \ wasm-bindgen-macro-0.2.80 \ wasm-bindgen-macro-support-0.2.80 \ wasm-bindgen-shared-0.2.80 \ wayland-client-0.29.4 \ wayland-commons-0.29.4 \ wayland-cursor-0.29.4 \ wayland-protocols-0.29.4 \ wayland-scanner-0.29.4 \ wayland-sys-0.29.4 \ weezl-0.1.6 \ wepoll-ffi-0.1.2 \ winapi-0.3.9 \ winapi-i686-pc-windows-gnu-0.4.0 \ winapi-util-0.1.5 \ winapi-x86_64-pc-windows-gnu-0.4.0 \ windows-0.24.0 \ windows_i686_gnu-0.24.0 \ windows_i686_msvc-0.24.0 \ windows_x86_64_gnu-0.24.0 \ windows_x86_64_msvc-0.24.0 \ winrt-notification-0.5.1 \ x11-keysymdef-0.2.0 \ xcursor-0.3.4 \ xdg-2.4.1 \ xml-rs-0.8.4 \ yeslogic-fontconfig-sys-3.0.1 \ zbus-2.3.0 \ zbus_macros-2.3.0 \ zbus_names-2.1.0 \ zvariant-3.3.0 \ zvariant_derive-3.3.0 .include diff --git a/x11/kitty/Makefile b/x11/kitty/Makefile index 3745d3dab617..88118c0bbe89 100644 --- a/x11/kitty/Makefile +++ b/x11/kitty/Makefile @@ -1,81 +1,81 @@ PORTNAME= kitty DISTVERSION= 0.25.0 -CATEGORIES= x11 +CATEGORIES= x11 wayland MASTER_SITES= https://github.com/${GH_ACCOUNT}/${PORTNAME}/releases/download/v${DISTVERSION}/ MAINTAINER= alexis.praga@free.fr COMMENT= Cross-platform, fast, featureful, GPU-based terminal emulator LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}furo>0:textproc/py-furo@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx-copybutton>0:textproc/py-sphinx-copybutton@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx-inline-tabs>0:textproc/py-sphinx-inline-tabs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinxext-opengraph>0:textproc/py-sphinxext-opengraph@${PY_FLAVOR} \ sphinx-build:textproc/py-sphinx@${PY_FLAVOR} \ wayland-protocols>=0:graphics/wayland-protocols LIB_DEPENDS= libdbus-1.so:devel/dbus \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png \ librsync.so:net/librsync \ libwayland-client.so:graphics/wayland \ libwayland-cursor.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c11 cpe gettext-runtime gl gmake pkgconfig \ python:3.5+ shebangfix tar:xz terminfo xorg GH_ACCOUNT= kovidgoyal USE_GL= gl USE_XORG= x11 xcb xcursor xi xinerama xrandr CPE_VENDOR= kitty_project SHEBANG_FILES= build-terminfo count-lines-of-code mypy-editor-integration \ update-on-ox update-on-ubuntu SHEBANG_GLOB= *.py TEST_ENV= PATH="${STAGEDIR}${PREFIX}/bin:${PATH}" TEST_TARGET= test BINARY_ALIAS= python3=${PYTHON_CMD} python=${PYTHON_CMD} INSTALL_WRKSRC= ${WRKSRC}/linux-package _STRIP_TARGETS= lib/kitty/kitty/fast_data_types.so lib/kitty/kitty/glfw-x11.so \ lib/kitty/kittens/diff/diff_speedup.so \ lib/kitty/kittens/unicode_input/unicode_names.so \ lib/kitty/kitty/glfw-wayland.so \ lib/kitty/kittens/choose/subseq_matcher.so bin/kitty \ lib/kitty/kittens/transfer/rsync.so _EMPTY_DIRS= kittens/choose kittens/diff kittens/unicode_input kittens kitty .include .if ${ARCH} == powerpc64 || ${ARCH:Mriscv64*} MAKE_ENV+= KITTY_NO_LTO=1 .endif # ncursesw and tinfo >= 6.1 seem to be neededd .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1400035 USES+=ncurses:port .else USES+=ncurses .endif # For librsync, we need to set header and library path do-build: (cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py linux-package --update-check-interval 0 --extra-include-dirs ${LOCALBASE}/include/ --extra-library-dirs ${LOCALBASE}/lib) ${FIND} ${INSTALL_WRKSRC} -name __pycache__ -type d -exec ${RM} -r -- {} + do-install: ${CP} -a ${INSTALL_WRKSRC}/ ${STAGEDIR}${PREFIX} ${STRIP_CMD} ${_STRIP_TARGETS:S|^|${STAGEDIR}${PREFIX}/|} ${INSTALL_DATA} ${WRKSRC}/terminfo/kitty.terminfo \ ${STAGEDIR}${PREFIX}/share/misc/ .include diff --git a/x11/lavalauncher/Makefile b/x11/lavalauncher/Makefile index 1452b4bd7d94..02157eada619 100644 --- a/x11/lavalauncher/Makefile +++ b/x11/lavalauncher/Makefile @@ -1,51 +1,51 @@ PORTNAME= lavalauncher DISTVERSIONPREFIX= v DISTVERSION= 2.1.1 -CATEGORIES= x11 +CATEGORIES= x11 wayland MASTER_SITES= https://git.sr.ht/~leon_plickat/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ MAINTAINER= jbeich@FreeBSD.org COMMENT= Simple launcher panel for Wayland desktops LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c11 gnome meson pkgconfig USE_GNOME= cairo PLIST_FILES= bin/${PORTNAME} OPTIONS_DEFINE= EPOLL INOTIFY LIBRSVG2 MANPAGES OPTIONS_DEFAULT=EPOLL INOTIFY LIBRSVG2 MANPAGES OPTIONS_EXCLUDE=${LIBRSVG2_DEFAULT:Mlegacy:C/.+/LIBRSVG2/} EPOLL_DESC= Handle signals via epoll-shim EPOLL_LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim EPOLL_MESON_ENABLED= handle-signals INOTIFY_DESC= Watch configuration file via libinotify INOTIFY_LIB_DEPENDS= libinotify.so:devel/libinotify INOTIFY_MESON_ENABLED= watch-config LIBRSVG2_USE= GNOME=librsvg2 LIBRSVG2_MESON_ENABLED= librsvg MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz post-patch: # Extract (snapshot) version from the port instead of meson.build @${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \ -e '/project_version/s/@0@/${DISTVERSIONFULL}/' \ ${WRKSRC}/meson.build # Respect PREFIX when looking for system .conf files @${REINPLACE_CMD} 's,/usr/local,${PREFIX},' \ ${WRKSRC}/doc/lavalauncher.1.scd \ ${WRKSRC}/src/lavalauncher.c .include diff --git a/x11/libinput/Makefile b/x11/libinput/Makefile index 3638feccffb8..11273f30a8c8 100644 --- a/x11/libinput/Makefile +++ b/x11/libinput/Makefile @@ -1,54 +1,54 @@ PORTNAME= libinput DISTVERSION= 1.19.4 PORTREVISION= 1 -CATEGORIES= x11 +CATEGORIES= x11 wayland MASTER_SITES= https://freedesktop.org/software/${PORTNAME}/ MAINTAINER= x11@FreeBSD.org COMMENT= Generic input library LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}evdev>0:devel/py-evdev@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyudev>0:devel/py-pyudev@${PY_FLAVOR} LIB_DEPENDS= libevdev.so:devel/libevdev \ libepoll-shim.so:devel/libepoll-shim \ libudev.so:devel/libudev-devd \ libmtdev.so:devel/libmtdev USES= cpe localbase meson pkgconfig python:run shebangfix tar:xz USE_LDCONFIG= yes CPE_VENDOR= freedesktop MESON_ARGS= -Ddocumentation=false -Dtests=false SHEBANG_FILES= tools/libinput-analyze-per-slot-delta.py \ tools/libinput-analyze-recording.py \ tools/libinput-analyze-touch-down-state.py \ tools/libinput-measure-fuzz.py \ tools/libinput-measure-touch-size.py \ tools/libinput-measure-touchpad-pressure.py \ tools/libinput-measure-touchpad-size.py \ tools/libinput-measure-touchpad-tap.py \ tools/libinput-replay.py # The following files are not installed, but might be # run as part of the test suite. SHEBANG_FILES+= tools/test_tool_option_parsing.py \ tools/libinput-record-verify-yaml.py OPTIONS_DEFINE= DEBUG_GUI LIBWACOM OPTIONS_DEFAULT=LIBWACOM OPTIONS_SUB= yes DEBUG_GUI_DESC= Build the GUI event viewer LIBWACOM_DESC= Libwacom support DEBUG_GUI_USES= gnome DEBUG_GUI_USE= GNOME=gtk30,glib20,cairo DEBUG_GUI_MESON_TRUE= debug-gui LIBWACOM_LIB_DEPENDS= libwacom.so:x11/libwacom LIBWACOM_MESON_TRUE= libwacom .include diff --git a/x11/mako/Makefile b/x11/mako/Makefile index ecf6e6d273ec..3589ddea5e71 100644 --- a/x11/mako/Makefile +++ b/x11/mako/Makefile @@ -1,46 +1,46 @@ PORTNAME= mako DISTVERSIONPREFIX= v DISTVERSION= 1.6 PORTREVISION= 1 -CATEGORIES= x11 +CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Lightweight Wayland notification daemon LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland-protocols>=1.21:graphics/wayland-protocols LIB_DEPENDS= libbasu.so:devel/basu \ libepoll-shim.so:devel/libepoll-shim \ libwayland-client.so:graphics/wayland USES= compiler:c11 gnome meson pkgconfig USE_GITHUB= yes USE_GNOME= cairo pango GH_ACCOUNT= emersion MESON_ARGS= -Dsd-bus-provider=basu PLIST_FILES= bin/${PORTNAME} \ bin/${PORTNAME}ctl \ share/dbus-1/services/fr.emersion.mako.service OPTIONS_DEFINE= MANPAGES PIXBUF OPTIONS_DEFAULT=MANPAGES PIXBUF MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz \ man/man1/${PORTNAME}ctl.1.gz \ man/man5/${PORTNAME}.5.gz PIXBUF_USE= GNOME=gdkpixbuf2 PIXBUF_MESON_ENABLED= icons post-patch: # Respect PREFIX for icons @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},g' \ ${WRKSRC}/icon.c \ ${WRKSRC}/${PORTNAME}.5.scd .include diff --git a/x11/nwg-drawer/Makefile b/x11/nwg-drawer/Makefile index 56af55b43912..2c81510fe1d6 100644 --- a/x11/nwg-drawer/Makefile +++ b/x11/nwg-drawer/Makefile @@ -1,46 +1,46 @@ PORTNAME= nwg-drawer DISTVERSIONPREFIX= v DISTVERSION= 0.3.0 PORTREVISION= 1 -CATEGORIES= x11 +CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Application drawer for sway and other wlroots compositors LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell RUN_DEPENDS= xdg-open:devel/xdg-utils USES= gnome go:modules pkgconfig USE_GITHUB= yes USE_GNOME= cairo gdkpixbuf2 gtk30 GH_ACCOUNT= nwg-piotr GH_TUPLE= allan-simon:go-singleinstance:d0997106ab37:allan_simon_go_singleinstance/vendor/github.com/allan-simon/go-singleinstance \ dlasky:gotk3-layershell:e6ecab2731f7:dlasky_gotk3_layershell/vendor/github.com/dlasky/gotk3-layershell \ fsnotify:fsnotify:v1.5.1:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \ golang:sync:56d357773e84:golang_sync/vendor/golang.org/x/sync \ golang:sys:0f9fa26af87c:golang_sys/vendor/golang.org/x/sys \ gotk3:gotk3:v0.6.1:gotk3_gotk3/vendor/github.com/gotk3/gotk3 \ joshuarubin:go-sway:v0.0.4:joshuarubin_go_sway/vendor/github.com/joshuarubin/go-sway \ joshuarubin:lifecycle:v1.0.0:joshuarubin_lifecycle/vendor/github.com/joshuarubin/lifecycle \ sirupsen:logrus:v1.8.1:sirupsen_logrus/vendor/github.com/sirupsen/logrus \ uber-go:atomic:v1.3.2:uber_go_atomic/vendor/go.uber.org/atomic \ uber-go:multierr:v1.1.0:uber_go_multierr/vendor/go.uber.org/multierr CGO_LDFLAGS+= -Wl,--as-needed # harfbuzz, freetype2 PLIST_FILES= bin/${PORTNAME} PORTDATA= desktop-directories *.css post-patch: # Respect PREFIX for *.desktop @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \ ${WRKSRC}/tools.go post-install: # Based on install from WRKSRC/Makefile (cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA}" \ ${STAGEDIR}${DATADIR}) .include diff --git a/x11/nwg-look/Makefile b/x11/nwg-look/Makefile index 9d3eb7e78d4c..8ea71a2789eb 100644 --- a/x11/nwg-look/Makefile +++ b/x11/nwg-look/Makefile @@ -1,53 +1,53 @@ PORTNAME= nwg-look DISTVERSIONPREFIX= v DISTVERSION= 0.1.3 PORTREVISION= 1 -CATEGORIES= x11 +CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= GTK3 settings editor for sway and other wlroots compositors LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig USES= gnome go:modules pkgconfig USE_GITHUB= yes USE_GNOME= cairo gdkpixbuf2 gtk30 GH_ACCOUNT= nwg-piotr GH_TUPLE= creack:pty:v1.1.17:creack_pty/vendor/github.com/creack/pty \ golang:mod:9b9b3d81d5e3:golang_mod/vendor/golang.org/x/mod \ golang:sys:51cd9980dadf:golang_sys/vendor/golang.org/x/sys \ golang:tools:v0.1.10:golang_tools/vendor/golang.org/x/tools \ golang:xerrors:5ec99f83aff1:golang_xerrors/vendor/golang.org/x/xerrors \ gotk3:gotk3:v0.6.1:gotk3_gotk3/vendor/github.com/gotk3/gotk3 \ pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \ sirupsen:logrus:v1.8.1:sirupsen_logrus/vendor/github.com/sirupsen/logrus \ visualfc:fastmod:v1.3.9:visualfc_fastmod/vendor/github.com/visualfc/fastmod \ visualfc:gocode:v1.3.2:visualfc_gocode/vendor/github.com/visualfc/gocode \ visualfc:gotools:v1.3.6:visualfc_gotools/vendor/github.com/visualfc/gotools \ visualfc:goversion:v1.1.0:visualfc_goversion/vendor/github.com/visualfc/goversion \ yuin:goldmark:v1.4.10:yuin_goldmark/vendor/github.com/yuin/goldmark CGO_LDFLAGS+= -Wl,--as-needed # harfbuzz, freetype2 PLIST_FILES= bin/${PORTNAME} \ ${DATADIR}/main.glade \ share/applications/${PORTNAME}.desktop \ share/pixmaps/${PORTNAME}.svg post-patch: # Respect PREFIX for *.glade and *.desktop @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \ ${WRKSRC}/main.go \ ${WRKSRC}/tools.go post-install: # Based on install from WRKSRC/Makefile ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/stuff/main.glade ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/stuff/*.desktop \ ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/stuff/*.svg \ ${STAGEDIR}${PREFIX}/share/pixmaps .include diff --git a/x11/rofi-wayland/Makefile b/x11/rofi-wayland/Makefile index 4fed3d8dbc2f..ecfee0918107 100644 --- a/x11/rofi-wayland/Makefile +++ b/x11/rofi-wayland/Makefile @@ -1,17 +1,18 @@ DISTVERSION= 1.7.3 DISTVERSIONSUFFIX= +wayland1 PORTREVISION= 0 PKGNAMESUFFIX= -wayland MASTERDIR= ${.CURDIR}/../rofi DISTINFO_FILE= ${.CURDIR}/distinfo BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libwayland-client.so:graphics/wayland GH_ACCOUNT= lbonn CONFLICTS_INSTALL= ${PORTNAME} .include "${MASTERDIR}/Makefile" +CATEGORIES+= wayland diff --git a/x11/sirula/Makefile b/x11/sirula/Makefile index eab4a8da45d6..ef4fbc456972 100644 --- a/x11/sirula/Makefile +++ b/x11/sirula/Makefile @@ -1,136 +1,136 @@ PORTNAME= sirula DISTVERSIONPREFIX= v DISTVERSION= 1.0.0 PORTREVISION= 5 -CATEGORIES= x11 +CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Simple app launcher for Wayland written in Rust LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell USES= cargo gnome USE_GITHUB= yes USE_GNOME= cairo gdkpixbuf2 gtk30 GH_ACCOUNT= DorianRudolph PLIST_FILES= bin/${PORTNAME} CARGO_CRATES= aho-corasick-0.7.18 \ anyhow-1.0.44 \ arrayref-0.3.6 \ arrayvec-0.5.2 \ atk-0.14.0 \ atk-sys-0.14.0 \ autocfg-1.0.1 \ base64-0.13.0 \ bitflags-1.3.2 \ bitvec-0.19.5 \ blake2b_simd-0.5.11 \ cairo-rs-0.14.7 \ cairo-sys-rs-0.14.0 \ cfg-expr-0.8.1 \ cfg-if-1.0.0 \ constant_time_eq-0.1.5 \ crossbeam-utils-0.8.5 \ dirs-1.0.5 \ either-1.6.1 \ field-offset-0.3.4 \ freedesktop_entry_parser-1.2.0 \ funty-1.1.0 \ futures-0.3.17 \ futures-channel-0.3.17 \ futures-core-0.3.17 \ futures-executor-0.3.17 \ futures-io-0.3.17 \ futures-macro-0.3.17 \ futures-sink-0.3.17 \ futures-task-0.3.17 \ futures-util-0.3.17 \ fuzzy-matcher-0.3.7 \ gdk-0.14.3 \ gdk-pixbuf-0.14.0 \ gdk-pixbuf-sys-0.14.0 \ gdk-sys-0.14.0 \ getrandom-0.1.16 \ gio-0.14.8 \ gio-sys-0.14.0 \ glib-0.14.8 \ glib-macros-0.14.1 \ glib-sys-0.14.0 \ gobject-sys-0.14.0 \ gtk-0.14.3 \ gtk-layer-shell-0.2.2 \ gtk-layer-shell-sys-0.2.3 \ gtk-sys-0.14.0 \ gtk3-macros-0.14.0 \ heck-0.3.3 \ itertools-0.8.2 \ itertools-0.10.1 \ lazy_static-1.4.0 \ lexical-core-0.7.6 \ libc-0.2.103 \ locale-types-0.4.0 \ memchr-2.4.1 \ memoffset-0.6.4 \ nom-6.1.2 \ once_cell-1.8.0 \ osstrtools-0.2.2 \ pango-0.14.8 \ pango-sys-0.14.0 \ pest-2.1.3 \ pin-project-lite-0.2.7 \ pin-utils-0.1.0 \ pkg-config-0.3.20 \ proc-macro-crate-1.1.0 \ proc-macro-error-1.0.4 \ proc-macro-error-attr-1.0.4 \ proc-macro-hack-0.5.19 \ proc-macro-nested-0.1.7 \ proc-macro2-1.0.29 \ quote-1.0.10 \ radium-0.5.3 \ redox_syscall-0.1.57 \ redox_users-0.3.5 \ regex-1.5.4 \ regex-syntax-0.6.25 \ rust-argon2-0.8.3 \ rustc_version-0.3.3 \ ryu-1.0.5 \ semver-0.11.0 \ semver-parser-0.10.2 \ serde-1.0.130 \ serde_derive-1.0.130 \ slab-0.4.4 \ smallvec-1.7.0 \ static_assertions-1.1.0 \ strum-0.21.0 \ strum_macros-0.21.1 \ syn-1.0.80 \ system-deps-3.2.0 \ tap-1.0.1 \ thiserror-1.0.30 \ thiserror-impl-1.0.30 \ thread_local-1.1.3 \ toml-0.5.8 \ ucd-trie-0.1.3 \ unicode-segmentation-1.8.0 \ unicode-xid-0.2.2 \ version-compare-0.0.11 \ version_check-0.9.3 \ wasi-0.9.0+wasi-snapshot-preview1 \ winapi-0.3.9 \ winapi-i686-pc-windows-gnu-0.4.0 \ winapi-x86_64-pc-windows-gnu-0.4.0 \ wyz-0.2.0 \ xdg-2.3.0 post-patch: # Respect PREFIX for system config @${REINPLACE_CMD} -e 's,/usr/share,${DATADIR:H},' \ -e 's,/etc,${PREFIX}&,' \ ${WRKSRC}/cargo-crates/xdg-*/src/lib.rs .include diff --git a/x11/slurp/Makefile b/x11/slurp/Makefile index d5eced8ffed5..a13e044ddcec 100644 --- a/x11/slurp/Makefile +++ b/x11/slurp/Makefile @@ -1,30 +1,30 @@ PORTNAME= slurp DISTVERSIONPREFIX= v DISTVERSION= 1.3.2 -CATEGORIES= x11 +CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Select a region in a Wayland compositor LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland-protocols>=1.14:graphics/wayland-protocols LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c11 gnome meson pkgconfig USE_GITHUB= yes USE_GNOME= cairo GH_ACCOUNT= emersion PLIST_FILES= bin/${PORTNAME} OPTIONS_DEFINE= MANPAGES OPTIONS_DEFAULT=MANPAGES MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz .include diff --git a/x11/squeekboard/Makefile b/x11/squeekboard/Makefile index 4e932dee4e00..3382368c02d4 100644 --- a/x11/squeekboard/Makefile +++ b/x11/squeekboard/Makefile @@ -1,112 +1,112 @@ PORTNAME= squeekboard DISTVERSIONPREFIX= v DISTVERSION= 1.17.1 PORTREVISION= 2 -CATEGORIES= x11 +CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= On-screen keyboard for Wayland LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_FreeBSD_12_powerpc64= fails to compile: rs.e2mg9us3-cgu.14:(.text.imservice_handle_commit_state+0x228): undefined reference to 'eekboard_context_service_show_keyboard' BROKEN_FreeBSD_13_powerpc64= fails to link: ld: error: undefined symbol: eekboard_context_service_get_overlay BUILD_DEPENDS= wayland-protocols>=1.12:graphics/wayland-protocols LIB_DEPENDS= libfeedback-0.0.so:accessibility/feedbackd \ libwayland-client.so:graphics/wayland \ libcroco-0.6.so:textproc/libcroco \ libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS= gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas USES= cargo compiler:c11 gettext-tools gnome meson pkgconfig python:build shebangfix USE_GITLAB= yes USE_GNOME= cairo gdkpixbuf2 gnomedesktop3 gtk30 GL_SITE= https://gitlab.gnome.org GL_ACCOUNT= World/Phosh GL_COMMIT= 2faa98d85f1142383ec8ad1487616c1a7ad1882f SHEBANG_FILES= tools/entry.py MAKE_ENV= ${CARGO_ENV} MESON_ARGS= -Dstrict=false MESON_ARGS+= -Donline=false # XXX Cargo.lock PLIST_FILES= bin/${PORTNAME} \ bin/${PORTNAME}-entry \ bin/${PORTNAME}-test-layout \ share/applications/sm.puri.Squeekboard.desktop \ share/locale/ca/LC_MESSAGES/${PORTNAME}.mo \ share/locale/de/LC_MESSAGES/${PORTNAME}.mo \ share/locale/fa/LC_MESSAGES/${PORTNAME}.mo \ share/locale/fi/LC_MESSAGES/${PORTNAME}.mo \ share/locale/fur/LC_MESSAGES/${PORTNAME}.mo \ share/locale/gl/LC_MESSAGES/${PORTNAME}.mo \ share/locale/he/LC_MESSAGES/${PORTNAME}.mo \ share/locale/nl/LC_MESSAGES/${PORTNAME}.mo \ share/locale/pt_BR/LC_MESSAGES/${PORTNAME}.mo \ share/locale/ro/LC_MESSAGES/${PORTNAME}.mo \ share/locale/sl/LC_MESSAGES/${PORTNAME}.mo \ share/locale/sv/LC_MESSAGES/${PORTNAME}.mo \ share/locale/uk/LC_MESSAGES/${PORTNAME}.mo \ ${NULL} CARGO_CRATES= atk-0.7.0 \ atk-sys-0.9.1 \ autocfg-1.1.0 \ bitflags-1.2.1 \ cairo-rs-0.7.1 \ cairo-sys-rs-0.9.2 \ cc-1.0.73 \ clap-2.33.4 \ fragile-0.3.0 \ gdk-0.11.0 \ gdk-pixbuf-0.7.0 \ gdk-pixbuf-sys-0.9.1 \ gdk-sys-0.9.1 \ gio-0.7.0 \ gio-sys-0.9.1 \ glib-0.8.2 \ glib-sys-0.9.1 \ gobject-sys-0.9.1 \ gtk-0.7.0 \ gtk-sys-0.9.2 \ hashbrown-0.11.2 \ indexmap-1.8.0 \ lazy_static-1.4.0 \ libc-0.2.119 \ linked-hash-map-0.5.4 \ maplit-1.0.2 \ memmap-0.7.0 \ pango-0.7.0 \ pango-sys-0.9.1 \ pkg-config-0.3.24 \ proc-macro2-1.0.36 \ quote-1.0.15 \ ryu-1.0.9 \ serde-1.0.136 \ serde_derive-1.0.136 \ serde_yaml-0.8.23 \ syn-1.0.86 \ textwrap-0.11.0 \ unicode-width-0.1.9 \ unicode-xid-0.2.2 \ winapi-0.3.9 \ winapi-i686-pc-windows-gnu-0.4.0 \ winapi-x86_64-pc-windows-gnu-0.4.0 \ xkbcommon-0.4.0 \ yaml-rust-0.4.5 CARGO_BUILD= no CARGO_INSTALL= no CARGO_TEST= no TARGET_ORDER_OVERRIDE= 750:cargo-configure CARGO_CARGOTOML= ${BUILD_WRKSRC}/Cargo.toml post-patch: # Make each cargo subcommand very verbose @${REINPLACE_CMD} -e '/^cargo/s/"$$@"/--verbose --verbose &/' \ ${WRKSRC}/cargo.sh post-configure: # Provide preprocessed Cargo.toml for USES=cargo @${DO_MAKE_BUILD} -C ${BUILD_WRKSRC} Cargo.toml .include diff --git a/x11/sway-audio-idle-inhibit/Makefile b/x11/sway-audio-idle-inhibit/Makefile index d3087b414702..e0277c5450cb 100644 --- a/x11/sway-audio-idle-inhibit/Makefile +++ b/x11/sway-audio-idle-inhibit/Makefile @@ -1,22 +1,22 @@ PORTNAME= sway-audio-idle-inhibit DISTVERSIONPREFIX= v PORTVERSION= 0.1.1 -CATEGORIES= x11 +CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Disable swayidle during audio playback/recording LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libpulse.so:audio/pulseaudio \ libwayland-client.so:graphics/wayland USES= compiler:c++11-lang meson pkgconfig USE_GITHUB= yes GH_ACCOUNT= ErikReider GH_PROJECT= SwayAudioIdleInhibit PLIST_FILES= bin/${PORTNAME} .include diff --git a/x11/swaybg/Makefile b/x11/swaybg/Makefile index c293572b6b03..4272e18e03f6 100644 --- a/x11/swaybg/Makefile +++ b/x11/swaybg/Makefile @@ -1,37 +1,37 @@ PORTNAME= swaybg DISTVERSIONPREFIX= v DISTVERSION= 1.1.1 -CATEGORIES= x11 +CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Wallpaper tool for Wayland compositors LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= wayland-protocols>=1.14:graphics/wayland-protocols LIB_DEPENDS= libwayland-client.so:graphics/wayland USES= compiler:c11 gnome meson pkgconfig USE_GITHUB= yes GH_ACCOUNT= swaywm USE_GNOME= cairo PLIST_FILES= bin/${PORTNAME} OPTIONS_DEFINE= MANPAGES PIXBUF OPTIONS_DEFAULT=MANPAGES PIXBUF MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz PIXBUF_USE= GNOME=gdkpixbuf2 PIXBUF_MESON_ENABLED= gdk-pixbuf post-patch: # Extract (snapshot) version from the port instead of meson.build @${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \ -e '/project_version/s/@0@/${DISTVERSIONFULL}/' \ ${WRKSRC}/meson.build .include diff --git a/x11/swayidle/Makefile b/x11/swayidle/Makefile index 992444490118..62ef1c65b524 100644 --- a/x11/swayidle/Makefile +++ b/x11/swayidle/Makefile @@ -1,45 +1,45 @@ PORTNAME= swayidle DISTVERSION= 1.7.1 -CATEGORIES= x11 +CATEGORIES= x11 wayland PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= 28950f787813.patch:-p1 # https://github.com/swaywm/swayidle/pull/89 PATCHFILES+= ff7569ad1129.patch:-p1 # https://github.com/swaywm/swayidle/pull/89 PATCHFILES+= f2f7e4d0a7c8.patch:-p1 # https://github.com/swaywm/swayidle/pull/89 PATCHFILES+= e81d40fca753.patch:-p1 # https://github.com/swaywm/swayidle/pull/115 MAINTAINER= jbeich@FreeBSD.org COMMENT= Idle management daemon for Wayland LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= wayland-protocols>=1.14:graphics/wayland-protocols LIB_DEPENDS= libwayland-client.so:graphics/wayland USES= compiler:c11 meson pkgconfig USE_GITHUB= yes GH_ACCOUNT= swaywm PLIST_FILES= bin/${PORTNAME} \ share/bash-completion/completions/${PORTNAME} \ share/fish/vendor_completions.d/${PORTNAME}.fish \ share/zsh/site-functions/_${PORTNAME} OPTIONS_DEFINE= BASU MANPAGES OPTIONS_DEFAULT=BASU MANPAGES BASU_DESC= Login manager support via basu BASU_LIB_DEPENDS= libbasu.so:devel/basu BASU_MESON_ENABLED= logind MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz post-patch: # Temporarily use ConsoleKit2 like sysutils/gnome-settings-daemon @${REINPLACE_CMD} -e 's,/login1,/ConsoleKit/Manager,' \ -e 's,login1,ConsoleKit,' \ ${WRKSRC}/main.c .include diff --git a/x11/swayimg/Makefile b/x11/swayimg/Makefile index 39c0fd7c180e..dac4cee84615 100644 --- a/x11/swayimg/Makefile +++ b/x11/swayimg/Makefile @@ -1,67 +1,67 @@ PORTNAME= swayimg DISTVERSIONPREFIX= v DISTVERSION= 1.6 PORTREVISION= 3 -CATEGORIES= x11 +CATEGORIES= x11 wayland PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= 787d13e36783.patch:-p1 # https://github.com/artemsen/swayimg/pull/23 PATCHFILES+= d12f10e9ebbd.patch:-p1 # https://github.com/artemsen/swayimg/pull/24 MAINTAINER= jbeich@FreeBSD.org COMMENT= Image viewer for Sway/Wayland LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libjson-c.so:devel/json-c \ libwayland-client.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon USES= gnome meson pkgconfig USE_GITHUB= yes GH_ACCOUNT= artemsen USE_GNOME= cairo MESON_ARGS= -Dversion="${DISTVERSIONFULL}" PLIST_FILES= bin/${PORTNAME} \ man/man1/${PORTNAME}.1.gz \ man/man5/${PORTNAME}rc.5.gz \ share/applications/${PORTNAME}.desktop \ share/icons/hicolor/64x64/apps/${PORTNAME}.png \ ${NULL} OPTIONS_DEFINE= AVIF BASH GIF JPEG JXL LIBEXIF LIBRSVG2 PNG WEBP OPTIONS_DEFAULT=AVIF BASH GIF JPEG JXL LIBEXIF LIBRSVG2 PNG WEBP OPTIONS_EXCLUDE=${LIBRSVG2_DEFAULT:Mlegacy:C/.+/LIBRSVG2/} AVIF_LIB_DEPENDS= libavif.so:graphics/libavif AVIF_MESON_ENABLED= avif BASH_BUILD_DEPENDS= bash-completion>0:shells/bash-completion BASH_MESON_ENABLED= bash BASH_PLIST_FILES= share/bash-completion/completions/${PORTNAME} GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_USES= localbase:ldflags GIF_MESON_ENABLED= gif JPEG_USES= jpeg JPEG_MESON_ENABLED= jpeg JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl JXL_MESON_ENABLED= jxl LIBEXIF_LIB_DEPENDS= libexif.so:graphics/libexif LIBEXIF_MESON_ENABLED= exif LIBRSVG2_USE= GNOME=librsvg2 LIBRSVG2_MESON_ENABLED= svg PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_MESON_ENABLED= png WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_MESON_ENABLED= webp .include diff --git a/x11/swaylock/Makefile b/x11/swaylock/Makefile index d4930274a707..19eec93b93da 100644 --- a/x11/swaylock/Makefile +++ b/x11/swaylock/Makefile @@ -1,49 +1,49 @@ PORTNAME= swaylock DISTVERSION?= 1.6 PORTREVISION?= 1 -CATEGORIES= x11 +CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT?= Screen locker for Wayland LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= wayland-protocols>=1.25:graphics/wayland-protocols LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS= unix-selfauth-helper>0:security/unix-selfauth-helper CONFLICTS_INSTALL= ${PORTNAME}-* USES= compiler:c11 cpe gnome meson pkgconfig USE_GITHUB= yes GH_ACCOUNT?= swaywm CPE_VENDOR= swaywm USE_GNOME= cairo pango PLIST_FILES= bin/${PORTNAME} \ etc/pam.d/${PORTNAME} \ share/bash-completion/completions/${PORTNAME} \ share/fish/vendor_completions.d/${PORTNAME}.fish \ share/zsh/site-functions/_${PORTNAME} OPTIONS_DEFINE= MANPAGES PIXBUF OPTIONS_DEFAULT=MANPAGES PIXBUF MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz PIXBUF_USE= GNOME=gdkpixbuf2 PIXBUF_MESON_ENABLED= gdk-pixbuf post-patch: # Extract (snapshot) version from the port instead of meson.build @${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \ -e '/project_version/s/@0@/${DISTVERSIONFULL}/' \ ${WRKSRC}/meson.build # Respect LOCALBASE for unix-selfauth-helper @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},' \ ${WRKSRC}/pam/${PORTNAME} .include diff --git a/x11/swaync/Makefile b/x11/swaync/Makefile index a3e6dc65ed5a..1eb186e61f93 100644 --- a/x11/swaync/Makefile +++ b/x11/swaync/Makefile @@ -1,46 +1,46 @@ PORTNAME= swaync DISTVERSIONPREFIX= v PORTVERSION= 0.5 -CATEGORIES= x11 +CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Simple Wayland notification daemon with GTK panel LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= valac:lang/vala LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \ libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell \ libhandy-1.so:x11-toolkits/libhandy USES= compiler:c11 gnome localbase:ldflags meson pkgconfig USE_GITHUB= yes USE_GNOME= cairo gdkpixbuf2 gtk30 introspection:build GH_ACCOUNT= ErikReider GH_PROJECT= SwayNotificationCenter OPTIONS_DEFINE= MANPAGES OPTIONS_DEFAULT=MANPAGES MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_TRUE= man-pages MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz \ man/man1/${PORTNAME}-client.1.gz \ man/man5/${PORTNAME}.5.gz post-patch: # Extract (snapshot) version from the port instead of meson.build @${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \ -e '/project_version/s/@0@/${DISTVERSIONFULL}/' \ ${WRKSRC}/src/meson.build # Let @sample handle default files under etc/ @${REINPLACE_CMD} -e "s,'/',get_option('prefix')," \ -e "/output.*json/s/'[^']*/&.sample/" \ -e "/inst.*css/s/'[^']*/&', rename: &.sample/1" \ ${WRKSRC}/src/meson.build # Respect PREFIX in manpages @${REINPLACE_CMD} 's,/etc,${PREFIX}&,' \ ${WRKSRC}/man/${PORTNAME}.1.scd .include diff --git a/x11/virtboard/Makefile b/x11/virtboard/Makefile index 59ac87d21d47..c463ddb28118 100644 --- a/x11/virtboard/Makefile +++ b/x11/virtboard/Makefile @@ -1,37 +1,37 @@ PORTNAME= virtboard DISTVERSIONPREFIX= v DISTVERSION= 0.0.6 PORTREVISION= 1 -CATEGORIES= x11 +CATEGORIES= x11 wayland PATCH_SITES= ${GL_SITE}/jbeich/${GL_PROJECT}/-/commit/ PATCHFILES+= 42e698964e42.patch:-p1 # https://source.puri.sm/Librem5/virtboard/-/merge_requests/35 PATCHFILES+= 86e6915d4920.patch:-p1 # https://source.puri.sm/Librem5/virtboard/-/merge_requests/35 PATCHFILES+= 2d30762e546b.patch:-p1 # https://source.puri.sm/Librem5/virtboard/-/merge_requests/36 MAINTAINER= jbeich@FreeBSD.org COMMENT= Basic keyboard, blazing the path of modern Wayland keyboards LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland-protocols>=1.14:graphics/wayland-protocols LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \ libpng.so:graphics/png \ libwayland-client.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS= gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas USES= compiler:c11 gettext-tools gnome meson pkgconfig xorg USE_GITLAB= yes USE_GNOME= cairo glib20 USE_XORG= pixman GL_SITE= https://source.puri.sm GL_ACCOUNT= Librem5 GL_COMMIT= 1d30b07870bf6138395d6529ab496e321b8b3938 PLIST_FILES= bin/${PORTNAME} \ share/applications/sm.puri.Virtboard.desktop \ share/dbus-1/interfaces/sm.puri.OSK0.xml .include diff --git a/x11/wapanel/Makefile b/x11/wapanel/Makefile index 5ff5e00ccd92..68b67553b6b8 100644 --- a/x11/wapanel/Makefile +++ b/x11/wapanel/Makefile @@ -1,35 +1,35 @@ PORTNAME= wapanel DISTVERSION= 1.1.0 -CATEGORIES= x11 +CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Desktop bar for Wayfire and other wlroots compositors LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= toml11>0:devel/toml11 \ wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell USES= compiler:c++17-lang gnome meson pkgconfig USE_GITHUB= yes USE_GNOME= gdkpixbuf2 gtk30 GH_ACCOUNT= Firstbober MESON_ARGS= -Dsystem_toml11=true OPTIONS_DEFINE= PULSEAUDIO OPTIONS_DEFAULT=PULSEAUDIO OPTIONS_SUB= yes PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_MESON_TRUE= volume-control post-patch: # Respect PREFIX for *.desktop @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \ ${WRKSRC}/src/applets/task-switcher/task_switcher.cc \ ${WRKSRC}/thirdparty/xdgpp/xdg.hpp .include diff --git a/x11/way-displays/Makefile b/x11/way-displays/Makefile index 4a61829bea5c..f8922e32b810 100644 --- a/x11/way-displays/Makefile +++ b/x11/way-displays/Makefile @@ -1,38 +1,38 @@ PORTNAME= way-displays DISTVERSION= 1.5.3 -CATEGORIES= x11 +CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Auto Manage Your Wayland Displays LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \ libinotify.so:devel/libinotify \ libudev.so:devel/libudev-devd \ libyaml-cpp.so:devel/yaml-cpp \ libwayland-client.so:graphics/wayland \ libinput.so:x11/libinput USES= compiler:c11 gmake pkgconfig USE_GITHUB= yes GH_ACCOUNT= alex-courtis MAKEFILE= GNUmakefile MAKE_ENV= VERSION="${DISTVERSIONFULL}" MAKE_ARGS= CC="${CC}" CXX="${CXX}" OFLAGS= PLIST_FILES= bin/${PORTNAME} \ share/man/man1/${PORTNAME}.1.gz \ "@sample ${ETCDIR}/cfg.yaml.sample" post-patch: # Respect PREFIX for system-wide config @${REINPLACE_CMD} 's,/usr/local,${PREFIX},' ${WRKSRC}/src/cfg.cpp post-install: # Let @sample handle default files under etc/ @for f in ${STAGEDIR}${ETCDIR}/*; do \ ${MV} $$f $$f.sample; \ done .include diff --git a/x11/waybar/Makefile b/x11/waybar/Makefile index 989a5ce60df0..c6d45caadbad 100644 --- a/x11/waybar/Makefile +++ b/x11/waybar/Makefile @@ -1,127 +1,127 @@ PORTNAME= waybar DISTVERSION= 0.9.13 -CATEGORIES= x11 +CATEGORIES= x11 wayland PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= d25278f710a4.patch:-p1 # https://github.com/Alexays/Waybar/pull/1567 MAINTAINER= jbeich@FreeBSD.org COMMENT= Highly customizable Wayland bar for Sway and wlroots-based compositors LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libdate-tz.so:devel/date \ libjsoncpp.so:devel/jsoncpp \ libfmt.so:devel/libfmt \ libspdlog.so:devel/spdlog \ libwayland-client.so:graphics/wayland \ libxkbregistry.so:x11/libxkbcommon TEST_DEPENDS= catch>0:devel/catch USES= compiler:c++17-lang gnome meson pkgconfig USE_GITHUB= yes USE_GNOME= gtkmm30 GH_ACCOUNT= Alexays GH_PROJECT= Waybar PLIST_FILES= bin/${PORTNAME} \ etc/xdg/${PORTNAME}/config \ etc/xdg/${PORTNAME}/style.css # XXX Add pkg-config support to devel/date .if exists(${.CURDIR}/files/date.pc.in) CONFIGURE_ENV+= PKG_CONFIG_PATH="${WRKDIR}" SUB_FILES+= date.pc .endif OPTIONS_DEFINE= DBUS EVDEV GLS ICONSFONT MANPAGES MPD PULSEAUDIO SNDIO UDEV UPOWER OPTIONS_DEFAULT=DBUS EVDEV GLS ICONSFONT MANPAGES MPD PULSEAUDIO SNDIO UDEV UPOWER DBUS_LIB_DEPENDS= libdbusmenu-gtk3.so:devel/libdbusmenu DBUS_MESON_ENABLED= dbusmenu-gtk EVDEV_DESC= Keyboard state via libevdev EVDEV_BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto EVDEV_LIB_DEPENDS= libevdev.so:devel/libevdev EVDEV_MESON_ENABLED= libevdev GLS_DESC= Use gtk-layer-shell library for popups support GLS_LIB_DEPENDS= libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell GLS_MESON_ENABLED= gtk-layer-shell ICONSFONT_DESC= Install Font Awesome to properly render icons ICONSFONT_RUN_DEPENDS= font-awesome>0:x11-fonts/font-awesome MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages MANPAGES_PLIST_FILES= man/man5/${PORTNAME}-backlight.5.gz \ man/man5/${PORTNAME}-battery.5.gz \ man/man5/${PORTNAME}-bluetooth.5.gz \ man/man5/${PORTNAME}-clock.5.gz \ man/man5/${PORTNAME}-cpu.5.gz \ man/man5/${PORTNAME}-custom.5.gz \ man/man5/${PORTNAME}-disk.5.gz \ man/man5/${PORTNAME}-idle-inhibitor.5.gz \ man/man5/${PORTNAME}-inhibitor.5.gz \ man/man5/${PORTNAME}-keyboard-state.5.gz \ man/man5/${PORTNAME}-memory.5.gz \ man/man5/${PORTNAME}-mpd.5.gz \ man/man5/${PORTNAME}-network.5.gz \ man/man5/${PORTNAME}-pulseaudio.5.gz \ man/man5/${PORTNAME}-river-tags.5.gz \ man/man5/${PORTNAME}-river-window.5.gz \ man/man5/${PORTNAME}-sndio.5.gz \ man/man5/${PORTNAME}-states.5.gz \ man/man5/${PORTNAME}-sway-language.5.gz \ man/man5/${PORTNAME}-sway-mode.5.gz \ man/man5/${PORTNAME}-sway-window.5.gz \ man/man5/${PORTNAME}-sway-workspaces.5.gz \ man/man5/${PORTNAME}-temperature.5.gz \ man/man5/${PORTNAME}-tray.5.gz \ man/man5/${PORTNAME}-upower.5.gz \ man/man5/${PORTNAME}-wlr-taskbar.5.gz \ man/man5/${PORTNAME}-wlr-workspaces.5.gz \ man/man5/${PORTNAME}.5.gz \ ${NULL} MPD_DESC= Music Player Daemon support MPD_LIB_DEPENDS= libmpdclient.so:audio/libmpdclient MPD_MESON_ENABLED= mpd PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_MESON_ENABLED= pulseaudio SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_USES= localbase:ldflags SNDIO_MESON_ENABLED= sndio UDEV_DESC= Monitor backlight level via libudev UDEV_LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \ libudev.so:devel/libudev-devd UDEV_MESON_ENABLED= libudev UPOWER_DESC= Monitor battery capacity via UPower UPOWER_LIB_DEPENDS= libupower-glib.so:sysutils/upower UPOWER_MESON_ENABLED= upower_glib post-patch: # Extract (snapshot) version from the port instead of meson.build @${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \ -e '/project_version/s/@0@/${DISTVERSIONFULL}/' \ ${WRKSRC}/meson.build # Temporarily use ConsoleKit2 like sysutils/gnome-settings-daemon @${REINPLACE_CMD} -e 's,/login1,/ConsoleKit/Manager,' \ -e 's,login1\([".]\),ConsoleKit\1,g' \ ${WRKSRC}/src/modules/gamemode.cpp \ ${WRKSRC}/src/modules/inhibitor.cpp \ ${WRKSRC}/src/modules/upower/upower.cpp pre-test: @if [ ! -e ${WRKDIR}/.meson_build_tests ]; then \ ${RM} ${CONFIGURE_COOKIE} ${BUILD_COOKIE}; \ ${MAKE} -C${.CURDIR} build MESON_ARGS="${MESON_ARGS} --reconfigure -Dtests=enabled"; \ ${TOUCH} ${WRKDIR}/.meson_build_tests; \ fi .include diff --git a/x11/wayland-logout/Makefile b/x11/wayland-logout/Makefile index 4348e0509c2f..f641d7c54f59 100644 --- a/x11/wayland-logout/Makefile +++ b/x11/wayland-logout/Makefile @@ -1,29 +1,29 @@ PORTNAME= wayland-logout DISTVERSIONPREFIX= v DISTVERSION= 1.4 -CATEGORIES= x11 +CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Simple logout on Wayland LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= meson USE_GITHUB= yes GH_ACCOUNT= soreau PLIST_FILES= bin/${PORTNAME} \ man/man1/${PORTNAME}.1.gz .include # Cannot use C implementation without cr_pid .if make(makesum) DISTFILES= ${DISTNAME:S/${DISTVERSION}/1.3/}${EXTRACT_SUFX} .elif ${OPSYS} != FreeBSD DISTVERSION= 1.3 NO_ARCH= yes MESON_ARGS+= -Dimplementation=shell .endif .include diff --git a/x11/wayout/Makefile b/x11/wayout/Makefile index d59e234f9432..4d91726ade33 100644 --- a/x11/wayout/Makefile +++ b/x11/wayout/Makefile @@ -1,30 +1,30 @@ PORTNAME= wayout DISTVERSION= 0.1.2 -CATEGORIES= x11 +CATEGORIES= x11 wayland MASTER_SITES= https://git.sr.ht/~proycon/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ MAINTAINER= jbeich@FreeBSD.org COMMENT= Output simple text to a Wayland desktop widget LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libwayland-client.so:graphics/wayland USES= compiler:c11 gnome meson pkgconfig USE_GNOME= cairo pango PLIST_FILES= bin/${PORTNAME} OPTIONS_DEFINE= EPOLL MANPAGES OPTIONS_DEFAULT=EPOLL MANPAGES EPOLL_DESC= Handle signals via epoll-shim EPOLL_LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim EPOLL_MESON_ENABLED= handle-signals MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz .include diff --git a/x11/wcm/Makefile b/x11/wcm/Makefile index c38c93bacb54..96be669852cf 100644 --- a/x11/wcm/Makefile +++ b/x11/wcm/Makefile @@ -1,37 +1,37 @@ PORTNAME= wcm DISTVERSIONPREFIX= v DISTVERSION= 0.7.0 PORTREVISION= 2 -CATEGORIES= x11 +CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Wayfire Config Manager LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland-protocols>0:graphics/wayland-protocols \ wayfire>0:x11-wm/wayfire LIB_DEPENDS= libevdev.so:devel/libevdev \ libwf-config.so:devel/wf-config \ libwayland-client.so:graphics/wayland RUN_DEPENDS= wayfire>0:x11-wm/wayfire CONFLICTS_INSTALL= wcmcommander # bin/wcm USES= compiler:c++17-lang gnome meson pkgconfig USE_GITHUB= yes USE_GNOME= gtk30 libxml2 GH_ACCOUNT= WayfireWM DATADIR= ${PREFIX}/share/wayfire OPTIONS_DEFINE= WFSHELL OPTIONS_DEFAULT=WFSHELL OPTIONS_SUB= yes WFSHELL_DESC= Build with wf-shell support WFSHELL_BUILD_DEPENDS= wf-shell>0:x11/wf-shell WFSHELL_MESON_ENABLED= wf_shell .include diff --git a/x11/wdisplays/Makefile b/x11/wdisplays/Makefile index 302c1988ad0f..c2f70eb6e2f7 100644 --- a/x11/wdisplays/Makefile +++ b/x11/wdisplays/Makefile @@ -1,27 +1,27 @@ PORTNAME= wdisplays DISTVERSION= 1.1 -CATEGORIES= x11 +CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= GUI display configurator for wlroots compositors LICENSE= CC-BY-SA-4.0 CC0-1.0 GPLv3+ MIT LICENSE_COMB= multi LICENSE_FILE_CC-BY-SA-4.0= ${WRKSRC}/LICENSES/CC-BY-SA-4.0.txt LICENSE_FILE_CC0-1.0= ${WRKSRC}/LICENSES/CC0-1.0.txt LICENSE_FILE_GPLv3+ = ${WRKSRC}/LICENSES/GPL-3.0-or-later.txt LICENSE_FILE_MIT= ${WRKSRC}/LICENSES/MIT.txt BUILD_DEPENDS= wayland-protocols>=1.17:graphics/wayland-protocols LIB_DEPENDS= libepoxy.so:graphics/libepoxy \ libwayland-client.so:graphics/wayland USES= compiler:c11 gnome meson pkgconfig USE_GITHUB= yes USE_GNOME= cairo gtk30 GH_ACCOUNT= artizirk PLIST_FILES= bin/${PORTNAME} \ share/applications/network.cycles.${PORTNAME}.desktop \ share/icons/hicolor/scalable/apps/${PORTNAME}.svg .include diff --git a/x11/wev/Makefile b/x11/wev/Makefile index fb83b60d4a7e..b26407ab9f5c 100644 --- a/x11/wev/Makefile +++ b/x11/wev/Makefile @@ -1,29 +1,29 @@ PORTNAME= wev PORTVERSION= 1.0.0 PORTREVISION= 2 -CATEGORIES= x11 +CATEGORIES= x11 wayland MASTER_SITES= https://git.sr.ht/~sircmpwn/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ PATCH_SITES= https://git.sr.ht/~sircmpwn/${PORTNAME}/commit/ PATCHFILES+= 0be512fb7058.patch:-p1 MAINTAINER= jbeich@FreeBSD.org COMMENT= Wayland event viewer LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland-protocols>0:graphics/wayland-protocols \ scdoc:textproc/scdoc LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c11 gmake pkgconfig PLIST_FILES= bin/${PORTNAME} \ share/man/man1/${PORTNAME}.1.gz post-patch: @${REINPLACE_CMD} -e 's/ -lrt//' ${WRKSRC}/Makefile .include diff --git a/x11/wezterm/Makefile b/x11/wezterm/Makefile index 740c942bde78..b9e9d47f6a95 100644 --- a/x11/wezterm/Makefile +++ b/x11/wezterm/Makefile @@ -1,551 +1,551 @@ PORTNAME= wezterm DISTVERSION= 20220624-141144-bd1b7c5d -CATEGORIES= x11 +CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= GPU-accelerated terminal emulator and multiplexer LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md LIB_DEPENDS= libwayland-egl.so:graphics/wayland \ libssh2.so:security/libssh2 \ libfontconfig.so:x11-fonts/fontconfig \ libxkbcommon-x11.so:x11/libxkbcommon \ libxcb-util.so:x11/xcb-util \ libxcb-image.so:x11/xcb-util-image USES= cargo ssl xorg USE_GITHUB= yes USE_GITLAB= nodefault USE_XORG= x11 xcb GH_ACCOUNT= wez GH_TUPLE= harfbuzz:harfbuzz:4.3.0:harfbuzz/deps/harfbuzz/harfbuzz \ glennrp:libpng:v1.6.36-805-g8439534da:libpng/deps/freetype/libpng \ madler:zlib:v1.2.11:zlib/deps/freetype/zlib \ fcitx:xcb-imdkit:1.0.3:xcb_imdkit/../xcb-imdkit-rs-ede7c71b85fe2537efef6cf999a45690316211cf/deps/xcb-imdkit \ freetype:freetype:VER-2-10-2-605-g3f83daeec:freetype/deps/freetype/freetype2 GL_TUPLE= wez1:libssh-mirror:56e1b0a43a7601d3b2989299262a09db5d81eea0:libssh/../libssh-rs-d36e5648274063c187968fd5ce0b1a7aa350a025/libssh-rs-sys/vendored PLIST_FILES= bin/strip-ansi-escapes \ bin/${PORTNAME} \ bin/${PORTNAME}-gui \ bin/${PORTNAME}-mux-server \ etc/profile.d/${PORTNAME}.sh \ share/applications/org.wezfurlong.wezterm.desktop \ share/icons/hicolor/128x128/apps/org.wezfurlong.wezterm.png \ share/icons/hicolor/scalable/apps/org.wezfurlong.wezterm.svg \ share/metainfo/org.wezfurlong.wezterm.appdata.xml \ share/nautilus-python/extensions/${PORTNAME}-nautilus.py \ ${NULL} .if exists(/usr/bin/tic) PKGMESSAGE= ${NONEXISTENT} PLIST_FILES+= share/site-terminfo/${PORTNAME:C,^.,&/&,} .endif CARGO_CRATES= addr2line-0.17.0 \ adler-1.0.2 \ adler32-1.2.0 \ ahash-0.7.6 \ aho-corasick-0.7.18 \ anyhow-1.0.58 \ arrayref-0.3.6 \ arrayvec-0.5.2 \ assert_fs-1.0.7 \ async-broadcast-0.4.0 \ async-channel-1.6.1 \ async-executor-1.4.1 \ async-fs-1.5.0 \ async-global-executor-2.1.0 \ async-io-1.7.0 \ async-lock-2.5.0 \ async-net-1.6.1 \ async-process-1.4.0 \ async-recursion-0.3.2 \ async-std-1.12.0 \ async-task-4.2.0 \ async-trait-0.1.56 \ atomic-waker-1.0.0 \ atty-0.2.14 \ autocfg-1.1.0 \ backtrace-0.3.65 \ base64-0.13.0 \ benchmarking-0.4.11 \ bit_field-0.10.1 \ bitflags-1.3.2 \ block-0.1.6 \ block-buffer-0.7.3 \ block-buffer-0.9.0 \ block-padding-0.1.5 \ blocking-1.2.0 \ bstr-0.1.4 \ bstr-0.2.17 \ bumpalo-3.10.0 \ byte-tools-0.3.1 \ bytemuck-1.9.1 \ byteorder-1.4.3 \ bytes-1.1.0 \ cache-padded-1.2.0 \ camino-1.0.9 \ cassowary-0.3.0 \ cc-1.0.73 \ cfg-if-0.1.10 \ cfg-if-1.0.0 \ cgl-0.3.2 \ chrono-0.4.19 \ clap-3.2.5 \ clap_complete-3.2.1 \ clap_derive-3.2.5 \ clap_lex-0.2.2 \ clipboard-win-2.2.0 \ clipboard_macos-0.1.0 \ cocoa-0.20.2 \ color_quant-1.1.0 \ colored-1.9.3 \ colorgrad-0.6.0 \ concurrent-queue-1.2.2 \ core-foundation-0.7.0 \ core-foundation-0.9.3 \ core-foundation-sys-0.7.0 \ core-foundation-sys-0.8.3 \ core-graphics-0.19.2 \ core-graphics-0.22.3 \ core-graphics-types-0.1.1 \ core-text-19.2.0 \ cpufeatures-0.2.2 \ crc32fast-1.3.2 \ crossbeam-0.8.1 \ crossbeam-channel-0.5.5 \ crossbeam-deque-0.8.1 \ crossbeam-epoch-0.9.9 \ crossbeam-queue-0.3.5 \ crossbeam-utils-0.8.9 \ csscolorparser-0.6.0 \ ctor-0.1.22 \ cty-0.2.2 \ dashmap-5.3.4 \ deflate-1.0.0 \ derivative-2.2.0 \ diff-0.1.12 \ difflib-0.4.0 \ digest-0.8.1 \ digest-0.9.0 \ dirs-2.0.2 \ dirs-4.0.0 \ dirs-next-2.0.0 \ dirs-sys-0.3.7 \ dirs-sys-next-0.1.2 \ dlib-0.5.0 \ doc-comment-0.3.3 \ downcast-rs-1.2.0 \ dwrote-0.11.0 \ easy-parallel-3.2.0 \ either-1.6.1 \ embed-resource-1.7.2 \ encoding_rs-0.8.31 \ enum-display-derive-0.1.1 \ enumflags2-0.7.5 \ enumflags2_derive-0.7.4 \ env_logger-0.9.0 \ euclid-0.22.7 \ event-listener-2.5.2 \ exr-1.4.2 \ fake-simd-0.1.2 \ fastrand-1.7.0 \ filenamegen-0.2.4 \ filetime-0.2.16 \ flate2-1.0.24 \ float-cmp-0.9.0 \ flume-0.10.13 \ fnv-1.0.7 \ foreign-types-0.3.2 \ foreign-types-shared-0.1.1 \ form_urlencoded-1.0.1 \ fsevent-sys-4.1.0 \ futures-0.3.21 \ futures-channel-0.3.21 \ futures-core-0.3.21 \ futures-executor-0.3.21 \ futures-io-0.3.21 \ futures-lite-1.12.0 \ futures-macro-0.3.21 \ futures-sink-0.3.21 \ futures-task-0.3.21 \ futures-timer-3.0.2 \ futures-util-0.3.21 \ fuzzy-matcher-0.3.7 \ generic-array-0.12.4 \ generic-array-0.14.5 \ getopts-0.2.21 \ getrandom-0.1.16 \ getrandom-0.2.7 \ gif-0.11.3 \ gimli-0.26.1 \ git2-0.14.2 \ gl_generator-0.14.0 \ glium-0.31.0 \ globset-0.4.9 \ globwalk-0.8.1 \ gloo-timers-0.2.4 \ governor-0.4.2 \ guillotiere-0.6.2 \ half-1.8.2 \ hashbrown-0.11.2 \ hashbrown-0.12.1 \ hdrhistogram-7.5.0 \ heck-0.4.0 \ hermit-abi-0.1.19 \ hex-0.4.3 \ hostname-0.3.1 \ http_req-0.8.1 \ humantime-2.1.0 \ idna-0.2.3 \ ignore-0.4.18 \ image-0.24.2 \ indexmap-1.9.0 \ inflate-0.4.5 \ inotify-0.9.6 \ inotify-sys-0.1.5 \ instant-0.1.12 \ ioctl-rs-0.1.6 \ itertools-0.10.3 \ itoa-1.0.2 \ jobserver-0.1.24 \ jpeg-decoder-0.2.6 \ js-sys-0.3.58 \ k9-0.11.5 \ khronos_api-3.1.0 \ kqueue-1.0.6 \ kqueue-sys-1.0.3 \ kv-log-macro-1.0.7 \ lazy_static-1.4.0 \ lazycell-1.3.0 \ leb128-0.2.5 \ lebe-0.5.1 \ libc-0.2.126 \ libgit2-sys-0.13.2+1.4.2 \ libloading-0.6.7 \ libloading-0.7.3 \ libssh2-sys-0.2.23 \ libz-sys-1.1.8 \ line_drawing-0.8.1 \ lock_api-0.4.7 \ log-0.4.17 \ lru-0.7.7 \ lua-src-544.0.1 \ luajit-src-210.4.0+resty124ff8d \ mach-0.3.2 \ malloc_buf-0.0.6 \ maplit-1.0.2 \ match_cfg-0.1.0 \ matches-0.1.9 \ memchr-2.5.0 \ memmap2-0.2.3 \ memmap2-0.3.1 \ memmap2-0.5.4 \ memmem-0.1.1 \ memoffset-0.6.5 \ metrics-0.17.1 \ metrics-macros-0.4.1 \ minimal-lexical-0.2.1 \ miniz_oxide-0.4.4 \ miniz_oxide-0.5.3 \ mio-0.8.4 \ names-0.12.0 \ nanorand-0.7.0 \ native-tls-0.2.10 \ nix-0.22.3 \ nix-0.23.1 \ nix-0.24.1 \ no-std-compat-0.4.1 \ nom-5.1.2 \ nom-7.1.1 \ nonzero_ext-0.3.0 \ normalize-line-endings-0.3.0 \ notify-5.0.0-pre.15 \ ntapi-0.3.7 \ num-0.3.1 \ num-bigint-0.3.3 \ num-complex-0.3.1 \ num-derive-0.3.3 \ num-integer-0.1.45 \ num-iter-0.1.43 \ num-rational-0.3.2 \ num-rational-0.4.0 \ num-traits-0.2.15 \ num_cpus-1.13.1 \ num_threads-0.1.6 \ objc-0.2.7 \ objc-foundation-0.1.1 \ objc_id-0.1.1 \ object-0.28.4 \ once_cell-1.12.0 \ opaque-debug-0.2.3 \ opaque-debug-0.3.0 \ open-3.0.1 \ openssl-0.10.38 \ openssl-probe-0.1.5 \ openssl-src-300.0.7+3.0.3 \ openssl-sys-0.9.71 \ ordered-float-3.0.0 \ ordered-stream-0.0.1 \ os_str_bytes-6.1.0 \ parking-2.0.0 \ parking_lot-0.11.2 \ parking_lot-0.12.1 \ parking_lot_core-0.8.5 \ parking_lot_core-0.9.3 \ pathdiff-0.2.1 \ pem-1.0.2 \ percent-encoding-2.1.0 \ pest-2.1.3 \ pest_derive-2.1.0 \ pest_generator-2.1.3 \ pest_meta-2.1.3 \ phf-0.8.0 \ phf-0.10.1 \ phf_codegen-0.8.0 \ phf_generator-0.8.0 \ phf_generator-0.10.0 \ phf_macros-0.10.0 \ phf_shared-0.8.0 \ phf_shared-0.10.0 \ pin-project-1.0.10 \ pin-project-internal-1.0.10 \ pin-project-lite-0.2.9 \ pin-utils-0.1.0 \ pkg-config-0.3.25 \ png-0.17.5 \ polling-2.2.0 \ ppv-lite86-0.2.16 \ predicates-2.1.1 \ predicates-core-1.0.3 \ predicates-tree-1.0.5 \ proc-macro-crate-1.1.3 \ proc-macro-error-1.0.4 \ proc-macro-error-attr-1.0.4 \ proc-macro-hack-0.5.19 \ proc-macro2-1.0.40 \ pulldown-cmark-0.9.1 \ pure-rust-locales-0.5.6 \ quanta-0.9.3 \ quick-xml-0.22.0 \ quote-1.0.20 \ rand-0.7.3 \ rand-0.8.5 \ rand_chacha-0.2.2 \ rand_chacha-0.3.1 \ rand_core-0.5.1 \ rand_core-0.6.3 \ rand_hc-0.2.0 \ rand_pcg-0.2.1 \ raw-cpuid-10.3.0 \ raw-window-handle-0.3.4 \ raw-window-handle-0.4.3 \ rayon-1.5.3 \ rayon-core-1.9.3 \ rcgen-0.9.2 \ redox_syscall-0.2.13 \ redox_users-0.4.3 \ regex-1.5.6 \ regex-automata-0.1.10 \ regex-syntax-0.6.26 \ remove_dir_all-0.5.3 \ resize-0.5.5 \ rgb-0.8.33 \ ring-0.16.20 \ rstest-0.14.0 \ rstest_macros-0.14.0 \ rustc-demangle-0.1.21 \ rustc-hash-1.1.0 \ rustc_version-0.4.0 \ ryu-1.0.10 \ safe_arch-0.5.2 \ same-file-1.0.6 \ schannel-0.1.20 \ scoped-tls-1.0.0 \ scoped_threadpool-0.1.9 \ scopeguard-1.1.0 \ security-framework-2.6.1 \ security-framework-sys-2.6.1 \ semver-0.11.0 \ semver-1.0.10 \ semver-parser-0.10.2 \ serde-1.0.137 \ serde_derive-1.0.137 \ serde_json-1.0.81 \ serde_repr-0.1.8 \ serial-0.4.0 \ serial-core-0.4.0 \ serial-unix-0.4.0 \ serial-windows-0.4.0 \ sha-1-0.8.2 \ sha1-0.6.1 \ sha1_smol-1.0.0 \ sha2-0.9.9 \ shared_library-0.1.9 \ shell-words-1.1.0 \ shlex-1.1.0 \ signal-hook-0.1.17 \ signal-hook-0.3.14 \ signal-hook-registry-1.4.0 \ siphasher-0.3.10 \ slab-0.4.6 \ smallvec-1.8.0 \ smawk-0.3.1 \ smithay-client-toolkit-0.15.4 \ smol-1.2.5 \ smol-potat-1.1.2 \ smol-potat-macro-0.6.0 \ socket2-0.4.4 \ spin-0.5.2 \ spin-0.9.3 \ ssh2-0.9.3 \ starship-battery-0.7.9 \ static_assertions-1.1.0 \ strsim-0.10.0 \ svg_fmt-0.4.1 \ syn-1.0.98 \ takeable-option-0.5.0 \ tempfile-3.3.0 \ term_size-0.3.2 \ termcolor-1.1.3 \ terminfo-0.7.3 \ termios-0.2.2 \ termios-0.3.3 \ termtree-0.2.4 \ textwrap-0.15.0 \ thiserror-1.0.31 \ thiserror-impl-1.0.31 \ thread_local-1.1.4 \ threadpool-1.8.1 \ tiff-0.7.2 \ time-0.1.43 \ time-0.3.10 \ tiny-skia-0.6.5 \ tinyvec-1.6.0 \ tinyvec_macros-0.1.0 \ toml-0.5.9 \ tracing-0.1.35 \ tracing-attributes-0.1.21 \ tracing-core-0.1.27 \ typenum-1.15.0 \ ucd-trie-0.1.3 \ uds_windows-1.0.2 \ unicase-2.6.0 \ unicode-bidi-0.3.8 \ unicode-ident-1.0.1 \ unicode-linebreak-0.1.2 \ unicode-normalization-0.1.19 \ unicode-segmentation-1.9.0 \ unicode-width-0.1.9 \ untrusted-0.7.1 \ uom-0.30.0 \ url-2.2.2 \ utf8parse-0.2.0 \ value-bag-1.0.0-alpha.9 \ varbincode-0.1.0 \ vcpkg-0.2.15 \ version_check-0.9.4 \ vswhom-0.1.0 \ vswhom-sys-0.1.1 \ waker-fn-1.1.0 \ walkdir-2.3.2 \ wasi-0.9.0+wasi-snapshot-preview1 \ wasi-0.10.2+wasi-snapshot-preview1 \ wasi-0.11.0+wasi-snapshot-preview1 \ wasm-bindgen-0.2.81 \ wasm-bindgen-backend-0.2.81 \ wasm-bindgen-futures-0.4.31 \ wasm-bindgen-macro-0.2.81 \ wasm-bindgen-macro-support-0.2.81 \ wasm-bindgen-shared-0.2.81 \ wayland-client-0.29.4 \ wayland-commons-0.29.4 \ wayland-cursor-0.29.4 \ wayland-egl-0.29.4 \ wayland-protocols-0.29.4 \ wayland-scanner-0.29.4 \ wayland-sys-0.29.4 \ web-sys-0.3.58 \ weezl-0.1.6 \ wepoll-ffi-0.1.2 \ whoami-1.2.1 \ winapi-0.3.9 \ winapi-i686-pc-windows-gnu-0.4.0 \ winapi-util-0.1.5 \ winapi-x86_64-pc-windows-gnu-0.4.0 \ windows-0.33.0 \ windows-sys-0.36.1 \ windows_aarch64_msvc-0.33.0 \ windows_aarch64_msvc-0.36.1 \ windows_i686_gnu-0.33.0 \ windows_i686_gnu-0.36.1 \ windows_i686_msvc-0.33.0 \ windows_i686_msvc-0.36.1 \ windows_x86_64_gnu-0.33.0 \ windows_x86_64_gnu-0.36.1 \ windows_x86_64_msvc-0.33.0 \ windows_x86_64_msvc-0.36.1 \ winreg-0.10.1 \ wio-0.2.2 \ x11-2.19.1 \ xcursor-0.3.4 \ xml-rs-0.8.4 \ yasna-0.5.0 \ zbus-2.3.2 \ zbus_macros-2.3.2 \ zbus_names-2.1.0 \ zstd-0.6.1+zstd.1.4.9 \ zstd-safe-3.0.1+zstd.1.4.9 \ zstd-sys-1.4.20+zstd.1.4.9 \ zvariant-3.3.1 \ zvariant_derive-3.3.1 \ mlua@git+https://github.com/khvzak/mlua?branch=master\#d9ac7abff2d605f8345657b1625eb3e2de02ddd8 \ xcb-imdkit@git+https://github.com/wez/xcb-imdkit-rs.git?rev=ede7c71b85fe2537efef6cf999a45690316211cf\#ede7c71b85fe2537efef6cf999a45690316211cf \ xcb@git+https://github.com/wez/rust-xcb?branch=ffi\#990a0212230acea2baf6f658e68e2f44bf7a8a1f \ xkbcommon@git+https://github.com/wez/xkbcommon-rs.git?branch=key-by-name\#546ba7dbf2ace214b9947fc4646a0f4afd70cb0a \ libssh-rs,libssh-rs-sys@git+https://github.com/wez/libssh-rs.git\#d36e5648274063c187968fd5ce0b1a7aa350a025 # XXX https://github.com/rust-lang/cargo/issues/4101 CARGO_INSTALL_PATH= ${PLIST_FILES:Mbin/*:T} OPTIONS_DEFINE= DOCS DOCS_USES= python:3.4+,build DOCS_BUILD_DEPENDS= mdbook:textproc/mdbook \ mdbook-linkcheck:textproc/mdbook-linkcheck \ mdbook-mermaid:textproc/mdbook-mermaid PORTDOCS= html post-patch: # Extract (snapshot) version from the port instead of .tag file @${ECHO_CMD} '${DISTVERSIONFULL}' >${WRKSRC}/.tag do-build-DOCS-on: # Build HTML documentation similar to ci/build-docs.sh (cd ${WRKSRC} && ${PYTHON_CMD} ci/generate-docs.py) mdbook-mermaid install ${WRKSRC}/docs mdbook build ${WRKSRC}/docs ${CP} ${WRKSRC}/assets/icon/terminal.png \ ${WRKSRC}/gh_pages/html/favicon.png ${CP} ${WRKSRC}/assets/icon/${PORTNAME}-icon.svg \ ${WRKSRC}/gh_pages/html/favicon.svg do-install-DOCS-on: (cd ${WRKSRC}/gh_pages && ${COPYTREE_SHARE} \ "${PORTDOCS:Mhtml}" ${STAGEDIR}${DOCSDIR}) post-install: # Install assets similar to ci/deploy.sh .for f in ${PORTNAME}.desktop ${PORTNAME}.appdata.xml ${PORTNAME}-nautilus.py \ icon/terminal.png icon/${PORTNAME}-icon.svg shell-integration/${PORTNAME}.sh ${MKDIR} ${STAGEDIR}${PREFIX}/${PLIST_FILES:M*.${f:E}:H} ${INSTALL_DATA} ${WRKSRC}/assets/${f:R}.${f:E} \ ${STAGEDIR}${PREFIX}/${PLIST_FILES:M*.${f:E}} .endfor .if exists(/usr/bin/tic) tic -x -o ${STAGEDIR}${PREFIX}/${PLIST_FILES:M*terminfo*:[1]:H:H} \ ${WRKSRC}/termwiz/data/${PORTNAME}.terminfo .endif .include diff --git a/x11/wf-shell/Makefile b/x11/wf-shell/Makefile index 825c1d984f64..9838f5d15056 100644 --- a/x11/wf-shell/Makefile +++ b/x11/wf-shell/Makefile @@ -1,41 +1,41 @@ PORTNAME= wf-shell DISTVERSIONPREFIX= v DISTVERSION= 0.7.0 PORTREVISION= 3 -CATEGORIES= x11 +CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= GTK3-based panel for wayfire LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols \ wf-config>=0.7.0:devel/wf-config \ wayfire>0:x11-wm/wayfire LIB_DEPENDS= libinotify.so:devel/libinotify \ libwf-config.so:devel/wf-config \ libwayland-client.so:graphics/wayland \ libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell RUN_DEPENDS= wayland-logout:x11/wayland-logout USES= compiler:c++17-lang gnome meson pkgconfig USE_GITHUB= yes USE_GNOME= gtkmm30 GH_ACCOUNT= WayfireWM GH_TUPLE= GNOME:libgnome-volume-control:468022b:gvc/subprojects/gvc MESON_ARGS= -Dgvc:alsa=false -Dwayland-logout=false DATADIR= ${PREFIX}/share/wayfire OPTIONS_DEFINE= PULSEAUDIO OPTIONS_DEFAULT=PULSEAUDIO PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_MESON_ENABLED= pulse post-patch: @${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},' \ ${WRKSRC}/src/dock/toplevel-icon.cpp \ ${WRKSRC}/src/panel/widgets/window-list/toplevel.cpp .include diff --git a/x11/wl-mirror/Makefile b/x11/wl-mirror/Makefile index 77d53b806591..71a5115ce1da 100644 --- a/x11/wl-mirror/Makefile +++ b/x11/wl-mirror/Makefile @@ -1,32 +1,32 @@ PORTNAME= wl-mirror DISTVERSIONPREFIX= v DISTVERSION= 0.11.2 -CATEGORIES= x11 +CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Simple Wayland output mirror client LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_FreeBSD_12= ld: error: undefined symbol: memfd_create BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libwayland-egl.so:graphics/wayland USES= cmake gl localbase:ldflags USE_GITHUB= yes USE_GITLAB= nodefault USE_GL= glesv2 egl GH_ACCOUNT= Ferdi265 GL_TUPLE= https://gitlab.freedesktop.org:wlroots:wlr-protocols:0c7437e2b600382f0be33949c4e244b2a3702fcb:wlrproto/proto/wlr-protocols PLIST_FILES= bin/${PORTNAME} post-patch: @${ECHO_CMD} "${DISTVERSIONFULL}" >${WRKSRC}/version.txt @${REINPLACE_CMD} 's,/usr,${LOCALBASE},' ${WRKSRC}/CMakeLists.txt pre-configure: @${TOUCH} ${WRKSRC_wlrproto}/.git .include diff --git a/x11/wlogout/Makefile b/x11/wlogout/Makefile index fce315e52762..ebb3d0195353 100644 --- a/x11/wlogout/Makefile +++ b/x11/wlogout/Makefile @@ -1,38 +1,38 @@ PORTNAME= wlogout PORTVERSION= 1.1.1 PORTREVISION= 1 -CATEGORIES= x11 +CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Wayland-based logout menu LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell USES= compiler:c11 gnome meson pkgconfig USE_GITHUB= yes USE_GNOME= gtk30 GH_ACCOUNT= ArtsyMacaw OPTIONS_DEFINE= MANPAGES OPTIONS_DEFAULT=MANPAGES OPTIONS_SUB= yes MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages post-patch: @${REINPLACE_CMD} 's,/usr/local,${PREFIX},g' \ ${WRKSRC}/main.c \ ${WRKSRC}/man/${PORTNAME}.1.scd \ ${WRKSRC}/style.css post-install: # Let @sample handle default files under etc/ @for f in ${STAGEDIR}${ETCDIR}/*; do \ ${MV} $$f $$f.sample; \ done .include diff --git a/x11/wlr-randr/Makefile b/x11/wlr-randr/Makefile index e32d1554060d..08ff741eb815 100644 --- a/x11/wlr-randr/Makefile +++ b/x11/wlr-randr/Makefile @@ -1,18 +1,18 @@ PORTNAME= wlr-randr DISTVERSIONPREFIX= v DISTVERSION= 0.2.0 -CATEGORIES= x11 +CATEGORIES= x11 wayland MASTER_SITES= https://git.sr.ht/~emersion/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ MAINTAINER= jbeich@FreeBSD.org COMMENT= xrandr clone for wlroots compositors LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libwayland-client.so:graphics/wayland USES= meson pkgconfig PLIST_FILES= bin/${PORTNAME} .include diff --git a/x11/wlrctl/Makefile b/x11/wlrctl/Makefile index aa7a44c8fe96..55ed9da90e10 100644 --- a/x11/wlrctl/Makefile +++ b/x11/wlrctl/Makefile @@ -1,31 +1,31 @@ PORTNAME= wlrctl DISTVERSIONPREFIX= v DISTVERSION= 0.2.1 -CATEGORIES= x11 +CATEGORIES= x11 wayland MASTER_SITES= https://git.sr.ht/~brocellous/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ PATCH_SITES= https://git.sr.ht/~brocellous/${PORTNAME}/commit/ PATCHFILES+= a9f5699256c9.patch:-p1 MAINTAINER= jbeich@FreeBSD.org COMMENT= Utility for miscellaneous wlroots extensions LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c11 meson pkgconfig PLIST_FILES= bin/${PORTNAME} \ share/zsh/site-functions/_${PORTNAME} OPTIONS_DEFINE= MANPAGES OPTIONS_DEFAULT=MANPAGES MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz .include diff --git a/x11/wob/Makefile b/x11/wob/Makefile index 819449a90ccd..68916c5706b2 100644 --- a/x11/wob/Makefile +++ b/x11/wob/Makefile @@ -1,26 +1,26 @@ PORTNAME= wob DISTVERSION= 0.13 -CATEGORIES= x11 +CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Lightweight overlay volume (or anything) bar for Wayland LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= wayland-protocols>=1.13:graphics/wayland-protocols LIB_DEPENDS= libwayland-client.so:graphics/wayland USES= meson pkgconfig USE_GITHUB= yes GH_ACCOUNT= francma PLIST_FILES= bin/${PORTNAME} OPTIONS_DEFINE= MANPAGES OPTIONS_DEFAULT=MANPAGES MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz .include diff --git a/x11/wofi/Makefile b/x11/wofi/Makefile index 18b5c265ce72..795b7b1eca0d 100644 --- a/x11/wofi/Makefile +++ b/x11/wofi/Makefile @@ -1,27 +1,27 @@ PORTNAME= wofi DISTVERSIONPREFIX= v DISTVERSION= 1.2.4 -CATEGORIES= x11 +CATEGORIES= x11 wayland MASTER_SITES= https://hg.sr.ht/~scoopta/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ MAINTAINER= jbeich@FreeBSD.org COMMENT= Launcher/menu program for wlroots-based compositors LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING.md LIB_DEPENDS= libwayland-client.so:graphics/wayland USES= gnome meson pkgconfig USE_GNOME= cairo gdkpixbuf2 gtk30 post-patch: @${REINPLACE_CMD} 's,/usr/local,${PREFIX},g' \ ${WRKSRC}/man/${PORTNAME}.7 \ ${WRKSRC}/modes/drun.c # Extract (snapshot) version from the port instead of meson.build @${REINPLACE_CMD} -i .nohg -e 's/hg.found()/false/' \ -e "s/' + version + '/${DISTVERSIONFULL}/" \ ${WRKSRC}/meson.build .include diff --git a/x11/wshowkeys/Makefile b/x11/wshowkeys/Makefile index ea842848948f..c7b2a6fdde9f 100644 --- a/x11/wshowkeys/Makefile +++ b/x11/wshowkeys/Makefile @@ -1,25 +1,25 @@ PORTNAME= wshowkeys DISTVERSION= 1.0 -CATEGORIES= x11 +CATEGORIES= x11 wayland MASTER_SITES= https://git.sr.ht/~sircmpwn/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ PATCH_SITES= https://github.com/ammgws/${PORTNAME}/commit/ PATCHFILES+= 35b6f15bd088.patch:-p1 # https://old.reddit.com/r/swaywm/comments/ovfzpv/new_custodianmaintainerbugfix_needed_for_wshowkeys/ MAINTAINER= jbeich@FreeBSD.org COMMENT= Display keystrokes for screencasts on wlroots compositors LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libudev.so:devel/libudev-devd \ libwayland-client.so:graphics/wayland \ libinput.so:x11/libinput \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c11 gnome meson pkgconfig USE_GNOME= cairo pango PLIST_FILES= "@(,video,4750) bin/${PORTNAME}" .include diff --git a/x11/wtype/Makefile b/x11/wtype/Makefile index e739e738e0da..6f0fe48d66c3 100644 --- a/x11/wtype/Makefile +++ b/x11/wtype/Makefile @@ -1,21 +1,21 @@ PORTNAME= wtype DISTVERSIONPREFIX= v DISTVERSION= 0.4 -CATEGORIES= x11 +CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Programmatically simulate keyboard input on Wayland LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c11 meson pkgconfig USE_GITHUB= yes GH_ACCOUNT= atx PLIST_FILES= bin/${PORTNAME} \ man/man1/${PORTNAME}.1.gz .include diff --git a/x11/wvkbd/Makefile b/x11/wvkbd/Makefile index f53efcacd12c..19d109dc4601 100644 --- a/x11/wvkbd/Makefile +++ b/x11/wvkbd/Makefile @@ -1,48 +1,48 @@ PORTNAME= wvkbd DISTVERSIONPREFIX= v DISTVERSION= 0.8.2 -CATEGORIES= x11 +CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= On-screen keyboard for wlroots LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \ libwayland-client.so:graphics/wayland USES= gmake gnome pkgconfig USE_GITHUB= yes USE_GNOME= cairo pango GH_ACCOUNT= jjsullivan5196 MAKE_ARGS= VERSION="${DISTVERSIONFULL}" PLIST_FILES= bin/${PORTNAME}-mobintl \ share/man/man1/${PORTNAME}.1.gz LDFLAGS+= -Wl,--as-needed # pango deps pre-everything:: @${ECHO_MSG} "To build ${PORTNAME} with your own config.h set ${PORTNAME:tu}_CONF variable" @${ECHO_MSG} "either in ${.CURDIR:T}/Makefile.local, make.conf(5), environ(7) or command line e.g.," @${ECHO_MSG} "\$$ make install clean ${PORTNAME:tu}_CONF=/path/to/${PORTNAME}/config.h" post-extract: # .if exists(...) before bsd.port.mk ignores *_CONF in make.conf(5) and Makefile.local @if [ -e "${${PORTNAME:tu}_CONF}" ]; then \ ${ECHO_MSG} "Creating symlink: config.h -> ${${PORTNAME:tu}_CONF}"; \ ${LN} -fs "${${PORTNAME:tu}_CONF}" ${WRKSRC}/config.h; \ fi post-patch: @${REINPLACE_CMD} -e '/^PKGS/s/$$/ epoll-shim/' \ -e 's/ xkbcommon//' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} -e '/^PREFIX/s/=/?=/' \ -e '/^CFLAGS/s/=/+=/' \ ${WRKSRC}/config.mk post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}* .include diff --git a/x11/xdg-desktop-portal-wlr/Makefile b/x11/xdg-desktop-portal-wlr/Makefile index 4ae8bc6addb3..edfd92dfaac4 100644 --- a/x11/xdg-desktop-portal-wlr/Makefile +++ b/x11/xdg-desktop-portal-wlr/Makefile @@ -1,43 +1,43 @@ PORTNAME= xdg-desktop-portal-wlr DISTVERSIONPREFIX= v DISTVERSION= 0.6.0 -CATEGORIES= x11 +CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= xdg-desktop-portal backend for wlroots LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= wayland-protocols>=1.14:graphics/wayland-protocols LIB_DEPENDS= libbasu.so:devel/basu \ libinih.so:devel/inih \ libepoll-shim.so:devel/libepoll-shim \ libdrm.so:graphics/libdrm \ libwayland-client.so:graphics/wayland \ libpipewire-0.3.so:multimedia/pipewire USES= compiler:c11 gl meson pkgconfig USE_GITHUB= yes USE_GL= gbm GH_ACCOUNT= emersion MESON_ARGS= -Dsd-bus-provider=basu PLIST_FILES= libexec/${PORTNAME} \ share/dbus-1/services/org.freedesktop.impl.portal.desktop.wlr.service \ share/xdg-desktop-portal/portals/wlr.portal OPTIONS_DEFINE= MANPAGES SLURP OPTIONS_DEFAULT=MANPAGES SLURP MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages MANPAGES_PLIST_FILES= man/man5/${PORTNAME}.5.gz SLURP_DESC= Simple output chooser SLURP_RUN_DEPENDS= slurp:x11/slurp post-patch: @${REINPLACE_CMD} -e 's,/etc,${PREFIX}&,' \ ${WRKSRC}/${PORTNAME}.5.scd .include