[kmymoney] [Bug 484448] Some account templates are missing

2024-03-28 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=484448

Thomas Baumgart  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/offi
   ||ce/kmymoney/-/commit/3478af
   ||260352b1be16cd1a7b6df38fda9
   ||60d9e81
   Version Fixed In||5.2
 Resolution|--- |FIXED
 Status|REPORTED|RESOLVED

--- Comment #7 from Thomas Baumgart  ---
Git commit 3478af260352b1be16cd1a7b6df38fda960d9e81 by Thomas Baumgart.
Committed on 28/03/2024 at 08:06.
Pushed by tbaumgart into branch 'master'.

Fix generation of account template resources on windows
FIXED-IN: 5.2

M  +3-1kmymoney/templates/CMakeLists.txt

https://invent.kde.org/office/kmymoney/-/commit/3478af260352b1be16cd1a7b6df38fda960d9e81

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 484448] Some account templates are missing

2024-03-28 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=484448

--- Comment #6 from Thomas Baumgart  ---
Created attachment 167877
  --> https://bugs.kde.org/attachment.cgi?id=167877=edit
Screenshot showing diff in contained resources between linux and windows

The problem is created by the cmake code that constructs the resource
definition file and does not extract files in locale directories named
templates/xx_XX/ but only those of directories named templates/xx/ on windows.
Screenshot shows the difference of the generated file between its linux (left
pane) and windows (right pane) version.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 484448] Some account templates are missing

2024-03-27 Thread Ralf Habacker via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=484448

--- Comment #5 from Ralf Habacker  ---
(In reply to Thomas Baumgart from comment #4)
> No, they are contained in the binary as Qt resources. Your check is wrong.

This explains the differences, but makes it more difficult to investigate the
causes due to their hidden nature. You can no longer search with strace or
similar where they should be.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 484448] Some account templates are missing

2024-03-27 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=484448

--- Comment #4 from Thomas Baumgart  ---
No, they are contained in the binary as Qt resources. Your check is wrong.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 484448] Some account templates are missing

2024-03-27 Thread Ralf Habacker via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=484448

--- Comment #3 from Ralf Habacker  ---
(In reply to Ralf Habacker from comment #2)
> Looks like they are not included when the package is created

$ sh -x ./kmymoney-master-3149-linux-gcc-x86_64.AppImage --appimage-mount
/tmp/mount_my
/tmp/.mount_kmymon1ejUGl 

$find /tmp/.mount_kmymon1ejUGl -name '*.kmt' | wc -l

It seems to be a general problem with the packaging.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 484448] Some account templates are missing

2024-03-27 Thread Ralf Habacker via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=484448

--- Comment #2 from Ralf Habacker  ---
(In reply to Thomas Baumgart from comment #1)
> It's not only German, but also Mexican, US, Chinese and some more. Looking
> at the source directory, we have about 48 countries (i.e. sub-directories)
> listed but the attached screenshot shows only a part of them.

$ find ~/src/kmymoney-master/kmymoney/templates/ -name '*.kmt' | wc -l
530

$ find kmymoney-master-3149-windows-cl-msvc2019-x86_64 -name '*.kmt' | wc -l
0

Looks like they are not included when the package is created

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 484448] Some account templates are missing

2024-03-27 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=484448

Thomas Baumgart  changed:

   What|Removed |Added

Summary|Missing German account  |Some account templates are
   |templates   |missing

--- Comment #1 from Thomas Baumgart  ---
It's not only German, but also Mexican, US, Chinese and some more. Looking at
the source directory, we have about 48 countries (i.e. sub-directories) listed
but the attached screenshot shows only a part of them.

-- 
You are receiving this mail because:
You are the assignee for the bug.