[arch-commits] Commit in wxmaxima/trunk (8bc9d69b.patch PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sun Nov 11 21:19:16 UTC 2018
Date: Sunday, November 11, 2018 @ 21:19:16
Author: arojas
Revision: 339288
Update to 18.10.2, fix FS#60704
Added:
wxmaxima/trunk/8bc9d69b.patch
Modified:
wxmaxima/trunk/PKGBUILD
----------------+
8bc9d69b.patch | 25 +++++++++++++++++++++++++
PKGBUILD | 15 +++++++++++----
2 files changed, 36 insertions(+), 4 deletions(-)
Added: 8bc9d69b.patch
===================================================================
--- 8bc9d69b.patch (rev 0)
+++ 8bc9d69b.patch 2018-11-11 21:19:16 UTC (rev 339288)
@@ -0,0 +1,25 @@
+From 8bc9d69bd9d2d66d890446af774a60bdca8179b1 Mon Sep 17 00:00:00 2001
+From: Mariusz Libera <mariusz.libera at gmail.com>
+Date: Wed, 7 Nov 2018 16:28:33 +0100
+Subject: [PATCH] fix wxgtk2 and wxgtk3 (#1049)
+
+based on changes suggested by @kosilin
+however I'm not sure if antialiassing works properly in wxgtk3 now
+---
+ src/MathCtrl.cpp | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/MathCtrl.cpp b/src/MathCtrl.cpp
+index 6e14afcd..d1e28cff 100644
+--- a/src/MathCtrl.cpp
++++ b/src/MathCtrl.cpp
+@@ -386,7 +386,7 @@ void MathCtrl::OnPaint(wxPaintEvent &WXUNUSED(event))
+
+ wxGCDC antiAliassingDC(dcm);
+
+- #ifdef __WXGTK__
++ #if defined(__WXGTK__) && !defined(__WXGTK3__)
+ // Seems like depending on the wxGTK version the antialiassing DC doesn't inherit the
+ // scrolling info from the normal DC.
+ //
+
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-11 20:15:00 UTC (rev 339287)
+++ PKGBUILD 2018-11-11 21:19:16 UTC (rev 339288)
@@ -3,17 +3,24 @@
# Contributor: Vinay S Shastry <vinayshastry at gmail.com>
pkgname=wxmaxima
-pkgver=18.10.1
+pkgver=18.10.2
pkgrel=1
pkgdesc="A wxWidgets GUI for the computer algebra system Maxima"
arch=('x86_64')
url="https://wxmaxima-developers.github.io/wxmaxima/"
license=('GPL2')
-depends=('maxima' 'libxml2' 'wxgtk3' 'ttf-linux-libertine')
+depends=('maxima' 'wxgtk3' 'ttf-linux-libertine')
makedepends=('cmake')
-source=($pkgname-$pkgver.tar.gz::"https://github.com/wxMaxima-developers/wxmaxima/archive/Version-${pkgver}.tar.gz")
-sha512sums=('fc1e3680482bef7f2f9adaacfafc76eefdc7f11278bb7eb2012c9988d33990b5afede88574f86ea80e192479624c1c7f2cd4b3964568c467545a8cc656142fbb')
+source=($pkgname-$pkgver.tar.gz::"https://github.com/wxMaxima-developers/wxmaxima/archive/Version-${pkgver}.tar.gz"
+ 8bc9d69b.patch)
+sha512sums=('96cabe17a1df4134d991c4a1104da76375429038da03df6a09729b8afaf279788cb0859d723bb1c9cf3e24782f63aeb198b9407515108e0e637c48c410b70a37'
+ 'f9d083e3f752ca6bc04c152419b6bb1a71d3e5c25934de90cdf968240fe21d3574b180da7915acebaf15550f93a894e2505f1b4c9c3fc7b48caeee9bb3fab9af')
+prepare() {
+ cd $pkgname-Version-$pkgver
+ patch -p1 -i ../8bc9d69b.patch # https://bugs.archlinux.org/task/60704
+}
+
build() {
cd ${pkgname}-Version-${pkgver}
cmake . \
More information about the arch-commits
mailing list