dev-libs/singleapplication: treeclean
Signed-off-by: Zakk <zakk@gentoozh.org>
This commit is contained in:
1 parent
9abf1601d7
commit
66a39baa07
6 files changed
-110
No files matched your search
@@ -1 +0,0 @@
|
|||||||
DIST singleapplication-3.5.6.tar.gz 28003 BLAKE2B e3b365c916ec765564e7e440e9a1819d1fa92237ce90e45cb0160a8dd61032f013faa4466624cb3d3b91b423a8e1fdde403c4d45f3ab8df9b290cf4a5737b53d SHA512 b05bc851cd6c0d1f0a998b6d11c9dd0eb3c628fed4fb8f0ca200443c13f383ef7a5f44edc071f657edb00ddcb0866974b40a944425b16e9d78a0d18a012cac15
|
|
||||||
-16
@@ -1,16 +0,0 @@
|
|||||||
--- a/singleapplication.cpp
|
|
||||||
+++ b/singleapplication.cpp
|
|
||||||
@@ -149,8 +149,11 @@
|
|
||||||
// Check if another instance can be started
|
|
||||||
if( allowSecondary ){
|
|
||||||
d->startSecondary();
|
|
||||||
- if( d->options & Mode::SecondaryNotification ){
|
|
||||||
- d->connectToPrimary( timeout, SingleApplicationPrivate::SecondaryInstance );
|
|
||||||
+ auto type = d->options & Mode::SecondaryNotification ? SingleApplicationPrivate::SecondaryInstance : SingleApplicationPrivate::InvalidConnection;
|
|
||||||
+ // If a connection to the primary instance cannot be established, become the primary instance.
|
|
||||||
+ if (!d->connectToPrimary(timeout, type)) {
|
|
||||||
+ d->initializeMemoryBlock();
|
|
||||||
+ d->startPrimary();
|
|
||||||
}
|
|
||||||
if( ! d->memory->unlock() ){
|
|
||||||
qDebug() << "SingleApplication: Unable to unlock memory after secondary start.";
|
|
||||||
@@ -1,40 +0,0 @@
|
|||||||
--- a/examples/basic/CMakeLists.txt
|
|
||||||
+++ b/examples/basic/CMakeLists.txt
|
|
||||||
@@ -1,4 +1,4 @@
|
|
||||||
-cmake_minimum_required(VERSION 3.7.0)
|
|
||||||
+cmake_minimum_required(VERSION 3.10.0)
|
|
||||||
|
|
||||||
project(basic LANGUAGES CXX)
|
|
||||||
|
|
||||||
--- a/examples/calculator/CMakeLists.txt
|
|
||||||
+++ b/examples/calculator/CMakeLists.txt
|
|
||||||
@@ -1,4 +1,4 @@
|
|
||||||
-cmake_minimum_required(VERSION 3.7.0)
|
|
||||||
+cmake_minimum_required(VERSION 3.10.0)
|
|
||||||
|
|
||||||
project(calculator LANGUAGES CXX)
|
|
||||||
|
|
||||||
--- a/examples/sending_arguments/CMakeLists.txt
|
|
||||||
+++ b/examples/sending_arguments/CMakeLists.txt
|
|
||||||
@@ -1,4 +1,4 @@
|
|
||||||
-cmake_minimum_required(VERSION 3.7.0)
|
|
||||||
+cmake_minimum_required(VERSION 3.10.0)
|
|
||||||
|
|
||||||
project(sending_arguments LANGUAGES CXX)
|
|
||||||
|
|
||||||
--- a/examples/separate_object/CMakeLists.txt
|
|
||||||
+++ b/examples/separate_object/CMakeLists.txt
|
|
||||||
@@ -1,4 +1,4 @@
|
|
||||||
-cmake_minimum_required(VERSION 3.7.0)
|
|
||||||
+cmake_minimum_required(VERSION 3.10.0)
|
|
||||||
|
|
||||||
project(separate_object LANGUAGES CXX)
|
|
||||||
|
|
||||||
--- a/examples/windows_raise_widget/CMakeLists.txt
|
|
||||||
+++ b/examples/windows_raise_widget/CMakeLists.txt
|
|
||||||
@@ -1,4 +1,4 @@
|
|
||||||
-cmake_minimum_required(VERSION 3.7.0)
|
|
||||||
+cmake_minimum_required(VERSION 3.10.0)
|
|
||||||
|
|
||||||
project(windows_raise_widget LANGUAGES CXX)
|
|
||||||
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="person">
|
|
||||||
<name>blackteahamburger</name>
|
|
||||||
<email>blackteahamburger@outlook.com</email>
|
|
||||||
</maintainer>
|
|
||||||
<upstream>
|
|
||||||
<remote-id type="github">itay-grudev/SingleApplication</remote-id>
|
|
||||||
</upstream>
|
|
||||||
</pkgmetadata>
|
|
||||||
@@ -1,36 +0,0 @@
|
|||||||
# Copyright 2025 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit cmake
|
|
||||||
|
|
||||||
DESCRIPTION="Replacement of QtSingleApplication support for inter-instance communication"
|
|
||||||
HOMEPAGE="https://itay-grudev.github.io/SingleApplication/"
|
|
||||||
SRC_URI="https://github.com/itay-grudev/SingleApplication/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
S="${WORKDIR}/SingleApplication-${PV}"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
IUSE="doc"
|
|
||||||
|
|
||||||
DEPEND="dev-qt/qtbase:6[network]"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
BDEPEND="doc? ( app-text/doxygen )"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
# https://github.com/itay-grudev/SingleApplication/issues/190
|
|
||||||
"${FILESDIR}/singleapplication-3.5.2_p20250124-fix-single-instance-with-qt6.patch"
|
|
||||||
"${FILESDIR}/singleapplication-3.5.6-cmake-3.10.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DQT_DEFAULT_MAJOR_VERSION=6
|
|
||||||
-DQAPPLICATION_CLASS=FreeStandingSingleApplication
|
|
||||||
-DSINGLEAPPLICATION_INSTALL=ON
|
|
||||||
-DSINGLEAPPLICATION_DOCUMENTATION=$(usex doc)
|
|
||||||
)
|
|
||||||
cmake_src_configure
|
|
||||||
}
|
|
||||||
@@ -24,12 +24,6 @@ x11-wm/chamferwm
|
|||||||
# Removal on 2026-12-11.
|
# Removal on 2026-12-11.
|
||||||
net-libs/jzmq
|
net-libs/jzmq
|
||||||
|
|
||||||
# Zakk <zakk@gentoozh.org> (2026-10-24)
|
|
||||||
# Only net-proxy/qv2ray uses dev-libs/singleapplication, and qv2ray is
|
|
||||||
# masked for removal.
|
|
||||||
# Removal on 2026-11-20.
|
|
||||||
dev-libs/singleapplication
|
|
||||||
|
|
||||||
# Zakk <zakk@gentoozh.org> (2026-08-12)
|
# Zakk <zakk@gentoozh.org> (2026-08-12)
|
||||||
# This legacy release is no longer updated. arm64 and loong users should use
|
# This legacy release is no longer updated. arm64 and loong users should use
|
||||||
# app-office/wps-office365-edu, which supports offline use.
|
# app-office/wps-office365-edu, which supports offline use.
|
||||||
|
|||||||
Reference in new issue
Block a user