From nobody Sun Dec 26 14:27:36 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E95B0190DBED; Sun, 26 Dec 2021 14:27:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JMNRr4mYTz4glh; Sun, 26 Dec 2021 14:27:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7FAEC3B8A; Sun, 26 Dec 2021 14:27:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BQERa2O027561; Sun, 26 Dec 2021 14:27:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BQERatH027560; Sun, 26 Dec 2021 14:27:36 GMT (envelope-from git) Date: Sun, 26 Dec 2021 14:27:36 GMT Message-Id: <202112261427.1BQERatH027560@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: e1d0315ba98a - main - deskutils/notekit: new port had been added (+) List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e1d0315ba98ab1092f000827ec16db6bc89f2d2f Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640528856; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lPJkEmXphYrQYmXPry6I3POXJmrFyaQlTr/ugpSkbPE=; b=G9pa2zgW+bLqW/0sHy4o72La2Sfx98g8H4/aLInl/mPO00zD/Ltr06yRTKUgzVuCCEfx9w a+otvfL2wPYwsc6JN993mD32loGupgu26Wvj4TEgU23oqDDbhWkSOlJeBa3Cd81xLNwd69 onq5vPN0EKBQOiBdJNx3l6a0CYFFIjk+HVuEdtJTI9hjBv1DPhj5mk29r1ztUyX/yXfUY/ PGJ1ikDhxsS10vVTodwhbMKu8cH7C5bIjcy7AM99sRQcdFgq3eDr4uhxbemyl8qhEHH2OH wtM0ubJkDuAetRaoR99lnAz91yeO5zZfe8FK/fPSO92t1vlRR5qCkHXuS0XuUQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640528856; a=rsa-sha256; cv=none; b=vc6Fc2heXIOvJfZWlRzlJMmAK3x9sdMDt/g0nQGu7JmOEeFTQ40SxCnUfahE7YJQcZlzC9 1WbNsEw5IMFg4gWOHNbqzzR3J8EYlS4fw1Jic0N1tJesmRkHVewOdaAT/nFIcieoWSzKLO 6X9jBB+UmLXkfx+scKpbdbRZT0mcZWHJtbXSjBCWIXcAN/tFxa+lhXoN6rSa2PAbvV96Nu OzgeMTGbXFL1/8JSBk+CUE/BcUIufdPvZkS0mbjC+G2/kHRBigNtPmhCjT5UlRaYq7G5SN lC41njsl2d8N029QCIefpMdEQL4WDcqdia7FOjJ+quR23BIZl19YQCE9DmY7kQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=e1d0315ba98ab1092f000827ec16db6bc89f2d2f commit e1d0315ba98ab1092f000827ec16db6bc89f2d2f Author: Alexey Dokuchaev AuthorDate: 2021-12-26 14:26:56 +0000 Commit: Alexey Dokuchaev CommitDate: 2021-12-26 14:26:56 +0000 deskutils/notekit: new port had been added (+) 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 --- deskutils/Makefile | 1 + deskutils/notekit/Makefile | 26 ++++++++++++++++++++++++++ deskutils/notekit/distinfo | 3 +++ deskutils/notekit/files/patch-main.cpp | 17 +++++++++++++++++ deskutils/notekit/pkg-descr | 6 ++++++ deskutils/notekit/pkg-plist | 30 ++++++++++++++++++++++++++++++ 6 files changed, 83 insertions(+) diff --git a/deskutils/Makefile b/deskutils/Makefile index 49d861b1b96a..e51aff7c6c66 100644 --- a/deskutils/Makefile +++ b/deskutils/Makefile @@ -179,6 +179,7 @@ SUBDIR += nautilus-sendto SUBDIR += nextcloudclient SUBDIR += note + SUBDIR += notekit SUBDIR += noti SUBDIR += notification-daemon SUBDIR += notify-osd 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