[arch-commits] Commit in ghostwriter/repos/community-x86_64 (4 files)

Balló György bgyorgy at archlinux.org
Thu Jul 23 10:01:14 UTC 2020


    Date: Thursday, July 23, 2020 @ 10:01:13
  Author: bgyorgy
Revision: 664989

archrelease: copy trunk to community-x86_64

Added:
  ghostwriter/repos/community-x86_64/PKGBUILD
    (from rev 664988, ghostwriter/trunk/PKGBUILD)
  ghostwriter/repos/community-x86_64/qt-5.15.patch
    (from rev 664988, ghostwriter/trunk/qt-5.15.patch)
Deleted:
  ghostwriter/repos/community-x86_64/PKGBUILD
  ghostwriter/repos/community-x86_64/qt-5.15.patch

---------------+
 PKGBUILD      |   83 +++++++++++++++++++++++++++++---------------------------
 qt-5.15.patch |   22 +++++++-------
 2 files changed, 55 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-23 10:01:10 UTC (rev 664988)
+++ PKGBUILD	2020-07-23 10:01:13 UTC (rev 664989)
@@ -1,39 +0,0 @@
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: Jakob Gahde <j5lx at fmail.co.uk>
-# Contributor: Bastien "neitsab" Traverse <firstname [at] lastname [dot] email>
-# Contributor: Icaro Perseo <icaroperseo[at]protonmail[dot]com>
-# Contributor: Philipp 'TamCore' B. <philipp [at] tamcore [dot] eu>
-
-pkgname=ghostwriter
-pkgver=1.8.1
-pkgrel=3
-pkgdesc="Aesthetic, distraction-free Markdown editor"
-arch=(x86_64)
-url="https://wereturtle.github.io/ghostwriter/"
-license=(GPL3)
-depends=(hunspell qt5-svg qt5-webengine)
-makedepends=(qt5-tools)
-optdepends=('cmark: processing and rendering CommonMark'
-            'pandoc: Pandoc supported Markdown flavors and export to various formats')
-source=("https://github.com/wereturtle/ghostwriter/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
-        "qt-5.15.patch")
-sha256sums=('2b73fed6a95ebcd45333fe4b12acb491eb4171fca8a11eea1af9bbdc73ed4b69'
-            'f97077cb0137f034c26f30996c6bc6b6835eeeaa55f96b57155434562cb1830c')
-
-prepare() {
-  cd $pkgname-$pkgver
-  patch -Np1 -i ../qt-5.15.patch
-  sed -i 's|DATADIR/appdata|DATADIR/metainfo|
-          /INSTALLS +=/ s/ pixmap//' ghostwriter.pro
-}
-
-build() {
-  cd $pkgname-$pkgver
-  qmake PREFIX=/usr
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make INSTALL_ROOT="$pkgdir" install
-}

Copied: ghostwriter/repos/community-x86_64/PKGBUILD (from rev 664988, ghostwriter/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-23 10:01:13 UTC (rev 664989)
@@ -0,0 +1,44 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Jakob Gahde <j5lx at fmail.co.uk>
+# Contributor: Bastien "neitsab" Traverse <firstname [at] lastname [dot] email>
+# Contributor: Icaro Perseo <icaroperseo[at]protonmail[dot]com>
+# Contributor: Philipp 'TamCore' B. <philipp [at] tamcore [dot] eu>
+
+pkgname=ghostwriter
+pkgver=1.8.1
+pkgrel=4
+pkgdesc="Aesthetic, distraction-free Markdown editor"
+arch=(x86_64)
+url="https://wereturtle.github.io/ghostwriter/"
+license=(GPL3)
+depends=(hunspell qt5-svg qt5-webengine)
+makedepends=(qt5-tools)
+optdepends=('cmark: processing and rendering CommonMark'
+            'cmark-gfm: processing and rendering GitHub Flavored Markdown'
+            'discount: processing and rendering Markdown'
+            'mathjax: formula rendering in live preview'
+            'pandoc: Pandoc supported Markdown flavors and export to various formats')
+source=("https://github.com/wereturtle/ghostwriter/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
+        "qt-5.15.patch")
+sha256sums=('2b73fed6a95ebcd45333fe4b12acb491eb4171fca8a11eea1af9bbdc73ed4b69'
+            'f97077cb0137f034c26f30996c6bc6b6835eeeaa55f96b57155434562cb1830c')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i ../qt-5.15.patch
+  sed -i 's/typeof window.MathJax.typeset !==/typeof window.MathJax !==/' resources/gw.js
+  sed -i 's|https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js|file:///usr/share/mathjax/tex-mml-chtml.js|' src/HtmlPreview.cpp
+  sed -i 's|DATADIR/appdata|DATADIR/metainfo|
+          /INSTALLS +=/ s/ pixmap//' ghostwriter.pro
+}
+
+build() {
+  cd $pkgname-$pkgver
+  qmake PREFIX=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+}

Deleted: qt-5.15.patch
===================================================================
--- qt-5.15.patch	2020-07-23 10:01:10 UTC (rev 664988)
+++ qt-5.15.patch	2020-07-23 10:01:13 UTC (rev 664989)
@@ -1,11 +0,0 @@
-diff -aur package.pristine/src/MarkdownEditor.cpp package.new/src/MarkdownEditor.cpp
---- package.pristine/src/MarkdownEditor.cpp	2020-02-23 01:49:46.000000000 +0100
-+++ package.new/src/MarkdownEditor.cpp	2020-06-09 10:45:40.380449821 +0200
-@@ -34,6 +34,7 @@
- #include <QUrl>
- #include <QPixmap>
- #include <QPainter>
-+#include <QPainterPath>
- #include <QFileInfo>
- #include <QDir>
- 

Copied: ghostwriter/repos/community-x86_64/qt-5.15.patch (from rev 664988, ghostwriter/trunk/qt-5.15.patch)
===================================================================
--- qt-5.15.patch	                        (rev 0)
+++ qt-5.15.patch	2020-07-23 10:01:13 UTC (rev 664989)
@@ -0,0 +1,11 @@
+diff -aur package.pristine/src/MarkdownEditor.cpp package.new/src/MarkdownEditor.cpp
+--- package.pristine/src/MarkdownEditor.cpp	2020-02-23 01:49:46.000000000 +0100
++++ package.new/src/MarkdownEditor.cpp	2020-06-09 10:45:40.380449821 +0200
+@@ -34,6 +34,7 @@
+ #include <QUrl>
+ #include <QPixmap>
+ #include <QPainter>
++#include <QPainterPath>
+ #include <QFileInfo>
+ #include <QDir>
+ 


More information about the arch-commits mailing list