git: 71a4cedd0383 - main - science/libkml: Update to newer snapshot (916a801)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 31 Aug 2022 11:42:48 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=71a4cedd0383a76f847f0fa1ab32b9209df20959 commit 71a4cedd0383a76f847f0fa1ab32b9209df20959 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-08-31 11:21:46 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-08-31 11:40:53 +0000 science/libkml: Update to newer snapshot (916a801) - Bump PORTREVISION for package change Local patches have been merged by upstream in 916a801 [1]. Changes: https://github.com/libkml/libkml/commits/master Reference: https://github.com/libkml/libkml/commit/916a801ed3143ab82c07ec108bad271aa441da16 [1] --- science/libkml/Makefile | 12 ++++++++---- science/libkml/distinfo | 6 +++--- .../libkml/files/patch-examples-domviewer-CMakeLists.txt | 7 ------- science/libkml/files/patch-examples-engine-CMakeLists.txt | 9 --------- science/libkml/files/patch-examples-gpx-CMakeLists.txt | 9 --------- science/libkml/files/patch-examples-gx-CMakeLists.txt | 10 ---------- .../libkml/files/patch-examples-hellonet-CMakeLists.txt | 14 -------------- science/libkml/files/patch-examples-java-CMakeLists.txt | 13 ------------- science/libkml/files/patch-examples-kml-CMakeLists.txt | 9 --------- science/libkml/files/patch-examples-python-CMakeLists.txt | 9 --------- .../libkml/files/patch-examples-regionator-CMakeLists.txt | 9 --------- science/libkml/files/patch-examples-xsd-CMakeLists.txt | 11 ----------- science/libkml/pkg-plist | 13 +++++++------ 13 files changed, 18 insertions(+), 113 deletions(-) diff --git a/science/libkml/Makefile b/science/libkml/Makefile index fa90705fd7d6..d71ac7da15cc 100644 --- a/science/libkml/Makefile +++ b/science/libkml/Makefile @@ -1,6 +1,6 @@ PORTNAME= libkml PORTVERSION= 1.3.0 -PORTREVISION= 23 +PORTREVISION= 24 CATEGORIES= science MAINTAINER= sunpoet@FreeBSD.org @@ -9,21 +9,25 @@ COMMENT= Reference implementation of OGC KML 2.2 LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= boost-libs>=1.44.0:devel/boost-libs +BUILD_DEPENDS= boost-libs>=1.55.0:devel/boost-libs \ + expat>=2.1.0:textproc/expat2 \ + uriparser>=0.7.5:net/uriparser LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libexpat.so:textproc/expat2 \ liburiparser.so:net/uriparser -OPTIONS_DEFINE= EXAMPLES - USES= cmake compiler:c11 minizip pathfix CMAKE_OFF= BUILD_TESTING WITH_JAVA WITH_PYTHON WITH_SWIG CMAKE_ON= BUILD_SHARED_LIBS +LDFLAGS+= -lz USE_CXXSTD= gnu++98 USE_LDCONFIG= yes USE_GITHUB= yes +GH_TAGNAME= 916a801 + +OPTIONS_DEFINE= EXAMPLES EXAMPLES_CMAKE_BOOL= BUILD_EXAMPLES INSTALL_EXAMPLES EXAMPLES_CMAKE_ON= -DKML_EXAMPLES_DIR=${EXAMPLESDIR} diff --git a/science/libkml/distinfo b/science/libkml/distinfo index 95bb121b0428..f9bcebc8127c 100644 --- a/science/libkml/distinfo +++ b/science/libkml/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1483245177 -SHA256 (libkml-libkml-1.3.0_GH0.tar.gz) = 8892439e5570091965aaffe30b08631fdf7ca7f81f6495b4648f0950d7ea7963 -SIZE (libkml-libkml-1.3.0_GH0.tar.gz) = 6639857 +TIMESTAMP = 1661599149 +SHA256 (libkml-libkml-1.3.0-916a801_GH0.tar.gz) = 233fffbbe7a7c349421349f5d5cc8e515d20344b6e7261171a092373488bd793 +SIZE (libkml-libkml-1.3.0-916a801_GH0.tar.gz) = 6647901 diff --git a/science/libkml/files/patch-examples-domviewer-CMakeLists.txt b/science/libkml/files/patch-examples-domviewer-CMakeLists.txt deleted file mode 100644 index 8068aa15fe4c..000000000000 --- a/science/libkml/files/patch-examples-domviewer-CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ ---- examples/domviewer/CMakeLists.txt.orig 2015-12-21 17:23:05 UTC -+++ examples/domviewer/CMakeLists.txt -@@ -1,3 +1,3 @@ - if(INSTALL_EXAMPLES) -- install( FILES kml-aliases.txt DESTINATION ${KML_EXAMPLES_DIR} COMPONENT Development) -+ install( FILES domviewer.py DESTINATION ${KML_EXAMPLES_DIR} COMPONENT Development) - endif() diff --git a/science/libkml/files/patch-examples-engine-CMakeLists.txt b/science/libkml/files/patch-examples-engine-CMakeLists.txt deleted file mode 100644 index a25ede748975..000000000000 --- a/science/libkml/files/patch-examples-engine-CMakeLists.txt +++ /dev/null @@ -1,9 +0,0 @@ ---- examples/engine/CMakeLists.txt.orig 2015-12-21 17:23:05 UTC -+++ examples/engine/CMakeLists.txt -@@ -60,5 +60,5 @@ build_example( - - if(INSTALL_EXAMPLES) - file(GLOB eg_files "${CMAKE_CURRENT_SOURCE_DIR}/*.cc") -- install(FILES ${eg_files} DESTINATION examples/engine) -+ install(FILES ${eg_files} DESTINATION ${KML_EXAMPLES_DIR}/engine) - endif(INSTALL_EXAMPLES) diff --git a/science/libkml/files/patch-examples-gpx-CMakeLists.txt b/science/libkml/files/patch-examples-gpx-CMakeLists.txt deleted file mode 100644 index 7d7fcb65170a..000000000000 --- a/science/libkml/files/patch-examples-gpx-CMakeLists.txt +++ /dev/null @@ -1,9 +0,0 @@ ---- examples/gpx/CMakeLists.txt.orig 2015-12-21 17:23:05 UTC -+++ examples/gpx/CMakeLists.txt -@@ -9,5 +9,5 @@ build_example( - - if(INSTALL_EXAMPLES) - file(GLOB eg_files "${CMAKE_CURRENT_SOURCE_DIR}/*.cc") -- install(FILES ${eg_files} DESTINATION examples/gpx) -+ install(FILES ${eg_files} DESTINATION ${KML_EXAMPLES_DIR}/gpx) - endif(INSTALL_EXAMPLES) diff --git a/science/libkml/files/patch-examples-gx-CMakeLists.txt b/science/libkml/files/patch-examples-gx-CMakeLists.txt deleted file mode 100644 index 6f68d63c26af..000000000000 --- a/science/libkml/files/patch-examples-gx-CMakeLists.txt +++ /dev/null @@ -1,10 +0,0 @@ ---- examples/gx/CMakeLists.txt.orig 2015-12-21 17:23:05 UTC -+++ examples/gx/CMakeLists.txt -@@ -12,5 +12,5 @@ if(INSTALL_EXAMPLES) - file(GLOB eg_files "${CMAKE_CURRENT_SOURCE_DIR}/*.cc") - install( - FILES ${eg_files} -- DESTINATION examples/gx) -+ DESTINATION ${KML_EXAMPLES_DIR}/gx) - endif() -\ No newline at end of file diff --git a/science/libkml/files/patch-examples-hellonet-CMakeLists.txt b/science/libkml/files/patch-examples-hellonet-CMakeLists.txt deleted file mode 100644 index 8ae3c8c5978b..000000000000 --- a/science/libkml/files/patch-examples-hellonet-CMakeLists.txt +++ /dev/null @@ -1,14 +0,0 @@ ---- examples/hellonet/CMakeLists.txt.orig 2015-12-21 17:23:05 UTC -+++ examples/hellonet/CMakeLists.txt -@@ -78,9 +78,9 @@ if(INSTALL_EXAMPLES) - file(GLOB eg_files "${CMAKE_CURRENT_SOURCE_DIR}/*.cc") - install( - FILES ${eg_files} -- DESTINATION examples/hellonet) -+ DESTINATION ${KML_EXAMPLES_DIR}/hellonet) - - install( - FILES README curlfetch.h prompt.h -- DESTINATION examples/hellonet) -+ DESTINATION ${KML_EXAMPLES_DIR}/hellonet) - endif() diff --git a/science/libkml/files/patch-examples-java-CMakeLists.txt b/science/libkml/files/patch-examples-java-CMakeLists.txt deleted file mode 100644 index 64be4ecfb94b..000000000000 --- a/science/libkml/files/patch-examples-java-CMakeLists.txt +++ /dev/null @@ -1,13 +0,0 @@ ---- examples/java/CMakeLists.txt.orig 2015-12-21 17:23:05 UTC -+++ examples/java/CMakeLists.txt -@@ -2,8 +2,8 @@ if(INSTALL_EXAMPLES) - file(GLOB eg_files "${CMAKE_CURRENT_SOURCE_DIR}/*.java") - install( - FILES ${eg_files} -- DESTINATION examples/java) ##compile java -+ DESTINATION ${KML_EXAMPLES_DIR}/java) ##compile java - install( - FILES run.sh -- DESTINATION examples/java) ## -+ DESTINATION ${KML_EXAMPLES_DIR}/java) ## - endif() diff --git a/science/libkml/files/patch-examples-kml-CMakeLists.txt b/science/libkml/files/patch-examples-kml-CMakeLists.txt deleted file mode 100644 index 3c537cea96ef..000000000000 --- a/science/libkml/files/patch-examples-kml-CMakeLists.txt +++ /dev/null @@ -1,9 +0,0 @@ ---- examples/kml/CMakeLists.txt.orig 2015-12-21 17:23:05 UTC -+++ examples/kml/CMakeLists.txt -@@ -2,5 +2,5 @@ if(INSTALL_EXAMPLES) - file(GLOB kml_files "${CMAKE_CURRENT_SOURCE_DIR}/*.kml") - install( - FILES ${kml_files} -- DESTINATION examples/kml) -+ DESTINATION ${KML_EXAMPLES_DIR}/kml) - endif() diff --git a/science/libkml/files/patch-examples-python-CMakeLists.txt b/science/libkml/files/patch-examples-python-CMakeLists.txt deleted file mode 100644 index 4f3fc9ab6053..000000000000 --- a/science/libkml/files/patch-examples-python-CMakeLists.txt +++ /dev/null @@ -1,9 +0,0 @@ ---- examples/python/CMakeLists.txt.orig 2015-12-21 17:23:05 UTC -+++ examples/python/CMakeLists.txt -@@ -2,5 +2,5 @@ if(INSTALL_EXAMPLES) - file(GLOB eg_files "${CMAKE_CURRENT_SOURCE_DIR}/*.py") - install( - FILES ${eg_files} -- DESTINATION examples/python) ##compile python -+ DESTINATION ${KML_EXAMPLES_DIR}/python) ##compile python - endif() diff --git a/science/libkml/files/patch-examples-regionator-CMakeLists.txt b/science/libkml/files/patch-examples-regionator-CMakeLists.txt deleted file mode 100644 index 593533b913d3..000000000000 --- a/science/libkml/files/patch-examples-regionator-CMakeLists.txt +++ /dev/null @@ -1,9 +0,0 @@ ---- examples/regionator/CMakeLists.txt.orig 2015-12-21 17:23:05 UTC -+++ examples/regionator/CMakeLists.txt -@@ -10,5 +10,5 @@ if(INSTALL_EXAMPLES) - file(GLOB eg_files "${CMAKE_CURRENT_SOURCE_DIR}/*.cc") - install( - FILES ${eg_files} -- DESTINATION examples/regionator) -+ DESTINATION ${KML_EXAMPLES_DIR}/regionator) - endif() diff --git a/science/libkml/files/patch-examples-xsd-CMakeLists.txt b/science/libkml/files/patch-examples-xsd-CMakeLists.txt deleted file mode 100644 index 4d79e4f87bb9..000000000000 --- a/science/libkml/files/patch-examples-xsd-CMakeLists.txt +++ /dev/null @@ -1,11 +0,0 @@ ---- examples/xsd/CMakeLists.txt.orig 2015-12-21 17:23:05 UTC -+++ examples/xsd/CMakeLists.txt -@@ -1,5 +1,5 @@ - if(INSTALL_EXAMPLES) -- install(FILES -- domviewer.py -- DESTINATION examples/xsd) #compile py -+ file(GLOB eg_files "${CMAKE_CURRENT_SOURCE_DIR}/*.cc") -+ install(FILES ${eg_files} DESTINATION ${KML_EXAMPLES_DIR}/xsd) -+ install(FILES kml-aliases.txt DESTINATION ${KML_EXAMPLES_DIR}/xsd) - endif() diff --git a/science/libkml/pkg-plist b/science/libkml/pkg-plist index d350eb80788f..c84995275ba9 100644 --- a/science/libkml/pkg-plist +++ b/science/libkml/pkg-plist @@ -54,6 +54,7 @@ include/kml/dom/gx_tour.h include/kml/dom/hotspot.h include/kml/dom/iconstyle.h include/kml/dom/kml.h +include/kml/dom/kml22.cc include/kml/dom/kml22.h include/kml/dom/kml_cast.h include/kml/dom/kml_factory.h @@ -141,22 +142,22 @@ lib/cmake/libkml/LibKMLTargets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/libkml/LibKMLTargets.cmake lib/libkmlbase.so lib/libkmlbase.so.1 -lib/libkmlbase.so.1.3.0 +lib/libkmlbase.so.1.3.1 lib/libkmlconvenience.so lib/libkmlconvenience.so.1 -lib/libkmlconvenience.so.1.3.0 +lib/libkmlconvenience.so.1.3.1 lib/libkmldom.so lib/libkmldom.so.1 -lib/libkmldom.so.1.3.0 +lib/libkmldom.so.1.3.1 lib/libkmlengine.so lib/libkmlengine.so.1 -lib/libkmlengine.so.1.3.0 +lib/libkmlengine.so.1.3.1 lib/libkmlregionator.so lib/libkmlregionator.so.1 -lib/libkmlregionator.so.1.3.0 +lib/libkmlregionator.so.1.3.1 lib/libkmlxsd.so lib/libkmlxsd.so.1 -lib/libkmlxsd.so.1.3.0 +lib/libkmlxsd.so.1.3.1 libdata/pkgconfig/libkml.pc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/checklinks.cc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/circlegen.cc