New upstream release, pyqt patches

ubuntu/cosmic
Jonathan Carter 6 years ago
parent dd120c1367
commit 1f4f8beace

8
debian/changelog vendored

@ -1,3 +1,11 @@
calamares (3.2.1-1) unstable; urgency=medium
* New upstream release
* Update copyright file
* Apply patches from Paul Rodrigo Segura to re-enable pythonqt support.
-- Jonathan Carter <jcc@debian.org> Tue, 26 Jun 2018 14:33:04 +0200
calamares (3.2.0-1) unstable; urgency=medium
* New upstream release

4
debian/control vendored

@ -35,7 +35,9 @@ Build-Depends: cmake,
qtbase5-dev,
qtdeclarative5-dev,
qttools5-dev,
qttools5-dev-tools
qttools5-dev-tools,
libpythonqt-qt5-python3-dev,
libpythonqt-qtall-qt5-python3-dev
Standards-Version: 4.1.4
Homepage: https://github.com/calamares/calamares
Vcs-Browser: https://salsa.debian.org/qt-kde-team/kde-extras/calamares

5
debian/copyright vendored

@ -5,8 +5,11 @@ Source: https://github.com/calamares/calamares
Files: *
Copyright: 2017-2018, Adriaan de Groot <groot@kde.org>
2017-2018, Alf Gaida <agaida@siduction.org>
2017-2018, Gabriel Craciunescu <crazy@frugalware.org>
2018, Philip Müller <philm@manjaro.org>
2018, AlmAck <gluca86@gmail.com>
2018, Caio Carvalho <caiojcarvalho@gmail.com>
2017, Kyle Robbertze <krobbertze@gmail.com>
2017, Gabriel Craciunescu <crazy@frugalware.org>
2016, Artoo <artoo@manjaro.org>
2016, Luca Giambonini <almack@chakraos.org>
2016, Lisa Vitolo <shainer@chakraos.org>

@ -0,0 +1,21 @@
From: Raul Rodrigo Segura <raurodse@gmail.com>
Date: Fri, 4 May 2018 13:20:44 +0200
Subject: replace pkexec by sudo
---
calamares.desktop | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/calamares.desktop b/calamares.desktop
index f8be5d1..53c2424 100644
--- a/calamares.desktop
+++ b/calamares.desktop
@@ -5,7 +5,7 @@ Name=Install System
GenericName=System Installer
Keywords=calamares;system;installer
TryExec=calamares
-Exec=pkexec /usr/bin/calamares
+Exec=sudo /usr/bin/calamares
Comment=Calamares — System Installer
Icon=calamares
Terminal=false

@ -0,0 +1,30 @@
From: Raul Rodrigo Segura <raurodse@gmail.com>
Date: Thu, 14 Jun 2018 23:21:30 +0200
Subject: Add patch to compile with pythonQt
---
CMakeModules/FindPythonQt.cmake | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/CMakeModules/FindPythonQt.cmake b/CMakeModules/FindPythonQt.cmake
index f0f4b8a..23e61d3 100644
--- a/CMakeModules/FindPythonQt.cmake
+++ b/CMakeModules/FindPythonQt.cmake
@@ -24,7 +24,7 @@ string(REGEX REPLACE
)
if(NOT EXISTS "${PYTHONQT_INSTALL_DIR}")
- find_path(PYTHONQT_INSTALL_DIR include/PythonQt/PythonQt.h DOC "Directory where PythonQt was installed.")
+ find_path(PYTHONQT_INSTALL_DIR include/PythonQt5/PythonQt.h DOC "Directory where PythonQt was installed.")
endif()
# XXX Since PythonQt 3.0 is not yet cmakeified, depending
# on how PythonQt is built, headers will not always be
@@ -32,7 +32,7 @@ endif()
# is added as an option. See [1] for more details.
# [1] https://github.com/commontk/CTK/pull/538#issuecomment-86106367
find_path(PYTHONQT_INCLUDE_DIR PythonQt.h
- PATHS "${PYTHONQT_INSTALL_DIR}/include/PythonQt"
+ PATHS "${PYTHONQT_INSTALL_DIR}/include/PythonQt5"
"${PYTHONQT_INSTALL_DIR}/src"
DOC "Path to the PythonQt include directory")

@ -0,0 +1,21 @@
From: Raul Rodrigo Segura <raurodse@gmail.com>
Date: Mon, 18 Jun 2018 13:28:56 +0200
Subject: remove wrong path
---
src/libcalamaresui/modulesystem/PythonQtViewModule.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libcalamaresui/modulesystem/PythonQtViewModule.cpp b/src/libcalamaresui/modulesystem/PythonQtViewModule.cpp
index 88b0c20..858097e 100644
--- a/src/libcalamaresui/modulesystem/PythonQtViewModule.cpp
+++ b/src/libcalamaresui/modulesystem/PythonQtViewModule.cpp
@@ -29,7 +29,7 @@
#include "JobQueue.h"
#include <PythonQt.h>
-#include <extensions/PythonQt_QtAll/PythonQt_QtAll.h>
+#include <PythonQt_QtAll.h>
#include <QDir>
#include <QPointer>

@ -1 +1,3 @@
use-sudo-instead-of-pkexec
0001-replace-pkexec-by-sudo.patch
0002-Add-patch-to-compile-with-pythonQt.patch
0003-remove-wrong-path.patch

@ -1,15 +0,0 @@
Description: Use sudo instead of pkexec
Using pkexec breaks window detection and causes calamares to not start under GNOME.
Using sudo works fine and fixes above issues.
--- calamares-3.0.1.orig/calamares.desktop
+++ calamares-3.0.1/calamares.desktop
@@ -5,7 +5,7 @@ Name=Calamares
GenericName=System Installer
Keywords=calamares;system;installer
TryExec=calamares
-Exec=pkexec /usr/bin/calamares
+Exec=sudo /usr/bin/calamares
Comment=Calamares — System Installer
Icon=calamares
Terminal=false
Loading…
Cancel
Save