Skip to content

Commit 57ed08a

Browse files
authored
Merge pull request #43 from rok4/develop
Release 2.0.0
2 parents 5ff197d + 772217f commit 57ed08a

File tree

149 files changed

+7141
-7492
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

149 files changed

+7141
-7492
lines changed

.github/workflows/build-and-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
run: |
5555
sudo apt update
5656
sudo apt -y install zlib1g-dev libcurl4-openssl-dev libproj-dev libssl-dev libturbojpeg0-dev \
57-
libjpeg-dev libc6-dev libjson11-1-dev libboost-log-dev libboost-filesystem-dev libboost-system-dev \
57+
libjpeg-dev libc6-dev libboost-log-dev libboost-filesystem-dev libboost-system-dev \
5858
libsqlite3-dev libpng-dev libtiff5-dev libopenjp2-7-dev librados-dev \
5959
gettext build-essential cmake libcppunit-dev doxygen graphviz
6060

CHANGELOG.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,38 @@
1+
## 2.0.0
2+
3+
### [Added]
4+
5+
* Internalisation de la lib json
6+
* Ajout d'exporteur XML (via la lib boost) pour les entités Style, BoundingBox, Keyword, LegendURL, TileMatrixLimit et Style
7+
* Création d'un annuaire pour les CRS pour éviter les créations en double
8+
9+
### [Changed]
10+
11+
* Passage complet en snake case
12+
* Le format de canal contient le nombre de bits d'encodage
13+
* Renommage StyledImage -> PaletteImage
14+
* Renommage lzwEncoder -> LzwCompressor
15+
* Renommage lzwDecoder -> LzwUncompressor
16+
* Renommage pkbEncoder -> PkbCompressor
17+
* Renommage pkbDecoder -> PkbUncompressor
18+
19+
### [Deprecated]
20+
21+
Liste de fonctionnalités dépréciées.
22+
23+
### [Removed]
24+
25+
* Suppression de la notion 'inspire' dans la gestion des styles
26+
* Suppression de la classe ConvertedChannelsImage
27+
* Suppression de la gestion de la compilation avec la librairie Kakadu
28+
* Suppression des factory pour les classes filles de Image
29+
* Suppression de la fonctionnalité de crop dans Rok4Image
30+
31+
### [Fixed]
32+
33+
* Correction du nettoyage des annuaires de TMS et styles
34+
35+
136
## 1.4.0
237

338
### [Added]

CMakeLists.txt

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ set(CMAKE_INSTALL_PREFIX "/usr/local" CACHE PATH "Installation location")
1414
set(BUILD_VERSION "0.0.0" CACHE STRING "Build version")
1515
set(CEPH_ENABLED 0 CACHE BOOL "Build with ceph storage")
1616
set(KDU_ENABLED 0 CACHE BOOL "Build with kakadu")
17-
set(KDU_THREADING 0 CACHE STRING "Threading level for kakadu")
1817
set(UNITTEST_ENABLED 1 CACHE BOOL "Unit tests compilation")
1918
set(DOC_ENABLED 1 CACHE BOOL "Documentation compilation")
2019
set(CPACK_SYSTEM_NAME "ubuntu-20.04" CACHE STRING "Building OS, to deduce package format to generate")
@@ -69,13 +68,13 @@ file(GLOB LIBROK4_SRCS
6968
"src/image/*.cpp"
7069
"src/image/file/*.cpp"
7170
"src/storage/*.cpp"
71+
"src/thirdparty/*.cpp"
7272
)
7373

74-
include_directories(${PROJECT_BINARY_DIR} ${PROJ_INCLUDE_DIR} ${TURBOJPEG_INCLUDE_DIR} ${JSON_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} ${CURL_INCLUDE_DIR} ${OPENSSL_INCLUDE_DIR} ${BOOSTLOG_INCLUDE_DIR})
74+
include_directories(${PROJECT_BINARY_DIR} ${PROJ_INCLUDE_DIR} ${TURBOJPEG_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} ${CURL_INCLUDE_DIR} ${OPENSSL_INCLUDE_DIR} ${BOOSTLOG_INCLUDE_DIR})
7575

7676
if(KDU_ENABLED)
77-
set(LIBROK4_SRCS ${LIBROK4_SRCS} "src/image/file/kakadu/LibkakaduImage.cpp")
78-
include_directories(${KAKADU_INCLUDE_DIR})
77+
message( FATAL_ERROR "Use Kakadu driver to read JPEG2000 is no more available" )
7978
else(KDU_ENABLED)
8079
set(LIBROK4_SRCS ${LIBROK4_SRCS} "src/image/file/openjpeg/LibopenjpegImage.cpp")
8180
include_directories(${OPENJPEG_INCLUDE_DIR})
@@ -103,7 +102,7 @@ set_target_properties(${PROJECT_NAME} PROPERTIES SOVERSION ${CMAKE_PROJECT_VERSI
103102

104103
################### LIEN DES DÉPENDANCES
105104

106-
target_link_libraries(${PROJECT_NAME} PUBLIC proj turbojpeg jpeg json zlib curl openssl crypto boostlog jpeg2000 tiff png)
105+
target_link_libraries(${PROJECT_NAME} PUBLIC proj turbojpeg jpeg zlib curl openssl crypto boostlog jpeg2000 tiff png)
107106

108107
if(CEPH_ENABLED)
109108
target_link_libraries(${PROJECT_NAME} PUBLIC rados)
@@ -191,7 +190,7 @@ if(CPACK_SYSTEM_NAME AND CPACK_SYSTEM_NAME STREQUAL "ubuntu-20.04" OR CPACK_SYST
191190
# Debian
192191
set(CPACK_DEBIAN_PACKAGE_SECTION "science")
193192
set(CPACK_DEBIAN_PACKAGE_PRIORITY "optional")
194-
set(CPACK_DEBIAN_PACKAGE_DEPENDS "zlib1g-dev, libcurl4-openssl-dev, libproj-dev, libssl-dev, libturbojpeg0-dev, libjpeg-dev, libc6-dev, libjson11-1-dev, libboost-log-dev, libboost-filesystem-dev, libboost-system-dev, libsqlite3-dev, libpng-dev, libtiff5-dev")
193+
set(CPACK_DEBIAN_PACKAGE_DEPENDS "zlib1g-dev, libcurl4-openssl-dev, libproj-dev, libssl-dev, libturbojpeg0-dev, libjpeg-dev, libc6-dev, libboost-log-dev, libboost-filesystem-dev, libboost-system-dev, libsqlite3-dev, libpng-dev, libtiff5-dev")
195194
if(NOT KDU_ENABLED)
196195
set(CPACK_DEBIAN_PACKAGE_DEPENDS "${CPACK_DEBIAN_PACKAGE_DEPENDS}, libopenjp2-7-dev")
197196
endif(NOT KDU_ENABLED)

0 commit comments

Comments
 (0)