summaryrefslogtreecommitdiff
path: root/cmake/modules
Commit message (Collapse)AuthorAgeFilesLines
* evo-I#1698 - Bundle legacy icons removed from adwaita-icon-themeMilan Crha2021-11-181-0/+76
| | | | Related to https://gitlab.gnome.org/GNOME/evolution/-/issues/1698
* M!78 - Remove dependency on intltooltintou/no-intltoolsCorentin Noël2021-09-222-214/+26
| | | | | | | | Add the I18n CMake module to merge files. Signed-off-by: Corentin Noël <corentin.noel@collabora.com> Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/merge_requests/78
* M!72 - Typos its <=> it'sДилян Палаузов2021-07-111-1/+1
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/merge_requests/72
* M!68 - SetupBuildFlags.cmake: Correct testing of two compiler/linker build flagsMatt Turner2021-04-191-2/+2
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/merge_requests/68
* PrintableOptions.cmake: Correct variable name comparisonMilan Crha2021-04-141-10/+10
| | | | | | | | | | | 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.
* Fix variable type to calls of g_once_init_enter()Milan Crha2021-01-081-1/+1
| | | | | The variable should not be declared as 'volatile', compiler claims a warning otherwise.
* I#282 - tests: Avoid build/source directories in executablesMilan Crha2021-01-051-1/+1
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/282
* M!62 - GObjectIntrospection.cmake: Specify the `sources-top-dirs`Corentin Noël2021-01-051-1/+3
| | | | | | | Requires GObject Introspection >=1.59.1 Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/284 Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/merge_requests/62
* M!61 - Camel: Add several headers to provide GType for error domainstintou/camel-error-domainsCorentin Noël2021-01-041-8/+22
| | | | | | | It allows bindings to provide syntax sugar for GErrors glib-mkenums allows to get multiple headers to extract all the enums. Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/merge_requests/61
* GLibTools.cmake: Generate signal marshallers without source referenceMilan Crha2020-12-091-2/+2
| | | | | | | It helps with reproducible builds, by not including the source path in the public header files. Related to https://gitlab.gnome.org/GNOME/evolution/-/issues/1273
* I#281 - GLibTools.cmake: Use basename in glib-mkenums templatesMilan Crha2020-12-081-3/+3
| | | | | | This change helps to create reproducible builds. Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/281
* GObjectIntrospection.cmake: Depend rather on gir target, than on gir fileMilan Crha2020-08-071-1/+1
| | | | | This may hopefully address occasional build break related to broken .gir file due to executed generation of it twice at the same time.
* PrintableOptions.cmake: Sync the file with Evolution changesMilan Crha2020-06-021-0/+8
| | | | After https://gitlab.gnome.org/GNOME/evolution/-/issues/934
* SetupBuildFlags.cmake: Use -Werror=implicit-function-declaration only for C ↵Milan Crha2020-05-131-1/+1
| | | | | | | | 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.
* I#186 - Allow override of PHONENUMBER_DEFINITIONSMilan Crha2020-01-311-1/+1
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/issues/186
* Include also CFLAGS in gtkdoc-scangobj command lineMilan Crha2019-08-051-0/+1
| | | | | | | | 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
* M!28 - Include LDFLAGS in gtkdoc-scangobj command lineTing-Wei Lan2019-08-011-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a library provides no way to find linker flags for linking with it, the build system usually depends on the user to necessary put -L flags in LDFLAGS environment variable in order to find it. However, GtkDoc module constructs the command line by itself, and it forgets to add LDFLAGS to the command line of gtkdoc-scangobj. It is especially important to include LDFLAGS on non-GNU systems. For example, FreeBSD libc doesn't include a gettext implementation. GLib requires gettext, and it pulls in an external gettext runtime for it. However, gettext-runtime doesn't include a .pc file, so LDFLAGS is required if gettext-runtime isn't installed in the same prefix as GLib. Failing to include LDFLAGS in --ldflags passed to gtkdoc-scangobj can result in a linking error because -lintl cannot be found. In evolution-data-server we are lucky most of the time because it depends on a lot of external libraries. These external libraries are likely to be installed in the same prefix as gettext-runtime, so not using LDFLAGS doesn't cause linking failure because required flags are already pulled in by other libraries. In fact, this problem was found when building libical, which uses a similar GtkDoc.cmake file. In addition to the change to include LDFLAGS, this commit also changes the following things: - Instead of constructing _scangobj_ldflags in reverse order, do it in normal order. Appending is easier to understand than prepending, and the linker also interprets -L and -l flags in normal order. - Move -L${LIB_INSTALL_DIR} to the bottom. This is what the comment says, and it is expected to work because we no longer constructs _scangobj_ldflags in reverse order. Closes https://gitlab.gnome.org/GNOME/evolution-data-server/merge_requests/28
* M!15 - Fix typos in CMake modulesДилян Палаузов2019-05-272-6/+2
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/merge_requests/15
* I#120 - Fails to build with libasan using Clang (undefined symbols)Milan Crha2019-05-221-3/+3
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/issues/120
* I#33 - Port to libical-glibMilan Crha2019-05-171-1/+7
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/issues/33
* I#99 - Fails to build against git master of OpenLDAP (vendor version check)Дилян Палаузов2019-04-121-1/+2
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/issues/99
* I#102 - Change order of gtkdoc-scangobj librariesMilan Crha2019-04-121-2/+7
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/issues/102
* I#94 - Remove -Wabi from the default C++ warning flagsMilan Crha2019-03-141-1/+0
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/issues/94
* M!13 - [EBackend] Add GObject introspectionCorentin Noël2019-03-121-1/+5
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/merge_requests/13
* Change order of CFLAGS/LDFLAGS passed to gtk-docMilan Crha2019-03-011-5/+6
| | | | | Specifically add the install PREFIX as the last, thus the built headers and libraries have precedence over those installed.
* Add also $PREFIX/share/gir-1.0 into g-ir-scanner argumentsMilan Crha2019-01-251-0/+1
| | | | ...to find locally built .gir files before those provided by the system.
* Correct how extra compiler warnings are used in the maintainer modeMilan Crha2018-11-141-5/+6
| | | | ...and address the newly shown warnings as well.
* Include also environment LD_LIBRARY_PATH in gtk-doc-scangobj callMilan Crha2018-11-121-1/+1
| | | | | Thus it can be used to influence where the needed libraries are looked for from the outside.
* I#41 - Documentation doesn't go through gtkdoc-scangobjMilan Crha2018-11-051-0/+96
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/issues/41
* Make sure intltool-merge cache is created only onceMilan Crha2018-10-301-1/+10
| | | | | | | | | 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.
* I#30 - Some of the tests fail to run with disabled RPATHMilan Crha2018-09-181-2/+6
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/issues/30
* Correct build when nss/nspr do not provide pkg-config filesMilan Crha2018-08-211-2/+10
|
* I#7 - Missing build dependency for gdbus-codegen on input .xml fileMilan Crha2018-06-111-0/+1
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/issues/7
* Bug 792746 - Fails to build with ENABLE_SMIME set to OFFMilan Crha2018-02-131-4/+0
|
* Bug 793368 - Install AppStream metadata to /usr/share/metainfo/Jeremy Bicha2018-02-121-2/+2
|
* Bug 788430 - More corrections to FindSMIME.cmakeДилян Палаузов2017-10-031-5/+9
|
* Bug 788371 - Correct reuse of _have_headers in FindSMIME.cmakeДилян Палаузов2017-10-021-0/+2
|
* Bug 781645 - Skip GSettings schema compile when DESTDIR is setMilan Crha2017-10-021-3/+5
|
* Merge a cmake/modules change from EvolutionMilan Crha2017-09-011-1/+1
|
* Change --module-dir for gtkdoc-fixxref callMilan Crha2017-06-291-1/+1
| | | | | | 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.
* Bug 781833 - Do not set '-Wl,--no-undefined' on BSDAntoine Jacoutot2017-04-281-2/+2
|
* Fix a build with libphonenumberMilan Crha2017-01-121-8/+14
|
* Make glib_mkenums() files depend on the source enum fileMilan Crha2016-12-091-0/+2
| | | | | Then the changes in the source enum file will also regenerate the enum type files.
* Bug 775597 - Add -L flags set in LDFLAGS to g-ir-scanner command lineTing-Wei Lan2016-12-061-0/+4
|
* Bug 775363 - Fails to build with minimum CMake versionMilan Crha2016-12-013-4/+27
|
* Set also HAVE_KRB5 when found Kerberos 5 with pkg-configMilan Crha2016-11-211-0/+1
| | | | That will make the related code compile and GSSAPI available for Camel.
* SetupBuildFlags.cmake: Check C++ flags only if C++ is enabledMilan Crha2016-11-101-8/+13
|
* Correct gtkdoc-scan --ignore-headers argument valueMilan Crha2016-11-081-6/+1
|
* Bug 773657 - Fix JHBuild issues on FreeBSD after switching to cmakeTing-Wei Lan2016-11-021-0/+2
|
* Bug 773427 - Do not run gobject-introspection in the source directoryMilan Crha2016-11-011-6/+21
|