summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-03-02 22:48:50 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-03-02 23:08:14 +0100
commit506f827c4f6bdbaf6c93463f2d8e6390d2be6a4e (patch)
tree35005eb91123544239e866753b00b29deb63e427 /media-gfx/freecad/files
parentdev-python/promises: version bump to 2.1 (diff)
downloadgentoo-506f827c4f6bdbaf6c93463f2d8e6390d2be6a4e.tar.gz
gentoo-506f827c4f6bdbaf6c93463f2d8e6390d2be6a4e.tar.bz2
gentoo-506f827c4f6bdbaf6c93463f2d8e6390d2be6a4e.zip
media-gfx/freecad: Add no-webkit patch
Bug: https://bugs.gentoo.org/620702 Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'media-gfx/freecad/files')
-rw-r--r--media-gfx/freecad/files/freecad-0.17_pre-no-webkit.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/media-gfx/freecad/files/freecad-0.17_pre-no-webkit.patch b/media-gfx/freecad/files/freecad-0.17_pre-no-webkit.patch
new file mode 100644
index 00000000000..60dcfed22c7
--- /dev/null
+++ b/media-gfx/freecad/files/freecad-0.17_pre-no-webkit.patch
@@ -0,0 +1,45 @@
+Description: Remove Qt4-Webkit dependency
+Author: Anton Gladky <gladk@debian.org>
+Bug-Debian: https://bugs.debian.org/784464
+Last-Update: 2017-09-06
+
+* asturm: tidied up and amended to use and not override BUILD_WEB
+
+--- a/src/Gui/DownloadManager.cpp
++++ b/src/Gui/DownloadManager.cpp
+@@ -33,7 +33,6 @@
+ #include <QMetaEnum>
+ #include <QSettings>
+ #include <QFileIconProvider>
+-#include <QWebSettings>
+
+ #include "DownloadItem.h"
+ #include "DownloadManager.h"
+@@ -224,11 +223,12 @@ void DownloadManager::updateRow()
+ ui->downloadsView->setRowHeight(row, item->minimumSizeHint().height());
+
+ bool remove = false;
++/*
+ QWebSettings *globalSettings = QWebSettings::globalSettings();
+ if (!item->downloading()
+ && globalSettings->testAttribute(QWebSettings::PrivateBrowsingEnabled))
+ remove = true;
+-
++*/
+ if (item->downloadedSuccessfully()
+ && removePolicy() == DownloadManager::SuccessFullDownload) {
+ remove = true;
+--- a/CMakeLists.txt 2018-03-02 22:39:46.374140506 +0100
++++ b/CMakeLists.txt 2018-03-02 22:41:59.904216932 +0100
+@@ -351,11 +351,6 @@
+ set(BUILD_MESH ON)
+ endif(BUILD_JTREADER)
+
+-#a runtime dependency
+-if(BUILD_START)
+- set(BUILD_WEB ON)
+-endif(BUILD_START)
+-
+ #leaving test module for someone else.
+ #image has none. as far as I can tell.
+ #mesh has none. as far as I can tell.