compilation error:
CMake Error at cmake/modules/TDEMacros.cmake:2048 (file):
file failed to open for reading (No such file or directory):
/var/tmp/portage/trinity-base/kweather-9999/work/kweather-9999_build/kweather/weather_stations.desktop
Call Stack (most recent call first):
kweather/CMakeLists.txt:136 (tde_create_translated_desktop)
looks like file kweather_stations.desktop is missing, it is nowhere in the build directory.
Steps to reproduce
emerge -av trinity-base/kweather
Screenshots
<!--
This is a comment.
Please fill in the required fields below.
The comments provide instructions on how to do so.
Note: You do not need to remove comments.
-->
## Basic information
- TDE version: R14.1.0 [DEVELOPMENT]
- Distribution: Gentoo
- Hardware: amd64
<!--
Use SL/* labels to set the severity level.
Please do not set a milestone.
-->
## Description
```
compilation error:
CMake Error at cmake/modules/TDEMacros.cmake:2048 (file):
file failed to open for reading (No such file or directory):
/var/tmp/portage/trinity-base/kweather-9999/work/kweather-9999_build/kweather/weather_stations.desktop
Call Stack (most recent call first):
kweather/CMakeLists.txt:136 (tde_create_translated_desktop)
looks like file kweather_stations.desktop is missing, it is nowhere in the build directory.
```
## Steps to reproduce
1. emerge -av trinity-base/kweather
## Screenshots
<!-- If it seems useful, please provide provide one or more screenshots. -->
I've already looked into this one a bit, it's caused by combination of two issues:
* The fact that eclasses doesn't extract the translations, see #195
* An issue with [`tde_create_translated_desktop ()` in TDEMacros.cmake][1], which fails if translations are missing and the desktop file is build-time generated, see TDE/tde-common-cmake#69.
We probably should resolve both of those.
[1]: https://mirror.git.trinitydesktop.org/gitea/TDE/tde-common-cmake/src/commit/111a08942a8b5452cd51f41e6f811d55de30c657/modules/TDEMacros.cmake#L2048
Since the merge of TDE/tde-common-cmake#69 the live one version should build fine. Although I haven't actually tested this myself...
I suggest to keep this issue open till the resolution of the problem with desktop file translations.
Also I haven't looked if the stable one was affected (it probably should be), but it should go after the fix of the translation issue too.
Since the merge of TDE/tde-common-cmake#69 the live one version should build fine. Although I haven't actually tested this myself...
I suggest to keep this issue open till the resolution of the problem with desktop file translations.
Also I haven't looked if the stable one was affected (it probably should be), but it should go after the fix of the translation issue too.
The stable version does not seem to need any specific patch. Desktop file generation has been added for the upcoming R14.0.10, which also already includes a fix in the common cmake module.
The stable version does not seem to need any specific patch. Desktop file generation has been added for the upcoming R14.0.10, which also already includes a fix in the common cmake module.
Basic information
Description
Steps to reproduce
Screenshots
I've already looked into this one a bit, it's caused by combination of two issues:
tde_create_translated_desktop ()
in TDEMacros.cmake, which fails if translations are missing and the desktop file is build-time generated, see TDE/tde-common-cmake#69.We probably should resolve both of those.
Since the merge of TDE/tde-common-cmake#69 the live one version should build fine. Although I haven't actually tested this myself...
I suggest to keep this issue open till the resolution of the problem with desktop file translations.
Also I haven't looked if the stable one was affected (it probably should be), but it should go after the fix of the translation issue too.
The stable version does not seem to need any specific patch. Desktop file generation has been added for the upcoming R14.0.10, which also already includes a fix in the common cmake module.
Thank you guys!