[Git][debian-gis-team/osmpbf][upstream] New upstream version 1.6.1
Bas Couwenberg (@sebastic)
gitlab at salsa.debian.org
Sat Dec 20 13:58:34 GMT 2025
Bas Couwenberg pushed to branch upstream at Debian GIS Project / osmpbf
Commits:
13fe410b by Bas Couwenberg at 2025-12-20T14:47:49+01:00
New upstream version 1.6.1
- - - - -
8 changed files:
- .github/workflows/c.yml
- .github/workflows/java.yml
- CHANGELOG.md
- CMakeLists.txt
- README.md
- osmpbf/fileformat.proto
- osmpbf/osmformat.proto
- pom.xml
Changes:
=====================================
.github/workflows/c.yml
=====================================
@@ -3,8 +3,8 @@ name: C CI
on: [push, pull_request]
jobs:
- ubuntu20:
- runs-on: ubuntu-20.04
+ ubuntu22:
+ runs-on: ubuntu-22.04
env:
CC: gcc
CXX: g++
@@ -15,8 +15,8 @@ jobs:
- uses: ./.github/actions/install-ubuntu
- uses: ./.github/actions/build
- ubuntu22:
- runs-on: ubuntu-22.04
+ ubuntu24:
+ runs-on: ubuntu-24.04
env:
CC: gcc
CXX: g++
@@ -27,11 +27,11 @@ jobs:
- uses: ./.github/actions/install-ubuntu
- uses: ./.github/actions/build
- ubuntu22-clang:
- runs-on: ubuntu-22.04
+ ubuntu24-clang:
+ runs-on: ubuntu-24.04
env:
- CC: clang-15
- CXX: clang++-15
+ CC: clang-18
+ CXX: clang++-18
CXXFLAGS: -Werror -Wall -pedantic
BUILD_TYPE: Debug
steps:
@@ -39,8 +39,8 @@ jobs:
- uses: ./.github/actions/install-ubuntu
- uses: ./.github/actions/build
- ubuntu22-release:
- runs-on: ubuntu-22.04
+ ubuntu24-release:
+ runs-on: ubuntu-24.04
env:
CC: gcc
CXX: g++
@@ -57,7 +57,7 @@ jobs:
env:
CC: clang
CXX: clang++
- CXXFLAGS: -Werror -Wall -pedantic
+ CXXFLAGS: -Werror -Wall -pedantic -Wno-nullability-extension
BUILD_TYPE: Debug
steps:
- uses: actions/checkout at v4
=====================================
.github/workflows/java.yml
=====================================
@@ -3,51 +3,55 @@ name: Java CI
on: [push, pull_request]
jobs:
- maven-ubuntu20:
- runs-on: ubuntu-20.04
+ maven-ubuntu22:
+ runs-on: ubuntu-22.04
steps:
- uses: actions/checkout at v4
- run: sudo apt-get install protobuf-compiler
- - name: Set up JDK 1.8
- uses: actions/setup-java at v1
+ - name: Set up JDK 8
+ uses: actions/setup-java at v4
with:
- java-version: 1.8
+ distribution: zulu
+ java-version: 8
- name: Build with Maven
run: mvn -B package --file pom.xml
- maven-ubuntu22:
- runs-on: ubuntu-22.04
+ maven-ubuntu24:
+ runs-on: ubuntu-24.04
steps:
- uses: actions/checkout at v4
- run: sudo apt-get install protobuf-compiler
- - name: Set up JDK 1.8
- uses: actions/setup-java at v1
+ - name: Set up JDK 8
+ uses: actions/setup-java at v4
with:
- java-version: 1.8
+ distribution: zulu
+ java-version: 8
- name: Build with Maven
run: mvn -B package --file pom.xml
- ant-ubuntu20:
- runs-on: ubuntu-20.04
+ ant-ubuntu22:
+ runs-on: ubuntu-22.04
steps:
- uses: actions/checkout at v4
- run: sudo apt-get install protobuf-compiler libprotobuf-java
- - name: Set up JDK 1.8
- uses: actions/setup-java at v1
+ - name: Set up JDK 8
+ uses: actions/setup-java at v4
with:
- java-version: 1.8
+ distribution: zulu
+ java-version: 8
- name: Build with Ant
run: ant
- ant-ubuntu22:
- runs-on: ubuntu-22.04
+ ant-ubuntu24:
+ runs-on: ubuntu-24.04
steps:
- uses: actions/checkout at v4
- run: sudo apt-get install protobuf-compiler libprotobuf-java
- - name: Set up JDK 1.8
- uses: actions/setup-java at v1
+ - name: Set up JDK 8
+ uses: actions/setup-java at v4
with:
- java-version: 1.8
+ distribution: zulu
+ java-version: 8
- name: Build with Ant
run: ant
=====================================
CHANGELOG.md
=====================================
@@ -1,5 +1,13 @@
## Unreleased
+## Release notes for 1.6.1 (2025-12-20)
+
+- Java: Update to latest protoc and protobuf runtime versions [#92](https://github.com/openstreetmap/OSM-binary/pull/92)
+
+## Release notes for 1.6.0 (2024-12-10)
+
+- Java: Update to latest protoc and protobuf runtime versions [#84](https://github.com/openstreetmap/OSM-binary/pull/84)
+
## Release notes for 1.5.0 (2021-01-06)
- C: Support hardening buildflags set in the environment ([09845ca4](https://github.com/openstreetmap/OSM-binary/commit/09845ca4087c7404b1de33914233dbf53f9de4c3))
=====================================
CMakeLists.txt
=====================================
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.7)
+cmake_minimum_required(VERSION 3.10)
project(osmpbf VERSION 1.5.0)
=====================================
README.md
=====================================
@@ -21,16 +21,17 @@ something more complete see [libosmium](https://osmcode.org/libosmium/).
### Building with Maven
-We publish the Java library to [Maven Central](https://search.maven.org/):
+We publish the Java library to [Maven Central](https://mvnrepository.com/artifact/org.openstreetmap.pbf/osmpbf): 
```xml
<dependency>
<groupId>org.openstreetmap.pbf</groupId>
<artifactId>osmpbf</artifactId>
- <version>1.5.0</version>
+ <version>${LATEST_VERSION}</version>
</dependency>
```
+
To build the Java library run:
```sh
=====================================
osmpbf/fileformat.proto
=====================================
@@ -65,5 +65,3 @@ message BlobHeader {
optional bytes indexdata = 2;
required int32 datasize = 3;
}
-
-
=====================================
osmpbf/osmformat.proto
=====================================
@@ -260,4 +260,3 @@ message Relation {
repeated sint64 memids = 9 [packed = true]; // DELTA encoded
repeated MemberType types = 10 [packed = true];
}
-
=====================================
pom.xml
=====================================
@@ -6,7 +6,7 @@
<groupId>org.openstreetmap.pbf</groupId>
<artifactId>osmpbf</artifactId>
<packaging>jar</packaging>
- <version>1.5.0</version>
+ <version>1.6.1</version>
<name>OSM-Binary</name>
<description>Library for the OpenStreetMap PBF format</description>
<url>https://github.com/openstreetmap/OSM-binary</url>
@@ -31,9 +31,20 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <protobuf.version>4.33.2</protobuf.version>
</properties>
<build>
+ <extensions>
+ <!-- makes build variables like os.detected.classifier available.
+ use to select the correct protoc instance for the OS.
+ see protobuf-maven-plugin below -->
+ <extension>
+ <groupId>kr.motd.maven</groupId>
+ <artifactId>os-maven-plugin</artifactId>
+ <version>1.7.1</version>
+ </extension>
+ </extensions>
<sourceDirectory>${basedir}/src.java</sourceDirectory>
<testSourceDirectory>${basedir}/test.java</testSourceDirectory>
@@ -59,7 +70,7 @@
<artifactId>protobuf-maven-plugin</artifactId>
<version>0.6.1</version>
<configuration>
- <protocExecutable>protoc</protocExecutable>
+ <protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
</configuration>
<executions>
<execution>
@@ -122,16 +133,19 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.sonatype.central</groupId>
+ <artifactId>central-publishing-maven-plugin</artifactId>
+ <version>0.6.0</version>
+ <extensions>true</extensions>
+ <configuration>
+ <publishingServerId>central</publishingServerId>
+ <autoPublish>true</autoPublish>
+ </configuration>
+ </plugin>
</plugins>
</build>
- <pluginRepositories>
- <pluginRepository>
- <id>dtrott</id>
- <url>http://maven.davidtrott.com/repository</url>
- </pluginRepository>
- </pluginRepositories>
-
<dependencies>
<dependency>
<groupId>junit</groupId>
@@ -143,19 +157,8 @@
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
- <version>3.16.3</version>
+ <version>${protobuf.version}</version>
</dependency>
</dependencies>
- <distributionManagement>
- <repository>
- <id>ossrh</id>
- <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
- </repository>
- <snapshotRepository>
- <id>ossrh</id>
- <url>https://oss.sonatype.org/content/repositories/snapshots</url>
- </snapshotRepository>
- </distributionManagement>
-
</project>
View it on GitLab: https://salsa.debian.org/debian-gis-team/osmpbf/-/commit/13fe410b436e5e694d723af24e0a35195d848e2d
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/osmpbf/-/commit/13fe410b436e5e694d723af24e0a35195d848e2d
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20251220/ab94f0a1/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list