[packages/lib2geom] correct boost include dirs var name; rel 6

atler atler at pld-linux.org
Thu Mar 20 01:59:26 CET 2025


commit 9f9e422f894a9ce7a30fa40a74cccc91b8aba6de
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Mar 20 00:04:15 2025 +0100

    correct boost include dirs var name; rel 6

 boost.patch   | 11 +++++++++++
 lib2geom.spec |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/lib2geom.spec b/lib2geom.spec
index 9594909..0c76422 100644
--- a/lib2geom.spec
+++ b/lib2geom.spec
@@ -9,7 +9,7 @@ Summary:	2Geom - easy 2D graphics library
 Summary(pl.UTF-8):	2Geom - łatwa biblioteka do grafiki 2D
 Name:		lib2geom
 Version:	1.3
-Release:	5
+Release:	6
 License:	LGPL v2.1 or MPL v1.1
 Group:		Libraries
 #Source0Download: https://gitlab.com/inkscape/lib2geom/-/tags
@@ -17,6 +17,7 @@ Source0:	https://gitlab.com/inkscape/lib2geom/-/archive/%{version}/%{name}-%{ver
 # Source0-md5:	8e218809019702382465c5da8448dbda
 Patch0:		%{name}-pc.patch
 Patch1:		%{name}-python-install.patch
+Patch2:		boost.patch
 URL:		https://gitlab.com/inkscape/lib2geom
 BuildRequires:	boost-devel >= 1.60
 %{?with_python:BuildRequires:	boost-python3-devel >= 1.60}
@@ -78,6 +79,7 @@ Wiązania Pythona do lib2geom oparte na bibliotece Boost.
 %setup -q
 %patch -P 0 -p1
 %patch -P 1 -p1
+%patch -P 2 -p1
 
 %build
 install -d build
diff --git a/boost.patch b/boost.patch
new file mode 100644
index 0000000..1d0615d
--- /dev/null
+++ b/boost.patch
@@ -0,0 +1,11 @@
+--- lib2geom-1.3/src/py2geom/CMakeLists.txt.orig	2025-03-19 23:46:04.008752835 +0100
++++ lib2geom-1.3/src/py2geom/CMakeLists.txt	2025-03-20 00:00:23.697451910 +0100
+@@ -94,7 +94,7 @@
+ 	    SET(CMAKE_SHARED_LIBRARY_SUFFIX ".so")
+         ENDIF(WIN32)
+ 
+-	INCLUDE_DIRECTORIES( src/ ${Python3_INCLUDE_DIRS} ${Boost_INCLUDE_DIR} )
++        INCLUDE_DIRECTORIES( src/ ${Python3_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} )
+         ADD_LIBRARY(py2geom SHARED ${2GEOM_BOOST_PYTHON_SRC})
+         SET_TARGET_PROPERTIES(py2geom PROPERTIES PREFIX "_")
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lib2geom.git/commitdiff/9f9e422f894a9ce7a30fa40a74cccc91b8aba6de



More information about the pld-cvs-commit mailing list