Github messages for voidlinux
 help / color / mirror / Atom feed
From: gt7-void <gt7-void@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: GoldenCheetah-3.5
Date: Sun, 26 Jul 2020 04:55:58 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23839@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 618 bytes --]

There is a new pull request by gt7-void against master on the void-packages repository

https://github.com/gt7-void/void-packages GoldenCheetah
https://github.com/void-linux/void-packages/pull/23839

New package: GoldenCheetah-3.5
Performance Software for Cyclists, Runners and Triathletes

http://www.goldencheetah.org/

Free alternative to garmin connect.

NOTE: qwt is included in the source, it is a /different/ branch of qwt than the stable one void ships. I did try to compile using the qwt from void but it fails.

A patch file from https://github.com/void-linux/void-packages/pull/23839.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-GoldenCheetah-23839.patch --]
[-- Type: text/x-diff, Size: 3397 bytes --]

From 9814cd118047c49920c8545a919f3954392ed512 Mon Sep 17 00:00:00 2001
From: gt7-void <gt7@mail.com>
Date: Sat, 25 Jul 2020 22:30:21 -0300
Subject: [PATCH] New package: GoldenCheetah-3.5

---
 .../GoldenCheetah/patches/qt5-5.15.0.patch    | 58 +++++++++++++++++++
 srcpkgs/GoldenCheetah/template                | 26 +++++++++
 2 files changed, 84 insertions(+)
 create mode 100644 srcpkgs/GoldenCheetah/patches/qt5-5.15.0.patch
 create mode 100644 srcpkgs/GoldenCheetah/template

diff --git a/srcpkgs/GoldenCheetah/patches/qt5-5.15.0.patch b/srcpkgs/GoldenCheetah/patches/qt5-5.15.0.patch
new file mode 100644
index 00000000000..5b124dd1756
--- /dev/null
+++ b/srcpkgs/GoldenCheetah/patches/qt5-5.15.0.patch
@@ -0,0 +1,58 @@
+Source: @pullmoll
+Upstream: no
+Reason: qt5-5.15.0 requires explicit include for QPainterPath
+
+--- qwt/src/qwt_painter.h	2019-01-02 17:21:30.232435482 +0100
++++ qwt/src/qwt_painter.h	2020-07-14 16:47:54.577577031 +0200
+@@ -17,6 +17,7 @@
+ #include <qpen.h>
+ #include <qline.h>
+ #include <qpalette.h>
++#include <qpainterpath.h>
+ 
+ class QPainter;
+ class QBrush;
+@@ -31,7 +32,6 @@
+ class QwtInterval;
+ 
+ class QTextDocument;
+-class QPainterPath;
+ 
+ /*!
+   \brief A collection of QPainter workarounds
+--- qwt/src/qwt_null_paintdevice.cpp	2019-01-02 17:21:31.296461212 +0100
++++ qwt/src/qwt_null_paintdevice.cpp	2020-07-14 16:49:13.479579545 +0200
+@@ -9,6 +9,7 @@
+ 
+ #include "qwt_null_paintdevice.h"
+ #include <qpaintengine.h>
++#include <qpainterpath.h>
+ #include <qpixmap.h>
+ 
+ class QwtNullPaintDevice::PrivateData
+--- qwt/src/qwt_painter_command.h	2019-01-02 17:21:30.320437610 +0100
++++ qwt/src/qwt_painter_command.h	2020-07-14 16:50:38.501582253 +0200
+@@ -12,12 +12,11 @@
+ 
+ #include "qwt_global.h"
+ #include <qpaintengine.h>
++#include <qpainterpath.h>
+ #include <qpixmap.h>
+ #include <qimage.h>
+ #include <qpolygon.h>
+ 
+-class QPainterPath;
+-
+ /*!
+   QwtPainterCommand represents the attributes of a paint operation
+   how it is used between QPainter and QPaintDevice
+--- qwt/src/qwt_plot_glcanvas.h	2019-01-02 17:21:30.204434804 +0100
++++ qwt/src/qwt_plot_glcanvas.h	2020-07-14 16:52:54.074586572 +0200
+@@ -13,6 +13,7 @@
+ #include "qwt_global.h"
+ #include <qframe.h>
+ #include <qgl.h>
++#include <qpainterpath.h>
+ 
+ class QwtPlot;
+ 
diff --git a/srcpkgs/GoldenCheetah/template b/srcpkgs/GoldenCheetah/template
new file mode 100644
index 00000000000..6163bf95159
--- /dev/null
+++ b/srcpkgs/GoldenCheetah/template
@@ -0,0 +1,26 @@
+# Template file for 'GoldenCheetah'
+pkgname=GoldenCheetah
+version=3.5
+revision=1
+build_style=qmake
+hostmakedepends="qt5-qmake qt5-host-tools bison flex"
+makedepends="qt5-devel qt5-charts-devel qt5-connectivity-devel
+	qt5-multimedia-devel qt5-serialport-devel qt5-svg-devel
+	qt5-webkit-devel zlib-devel"
+short_desc="Performance Software for Cyclists, Runners and Triathletes"
+maintainer="gt7-void <gt7@mail.com>"
+license="GPL-2.0-or-later"
+homepage="http://www.goldencheetah.org/"
+distfiles="https://github.com/GoldenCheetah/GoldenCheetah/archive/V$version.tar.gz"
+checksum=d5a12a71b9bd49ec8224aca51807155cddc8863b69abc1c48e54084014115020
+
+pre_configure() {
+	cp "qwt/qwtconfig.pri.in" "qwt/qwtconfig.pri"
+
+	echo "QMAKE_LRELEASE = /usr/bin/lrelease" > src/gcconfig.pri
+	echo "LIBZ_LIBS = -lz" >> src/gcconfig.pri
+}
+
+do_install() {
+	vbin "src/GoldenCheetah"
+}

             reply	other threads:[~2020-07-26  2:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-26  2:55 gt7-void [this message]
2020-07-26  3:12 ` [PR REVIEW] " ericonr
2020-07-26  3:15 ` ericonr
2020-07-26 15:13 ` [PR PATCH] [Updated] " gt7-void
2020-07-26 15:23 ` [PR REVIEW] " gt7-void
2020-07-26 15:30 ` gt7-void
2020-07-26 15:31 ` gt7-void
2020-07-27  2:14 ` [PR PATCH] [Updated] " gt7-void
2020-07-27  3:21 ` gt7-void
2022-04-18  2:11 ` github-actions
2022-05-02  2:15 ` [PR PATCH] [Closed]: " github-actions

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23839@inbox.vuxu.org \
    --to=gt7-void@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).