diff --git a/deskutils/Makefile b/deskutils/Makefile index d65da652af71..5b717ae57834 100644 --- a/deskutils/Makefile +++ b/deskutils/Makefile @@ -1,319 +1,320 @@ COMMENT = Things that used to be on the desktop before computers were invented SUBDIR += R-cran-exams SUBDIR += affiche SUBDIR += akonadi-calendar-tools SUBDIR += akonadi-import-wizard SUBDIR += akonadiconsole SUBDIR += akregator SUBDIR += alarm-clock-applet SUBDIR += anydesk SUBDIR += appwrapper SUBDIR += arttime SUBDIR += ausweisapp2 SUBDIR += autocutsel SUBDIR += baobab SUBDIR += basket SUBDIR += belcard SUBDIR += bigyear SUBDIR += bijiben SUBDIR += birdtray SUBDIR += bookworm SUBDIR += budgie-desktop-view SUBDIR += cairo-dock SUBDIR += cairo-dock-plugins SUBDIR += caja-extensions SUBDIR += cal SUBDIR += calcurse SUBDIR += calendar SUBDIR += calendar-data SUBDIR += calibre SUBDIR += calindori SUBDIR += cartotheque SUBDIR += cfiles SUBDIR += charmtimetracker SUBDIR += chart SUBDIR += cherrytree SUBDIR += clipit SUBDIR += clipmenu SUBDIR += clipnotify SUBDIR += conkyforecast SUBDIR += coolreader SUBDIR += copyq SUBDIR += coregarage SUBDIR += countdown SUBDIR += dailystrips SUBDIR += deforaos-todo SUBDIR += dfshow SUBDIR += dmenu-wayland SUBDIR += docear SUBDIR += dosage SUBDIR += dstask SUBDIR += easystroke SUBDIR += elementary-calendar SUBDIR += fasd SUBDIR += fbreader SUBDIR += feathernotes SUBDIR += fet SUBDIR += fff SUBDIR += flameshot SUBDIR += foliate SUBDIR += freebsd-update-notify SUBDIR += freemind SUBDIR += freeplane + SUBDIR += fyi SUBDIR += ganttproject SUBDIR += gcal SUBDIR += gcalcli SUBDIR += genius SUBDIR += glabels SUBDIR += gnome-calendar SUBDIR += gnome-characters SUBDIR += gnome-clocks SUBDIR += gnome-contacts SUBDIR += gnome-dictionary SUBDIR += gnome-font-viewer SUBDIR += gnome-initial-setup SUBDIR += gnome-maps SUBDIR += gnome-photos SUBDIR += gnome-planner SUBDIR += gnome-pomodoro SUBDIR += gnome-screenshot SUBDIR += gnome-shell-extension-audio-output-switcher SUBDIR += gnome-shell-extension-coverflow SUBDIR += gnome-shell-extension-dashtodock SUBDIR += gnome-shell-extension-dashtopanel SUBDIR += gnome-shell-extension-filesmenu SUBDIR += gnome-shell-extension-hidetopbar SUBDIR += gnome-shell-extension-lockkeys SUBDIR += gnome-shell-extension-mediaplayer SUBDIR += gnome-shell-extension-openweather SUBDIR += gnome-shell-extension-panel-osd SUBDIR += gnome-shell-extension-recent-items SUBDIR += gnome-shell-extension-trash SUBDIR += gnome-shell-extension-weather SUBDIR += gnome-shell-extension-windowoverlay-icons SUBDIR += gnome-shell-extra-extensions SUBDIR += gnome-sound-recorder SUBDIR += gnome-todo SUBDIR += gnome-tweaks SUBDIR += gnome-utils SUBDIR += gnome-weather SUBDIR += gnote SUBDIR += gnotime SUBDIR += gnustep-wrapper SUBDIR += go-for-it SUBDIR += goesimage SUBDIR += gpicker SUBDIR += grantlee-editor SUBDIR += grantleetheme SUBDIR += growl-for-linux SUBDIR += gsimplecal SUBDIR += gtimer SUBDIR += gucharmap SUBDIR += gworkspace SUBDIR += gworkspace-gwmetadata SUBDIR += gxmessage SUBDIR += gxneur SUBDIR += havoc SUBDIR += health SUBDIR += hebcal SUBDIR += helpviewer SUBDIR += hot-babe SUBDIR += howm SUBDIR += hs-arbtt SUBDIR += i3lock SUBDIR += i3status SUBDIR += ical SUBDIR += iconbrowser SUBDIR += itinerary SUBDIR += jjclient SUBDIR += jlj SUBDIR += jot SUBDIR += just SUBDIR += kaddressbook SUBDIR += kalarm SUBDIR += kcharselect SUBDIR += kchmviewer SUBDIR += kdeconnect-kde SUBDIR += kdepim SUBDIR += kdepim-addons SUBDIR += kdepim-runtime SUBDIR += keditbookmarks SUBDIR += keep-presence SUBDIR += kf6-kstatusnotifieritem SUBDIR += kfind SUBDIR += kmail SUBDIR += kmail-account-wizard SUBDIR += knotes SUBDIR += kodaskanna SUBDIR += kongress SUBDIR += kontact SUBDIR += korganizer SUBDIR += kronometer SUBDIR += kruler SUBDIR += ktimetracker SUBDIR += kuserfeedback SUBDIR += latte-dock SUBDIR += lazycli SUBDIR += libcprime SUBDIR += libkdepim SUBDIR += libportal SUBDIR += libportal-gtk3 SUBDIR += libportal-gtk4 SUBDIR += libportal-qt5 SUBDIR += ljclive SUBDIR += lumina-archiver SUBDIR += lumina-calculator SUBDIR += lumina-fileinfo SUBDIR += lumina-fm SUBDIR += lumina-mediaplayer SUBDIR += lumina-pdf SUBDIR += lumina-photo SUBDIR += lumina-screenshot SUBDIR += lumina-textedit SUBDIR += lxqt-notificationd SUBDIR += maliit-framework SUBDIR += maliit-keyboard SUBDIR += mate-indicator-applet SUBDIR += mate-notification-daemon SUBDIR += mate-utils SUBDIR += mbox-importer SUBDIR += mencal SUBDIR += menumaker SUBDIR += merkuro SUBDIR += meteo SUBDIR += mindforger SUBDIR += moregroupware SUBDIR += mozo SUBDIR += mytetra SUBDIR += nanonote SUBDIR += nautilus-sendto SUBDIR += nextcloudclient SUBDIR += normcap SUBDIR += note SUBDIR += notekit SUBDIR += notes SUBDIR += noti SUBDIR += notification-daemon SUBDIR += notify-osd SUBDIR += orage SUBDIR += owncloudclient SUBDIR += p5-Data-ICal SUBDIR += p5-Data-ICal-DateTime SUBDIR += p5-Goo SUBDIR += pal SUBDIR += parcellite SUBDIR += peaclock SUBDIR += pet SUBDIR += phpicalendar SUBDIR += pim-data-exporter SUBDIR += pim-sieve-editor SUBDIR += pinot SUBDIR += pipecolor SUBDIR += plan SUBDIR += plans SUBDIR += plasma5-milou SUBDIR += plasma5-sddm-kcm SUBDIR += plasma5-xdg-desktop-portal-kde SUBDIR += plasma6-milou SUBDIR += plasma6-sddm-kcm SUBDIR += plasma6-xdg-desktop-portal-kde SUBDIR += plopfolio SUBDIR += preferences SUBDIR += presage SUBDIR += projectlibre SUBDIR += pueue SUBDIR += puush SUBDIR += py-autokey SUBDIR += py-bugwarrior SUBDIR += py-i3-gnome-pomodoro SUBDIR += py-khal SUBDIR += py-khard SUBDIR += py-paperless SUBDIR += py-paperless-ngx SUBDIR += py-py3status SUBDIR += py-pystash SUBDIR += py-send2trash SUBDIR += py-taskw SUBDIR += py-term-background SUBDIR += py-todoman SUBDIR += py-trash-cli SUBDIR += py-vdirsyncer SUBDIR += py-vobject SUBDIR += py-vorta SUBDIR += qlipper SUBDIR += qmediamanager SUBDIR += qownnotes SUBDIR += qtfeedback SUBDIR += recoll SUBDIR += rednotebook SUBDIR += remind SUBDIR += rolo SUBDIR += rubygem-shellplay SUBDIR += rubygem-taskjuggler SUBDIR += rwpspread SUBDIR += semantik SUBDIR += showdown SUBDIR += sigi SUBDIR += simpleagenda SUBDIR += skim SUBDIR += sliderule SUBDIR += solanum SUBDIR += sowon SUBDIR += spacefm SUBDIR += spice-gtk SUBDIR += subsurface SUBDIR += synapse SUBDIR += syncthingtray SUBDIR += sysctlview SUBDIR += systempreferences SUBDIR += taskd SUBDIR += tasksh SUBDIR += taskwarrior SUBDIR += taskwarrior-tui SUBDIR += teapot SUBDIR += terminal-image-viewer SUBDIR += thinkingrock SUBDIR += thokr SUBDIR += timewarrior SUBDIR += todo SUBDIR += todour SUBDIR += toolboxkit SUBDIR += tpb SUBDIR += treeline SUBDIR += treesheets SUBDIR += ultralist SUBDIR += virt-manager SUBDIR += vit SUBDIR += vnote SUBDIR += vym SUBDIR += walld SUBDIR += when SUBDIR += wmpinboard SUBDIR += x026 SUBDIR += xannotate SUBDIR += xcalendar SUBDIR += xcbautolock SUBDIR += xchm SUBDIR += xdg-desktop-portal SUBDIR += xdg-desktop-portal-lxqt SUBDIR += xfce4-generic-slider SUBDIR += xfce4-notes-plugin SUBDIR += xfce4-notifyd SUBDIR += xfce4-tumbler SUBDIR += xfce4-volumed-pulse SUBDIR += xfce4-xkb-plugin SUBDIR += xmdiary SUBDIR += xneur SUBDIR += xpad SUBDIR += xpad3 SUBDIR += xpostit SUBDIR += xpostitPlus SUBDIR += xwrits SUBDIR += ydotool SUBDIR += zanshin SUBDIR += zim SUBDIR += znotes SUBDIR += zorro .include diff --git a/deskutils/fyi/Makefile b/deskutils/fyi/Makefile new file mode 100644 index 000000000000..adc4bd000a06 --- /dev/null +++ b/deskutils/fyi/Makefile @@ -0,0 +1,23 @@ +PORTNAME= fyi +DISTVERSION= 1.0.3 +CATEGORIES= deskutils +MASTER_SITES= https://codeberg.org/dnkl/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ + +MAINTAINER= bapt@FreeBSD.org +COMMENT= Command line utility to send desktop notifications +WWW= https://codeberg.org/dnkl/fyi + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libdbus-1.so:devel/dbus + +USES= meson +WRKSRC= ${WRKDIR}/${PORTNAME} + +OPTIONS_DEFINE= DOCS + +DOCS_BUILD_DEPENDS= scdoc:textproc/scdoc +DOCS_MESON_ENABLED= docs + +.include diff --git a/deskutils/fyi/distinfo b/deskutils/fyi/distinfo new file mode 100644 index 000000000000..da7b073b7ef1 --- /dev/null +++ b/deskutils/fyi/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1724070508 +SHA256 (fyi-1.0.3.tar.gz) = 39e563fc7db59608ffe8f34c96c04dbdce707ba4a8a97ed3300f03f50581ba66 +SIZE (fyi-1.0.3.tar.gz) = 13558 diff --git a/deskutils/fyi/files/patch-main.c b/deskutils/fyi/files/patch-main.c new file mode 100644 index 000000000000..7c294f853988 --- /dev/null +++ b/deskutils/fyi/files/patch-main.c @@ -0,0 +1,20 @@ +--- main.c.orig 2024-08-09 08:36:50 UTC ++++ main.c +@@ -14,7 +14,7 @@ + + #include + +-#include ++#include + + #include "version.h" + +@@ -365,7 +365,7 @@ main(int argc, char *const *argv) + }; + + const char *progname = argv[0]; +- const char *app_id = program_invocation_name; ++ const char *app_id = progname; + const char *icon = NULL; + const char *image_data_file = NULL; + const char *category = NULL; diff --git a/deskutils/fyi/pkg-descr b/deskutils/fyi/pkg-descr new file mode 100644 index 000000000000..9b081632bbb9 --- /dev/null +++ b/deskutils/fyi/pkg-descr @@ -0,0 +1,16 @@ +FYI (for your information) is a command line utility to send desktop +notifications to the user via a notification daemon implementing XDG desktop +notifications. + +It is a almost a notify-send clone, with the following differences: + + * notify-send does not implement --close. + * notify-send does not expose activation tokens (needed for window + focus/activation) in any meaningful way. It prints it as a debug message when + G_MESSAGES_DEBUG=all; fyi prints it when you use --print-token. + * fyi has consistent syntax in its --action and --hintoptions. + * fyi can print the reason a notification was closed, with --print-reason. + * fyi can query the notification daemon for its name and version information. + * fyi can query the notification daemon for its capabilities. + * fyi has shell completions (bash and fish). + * fyi has a single run-time dependency: dbus. diff --git a/deskutils/fyi/pkg-plist b/deskutils/fyi/pkg-plist new file mode 100644 index 000000000000..542ad1e99053 --- /dev/null +++ b/deskutils/fyi/pkg-plist @@ -0,0 +1,7 @@ +bin/fyi +share/bash-completion/completions/fyi +%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG.md +%%PORTDOCS%%%%DOCSDIR%%/LICENSE +%%PORTDOCS%%%%DOCSDIR%%/README.md +share/fish/vendor_completions.d/fyi.fish +share/man/man1/fyi.1.gz