From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1351911-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CF00F158086 for <garchives@archives.gentoo.org>; Thu, 23 Dec 2021 00:32:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B93452BC005; Thu, 23 Dec 2021 00:32:08 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6D4EE2BC005 for <gentoo-commits@lists.gentoo.org>; Thu, 23 Dec 2021 00:32:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 060E1342D58 for <gentoo-commits@lists.gentoo.org>; Thu, 23 Dec 2021 00:32:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 58556D0 for <gentoo-commits@lists.gentoo.org>; Thu, 23 Dec 2021 00:32:04 +0000 (UTC) From: "Sam James" <sam@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org> Message-ID: <1640218747.a8fe0f469f72fede9769365e1553f2706f9fb3eb.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/aqemu/files/, app-emulation/aqemu/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/aqemu/aqemu-0.9.2-r2.ebuild app-emulation/aqemu/files/aqemu-0.9.2-crash-fix.patch X-VCS-Directories: app-emulation/aqemu/files/ app-emulation/aqemu/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: a8fe0f469f72fede9769365e1553f2706f9fb3eb X-VCS-Branch: master Date: Thu, 23 Dec 2021 00:32:04 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b87a57ab-b4b0-4d68-aeb7-3795ec3047e3 X-Archives-Hash: 5987c90b3da7439c1ef559635605ef04 commit: a8fe0f469f72fede9769365e1553f2706f9fb3eb Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Thu Dec 23 00:18:55 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Dec 23 00:19:07 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8fe0f46 app-emulation/aqemu: fix crash on startup Closes: https://bugs.gentoo.org/738020 Signed-off-by: Sam James <sam <AT> gentoo.org> app-emulation/aqemu/aqemu-0.9.2-r2.ebuild | 43 ++++++++ .../aqemu/files/aqemu-0.9.2-crash-fix.patch | 116 +++++++++++++++++++++ 2 files changed, 159 insertions(+) diff --git a/app-emulation/aqemu/aqemu-0.9.2-r2.ebuild b/app-emulation/aqemu/aqemu-0.9.2-r2.ebuild new file mode 100644 index 000000000000..30c5865b473a --- /dev/null +++ b/app-emulation/aqemu/aqemu-0.9.2-r2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Graphical interface for QEMU and KVM emulators, using Qt5" +HOMEPAGE="https://sourceforge.net/projects/aqemu" +SRC_URI="https://github.com/tobimensch/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="vnc" + +RDEPEND=" + app-emulation/qemu + dev-qt/qtcore:5 + dev-qt/qtnetwork:5 + dev-qt/qtprintsupport:5 + dev-qt/qttest:5 + dev-qt/qtwidgets:5 + vnc? ( net-libs/libvncserver ) +" +DEPEND="${RDEPEND}" + +DOCS=( AUTHORS CHANGELOG README TODO ) +PATCHES=( + "${FILESDIR}/${PN}-0.9.2-qtbindir.patch" + "${FILESDIR}/${PN}-0.9.2-include.patch" + "${FILESDIR}/${PN}-0.9.2-docs.patch" + "${FILESDIR}/${PN}-0.9.2-crash-fix.patch" +) + +src_configure() { + local mycmakeargs=( + -DMAN_PAGE_COMPRESSOR=OFF + -DWITHOUT_EMBEDDED_DISPLAY=$(usex vnc OFF ON) + ) + + cmake_src_configure +} diff --git a/app-emulation/aqemu/files/aqemu-0.9.2-crash-fix.patch b/app-emulation/aqemu/files/aqemu-0.9.2-crash-fix.patch new file mode 100644 index 000000000000..ef4c1a146461 --- /dev/null +++ b/app-emulation/aqemu/files/aqemu-0.9.2-crash-fix.patch @@ -0,0 +1,116 @@ +https://github.com/tobimensch/aqemu/pull/116 +https://bugs.gentoo.org/738020 + +From dc19121a923c71eed248cd6310b9b06ec0af6abe Mon Sep 17 00:00:00 2001 +From: Moskaliou Nikita <44800696+nikitamos@users.noreply.github.com> +Date: Sun, 5 Dec 2021 19:36:44 +0300 +Subject: [PATCH] Change widgets names + +Several widgets in the src/Main_Window.ui file had the same name ("widget"), for several users AQEMU crashed with SEGFAULT. So, the names were changed and now everything works fine +--- a/src/Main_Window.ui ++++ b/src/Main_Window.ui +@@ -226,7 +226,7 @@ + </widget> + </item> + <item> +- <widget class="QWidget" name="widget" native="true"> ++ <widget class="QWidget" name="general_Machine_Sets" native="true"> + <layout class="QGridLayout" name="gridLayout_12"> + <property name="leftMargin"> + <number>24</number> +@@ -275,9 +275,6 @@ + <property name="maxCount"> + <number>64</number> + </property> +- <property name="sizeAdjustPolicy"> +- <enum>QComboBox::AdjustToMinimumContentsLength</enum> +- </property> + </widget> + </item> + <item row="3" column="1"> +@@ -294,9 +291,6 @@ + <property name="maxCount"> + <number>16</number> + </property> +- <property name="sizeAdjustPolicy"> +- <enum>QComboBox::AdjustToMinimumContentsLength</enum> +- </property> + <item> + <property name="text"> + <string>1</string> +@@ -395,9 +389,6 @@ + <verstretch>0</verstretch> + </sizepolicy> + </property> +- <property name="sizeAdjustPolicy"> +- <enum>QComboBox::AdjustToMinimumContentsLength</enum> +- </property> + </widget> + </item> + <item row="2" column="2"> +@@ -526,9 +517,6 @@ + <property name="maxCount"> + <number>8</number> + </property> +- <property name="sizeAdjustPolicy"> +- <enum>QComboBox::AdjustToMinimumContentsLength</enum> +- </property> + <item> + <property name="text"> + <string>Floppy</string> +@@ -586,9 +574,6 @@ + <property name="maxCount"> + <number>8</number> + </property> +- <property name="sizeAdjustPolicy"> +- <enum>QComboBox::AdjustToMinimumContentsLength</enum> +- </property> + </widget> + </item> + <item row="3" column="0"> +@@ -618,9 +603,6 @@ + <property name="maxCount"> + <number>128</number> + </property> +- <property name="sizeAdjustPolicy"> +- <enum>QComboBox::AdjustToMinimumContentsLength</enum> +- </property> + <item> + <property name="text"> + <string>en-us (default)</string> +@@ -1333,7 +1315,7 @@ + </widget> + </item> + </layout> +- <zorder>widget</zorder> ++ <zorder>general_Machine_Sets</zorder> + <zorder>GB_Options</zorder> + <zorder>GB_Audio</zorder> + <zorder>GB_Memory</zorder> +@@ -2457,7 +2439,7 @@ + </layout> + </item> + <item row="1" column="0" colspan="2"> +- <widget class="QWidget" name="widget" native="true"> ++ <widget class="QWidget" name="protocol_Sets" native="true"> + <layout class="QHBoxLayout" name="Widget_Redirection_Protocol"> + <property name="spacing"> + <number>6</number> +@@ -2515,7 +2497,7 @@ + </widget> + </item> + <item row="2" column="0" colspan="2"> +- <widget class="QWidget" name="widget" native="true"> ++ <widget class="QWidget" name="ip_Sets" native="true"> + <layout class="QHBoxLayout" name="Widget_Redirection_Net"> + <property name="spacing"> + <number>6</number> +@@ -3018,7 +3000,7 @@ + <x>0</x> + <y>0</y> + <width>982</width> +- <height>32</height> ++ <height>22</height> + </rect> + </property> + <widget class="QMenu" name="menuVM">