diff options
author | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2023-08-28 13:36:13 +0200 |
---|---|---|
committer | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2023-08-28 13:36:13 +0200 |
commit | 5eae9a5a49037099d3864c3f2ae81f0cbe2f9acb (patch) | |
tree | fcf8d4671b03f8882c3961d86343a251ee1d6c1d | |
parent | 01ab58cbce56cf83d29336318a327be0eea1d815 (diff) | |
download | archlinuxewe-5eae9a5a49037099d3864c3f2ae81f0cbe2f9acb.tar.xz |
arcus: removed
-rw-r--r-- | arcus/PKGBUILD | 60 | ||||
-rw-r--r-- | arcus/protobuf-3.18.patch | 15 |
2 files changed, 0 insertions, 75 deletions
diff --git a/arcus/PKGBUILD b/arcus/PKGBUILD deleted file mode 100644 index 332d5e106..000000000 --- a/arcus/PKGBUILD +++ /dev/null @@ -1,60 +0,0 @@ -# Maintainer: Erich Eckner <arch at eckner dot net> -# Contributor: TimTechDev <archlinux [at] timtechdev [dot] de> -# Contributor: Jelle van der Waa <jelle@archlinux.org> -# Contributor: Maxime Gauduin <alucryd@archlinux.org> -# Contributor: Grey Christoforo <first name [at] last name [dot] net> - -# upstreamed renamed to libarcus -pkgname=arcus -pkgver=5.0.0 -pkgrel=7 -pkgdesc="Communication library between internal components for Ultimaker software" -url="https://github.com/Ultimaker/libArcus" -arch=('x86_64') -license=('LGPL') -provides=('libarcus') -conflicts=('libarcus') -makedepends=('cmake' 'git' 'ninja') -_pinned_dependencies=( - 'gcc-libs=13.2.1' - 'glibc>=2.36' - 'libprotobuf.so=23' -) -depends=('python' 'protobuf' "${_pinned_dependencies[@]}") -options=('debug') -source=("$pkgname-$pkgver.tar.gz::https://github.com/Ultimaker/libArcus/archive/${pkgver}.tar.gz" - protobuf-3.18.patch) -sha512sums=('ffa22847693b4368966e02667ab44e0ce8da82210936da7364ee405acb38286e0e3a05aadbdf56f2a2fcafa8a28b1e4fa294609e1181a68a56dc0ad591e5556f' - '5aa03da6a8db4fd3145c61bca587aac6c622536dc8211ca19be2c37ce33bf8a53508a95aa35d40d7972c7f0fea3e66ee0c506eda932be35751238f4d7f7e0d61') - -prepare() { - export _sitelib="$(python -c 'import site; print(site.getsitepackages()[0])')" - - python -m venv --system-site-packages .venv - source .venv/bin/activate - python -m pip install sip==6.5.1 - - cd libArcus-${pkgver} - patch -Np1 -i ../protobuf-3.18.patch -} - -build() { - export _sitelib="$(python -c 'import site; print(site.getsitepackages()[0])')" - source .venv/bin/activate - - cmake -S libArcus-${pkgver} -B build -G Ninja \ - -DCMAKE_BUILD_TYPE=None \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=/usr/lib/ \ - -DPython_SITELIB_LOCAL="${_sitelib}" - - cmake --build build -} - -package() { - DESTDIR="${pkgdir}" cmake --install build - - install -Dm644 "${srcdir}/libArcus-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} - -# vim:set ts=2 sw=2 et: diff --git a/arcus/protobuf-3.18.patch b/arcus/protobuf-3.18.patch deleted file mode 100644 index 633d38bb4..000000000 --- a/arcus/protobuf-3.18.patch +++ /dev/null @@ -1,15 +0,0 @@ -# https://github.com/coryan/vcpkg/blob/master/ports/arcus/0001-fix-protobuf-deprecated.patch - -diff --git a/src/Socket_p.h b/src/Socket_p.h -index 9c3c084..9ccabda 100644 ---- a/src/Socket_p.h -+++ b/src/Socket_p.h -@@ -548,7 +548,7 @@ namespace Arcus - - google::protobuf::io::ArrayInputStream array(wire_message->data, wire_message->size); - google::protobuf::io::CodedInputStream stream(&array); -- stream.SetTotalBytesLimit(message_size_maximum, message_size_warning); -+ stream.SetTotalBytesLimit(message_size_maximum); - if(!message->ParseFromCodedStream(&stream)) - { - error(ErrorCode::ParseFailedError, "Failed to parse message:" + std::string(wire_message->data)); |