88.29. thrift-0.25.0
Apache Thrift — the IDL compiler, the C++ library and the Python module; GNU Radio's ControlPort transport
0.25.0-1 · Apache-2.0 · 3.5 SBU · 9.3 MiB, 217 files · 41_system, 559 of 1047 · ports/core/formats/thrift
Homepage: https://thrift.apache.org/
Depends on: cmake, ninja, pkgconf, boost, openssl, zlib, libevent, flex, bison, python3, python3-setuptools, python3-wheel, python3-pip.
Required by (1): gnuradio.
Sources: thrift-0.25.0.tar.gz (4.8 MiB). Every step kpkg takes applies to this port.
Optional, off in KDOS. These switches in build.sh turn off a feature whose library is a port here. The recipe may turn each off on purpose, or because the library was not yet a port when the recipe was written; this list cannot tell which.
-DWITH_QT5=OFF, line 25: qt5-qtbase-DWITH_NODEJS=OFF, line 29: nodejs-DWITH_PYTHON=OFF, line 30: python3
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install thrift'
build.sh:
cmake -B build -G Ninja \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_SHARED_LIBS=ON \
-DBUILD_TESTING=OFF \
-DBUILD_TUTORIALS=OFF \
-DBUILD_COMPILER=ON \
-DBUILD_LIBRARIES=ON \
-DWITH_CPP=ON \
-DWITH_ZLIB=ON \
-DWITH_LIBEVENT=ON \
-DWITH_OPENSSL=ON \
-DWITH_QT5=OFF \
-DWITH_C_GLIB=OFF \
-DWITH_JAVA=OFF \
-DWITH_JAVASCRIPT=OFF \
-DWITH_NODEJS=OFF \
-DWITH_PYTHON=OFF \
-Wno-dev
ninja -C build
DESTDIR=$PKG ninja -C build install
cd lib/py
pip3 install --ignore-installed --no-deps --no-index --no-build-isolation --root=$PKG --prefix=/usr .
cd ../..
test -x "$PKG/usr/bin/thrift"
test -f "$PKG/usr/lib/pkgconfig/thrift.pc"
test -n "$(find "$PKG/usr/lib" -path '*site-packages/thrift/protocol/fastbinary*.so' | head -1)"
Programs: thrift.
Libraries: libthrift.so, libthriftnb.so, libthriftz.so.
Directories: /usr/include/thrift, /usr/lib/cmake/thrift, /usr/lib/python3.14/site-packages/thrift, /usr/lib/python3.14/site-packages/thrift-0.25.0.dist-info, /usr/share/licenses/thrift.