Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gpu-screen-recorder-gtk for 
openSUSE:Factory checked in at 2025-04-03 16:49:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gpu-screen-recorder-gtk (Old)
 and      /work/SRC/openSUSE:Factory/.gpu-screen-recorder-gtk.new.1907 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gpu-screen-recorder-gtk"

Thu Apr  3 16:49:47 2025 rev:17 rq:1266706 version:20250318

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/gpu-screen-recorder-gtk/gpu-screen-recorder-gtk.changes
  2025-02-26 17:17:58.569839346 +0100
+++ 
/work/SRC/openSUSE:Factory/.gpu-screen-recorder-gtk.new.1907/gpu-screen-recorder-gtk.changes
        2025-04-03 16:51:12.046218619 +0200
@@ -1,0 +2,8 @@
+Wed Apr 02 22:33:06 UTC 2025 - Muhammad Akbar Yanuar Mantari <mantari...@pm.me>
+
+- Update to version 20250318:
+  * Recognize broadcom
+  * Rephrase merge audio button
+  * Use kms-server-proxy is-setup to check if setup
+
+-------------------------------------------------------------------

Old:
----
  gpu-screen-recorder-gtk-20250224.tar.zst

New:
----
  gpu-screen-recorder-gtk-20250318.tar.zst

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gpu-screen-recorder-gtk.spec ++++++
--- /var/tmp/diff_new_pack.YQqQTq/_old  2025-04-03 16:51:12.566240526 +0200
+++ /var/tmp/diff_new_pack.YQqQTq/_new  2025-04-03 16:51:12.566240526 +0200
@@ -19,7 +19,7 @@
 %bcond_with test
 %define appid   com.dec05eba.gpu_screen_recorder
 Name:           gpu-screen-recorder-gtk
-Version:        20250224
+Version:        20250318
 Release:        0
 Summary:        GTK frontend for GPU Screen Recorder
 License:        GPL-3.0-only

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.YQqQTq/_old  2025-04-03 16:51:12.606242212 +0200
+++ /var/tmp/diff_new_pack.YQqQTq/_new  2025-04-03 16:51:12.610242380 +0200
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://repo.dec05eba.com/gpu-screen-recorder-gtk.git</param>
-              <param 
name="changesrevision">0def84df3a6bc0ae69add185d7ba490bdf03f306</param></service></servicedata>
+              <param 
name="changesrevision">3532d9c64539468529b8a1a6a414e4a4ead21caa</param></service></servicedata>
 (No newline at EOF)
 

++++++ gpu-screen-recorder-gtk-20250224.tar.zst -> 
gpu-screen-recorder-gtk-20250318.tar.zst ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/gpu-screen-recorder-gtk-20250224/com.dec05eba.gpu_screen_recorder.appdata.xml
 
new/gpu-screen-recorder-gtk-20250318/com.dec05eba.gpu_screen_recorder.appdata.xml
--- 
old/gpu-screen-recorder-gtk-20250224/com.dec05eba.gpu_screen_recorder.appdata.xml
   2025-02-24 22:36:55.000000000 +0100
+++ 
new/gpu-screen-recorder-gtk-20250318/com.dec05eba.gpu_screen_recorder.appdata.xml
   2025-03-18 23:02:37.000000000 +0100
@@ -75,6 +75,39 @@
     </screenshots>
 
     <releases>
+        <release version="5.2.0" date="2025-03-15">
+            <description>
+                <ul>
+                    <li>Add option to record/screenshot a region of the 
screen</li>
+                    <li>Fix unable to take a screenshot while recording on 
nvidia x11 (workaround nvidia driver limitation)</li>
+                    <li>Add support for more global hotkey key options (media 
keys)</li>
+                </ul>
+            </description>
+        </release>
+        <release version="5.1.8" date="2025-03-08">
+            <description>
+                <ul>
+                    <li>Fix monitor recording/switching to new UI not working 
if the home drive is encrypted</li>
+                    <li>Fix global hotkeys not working on some systems</li>
+                </ul>
+            </description>
+        </release>
+        <release version="5.1.7" date="2025-03-05">
+            <description>
+                <ul>
+                    <li>Fix pipewire audio server breaking (unable to change 
default audio output) in some pipewire versions when opening the gpu screen 
recorder ui</li>
+                </ul>
+            </description>
+        </release>
+        <release version="5.1.6" date="2025-02-27">
+            <description>
+                <ul>
+                    <li>Only start replay on system startup (in the new ui) 
when the audio device becomes available. This fixes an issue where replay can 
record the wrong device when using a bluetooth device</li>
+                    <li>When default output/input audio is selected it will 
now automatically switch the device it records from when the default 
output/input is changed in system audio settings</li>
+                    <li>Fix microphone capture not working when the microphone 
is mono input and when it's mixed with app audio</li>
+                </ul>
+            </description>
+        </release>
         <release version="5.1.5" date="2025-02-22">
             <description>
                 <ul>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gpu-screen-recorder-gtk-20250224/meson.build 
new/gpu-screen-recorder-gtk-20250318/meson.build
--- old/gpu-screen-recorder-gtk-20250224/meson.build    2025-02-24 
22:36:55.000000000 +0100
+++ new/gpu-screen-recorder-gtk-20250318/meson.build    2025-03-18 
23:02:37.000000000 +0100
@@ -1,4 +1,4 @@
-project('gpu-screen-recorder-gtk', ['c', 'cpp'], version : '5.1.5', 
default_options : ['warning_level=2'])
+project('gpu-screen-recorder-gtk', ['c', 'cpp'], version : '5.2.0', 
default_options : ['warning_level=2'])
 
 add_project_arguments('-Wshadow', language : ['c', 'cpp'])
 if get_option('buildtype') == 'debug'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gpu-screen-recorder-gtk-20250224/project.conf 
new/gpu-screen-recorder-gtk-20250318/project.conf
--- old/gpu-screen-recorder-gtk-20250224/project.conf   2025-02-24 
22:36:55.000000000 +0100
+++ new/gpu-screen-recorder-gtk-20250318/project.conf   2025-03-18 
23:02:37.000000000 +0100
@@ -1,12 +1,12 @@
 [package]
 name = "gpu-screen-recorder-gtk"
 type = "executable"
-version = "5.1.5"
+version = "5.2.0"
 platforms = ["posix"]
 
 [config]
 ignore_dirs = ["build"]
-error_on_warning = "true"
+error_on_warning = "false"
 
 [dependencies]
 gtk+-3.0 = "3"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gpu-screen-recorder-gtk-20250224/src/main.cpp 
new/gpu-screen-recorder-gtk-20250318/src/main.cpp
--- old/gpu-screen-recorder-gtk-20250224/src/main.cpp   2025-02-24 
22:36:55.000000000 +0100
+++ new/gpu-screen-recorder-gtk-20250318/src/main.cpp   2025-03-18 
23:02:37.000000000 +0100
@@ -99,7 +99,7 @@
 static GtkWidget *replay_save_hotkey_button;
 static GtkWidget *streaming_start_stop_hotkey_button;
 static GtkWidget *record_app_audio_inverted_button;
-static GtkWidget *merge_audio_tracks_button;
+static GtkWidget *split_audio_button;
 static GtkFrame *notifications_frame;
 static GtkWidget *show_recording_started_notification_button;
 static GtkWidget *show_recording_stopped_notification_button;
@@ -264,7 +264,8 @@
     UNKNOWN,
     AMD,
     INTEL,
-    NVIDIA
+    NVIDIA,
+    BROADCOM
 };
 
 struct GpuInfo {
@@ -899,7 +900,7 @@
     config.main_config.video_height = 
gtk_spin_button_get_value_as_int(video_height_entry);
     config.main_config.fps = gtk_spin_button_get_value_as_int(fps_entry);
     config.main_config.video_bitrate = 
gtk_spin_button_get_value_as_int(video_bitrate_entry);
-    config.main_config.merge_audio_tracks = 
gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(merge_audio_tracks_button));
+    config.main_config.merge_audio_tracks = 
!gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(split_audio_button));
     config.main_config.record_app_audio_inverted = 
gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(record_app_audio_inverted_button));
     config.main_config.change_video_resolution = 
gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(change_video_resolution_button));
 
@@ -1508,7 +1509,7 @@
             ++num_audio_tracks;
     }, &num_audio_tracks);
 
-    if(num_audio_tracks > 1 && 
!gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(merge_audio_tracks_button))) {
+    if(num_audio_tracks > 1 && 
gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(split_audio_button))) {
         GtkWidget *dialog = gtk_message_dialog_new(GTK_WINDOW(window), 
GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK,
             "Streaming doesn't work with more than 1 audio track. Please 
remove all audio tracks or only use 1 audio track or select to merge audio 
tracks.");
         gtk_dialog_run(GTK_DIALOG(dialog));
@@ -1648,7 +1649,7 @@
 }
 
 static void add_audio_command_line_args(std::vector<const char*> &args, const 
std::vector<std::string> &audio_tracks, const std::string &merge_audio_tracks) {
-    
if(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(merge_audio_tracks_button))) {
+    if(!gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(split_audio_button))) {
         if(!merge_audio_tracks.empty())
             args.insert(args.end(), { "-a", merge_audio_tracks.c_str() });
     } else {
@@ -2323,6 +2324,7 @@
     gtk_widget_set_visible(GTK_WIDGET(framerate_mode_grid), advanced_view);
     gtk_widget_set_visible(GTK_WIDGET(overclock_grid), advanced_view && 
gsr_info.gpu_info.vendor == GpuVendor::NVIDIA && 
gsr_info.system_info.display_server != DisplayServer::WAYLAND);
     gtk_widget_set_visible(GTK_WIDGET(notifications_frame), advanced_view);
+    gtk_widget_set_visible(GTK_WIDGET(split_audio_button), advanced_view);
 }
 
 static void quality_combo_box_change_callback(GtkComboBox *widget, gpointer 
userdata) {
@@ -2583,6 +2585,8 @@
             _gsr_info->gpu_info.vendor = GpuVendor::INTEL;
         else if(attribute_value == "nvidia")
             _gsr_info->gpu_info.vendor = GpuVendor::NVIDIA;
+        else if(attribute_value == "broadcom")
+            _gsr_info->gpu_info.vendor = GpuVendor::BROADCOM;
     }
 }
 
@@ -3140,10 +3144,10 @@
         gtk_grid_attach(audio_devices_grid, 
GTK_WIDGET(audio_devices_items_box), 0, audio_devices_row++, 2, 1);
     }
 
-    merge_audio_tracks_button = gtk_check_button_new_with_label("Merge audio 
tracks");
-    gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(merge_audio_tracks_button), 
true);
-    gtk_widget_set_halign(merge_audio_tracks_button, GTK_ALIGN_START);
-    gtk_grid_attach(audio_grid, merge_audio_tracks_button, 0, 
audio_input_area_row++, 2, 1);
+    split_audio_button = gtk_check_button_new_with_label("Split each 
device/app audio into separate audio tracks");
+    gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(split_audio_button), false);
+    gtk_widget_set_halign(split_audio_button, GTK_ALIGN_START);
+    gtk_grid_attach(audio_grid, split_audio_button, 0, audio_input_area_row++, 
2, 1);
 
     record_app_audio_inverted_button = gtk_check_button_new_with_label("Record 
audio from all applications except the selected ones");
     
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(record_app_audio_inverted_button),
 false);
@@ -4150,7 +4154,7 @@
     gtk_spin_button_set_value(video_height_entry, 
config.main_config.video_height);
     gtk_spin_button_set_value(fps_entry, config.main_config.fps);
     gtk_spin_button_set_value(video_bitrate_entry, 
config.main_config.video_bitrate);
-    gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(merge_audio_tracks_button), 
config.main_config.merge_audio_tracks);
+    gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(split_audio_button), 
!config.main_config.merge_audio_tracks);
     
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(record_app_audio_inverted_button),
 config.main_config.record_app_audio_inverted);
     
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(change_video_resolution_button), 
config.main_config.change_video_resolution);
 
@@ -4295,10 +4299,11 @@
 
 static const char* gpu_vendor_to_name(GpuVendor vendor) {
     switch(vendor) {
-        case GpuVendor::UNKNOWN: return "Unknown";
-        case GpuVendor::AMD:     return "AMD";
-        case GpuVendor::INTEL:   return "Intel";
-        case GpuVendor::NVIDIA:  return "NVIDIA";
+        case GpuVendor::UNKNOWN:  return "Unknown";
+        case GpuVendor::AMD:      return "AMD";
+        case GpuVendor::INTEL:    return "Intel";
+        case GpuVendor::NVIDIA:   return "NVIDIA";
+        case GpuVendor::BROADCOM: return "Broadcom";
     }
     return "";
 }
@@ -4479,13 +4484,8 @@
 }
 
 static bool is_kms_server_proxy_installed() {
-    const char *user_homepath = getenv("HOME");
-    if(!user_homepath)
-        user_homepath = "/tmp";
-
-    char path[PATH_MAX];
-    snprintf(path, sizeof(path), 
"%s/.local/share/gpu-screen-recorder/kms-server-proxy-2", user_homepath);
-    return access(path, F_OK) == 0;
+    const int exit_code = system("flatpak-spawn --host -- 
/var/lib/flatpak/app/com.dec05eba.gpu_screen_recorder/current/active/files/bin/kms-server-proxy
 is-setup");
+    return exit_code == 0;
 }
 
 static void gtk_activate_handler_run_and_quit(GtkApplication *app, gpointer 
userdata) {
@@ -4526,7 +4526,7 @@
 
     start_gtk_run_handler([]() {
         if(!gsr_startup_validation())
-            exit(0);
+            exit(1);
     });
 
     if(!flatpak_is_installed_as_system()) {
@@ -4538,7 +4538,7 @@
             gtk_dialog_run(GTK_DIALOG(dialog));
             gtk_widget_destroy(dialog);
         });
-        return;
+        exit(1);
     }
 
     if(config.main_config.installed_gsr_global_hotkeys_version != 
GSR_CURRENT_GLOBAL_HOTKEYS_CODE_VERSION) {

Reply via email to