diff options
Diffstat (limited to 'app-office')
-rw-r--r-- | app-office/Manifest.gz | bin | 8064 -> 8069 bytes | |||
-rw-r--r-- | app-office/texmaker/Manifest | 3 | ||||
-rw-r--r-- | app-office/texmaker/files/texmaker-5.1-unbundle-hunspell-singleapp.patch | 60 | ||||
-rw-r--r-- | app-office/texmaker/texmaker-5.1.4.ebuild | 86 |
4 files changed, 149 insertions, 0 deletions
diff --git a/app-office/Manifest.gz b/app-office/Manifest.gz Binary files differindex 495d15eae165..85658700fc7a 100644 --- a/app-office/Manifest.gz +++ b/app-office/Manifest.gz diff --git a/app-office/texmaker/Manifest b/app-office/texmaker/Manifest index 057f245f1458..130ff94310b5 100644 --- a/app-office/texmaker/Manifest +++ b/app-office/texmaker/Manifest @@ -1,5 +1,8 @@ AUX texmaker-5.0-unbundle-hunspell-singleapp.patch 1886 BLAKE2B 62c66e1e2868f40b243caecaf3f61a283355427a96aa51934e5302e42cb8ee1d816ad080e13b7bb281d1402e032fbb7eac34fd83a7e876856a6d87ad64adc2a0 SHA512 cb944695a1661b067aef0e45dc6dac8cf7d6f589c7f69be49cf7bad2c51899e0cf3f4ed0881899c8185af10f5e36523a6be0a335f6b7668240fb0ec9ae4ca404 +AUX texmaker-5.1-unbundle-hunspell-singleapp.patch 1656 BLAKE2B 1f85021dff56c95d8aabb0fdb7d77826b4f8a978be7a6aebaa9798294ef71e1f777e83eb5ce715bed1398fa6e5686beedf6d82fb2e12069f4ed4c5581e3e8119 SHA512 9784e06836055335b6fc364f492b182371b9739a1bd282e6abad4a2de5d6264f56197d88b27359928888d0f2fbe2024183cae32cab11c616eb1dc13ba4189985 AUX texmakerx_my.pri 128 BLAKE2B 2821eff5f67ac93334518b84b7e1a9b8157de8be13b3d6e801f57ce9937e5586ddbc34fc5ace9706419b79472d660860c36c35a7ae216cea8ff59d54f8b8e8a8 SHA512 ce03623e219b43eca4bcd07b78566d55af78f41483a2659479a9118ffd1a987b77e38c32fa3a9ff2b35556191b708f198668956181e01272f2bc39a828f9277e DIST texmaker-5.0.4.tar.bz2 15812468 BLAKE2B ad252827c7db90ad20de5ca59958124714b7abe660998ef21b983a7888831aaa12fedc018a764ad8898780b18ca97b44145afe548817a867f74b407f0a2c9399 SHA512 34ff5773358c2fffbc9e7e61028cd74eef231152e3483531b66cb0d907dd8f70a4e8b6d6ea09b0b11387b592f6d1676ba8a1e737b26c86a45b16882e53edff1f +DIST texmaker-5.1.4.tar.bz2 15277027 BLAKE2B c121569a599181ec480823fbe2429977aedad4cbd4a3a09647b7ebcaace873d56e27362148a729b1802454d8e38703d507f4f616886d4bbba4075fe91aed5a5f SHA512 6ae4be7ae9be98e494480d4574e783a5568f0dcc9c631ccbc9bf00cca9f69dc672ba72060c064748a4446d20302af89e3bc6f14e8977d1f1ddbd20458fcf6d4e EBUILD texmaker-5.0.4.ebuild 1702 BLAKE2B 8c466b9622d87fff0108b6190c2897e11244596f42e5b697870beba0ab91d40d51609f01f04be227648b3c4e0d35d232692495fbdbcc5434fd46d48d18e77f42 SHA512 046405bd24597bed2c1b8c4bed1800e2d16858a8caed0dafba888dcf10adc214421527527e9c20d5934be9e0dfefe96c90ae43c761374f7bbc439174fa1aec8f +EBUILD texmaker-5.1.4.ebuild 1834 BLAKE2B 1a3c49b56693f9ebea9d518a19f4b807e3370522ce205985b3d09d48a1760ede61f333c53be57018e588c6a9052f294f14160ee00c86879a309bc4b2c5dce5b5 SHA512 da3fbe0938e270927575c15d665bb4fffa9951f729d4d8dcf574bcb2589a6707b4bd6905d395a16158bbdc0576df43f3c6347670879455e7315c205c06e444f6 MISC metadata.xml 256 BLAKE2B 996b2fc907c7c3fb48906fd417b3be2c087580c651e473c5260db5eb04f8b7e50516b761fe4b2f62205702948ef3fe1fb49e1fed4aae2adce25b13c322d11eda SHA512 abc5e4223fb75e11ffe02e32b37e4cdee62f27413641a9279f22382882a06f62eca81798f1f7cdba7e09d439c0cdd0ab816ca1dbd5fab3b561d3f05cde74b6c7 diff --git a/app-office/texmaker/files/texmaker-5.1-unbundle-hunspell-singleapp.patch b/app-office/texmaker/files/texmaker-5.1-unbundle-hunspell-singleapp.patch new file mode 100644 index 000000000000..8af2428a449e --- /dev/null +++ b/app-office/texmaker/files/texmaker-5.1-unbundle-hunspell-singleapp.patch @@ -0,0 +1,60 @@ +--- a/texmaker.pro 2023-04-30 14:59:36.000000000 +0200 ++++ b/texmaker.pro 2023-10-21 19:09:19.634531874 +0200 +@@ -127,28 +127,6 @@ + x11fontdialog.h \ + quickbeamerdialog.h \ + cmdparser.h \ +- hunspell/affentry.hxx \ +- hunspell/affixmgr.hxx \ +- hunspell/atypes.hxx \ +- hunspell/baseaffix.hxx \ +- hunspell/csutil.hxx \ +- hunspell/filemgr.hxx \ +- hunspell/hashmgr.hxx \ +- hunspell/htypes.hxx \ +- hunspell/hunvisapi.h \ +- hunspell/hunspell.h \ +- hunspell/hunspell.hxx \ +- hunspell/hunzip.hxx \ +- hunspell/langnum.hxx \ +- hunspell/phonet.hxx \ +- hunspell/replist.hxx \ +- hunspell/suggestmgr.hxx \ +- hunspell/utf_info.hxx \ +- hunspell/w_char.hxx \ +- singleapp/qtlocalpeer.h \ +- singleapp/qtlockedfile.h \ +- singleapp/qtsingleapplication.h \ +- singleapp/qtsinglecoreapplication.h \ + encodingprober/CharDistribution.h \ + encodingprober/ChineseGroupProber.h \ + encodingprober/ctype_test_p.h \ +@@ -567,20 +545,6 @@ + svnhelper.cpp \ + x11fontdialog.cpp \ + cmdparser.cpp \ +- hunspell/affentry.cxx \ +- hunspell/affixmgr.cxx \ +- hunspell/csutil.cxx \ +- hunspell/filemgr.cxx \ +- hunspell/hashmgr.cxx \ +- hunspell/hunspell.cxx \ +- hunspell/hunzip.cxx \ +- hunspell/phonet.cxx \ +- hunspell/replist.cxx \ +- hunspell/suggestmgr.cxx \ +- singleapp/qtlocalpeer.cpp \ +- singleapp/qtlockedfile.cpp \ +- singleapp/qtsingleapplication.cpp \ +- singleapp/qtsinglecoreapplication.cpp \ + encodingprober/CharDistribution.cpp \ + encodingprober/ChineseGroupProber.cpp \ + encodingprober/JapaneseGroupProber.cpp \ +@@ -1168,7 +1132,6 @@ + DEFINES += DEBIAN_SPELLDIR + + INSTALLS = target +-SOURCES += singleapp/qtlockedfile_unix.cpp + + utilities.files = doc/doc10.png \ + doc/doc11.png \ diff --git a/app-office/texmaker/texmaker-5.1.4.ebuild b/app-office/texmaker/texmaker-5.1.4.ebuild new file mode 100644 index 000000000000..106fa6d8b322 --- /dev/null +++ b/app-office/texmaker/texmaker-5.1.4.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit qmake-utils readme.gentoo-r1 xdg + +DESCRIPTION="Powerful LaTeX-IDE" +HOMEPAGE="https://xm1math.net/texmaker/" +SRC_URI="https://xm1math.net/texmaker/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +# dev-qt/qtcore slot op: includes private/qabstractitemmodel_p.h +COMMON_DEPEND=" + app-text/hunspell:= + app-text/poppler[qt5] + dev-qt/qtcore:5= + dev-qt/qtdeclarative:5 + dev-qt/qtgui:5 + dev-qt/qtlockedfile + dev-qt/qtnetwork:5 + dev-qt/qtprintsupport:5 + dev-qt/qtsingleapplication[X,qt5(+)] + dev-qt/qtwebengine:5[widgets] + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 + sys-libs/zlib + x11-libs/libX11 + x11-libs/libXext +" +RDEPEND="${COMMON_DEPEND} + app-text/ghostscript-gpl + app-text/psutils + media-libs/netpbm + virtual/latex-base +" +DEPEND="${COMMON_DEPEND} + dev-qt/qtconcurrent:5 +" +BDEPEND="virtual/pkgconfig" + +DOCS=( utilities/AUTHORS utilities/CHANGELOG.txt ) +HTML_DOCS=( doc/. ) + +PATCHES=( "${FILESDIR}/${PN}-5.1-unbundle-hunspell-singleapp.patch" ) + +src_prepare() { + default + + find singleapp hunspell -delete || die + + cat >> ${PN}.pro <<- EOF + exists(texmakerx_my.pri):include(texmakerx_my.pri) + EOF + + cp "${FILESDIR}"/texmakerx_my.pri . || die + + sed \ + -e '/^#include/s:hunspell/::g' \ + -e '/^#include/s:singleapp/::g' \ + -i *.cpp *.h || die + + DOC_CONTENTS="A user manual with many screenshots is available at: + ${EPREFIX}/usr/share/${PN}/usermanual_en.html" +} + +src_configure() { + local myeqmakeargs=( + ${PN}.pro + QT_MAJOR_VERSION=5 + PREFIX="${EPREFIX}/usr" + DESKTOPDIR="${EPREFIX}/usr/share/applications" + ICONDIR="${EPREFIX}/usr/share/pixmaps" + ) + eqmake5 ${myeqmakeargs[@]} +} + +src_install() { + emake INSTALL_ROOT="${D}" install + einstalldocs + readme.gentoo_create_doc +} |