Skip to content

Commit 8a20370

Browse files
committed
Merge branch 'develop'
2 parents dca65f8 + 568d81a commit 8a20370

File tree

16 files changed

+3020
-10612
lines changed

16 files changed

+3020
-10612
lines changed

.github/actions/prepare-build-env/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ runs:
99
run: |
1010
git clone https://github.com/emscripten-core/emsdk.git
1111
cd emsdk
12-
./emsdk install 3.1.67
13-
./emsdk activate 3.1.67
12+
./emsdk install 3.1.68
13+
./emsdk activate 3.1.68
1414
source ./emsdk_env.sh
1515
# Export emsdk environment variables
1616
echo "PATH=$PATH" >> $GITHUB_ENV

.github/workflows/ci.yml

Lines changed: 26 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,13 @@ jobs:
2121
runs-on: ubuntu-24.04
2222
steps:
2323
- name: Checkout repository and submodules
24-
uses: actions/checkout@v4.1.7
24+
uses: actions/checkout@v4.2.2
2525
with:
2626
submodules: recursive
2727

2828
- name: Prepare build environemnt
2929
uses: ./.github/actions/prepare-build-env
3030

31-
- name: Install required tools
32-
run: sudo apt-get update && sudo apt-get install -y automake pkgconf libtool
33-
3431
- name: Configure build tools
3532
run: |
3633
cd thirdparty/libxml2
@@ -50,7 +47,7 @@ jobs:
5047
emmake make install -j$(nproc)
5148
5249
- name: Upload build artifacts
53-
uses: actions/upload-artifact@v4.4.0
50+
uses: actions/upload-artifact@v4.6.0
5451
with:
5552
name: libxml2
5653
path: dist/
@@ -63,36 +60,36 @@ jobs:
6360
runs-on: ubuntu-24.04
6461
steps:
6562
- name: Checkout repository and submodules
66-
uses: actions/checkout@v4.1.7
63+
uses: actions/checkout@v4.2.2
6764
with:
6865
submodules: recursive
6966

7067
- name: Prepare build environemnt
7168
uses: ./.github/actions/prepare-build-env
7269

73-
- name: Install required tools
74-
run: sudo apt-get update && DEBIAN_FRONTEND=noninteractive sudo apt-get install -y tcl
75-
76-
- name: Configure build tools and compile
70+
- name: Configure build tools
7771
run: |
7872
cd thirdparty/sqlite
7973
git apply ../../patches/sqlite_fix_build.patch
80-
export OPT_FEATURE_FLAGS="-DSQLITE_OMIT_ALTERTABLE -DSQLITE_OMIT_ANALYZE -DSQLITE_UNTESTABLE -DSQLITE_OMIT_SHARED_CACHE \
74+
export OPT_FEATURE_FLAGS="-DSQLITE_UNTESTABLE -DSQLITE_OMIT_SHARED_CACHE \
8175
-DSQLITE_OMIT_AUTOVACUUM -DSQLITE_OMIT_BLOB_LITERAL -DSQLITE_OMIT_CHECK -DSQLITE_OMIT_COMPILEOPTION_DIAGS \
8276
-DSQLITE_OMIT_DATETIME_FUNCS -DSQLITE_OMIT_DEPRECATED -DSQLITE_OMIT_EXPLAIN -DSQLITE_OMIT_FLAG_PRAGMAS \
8377
-DSQLITE_OMIT_GENERATED_COLUMNS -DSQLITE_OMIT_HEX_INTEGER -DSQLITE_OMIT_INTEGRITY_CHECK -DSQLITE_OMIT_INTROSPECTION_PRAGMAS \
84-
-DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_REINDEX -DSQLITE_OMIT_TCL_VARIABLE -DSQLITE_OMIT_TRACE \
78+
-DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_TCL_VARIABLE -DSQLITE_OMIT_TRACE \
8579
-DSQLITE_OMIT_TRUNCATE_OPTIMIZATION -DSQLITE_OMIT_UTF16 -DSQLITE_OMIT_AUTHORIZATION"
8680
export CFLAGS="-DSQLITE_ENABLE_RTREE -DSQLITE_DQS=0 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_MEMSTATUS=0 -DSQLITE_DEFAULT_WAL_SYNCHRONOUS=1 \
8781
-DSQLITE_LIKE_DOESNT_MATCH_BLOBS -DSQLITE_MAX_EXPR_DEPTH=0 -DSQLITE_USE_ALLOCA $OPT_FEATURE_FLAGS"
88-
./configure --disable-shared --prefix=$GITHUB_WORKSPACE/dist
89-
# build amalgamation without emscripten
90-
make sqlite3.c
91-
emconfigure ./configure --disable-shared --prefix=$GITHUB_WORKSPACE/dist
82+
emconfigure ./configure --disable-threadsafe --disable-shared --prefix=$GITHUB_WORKSPACE/dist
83+
84+
- name: Start compilation
85+
run: |
86+
cd thirdparty/sqlite
87+
# build amalgamation
88+
emmake make sqlite3.c
9289
emmake make install -j$(nproc)
9390
9491
- name: Upload build artifacts
95-
uses: actions/upload-artifact@v4.4.0
92+
uses: actions/upload-artifact@v4.6.0
9693
with:
9794
name: SQLite
9895
path: dist/
@@ -105,7 +102,7 @@ jobs:
105102
runs-on: ubuntu-24.04
106103
steps:
107104
- name: Checkout repository and submodules
108-
uses: actions/checkout@v4.1.7
105+
uses: actions/checkout@v4.2.2
109106
with:
110107
submodules: recursive
111108

@@ -125,7 +122,7 @@ jobs:
125122
emmake make install -j$(nproc)
126123
127124
- name: Upload build artifacts
128-
uses: actions/upload-artifact@v4.4.0
125+
uses: actions/upload-artifact@v4.6.0
129126
with:
130127
name: GEOS
131128
path: dist/
@@ -139,7 +136,7 @@ jobs:
139136
runs-on: ubuntu-24.04
140137
steps:
141138
- name: Checkout repository and submodules
142-
uses: actions/checkout@v4.1.7
139+
uses: actions/checkout@v4.2.2
143140
with:
144141
submodules: recursive
145142

@@ -170,7 +167,7 @@ jobs:
170167
emmake make install -j$(nproc)
171168
172169
- name: Upload build artifacts
173-
uses: actions/upload-artifact@v4.4.0
170+
uses: actions/upload-artifact@v4.6.0
174171
with:
175172
name: PROJ
176173
path: dist/
@@ -184,7 +181,7 @@ jobs:
184181
runs-on: ubuntu-24.04
185182
steps:
186183
- name: Checkout repository and submodules
187-
uses: actions/checkout@v4.1.7
184+
uses: actions/checkout@v4.2.2
188185
with:
189186
submodules: recursive
190187

@@ -213,7 +210,7 @@ jobs:
213210
-DPROJ_INCLUDE_DIR=$GITHUB_WORKSPACE/dist/include -DPROJ_LIBRARY=$GITHUB_WORKSPACE/dist/lib/libproj.a \
214211
-DSQLite3_INCLUDE_DIR=$GITHUB_WORKSPACE/dist/include -DSQLite3_LIBRARY=$GITHUB_WORKSPACE/dist/lib/libsqlite3.a \
215212
-DPNG_LIBRARY=$EM_CACHE/sysroot/lib/wasm32-emscripten/libpng-wasm-sjlj.a \
216-
-DGDAL_USE_ICONV=OFF -DGDAL_USE_INTERNAL_LIBS=OFF -DENABLE_GNM=OFF -DENABLE_PAM=OFF \
213+
-DGDAL_USE_ICONV=OFF -DGDAL_USE_INTERNAL_LIBS=OFF -DENABLE_GNM=OFF -DENABLE_PAM=OFF -DACCEPT_MISSING_SQLITE3_MUTEX_ALLOC=ON \
217214
-DGDAL_USE_JSONC_INTERNAL=ON -DBUILD_APPS=OFF -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/dist -DBUILD_TESTING=OFF ..
218215
219216
- name: Start compilation
@@ -222,7 +219,7 @@ jobs:
222219
emmake make install -j$(nproc)
223220
224221
- name: Upload build artifacts
225-
uses: actions/upload-artifact@v4.4.0
222+
uses: actions/upload-artifact@v4.6.0
226223
with:
227224
name: GDAL
228225
path: dist/
@@ -236,7 +233,7 @@ jobs:
236233
runs-on: ubuntu-24.04
237234
steps:
238235
- name: Checkout repository and submodules
239-
uses: actions/checkout@v4.1.7
236+
uses: actions/checkout@v4.2.2
240237
with:
241238
submodules: recursive
242239

@@ -283,7 +280,7 @@ jobs:
283280
cp ../src/*.h $GITHUB_WORKSPACE/dist/include
284281
285282
- name: Upload build artifacts
286-
uses: actions/upload-artifact@v4.4.0
283+
uses: actions/upload-artifact@v4.6.0
287284
with:
288285
name: MapServer
289286
path: dist/
@@ -297,7 +294,7 @@ jobs:
297294
runs-on: ubuntu-24.04
298295
steps:
299296
- name: Checkout repository and submodules
300-
uses: actions/checkout@v4.1.7
297+
uses: actions/checkout@v4.2.2
301298
with:
302299
submodules: recursive
303300

@@ -317,7 +314,7 @@ jobs:
317314
run: emmake make
318315

319316
- name: Upload build artifacts
320-
uses: actions/upload-artifact@v4.4.0
317+
uses: actions/upload-artifact@v4.6.0
321318
with:
322319
name: WASM
323320
path: |
@@ -333,7 +330,7 @@ jobs:
333330
runs-on: ubuntu-24.04
334331
steps:
335332
- name: Checkout repository and submodules
336-
uses: actions/checkout@v4.1.7
333+
uses: actions/checkout@v4.2.2
337334
with:
338335
submodules: recursive
339336

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
pull-requests: write
2525
steps:
2626
- name: Checkout repository and submodules
27-
uses: actions/checkout@v4.1.7
27+
uses: actions/checkout@v4.2.2
2828
with:
2929
submodules: recursive
3030

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@
2626

2727
|Name|Version|Home page|License|Status|
2828
|----|-------|---------|-------|-------|
29-
|**MapServer**|8.2.2|https://mapserver.org/|MIT||
30-
|**GDAL/OGR**|3.9.2|https://gdal.org/|MIT/X style||
31-
|**PROJ**|9.5.0|https://proj.org/|MIT/X style||
29+
|**MapServer**|8.4.0|https://mapserver.org/|MIT||
30+
|**GDAL/OGR**|3.10.1|https://gdal.org/|MIT/X style||
31+
|**PROJ**|9.5.1|https://proj.org/|MIT/X style||
3232
|**GEOS**|3.13.0|https://libgeos.org/|LGPL-2.1||
33-
|**SQLite**|3.46.1|https://www.sqlite.org/|Public Domain||
34-
|**Libxml2**|2.13.4|http://xmlsoft.org/|MIT||
33+
|**SQLite**|3.48.0|https://www.sqlite.org/|Public Domain||
34+
|**Libxml2**|2.13.5|http://xmlsoft.org/|MIT||
3535

36-
✅ up-to-date | 🚧 needs-update | Last update check 24.09.2024
36+
✅ up-to-date | 🚧 needs-update | Last update check 17.01.2025
3737

3838
# Getting started
3939

@@ -107,11 +107,11 @@ git pull --recurse-submodules
107107

108108
Start the build container with the following command to ensure the filesystem permissions for newly created files are correct.
109109
```sh
110-
docker run -it --rm -v $(pwd):/src -v /etc/passwd:/etc/passwd --user "$(id -u):$(id -g)" --name mapserver-wasm emscripten/emsdk:3.1.67 bash
110+
docker run -it --rm -v $(pwd):/src -v /etc/passwd:/etc/passwd --user "$(id -u):$(id -g)" --name mapserver-wasm emscripten/emsdk:3.1.68 bash
111111
```
112112
And execute in a second terminal the following command to install the missing build depedencies as root user.
113113
```sh
114-
docker exec --user root mapserver-wasm bash -c "apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y tcl automake pkgconf libtool brotli"
114+
docker exec --user root mapserver-wasm bash -c "apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y brotli"
115115
```
116116
After that execute all job script commands described in `.github/workflows/ci.yml` inside the interactive build container. It can be helpful to set the `GITHUB_WORKSPACE` environment variable beforehand.
117117
```sh

0 commit comments

Comments
 (0)