commit 833f681b37212a12a1a6374c87c7540563b00c82
Author: Jan Rękorajski <[email protected]>
Date:   Sun Nov 4 14:10:20 2018 +0100

    - up to 3.5.1

 PyQt5-sip.patch | 11 +++++++++++
 libArcus.spec   |  8 +++++---
 2 files changed, 16 insertions(+), 3 deletions(-)
---
diff --git a/libArcus.spec b/libArcus.spec
index 8d003e2..bff339e 100644
--- a/libArcus.spec
+++ b/libArcus.spec
@@ -1,12 +1,13 @@
 Summary:       Communication library between internal components for Ultimaker 
software
 Summary(pl.UTF-8):     Biblioteka komunikacji między wewnętrznymi komponentami 
oprogramowania Ultimaker
 Name:          libArcus
-Version:       2.5.0
-Release:       4
+Version:       3.5.1
+Release:       1
 License:       AGPL v3+
 Group:         Libraries
 Source0:       
https://github.com/Ultimaker/libArcus/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: a8f83c896793262967971b7a94fe3082
+# Source0-md5: 2a04e6b07778c99d0962ce4e2c650559
+Patch0:                PyQt5-sip.patch
 URL:           https://github.com/Ultimaker/libArcus
 BuildRequires: cmake >= 2.8.12
 BuildRequires: libstdc++-devel >= 6:4.7
@@ -63,6 +64,7 @@ backendem i podobnym kodem.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 mkdir build
diff --git a/PyQt5-sip.patch b/PyQt5-sip.patch
new file mode 100644
index 0000000..ccfd1bf
--- /dev/null
+++ b/PyQt5-sip.patch
@@ -0,0 +1,11 @@
+--- libArcus-3.5.1/CMakeLists.txt~     2018-06-29 09:39:16.000000000 +0200
++++ libArcus-3.5.1/CMakeLists.txt      2018-11-04 12:51:51.067737106 +0100
+@@ -90,7 +90,7 @@
+ if(BUILD_PYTHON)
+     set(SIP_EXTRA_FILES_DEPEND python/SocketListener.sip python/Types.sip 
python/PythonMessage.sip python/Error.sip)
+     set(SIP_EXTRA_SOURCE_FILES python/PythonMessage.cpp)
+-    set(SIP_EXTRA_OPTIONS -g) # -g means always release the GIL before 
calling C++ methods.
++    set(SIP_EXTRA_OPTIONS -g -n PyQt5.sip) # -g means always release the GIL 
before calling C++ methods.
+     add_sip_python_module(Arcus python/Socket.sip Arcus)
+ endif()
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libArcus.git/commitdiff/833f681b37212a12a1a6374c87c7540563b00c82

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to