repo/gentoo:master commit in: x11-misc/zim/
"Bernard Cafarelli" <[email protected]>
| Newsgroups | gmane.linux.gentoo.cvs |
|---|---|
| Message-ID | <1786177127.b37df6c94d4269f6b108f57a9a385ef5745a69ee.voyageur@gentoo> |
commit: b37df6c94d4269f6b108f57a9a385ef5745a69ee
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 8 08:12:23 2026 +0000
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Sat Aug 8 08:18:47 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b37df6c9
x11-misc/zim: add 0.77.2
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>
x11-misc/zim/Manifest | 1 +
x11-misc/zim/zim-0.77.2.ebuild | 90 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 91 insertions(+)
diff --git a/x11-misc/zim/Manifest b/x11-misc/zim/Manifest
index feb947108e2c..13dd8a68c008 100644
--- a/x11-misc/zim/Manifest
+++ b/x11-misc/zim/Manifest
@@ -1,3 +1,4 @@
DIST zim-0.76.3.tar.gz 3408993 BLAKE2B 30c88a522dfaa4336d30ce0fede279817d71dd0a85081b9832ddd16b5fdb0def771d1bada02a66c4c639b8950723ac6894856b7ba6ba8184101d2e52c54540a3 SHA512 10386d9c37d32c2ec9bcfa58fd35779f251bb3f3dd0d0512b63779d66ecb4d1722d800bf9f5b5301d30781ae31bf7534e8e5131bd7ec74d92046b94dcff4289b
DIST zim-0.77.0.tar.gz 3501728 BLAKE2B a8f3880df5583811e1ac208dca0f04bb2b65b90d8b76bdbd8755e96656d44a685328ba64eeb79a10db1cfc6dd8ae47c8747d11484f90d34844f6830013b3e393 SHA512 c29c34401f2fc46516d135e083c0a22ff626f0e7ceadccefb4d56ee3a872d76b4c6a00f13a22640f5bc726a039b2b1937df7a25b93403a27667ab277809fba82
DIST zim-0.77.1.tar.gz 3504186 BLAKE2B c26c937584fac2af4de9d036497420c39e34c3e213d5745c44a89f0b17cea8ea86eb178702a6331cd2915cf375870f299f3ce1150bfe8240ba75847d84b0028f SHA512 3c1506da5984a46d553e9f92dde59d410cfbf9c8709230862dc54b5161326ac8637f761972c041bb539d3f4ab3858e5d7c608f9f4636ed177931312c82847135
+DIST zim-0.77.2.tar.gz 3506933 BLAKE2B c47ad18ec1e3af6cc688ebfd77b825bb2e041fc0cb5129e0ffbfadb7f4e2f4d44fa4f6d98d2106e68afaba844e1aa63f699170fb9e5ab1e955253799fc33006d SHA512 5f0464ec7d37cc535880249c526460ea77cc597605ff3fd0f4e2140edf6b088136d22b63ad74e48a26a436990b88eaee8b63a48555982adc5b2da7f6a1777135
diff --git a/x11-misc/zim/zim-0.77.2.ebuild b/x11-misc/zim/zim-0.77.2.ebuild
new file mode 100644
index 000000000000..dc34d388ef0b
--- /dev/null
+++ b/x11-misc/zim/zim-0.77.2.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..15} )
+PYTHON_REQ_USE="sqlite"
+DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_SINGLE_IMPL=1
+VIRTUALX_REQUIRED=test
+inherit distutils-r1 optfeature virtualx xdg
+
+DESCRIPTION="A desktop wiki"
+HOMEPAGE="
+ https://zim-wiki.org/
+ https://github.com/zim-desktop-wiki/zim-desktop-wiki
+"
+SRC_URI="https://github.com/${PN}-desktop-wiki/${PN}-desktop-wiki/archive/${PV/_/-}.tar.gz -> ${P}.tar.gz"
+S=${WORKDIR}/${PN}-desktop-wiki-${PV/_/-}
+
+LICENSE="BSD GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~riscv ~x86"
+IUSE="ubuntu-mono"
+
+RDEPEND="
+ $(python_gen_cond_dep '
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ dev-python/pyxdg[${PYTHON_USEDEP}]
+ ')
+ x11-libs/gtk+:3[introspection]
+ x11-misc/xdg-utils
+"
+DEPEND="${RDEPEND}"
+
+DOCS=( CHANGELOG.md CONTRIBUTING.md PLUGIN_WRITING.md README.md )
+
+python_prepare_all() {
+ if ! use ubuntu-mono; then
+ PATCHES+=( "${FILESDIR}"/${PN}-0.60-remove-ubuntu-theme.patch )
+ fi
+
+ if [[ ${LINGUAS} ]]; then
+ local lingua
+ for lingua in translations/*.po; do
+ lingua=${lingua/.po}
+ lingua=${lingua/translations\/}
+ has ${lingua} ${LINGUAS} || \
+ { rm translations/${lingua}.po || die; }
+ done
+ fi
+
+ distutils-r1_python_prepare_all
+ export XDG_RUNTIME_DIR=fakethis
+}
+
+python_compile() {
+ sed -e "s#./build#${BUILD_DIR}/build*#" -i setup.py || die
+
+ distutils-r1_python_compile
+}
+
+python_test() {
+ if has_version dev-vcs/git; then
+ git config --global user.email "[email protected]" || die
+ git config --global user.name "GitExample" || die
+ fi
+
+ virtx ./test.py
+}
+
+src_install() {
+ distutils-r1_src_install
+
+ insinto /usr/share/icons
+ doins -r xdg/hicolor
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+
+ optfeature "Spell checker" app-text/gtkspell[introspection]
+ optfeature "GNU R Plot Editor" dev-lang/R
+ optfeature "Version control Bazaar support" dev-vcs/breezy
+ optfeature "Diagram Editor" media-gfx/graphviz
+ optfeature "Insert Screenshot" "media-gfx/imagemagick media-gfx/scrot"
+ optfeature "Score Editor" media-sound/lilypond
+ optfeature "Gnuplot Editor" sci-visualization/gnuplot
+ optfeature "Equation Editor" virtual/latex-base app-text/dvipng
+}