public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/cherrytree/
Date: Mon, 24 Mar 2025 05:58:54 +0000 (UTC)	[thread overview]
Message-ID: <1742795897.943192a0edaecd48ec93e95c549943aa9a4da649.sam@gentoo> (raw)

commit:     943192a0edaecd48ec93e95c549943aa9a4da649
Author:     Guillermo Joandet <gjoandet <AT> gmail <DOT> com>
AuthorDate: Sun Mar 23 23:48:03 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 24 05:58:17 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=943192a0

app-text/cherrytree: Bump to 1.4.0

Signed-off-by: Guillermo Joandet <gjoandet <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/41254
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-text/cherrytree/Manifest                |  1 +
 app-text/cherrytree/cherrytree-1.4.0.ebuild | 88 +++++++++++++++++++++++++++++
 2 files changed, 89 insertions(+)

diff --git a/app-text/cherrytree/Manifest b/app-text/cherrytree/Manifest
index a64e9fa01576..f3ca1691dbc4 100644
--- a/app-text/cherrytree/Manifest
+++ b/app-text/cherrytree/Manifest
@@ -1,2 +1,3 @@
 DIST cherrytree_1.2.0.tar.xz 4735884 BLAKE2B 47f2aef52bb1fea23be8f5db3d2ec9f4c6a596bb6136350098f870688e34e5662241f188f1c94331af2119b59546c95fbe8254bdbb187990b514f9d21fd76214 SHA512 729e8227eb1f0616e110153ac2139cc7019ed5e1a949c8be40fd2235ee5d2e0f0b1925c57d72c9b443852e5b80a50793e4e903b7df41da8e95a172210f7ec035
 DIST cherrytree_1.3.0.tar.xz 4749468 BLAKE2B 31c953e114f704316bca09f32e13cfeb7e1f0147ba3e5f9a72e07fa1c808577be926f18dc3aa868c912a369b0cbc28630bc54136fd98f9d4d3d63248b33ef3ee SHA512 e7b061aed33ad55c1fc7f7dd43b01db6c36ba414c32f996c86c9a64899e6d0cf7825637350c8dcf252d5495b8d956a675b34607854177d6f01615ad9d4953c78
+DIST cherrytree_1.4.0.tar.xz 3510072 BLAKE2B b4dd9108df61d76908296f8843102c14c046991a3879d260793c86e403d60a96af72fce73c3698a41c26b3e2455763eda4b59fc3b017b840e5717436a1135af7 SHA512 fd6cbeb2725890bc1ec706185ea6f66a4245092799a0e7d6e48c8722ec861341739a2f0acd0bf36a0a99fc19af61dfce36bb1eee808291a375ed2820cc1e2046

diff --git a/app-text/cherrytree/cherrytree-1.4.0.ebuild b/app-text/cherrytree/cherrytree-1.4.0.ebuild
new file mode 100644
index 000000000000..d2e8464e00c5
--- /dev/null
+++ b/app-text/cherrytree/cherrytree-1.4.0.ebuild
@@ -0,0 +1,88 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit cmake python-any-r1 virtualx xdg
+
+DESCRIPTION="A hierarchical note taking application (C++ version)"
+HOMEPAGE="https://www.giuspen.com/cherrytree/"
+
+SRC_URI="https://github.com/giuspen/${PN}/releases/download/v${PV}/${P/-/_}.tar.xz"
+S="${WORKDIR}"/${P/-/_}
+
+# GPL-3 — future/src/ct (CherryTree)
+# LGPL-2.1 — future/src/7za (7zip)
+# MIT — future/src/fmt (libfmt)
+LICENSE="GPL-3 LGPL-2.1 MIT"
+
+SLOT="0"
+
+KEYWORDS="~amd64 ~x86"
+
+IUSE="nls test"
+
+RDEPEND="app-i18n/uchardet
+	app-text/gspell:=
+	>=dev-cpp/glibmm-2.64.2:2
+	dev-cpp/gtkmm:3.0
+	x11-libs/gtksourceview:4
+	dev-cpp/libxmlpp:2.6
+	dev-cpp/pangomm:1.4
+	dev-db/sqlite:3
+	dev-libs/fribidi
+	dev-libs/glib:2
+	dev-libs/libfmt:=
+	dev-libs/libsigc++:2
+	dev-libs/libxml2:2
+	>=dev-libs/spdlog-1.5:=
+	>=x11-libs/vte-0.70.2:2.91
+	net-misc/curl
+	x11-libs/cairo[X]
+	x11-libs/gtk+:3[X]
+	x11-libs/pango[X]"
+
+DEPEND="${PYTHON_DEPS}
+	${RDEPEND}"
+
+BDEPEND="
+	virtual/pkgconfig
+	nls? ( sys-devel/gettext )
+	test? ( dev-cpp/gtest )"
+
+src_prepare() {
+	# disable compress man pages
+	sed -i -e \
+		'/install(FILES/s|${MANFILE_FULL_GZ}|${CMAKE_SOURCE_DIR}/data/cherrytree.1|' \
+		CMakeLists.txt || die
+
+	# python_fix_shebang .
+	cmake_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DPYTHON_EXEC="${PYTHON}"
+		-DUSE_NLS=$(usex nls)
+		-DBUILD_TESTING=$(usex test)
+		-DUSE_SHARED_FMT_SPDLOG=ON
+		-DUSE_SHARED_GTEST_GMOCK=$(usex test)
+	)
+
+	if use test; then
+		mycmakeargs+=(
+			-DAUTO_RUN_TESTING=OFF
+		)
+	fi
+
+	cmake_src_configure
+}
+
+src_test() {
+	# the export test suite fails if more than one job is used for testing, so
+	# we force it to a single job here, for more detail see
+	# https://github.com/giuspen/cherrytree/pull/2663
+	MAKEOPTS="${MAKEOPTS} -j1" virtx cmake_src_test
+}


             reply	other threads:[~2025-03-24  5:59 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-24  5:58 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-24  5:58 [gentoo-commits] repo/gentoo:master commit in: app-text/cherrytree/ Sam James
2025-03-19 23:57 Sam James
2025-03-15 13:48 Petr Vaněk
2025-03-11  9:02 Sam James
2025-02-27  5:33 Sam James
2024-11-14 21:21 Petr Vaněk
2024-11-14 21:21 Petr Vaněk
2024-11-14 21:21 Petr Vaněk
2024-09-18  3:25 Sam James
2024-09-18  3:25 Sam James
2024-07-07 21:11 Eli Schwartz
2024-07-07 21:11 Eli Schwartz
2024-06-29 14:11 Arthur Zamarin
2024-06-28  7:43 Joonas Niilola
2024-06-28  7:43 Joonas Niilola
2024-06-28  7:43 Joonas Niilola
2024-01-20 12:04 Sam James
2023-10-08 11:51 Pacho Ramos
2023-10-08 11:51 Pacho Ramos
2023-08-26 17:20 Arthur Zamarin
2023-07-26  3:13 Sam James
2023-03-11 21:23 Sam James
2023-03-11 21:23 Sam James
2023-03-11 17:04 Sam James
2022-12-21 23:09 Sam James
2022-12-21 23:09 Sam James
2022-12-21 23:09 Sam James
2022-12-19 14:49 Andreas Sturmlechner
2022-12-19 14:47 Andreas Sturmlechner
2022-11-09 16:27 Florian Schmaus
2022-07-18  0:26 Sam James
2022-05-03 18:38 Sam James
2022-04-17 16:10 Sam James
2021-05-24  7:39 Joonas Niilola
2021-05-24  7:39 Joonas Niilola
2021-05-24  7:39 Joonas Niilola
2021-05-24  7:39 Joonas Niilola
2021-05-24  7:39 Joonas Niilola
2021-05-23 19:04 Michał Górny
2021-04-19 10:31 Joonas Niilola
2021-04-06 21:17 Sam James
2021-02-16  2:12 Matt Turner
2020-05-23 17:59 Andreas Sturmlechner
2020-04-09  8:58 Joonas Niilola
2019-11-20  6:03 Joonas Niilola
2018-04-09  0:15 Aaron Bauman
2016-09-17 15:19 Pacho Ramos
2016-07-07 22:50 Austin English
2016-07-01  7:25 Patrice Clement
2016-07-01  7:25 Patrice Clement
2016-07-01  7:25 Patrice Clement
2016-05-29 15:30 Kristian Fiskerstrand
2016-04-20  9:14 Ian Delaney
2016-04-19 17:09 Ian Delaney
2016-04-19 14:00 Ian Delaney
2016-04-19 14:00 Ian Delaney
2016-04-19 14:00 Ian Delaney
2016-04-19 14:00 Ian Delaney
2016-04-15 19:10 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1742795897.943192a0edaecd48ec93e95c549943aa9a4da649.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox