diff --git a/deskutils/Makefile b/deskutils/Makefile index 49d861b1b96a..e51aff7c6c66 100644 --- a/deskutils/Makefile +++ b/deskutils/Makefile @@ -1,282 +1,283 @@ COMMENT = Things that used to be on the desktop before computers were invented SUBDIR += affiche SUBDIR += akonadi-calendar-tools SUBDIR += akonadi-import-wizard SUBDIR += akonadiconsole SUBDIR += akregator SUBDIR += alarm-clock-applet SUBDIR += anydesk SUBDIR += appwrapper SUBDIR += aspostit SUBDIR += ausweisapp2 SUBDIR += autocutsel SUBDIR += baobab SUBDIR += basket SUBDIR += belcard SUBDIR += bigyear SUBDIR += bijiben SUBDIR += birdtray SUBDIR += bitcollider SUBDIR += bookworm 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 += clipit SUBDIR += clipmenu SUBDIR += clipnotify SUBDIR += conkyforecast SUBDIR += coolreader SUBDIR += copyq SUBDIR += coregarage SUBDIR += countdown SUBDIR += dailystrips SUBDIR += deforaos-todo SUBDIR += dfshow SUBDIR += docear SUBDIR += dosage SUBDIR += dstask SUBDIR += easystroke SUBDIR += egroupware SUBDIR += elementary-calendar SUBDIR += fasd SUBDIR += fbreader SUBDIR += fet SUBDIR += fff SUBDIR += flameshot SUBDIR += foliate SUBDIR += freemind SUBDIR += freeplane 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-documents SUBDIR += gnome-font-viewer SUBDIR += gnome-initial-setup SUBDIR += gnome-maps SUBDIR += gnome-photos SUBDIR += gnome-pomodoro SUBDIR += gnome-screenshot SUBDIR += gnome-search-tool 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-system-log SUBDIR += gnome-todo SUBDIR += gnome-tweaks SUBDIR += gnome-utils SUBDIR += gnome-weather SUBDIR += gnote SUBDIR += gnustep-wrapper SUBDIR += go-for-it SUBDIR += goesimage SUBDIR += gpicker SUBDIR += grantlee-editor SUBDIR += grantleetheme SUBDIR += griffith SUBDIR += growl-for-linux SUBDIR += gsimplecal SUBDIR += gtimer SUBDIR += gucharmap SUBDIR += gworkspace SUBDIR += gworkspace-gwmetadata SUBDIR += gxmessage SUBDIR += gxneur SUBDIR += hebcal SUBDIR += helpviewer SUBDIR += horde-groupware SUBDIR += horde-kronolith SUBDIR += horde-mnemo SUBDIR += horde-nag SUBDIR += hot-babe SUBDIR += howm SUBDIR += hs-arbtt SUBDIR += ical SUBDIR += itinerary SUBDIR += jjclient SUBDIR += jlj SUBDIR += just SUBDIR += kaddressbook SUBDIR += kalarm SUBDIR += kalendar SUBDIR += kcharselect SUBDIR += kchmviewer SUBDIR += kdeconnect-kde SUBDIR += kdepim SUBDIR += kdepim-addons SUBDIR += kdepim-runtime SUBDIR += keditbookmarks SUBDIR += kfind SUBDIR += kmail SUBDIR += kmail-account-wizard SUBDIR += knotes SUBDIR += kongress SUBDIR += kontact SUBDIR += korganizer SUBDIR += kruler SUBDIR += ktimetracker SUBDIR += kuserfeedback SUBDIR += latte-dock SUBDIR += libcprime SUBDIR += libkdepim SUBDIR += libportal SUBDIR += ljclive SUBDIR += lookbook 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 += meteo SUBDIR += mindforger SUBDIR += moregroupware SUBDIR += mozo SUBDIR += myitcrm SUBDIR += nautilus-actions SUBDIR += nautilus-sendto SUBDIR += nextcloudclient SUBDIR += note + SUBDIR += notekit SUBDIR += noti SUBDIR += notification-daemon SUBDIR += notify-osd SUBDIR += osmo 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 += plan SUBDIR += plans SUBDIR += plasma5-milou SUBDIR += plasma5-sddm-kcm SUBDIR += plasma5-xdg-desktop-portal-kde SUBDIR += plopfolio SUBDIR += preferences SUBDIR += presage SUBDIR += projectlibre SUBDIR += puush SUBDIR += py-autokey SUBDIR += py-bugwarrior SUBDIR += py-khal SUBDIR += py-khard SUBDIR += py-paperless SUBDIR += py-py3status SUBDIR += py-pystash SUBDIR += py-send2trash SUBDIR += py-taskw SUBDIR += py-term-background SUBDIR += py-todoman SUBDIR += py-vdirsyncer SUBDIR += py-vobject SUBDIR += qlipper SUBDIR += qownnotes SUBDIR += qtfeedback SUBDIR += recoll SUBDIR += remind SUBDIR += rolo SUBDIR += rubrica SUBDIR += rubygem-shellplay SUBDIR += rubygem-taskjuggler SUBDIR += semantik SUBDIR += showdown SUBDIR += simpleagenda SUBDIR += sliderule SUBDIR += solanum SUBDIR += sowon SUBDIR += spice-gtk SUBDIR += synapse SUBDIR += syncthingtray SUBDIR += sysctlview SUBDIR += systempreferences SUBDIR += taskd SUBDIR += tasksh SUBDIR += taskwarrior SUBDIR += teapot SUBDIR += terminal-image-viewer SUBDIR += thinkingrock SUBDIR += timewarrior SUBDIR += todo SUBDIR += todour SUBDIR += toolboxkit SUBDIR += tpb SUBDIR += treeline SUBDIR += treesheets SUBDIR += ultralist SUBDIR += virt-manager SUBDIR += vit SUBDIR += when SUBDIR += wmpinboard SUBDIR += x026 SUBDIR += xcalendar SUBDIR += xchm SUBDIR += xdg-desktop-portal 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/notekit/Makefile b/deskutils/notekit/Makefile new file mode 100644 index 000000000000..34a4218939f7 --- /dev/null +++ b/deskutils/notekit/Makefile @@ -0,0 +1,26 @@ +# Created by: Alexey Dokuchaev + +PORTNAME= notekit +PORTVERSION= g20211222 +CATEGORIES= deskutils + +MAINTAINER= danfe@FreeBSD.org +COMMENT= Hierarchical markdown note-taking application + +LICENSE= GPLv3+ + +LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ + libharfbuzz.so:print/harfbuzz \ + libjsoncpp.so:devel/jsoncpp + +USES= cmake compiler:c++17-lang gnome pkgconfig +USE_GNOME= gdkpixbuf2 gtkmm30 gtksourceviewmm3 +USE_GITHUB= yes +GH_ACCOUNT= blackhole89 +GH_TAGNAME= 6d6278b + +post-patch: + @${REINPLACE_CMD} -e '/workaround for old jsoncpp/d' \ + ${WRKSRC}/mainwindow.cpp + +.include diff --git a/deskutils/notekit/distinfo b/deskutils/notekit/distinfo new file mode 100644 index 000000000000..7a74474559f3 --- /dev/null +++ b/deskutils/notekit/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1640187902 +SHA256 (blackhole89-notekit-g20211222-6d6278b_GH0.tar.gz) = 347a5a3a715b9e4dcd71a6040efd0e6ff6a7f456a76353910f64898734d1c6dd +SIZE (blackhole89-notekit-g20211222-6d6278b_GH0.tar.gz) = 1903961 diff --git a/deskutils/notekit/files/patch-main.cpp b/deskutils/notekit/files/patch-main.cpp new file mode 100644 index 000000000000..f3cbba9c9b17 --- /dev/null +++ b/deskutils/notekit/files/patch-main.cpp @@ -0,0 +1,17 @@ +--- main.cpp.orig 2021-12-22 15:45:02 UTC ++++ main.cpp +@@ -1,13 +1,12 @@ + #include "mainwindow.h" + #include + +-CMainWindow *mainwindow; +- + int main (int argc, char *argv[]) + { + Gsv::init(); + + Glib::RefPtr app = Gtk::Application::create(argc, argv, "com.github.blackhole89.notekit"); ++ CMainWindow *mainwindow; + + app->signal_activate().connect( [app,&mainwindow]() { + mainwindow=new CMainWindow(app); diff --git a/deskutils/notekit/pkg-descr b/deskutils/notekit/pkg-descr new file mode 100644 index 000000000000..18349d2b35cf --- /dev/null +++ b/deskutils/notekit/pkg-descr @@ -0,0 +1,6 @@ +This program is a structured note-taking application based on GTK v3. +Write notes in instantly-formatted Markdown, organise them in a tree +of folders that can be instantly navigated from within the program, +and add hand-drawn notes by mouse, touchscreen, or digitizer. + +WWW: https://github.com/blackhole89/notekit diff --git a/deskutils/notekit/pkg-plist b/deskutils/notekit/pkg-plist new file mode 100644 index 000000000000..9e6a612d8390 --- /dev/null +++ b/deskutils/notekit/pkg-plist @@ -0,0 +1,30 @@ +bin/notekit +%%DATADIR%%/data/default_config.json +%%DATADIR%%/data/fonts/Charter Bold Italic.otf +%%DATADIR%%/data/fonts/Charter Bold.otf +%%DATADIR%%/data/fonts/Charter Italic.otf +%%DATADIR%%/data/fonts/Charter Regular.otf +%%DATADIR%%/data/fonts/Charter license.txt +%%DATADIR%%/data/icons/hicolor/index.theme +%%DATADIR%%/data/icons/hicolor/scalable/emblems/eraser-tool-symbolic.svg +%%DATADIR%%/data/icons/hicolor/scalable/emblems/large-pen-symbolic.svg +%%DATADIR%%/data/icons/hicolor/scalable/emblems/medium-pen-symbolic.svg +%%DATADIR%%/data/icons/hicolor/scalable/emblems/pen-tool-symbolic.svg +%%DATADIR%%/data/icons/hicolor/scalable/emblems/pick-color-symbolic.svg +%%DATADIR%%/data/icons/hicolor/scalable/emblems/select-symbolic.svg +%%DATADIR%%/data/icons/hicolor/scalable/emblems/small-pen-symbolic.svg +%%DATADIR%%/data/icons/hicolor/scalable/emblems/text-symbolic.svg +%%DATADIR%%/data/preferences.glade +%%DATADIR%%/data/stylesheet.css +%%DATADIR%%/data/toolbar.glade +%%DATADIR%%/sourceview/classic.xml +%%DATADIR%%/sourceview/def.lang +%%DATADIR%%/sourceview/language.dtd +%%DATADIR%%/sourceview/language.rng +%%DATADIR%%/sourceview/language2.rng +%%DATADIR%%/sourceview/markdown-basic.lang +%%DATADIR%%/sourceview/markdown.lang +%%DATADIR%%/sourceview/markdown.lang.in +%%DATADIR%%/sourceview/markdownlisting.lang +%%DATADIR%%/sourceview/notekit.xml +%%DATADIR%%/sourceview/styles.rng