Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package whatsapp-for-linux for 
openSUSE:Factory checked in at 2023-01-30 17:10:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/whatsapp-for-linux (Old)
 and      /work/SRC/openSUSE:Factory/.whatsapp-for-linux.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "whatsapp-for-linux"

Mon Jan 30 17:10:18 2023 rev:5 rq:1061902 version:1.5.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/whatsapp-for-linux/whatsapp-for-linux.changes    
2023-01-23 18:33:50.908842794 +0100
+++ 
/work/SRC/openSUSE:Factory/.whatsapp-for-linux.new.32243/whatsapp-for-linux.changes
 2023-01-30 17:17:31.598651984 +0100
@@ -1,0 +2,6 @@
+Sun Jan 29 18:18:20 UTC 2023 - Michael Vetter <mvet...@suse.com>
+
+- Update to 1.5.3:
+  * "GLIBC_2.34 not found" when trying to run the program #273
+
+-------------------------------------------------------------------

Old:
----
  whatsapp-for-linux-1.5.2.tar.xz

New:
----
  whatsapp-for-linux-1.5.3.tar.xz

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

Other differences:
------------------
++++++ whatsapp-for-linux.spec ++++++
--- /var/tmp/diff_new_pack.l1NHqz/_old  2023-01-30 17:17:32.058654517 +0100
+++ /var/tmp/diff_new_pack.l1NHqz/_new  2023-01-30 17:17:32.062654539 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           whatsapp-for-linux
-Version:        1.5.2
+Version:        1.5.3
 Release:        0
 Summary:        WhatsApp for Linux
 License:        GPL-3.0-only

++++++ _service ++++++
--- /var/tmp/diff_new_pack.l1NHqz/_old  2023-01-30 17:17:32.098654736 +0100
+++ /var/tmp/diff_new_pack.l1NHqz/_new  2023-01-30 17:17:32.102654759 +0100
@@ -2,7 +2,7 @@
        <service name="tar_scm" mode="disabled">
                <param name="scm">git</param>
                <param 
name="url">https://github.com/eneshecan/whatsapp-for-linux.git</param>
-               <param name="revision">v1.5.2</param>
+               <param name="revision">v1.5.3</param>
                <param name="match-tag">v*</param>
                <param name="versionformat">@PARENT_TAG@</param>
                <param name="versionrewrite-pattern">v(.*)</param>

++++++ whatsapp-for-linux-1.5.2.tar.xz -> whatsapp-for-linux-1.5.3.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/whatsapp-for-linux-1.5.2/.github/workflows/build.yml 
new/whatsapp-for-linux-1.5.3/.github/workflows/build.yml
--- old/whatsapp-for-linux-1.5.2/.github/workflows/build.yml    2023-01-23 
11:49:05.000000000 +0100
+++ new/whatsapp-for-linux-1.5.3/.github/workflows/build.yml    2023-01-29 
16:08:51.000000000 +0100
@@ -12,7 +12,7 @@
 
     steps:
       - name: Checkout
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
 
       - name: Install Dependencies
         run: |
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/whatsapp-for-linux-1.5.2/.github/workflows/install.yml 
new/whatsapp-for-linux-1.5.3/.github/workflows/install.yml
--- old/whatsapp-for-linux-1.5.2/.github/workflows/install.yml  2023-01-23 
11:49:05.000000000 +0100
+++ new/whatsapp-for-linux-1.5.3/.github/workflows/install.yml  2023-01-29 
16:08:51.000000000 +0100
@@ -12,7 +12,7 @@
 
     steps:
       - name: Checkout
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
 
       - name: Install Dependencies
         run: |
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/whatsapp-for-linux-1.5.2/.github/workflows/linter.yml 
new/whatsapp-for-linux-1.5.3/.github/workflows/linter.yml
--- old/whatsapp-for-linux-1.5.2/.github/workflows/linter.yml   2023-01-23 
11:49:05.000000000 +0100
+++ new/whatsapp-for-linux-1.5.3/.github/workflows/linter.yml   2023-01-29 
16:08:51.000000000 +0100
@@ -12,7 +12,7 @@
 
     steps:
       - name: Checkout
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
 
       - name: Lint clang-format
         uses: DoozyX/clang-format-lint-action@v0.15
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/whatsapp-for-linux-1.5.2/.github/workflows/release.yml 
new/whatsapp-for-linux-1.5.3/.github/workflows/release.yml
--- old/whatsapp-for-linux-1.5.2/.github/workflows/release.yml  2023-01-23 
11:49:05.000000000 +0100
+++ new/whatsapp-for-linux-1.5.3/.github/workflows/release.yml  2023-01-29 
16:08:51.000000000 +0100
@@ -33,7 +33,12 @@
 
       - name: Build Debian Package
         id: dpkg-buildpackage
-        run: dpkg-buildpackage -uc -us -ui
+        uses: jtdor/build-deb-action@v1
+        env:
+          DEB_BUILD_OPTIONS: noautodbgsym
+        with:
+          artifacts-dir: "."
+          buildpackage-opts: -uc -us -ui
 
       - name: Build Snap Package
         id: snapcraft
@@ -47,14 +52,6 @@
         env:
           UPDATE_INFO: gh-releases-zsync|eneshecan|whatsapp-for-linux|${{ 
env.RELEASE_VERSION }}|*x86_64.AppImage.zsync
 
-      - name: Publish Snap to Store
-        id: snapcraft-publish
-        uses: snapcore/action-publish@v1
-        with:
-          store_login: ${{ secrets.SNAP_STORE_LOGIN }}
-          snap: ${{ steps.snapcraft.outputs.snap }}
-          release: stable
-
       - name: Push Tag
         id: push-tag
         uses: anothrNick/github-tag-action@1.46.0
@@ -90,7 +87,7 @@
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
         with:
           upload_url: ${{ steps.create-release.outputs.upload_url }}
-          asset_path: "../whatsapp-for-linux_${{ env.RELEASE_VERSION 
}}_amd64.deb"
+          asset_path: "whatsapp-for-linux_${{ env.RELEASE_VERSION }}_amd64.deb"
           asset_name: "whatsapp-for-linux_${{ env.RELEASE_VERSION }}_amd64.deb"
           asset_content_type: application/deb
 
@@ -112,6 +109,14 @@
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
         with:
           upload_url: ${{ steps.create-release.outputs.upload_url }}
-          asset_path: "whatsapp-for-linux-${{ 
env.RELEASE_VERSION}}-x86_64.AppImage"
+          asset_path: "whatsapp-for-linux-${{ env.RELEASE_VERSION 
}}-x86_64.AppImage"
           asset_name: "whatsapp-for-linux-${{ env.RELEASE_VERSION 
}}-x86_64.AppImage"
           asset_content_type: application/appimage
+
+      - name: Publish Snap to Store
+        id: snapcraft-publish
+        uses: snapcore/action-publish@v1
+        with:
+          store_login: ${{ secrets.SNAP_STORE_LOGIN }}
+          snap: ${{ steps.snapcraft.outputs.snap }}
+          release: stable
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/whatsapp-for-linux-1.5.2/CMakeLists.txt 
new/whatsapp-for-linux-1.5.3/CMakeLists.txt
--- old/whatsapp-for-linux-1.5.2/CMakeLists.txt 2023-01-23 11:49:05.000000000 
+0100
+++ new/whatsapp-for-linux-1.5.3/CMakeLists.txt 2023-01-29 16:08:51.000000000 
+0100
@@ -1,7 +1,7 @@
 cmake_minimum_required(VERSION 3.12)
 project(
         whatsapp-for-linux
-        VERSION 1.5.2
+        VERSION 1.5.3
         DESCRIPTION "An unofficial WhatsApp desktop application for Linux"
         HOMEPAGE_URL "https://github.com/eneshecan/whatsapp-for-linux";
         LANGUAGES C CXX
@@ -9,7 +9,7 @@
 
 include(GNUInstallDirs)
 
-set(CMAKE_CXX_STANDARD 17)
+set(CMAKE_CXX_STANDARD 20)
 set(CMAKE_CXX_STANDARD_REQUIRED ON)
 set(WFL_NAME ${CMAKE_PROJECT_NAME})
 set(WFL_FRIENDLY_NAME "WhatsApp for Linux")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/whatsapp-for-linux-1.5.2/README.md 
new/whatsapp-for-linux-1.5.3/README.md
--- old/whatsapp-for-linux-1.5.2/README.md      2023-01-23 11:49:05.000000000 
+0100
+++ new/whatsapp-for-linux-1.5.3/README.md      2023-01-29 16:08:51.000000000 
+0100
@@ -107,12 +107,11 @@
 
 ## Packaging
 
-Set `RELEASE_VERSION` environment variable before packaging. The actual 
version can be read from `generated/VERSION` file in the build directory.
-
 ### Debian
 
 ```bash
-# Build the package
+# Don't forget to update the version number (0) in debian/changelog before this
+# Build the package.
 dpkg-buildpackage -uc -us -ui
 ```
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/whatsapp-for-linux-1.5.2/resource/ui/MainWindow.ui 
new/whatsapp-for-linux-1.5.3/resource/ui/MainWindow.ui
--- old/whatsapp-for-linux-1.5.2/resource/ui/MainWindow.ui      2023-01-23 
11:49:05.000000000 +0100
+++ new/whatsapp-for-linux-1.5.3/resource/ui/MainWindow.ui      2023-01-29 
16:08:51.000000000 +0100
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.38.2 -->
+<!-- Generated with glade 3.40.0 -->
 <interface>
   <requires lib="gtk+" version="3.22"/>
   <object class="GtkPopover" id="header_menu">
@@ -43,10 +43,12 @@
               </packing>
             </child>
             <child>
-              <object class="GtkLabel" id="label_zoom_level">
+              <object class="GtkButton" id="button_zoom_level">
+                <property name="label">100%</property>
                 <property name="visible">True</property>
                 <property name="can-focus">False</property>
-                <property name="label">100%</property>
+                <property name="receives-default">False</property>
+                <property name="relief">none</property>
               </object>
               <packing>
                 <property name="expand">False</property>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/whatsapp-for-linux-1.5.2/src/ui/MainWindow.cpp 
new/whatsapp-for-linux-1.5.3/src/ui/MainWindow.cpp
--- old/whatsapp-for-linux-1.5.2/src/ui/MainWindow.cpp  2023-01-23 
11:49:05.000000000 +0100
+++ new/whatsapp-for-linux-1.5.3/src/ui/MainWindow.cpp  2023-01-29 
16:08:51.000000000 +0100
@@ -47,17 +47,18 @@
         refBuilder->get_widget("button_fullscreen", buttonFullscreen);
         buttonFullscreen->signal_clicked().connect(sigc::mem_fun(*this, 
&MainWindow::onFullscreen));
 
-        Gtk::Label* labelZoomLevel = nullptr;
-        refBuilder->get_widget("label_zoom_level", labelZoomLevel);
-        labelZoomLevel->set_label(m_webView.getZoomLevelString());
+        Gtk::Button* buttonZoomLevel = nullptr;
+        refBuilder->get_widget("button_zoom_level", buttonZoomLevel);
+        buttonZoomLevel->set_label(m_webView.getZoomLevelString());
+        
buttonZoomLevel->signal_clicked().connect(sigc::bind(sigc::mem_fun(*this, 
&MainWindow::onResetZoom), buttonZoomLevel));
 
         Gtk::Button* buttonZoomIn = nullptr;
         refBuilder->get_widget("button_zoom_in", buttonZoomIn);
-        buttonZoomIn->signal_clicked().connect(sigc::bind(sigc::mem_fun(*this, 
&MainWindow::onZoomIn), labelZoomLevel));
+        buttonZoomIn->signal_clicked().connect(sigc::bind(sigc::mem_fun(*this, 
&MainWindow::onZoomIn), buttonZoomLevel));
 
         Gtk::Button* buttonZoomOut = nullptr;
         refBuilder->get_widget("button_zoom_out", buttonZoomOut);
-        
buttonZoomOut->signal_clicked().connect(sigc::bind(sigc::mem_fun(*this, 
&MainWindow::onZoomOut), labelZoomLevel));
+        
buttonZoomOut->signal_clicked().connect(sigc::bind(sigc::mem_fun(*this, 
&MainWindow::onZoomOut), buttonZoomLevel));
 
         Gtk::ModelButton* buttonPreferences = nullptr;
         refBuilder->get_widget("button_preferences", buttonPreferences);
@@ -256,16 +257,22 @@
         m_fullscreen ? unfullscreen() : fullscreen();
     }
 
-    void MainWindow::onZoomIn(Gtk::Label* zoomLevelLabel)
+    void MainWindow::onZoomIn(Gtk::Button* buttonZoomLevel)
     {
         m_webView.zoomIn();
-        zoomLevelLabel->set_label(m_webView.getZoomLevelString());
+        buttonZoomLevel->set_label(m_webView.getZoomLevelString());
     }
 
-    void MainWindow::onZoomOut(Gtk::Label* zoomLevelLabel)
+    void MainWindow::onZoomOut(Gtk::Button* buttonZoomLevel)
     {
         m_webView.zoomOut();
-        zoomLevelLabel->set_label(m_webView.getZoomLevelString());
+        buttonZoomLevel->set_label(m_webView.getZoomLevelString());
+    }
+
+    void MainWindow::onResetZoom(Gtk::Button* buttonZoomLevel)
+    {
+        m_webView.resetZoom();
+        buttonZoomLevel->set_label(m_webView.getZoomLevelString());
     }
 
     void MainWindow::onShortcuts()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/whatsapp-for-linux-1.5.2/src/ui/MainWindow.hpp 
new/whatsapp-for-linux-1.5.3/src/ui/MainWindow.hpp
--- old/whatsapp-for-linux-1.5.2/src/ui/MainWindow.hpp  2023-01-23 
11:49:05.000000000 +0100
+++ new/whatsapp-for-linux-1.5.3/src/ui/MainWindow.hpp  2023-01-29 
16:08:51.000000000 +0100
@@ -35,8 +35,9 @@
             void onShow();
             void onQuit();
             void onFullscreen();
-            void onZoomIn(Gtk::Label* zoomLevelLabel);
-            void onZoomOut(Gtk::Label* zoomLevelLabel);
+            void onZoomIn(Gtk::Button* buttonZoomLevel);
+            void onZoomOut(Gtk::Button* buttonZoomLevel);
+            void onResetZoom(Gtk::Button* buttonZoomLevel);
             void onShortcuts();
             void onAbout();
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/whatsapp-for-linux-1.5.2/src/ui/WebView.cpp 
new/whatsapp-for-linux-1.5.3/src/ui/WebView.cpp
--- old/whatsapp-for-linux-1.5.2/src/ui/WebView.cpp     2023-01-23 
11:49:05.000000000 +0100
+++ new/whatsapp-for-linux-1.5.3/src/ui/WebView.cpp     2023-01-29 
16:08:51.000000000 +0100
@@ -216,8 +216,7 @@
 
     void WebView::sendRequest(std::string url)
     {
-        auto const uriPrefix = std::string{"whatsapp:/"};
-        if (url.find(uriPrefix) != std::string::npos)
+        if (auto const uriPrefix = std::string{"whatsapp:/"}; 
url.find(uriPrefix) != std::string::npos)
         {
             url.replace(0U, uriPrefix.size(), WHATSAPP_WEB_URI);
 
@@ -267,6 +266,14 @@
         }
     }
 
+    void WebView::resetZoom()
+    {
+        auto const defaultLevel = 1.0;
+        webkit_web_view_set_zoom_level(*this, defaultLevel);
+        util::Settings::getInstance().setValue("general", "zoom-level", 
defaultLevel);
+    }
+
+
     double WebView::getZoomLevel()
     {
         return webkit_web_view_get_zoom_level(*this);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/whatsapp-for-linux-1.5.2/src/ui/WebView.hpp 
new/whatsapp-for-linux-1.5.3/src/ui/WebView.hpp
--- old/whatsapp-for-linux-1.5.2/src/ui/WebView.hpp     2023-01-23 
11:49:05.000000000 +0100
+++ new/whatsapp-for-linux-1.5.3/src/ui/WebView.hpp     2023-01-29 
16:08:51.000000000 +0100
@@ -26,6 +26,7 @@
             void            openPhoneNumber(std::string const& phoneNumber);
             void            zoomIn();
             void            zoomOut();
+            void            resetZoom();
             double          getZoomLevel();
             std::string     getZoomLevelString();
 

Reply via email to