diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-17 03:01:54 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-17 03:01:54 -0500 |
| commit | 704b2332929c5ee3a704315e1b371a864f9f463e (patch) | |
| tree | 5112e7a1a49250008a19bd1c18e2142a8a5ed3f3 /app-office | |
| parent | 7c679258085e25fd48f6bc6a44d6554b82d83c09 (diff) | |
| download | baldeagleos-repo-704b2332929c5ee3a704315e1b371a864f9f463e.tar.gz baldeagleos-repo-704b2332929c5ee3a704315e1b371a864f9f463e.tar.xz baldeagleos-repo-704b2332929c5ee3a704315e1b371a864f9f463e.zip | |
Adding metadata
Diffstat (limited to 'app-office')
| -rw-r--r-- | app-office/joplin-desktop/joplin-desktop-3.7.1.ebuild | 2 | ||||
| -rw-r--r-- | app-office/texstudio/Manifest | 1 | ||||
| -rw-r--r-- | app-office/texstudio/files/texstudio-4.9.5-fix_structure_lookup.patch | 30 | ||||
| -rw-r--r-- | app-office/texstudio/texstudio-4.9.5.ebuild | 102 |
4 files changed, 134 insertions, 1 deletions
diff --git a/app-office/joplin-desktop/joplin-desktop-3.7.1.ebuild b/app-office/joplin-desktop/joplin-desktop-3.7.1.ebuild index 2c4bccf5d928..8f386f0ef5df 100644 --- a/app-office/joplin-desktop/joplin-desktop-3.7.1.ebuild +++ b/app-office/joplin-desktop/joplin-desktop-3.7.1.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/laurent22/joplin/releases/download/v${PV}/${APPIMAGE LICENSE="AGPL-3+" SLOT="0" -KEYWORDS="-* ~amd64" +KEYWORDS="-* amd64" RESTRICT="bindist splitdebug" RDEPEND=" diff --git a/app-office/texstudio/Manifest b/app-office/texstudio/Manifest index 798700d61b5a..31dda6291dd9 100644 --- a/app-office/texstudio/Manifest +++ b/app-office/texstudio/Manifest @@ -2,3 +2,4 @@ DIST texstudio-4.9.0.tar.gz 115744141 BLAKE2B 8ce584ac8c1eb37252f42a2dce24dc93c0 DIST texstudio-4.9.2.tar.gz 115969502 BLAKE2B 3f0a4713ecfcb0814dddc4725a9bfcea1f0f40bbdfc52385b29bcc3ea01dea0c288db1ef6294c8b8e78ca523732c3ce600e98b1287bab09822977eca8e21da3b SHA512 a76dffe2abdb08e8875819ba22bf24a82a96af0616451b6fc2a870b32828e3029754c623eb3459934244ed2af7f47369ac7fdcfb0787c077508b73534c355cf7 DIST texstudio-4.9.3.tar.gz 116665114 BLAKE2B 567da62b40ff5b04cc3855fb7b907b57a5a3456e28be618046ba627433ce30b40fe380442fa0cc02bce3dbeb44e0442ac914063edb4f86a31b765bae218d43b1 SHA512 77cab9d783615eb3a1d1ee782f961fd3dfe45120322b9f313c65b78b341f89559acd2cb6148f83b0d151b25cde16417a56a11ff7b48f2b07443376bab726eb73 DIST texstudio-4.9.4.tar.gz 119303833 BLAKE2B 61375fbcc544620775e1a2abadd5cb640e4ddf966d430268b0961e7e4954a5ef5e230c5ee450cad6ccadaf094ec4f308a637311cb3def1efb1a2a1c813952a24 SHA512 ca1b237a181697cec02459e3e093c444244de2c8933715e5599ef21ed657874b37f1faf0fbccea17da049118e5671f094d384eb7e68e633e78ce86927ced2ecc +DIST texstudio-4.9.5.tar.gz 120771580 BLAKE2B 02be05e5fed863e7f7b1392f0d275f72cb76488cd61c27f955eab4a7ab28eebbe23fc5b9589d7a653de45d7c27301594490b5ff76f8cf92ccd218678c0d30ca2 SHA512 8c9f3dbfe9a11dd5f13e7d5fd1068dc679a4ba345ed67e5401d201b8d9ae7c85ae4f70cb1cfbfaf514d71c1f0e9af31fe10c76ccd7a15659ed5c7f6b997a36ca diff --git a/app-office/texstudio/files/texstudio-4.9.5-fix_structure_lookup.patch b/app-office/texstudio/files/texstudio-4.9.5-fix_structure_lookup.patch new file mode 100644 index 000000000000..f87d6a403833 --- /dev/null +++ b/app-office/texstudio/files/texstudio-4.9.5-fix_structure_lookup.patch @@ -0,0 +1,30 @@ +https://github.com/texstudio-org/texstudio/commit/e0fcba2.patch +backport fix for cache regression from 4.9.4 +see https://github.com/texstudio-org/texstudio/issues/4505 +--- a/src/latexparser/latexparser.cpp ++++ b/src/latexparser/latexparser.cpp +@@ -196,8 +196,12 @@ QString removeOptionBrackets(const QString &option) + * \param cmd latex command
+ * \return level of stucture
+ */
+-int LatexParser::structureCommandLevel(const QString &cmd) const
++int LatexParser::structureCommandLevel(const QString &cmd)
+ {
++ if(sectionCommands.isEmpty()){
++ // not yet chached, do it now
++ cacheStructureCommand();
++ }
+ if(!sectionCommands.contains(cmd)) return -1;
+ for (int i=0; i<=MAX_STRUCTURE_LEVEL; i++) {
+ if (possibleCommands[QString("%structure%1").arg(i)].contains(cmd)) {
+--- a/src/latexparser/latexparser.h ++++ b/src/latexparser/latexparser.h +@@ -33,7 +33,7 @@ class LatexParser + {
+ return MAX_STRUCTURE_LEVEL;
+ }
+- int structureCommandLevel(const QString &cmd) const;
++ int structureCommandLevel(const QString &cmd);
+ void cacheStructureCommand();
+
+ QSet<QString> environmentCommands; ///< used by LatexReader only, obsolete
diff --git a/app-office/texstudio/texstudio-4.9.5.ebuild b/app-office/texstudio/texstudio-4.9.5.ebuild new file mode 100644 index 000000000000..208c577399e4 --- /dev/null +++ b/app-office/texstudio/texstudio-4.9.5.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake desktop optfeature xdg + +DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)" +HOMEPAGE="https://www.texstudio.org https://github.com/texstudio-org/texstudio" +SRC_URI="https://github.com/texstudio-org/texstudio/archive/${PV}.tar.gz -> ${P}.tar.gz" + +# MIT: To Title Case +# LGPL-2: Crystal Project +# CC-BY-SA-3.0: Oxygen icon theme +# CC0-1.0: Colibre icon theme +LICENSE="GPL-3 MIT LGPL-2 CC-BY-SA-3.0 CC0-1.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="qtermwidget video" + +DEPEND=" + app-text/hunspell:= + app-text/poppler:=[qt6] + >=dev-libs/quazip-1.3-r2:0=[qt6(+)] + dev-qt/qt5compat:6 + dev-qt/qtbase:6[concurrent,gui,network,widgets,xml] + dev-qt/qtdeclarative:6 + dev-qt/qtsvg:6 + dev-qt/qttools:6[widgets] + virtual/zlib:= + x11-libs/libX11 + qtermwidget? ( >=x11-libs/qtermwidget-2.0.0:= ) + video? ( dev-qt/qtmultimedia:6 ) +" +RDEPEND=" + ${DEPEND} + virtual/latex-base +" +BDEPEND=" + dev-qt/qttools:6[linguist] + virtual/pkgconfig +" + +PATCHES=( + # backport fix for cache regression + "${FILESDIR}"/${P}-fix_structure_lookup.patch +) + +src_prepare() { + # avoid bundled libs as a fallback + local dir + for dir in src/quazip src/hunspell utilities/poppler-data; do + rm -r "${dir}" || die "Failed to delete ${dir}" + done + + cmake_src_prepare + + # fix docdir for the menu 'help' + sed -e "s:share/doc/texstudio:share/doc/${PF}:g" \ + -i src/utilsSystem.cpp || die +} + +src_configure() { + local mycmakeargs=( + -DQT_VERSION_MAJOR=6 + # already exists in ::gentoo, useful only for win + -DTEXSTUDIO_BUILD_ADWAITA=NO + -DTEXSTUDIO_ENABLE_MEDIAPLAYER=$(usex video) + # it requires debug and make changes in the UI + # see #940928 + -DTEXSTUDIO_ENABLE_TESTS=NO + $(cmake_use_find_package qtermwidget QTermWidget) + ) + cmake_src_configure +} + +src_install() { + # manually set docdir to use a subdir for html + # and avoid the path /usr/share/doc/texstudio + local DOCS+=( utilities/{AUTHORS,COPYING,manual/source/CHANGELOG.md} ) + local HTML_DOCS+=( utilities/*.{html,css} utilities/manual/build/html/. ) + cmake_src_install + + # remove the wrong path + rm -r "${ED}"/usr/share/doc/texstudio || die + + local i + for i in 16x16 22x22 32x32 48x48 64x64 128x128; do + newicon -s ${i} utilities/${PN}${i}.png ${PN}.png + done +} + +pkg_postinst() { + xdg_pkg_postinst + + optfeature "conversion tools" app-text/ghostscript-gpl + optfeature "PostScript tools" app-text/psutils + optfeature "graphic tools" media-libs/netpbm + optfeature "automation" dev-tex/latexmk + optfeature "XeLaTex engine" dev-texlive/texlive-xetex + optfeature "the vector graphics language (.asy)" media-gfx/asymptote +} |
