public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/sigil/
Date: Sat, 17 Aug 2024 18:51:57 +0000 (UTC)	[thread overview]
Message-ID: <1723920574.7afd98ff9e29aef8151365087f3f246e90bf72b5.arthurzam@gentoo> (raw)

commit:     7afd98ff9e29aef8151365087f3f246e90bf72b5
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 17 18:49:34 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Aug 17 18:49:34 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7afd98ff

app-text/sigil: add 2.3.0,  py3.13, add system-mathjax, drop qt5

I've returned systemd-mathjax, now that we have stable v3 version of
it. It worked locally for me, but just in case it break for someone
something, I'll leave it as use flag and not forced unbundle.

This version also drops support for qt5 building, so was also
dropped.

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 app-text/sigil/Manifest           |  2 +
 app-text/sigil/metadata.xml       |  1 +
 app-text/sigil/sigil-2.3.0.ebuild | 86 +++++++++++++++++++++++++++++++++++++++
 3 files changed, 89 insertions(+)

diff --git a/app-text/sigil/Manifest b/app-text/sigil/Manifest
index b71d23776478..05b7e414b68f 100644
--- a/app-text/sigil/Manifest
+++ b/app-text/sigil/Manifest
@@ -1,2 +1,4 @@
 DIST Sigil_User_Guide_2022.05.17.epub 8894634 BLAKE2B 8a7c5b5add54d87dfe791a0dbbc0c6cd37ae2eb2ff77f46ae36643785fb714d9fbc0fe470d024f7112be2933ca4fb57a4bfdfd340083be15fffca69296640ea9 SHA512 bac3f55d28d02f53c8fdac51333194e0f27c6669876360a6d0244b1e2683dae0e7046977fab6e75dba7170c8aca3a7539f3d6cddab3ddc3e45985930c455968a
+DIST Sigil_User_Guide_2024.08.15.epub 12641984 BLAKE2B feaa8a4f6b64786d5cbf494a61c8726a5dd3e169ca8902348e2fee9f890ab7496b5ad018d49d6cecd65cb3d3d4a9b4a6bda019ac52c324fa92fad3e7b5dbc680 SHA512 10199c037a57f4b9ed913a8c726a58e376dcd34300a98cdd4cf934fd3a2f9a26d2f92bd85131af7ee1084824d7b082f7becdec9b0731a62f9cde712bfada5a09
 DIST sigil-2.2.1.tar.gz 26131954 BLAKE2B b467d33a1e98733d7bf051cc152a5e8980af83c0992c4ca755d5dd666d5ea753b51d2642b6027a8c52e86077f3a92e999867cb774f619f729df3c51424fa3795 SHA512 a0f7e0529286e9d5020a97c6179791a1312df93cbbca4f5966dea40517eb9ab8979dd7048fe54f3cc821ef165ddf8a5bcb2ca6ffdde1b51196f6d2a7376162f0
+DIST sigil-2.3.0.tar.gz 17480782 BLAKE2B abcb5eac75ec56e9bc83a50175e6e9dc8a494aec0a8aca1585503a5a5727557bef9039d1b457f8e03ef00a8baf1bcb9fae29a6f720483ee30fa3bace777e7066 SHA512 1a12022f7af26e4713083c0c84b07c4ebe2825667391f8d47cd5984e69547daad58fe3bdf7a40c3b4f1aa4c4037a548c011833a9dd8754c1c914555548a0ca8f

diff --git a/app-text/sigil/metadata.xml b/app-text/sigil/metadata.xml
index 4daa9a331609..16a802d7daa4 100644
--- a/app-text/sigil/metadata.xml
+++ b/app-text/sigil/metadata.xml
@@ -7,6 +7,7 @@
 	</maintainer>
 	<use>
 		<flag name="plugins">Installed needed Python packages for using Sigil plugins</flag>
+		<flag name="system-mathjax">Use the system-wide <pkg>dev-libs/mathjax</pkg> instead of bundled</flag>
 	</use>
 	<upstream>
 		<remote-id type="github">Sigil-Ebook/Sigil</remote-id>

diff --git a/app-text/sigil/sigil-2.3.0.ebuild b/app-text/sigil/sigil-2.3.0.ebuild
new file mode 100644
index 000000000000..cb9aa8b5f970
--- /dev/null
+++ b/app-text/sigil/sigil-2.3.0.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit xdg cmake python-single-r1
+
+DOC_VERSION="2024.08.15"
+DOC_FILE="Sigil_User_Guide_${DOC_VERSION}.epub"
+
+DESCRIPTION="Multi-platform WYSIWYG ebook editor for ePub format"
+HOMEPAGE="https://sigil-ebook.com/ https://github.com/Sigil-Ebook/Sigil"
+SRC_URI="https://github.com/Sigil-Ebook/Sigil/archive/${PV}.tar.gz -> ${P}.tar.gz
+	doc? ( https://github.com/Sigil-Ebook/sigil-user-guide/releases/download/${DOC_VERSION}/${DOC_FILE} )"
+S=${WORKDIR}/${P^}
+
+LICENSE="GPL-3+ Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc +plugins +system-mathjax"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+	${PYTHON_DEPS}
+	app-text/hunspell:=
+	dev-libs/libpcre2:=[pcre16]
+	dev-qt/qtbase:6[concurrent,cups,network,widgets,xml]
+	dev-qt/qtwebengine:6[widgets]
+	dev-qt/qtsvg:6
+	sys-libs/zlib[minizip]
+	$(python_gen_cond_dep '
+		dev-python/css-parser[${PYTHON_USEDEP}]
+		dev-python/dulwich[${PYTHON_USEDEP}]
+		dev-python/lxml[${PYTHON_USEDEP}]
+	')
+	plugins? (
+		$(python_gen_cond_dep '
+			dev-python/chardet[${PYTHON_USEDEP}]
+			dev-python/cssselect[${PYTHON_USEDEP}]
+			dev-python/html5lib[${PYTHON_USEDEP}]
+			dev-python/pillow[${PYTHON_USEDEP}]
+			dev-python/regex[${PYTHON_USEDEP}]
+			dev-python/PyQt6[${PYTHON_USEDEP}]
+			dev-python/PyQt6-WebEngine[${PYTHON_USEDEP}]
+		')
+		$(python_gen_impl_dep 'tk')
+	)
+	system-mathjax? ( >=dev-libs/mathjax-3 )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	${PYTHON_DEPS}
+	virtual/pkgconfig
+	dev-qt/qttools:6[linguist]
+"
+
+DOCS=( ChangeLog.txt README.md )
+
+src_configure() {
+	local mycmakeargs=(
+		-DTRY_NEWER_FINDPYTHON3=1
+		-DPython3_INCLUDE_DIR="$(python_get_includedir)"
+		-DPython3_LIBRARY="$(python_get_library_path)"
+		-DPython3_EXECUTABLE="${PYTHON}"
+
+		-DINSTALL_BUNDLED_DICTS=0
+		-DSYSTEM_LIBS_REQUIRED=1
+		-DUSE_SYSTEM_LIBS=1
+	)
+	use system-mathjax && mycmakeargs+=( -DMATHJAX3_DIR="${EPREFIX}"/usr/share/mathjax )
+
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+	python_fix_shebang "${ED}"/usr/share/sigil/
+	python_optimize "${ED}"/usr/share/sigil/
+
+	if use doc; then
+		dodoc "${DISTDIR}/${DOC_FILE}"
+		docompress -x /usr/share/doc/${PF}/${DOC_FILE}
+	fi
+}


             reply	other threads:[~2024-08-17 18:52 UTC|newest]

Thread overview: 118+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-17 18:51 Arthur Zamarin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-09-13 17:49 [gentoo-commits] repo/gentoo:master commit in: app-text/sigil/ Arthur Zamarin
2025-08-30  6:48 Arthur Zamarin
2025-08-18 14:08 Sam James
2025-07-26  2:04 Sam James
2025-07-18  6:40 Arthur Zamarin
2025-07-04  9:43 Arthur Zamarin
2025-06-23 14:47 Ionen Wolkens
2025-06-05 18:25 Arthur Zamarin
2025-05-22 19:40 Arthur Zamarin
2025-05-22 19:40 Arthur Zamarin
2025-04-10 18:35 Sam James
2025-02-01 16:02 Arthur Zamarin
2025-01-23 17:09 Arthur Zamarin
2025-01-19 13:42 Sam James
2025-01-17  9:13 Arthur Zamarin
2024-12-28 11:58 Arthur Zamarin
2024-10-09  5:46 Sam James
2024-09-27 21:53 Sam James
2024-07-20 12:38 Arthur Zamarin
2024-07-20 11:14 Arthur Zamarin
2024-06-23 17:48 Arthur Zamarin
2024-06-15 19:21 Arthur Zamarin
2024-05-10 20:04 Arthur Zamarin
2024-05-10 18:39 Sam James
2024-04-06  5:26 Arthur Zamarin
2024-04-05 15:22 Arthur Zamarin
2024-04-05 11:38 Arthur Zamarin
2024-02-27 18:49 Arthur Zamarin
2023-12-06  7:41 Sam James
2023-12-05  4:20 Michał Górny
2023-11-10 20:58 Arthur Zamarin
2023-11-10 20:58 Arthur Zamarin
2023-11-04 19:40 Sam James
2023-11-04 17:14 Arthur Zamarin
2023-09-18 18:54 Arthur Zamarin
2023-09-18 18:54 Arthur Zamarin
2023-09-18 18:54 Arthur Zamarin
2023-09-18 18:54 Arthur Zamarin
2023-09-09 17:40 Arthur Zamarin
2023-08-29 12:31 Andrey Grozin
2023-08-24 16:50 Arthur Zamarin
2023-07-07 19:00 Arthur Zamarin
2023-06-09 14:42 Arthur Zamarin
2023-05-04  8:41 Arthur Zamarin
2023-05-04  2:31 Sam James
2023-03-15 16:46 Arthur Zamarin
2023-02-24 11:24 Arthur Zamarin
2023-02-07 17:25 Andreas Sturmlechner
2022-10-31 16:41 Agostino Sarubbo
2022-10-20 10:52 Jakov Smolić
2022-09-27  7:20 Arthur Zamarin
2022-09-27  7:10 Agostino Sarubbo
2022-09-26 12:27 Sam James
2022-09-16 10:27 Arthur Zamarin
2022-07-29 11:03 Arthur Zamarin
2022-04-10 17:47 Arthur Zamarin
2022-04-02  6:12 Arthur Zamarin
2022-04-02  6:12 Arthur Zamarin
2022-02-14 20:49 Sam James
2022-02-13 23:49 Sam James
2021-10-25 17:20 Arthur Zamarin
2021-09-03  7:36 Arthur Zamarin
2021-09-03  6:40 Agostino Sarubbo
2021-09-03  6:34 Agostino Sarubbo
2021-08-14 15:57 Arthur Zamarin
2021-08-01  6:13 Ionen Wolkens
2021-08-01  6:13 Ionen Wolkens
2021-05-09  4:05 Sam James
2021-05-09  4:05 Sam James
2021-03-31  7:40 Joonas Niilola
2021-03-31  7:40 Joonas Niilola
2021-02-16 12:26 Sam James
2020-12-26 21:42 Andreas Sturmlechner
2020-11-15  8:53 Sam James
2020-11-12 21:03 Thomas Deutschmann
2020-08-05 12:56 Joonas Niilola
2020-08-05 12:56 Joonas Niilola
2020-07-20  6:42 Agostino Sarubbo
2020-07-19  7:43 Agostino Sarubbo
2020-06-16 19:00 Andreas Sturmlechner
2020-04-29 11:40 Joonas Niilola
2020-04-29 11:40 Joonas Niilola
2020-02-25 14:51 Joonas Niilola
2020-01-11 23:51 Andreas Sturmlechner
2020-01-11 23:51 Andreas Sturmlechner
2019-12-19 15:41 Joonas Niilola
2019-09-04 16:08 Joonas Niilola
2019-09-04 16:08 Joonas Niilola
2019-08-23 18:22 Joonas Niilola
2019-08-23 10:13 Agostino Sarubbo
2019-08-23 10:03 Agostino Sarubbo
2019-07-21 11:58 Andreas Sturmlechner
2019-07-21 11:58 Andreas Sturmlechner
2019-07-21 11:58 Andreas Sturmlechner
2019-07-21 11:58 Andreas Sturmlechner
2019-04-29 14:26 Michał Górny
2019-04-29 14:26 Michał Górny
2018-06-27 19:29 Pacho Ramos
2016-10-02 11:49 Amy Winston
2016-09-10 21:19 Tobias Klausmann
2016-09-10 20:37 Tobias Klausmann
2016-09-10 20:33 Tobias Klausmann
2016-07-04  0:05 Göktürk Yüksek
2016-07-04  0:05 Göktürk Yüksek
2016-04-06  7:10 Ian Delaney
2016-04-06  7:10 Ian Delaney
2016-03-29 23:36 Patrice Clement
2016-03-29 23:36 Patrice Clement
2016-02-20  2:30 Ian Delaney
2016-02-13  6:29 Ian Delaney
2016-02-10 10:32 Ian Delaney
2016-02-06 15:02 Ian Delaney
2016-01-02 13:09 Patrice Clement
2015-12-08  8:22 Patrice Clement
2015-11-27  9:11 Patrice Clement
2015-10-08 21:29 Matt Thode
2015-09-25  9:12 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=1723920574.7afd98ff9e29aef8151365087f3f246e90bf72b5.arthurzam@gentoo \
    --to=arthurzam@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