Index: head/x11/Makefile =================================================================== --- head/x11/Makefile (revision 528996) +++ head/x11/Makefile (revision 528997) @@ -1,523 +1,524 @@ # $FreeBSD$ # COMMENT = Ports to support the X window system SUBDIR += 3ddesktop SUBDIR += 9box SUBDIR += 9menu SUBDIR += admiral SUBDIR += alacritty SUBDIR += albert SUBDIR += alltray SUBDIR += alttab SUBDIR += aminal SUBDIR += antimicro SUBDIR += appres SUBDIR += apwal SUBDIR += arandr SUBDIR += aterm SUBDIR += babl SUBDIR += bbappconf SUBDIR += bbdock SUBDIR += bbrun SUBDIR += beforelight SUBDIR += bemenu SUBDIR += bgrot SUBDIR += bgs SUBDIR += bitmap SUBDIR += bmpanel2 SUBDIR += bricons SUBDIR += brisk-menu SUBDIR += cde SUBDIR += cinnamon SUBDIR += cinnamon-desktop SUBDIR += cinnamon-menus SUBDIR += cinnamon-screensaver SUBDIR += cinnamon-session SUBDIR += cl-clx SUBDIR += cl-clx-sbcl SUBDIR += clipman SUBDIR += compton-conf SUBDIR += conlecterm SUBDIR += controllermap SUBDIR += cool-retro-term SUBDIR += decurs SUBDIR += deforaos-desktop SUBDIR += deforaos-keyboard SUBDIR += deforaos-libdesktop SUBDIR += deforaos-locker SUBDIR += deforaos-panel SUBDIR += deskmenu SUBDIR += deskpaint SUBDIR += dmenu SUBDIR += dmenu2 SUBDIR += docker-tray SUBDIR += dsbautostart SUBDIR += dxpc SUBDIR += dzen2 SUBDIR += eaglemode SUBDIR += editres SUBDIR += emprint SUBDIR += erun SUBDIR += eterm SUBDIR += evilvte SUBDIR += fbdesk SUBDIR += fbpanel SUBDIR += find-cursor SUBDIR += fireflies SUBDIR += florence SUBDIR += flruler SUBDIR += fluxbg SUBDIR += fpc-x11 SUBDIR += fstobdf SUBDIR += gcb SUBDIR += gdm SUBDIR += gmrun SUBDIR += gnome-clipboard-daemon SUBDIR += gnome-desktop SUBDIR += gnome-menus SUBDIR += gnome-pie SUBDIR += gnome-session SUBDIR += gnome-shell SUBDIR += gnome-shell-extensions SUBDIR += gnome-terminal SUBDIR += gnome3 SUBDIR += gnome3-lite SUBDIR += gnustep-app SUBDIR += gpctool SUBDIR += grabc SUBDIR += grim SUBDIR += gromit SUBDIR += gskrab SUBDIR += gstreamer1-plugins-x SUBDIR += gstreamer1-plugins-ximagesrc SUBDIR += gsynaptics SUBDIR += gtk-theme-switch2 SUBDIR += gtkchtheme SUBDIR += gtkterm2 SUBDIR += guake SUBDIR += gxkb SUBDIR += hhpc SUBDIR += hs-X11 SUBDIR += hs-X11-xft SUBDIR += hs-xmobar SUBDIR += hsetroot SUBDIR += i3blocks SUBDIR += i3lock SUBDIR += i3status SUBDIR += iceauth SUBDIR += ico SUBDIR += idesk SUBDIR += imwheel SUBDIR += innerspace SUBDIR += ipager SUBDIR += j4-dmenu-desktop SUBDIR += kanshi SUBDIR += kb2mb2 SUBDIR += kde-baseapps SUBDIR += kde5 SUBDIR += keybinder SUBDIR += keybinder-gtk3 SUBDIR += keyboardcast SUBDIR += keylaunch SUBDIR += kf5-frameworkintegration SUBDIR += kf5-frameworks SUBDIR += kf5-kactivities SUBDIR += kf5-kactivities-stats SUBDIR += kf5-kded SUBDIR += kf5-kdelibs4support SUBDIR += kf5-kglobalaccel SUBDIR += kf5-kinit SUBDIR += kf5-krunner SUBDIR += kf5-kwayland SUBDIR += kf5-kwindowsystem SUBDIR += kf5-plasma-framework SUBDIR += konsole SUBDIR += lemonbar SUBDIR += libICE SUBDIR += libSM SUBDIR += libX11 SUBDIR += libXScrnSaver SUBDIR += libXau SUBDIR += libXcm SUBDIR += libXcomposite SUBDIR += libXcursor SUBDIR += libXdamage SUBDIR += libXdmcp SUBDIR += libXext SUBDIR += libXfixes SUBDIR += libXi SUBDIR += libXinerama SUBDIR += libXpm SUBDIR += libXpresent SUBDIR += libXrandr SUBDIR += libXrender SUBDIR += libXres SUBDIR += libXtst SUBDIR += libXv SUBDIR += libXvMC SUBDIR += libXxf86dga SUBDIR += libXxf86vm SUBDIR += libdmx SUBDIR += libexo SUBDIR += libfakekey SUBDIR += libfm SUBDIR += libfm-extra SUBDIR += libfm-qt SUBDIR += libgnome SUBDIR += libgnome-reference SUBDIR += libgnomekbd SUBDIR += libgnomemm26 SUBDIR += libinput SUBDIR += libmatekbd SUBDIR += libsx SUBDIR += libsynaptics SUBDIR += libwacom SUBDIR += libxcb SUBDIR += libxdg-basedir SUBDIR += libxfce4menu SUBDIR += libxfce4util SUBDIR += libxkbcommon SUBDIR += libxkbfile SUBDIR += libxklavier SUBDIR += libxshmfence SUBDIR += lightdm SUBDIR += lightdm-gtk-greeter SUBDIR += lightdm-gtk-greeter-settings SUBDIR += lilyterm SUBDIR += linux-c7-libxkbcommon SUBDIR += linux-c7-pixman SUBDIR += linux-c7-xorg-libs SUBDIR += linux-nvidia-libs SUBDIR += linux-nvidia-libs-304 SUBDIR += linux-nvidia-libs-340 SUBDIR += linux-nvidia-libs-390 SUBDIR += listres SUBDIR += lsw SUBDIR += luit SUBDIR += lumina SUBDIR += lumina-core SUBDIR += lumina-coreutils SUBDIR += lupe SUBDIR += lxde-meta SUBDIR += lxhotkey SUBDIR += lxmenu-data SUBDIR += lxpanel SUBDIR += lxqt-about SUBDIR += lxqt-globalkeys SUBDIR += lxqt-runner SUBDIR += lxrandr SUBDIR += ly SUBDIR += mate SUBDIR += mate-applets SUBDIR += mate-base SUBDIR += mate-desktop SUBDIR += mate-menus SUBDIR += mate-panel SUBDIR += mate-screensaver SUBDIR += mate-session-manager SUBDIR += mate-terminal SUBDIR += menu-cache SUBDIR += menulibre SUBDIR += metalock SUBDIR += mkcomposecache SUBDIR += mlterm SUBDIR += mons SUBDIR += mrxvt SUBDIR += mrxvt-devel SUBDIR += multi-aterm SUBDIR += mxico SUBDIR += numlockx SUBDIR += nvidia-driver SUBDIR += nvidia-driver-304 SUBDIR += nvidia-driver-340 SUBDIR += nvidia-driver-390 SUBDIR += nvidia-settings SUBDIR += nvidia-xconfig SUBDIR += nxcomp SUBDIR += p5-Clipboard SUBDIR += p5-X11-GUITest SUBDIR += p5-X11-IdleTime SUBDIR += p5-X11-Protocol SUBDIR += p5-X11-Protocol-Other SUBDIR += p5-X11-Resolution SUBDIR += p5-X11-XCB SUBDIR += p5-X11-Xlib SUBDIR += p5-XTerm-Conf SUBDIR += pcdm SUBDIR += perwindowlayoutd SUBDIR += pipeglade SUBDIR += pixman SUBDIR += plank SUBDIR += plasma5-kactivitymanagerd SUBDIR += plasma5-kgamma5 SUBDIR += plasma5-kscreen SUBDIR += plasma5-kwayland-integration SUBDIR += plasma5-libkscreen SUBDIR += plasma5-plasma SUBDIR += plasma5-plasma-desktop SUBDIR += plasma5-plasma-integration SUBDIR += plasma5-plasma-workspace SUBDIR += polybar SUBDIR += printscreen SUBDIR += props SUBDIR += py-caffeine-ng SUBDIR += py-i3ipc SUBDIR += py-pyscreenshot SUBDIR += py-pyvirtualdisplay SUBDIR += py-qt5-opengl SUBDIR += py-xcffib SUBDIR += py-xdot SUBDIR += qimageblitz SUBDIR += qt5-qev SUBDIR += qt5-x11extras SUBDIR += qterminal SUBDIR += radare-cutter SUBDIR += rendercheck SUBDIR += rgb SUBDIR += rofi SUBDIR += rofi-calc SUBDIR += rofi-pass SUBDIR += roxbg SUBDIR += roxterm SUBDIR += rsibreak SUBDIR += rubygem-gnome SUBDIR += rxvt-unicode SUBDIR += sakura SUBDIR += sbxkb SUBDIR += screen-message SUBDIR += scripts SUBDIR += sddm SUBDIR += sessreg SUBDIR += setlayout SUBDIR += setxkbmap SUBDIR += simdock SUBDIR += simplestroke SUBDIR += sisctrl SUBDIR += slick-greeter SUBDIR += slim SUBDIR += slock SUBDIR += slop SUBDIR += slurp SUBDIR += smproxy SUBDIR += squeekboard SUBDIR += sselp SUBDIR += stalonetray SUBDIR += startup-notification SUBDIR += sterm SUBDIR += stjerm SUBDIR += swarp SUBDIR += swaybg SUBDIR += swayidle SUBDIR += swaylock SUBDIR += sxhkd SUBDIR += sxpc SUBDIR += tabbed SUBDIR += temperature.app SUBDIR += terminal.app SUBDIR += terminology SUBDIR += thinglaunch SUBDIR += thingylaunch SUBDIR += tilda SUBDIR += tint SUBDIR += trayer SUBDIR += tycoon SUBDIR += urxvt-font-size SUBDIR += urxvt-perls SUBDIR += vdesk SUBDIR += viewres SUBDIR += virtboard SUBDIR += virtualgl SUBDIR += wallutils SUBDIR += waybar SUBDIR += wbar SUBDIR += wcm SUBDIR += wdisplays SUBDIR += wdm SUBDIR += wev SUBDIR += wf-shell SUBDIR += wl-clipboard SUBDIR += wlogout SUBDIR += wmappl SUBDIR += wmblob SUBDIR += wmbutton SUBDIR += wmcliphist SUBDIR += wmctrl SUBDIR += wmdrawer SUBDIR += wmmatrix SUBDIR += wmsystemtray SUBDIR += wmutils-core SUBDIR += wmutils-opt SUBDIR += wmxss + SUBDIR += wofi SUBDIR += workrave SUBDIR += x11perf SUBDIR += x3270 SUBDIR += xaniroc SUBDIR += xantfarm SUBDIR += xapps SUBDIR += xascii SUBDIR += xauth SUBDIR += xautolock SUBDIR += xautomation SUBDIR += xbacklight SUBDIR += xballoon SUBDIR += xbanish SUBDIR += xbanner SUBDIR += xbiff SUBDIR += xbindkeys SUBDIR += xbitmaps SUBDIR += xbrightness SUBDIR += xcalc SUBDIR += xcalib SUBDIR += xcape SUBDIR += xcb SUBDIR += xcb-proto SUBDIR += xcb-util SUBDIR += xcb-util-cursor SUBDIR += xcb-util-errors SUBDIR += xcb-util-image SUBDIR += xcb-util-keysyms SUBDIR += xcb-util-renderutil SUBDIR += xcb-util-wm SUBDIR += xcb-util-xrm SUBDIR += xcbautolock SUBDIR += xclip SUBDIR += xclipboard SUBDIR += xcm SUBDIR += xcmd SUBDIR += xcmsdb SUBDIR += xcoloredit SUBDIR += xcolors SUBDIR += xcolorsel SUBDIR += xconsole SUBDIR += xcursorgen SUBDIR += xcut SUBDIR += xditview SUBDIR += xdm SUBDIR += xdotool SUBDIR += xdpyinfo SUBDIR += xdriinfo SUBDIR += xdtm SUBDIR += xedit SUBDIR += xev SUBDIR += xeyes SUBDIR += xf86dga SUBDIR += xfce4-clipman-plugin SUBDIR += xfce4-conf SUBDIR += xfce4-dashboard SUBDIR += xfce4-embed-plugin SUBDIR += xfce4-goodies SUBDIR += xfce4-quicklauncher-plugin SUBDIR += xfce4-screensaver SUBDIR += xfce4-screenshooter-plugin SUBDIR += xfce4-taskmanager SUBDIR += xfce4-terminal SUBDIR += xfce4-verve-plugin SUBDIR += xfce4-whiskermenu-plugin SUBDIR += xfce4-wmdock-plugin SUBDIR += xfd SUBDIR += xfishtank SUBDIR += xforward SUBDIR += xgamma SUBDIR += xgc SUBDIR += xgrab SUBDIR += xhost SUBDIR += xidle SUBDIR += xinit SUBDIR += xinput SUBDIR += xkb-switch SUBDIR += xkbcomp SUBDIR += xkbctrl SUBDIR += xkbevd SUBDIR += xkbind SUBDIR += xkbprint SUBDIR += xkbset SUBDIR += xkbutils SUBDIR += xkeyboard-config SUBDIR += xkeycaps SUBDIR += xkeywrap SUBDIR += xkill SUBDIR += xload SUBDIR += xloadimage SUBDIR += xlockmore SUBDIR += xlogo SUBDIR += xlsatoms SUBDIR += xlsclients SUBDIR += xmag SUBDIR += xman SUBDIR += xmangekyou SUBDIR += xmascot SUBDIR += xmessage SUBDIR += xmh SUBDIR += xmodmap SUBDIR += xmon SUBDIR += xmore SUBDIR += xmotd SUBDIR += xmove SUBDIR += xmsg SUBDIR += xmx SUBDIR += xnee SUBDIR += xnodecor SUBDIR += xorg SUBDIR += xorg-apps SUBDIR += xorg-cf-files SUBDIR += xorg-docs SUBDIR += xorg-libraries SUBDIR += xorg-minimal SUBDIR += xorgproto SUBDIR += xpr SUBDIR += xprintidle SUBDIR += xprompt SUBDIR += xprop SUBDIR += xrandr SUBDIR += xrdb SUBDIR += xrefresh SUBDIR += xrestop SUBDIR += xrootconsole SUBDIR += xrsh SUBDIR += xrsi SUBDIR += xscope SUBDIR += xscreensaver SUBDIR += xscreensaver.app SUBDIR += xsel-conrad SUBDIR += xset SUBDIR += xsetroot SUBDIR += xsettingsd SUBDIR += xskyroot SUBDIR += xsm SUBDIR += xsnow SUBDIR += xstarroll SUBDIR += xstdcmap SUBDIR += xstroke SUBDIR += xtacy SUBDIR += xterm SUBDIR += xtermcontrol SUBDIR += xtermset SUBDIR += xtestpicture SUBDIR += xtoolwait SUBDIR += xtrans SUBDIR += xtrlock SUBDIR += xtset SUBDIR += xvattr SUBDIR += xvidtune SUBDIR += xvinfo SUBDIR += xvkbd SUBDIR += xvmcinfo SUBDIR += xvt SUBDIR += xwatchwin SUBDIR += xwd SUBDIR += xwininfo SUBDIR += xwinwrap SUBDIR += xwit SUBDIR += xwud SUBDIR += xxkb SUBDIR += xzoom SUBDIR += yad SUBDIR += yakuake SUBDIR += yalias SUBDIR += yeahconsole SUBDIR += yelp SUBDIR += zenity .include Index: head/x11/wofi/Makefile =================================================================== --- head/x11/wofi/Makefile (nonexistent) +++ head/x11/wofi/Makefile (revision 528997) @@ -0,0 +1,31 @@ +# $FreeBSD$ + +PORTNAME= wofi +DISTVERSIONPREFIX= v +DISTVERSION= 1.1.2 +CATEGORIES= x11 +#MASTER_SITES= https://hg.sr.ht/~scoopta/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ +MASTER_SITES+= LOCAL/jbeich # https://todo.sr.ht/~sircmpwn/hg.sr.ht/33 + +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_CSTD= gnu99 +USE_GNOME= 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 Property changes on: head/x11/wofi/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11/wofi/distinfo =================================================================== --- head/x11/wofi/distinfo (nonexistent) +++ head/x11/wofi/distinfo (revision 528997) @@ -0,0 +1,3 @@ +TIMESTAMP = 1583818656 +SHA256 (wofi-v1.1.2.tar.gz) = c7f952e49bf52d3519b52c9f7c88c8d83a800297d16076f7eaefddf0cb6f8371 +SIZE (wofi-v1.1.2.tar.gz) = 64813 Property changes on: head/x11/wofi/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11/wofi/files/patch-glib-2.56 =================================================================== --- head/x11/wofi/files/patch-glib-2.56 (nonexistent) +++ head/x11/wofi/files/patch-glib-2.56 (revision 528997) @@ -0,0 +1,44 @@ +Partially revert https://hg.sr.ht/~scoopta/wofi/rev/6343e02e2478 until +devel/glib20 is updated to 2.60 or later. + +ld: error: undefined symbol: g_app_info_launch_uris_async +>>> referenced by drun.c +>>> wofi@exe/modes_drun.c.o:(wofi_drun_exec) + +ld: error: undefined symbol: g_app_info_launch_uris_finish +>>> referenced by drun.c +>>> wofi@exe/modes_drun.c.o:(launch_done) + +--- modes/drun.c.orig 2020-03-10 05:37:36 UTC ++++ modes/drun.c +@@ -315,6 +315,7 @@ struct widget* wofi_drun_get_widget(void) { + return NULL; + } + ++#if GLIB_CHECK_VERSION(2, 60, 0) + static void launch_done(GObject* obj, GAsyncResult* result, gpointer data) { + GError* err = NULL; + if(g_app_info_launch_uris_finish(G_APP_INFO(obj), result, &err)) { +@@ -329,6 +330,7 @@ static void launch_done(GObject* obj, GAsyncResult* re + } + exit(1); + } ++#endif + + void wofi_drun_exec(const gchar* cmd) { + GDesktopAppInfo* info = g_desktop_app_info_new_from_filename(cmd); +@@ -338,7 +340,14 @@ void wofi_drun_exec(const gchar* cmd) { + printf("%s\n", g_app_info_get_commandline(G_APP_INFO(info))); + exit(0); + } else { ++#if GLIB_CHECK_VERSION(2, 60, 0) + g_app_info_launch_uris_async(G_APP_INFO(info), NULL, NULL, NULL, launch_done, (gchar*) cmd); ++#else ++ const char* exec = g_app_info_get_executable(G_APP_INFO(info)); ++ execlp(exec, exec, NULL); ++ fprintf(stderr, "%s cannot be executed\n", exec); ++ exit(errno); ++#endif + } + } else if(strrchr(cmd, ' ') != NULL) { + char* space = strrchr(cmd, ' '); Property changes on: head/x11/wofi/files/patch-glib-2.56 ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11/wofi/pkg-descr =================================================================== --- head/x11/wofi/pkg-descr (nonexistent) +++ head/x11/wofi/pkg-descr (revision 528997) @@ -0,0 +1,4 @@ +Wofi is a launcher/menu program for wlroots-based Wayland compositors +such as Sway. + +WWW: https://hg.sr.ht/~scoopta/wofi Property changes on: head/x11/wofi/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11/wofi/pkg-plist =================================================================== --- head/x11/wofi/pkg-plist (nonexistent) +++ head/x11/wofi/pkg-plist (revision 528997) @@ -0,0 +1,15 @@ +bin/wofi +include/wofi-1/config.h +include/wofi-1/map.h +include/wofi-1/utils.h +include/wofi-1/wofi_api.h +libdata/pkgconfig/wofi.pc +man/man1/wofi.1.gz +man/man3/wofi-api.3.gz +man/man3/wofi-config.3.gz +man/man3/wofi-map.3.gz +man/man3/wofi-utils.3.gz +man/man3/wofi.3.gz +man/man5/wofi.5.gz +man/man7/wofi-keys.7.gz +man/man7/wofi.7.gz Property changes on: head/x11/wofi/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property