db149c1ca5
SetupBuildFlags.cmake: Remove "-Wl,--no-undefined" from compiler flags
...
It's meant to be used by the linker, not by the compiler, thus keep
it only for the linker flags. Clang claims the argument is not used.
2024-03-05 11:13:42 +01:00
6b9e5b5a2d
eds-I#522 - build: Make sure tests run in serial
...
Related to https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/522
2024-02-13 18:25:50 +01:00
baa71cb9c9
M!128 - GLibTools: Automatically get the dependencies of a GResource
...
glib-compile-resource can compute them automatically.
Closes https://gitlab.gnome.org/GNOME/evolution/-/merge_requests/128
2024-01-31 13:27:38 +00:00
360bc9f77f
build: Use -Wshadow build option, if available
2023-11-03 17:30:59 +01:00
ed89af2702
eds-M!68 - SetupBuildFlags.cmake: Correct testing of two compiler/linker build flags
...
Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/merge_requests/68
2021-04-19 16:03:55 +02:00
7cfe4190e3
PrintableOptions.cmake: Correct variable name comparison
...
CMake 3.20.1 errors out with:
CMake Error at cmake/modules/PrintableOptions.cmake:38 (message):
variable name cannot be empty
Call Stack (most recent call first):
CMakeLists.txt:152 (add_printable_variable)
Change how the parameter value is compared, to fix it.
2021-04-14 17:03:28 +02:00
cce036f552
Sync GLibTools.cmake with Evolution-Data-Server
...
Receives latest improvements and fixes some compiler warnings from
the enum-generated code.
2021-01-11 08:58:22 +01:00
ba9cab6ddd
I#1273 - GLibTools.cmake: Generate signal marshallers without source reference
...
It helps with reproducible builds, by not including the source path
in the public header files.
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/1273
2020-12-09 11:01:58 +01:00
6da51f4d8e
eds-I#281 - GLibTools.cmake: Use basename in glib-mkenums templates
...
This change helps to create reproducible builds.
Related to https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/281
2020-12-08 08:48:32 +01:00
8fea38926f
I#934 - CMake: Spam-filtering options should be files, not paths
...
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/934
2020-06-02 14:06:08 +02:00
1624857fc5
SetupBuildFlags.cmake: Use -Werror=implicit-function-declaration only for C code compilation
...
The C++ code produces a compile time warning:
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++
despite CMake's check_cxx_compiler_flag() returning success.
2020-05-13 09:23:40 +02:00
540d239705
Include also CFLAGS in gtkdoc-scangobj command line
...
The LDFLAGS could imply certain compile options being used (like -fPIC),
but these CFLAGS were not passed to gtkdoc-scangobj, thus the compilation
could fail.
Related to https://gitlab.gnome.org/GNOME/evolution-data-server/merge_requests/28
2019-08-05 12:58:26 +02:00
cad2c1c29d
eds-M!28 - Include LDFLAGS in gtkdoc-scangobj command line
...
Sync changes from evolution-data-server:
https://gitlab.gnome.org/GNOME/evolution-data-server/merge_requests/28
Closes https://gitlab.gnome.org/GNOME/evolution/merge_requests/37
2019-08-01 09:25:39 +02:00
66008d17b6
eds-M!15 - Fix typos in CMake modules
...
Related to https://gitlab.gnome.org/GNOME/evolution-data-server/merge_requests/15
2019-05-27 18:15:13 +02:00
a1a7b52627
eds-I#120 - Fails to build with libasan using Clang (undefined symbols)
...
Related to https://gitlab.gnome.org/GNOME/evolution-data-server/issues/120
2019-05-22 18:06:02 +02:00
4569f31042
eds-I#99 - Fails to build against git master of OpenLDAP (vendor version check)
...
Related to https://gitlab.gnome.org/GNOME/evolution-data-server/issues/99
2019-04-12 12:37:39 +02:00
1c7368c9cc
eds-I#102 - Change order of gtkdoc-scangobj libraries
...
Related to https://gitlab.gnome.org/GNOME/evolution-data-server/issues/102
2019-04-12 12:06:07 +02:00
59c1428fa9
eds-I#94 - Remove -Wabi from the default C++ warning flags
...
Related to https://gitlab.gnome.org/GNOME/evolution-data-server/issues/94
2019-03-14 14:18:25 +01:00
88b77d6d42
Change order of CFLAGS/LDFLAGS passed to gtk-doc
...
Specifically add the install PREFIX as the last, thus the built
headers and libraries have precedence over those installed.
2019-03-01 12:16:32 +01:00
dc9ec02227
Correct how extra compiler warnings are used in the maintainer mode
...
...and address the newly shown warnings as well.
2018-11-14 12:58:37 +01:00
17b918c97a
Include also environment LD_LIBRARY_PATH in gtk-doc-scangobj call
...
Thus it can be used to influence where the needed libraries are
looked for from the outside.
2018-11-12 09:15:42 +01:00
e72cf9ab45
eds-I#41 - Documentation doesn't go through gtkdoc-scangobj
...
Related to https://gitlab.gnome.org/GNOME/evolution-data-server/issues/41
2018-11-05 11:05:45 +01:00
f315ca6a60
Make sure intltool-merge cache is created only once
...
Similar to https://gitlab.gnome.org/GNOME/evolution/issues/196
when intltool-merge is called in parallel, it could either rewrite
the ongoing attempt to build it or use an incomplete data, which
results in broken output files (.desktop, .metainfo and so on).
This change ensures the intltool-merge cache is created only once
and any other requests which would use it will wait until it's created.
2018-10-30 15:50:58 +01:00
75a1c7d2f2
Correct build when nss/nspr do not provide pkg-config files
2018-08-21 10:19:12 +02:00
7cbb6fd0f9
Missing build dependency for gdbus-codegen on input .xml file
...
Related to https://gitlab.gnome.org/GNOME/evolution-data-server/issues/7
2018-06-11 10:09:56 +02:00
8712c9960f
Bug 793368 - Install AppStream metadata to /usr/share/metainfo/
2018-02-12 18:43:51 +01:00
680460e135
Bug 788430 - Corrections to FindSMIME.cmake
2017-10-03 12:26:33 +02:00
a9f72bd18c
Bug 781645 - Skip GSettings schema compile and icon cache update when DESTDIR is set
2017-10-02 19:23:19 +02:00
fd7b1cd239
Rename evolution.desktop to org.gnome.Evolution.desktop
...
And some related changes around appdata and metainfo files as well.
2017-09-11 12:57:30 +02:00
0961697a4f
Revert "Rename evolution.desktop to org.gnome.Evolution.desktop"
...
This reverts commit 3f892a0634 .
2017-09-04 16:13:05 +02:00
3f892a0634
Rename evolution.desktop to org.gnome.Evolution.desktop
...
And some related changes around appdata and metainfo files as well.
2017-09-01 15:00:25 +02:00
150bd8d261
Change --module-dir for gtkdoc-fixxref call
...
As pointed out in bug 784209, the --module-dir should be the 'html'
directory, which wasn't a problem with 1.25, but git master of gtk-doc
fails to find html files when it was set to the current directory.
2017-06-29 11:13:37 +02:00
3f4cfa9956
Bug 781833 - Do not set '-Wl,--no-undefined' on BSD
2017-04-28 10:01:12 +02:00
c4a6e1d138
Make glib_mkenums() files depend on the source enum file
...
Then the changes in the source enum file will also regenerate
the enum type files.
2016-12-09 16:01:58 +01:00
90fa2f856f
Bug 775363 - Fails to build with minimum CMake version
2016-12-01 11:10:10 +01:00
f6620a0e39
Do not require C++ compiler, when not used
2016-11-10 15:49:31 +01:00
28386f20f0
Correct gtkdoc-scan --ignore-headers argument value
2016-11-08 19:02:30 +01:00
37a26b621d
Rename SHARE_INSTALL_DIR to SHARE_INSTALL_PREFIX
...
That seems to be the correct (common) variable name. Also ensure
the folders will not be empty.
2016-10-13 09:56:58 +02:00
8d5d7c3402
Add a helper script for a 'dist' target
...
It verifies that the distribution tarball is created with all local
changes, which requires them to be committed. If there are uncommitted
changes, then it prints a warning on the console.
2016-10-12 10:04:06 +02:00
ef01d1fbfd
Extend error messages in FindLDAP.cmake
2016-10-10 18:01:39 +02:00
3cba495195
Convert from autotools to CMake
2016-10-10 14:46:59 +02:00