From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 00EB4158020 for ; Wed, 9 Nov 2022 16:27:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D7BBDE085B; Wed, 9 Nov 2022 16:27:58 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B23E1E085B for ; Wed, 9 Nov 2022 16:27:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 53BEE340E5F for ; Wed, 9 Nov 2022 16:27:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8A00D55B for ; Wed, 9 Nov 2022 16:27:55 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1668011271.2edd3aec83afec8ac125f1e3a28041976e43a80a.flow@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/cherrytree/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/cherrytree/Manifest app-text/cherrytree/cherrytree-0.99.51.ebuild app-text/cherrytree/metadata.xml X-VCS-Directories: app-text/cherrytree/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: 2edd3aec83afec8ac125f1e3a28041976e43a80a X-VCS-Branch: master Date: Wed, 9 Nov 2022 16:27:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e50105a7-40d7-4c8b-8a15-17f078254901 X-Archives-Hash: 718455e01937ef201be321c605e77e83 commit: 2edd3aec83afec8ac125f1e3a28041976e43a80a Author: Guillermo Joandet gmail com> AuthorDate: Mon Oct 3 14:14:53 2022 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Wed Nov 9 16:27:51 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2edd3aec app-text/cherrytree: Version bump to 0.99.51 Signed-off-by: Guillermo Joandet gmail.com> Closes: https://github.com/gentoo/gentoo/pull/27593 Signed-off-by: Florian Schmaus gentoo.org> app-text/cherrytree/Manifest | 1 + app-text/cherrytree/cherrytree-0.99.51.ebuild | 87 +++++++++++++++++++++++++++ app-text/cherrytree/metadata.xml | 9 ++- 3 files changed, 96 insertions(+), 1 deletion(-) diff --git a/app-text/cherrytree/Manifest b/app-text/cherrytree/Manifest index 8337beb3344f..cef193200d5b 100644 --- a/app-text/cherrytree/Manifest +++ b/app-text/cherrytree/Manifest @@ -1,3 +1,4 @@ DIST cherrytree-0.99.37.tar.gz 17983743 BLAKE2B 42e5464f4cba4364dbbdabe5daaf80517a62f3f4b2c1c3efa764e9b10dfae492bf335403d24a7a33d9b7c8cd55a0c55ad359ffca1f639fa7622e00a416defd60 SHA512 2413924d03c65dfad820bc2b1e345b7dd74b69d11a10ee0d333400936eb31368f53f2aee77a3dd708adb3d4b91578c0499766bca4c85537822e9c4b3d41c6800 DIST cherrytree_0.99.47.tar.xz 2457904 BLAKE2B 1072de8ed62757a873a258dc9ab1e9e186128b520e7f02e0a2cd8e7e0173232af7db85e3293efd21b577e51b6f5e55cca0cf35631e34279e32dc07836335b742 SHA512 2611be4c24a188793aa6785d96b33ec91c0957b30616352e1cb2cd12f296e39c29666d37a03016be6c934898bf6deb98af74c2c345d9c70f138f62ac6b10f023 DIST cherrytree_0.99.48.tar.xz 3474468 BLAKE2B b60cc2ffa4f5bd6e91e2a8b34811ad6977d46bdd02c7c1b2bfcdbf4df6107753a2390bc6a15daae8d5268af017ff52d217ab79ed5b4d5d107ef736257999b865 SHA512 eb4690bbc5865b9a0c7d0cb11341fe5ac17f11d417ad765b29784083a83f18c06a39b5b738838e3d57754de25adf1861ea4a6ad472e01a895e8fce0af0964926 +DIST cherrytree_0.99.51.tar.xz 4429456 BLAKE2B c4673e8c086882cb8be6b6d04cadb6353a82e3bb1c7062ab442992338154908a30a4cfd0b59101b7a88116846abcffaa213ddc37cd715df7eb133a333b881ae2 SHA512 98bcbfcb578970c9709f96926b0a9f5100ffe620453519e4292620fe9526c9134ac72f399703b045e4a433565d8a05e0f8fde126f48d458e7f9edb7b79ee34e6 diff --git a/app-text/cherrytree/cherrytree-0.99.51.ebuild b/app-text/cherrytree/cherrytree-0.99.51.ebuild new file mode 100644 index 000000000000..b9a3c9d99fa5 --- /dev/null +++ b/app-text/cherrytree/cherrytree-0.99.51.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) + +inherit cmake python-any-r1 xdg + +DESCRIPTION="A hierarchical note taking application (C++ version)" +HOMEPAGE="https://www.giuspen.com/cherrytree/" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/giuspen/cherrytree" + S="${WORKDIR}/${P}/future" +else + SRC_URI="https://github.com/giuspen/cherrytree/releases/download/${PV}/${P/-/_}.tar.xz" + S="${WORKDIR}"/${P/-/_} + + KEYWORDS="~amd64 ~x86" + # S="${WORKDIR}/${PN}-${COMMIT}/future" +fi + +# 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" +IUSE="nls test" + +# Has deps that aren't available in ::gentoo repo +RESTRICT="test" + +RDEPEND="app-i18n/uchardet + app-text/gspell:= + >=dev-cpp/glibmm-2.64.2:2 + dev-cpp/gtkmm:3.0 + dev-cpp/gtksourceviewmm:3.0 + dev-cpp/libxmlpp:2.6 + dev-cpp/pangomm:1.4 + dev-db/sqlite:3 + dev-libs/glib:2 + dev-libs/libfmt:= + dev-libs/fribidi + dev-libs/spdlog + net-misc/curl + x11-libs/cairo + x11-libs/gtk+:3 + x11-libs/pango + x11-libs/vte:2.91" +DEPEND="${PYTHON_DEPS} +${RDEPEND} +" +BDEPEND=" + virtual/pkgconfig + nls? ( + sys-devel/gettext + ) + test? ( dev-util/cpputest )" + +src_prepare() { + # disable compress man pages + sed -i -e \ + '/install(FILES/s|${MANFILE_FULL_GZ}|${CMAKE_SOURCE_DIR}/data/cherrytree.1|' \ + CMakeLists.txt || die + + if [[ ${PV} != *9999 ]]; then + sed -i \ + -e "/^set(CT_VERSION/s|\"\(.*\)\"|\"${PV}\"|" \ + CMakeLists.txt || die + fi + + # 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 + ) + + cmake_src_configure +} diff --git a/app-text/cherrytree/metadata.xml b/app-text/cherrytree/metadata.xml index 850e860f9c4d..99968430f90d 100644 --- a/app-text/cherrytree/metadata.xml +++ b/app-text/cherrytree/metadata.xml @@ -1,7 +1,14 @@ - + + gjoandet@gmail.com + Guillermo Joandet + + + proxy-maint@gentoo.org + Proxy Maintainers + giuspen/cherrytree