Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package lxqt-wallet for openSUSE:Factory 
checked in at 2024-11-11 13:45:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lxqt-wallet (Old)
 and      /work/SRC/openSUSE:Factory/.lxqt-wallet.new.2017 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lxqt-wallet"

Mon Nov 11 13:45:41 2024 rev:4 rq:1223220 version:4.0.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/lxqt-wallet/lxqt-wallet.changes  2024-11-01 
21:06:54.588786602 +0100
+++ /work/SRC/openSUSE:Factory/.lxqt-wallet.new.2017/lxqt-wallet.changes        
2024-11-11 13:46:01.841584347 +0100
@@ -1,0 +2,6 @@
+Thu Nov  7 16:53:41 UTC 2024 - Андрей Алыпов 
<[email protected]>
+
+- Update to 4.0.2:
+  * Default to use xdg paths when they are set.
+
+-------------------------------------------------------------------

Old:
----
  lxqt-wallet-4.0.1.tar.xz
  lxqt-wallet-4.0.1.tar.xz.asc

New:
----
  lxqt-wallet-4.0.2.tar.xz
  lxqt-wallet-4.0.2.tar.xz.asc

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

Other differences:
------------------
++++++ lxqt-wallet.spec ++++++
--- /var/tmp/diff_new_pack.JFzRWs/_old  2024-11-11 13:46:02.489611488 +0100
+++ /var/tmp/diff_new_pack.JFzRWs/_new  2024-11-11 13:46:02.489611488 +0100
@@ -17,11 +17,11 @@
 
 
 %if 0%{?suse_version} >= 1699
-%bcond_without kf6wallet
+%bcond_without kwallet
 %endif
 %define c_lib   lib%{name}6_0_0
 Name:           lxqt-wallet
-Version:        4.0.1
+Version:        4.0.2
 Release:        0
 Summary:        Secure storage of information for LXQt
 License:        BSD-2-Clause
@@ -34,7 +34,7 @@
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig
 # Uses kwallet as backend
-%if %{with kf6wallet}
+%if %{with kwallet}
 BuildRequires:  cmake(KF6Wallet)
 %endif
 BuildRequires:  cmake(Qt6Core)

++++++ lxqt-wallet-4.0.1.tar.xz -> lxqt-wallet-4.0.2.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lxqt-wallet-4.0.1/CMakeLists.txt 
new/lxqt-wallet-4.0.2/CMakeLists.txt
--- old/lxqt-wallet-4.0.1/CMakeLists.txt        2024-10-30 10:28:27.000000000 
+0100
+++ new/lxqt-wallet-4.0.2/CMakeLists.txt        2024-11-01 20:46:16.000000000 
+0100
@@ -3,7 +3,7 @@
 project(lxqt_wallet)
 
 set(LIBRARY_VERSION "6.0.0")
-set(RELEASE_VERSION "4.0.1")
+set(RELEASE_VERSION "4.0.2")
 
 add_definitions(-Wextra -Wall -pedantic)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lxqt-wallet-4.0.1/backend/lxqtwallet.c 
new/lxqt-wallet-4.0.2/backend/lxqtwallet.c
--- old/lxqt-wallet-4.0.1/backend/lxqtwallet.c  2024-10-24 08:00:21.000000000 
+0200
+++ new/lxqt-wallet-4.0.2/backend/lxqtwallet.c  2024-11-01 20:43:21.000000000 
+0100
@@ -1392,8 +1392,13 @@
 
 void lxqt_wallet_application_wallet_path(char *path, u_int32_t 
path_buffer_size, const char *application_name)
 {
-    struct passwd *pass = getpwuid(getuid());
-    snprintf(path, path_buffer_size, "%s/.config/lxqt/wallets/%s/", 
pass->pw_dir, application_name);
+    const char *env = getenv("XDG_CONFIG_HOME");
+    if(env){
+        snprintf(path, path_buffer_size, "%s/lxqt/wallets/%s/", env, 
application_name);
+    }else{
+        struct passwd *pass = getpwuid(getuid());
+        snprintf(path, path_buffer_size, "%s/.config/lxqt/wallets/%s/", 
pass->pw_dir, application_name);
+    }
 }
 
 static char *_wallet_full_path(char *path_buffer, u_int32_t path_buffer_size, 
const char *wallet_name, const char *application_name)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lxqt-wallet-4.0.1/changelog 
new/lxqt-wallet-4.0.2/changelog
--- old/lxqt-wallet-4.0.1/changelog     2024-10-30 10:12:37.000000000 +0100
+++ new/lxqt-wallet-4.0.2/changelog     2024-11-01 20:51:36.000000000 +0100
@@ -17,3 +17,5 @@
        - Set library version to 6.0.0.
 - version 4.0.1
        - Fix a build issue.
+- version 4.0.2
+       - Default to use xdg paths when they are set.

Reply via email to