Skip to content

Commit

Permalink
deskutils/cherrytree: readd previously expired and deleted port
Browse files Browse the repository at this point in the history
Earlier versions had been written in Python 2.x and were phased
out together with it.  The project had been later reimplemented
in C++/gtkmm and that's what this port now offers to its users.

WWW: https://www.giuspen.com/cherrytree/
  • Loading branch information
Alexey Dokuchaev authored and Alexey Dokuchaev committed Aug 29, 2023
1 parent 7909904 commit 4c41527
Show file tree
Hide file tree
Showing 7 changed files with 427 additions and 1 deletion.
1 change: 0 additions & 1 deletion MOVED
Expand Up @@ -3882,7 +3882,6 @@ cad/py-pycam||2020-03-01|Has expired: Old, uses EOLed python27
chinese/gimp-help-zh_CN||2020-03-01|Has expired: Broken
databases/emma||2020-03-01|Has expired: Old, uses EOLed python27
deskutils/anamnesis||2020-03-01|Has expired: Old, uses EOLed python27
deskutils/cherrytree||2020-03-01|Has expired: Old, uses EOLed python27
deskutils/gbirthday||2020-03-01|Has expired: Old, uses EOLed python27
deskutils/gtg||2020-03-01|Has expired: Old, uses EOLed python27
deskutils/nemo-extensions||2020-03-01|Has expired: Old, uses EOLed python27
Expand Down
1 change: 1 addition & 0 deletions deskutils/Makefile
Expand Up @@ -34,6 +34,7 @@
SUBDIR += cfiles
SUBDIR += charmtimetracker
SUBDIR += chart
SUBDIR += cherrytree
SUBDIR += clipit
SUBDIR += clipmenu
SUBDIR += clipnotify
Expand Down
39 changes: 39 additions & 0 deletions deskutils/cherrytree/Makefile
@@ -0,0 +1,39 @@
PORTNAME= cherrytree
PORTVERSION= 1.0.1
CATEGORIES= deskutils
MASTER_SITES= https://www.giuspen.com/software/
DISTNAME= ${PORTNAME}_${PORTVERSION}

MAINTAINER= danfe@FreeBSD.org
COMMENT= Advanced hierarchical note-taking application
WWW= https://www.giuspen.com/cherrytree/

LICENSE= GPLv3+

LIB_DEPENDS= libcurl.so:ftp/curl \
libenchant-2.so:textproc/enchant2 \
libfmt.so:devel/libfmt \
libfribidi.so:converters/fribidi \
libharfbuzz.so:print/harfbuzz \
libgspell-1.so:textproc/gspell \
libspdlog.so:devel/spdlog \
libuchardet.so:textproc/uchardet

USES= cmake compiler:c++17-lang desktop-file-utils gnome \
pkgconfig python:build sqlite tar:xz
USE_GNOME= gdkpixbuf2 gtkmm30 gtksourceviewmm3

CMAKE_ARGS= -DPYTHON_EXEC:FILEPATH=${PYTHON_CMD} \
-DBUILD_TESTING:BOOL=OFF

OPTIONS_DEFINE= NLS VTE
OPTIONS_SUB= yes

NLS_USES= gettext-tools
NLS_CMAKE_OFF= -DUSE_NLS:BOOL=OFF

VTE_DESC= Virtual terminal support
VTE_USE= GNOME=vte3
VTE_CMAKE_OFF= -DUSE_VTE:BOOL=OFF

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions deskutils/cherrytree/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1692978480
SHA256 (cherrytree_1.0.1.tar.xz) = 818f72d7693d7f103b59f1a5540d42f42249e51ced3bdbbb62ad9171efc298a0
SIZE (cherrytree_1.0.1.tar.xz) = 3682988
10 changes: 10 additions & 0 deletions deskutils/cherrytree/files/patch-CMakeLists.txt
@@ -0,0 +1,10 @@
--- CMakeLists.txt.orig 2023-08-19 18:32:34 UTC
+++ CMakeLists.txt
@@ -193,6 +193,7 @@ if(USE_VTE)
SYSTEM ${VTE_INCLUDE_DIRS}
)
endif()
+link_directories(${GTKMM_LIBRARY_DIRS})

add_subdirectory(src/ct)

3 changes: 3 additions & 0 deletions deskutils/cherrytree/pkg-descr
@@ -0,0 +1,3 @@
A hierarchical note taking application, featuring rich text and syntax
highlighting, storing data in either a single file (XML or SQLite) or
multiple files and directories.
371 changes: 371 additions & 0 deletions deskutils/cherrytree/pkg-plist

Large diffs are not rendered by default.

0 comments on commit 4c41527

Please sign in to comment.