public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: profiles/, dev-libs/libarcus/, dev-libs/libarcus/files/
@ 2023-08-12 12:44 Jakov Smolić
  0 siblings, 0 replies; only message in thread
From: Jakov Smolić @ 2023-08-12 12:44 UTC (permalink / raw
  To: gentoo-commits

commit:     4d3ad1bfa5ba8554257830a0b69472f5923186f5
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 12 12:26:21 2023 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sat Aug 12 12:42:24 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d3ad1bf

dev-libs/libarcus: treeclean

Closes: https://bugs.gentoo.org/896704
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 dev-libs/libarcus/Manifest                         |  1 -
 .../libarcus-4.8.0-deprecated-protobuf-calls.patch | 30 ------------
 dev-libs/libarcus/libarcus-4.13.1.ebuild           | 56 ----------------------
 dev-libs/libarcus/metadata.xml                     | 28 -----------
 profiles/package.mask                              |  1 -
 5 files changed, 116 deletions(-)

diff --git a/dev-libs/libarcus/Manifest b/dev-libs/libarcus/Manifest
deleted file mode 100644
index a8698a231913..000000000000
--- a/dev-libs/libarcus/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST libarcus-4.13.1.tar.gz 32077 BLAKE2B 8a75de1ccd0879db817cd67600f83e765e00eed175d73685331ea7f1cde07dabd5c49c9b0f3f039a2a0e6ad7f491fa34de62054494fd9c588e3bb530370b65b7 SHA512 ffb14595f23c47f71082b994eae01471f45e2e9e1ae9a8ad01df577b9445594c30173388beab016a92be9723638ca6e46b5cecddddc6adc97e9d212fc0fa23fa

diff --git a/dev-libs/libarcus/files/libarcus-4.8.0-deprecated-protobuf-calls.patch b/dev-libs/libarcus/files/libarcus-4.8.0-deprecated-protobuf-calls.patch
deleted file mode 100644
index 659885d406e3..000000000000
--- a/dev-libs/libarcus/files/libarcus-4.8.0-deprecated-protobuf-calls.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- a/src/Socket_p.h
-+++ b/src/Socket_p.h
-@@ -128,9 +128,6 @@
-
-         static const int keep_alive_rate = 500; //Number of milliseconds between sending keepalive packets
-
--        // This value determines when protobuf should warn about very large messages.
--        static const int message_size_warning = 400 * 1048576;
--
-         // This value determines when protobuf should error out because the message is too large.
-         // Due to the way Protobuf is implemented, messages large than 512MiB will cause issues.
-         static const int message_size_maximum = 500 * 1048576;
-@@ -362,7 +359,7 @@
-             return;
-         }
-
--        uint32_t message_size = message->ByteSize();
-+        uint32_t message_size = message->ByteSizeLong();
-         if(platform_socket.writeUInt32(message_size) == -1)
-         {
-             error(ErrorCode::SendFailedError, "Could not send message size");
-@@ -548,7 +545,7 @@
-
-         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));

diff --git a/dev-libs/libarcus/libarcus-4.13.1.ebuild b/dev-libs/libarcus/libarcus-4.13.1.ebuild
deleted file mode 100644
index 77d40e732248..000000000000
--- a/dev-libs/libarcus/libarcus-4.13.1.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..10} )
-
-inherit cmake python-single-r1
-
-MY_PN="libArcus"
-
-DESCRIPTION="This library facilitates communication between Cura and its backend"
-HOMEPAGE="https://github.com/Ultimaker/libArcus"
-SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0/3"
-KEYWORDS="amd64 ~arm64 ~x86"
-IUSE="examples +python static-libs"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="${PYTHON_DEPS}
-	dev-libs/protobuf:=
-	$(python_gen_cond_dep '
-		<dev-python/sip-5[${PYTHON_USEDEP}]
-		python? ( dev-python/protobuf-python[${PYTHON_USEDEP}] )
-	')"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-4.8.0-deprecated-protobuf-calls.patch
-)
-
-pkg_setup() {
-	use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
-	# Find SIP for current python version, not the latest installed
-	sed -i "s/find_package(Python3 3.4 REQUIRED/find_package(Python3 ${EPYTHON##python} EXACT REQUIRED/g" \
-		CMakeLists.txt cmake/FindSIP.cmake || die
-
-	cmake_src_prepare
-}
-
-src_configure() {
-	local mycmakeargs=(
-		-DBUILD_EXAMPLES=$(usex examples ON OFF)
-		-DBUILD_PYTHON=$(usex python ON OFF)
-		-DBUILD_STATIC=$(usex static-libs ON OFF)
-	)
-
-	cmake_src_configure
-}

diff --git a/dev-libs/libarcus/metadata.xml b/dev-libs/libarcus/metadata.xml
deleted file mode 100644
index 777a4fbbb00a..000000000000
--- a/dev-libs/libarcus/metadata.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<maintainer type="project">
-		<email>3dprint@gentoo.org</email>
-		<name>Gentoo 3D Printer Project</name>
-	</maintainer>
-	<maintainer type="project" proxied="proxy">
-		<email>proxy-maint@gentoo.org</email>
-		<name>Proxy Maintainers</name>
-	</maintainer>
-	<maintainer type="person" proxied="yes">
-		<email>mathy@vanvoorden.be</email>
-		<name>Mathy Vanvoorden</name>
-	</maintainer>
-	<longdescription>
-		This library contains C++ code and Python3 bindings for creating a socket in a thread and using this socket to
-		send and receive messages based on the Protocol Buffers library.
-		It is designed to facilitate the communication between Cura and its backend and similar code.
-	</longdescription>
-	<slots>
-		<subslots>soname major version number</subslots>
-	</slots>
-	<upstream>
-		<bugs-to>https://github.com/Ultimaker/libArcus/issues</bugs-to>
-		<remote-id type="github">Ultimaker/libArcus</remote-id>
-	</upstream>
-</pkgmetadata>

diff --git a/profiles/package.mask b/profiles/package.mask
index 06099ced21a6..8d86c34d7798 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -485,7 +485,6 @@ app-portage/layman
 media-gfx/cura
 acct-group/ultimaker
 acct-user/ultimaker
-dev-libs/libarcus
 
 # Sam James <sam@gentoo.org> (2023-05-03)
 # Broken pkgconfig file, please upgrade to -r1.


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-08-12 12:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-12 12:44 [gentoo-commits] repo/gentoo:master commit in: profiles/, dev-libs/libarcus/, dev-libs/libarcus/files/ Jakov Smolić

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox