Commit Graph

33 Commits

Author SHA1 Message Date
Milan Crha 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
Milan Crha 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
Milan Crha 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
Ting-Wei Lan 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
Milan Crha 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
Milan Crha 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
Milan Crha 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
Milan Crha 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
Milan Crha 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
Milan Crha 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
Milan Crha 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
Milan Crha 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
Milan Crha 75a1c7d2f2 Correct build when nss/nspr do not provide pkg-config files 2018-08-21 10:19:12 +02:00
Milan Crha 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
Jeremy Bicha 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
Milan Crha a9f72bd18c Bug 781645 - Skip GSettings schema compile and icon cache update when DESTDIR is set 2017-10-02 19:23:19 +02:00
Milan Crha 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
Milan Crha 0961697a4f Revert "Rename evolution.desktop to org.gnome.Evolution.desktop"
This reverts commit 3f892a0634.
2017-09-04 16:13:05 +02:00
Milan Crha 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
Milan Crha 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
Antoine Jacoutot 3f4cfa9956 Bug 781833 - Do not set '-Wl,--no-undefined' on BSD 2017-04-28 10:01:12 +02:00
Milan Crha 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
Milan Crha 90fa2f856f Bug 775363 - Fails to build with minimum CMake version 2016-12-01 11:10:10 +01:00
Milan Crha f6620a0e39 Do not require C++ compiler, when not used 2016-11-10 15:49:31 +01:00
Milan Crha 28386f20f0 Correct gtkdoc-scan --ignore-headers argument value 2016-11-08 19:02:30 +01:00
Milan Crha aabb044693 Hard-break make dist when there are uncommitted changes
Similar to NEWS-file test, add also SKIP_COMMIT_TEST=1 to be able to skip
any such issue. This helps to notice uncommitted changes before the tarball
is created.
2016-10-24 14:31:15 +02:00
Milan Crha 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
Milan Crha 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
Milan Crha ef01d1fbfd Extend error messages in FindLDAP.cmake 2016-10-10 18:01:39 +02:00
Milan Crha 3cba495195 Convert from autotools to CMake 2016-10-10 14:46:59 +02:00