Github messages for voidlinux
 help / color / mirror / Atom feed
From: Logarithmus <Logarithmus@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: qt-virt-manager-0.71.95
Date: Fri, 20 Nov 2020 21:26:39 +0100	[thread overview]
Message-ID: <20201120202639.ziC7clVB0BcV-e7tq7dJrlXv-anAts7j7mVoUPzhz7Y@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26473@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 369 bytes --]

There is an updated pull request by Logarithmus against master on the void-packages repository

https://github.com/Logarithmus/void-packages qt-virt-manager
https://github.com/void-linux/void-packages/pull/26473

New package: qt-virt-manager-0.71.95
Qt Virtual machines manager

A patch file from https://github.com/void-linux/void-packages/pull/26473.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-qt-virt-manager-26473.patch --]
[-- Type: text/x-diff, Size: 11570 bytes --]

From bf0ec9b4f3e0a7ebe5e26801e7bdf5bda5bc07a5 Mon Sep 17 00:00:00 2001
From: Toyam Cox <Vaelatern@voidlinux.org>
Date: Fri, 20 Nov 2020 12:46:01 -0500
Subject: [PATCH 1/3] neomutt: update to 20201120.

---
 srcpkgs/neomutt/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/neomutt/template b/srcpkgs/neomutt/template
index 25c57cea6cc..786c88fab1d 100644
--- a/srcpkgs/neomutt/template
+++ b/srcpkgs/neomutt/template
@@ -1,6 +1,6 @@
 # Template file for 'neomutt'
 pkgname=neomutt
-version=20200925
+version=20201120
 revision=1
 wrksrc="neomutt-${version}"
 create_wrksrc=true
@@ -23,7 +23,7 @@ homepage="https://neomutt.org/"
 _test_files_hash=8629adab700a75c54e8e28bf05ad092503a98f75
 distfiles="https://github.com/neomutt/neomutt/archive/${version}.tar.gz
  https://github.com/neomutt/neomutt-test-files/archive/${_test_files_hash}.tar.gz"
-checksum="dcec98ea2454d7695ff92184c33a0051c2b3c46320f81f7889c4580c943140dd
+checksum="48191d4f17cb1e5fd094ca92c581e1bb9599f058c122cc0e35df4e1c0cb53f47
  a53d6447cf4e8f60bd9a3caf68a1cfe1bfda878b5bcb8c60b965b5214de73ff9"
 python_version=3
 
@@ -41,7 +41,7 @@ esac
 
 post_install() {
 	# move dist to examples dir
-	vsconf contrib/gpg.rc Muttrc.gpg.dist
+	vsconf contrib/samples/gpg.rc Muttrc.gpg.dist
 }
 
 pre_check() {

From a2c2159a764fcd1fc4fa95031b0d0285037b85b8 Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Fri, 20 Nov 2020 14:34:15 -0500
Subject: [PATCH 2/3] python3-pyopencl: update to 2020.3.1.

---
 srcpkgs/python3-pyopencl/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/python3-pyopencl/template b/srcpkgs/python3-pyopencl/template
index 43a5a3b8426..49ef0a074a7 100644
--- a/srcpkgs/python3-pyopencl/template
+++ b/srcpkgs/python3-pyopencl/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-pyopencl'
 pkgname=python3-pyopencl
-version=2020.3
+version=2020.3.1
 revision=1
 wrksrc=${pkgname#*-}-${version}
 build_style=python3-module
@@ -12,7 +12,7 @@ maintainer="Andrew J. Hesford <ajh@sideband.org>"
 license="X11, Apache-2.0, BSD-3-Clause"
 homepage="https://mathema.tician.de/software/pyopencl"
 distfiles="${PYPI_SITE}/p/pyopencl/pyopencl-${version}.tar.gz"
-checksum=4aa3031c17fc99aa2f3018ef2c9e1d535c3cfdc7a01bb987b1ea3826ef42bd59
+checksum=abc689307cf34d3dcc94d43815f64e2265469b50ecce6c903a3180589666fb36
 
 do_configure() {
 	./configure.py --cl-inc-dir=${XBPS_CROSS_BASE}/usr/include \

From a7fc964e39621711945bff92cd25fcadc666c6a3 Mon Sep 17 00:00:00 2001
From: Artur Sinila <personal@logarithmus.dev>
Date: Sat, 3 Oct 2020 05:37:49 +0300
Subject: [PATCH 3/3] New package: qt-virt-manager-0.71.95

---
 .../qt-virt-manager/patches/update-krdc.patch | 193 ++++++++++++++++++
 srcpkgs/qt-virt-manager/template              |  21 ++
 2 files changed, 214 insertions(+)
 create mode 100644 srcpkgs/qt-virt-manager/patches/update-krdc.patch
 create mode 100644 srcpkgs/qt-virt-manager/template

diff --git a/srcpkgs/qt-virt-manager/patches/update-krdc.patch b/srcpkgs/qt-virt-manager/patches/update-krdc.patch
new file mode 100644
index 00000000000..92572dd6182
--- /dev/null
+++ b/srcpkgs/qt-virt-manager/patches/update-krdc.patch
@@ -0,0 +1,193 @@
+From 4640f5f64534ed7c8a1ecc6851f1c7503988de6d Mon Sep 17 00:00:00 2001
+From: "Tristan Helmich (omniIT)" <tristan.helmich@omniit.de>
+Date: Fri, 2 Oct 2020 11:36:34 +0000
+Subject: [PATCH] Rename variables to work with current krdc release
+
+Rename variables according to changes made upstream in KDE/krdc@56a0222b518d05c1816aba5a142ea616983ee9ef
+---
+ src/vm_viewer/krdc_vnc_qtonly/remoteview.cpp | 12 +++++------
+ src/vm_viewer/krdc_vnc_qtonly/remoteview.h   | 22 ++++++++++----------
+ src/vm_viewer/krdc_vnc_qtonly/vncview.cpp    | 18 ++++++++--------
+ src/vm_viewer/krdc_vnc_qtonly/vncview.h      |  2 +-
+ 4 files changed, 27 insertions(+), 27 deletions(-)
+
+diff --git a/src/vm_viewer/krdc_vnc_qtonly/remoteview.cpp b/src/vm_viewer/krdc_vnc_qtonly/remoteview.cpp
+index 3b1eedea..5d716a28 100644
+--- src/vm_viewer/krdc_vnc_qtonly/remoteview.cpp
++++ src/vm_viewer/krdc_vnc_qtonly/remoteview.cpp
+@@ -44,7 +44,7 @@ RemoteView::RemoteView(QWidget *parent)
+ #ifndef QTONLY
+         m_wallet(0),
+ #endif
+-        m_dotCursorState(CursorOff)
++        m_localCursorState(CursorOff)
+ {
+ }
+ 
+@@ -158,14 +158,14 @@ void RemoteView::setGrabAllKeys(bool grabAllKeys)
+     }
+ }
+ 
+-void RemoteView::showDotCursor(DotCursorState state)
++void RemoteView::showLocalCursor(LocalCursorState state)
+ {
+-    m_dotCursorState = state;
++    m_localCursorState = state;
+ }
+ 
+-RemoteView::DotCursorState RemoteView::dotCursorState() const
++RemoteView::LocalCursorState RemoteView::localCursorState() const
+ {
+-    return m_dotCursorState;
++    return m_localCursorState;
+ }
+ 
+ bool RemoteView::scaling() const
+@@ -243,7 +243,7 @@ void RemoteView::saveWalletPassword(const QString &password, bool fromUserNameOn
+ }
+ #endif
+ 
+-QCursor RemoteView::localDotCursor() const
++QCursor RemoteView::localDefaultCursor() const
+ {
+ #ifdef QTONLY
+     QBitmap cursorBitmap( ":images/pointcursor.png" );
+diff --git a/src/vm_viewer/krdc_vnc_qtonly/remoteview.h b/src/vm_viewer/krdc_vnc_qtonly/remoteview.h
+index b3d734f6..0fdbe21b 100644
+--- src/vm_viewer/krdc_vnc_qtonly/remoteview.h
++++ src/vm_viewer/krdc_vnc_qtonly/remoteview.h
+@@ -78,9 +78,9 @@ class KDE_EXPORT RemoteView : public QWidget
+     * is a dot and the remote cursor is the 'real' cursor, usually an arrow.
+     */
+ 
+-    Q_ENUMS(DotCursorState)
++    Q_ENUMS(LocalCursorState)
+ 
+-    enum DotCursorState {
++    enum LocalCursorState {
+         CursorOn,  ///< Always show local cursor (and the remote one).
+         CursorOff, ///< Never show local cursor, only the remote one.
+         /// Try to measure the lag and enable the local cursor if the latency is too high.
+@@ -150,9 +150,9 @@ class KDE_EXPORT RemoteView : public QWidget
+      * Checks whether the backend supports the concept of local cursors. The
+      * default implementation returns false.
+      * @return true if local cursors are supported/known
+-     * @see DotCursorState
+-     * @see showDotCursor()
+-     * @see dotCursorState()
++     * @see LocalCursorState
++     * @see showLocalCursor()
++     * @see localCursorState()
+      */
+     virtual bool supportsLocalCursor() const;
+ 
+@@ -161,19 +161,19 @@ class KDE_EXPORT RemoteView : public QWidget
+      * The default implementation does nothing.
+      * @param state the new state (CursorOn, CursorOff or
+      *        CursorAuto)
+-     * @see dotCursorState()
++     * @see localCursorState()
+      * @see supportsLocalCursor()
+      */
+-    virtual void showDotCursor(DotCursorState state);
++    virtual void showLocalCursor(LocalCursorState state);
+ 
+     /**
+      * Returns the state of the local cursor. The default implementation returns
+      * always CursorOff.
+      * @return true if local cursors are supported/known
+-     * @see showDotCursor()
++     * @see showLocalCursor()
+      * @see supportsLocalCursor()
+      */
+-    virtual DotCursorState dotCursorState() const;
++    virtual LocalCursorState localCursorState() const;
+ 
+     /**
+      * Checks whether the view is in view-only mode. This means
+@@ -387,7 +387,7 @@ public slots:
+      */
+     virtual void setStatus(RemoteStatus s);
+ 
+-    QCursor localDotCursor() const;
++    QCursor localDefaultCursor() const;
+ 
+     QString m_host;
+     int m_port;
+@@ -403,7 +403,7 @@ public slots:
+     KWallet::Wallet *m_wallet;
+ #endif
+ 
+-    DotCursorState m_dotCursorState;
++    LocalCursorState m_localCursorState;
+ };
+ 
+ #endif
+diff --git a/src/vm_viewer/krdc_vnc_qtonly/vncview.cpp b/src/vm_viewer/krdc_vnc_qtonly/vncview.cpp
+index 78a90017..92976aff 100644
+--- src/vm_viewer/krdc_vnc_qtonly/vncview.cpp
++++ src/vm_viewer/krdc_vnc_qtonly/vncview.cpp
+@@ -219,7 +219,7 @@ bool VncView::start()
+ 
+     // set local cursor on by default because low quality mostly means slow internet connection
+     if (quality == RemoteView::Low) {
+-        showDotCursor(RemoteView::CursorOn);
++        showLocalCursor(RemoteView::CursorOn);
+ #ifndef QTONLY
+         // KRDC does always just have one main window, so at(0) is safe
+         KXMLGUIClient *mainWindow = dynamic_cast<KXMLGUIClient*>(KMainWindow::memberList().at(0));
+@@ -309,7 +309,7 @@ void VncView::outputErrorMessage(const QString &message)
+     kDebug(5011) << message;
+ 
+     if (message == "INTERNAL:APPLE_VNC_COMPATIBILTY") {
+-        setCursor(localDotCursor());
++        setCursor(localDefaultCursor());
+         m_forceLocalCursor = true;
+         return;
+     }
+@@ -353,8 +353,8 @@ void VncView::updateImage(int x, int y, int w, int h)
+         setAttribute(Qt::WA_OpaquePaintEvent);
+         installEventFilter(this);
+ 
+-        setCursor(((m_dotCursorState == CursorOn) || m_forceLocalCursor)
+-                  ? localDotCursor() : Qt::BlankCursor);
++        setCursor(((m_localCursorState == CursorOn) || m_forceLocalCursor)
++                  ? localDefaultCursor() : Qt::BlankCursor);
+ 
+         setMouseTracking(true); // get mouse events even when there is no mousebutton pressed
+         setFocusPolicy(Qt::WheelFocus);
+@@ -409,16 +409,16 @@ void VncView::setViewOnly(bool viewOnly)
+     if (viewOnly)
+         setCursor(Qt::ArrowCursor);
+     else
+-        setCursor(m_dotCursorState == CursorOn
+-                  ? localDotCursor() : Qt::BlankCursor);
++        setCursor(m_localCursorState == CursorOn
++                  ? localDefaultCursor() : Qt::BlankCursor);
+ }
+ 
+-void VncView::showDotCursor(DotCursorState state)
++void VncView::showLocalCursor(LocalCursorState state)
+ {
+-    RemoteView::showDotCursor(state);
++    RemoteView::showLocalCursor(state);
+ 
+     setCursor(state == CursorOn
+-              ? localDotCursor() : Qt::BlankCursor);
++              ? localDefaultCursor() : Qt::BlankCursor);
+ }
+ 
+ void VncView::enableScaling(bool scale)
+diff --git a/src/vm_viewer/krdc_vnc_qtonly/vncview.h b/src/vm_viewer/krdc_vnc_qtonly/vncview.h
+index 5d867c1b..d3c18a4c 100644
+--- src/vm_viewer/krdc_vnc_qtonly/vncview.h
++++ src/vm_viewer/krdc_vnc_qtonly/vncview.h
+@@ -61,7 +61,7 @@ class VncView: public RemoteView
+ #endif
+ 
+     void setViewOnly(bool viewOnly);
+-    void showDotCursor(DotCursorState state);
++    void showLocalCursor(LocalCursorState state);
+     void enableScaling(bool scale);
+     
+     virtual void updateConfiguration();
diff --git a/srcpkgs/qt-virt-manager/template b/srcpkgs/qt-virt-manager/template
new file mode 100644
index 00000000000..6516636bf75
--- /dev/null
+++ b/srcpkgs/qt-virt-manager/template
@@ -0,0 +1,21 @@
+# Template file for 'qt-virt-manager'
+pkgname=qt-virt-manager
+version=0.71.95
+revision=1
+build_style=cmake
+hostmakedepends="pkg-config"
+makedepends="qt5-multimedia-devel qt5-svg-devel qtermwidget-devel
+ libglib-devel spice-gtk-devel libvncserver-devel
+ libvirt-devel krdc-devel qt5-tools-devel"
+depends="qt5-xml"
+short_desc="Qt Virtual machines manager"
+maintainer="Artur Sinila <opensource@logarithmus.dev>"
+license="GPL-2.0-only"
+homepage="https://f1ash.github.io/qt-virt-manager/"
+changelog="https://github.com/F1ash/qt-virt-manager/raw/master/Changelog"
+distfiles="https://github.com/F1ash/qt-virt-manager/archive/${version}.tar.gz"
+checksum=d72d9bf8b3d0b94956f0fd8b58890f12063b58d826102e353820be51210fbfe1
+
+if [ "$CROSS_BUILD" ]; then
+	hostmakedepends+=" qt5-host-tools qt5-devel"
+fi

  parent reply	other threads:[~2020-11-20 20:26 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-18  6:05 [PR PATCH] " Logarithmus
2020-11-20 18:11 ` [PR PATCH] [Updated] " Logarithmus
2020-11-20 20:07 ` Logarithmus
2020-11-20 20:16 ` [PR REVIEW] " Duncaen
2020-11-20 20:16 ` Duncaen
2020-11-20 20:17 ` Duncaen
2020-11-20 20:18 ` Duncaen
2020-11-20 20:26 ` Logarithmus [this message]
2020-11-20 20:31 ` [PR PATCH] [Updated] " Logarithmus
2020-11-20 20:34 ` Logarithmus
2021-02-19  4:22 ` [PR PATCH] [Updated] New package: qt-virt-manager-0.72.97 Logarithmus
2021-02-27 17:43 ` Logarithmus
2021-03-26 21:44 ` [PR PATCH] [Updated] " Logarithmus
2021-05-05 14:00 ` Logarithmus
2021-07-27  2:21 ` Logarithmus
2021-07-27  3:21 ` Logarithmus
2022-06-05  2:13 ` New package: qt-virt-manager-0.72.98 github-actions
2022-06-05  3:03 ` zen0bit
2022-06-05  3:17 ` [PR REVIEW] " zen0bit
2022-06-05  3:17 ` zen0bit
2022-06-05  3:18 ` zen0bit
2022-06-05 17:55 ` [PR REVIEW] " zen0bit
2022-06-05 17:56 ` zen0bit
2022-06-20  2:12 ` [PR PATCH] [Closed]: " github-actions

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201120202639.ziC7clVB0BcV-e7tq7dJrlXv-anAts7j7mVoUPzhz7Y@z \
    --to=logarithmus@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).