Hello community,

here is the log from the commit of package occt for openSUSE:Factory checked in 
at 2019-02-08 12:14:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/occt (Old)
 and      /work/SRC/openSUSE:Factory/.occt.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "occt"

Fri Feb  8 12:14:03 2019 rev:3 rq:672432 version:7.3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/occt/occt.changes        2018-07-09 
13:29:30.254713185 +0200
+++ /work/SRC/openSUSE:Factory/.occt.new.28833/occt.changes     2019-02-08 
12:14:13.781450697 +0100
@@ -1,0 +2,7 @@
+Thu Feb  7 09:43:26 UTC 2019 - Adrian Schröter <[email protected]>
+
+- disable the exception disablement (boo#1121972)
+  (enable-exceptions.patch)
+- avoid remote mathjax resource (use-local-mathjax.patch)
+
+-------------------------------------------------------------------

New:
----
  enable-exceptions.patch
  use-local-mathjax.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ occt.spec ++++++
--- /var/tmp/diff_new_pack.A8siKL/_old  2019-02-08 12:14:18.493448932 +0100
+++ /var/tmp/diff_new_pack.A8siKL/_new  2019-02-08 12:14:18.497448931 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package occt
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -28,6 +28,8 @@
 # 
https://www.opencascade.com/sites/default/files/private/occt/OCC_%{version}_release/opencascade-%{version}.tgz
 Source0:        opencascade-%{version}.tgz
 Patch1:         fix_build.patch
+Patch2:         enable-exceptions.patch
+Patch3:         use-local-mathjax.patch
 Provides:       OpenCASCADE = %{version}
 BuildRequires:  bison
 BuildRequires:  cmake
@@ -35,6 +37,7 @@
 BuildRequires:  fdupes
 BuildRequires:  flex
 BuildRequires:  gcc-c++
+BuildRequires:  mathjax
 BuildRequires:  tcl-devel
 BuildRequires:  tk-devel
 BuildRequires:  pkgconfig(freetype2)
@@ -100,6 +103,10 @@
 %prep
 %setup -q -n opencascade-%{version}
 %patch1 -p0
+%patch2 -p0
+%patch3 -p0
+# update patch if the path is not matching anymore
+[ -e /usr/share/javascript/mathjax/MathJax.js ] || exit 1
 
 %build
 mkdir build && cd build

++++++ enable-exceptions.patch ++++++
--- adm/cmake/occt_defs_flags.cmake.orig        2019-02-07 10:41:53.526909609 
+0100
+++ adm/cmake/occt_defs_flags.cmake     2019-02-07 10:42:03.855179250 +0100
@@ -138,5 +138,3 @@
   set (CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -s")
 endif()
 
-set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -DNo_Exception")
-set (CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -DNo_Exception")
++++++ use-local-mathjax.patch ++++++
--- dox/CMakeLists.txt.orig     2019-02-07 11:25:05.122831455 +0100
+++ dox/CMakeLists.txt  2019-02-07 11:25:21.555265361 +0100
@@ -35,7 +35,7 @@
 # configuration file for doxygen
 set (OCCT_CONFIG_FOR_DOXYGEN "${OCCT_GENERATED_DOC_DIR}/occt.cfg")
 
-set (3RDPARTY_MATHJAX_RELATIVE_PATH 
"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1";)
+set (3RDPARTY_MATHJAX_RELATIVE_PATH "/usr/share/javascript/mathjax/MathJax.js")
 
 configure_file ("${OCCT_OVERVIEW_RESOURCE_DIR}/occt_ug_html.doxyfile" 
"${OCCT_CONFIG_FOR_DOXYGEN}" COPYONLY)
 

Reply via email to