| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
|
|
| |
independently of UMASK and time zone.
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
|
|
| |
desktop file when merging translations.
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
| |
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <[email protected]>
|
|
|
|
|
|
| |
Taken from https://medium.com/@alasher/colored-c-compiler-output-with-ninja-clang-gcc-10bfe7f2b949
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
|
|
|
|
| |
If the list of files is obtained internally in a macro,
it will be sorted. This prevents unexpected order of files
- improves certainty for reproducible builds.
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
|
|
| |
file that will not be installed directly.
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
|
|
| |
desktop file name that could be the same as the keyword.
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
|
|
|
|
| |
Although the processing with configure_file was done properly,
the original source file was used instead of the processed one
to merge the translations.
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
|
|
| |
files to be installed in the same destination folder.
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
| |
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
|
|
| |
if it has a ".cmake" extension.
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
|
|
| |
file installed in another location.
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
|
|
| |
This is for the resolution of bug 3133
Signed-off-by: aneejit1 <[email protected]>
|
|
|
|
|
|
| |
to build tdelibs as such.
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
| |
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
properties not only for the default, but also for the specific
build type.
This resolve FTBFS when using private linking if the build is
of type Debug.
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
| |
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
|
|
| |
Create the TDE_CMAKE_ROOT and TDE_CMAKE_TEMPLATES variables.
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
|
|
|
|
| |
use the relative path according to the source directory instead of the
base file names. This will prevent potential base file name collisions
and allow the creation of common rules.
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
|
|
| |
+ Add *.theme and eventsrc to files known as desktop style.
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
| |
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
|
|
| |
+ Add --from-code=UTF-8 to xgettext call.
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
|
|
|
|
| |
This prevents multiple attempts to import exported tdelibs targets,
which would cause a collision if find_package( TDE ) is called
repeatedly for some reason.
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using the optional SOURCE_BASEDIR argument, it is possible to use
tde_create_handbook in CMakeLists.txt from a folder other than the
folder containing the documentation itself.
This will allow the creation of common rules for generating documentation
for all languages that are currently available, without the need to
create CMakeLists.txt in the directory of each individual language.
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
|
|
|
|
|
| |
In the cmake binary directory, the name of the working file must
be used according to the source file to avoid possible collisions
if the source directory contains multiple desktop files installed
as a ".directory" file in multiple destination directories.
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
|
|
|
|
|
| |
except when building tdelibs, where a separate target will be used and
writing metadata will be the last step.
This also resolve TDE/tdelibs#80.
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Because some of our desktop files contain underscores in variable
names (for example eventsrc), which is not an allowed character
for names of entries in desktop style files, we can't use msgfmt,
so we need intltool-merge.
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
|
|
| |
+ Fix comment replacement and flag addition for _translatorinfo.
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
|
|
|
| |
This prevents concurrency of writing metadata and linking
with other libraries, which could cause FTBFS.
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
|
|
| |
to avoid unnecessary repetition of checks.
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
|
|
|
|
| |
+ For _translatorinfo strings, replace the references
to an intentionally non-existent source file and use
instead comments explaining the purpose of these strings.
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
+ Targets are created to generate files, not just commands.
+ Generating kidl files is created as a separate targets.
+ Headers are added to the list of generated files.
+ This allows for more accurate dependency determination.
+ This prevents files generation from being repeated.
+ This prevents the occasional FTBFS during a parallel build.
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
| |
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
| |
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
|
|
|
| |
as a separate target instead of POST_BUILD command. This prevents the
command from being executed multiple times and thus FTBFS.
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
|
|
| |
This allows naturally storing ELF metadata also in tdelibs.
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
| |
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
| |
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
|
|
|
| |
This solves the case where the desktop file name is not unique
throughout the project.
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
that is generated for merging desktop file translations
will not be performed as a POST BUILD command, but as a
separate target.
This solves premature file deletion if multiple desktop
files use a common translation folder.
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
| |
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
|
|
| |
+ Simplify entering a catalog name for placement in a directory of the same name.
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
|
|
|
|
| |
+ Add a function to prepare for extracting strings from desktop files.
-- xgettext creates an incorrect reference to the source file line
-- xgettext does not allow the keyword to be used as a comment
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
| |
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
|
|
|
|
| |
+ Pick *.directory, *.kcsrc and *.themerc files as desktop style files.
+ Add the ability to specify source files explicitly as desktop style.
+ Override default keywords for desktop style files to exclude Icon.
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
|
|
|
| |
instead of the current build date. The use of a stable date
is necessary to achieve reproducible builds.
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
|
|
| |
Based on the work of Denis Kozadaev on DilOS.
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
|
|
| |
because this is only valid for C++.
Signed-off-by: Slávek Banko <[email protected]>
|