# protobuf/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. The source tarball used by this package was created based on "git" upstream sources. The following command was used: ocgitfetch --run \ --checkout=v4.25.6 \ --deletegit \ https://github.com/protocolbuffers/protobuf.git #--------------------------------------------------------------------- 2. This part is tricky: The releases of "abseil", "protobuf", and "protobuf-c" used need to be selected so as to be compatible with each other as well as with other packages that depend on them. #--------------------------------------------------------------------- [buildtimes] 00.14 hours (or 008.50 minutes) - ThinkPad W530 i7 4x2 32GB RAM #--------------------------------------------------------------------- [settings] altpkg = yes compiler = clang exepack = yes license = See "license*.txt" in installed tree licfile = LICENSE tmpsize = 848M setpaths = abseil protobuf zlib #--------------------------------------------------------------------- [depends] abseil actools cmake gawk grep pkgconf sed zlib #--------------------------------------------------------------------- [configure] PP=$PKGDIR_PROD mkdir obj && cd obj cmake \ -DCMAKE_BUILD_TYPE=RELEASE \ -DCMAKE_INSTALL_PREFIX=$PKGDIR_PROD \ -DBUILD_SHARED_LIBS=ON \ -Dprotobuf_BUILD_TESTS=OFF \ -DCMAKE_CXX_STANDARD=17 \ -Dprotobuf_ABSL_PROVIDER=package \ -DCMAKE_PREFIX_PATH=$PP/abseil \ .. #--------------------------------------------------------------------- [build] cd obj smpmake && smpmake install #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = tbd url_home = tbd url_lfs = tbd url_tarball = git # See "technotes" in "cfg" file #--------------------------------------------------------------------- [history] 190529 Updated from 2.5.0 to 3.8.0 210405 Updated to 3.15.7 240715 Updated to 63def39e8 - ("git" hash) same as 3.27.2 240801 Updated to 7cc670c18 - same as 3.27.3 241015 Downdated to 9d0ec0f92 - same as 3.25.5 250206 Updated to dd4c8a7f3 - same as 4.25.6