[arch-commits] Commit in texworks/trunk (PKGBUILD)

2020-11-12 Thread Felix Yan via arch-commits
Date: Thursday, November 12, 2020 @ 17:59:00
  Author: felixonmars
Revision: 752893

upgpkg: texworks 0.6.5-4: Python 3.9 rebuild

Modified:
  texworks/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-12 17:58:56 UTC (rev 752892)
+++ PKGBUILD2020-11-12 17:59:00 UTC (rev 752893)
@@ -1,7 +1,7 @@
 # Maintainer: Jonas Witschel 
 pkgname=texworks
 pkgver=0.6.5
-pkgrel=3
+pkgrel=4
 pkgdesc='Unicode-based, TeX-aware editor with integrated PDF viewer'
 arch=('x86_64')
 url='https://www.tug.org/texworks/'


[arch-commits] Commit in texworks/trunk (PKGBUILD)

2020-06-30 Thread Jonas Witschel via arch-commits
Date: Tuesday, June 30, 2020 @ 15:50:35
  Author: diabonas
Revision: 657183

upgpkg: texworks 0.6.5-3: Lua 5.14 rebuild, fix compilation with Qt 5.15

Modified:
  texworks/trunk/PKGBUILD

--+
 PKGBUILD |   17 -
 1 file changed, 12 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-06-30 15:32:55 UTC (rev 657182)
+++ PKGBUILD2020-06-30 15:50:35 UTC (rev 657183)
@@ -1,12 +1,12 @@
 # Maintainer: Jonas Witschel 
 pkgname=texworks
 pkgver=0.6.5
-pkgrel=2
+pkgrel=3
 pkgdesc='Unicode-based, TeX-aware editor with integrated PDF viewer'
 arch=('x86_64')
 url='https://www.tug.org/texworks/'
 license=('GPL')
-depends=('hunspell' 'libsynctex' 'poppler-qt5' 'qt5-script')
+depends=('hunspell' 'libsynctex' 'poppler-qt5' 'qt5-base' 'qt5-script' 
'libpoppler-qt5.so')
 makedepends=('cmake' 'lua' 'python' 'qt5-tools')
 checkdepends=('gsfonts' 'poppler-data' 'xorg-server-xvfb')
 optdepends=('gsfonts: correctly display PDF files without embedded fonts'
@@ -14,13 +14,20 @@
 'poppler-data: correctly display certain CJK documents'
 'python: Python scripts support'
 'texlive-core: typeset TeX documents')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/TeXworks/texworks/archive/release-$pkgver.tar.gz";)
-sha512sums=('d97bb7c3ad7bbb402be80556027ef19076dae91bb9449df2b45d54e89b492e32b8d6f109d1bda9388424af6218866d84a8c296c9bc2ef644cf2fac0d4b24939e')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/TeXworks/texworks/archive/release-$pkgver.tar.gz";
+
"texworks-0.6.5_fix-compilation-with-qt-5.15.patch::https://github.com/TeXworks/texworks/commit/a5352a3a94e3685125650b65e6197de060326cc2.patch";)
+sha512sums=('d97bb7c3ad7bbb402be80556027ef19076dae91bb9449df2b45d54e89b492e32b8d6f109d1bda9388424af6218866d84a8c296c9bc2ef644cf2fac0d4b24939e'
+
'8cdc834a2d0d8d843e326a825a13418c765079ec41c15f1fe5b7a3eb2c158928db594ba7d7e946dd72a936af4bf86a302dd5b042fad64d20fe033f2b64dea3e8')
 
+prepare() {
+   cd "texworks-release-$pkgver"
+   patch --strip=1 
--input="$srcdir/texworks-0.6.5_fix-compilation-with-qt-5.15.patch"
+}
+
 build() {
cmake -DCMAKE_INSTALL_PREFIX=/usr \
  -DCMAKE_BUILD_TYPE=None \
- -DCMAKE_CXX_FLAGS="${CXXFLAGS} ${CPPFLAGS}" \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS $CPPFLAGS" \
  -DTW_BUILD_ID='Arch Linux' \
  -DWITH_PYTHON=ON \
  -B build \


[arch-commits] Commit in texworks/trunk (PKGBUILD)

2020-03-30 Thread Jonas Witschel via arch-commits
Date: Monday, March 30, 2020 @ 10:27:33
  Author: diabonas
Revision: 606722

upgpkg: texworks 0.6.5-2: respect makepkg CXXFLAGS and CPPFLAGS

Modified:
  texworks/trunk/PKGBUILD

--+
 PKGBUILD |   14 ++
 1 file changed, 6 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-03-30 10:01:57 UTC (rev 606721)
+++ PKGBUILD2020-03-30 10:27:33 UTC (rev 606722)
@@ -1,7 +1,7 @@
 # Maintainer: Jonas Witschel 
 pkgname=texworks
 pkgver=0.6.5
-pkgrel=1
+pkgrel=2
 pkgdesc='Unicode-based, TeX-aware editor with integrated PDF viewer'
 arch=('x86_64')
 url='https://www.tug.org/texworks/'
@@ -17,17 +17,15 @@
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/TeXworks/texworks/archive/release-$pkgver.tar.gz";)
 
sha512sums=('d97bb7c3ad7bbb402be80556027ef19076dae91bb9449df2b45d54e89b492e32b8d6f109d1bda9388424af6218866d84a8c296c9bc2ef644cf2fac0d4b24939e')
 
-prepare() {
-   mkdir build
-}
-
 build() {
-   cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_CXX_FLAGS="${CXXFLAGS} ${CPPFLAGS}" \
  -DTW_BUILD_ID='Arch Linux' \
  -DWITH_PYTHON=ON \
- "$srcdir/texworks-release-$pkgver"
-   make
+ -B build \
+ -S "texworks-release-$pkgver"
+   make -C build
 }
 
 check() {


[arch-commits] Commit in texworks/trunk (PKGBUILD)

2019-12-04 Thread Jonas Witschel via arch-commits
Date: Wednesday, December 4, 2019 @ 12:58:14
  Author: diabonas
Revision: 535188

upgpkg: texworks 0.6.3-6

Use system libsynctex instead of vendored copy.

Modified:
  texworks/trunk/PKGBUILD

--+
 PKGBUILD |   19 ---
 1 file changed, 12 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-12-04 12:43:21 UTC (rev 535187)
+++ PKGBUILD2019-12-04 12:58:14 UTC (rev 535188)
@@ -1,12 +1,12 @@
 # Maintainer: Jonas Witschel 
 pkgname=texworks
 pkgver=0.6.3
-pkgrel=5
+pkgrel=6
 pkgdesc='Unicode-based, TeX-aware editor with integrated PDF viewer'
 arch=('x86_64')
 url='https://www.tug.org/texworks/'
 license=('GPL')
-depends=('hunspell' 'poppler-qt5' 'qt5-script')
+depends=('hunspell' 'libsynctex' 'poppler-qt5' 'qt5-script')
 makedepends=('cmake' 'lua' 'python' 'qt5-tools')
 checkdepends=('gsfonts' 'poppler-data' 'xorg-server-xvfb')
 optdepends=('gsfonts: correctly display PDF files without embedded fonts'
@@ -17,20 +17,25 @@
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/TeXworks/texworks/archive/release-$pkgver.tar.gz";)
 
sha512sums=('389cf54441e74164fc842f2f293cdee45c6ff9fe202f262d32f3fb076de9a29813a62cd75052969293f2f784e0722215bbbf2206e75bc836a13d495bf5aed653')
 
+prepare() {
+   mkdir build
+}
+
 build() {
-   cd "texworks-release-$pkgver"
-   mkdir build
cd build
-   cmake -DCMAKE_INSTALL_PREFIX=/usr -DTW_BUILD_ID='Arch Linux' 
-DWITH_PYTHON=ON ..
+   cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DTW_BUILD_ID='Arch Linux' \
+ -DWITH_PYTHON=ON \
+ "$srcdir/texworks-release-$pkgver"
make
 }
 
 check() {
-   cd "texworks-release-$pkgver/build"
+   cd build
xvfb-run ctest --output-on-failure
 }
 
 package() {
-   cd "texworks-release-$pkgver/build"
+   cd build
make DESTDIR="$pkgdir" install
 }


[arch-commits] Commit in texworks/trunk (PKGBUILD)

2019-11-10 Thread Evangelos Foutras via arch-commits
Date: Sunday, November 10, 2019 @ 20:13:32
  Author: foutrelis
Revision: 526507

Python 3.8 rebuild

Modified:
  texworks/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-10 20:12:58 UTC (rev 526506)
+++ PKGBUILD2019-11-10 20:13:32 UTC (rev 526507)
@@ -1,7 +1,7 @@
 # Maintainer: Jonas Witschel 
 pkgname=texworks
 pkgver=0.6.3
-pkgrel=4
+pkgrel=5
 pkgdesc='Unicode-based, TeX-aware editor with integrated PDF viewer'
 arch=('x86_64')
 url='https://www.tug.org/texworks/'