commit: d114b992d8beb841054e77646a46841bc5205db6 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Thu Jun 12 22:02:42 2025 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Thu Jun 12 22:03:28 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d114b992
x11-misc/synergy: treeclean Closes: https://bugs.gentoo.org/953262 (pkgremoved) Closes: https://bugs.gentoo.org/907118 (pkgremoved) Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> profiles/package.mask | 7 -- x11-misc/synergy/Manifest | 3 - .../synergy/files/synergy-1.14.1.32-gcc13.patch | 57 ---------- x11-misc/synergy/metadata.xml | 8 -- x11-misc/synergy/synergy-1.14.1.32.ebuild | 122 --------------------- 5 files changed, 197 deletions(-) diff --git a/profiles/package.mask b/profiles/package.mask index 4e97c82c7818..de3119a7324e 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -272,13 +272,6 @@ dev-db/mysql:8.4 # Removal on 2025-06-14. www-misc/htdig -# Andreas Sturmlechner <[email protected]> (2025-05-13) -# Depends on Qt5 and is unmaintained for a very long time - currently -# packaged release is from 2021. Alternatives are gui-apps/deskflow or -# gui-apps/input-leap - see also bugs #953262, #907118 -# Removal on 2025-06-12. -x11-misc/synergy - # Matt Turner <[email protected]> (2025-05-13) # Package is replaced by dev-util/mesa_clc. # Removal on 2025-06-12. Bug #955925. diff --git a/x11-misc/synergy/Manifest b/x11-misc/synergy/Manifest deleted file mode 100644 index b817cd6697e4..000000000000 --- a/x11-misc/synergy/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST googletest-18f8200e3079b0e54fa00cb7ac55d4c39dcf6da6.tar.gz 876756 BLAKE2B f51050e656a449e7d8b7d4d920439825dc5857a8fac637b96191bbf668b6353b0e83c5221395f761ca8d1d29a20596ced4d8b4e08b3ce364a866cf7bcc977e4c SHA512 f77c747218dc5ae4858b2b4c58a401eb895493adf470a331d6bac32cd20542533ff3a77081db653bbc18b9f55f6864be04e1739ef4afaed7db39d7c698abf880 -DIST synergy-1.12.0.png 31383 BLAKE2B 228487058d09ee4fe7d3c909a3aee567b63c0d1aeaecf0e724a7bc9c59e48abecac71f8074902fd4f02ff9347fe8f6488b0554fb78a253339b04fe8d2e958d24 SHA512 7044395b41a0d2e49d308c599710fa32398d11584e70da32d4a1ccb292b02437c09860ed14f7bdd113a646daf696988fd3c0b80f3ab52ebbcaddf4c846cdd7ab -DIST synergy-core-1.14.1.32-stable.tar.gz 4617994 BLAKE2B c015ddff44175ea6b0436ab0d7eccfc4e693d7697a67a1b256d310784d794589b1f1815c95fc5948b9987b2c8d11b6bd0685efe08fc87291835fb03b7dcce970 SHA512 c0835d9f1b3f05a994d8340c7abdeb4ed7ab68739d3c0f05e61f639924978d2de1ed1ded58b398287aa29d013a73114b71a578572d2ad6f96e3fce3e0e1a8bc6 diff --git a/x11-misc/synergy/files/synergy-1.14.1.32-gcc13.patch b/x11-misc/synergy/files/synergy-1.14.1.32-gcc13.patch deleted file mode 100644 index 655199f4b04a..000000000000 --- a/x11-misc/synergy/files/synergy-1.14.1.32-gcc13.patch +++ /dev/null @@ -1,57 +0,0 @@ -https://bugs.gentoo.org/898032 -https://github.com/symless/synergy-core/commit/ab8a7b5ed44a3aeadc7a20f0e4020d47ac258e14 - -From ab8a7b5ed44a3aeadc7a20f0e4020d47ac258e14 Mon Sep 17 00:00:00 2001 -From: Sergei Trofimovich <[email protected]> -Date: Thu, 8 Dec 2022 09:16:44 +0000 -Subject: [PATCH] add missing <cstdint> includes for SIZE_MAX (#7237) - -Without the change the build on upcoming `gcc-13` ails as: - - src/lib/base/Log.cpp: In member function 'void Log::print(const char*, int, const char*, ...)': - src/lib/base/Log.cpp:128:23: - error: 'SIZE_MAX' was not declared in this scope - 128 | if ((strnlen(fmt, SIZE_MAX) > 2) && (fmt[0] == '%' && fmt[1] == 'z')) { - | ^~~~~~~~ - src/lib/base/Log.cpp:30:1: - note: 'SIZE_MAX' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'? - 29 | #include <ctime> - +++ |+#include <cstdint> - 30 | - -gcc-13 cleaned it's header dependencies and that exposes these failures. ---- a/src/lib/base/Log.cpp -+++ b/src/lib/base/Log.cpp -@@ -23,10 +23,11 @@ - #include "base/log_outputters.h" - #include "common/Version.h" - -+#include <cstdint> - #include <cstdio> - #include <cstring> - #include <iostream> --#include <ctime> -+#include <ctime> - - // names of priorities - static const char* g_priority[] = { ---- a/src/lib/base/String.cpp -+++ b/src/lib/base/String.cpp -@@ -21,6 +21,7 @@ - #include "common/stdvector.h" - - #include <cctype> -+#include <cstdint> - #include <cstdio> - #include <cstdlib> - #include <cstring> ---- a/src/lib/synergy/IKeyState.cpp -+++ b/src/lib/synergy/IKeyState.cpp -@@ -19,6 +19,7 @@ - #include "synergy/IKeyState.h" - #include "base/EventQueue.h" - -+#include <cstdint> - #include <cstring> - #include <cstdlib> - diff --git a/x11-misc/synergy/metadata.xml b/x11-misc/synergy/metadata.xml deleted file mode 100644 index 429e10cbb5c7..000000000000 --- a/x11-misc/synergy/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <upstream> - <remote-id type="github">symless/synergy-core</remote-id> - </upstream> -</pkgmetadata> diff --git a/x11-misc/synergy/synergy-1.14.1.32.ebuild b/x11-misc/synergy/synergy-1.14.1.32.ebuild deleted file mode 100644 index 42315613f3b0..000000000000 --- a/x11-misc/synergy/synergy-1.14.1.32.ebuild +++ /dev/null @@ -1,122 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake desktop xdg-utils virtualx - -[[ ${PV} == *_* ]] && MY_PV=${PV/_/-} || MY_PV=${PV}-stable -MY_P=synergy-core-${MY_PV} -GTEST_COMMIT=18f8200e3079b0e54fa00cb7ac55d4c39dcf6da6 - -DESCRIPTION="Lets you easily share a single mouse and keyboard between multiple computers" -HOMEPAGE="https://symless.com/synergy https://github.com/symless/synergy-core/" -SRC_URI=" - https://github.com/symless/synergy-core/archive/${MY_PV}.tar.gz - -> ${MY_P}.tar.gz - https://dev.gentoo.org/~mgorny/dist/synergy-1.12.0.png - test? ( - https://github.com/google/googletest/archive/${GTEST_COMMIT}.tar.gz - -> googletest-${GTEST_COMMIT}.tar.gz - ) -" -S=${WORKDIR}/${MY_P} - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" -IUSE="gui test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-libs/glib - dev-libs/openssl:= - dev-qt/qtdbus:5 - x11-libs/gdk-pixbuf - x11-libs/libICE:= - x11-libs/libSM:= - x11-libs/libX11:= - x11-libs/libXext:= - x11-libs/libXi:= - x11-libs/libXinerama:= - x11-libs/libXrandr:= - x11-libs/libXtst:= - x11-libs/libnotify - gui? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtnetwork:5 - dev-qt/qtwidgets:5 - ) -" -DEPEND=" - ${RDEPEND} - x11-base/xorg-proto -" -BDEPEND=" - gui? ( - dev-qt/linguist-tools:5 - )" - -DOCS=( ChangeLog doc/synergy.conf.example{,-advanced,-basic} ) - -PATCHES=( - "${FILESDIR}"/${PN}-1.14.1.32-gcc13.patch -) - -src_prepare() { - # broken on Xvfb - rm src/test/integtests/platform/XWindowsScreenTests.cpp || die - - if use test; then - rmdir ext/googletest || die - mv "${WORKDIR}/googletest-${GTEST_COMMIT}" ext/googletest || die - fi - - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DSYNERGY_BUILD_LEGACY_GUI=$(usex gui) - -DSYNERGY_BUILD_LEGACY_INSTALLER=OFF - -DBUILD_TESTS=$(usex test) - ) - - cmake_src_configure -} - -my_test() { - "${BUILD_DIR}"/bin/unittests && - "${BUILD_DIR}"/bin/integtests -} - -src_test() { - virtx my_test -} - -src_install() { - dobin "${BUILD_DIR}"/bin/{synergy{c,s},syntool} - - if use gui; then - newbin "${BUILD_DIR}"/bin/synergy qsynergy - newicon -s 256 "${DISTDIR}"/synergy-1.12.0.png qsynergy.png - make_desktop_entry qsynergy Synergy qsynergy 'Utility;' - fi - - insinto /etc - newins doc/synergy.conf.example synergy.conf - - newman doc/synergyc.man synergyc.1 - newman doc/synergys.man synergys.1 - - einstalldocs -} - -pkg_postinst() { - use gui && xdg_icon_cache_update -} - -pkg_postrm() { - use gui && xdg_icon_cache_update -}
