Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated v2.2.0 #4

Merged
merged 5 commits into from
Mar 2, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .azure-pipelines/azure-pipelines-osx.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .azure-pipelines/azure-pipelines-win.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions recipe/bld.bat
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
:: MSVC is preferred.
set CC=cl.exe
set CXX=cl.exe

mkdir build
cd build
cmake ^
-G "NMake Makefiles" ^
-D CMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% ^
-D CMAKE_BUILD_TYPE=Release ^
-D CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=ON ^
-D BUILD_TESTING=FALSE ^
%SRC_DIR%
if errorlevel 1 exit 1
nmake install

cmake --build . --config Release --target install
if errorlevel 1 exit 1
22 changes: 0 additions & 22 deletions recipe/cmake.patch

This file was deleted.

16 changes: 8 additions & 8 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
{% set name = "urdfdom" %}
{% set version = "1.0.4" %}
{% set version = "2.2.0" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://github.com/ros/{{ name }}/archive/{{ version }}.tar.gz
sha256: 8f3d56b0cbc4b84436d8baf4c8346cd2ee7ffb257bba5ddd9892c41bf516edc4
url: https://github.com/ros2/{{ name }}/archive/{{ version }}.tar.gz
sha256: 692b69311d6d18ebd54fea76d4d5320b6ea929ff1c676bc98caaf0be91bdc46e
patches:
- cmake.patch
- windows-install.patch
- remove_vendor.patch

build:
number: 0
skip: true # [win and vc<14]
run_exports:
- urdfdom
- {{ pin_subpackage('urdfdom', max_pin='x.x') }}

requirements:
build:
Expand All @@ -41,15 +40,16 @@ test:
- if exist %PREFIX%\\Library\\CMake\\urdfdom-config.cmake (exit 0) else (exit 1) # [win]

about:
home: http://github.com/ros/urdfdom
home: http://github.com/ros2/urdfdom
license: BSD-3-Clause
license_family: BSD
license_file: LICENSE
summary: 'URDF parser'
dev_url: https://github.com/ros/urdfdom
dev_url: https://github.com/ros2/urdfdom

extra:
recipe-maintainers:
- jcarpent
- wolfv
- lesteve
- seanyen
18 changes: 18 additions & 0 deletions recipe/remove_vendor.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -32,7 +32,6 @@

set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")

-find_package(tinyxml_vendor REQUIRED)
find_package(TinyXML REQUIRED)
include_directories(SYSTEM ${TinyXML_INCLUDE_DIRS})

@@ -44,7 +43,6 @@
set(CMAKE_CXX_STANDARD 14)
endif()

-find_package(console_bridge_vendor REQUIRED) # Provides console_bridge 0.4.0 on platforms without it.
find_package(console_bridge REQUIRED)
include_directories(SYSTEM ${console_bridge_INCLUDE_DIRS})
link_directories(${console_bridge_LIBRARY_DIRS})
19 changes: 0 additions & 19 deletions recipe/windows-install.patch

This file was deleted.