[arch-commits] Commit in subsurface/trunk (PKGBUILD delete.patch include.patch)

Gaëtan Bisson bisson at archlinux.org
Fri Jun 29 20:28:08 UTC 2018


    Date: Friday, June 29, 2018 @ 20:28:07
  Author: bisson
Revision: 347777

upstream update

Modified:
  subsurface/trunk/PKGBUILD
Deleted:
  subsurface/trunk/delete.patch
  subsurface/trunk/include.patch

---------------+
 PKGBUILD      |   18 ++++--------------
 delete.patch  |   37 -------------------------------------
 include.patch |   35 -----------------------------------
 3 files changed, 4 insertions(+), 86 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-29 20:23:05 UTC (rev 347776)
+++ PKGBUILD	2018-06-29 20:28:07 UTC (rev 347777)
@@ -4,8 +4,8 @@
 
 pkgname=subsurface
 _pkgname=Subsurface
-pkgver=4.7.8
-pkgrel=3
+pkgver=4.8.0
+pkgrel=1
 pkgdesc='Divelog program'
 url='https://subsurface-divelog.org/'
 license=('GPL2')
@@ -14,21 +14,11 @@
 depends=('libzip' 'libxml2' 'libxslt' 'sqlite' 'libusb' 'libgit2'
          'subsurface-libdc' 'qt5-svg' 'qt5-location'
          'qt5-connectivity' 'qt5-webkit' 'grantlee' 'googlemaps')
-source=("https://subsurface-divelog.org/downloads/${_pkgname}-${pkgver}.tgz"
-        'include.patch'
-        'delete.patch')
-sha256sums=('da7c09bcc63e0b3bc6e1ce5411a4f1e38a73e6e37bce15055657d840c78b07fa'
-            '05d8ed15a42b691043617f9a5e53047db49ab7dc288778300f8c433c644e70b1'
-            '59135a6917643be1608eb88db1dc81a740c8b0cff01f9ed62fa80e7d7523ee47')
+source=("https://subsurface-divelog.org/downloads/${_pkgname}-${pkgver}.tgz")
+sha256sums=('98a5eb7541e22f7805849c668e11ff47ad8c0347dc9a93af5cb21919d48e9e52')
 
 # qt5-webkit still used for: printing, manual, facebook
 
-prepare() {
-	cd "${srcdir}/${_pkgname}-${pkgver}"
-	patch -p1 -i ../include.patch
-	patch -p1 -i ../delete.patch
-}
-
 build() {
 	cd "${srcdir}/${_pkgname}-${pkgver}"
 	install -d build

Deleted: delete.patch
===================================================================
--- delete.patch	2018-06-29 20:23:05 UTC (rev 347776)
+++ delete.patch	2018-06-29 20:28:07 UTC (rev 347777)
@@ -1,37 +0,0 @@
-From 479eccd89ae138ecab5bf6513d5ee5051137797e Mon Sep 17 00:00:00 2001
-From: Berthold Stoeger <bstoeger at mail.tuwien.ac.at>
-Date: Thu, 24 May 2018 22:57:02 +0200
-Subject: [PATCH] Cleanup: Don't defer deletion of oldModel in
- DiveListView::reload()
-
-There seems to be no point in using deleteLater() of the previous
-model. Set the new model and delete the old one.
-
-Signed-off-by: Berthold Stoeger <bstoeger at mail.tuwien.ac.at>
----
- desktop-widgets/divelistview.cpp | 5 ++---
- 1 file changed, 2 insertions(+), 3 deletions(-)
-
-diff --git a/desktop-widgets/divelistview.cpp b/desktop-widgets/divelistview.cpp
-index 659d8e842..999edd39c 100644
---- a/desktop-widgets/divelistview.cpp
-+++ b/desktop-widgets/divelistview.cpp
-@@ -425,13 +425,12 @@ void DiveListView::reload(DiveTripModel::Layout layout, bool forceSort)
- 
- 	QSortFilterProxyModel *m = qobject_cast<QSortFilterProxyModel *>(model());
- 	QAbstractItemModel *oldModel = m->sourceModel();
--	if (oldModel) {
--		oldModel->deleteLater();
--	}
- 	tripModel = new DiveTripModel(this);
- 	tripModel->setLayout(layout);
- 
- 	m->setSourceModel(tripModel);
-+	if (oldModel)
-+		delete oldModel;
- 
- 	if (!forceSort)
- 		return;
--- 
-2.14.1
-

Deleted: include.patch
===================================================================
--- include.patch	2018-06-29 20:23:05 UTC (rev 347776)
+++ include.patch	2018-06-29 20:28:07 UTC (rev 347777)
@@ -1,35 +0,0 @@
-From d3af836467a2c1a4913eb9e444632d834c7a335c Mon Sep 17 00:00:00 2001
-From: Gaetan Bisson <bisson at archlinux.org>
-Date: Tue, 22 May 2018 21:55:49 -1000
-Subject: [PATCH] Fix includes for building against Qt-5.11.0
-
-Signed-off-by: Gaetan Bisson <bisson at archlinux.org>
----
- desktop-widgets/divelistview.cpp | 1 +
- desktop-widgets/templateedit.cpp | 1 +
- 2 files changed, 2 insertions(+)
-
-diff --git a/desktop-widgets/divelistview.cpp b/desktop-widgets/divelistview.cpp
-index e45563680..659d8e842 100644
---- a/desktop-widgets/divelistview.cpp
-+++ b/desktop-widgets/divelistview.cpp
-@@ -18,6 +18,7 @@
- #include <QNetworkReply>
- #include <QStandardPaths>
- #include <QMessageBox>
-+#include <QHeaderView>
- #include "core/qthelper.h"
- #include "desktop-widgets/undocommands.h"
- #include "desktop-widgets/divelistview.h"
-diff --git a/desktop-widgets/templateedit.cpp b/desktop-widgets/templateedit.cpp
-index 4af1666e0..82b02c324 100644
---- a/desktop-widgets/templateedit.cpp
-+++ b/desktop-widgets/templateedit.cpp
-@@ -5,6 +5,7 @@
- #include "ui_templateedit.h"
- 
- #include <QMessageBox>
-+#include <QButtonGroup>
- #include <QColorDialog>
- 
- TemplateEdit::TemplateEdit(QWidget *parent, struct print_options *printOptions, struct template_options *templateOptions) :



More information about the arch-commits mailing list