[arch-commits] Commit in texstudio/repos/community-x86_64 (6 files)
Sven-Hendrik Haase
svenstaro at gemini.archlinux.org
Sun Aug 28 22:28:56 UTC 2022
Date: Sunday, August 28, 2022 @ 22:28:56
Author: svenstaro
Revision: 1285146
archrelease: copy trunk to community-x86_64
Added:
texstudio/repos/community-x86_64/PKGBUILD
(from rev 1285145, texstudio/trunk/PKGBUILD)
texstudio/repos/community-x86_64/fs54269.patch
(from rev 1285145, texstudio/trunk/fs54269.patch)
texstudio/repos/community-x86_64/fs72345.patch
(from rev 1285145, texstudio/trunk/fs72345.patch)
Deleted:
texstudio/repos/community-x86_64/PKGBUILD
texstudio/repos/community-x86_64/fs54269.patch
texstudio/repos/community-x86_64/fs72345.patch
---------------+
PKGBUILD | 92 ++++++++++++++++++++++++++++----------------------------
fs54269.patch | 22 ++++++-------
fs72345.patch | 50 +++++++++++++++---------------
3 files changed, 82 insertions(+), 82 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-28 22:28:27 UTC (rev 1285145)
+++ PKGBUILD 2022-08-28 22:28:56 UTC (rev 1285146)
@@ -1,46 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at archlinux.org>
-# Contributor: Clément DEMOULINS <clement at archivel.fr>
-pkgname=texstudio
-pkgver=4.3.0
-pkgrel=1
-pkgdesc="Integrated writing environment for creating LaTeX documents"
-arch=('x86_64')
-url="http://texstudio.sourceforge.net/"
-license=('GPL')
-depends=('poppler-qt6' 'qt6-svg' 'libxkbcommon-x11' 'hicolor-icon-theme' 'hunspell' 'quazip-qt6' 'desktop-file-utils'
- 'qt6-declarative' 'qt6-5compat')
-makedepends=('qt6-tools' 'mercurial' 'imagemagick' 'librsvg')
-optdepends=('evince: pdf reader'
- 'okular: alternate pdf reader')
-replaces=('texmakerx')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/texstudio-org/texstudio/archive/${pkgver}.tar.gz"
- fs54269.patch
- fs72345.patch)
-sha512sums=('cda93986a7e3fb01c7768303aaaea27812d39528a6c8fada272f00cd50d5d48ee059171f3db61ee28517bc986408e18ca8d41a62ce6b097db7a1d2294e15cd7f'
- '247e85f668b06c8a2def4e7456f0ddc8d35c7990484c1c037f7cf43fdee91419b5df66e968ef1e0c637fe685722bbad9171bdd79fad7a10912ae329aff088b68'
- '6975eebd43b32fb7aa04f973562e66f6a83df0fb6a0b4d8221e124c9cc6959df11ec517e4c862921619c8b1c55800257017e26001c03186b84c567fc19c98726')
-
-prepare() {
- cd texstudio-${pkgver}/src
- patch -Np1 -i "${srcdir}"/fs54269.patch
- patch -Np1 -i "${srcdir}"/fs72345.patch
-}
-
-build() {
- cd texstudio-${pkgver}
- qmake6 CONFIG-="debug" USE_SYSTEM_QUAZIP=1 USE_SYSTEM_HUNSPELL=1 QUAZIP_LIB=-lquazip1-qt6 \
- QUAZIP_INCLUDE="/usr/include/QuaZip-Qt6-1.3/quazip" texstudio.pro
- make
-}
-
-package() {
- cd texstudio-${pkgver}
- make INSTALL_ROOT="${pkgdir}" install
-
- for res in $(/bin/ls /usr/share/icons/hicolor | grep '[0-9]\+x[0-9]\+'); do
- mkdir -p "${pkgdir}"/usr/share/icons/hicolor/${res}/apps
- convert +set date:create +set date:modify -background none -density 1200 -resize ${res} \
- "${pkgdir}"/usr/share/icons/hicolor/scalable/apps/texstudio.svg \
- "${pkgdir}"/usr/share/icons/hicolor/${res}/apps/texstudio.png
- done
-}
Copied: texstudio/repos/community-x86_64/PKGBUILD (from rev 1285145, texstudio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-28 22:28:56 UTC (rev 1285146)
@@ -0,0 +1,46 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at archlinux.org>
+# Contributor: Clément DEMOULINS <clement at archivel.fr>
+pkgname=texstudio
+pkgver=4.3.1
+pkgrel=1
+pkgdesc="Integrated writing environment for creating LaTeX documents"
+arch=('x86_64')
+url="http://texstudio.sourceforge.net/"
+license=('GPL')
+depends=('poppler-qt6' 'qt6-svg' 'libxkbcommon-x11' 'hicolor-icon-theme' 'hunspell' 'quazip-qt6' 'desktop-file-utils'
+ 'qt6-declarative' 'qt6-5compat')
+makedepends=('qt6-tools' 'mercurial' 'imagemagick' 'librsvg')
+optdepends=('evince: pdf reader'
+ 'okular: alternate pdf reader')
+replaces=('texmakerx')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/texstudio-org/texstudio/archive/${pkgver}.tar.gz"
+ fs54269.patch
+ fs72345.patch)
+sha512sums=('6fc8717ed22e21947260d0af5c5b857f9b79476f28f400f9036134d9de2d9e11a605a871b6c8d520b366cb43f3fb61bb89c411e5c11aee1e87642e77fe1b0560'
+ '247e85f668b06c8a2def4e7456f0ddc8d35c7990484c1c037f7cf43fdee91419b5df66e968ef1e0c637fe685722bbad9171bdd79fad7a10912ae329aff088b68'
+ '6975eebd43b32fb7aa04f973562e66f6a83df0fb6a0b4d8221e124c9cc6959df11ec517e4c862921619c8b1c55800257017e26001c03186b84c567fc19c98726')
+
+prepare() {
+ cd texstudio-${pkgver}/src
+ patch -Np1 -i "${srcdir}"/fs54269.patch
+ patch -Np1 -i "${srcdir}"/fs72345.patch
+}
+
+build() {
+ cd texstudio-${pkgver}
+ qmake6 CONFIG-="debug" USE_SYSTEM_QUAZIP=1 USE_SYSTEM_HUNSPELL=1 QUAZIP_LIB=-lquazip1-qt6 \
+ QUAZIP_INCLUDE="/usr/include/QuaZip-Qt6-1.3/quazip" texstudio.pro
+ make
+}
+
+package() {
+ cd texstudio-${pkgver}
+ make INSTALL_ROOT="${pkgdir}" install
+
+ for res in $(/bin/ls /usr/share/icons/hicolor | grep '[0-9]\+x[0-9]\+'); do
+ mkdir -p "${pkgdir}"/usr/share/icons/hicolor/${res}/apps
+ convert +set date:create +set date:modify -background none -density 1200 -resize ${res} \
+ "${pkgdir}"/usr/share/icons/hicolor/scalable/apps/texstudio.svg \
+ "${pkgdir}"/usr/share/icons/hicolor/${res}/apps/texstudio.png
+ done
+}
Deleted: fs54269.patch
===================================================================
--- fs54269.patch 2022-08-28 22:28:27 UTC (rev 1285145)
+++ fs54269.patch 2022-08-28 22:28:56 UTC (rev 1285146)
@@ -1,11 +0,0 @@
-diff -r c61879e1dfa9 minisplitter.cpp
---- a/minisplitter.cpp Sun Aug 06 17:32:28 2017 +0200
-+++ b/minisplitter.cpp Tue Aug 08 15:33:21 2017 +0200
-@@ -72,7 +72,6 @@
- else
- setContentsMargins(0, 2, 0, 2);
- setMask(QRegion(contentsRect()));
-- QSplitterHandle::resizeEvent(event);
- }
-
- void MiniSplitterHandle::paintEvent(QPaintEvent *event)
Copied: texstudio/repos/community-x86_64/fs54269.patch (from rev 1285145, texstudio/trunk/fs54269.patch)
===================================================================
--- fs54269.patch (rev 0)
+++ fs54269.patch 2022-08-28 22:28:56 UTC (rev 1285146)
@@ -0,0 +1,11 @@
+diff -r c61879e1dfa9 minisplitter.cpp
+--- a/minisplitter.cpp Sun Aug 06 17:32:28 2017 +0200
++++ b/minisplitter.cpp Tue Aug 08 15:33:21 2017 +0200
+@@ -72,7 +72,6 @@
+ else
+ setContentsMargins(0, 2, 0, 2);
+ setMask(QRegion(contentsRect()));
+- QSplitterHandle::resizeEvent(event);
+ }
+
+ void MiniSplitterHandle::paintEvent(QPaintEvent *event)
Deleted: fs72345.patch
===================================================================
--- fs72345.patch 2022-08-28 22:28:27 UTC (rev 1285145)
+++ fs72345.patch 2022-08-28 22:28:56 UTC (rev 1285146)
@@ -1,25 +0,0 @@
---- a/configmanager.cpp
-+++ b/configmanager.cpp
-@@ -631,7 +631,7 @@ ConfigManager::ConfigManager(QObject *pa
- #else
- registerOption("Grammar/Language Tool URL", &grammarCheckerConfig->languageToolURL, "http://localhost:8081/", &pseudoDialog->lineEditGrammarLTUrl);
- #endif
-- registerOption("Grammar/Language Tool Path", &grammarCheckerConfig->languageToolPath, "", &pseudoDialog->lineEditGrammarLTPath);
-+ registerOption("Grammar/Language Tool Path", &grammarCheckerConfig->languageToolPath, "/usr/share/languagetool:/usr/share/java/languagetool/*", &pseudoDialog->lineEditGrammarLTPath);
- registerOption("Grammar/Language Tool Arguments", &grammarCheckerConfig->languageToolArguments, "org.languagetool.server.HTTPServer -p 8081", &pseudoDialog->lineEditGrammarLTArguments);
- registerOption("Grammar/Language Tool Java Path", &grammarCheckerConfig->languageToolJavaPath, "java", &pseudoDialog->lineEditGrammarLTJava);
- registerOption("Grammar/Language Tool Autorun", &grammarCheckerConfig->languageToolAutorun, true, &pseudoDialog->checkBoxGrammarLTAutorun);
---- a/grammarcheck.cpp
-+++ b/grammarcheck.cpp
-@@ -639,11 +639,6 @@ void GrammarCheckLanguageToolJSON::tryTo
- startTime = 0;
- if (ltPath == "")
- return;
-- if(!QFileInfo::exists(ltPath)){
-- errorText=QString("LT path \" %1 \" not found !").arg(ltPath);
-- emit errorMessage(errorText);
-- return;
-- }
- javaProcess = new QProcess();
- connect(javaProcess, SIGNAL(finished(int,QProcess::ExitStatus)), javaProcess, SLOT(deleteLater()));
- connect(this, SIGNAL(destroyed()), javaProcess, SLOT(deleteLater()));
Copied: texstudio/repos/community-x86_64/fs72345.patch (from rev 1285145, texstudio/trunk/fs72345.patch)
===================================================================
--- fs72345.patch (rev 0)
+++ fs72345.patch 2022-08-28 22:28:56 UTC (rev 1285146)
@@ -0,0 +1,25 @@
+--- a/configmanager.cpp
++++ b/configmanager.cpp
+@@ -631,7 +631,7 @@ ConfigManager::ConfigManager(QObject *pa
+ #else
+ registerOption("Grammar/Language Tool URL", &grammarCheckerConfig->languageToolURL, "http://localhost:8081/", &pseudoDialog->lineEditGrammarLTUrl);
+ #endif
+- registerOption("Grammar/Language Tool Path", &grammarCheckerConfig->languageToolPath, "", &pseudoDialog->lineEditGrammarLTPath);
++ registerOption("Grammar/Language Tool Path", &grammarCheckerConfig->languageToolPath, "/usr/share/languagetool:/usr/share/java/languagetool/*", &pseudoDialog->lineEditGrammarLTPath);
+ registerOption("Grammar/Language Tool Arguments", &grammarCheckerConfig->languageToolArguments, "org.languagetool.server.HTTPServer -p 8081", &pseudoDialog->lineEditGrammarLTArguments);
+ registerOption("Grammar/Language Tool Java Path", &grammarCheckerConfig->languageToolJavaPath, "java", &pseudoDialog->lineEditGrammarLTJava);
+ registerOption("Grammar/Language Tool Autorun", &grammarCheckerConfig->languageToolAutorun, true, &pseudoDialog->checkBoxGrammarLTAutorun);
+--- a/grammarcheck.cpp
++++ b/grammarcheck.cpp
+@@ -639,11 +639,6 @@ void GrammarCheckLanguageToolJSON::tryTo
+ startTime = 0;
+ if (ltPath == "")
+ return;
+- if(!QFileInfo::exists(ltPath)){
+- errorText=QString("LT path \" %1 \" not found !").arg(ltPath);
+- emit errorMessage(errorText);
+- return;
+- }
+ javaProcess = new QProcess();
+ connect(javaProcess, SIGNAL(finished(int,QProcess::ExitStatus)), javaProcess, SLOT(deleteLater()));
+ connect(this, SIGNAL(destroyed()), javaProcess, SLOT(deleteLater()));
More information about the arch-commits
mailing list