[arch-commits] Commit in texmacs/trunk (PKGBUILD texmacs-qt-5.15.patch)
Antonio Rojas
arojas at archlinux.org
Fri Nov 13 08:26:43 UTC 2020
Date: Friday, November 13, 2020 @ 08:26:43
Author: arojas
Revision: 400736
Update to 1.99.15
Modified:
texmacs/trunk/PKGBUILD
Deleted:
texmacs/trunk/texmacs-qt-5.15.patch
-----------------------+
PKGBUILD | 18 +++++-------------
texmacs-qt-5.15.patch | 34 ----------------------------------
2 files changed, 5 insertions(+), 47 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-13 07:41:52 UTC (rev 400735)
+++ PKGBUILD 2020-11-13 08:26:43 UTC (rev 400736)
@@ -2,7 +2,7 @@
# Contributor: Damir Perisa <damir.perisa at bluewin.ch> # Contributor: Christopher Reimer <c.reimer1993 at gmail.com>
pkgname=texmacs
-pkgver=1.99.13
+pkgver=1.99.15
pkgrel=1
pkgdesc="Free scientific text editor, inspired by TeX and GNU Emacs. WYSIWYG editor TeX-fonts and CAS-interface (Giac, GTybalt, Macaulay 2, Maxima, Octave, Pari, Qcl, R and Yacas) in one."
arch=('x86_64')
@@ -16,20 +16,12 @@
'imagemagick: convert images'
'aspell: spell checking')
makedepends=('ghostscript' 'cmake')
-source=(http://www.texmacs.org/Download/ftp/tmftp/source/TeXmacs-${pkgver}-src.tar.gz
- texmacs-qt-5.15.patch)
+source=(http://www.texmacs.org/Download/ftp/tmftp/source/TeXmacs-${pkgver}-src.tar.gz)
options=('!emptydirs')
-sha256sums=('02ad1c4b8ed0aa61501de97146300d7899605c25da827611ca4a40abbc07a9b4'
- '0e8555ce855977858565c7eedd415a22e640eea0f1ce69adce1be0396542200d')
+sha256sums=('6d4f2a34cdfe8b6266376bc7d2044c472fc4e9fa27f1afeb4d718729a2472827')
-prepare() {
- cd TeXmacs-${pkgver}
-
- patch -p1 -i ../texmacs-qt-5.15.patch # Fix build with Qt 5.15
-}
-
build() {
- cd TeXmacs-${pkgver}
+ cd TeXmacs-${pkgver}-src
mkdir -p build
cd build
@@ -41,7 +33,7 @@
}
package() {
- cd TeXmacs-${pkgver}/build
+ cd TeXmacs-${pkgver}-src/build
make DESTDIR=${pkgdir} install
# fix fig2ps script
Deleted: texmacs-qt-5.15.patch
===================================================================
--- texmacs-qt-5.15.patch 2020-11-13 07:41:52 UTC (rev 400735)
+++ texmacs-qt-5.15.patch 2020-11-13 08:26:43 UTC (rev 400736)
@@ -1,34 +0,0 @@
-From 3cf56af92326b74538f5e943928199ba6e963d0b Mon Sep 17 00:00:00 2001
-From: rezso <rezso at rezso.net>
-Date: Wed, 3 Jun 2020 19:33:29 +0200
-Subject: [PATCH] Fix build with Qt 5.15
-
----
- src/Plugins/Qt/QTMStyle.cpp | 1 +
- src/Plugins/Qt/qt_renderer.cpp | 1 +
- 2 files changed, 2 insertions(+)
-
-diff --git a/src/Plugins/Qt/QTMStyle.cpp b/src/Plugins/Qt/QTMStyle.cpp
-index e1c05ece3..2bc819fac 100644
---- a/src/Plugins/Qt/QTMStyle.cpp
-+++ b/src/Plugins/Qt/QTMStyle.cpp
-@@ -18,6 +18,7 @@
- #include <QStyleOptionMenuItem>
- #include <qdrawutil.h>
- #include <QPainter>
-+#include <QPainterPath>
- #include <QMainWindow>
-
- int
-diff --git a/src/Plugins/Qt/qt_renderer.cpp b/src/Plugins/Qt/qt_renderer.cpp
-index ceba13939..776759bcf 100644
---- a/src/Plugins/Qt/qt_renderer.cpp
-+++ b/src/Plugins/Qt/qt_renderer.cpp
-@@ -21,6 +21,7 @@
- #include <QObject>
- #include <QWidget>
- #include <QPaintDevice>
-+#include <QPainterPath>
- #include <QPixmap>
-
- /******************************************************************************
More information about the arch-commits
mailing list