From f5d0c88653b43beaff0deafcf2e8ae41ab517157 Mon Sep 17 00:00:00 2001 From: Aditya Alok Date: Wed, 12 Nov 2025 23:28:48 +0530 Subject: [PATCH] bump(main/libdart): 6.16.0 Signed-off-by: Aditya Alok --- packages/libdart/CMakeLists.txt.patch | 22 +++++----------------- packages/libdart/build.sh | 5 ++--- packages/libdart/cmake-dart.pc.in.patch | 18 +++++++----------- 3 files changed, 14 insertions(+), 31 deletions(-) diff --git a/packages/libdart/CMakeLists.txt.patch b/packages/libdart/CMakeLists.txt.patch index dd6c126e0f082a..b990b292faed21 100644 --- a/packages/libdart/CMakeLists.txt.patch +++ b/packages/libdart/CMakeLists.txt.patch @@ -1,9 +1,7 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index a3389d89fc62..7c1952f5d584 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -334,15 +334,6 @@ if(TARGET dart) - add_subdirectory(unittests EXCLUDE_FROM_ALL) +--- a/CMakeLists.txt 2025-11-12 23:26:18.092349694 +0530 ++++ b/CMakeLists.txt 2025-11-12 23:26:30.042038277 +0530 +@@ -391,14 +391,6 @@ + endif() endif() - # Add example subdirectories and an "examples" target. @@ -14,16 +12,6 @@ index a3389d89fc62..7c1952f5d584 100644 - get_property(examples GLOBAL PROPERTY DART_EXAMPLES) - add_custom_target(examples DEPENDS ${examples}) - endif() -- + if(DART_VERBOSE) message(STATUS "") - message(STATUS "[ Examples ]") -@@ -456,7 +447,7 @@ install( - # Generate the DART pkg-config - set(PC_CONFIG_IN ${DART_SOURCE_DIR}/cmake/dart.pc.in) - set(PC_CONFIG_OUT ${DART_BINARY_DIR}/cmake/dart.pc) --set(PC_CONFIG_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/pkgconfig) -+set(PC_CONFIG_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR}/pkgconfig) - file(RELATIVE_PATH - RELATIVE_PATH_TO_INSTALL_PREFIX - "${PC_CONFIG_INSTALL_DIR}" diff --git a/packages/libdart/build.sh b/packages/libdart/build.sh index bf7e9c7b1efa2c..04a322498b5bbb 100644 --- a/packages/libdart/build.sh +++ b/packages/libdart/build.sh @@ -3,10 +3,9 @@ TERMUX_PKG_DESCRIPTION="Dynamic Animation and Robotics Toolkit" TERMUX_PKG_GROUPS="science" TERMUX_PKG_LICENSE="BSD 2-Clause" TERMUX_PKG_MAINTAINER="Pooya Moradi " -TERMUX_PKG_VERSION="6.15.0" -TERMUX_PKG_REVISION=1 +TERMUX_PKG_VERSION="6.16.0" TERMUX_PKG_SRCURL="https://github.com/dartsim/dart/archive/refs/tags/v$TERMUX_PKG_VERSION.tar.gz" -TERMUX_PKG_SHA256=bbf954e283f464f6d0a8a5ab43ce92fd49ced357ccdd986c7cb4c29152df8692 +TERMUX_PKG_SHA256=a036d943688fdd6fb34f140a1f3e8d44376361a265b734a3702da5dea9f75786 TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_EXCLUDED_ARCHES="arm, i686" # FIXME add ipopt, nlopt, snopt after a proper FORTRAN compiler is diff --git a/packages/libdart/cmake-dart.pc.in.patch b/packages/libdart/cmake-dart.pc.in.patch index 7321d1c182fe9f..e8e8a76b11beab 100644 --- a/packages/libdart/cmake-dart.pc.in.patch +++ b/packages/libdart/cmake-dart.pc.in.patch @@ -1,19 +1,15 @@ ---- a/cmake/dart.pc.in -+++ b/cmake/dart.pc.in -@@ -1,12 +1,12 @@ +--- a/cmake/dart.pc.in 2025-11-12 22:05:04.784017757 +0530 ++++ b/cmake/dart.pc.in 2025-11-13 22:42:35.339249208 +0530 +@@ -1,5 +1,5 @@ # This file was generated by CMake for @PROJECT_NAME@ -prefix=${pcfiledir}/@RELATIVE_PATH_TO_INSTALL_PREFIX@ +prefix=@CMAKE_INSTALL_PREFIX@ exec_prefix=${prefix} --libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ --includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@/dart -+libdir=@CMAKE_INSTALL_LIBDIR@ -+includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@ - - Name: @PROJECT_NAME@ - Description: @DART_PKG_DESC@ + libdir=@PC_LIBDIR@ + includedir=@PC_INCLUDEDIR@/dart +@@ -9,4 +9,4 @@ Version: @DART_VERSION@ Requires: @DART_PKG_EXTERNAL_DEPS@ Libs: -L${libdir} -ldart -Cflags: @CMAKE_CXX_FLAGS@ -+Cflags: -I${includedir} ++Cflags: -I@PC_INCLUDEDIR@