Bug#1064919: vokoscreen-ng: Prompts for updates on startup

2024-02-27 Thread Thiago Andrade

Hi Wesley,

thanks for these patches.
I'll upload as soon as possible!

Regards.

On 27/02/2024 15:07, Wesley Schwengle wrote:

Package: vokoscreen-ng
Version: 3.7.0-1
Severity: normal
Tags: patch
X-Debbugs-Cc: wes...@schwengle.net

Dear Maintainer,

I started up vokoscreen and saw there was an update available for vokoscreen.
When running this app from source that might be great information, but from a
Debian point of view this is unwanted.

I patched vokoscreen-ng with 3 patches, for version 3.5.0 (stable),
v3.7.0 (unstable/testing) and v3.8.0, which would be nice to have in Debian
unstable perhaps?

Patches are attached.

-- System Information:
Debian Release: trixie/sid
   APT prefers unstable
   APT policy: (900, 'unstable'), (500, 'experimental'), (500, 'testing'), (10, 
'stable-updates'), (10, 'stable-security'), (10, 'oldstable-security'), (10, 
'oldoldstable'), (10, 'stable'), (10, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.6.15-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages vokoscreen-ng depends on:
ii  gstreamer1.0-plugins-good  1.22.10-1
ii  libc6  2.37-15
ii  libgcc-s1  14-20240201-3
ii  libglib2.0-0   2.78.4-1
ii  libgstreamer1.0-0  1.22.10-1
ii  libpulse0  16.1+dfsg1-3
ii  libqt5core5a   5.15.10+dfsg-7
ii  libqt5dbus55.15.10+dfsg-7
ii  libqt5gui5 5.15.10+dfsg-7
ii  libqt5multimedia5  5.15.10-2+b1
ii  libqt5network5 5.15.10+dfsg-7
ii  libqt5widgets5 5.15.10+dfsg-7
ii  libqt5x11extras5   5.15.10-2+b1
ii  libstdc++6 14-20240201-3
ii  libwayland-client0 1.22.0-2.1+b1
ii  libx11-6   2:1.8.7-1

Versions of packages vokoscreen-ng recommends:
ii  gstreamer1.0-libav 1.22.10-1
ii  gstreamer1.0-pulseaudio1.22.10-1
ii  libqt5multimedia5-plugins  5.15.10-2+b1
pn  pulseaudio 

Versions of packages vokoscreen-ng suggests:
ii  gstreamer1.0-plugins-bad   1.22.10-1
ii  gstreamer1.0-plugins-ugly  1.22.10-1
ii  gstreamer1.0-vaapi 1.22.10-1
ii  intel-media-va-driver  24.1.0+dfsg1-1

-- debconf-show failed


Bug#1064919: vokoscreen-ng: Prompts for updates on startup

2024-02-27 Thread Wesley Schwengle
Package: vokoscreen-ng
Version: 3.7.0-1
Severity: normal
Tags: patch
X-Debbugs-Cc: wes...@schwengle.net

Dear Maintainer,

I started up vokoscreen and saw there was an update available for vokoscreen.
When running this app from source that might be great information, but from a
Debian point of view this is unwanted.

I patched vokoscreen-ng with 3 patches, for version 3.5.0 (stable),
v3.7.0 (unstable/testing) and v3.8.0, which would be nice to have in Debian
unstable perhaps?

Patches are attached.

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'experimental'), (500, 'testing'), (10, 
'stable-updates'), (10, 'stable-security'), (10, 'oldstable-security'), (10, 
'oldoldstable'), (10, 'stable'), (10, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.6.15-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages vokoscreen-ng depends on:
ii  gstreamer1.0-plugins-good  1.22.10-1
ii  libc6  2.37-15
ii  libgcc-s1  14-20240201-3
ii  libglib2.0-0   2.78.4-1
ii  libgstreamer1.0-0  1.22.10-1
ii  libpulse0  16.1+dfsg1-3
ii  libqt5core5a   5.15.10+dfsg-7
ii  libqt5dbus55.15.10+dfsg-7
ii  libqt5gui5 5.15.10+dfsg-7
ii  libqt5multimedia5  5.15.10-2+b1
ii  libqt5network5 5.15.10+dfsg-7
ii  libqt5widgets5 5.15.10+dfsg-7
ii  libqt5x11extras5   5.15.10-2+b1
ii  libstdc++6 14-20240201-3
ii  libwayland-client0 1.22.0-2.1+b1
ii  libx11-6   2:1.8.7-1

Versions of packages vokoscreen-ng recommends:
ii  gstreamer1.0-libav 1.22.10-1
ii  gstreamer1.0-pulseaudio1.22.10-1
ii  libqt5multimedia5-plugins  5.15.10-2+b1
pn  pulseaudio 

Versions of packages vokoscreen-ng suggests:
ii  gstreamer1.0-plugins-bad   1.22.10-1
ii  gstreamer1.0-plugins-ugly  1.22.10-1
ii  gstreamer1.0-vaapi 1.22.10-1
ii  intel-media-va-driver  24.1.0+dfsg1-1

-- debconf-show failed
>From eac5373d61b1984b1da8b5a1f019631ff46b4dd2 Mon Sep 17 00:00:00 2001
From: Wesley Schwengle 
Date: Tue, 27 Feb 2024 14:01:25 -0400
Subject: [PATCH] Don't show update information

The application tells a user that an update is available. This is the
opposite of what we want in Debian. We want users to only update when
Debian ships a new .deb. Remove the bits from source.

Signed-off-by: Wesley Schwengle 
---
 src/formMainWindow.ui  | 34 --
 src/information/QvkInformation.cpp | 29 +
 src/information/QvkInformation.h   |  2 --
 3 files changed, 1 insertion(+), 64 deletions(-)

diff --git a/src/formMainWindow.ui b/src/formMainWindow.ui
index 7e17f8cb..e59a4dc3 100644
--- a/src/formMainWindow.ui
+++ b/src/formMainWindow.ui
@@ -2042,40 +2042,6 @@
 

   
-  
-   
-
- 
-  
-   Look for updates
-  
- 
-
-
- 
-  
-   TextLabel
-  
-  
-   true
-  
- 
-
-
- 
-  
-   Qt::Horizontal
-  
-  
-   
-40
-20
-   
-  
- 
-
-   
-  
   

 
diff --git a/src/information/QvkInformation.cpp 
b/src/information/QvkInformation.cpp
index 282a587d..82de9555 100644
--- a/src/information/QvkInformation.cpp
+++ b/src/information/QvkInformation.cpp
@@ -66,11 +66,8 @@ QvkInformation::QvkInformation( QvkMainWindow *vkMainWindow,
 connect( ui->pushButtonPause,SIGNAL( clicked( bool ) ), timerRecord, 
SLOT( stop() ) );
 connect( ui->pushButtonContinue, SIGNAL( clicked( bool ) ), timerRecord, 
SLOT( start() ) );
 
-// Update
+// Debian doesn't need the updates because of the release model
 ui->label_Upate_tab_1->clear();
-ui->label_Upate_tab_4->clear();
-connect( , SIGNAL( signal_newVersionAvailable( QString ) ), this, 
SLOT( slot_newVersionAvailable( QString ) ) );
-connect( ui->checkBoxLookForUpdates, SIGNAL( toggled( bool ) ), , 
SLOT( slot_doDownload( bool ) ) );
 
 // Frames, Format, Codecs
 connect( ui->comboBoxFormat,   SIGNAL( currentTextChanged( QString ) 
), this, SLOT( slot_Format( QString ) ) );
@@ -125,30