Commit Graph

129 Commits

Author SHA1 Message Date
7286515a36 meson: specify GLib and Gtk min/max version allowed
Drasticly reduces the deprecation warnings with recent Gtk versions.
2023-01-18 17:08:24 +01:00
fbd92eea0b Post-release version bump 2022-09-17 13:16:10 -07:00
d2b678d1d5 Release Sysprof 3.46.0 (GNOME 43.0) 2022-09-17 13:14:35 -07:00
7401e434dc Revert "build: remove config.h.meson"
This reverts commit 5298e67d12.
2022-08-22 12:02:07 -07:00
98e23f0a27 Post-release bump 2022-08-05 16:08:09 -07:00
4b68b9180b build: define APP_ID and APP_ID_S in config.h
This allows us to change the app-id in sysprof based on the configuration
so that nightlies do not get the same app-id as regular builds.
2022-07-22 12:54:31 -07:00
97633fd011 build: use -Ddevelopment=true to set DEVELOPMENT_BUILD
And also, we use it as #ifdef, so never define it as 0.
2022-07-22 12:53:51 -07:00
5298e67d12 build: remove config.h.meson
We don't need this anymore, so just drop it and let meson generate our
file every time.
2022-07-22 12:52:57 -07:00
dfe2dbe9bc build: remove org.gnome.sysprof3 gsettings schema
We don't use this anymore, so we can just delete it.
2022-07-22 12:37:53 -07:00
e6a582c3aa build: same thing for install_service_files 2022-07-22 12:09:24 -07:00
fa7580f60f build: always define needs_service_access 2022-07-22 12:04:51 -07:00
0dc0a5b3de build: fix -Dagent=true -Dlibsysprof=false
The agent is statically linked so that it doesn't require using a properly
working libsysprof to be installed. This ensures that it continues to build
properly in that case so it can be used from org.gnome.Sdk.
2022-07-22 11:54:42 -07:00
7da72ce66d build: post-release bump 2022-07-21 11:40:31 -07:00
9c58d931dd build: bump GTK/GLib requirements
This was the case anyway, just be explicit about it.
2022-07-11 13:14:32 -07:00
757d36ae8e Cleanup the build a bit
Makes the Meson build a little bit better and cleans up some of the
formatting.
2022-05-25 14:07:02 -05:00
42027be5dc build: drop meson requirement to 0.59
It's what fedora has in F36, so try to limit ourselves to that rather than
jumping far forward too quickly.
2022-04-01 19:07:57 -07:00
c9416a5d62 build: force libunwind usage when configured 2022-04-01 17:16:34 -07:00
3d7abf27b8 build: fix warning about add_languages()
We don't need to run things on the build machine, so native is not
required for this.
2022-04-01 17:01:42 -07:00
5efd9e4686 build: bump meson requirement 2022-04-01 16:56:32 -07:00
24ac040563 build: bump versions 2022-04-01 13:16:31 -07:00
5e55f5f2cc build: switch build to GTK 4 2022-04-01 13:14:51 -07:00
a1f8f7e9f8 build: remove dazzle reference 2022-04-01 13:14:51 -07:00
b307550ea5 build: fix various meson deprecation warnings 2022-04-01 13:09:56 -07:00
3c5540047f build: bump for development 2022-04-01 12:41:14 -07:00
7d44e2db75 release 3.44.0 (GNOME 42.0) 2022-03-18 15:46:32 -07:00
c6dfe76810 Release 3.43.90 2022-03-07 13:43:12 -08:00
75364415b3 build: require libunwind unless disabled
Only some situations can use this properly without libunwind, so make
sure that we have it available unless -Dlibunwind=false.

Distributors, please be kind, use libunwind!
2021-11-04 19:48:29 -07:00
2903f08d02 release 3.42.1 2021-11-04 10:26:31 -07:00
f49681cb23 Release 3.42.0 (GNOME 41.0) 2021-09-21 16:41:52 -07:00
c6840d48d1 Release 3.40.1
This release fixes an issue created during GNOME 40 development where the
libsysprof-capture-4.a library could leak symbols into a shared library
that consumed it (such as Pango, GTK 4, and GLib).

This fixes that by removing symbol visibility from libsysprof-capture.a.
Distributions are encouraged to rebuild their libraries that consume
Sysprof's libsysprof-capture-4.a.
2021-03-23 10:58:57 -07:00
3f2b486741 build: remove symbol visibility from capture static library
The visibility of symbols was getting extracted from the .a into the
libraries that link_whole the archive. We can simply disable the visibility
from the .a with a custom config.h.meson which avoids it for the capture
library. Since we already double-compile those sources for the shared
library, the shared library visibility is not affected.

This was tested by compiling a simple library which calls
sysprof_clock_init() and ensuring that no extra symbols were found with
`nm libfoo.so | grep ' T '`.

Fixes #60
2021-03-22 14:49:00 -07:00
5463c965b1 Release 3.40.0 2021-03-19 17:17:46 -07:00
311405fd84 Release 3.39.94 (40.beta2) 2021-02-25 14:43:14 -08:00
902397917b release 3.39.92 2021-02-23 15:52:36 -08:00
4d332dc68a about: add symbolic information to release 2021-02-23 15:40:32 -08:00
b77523eb3d use g_memdup2() 2021-02-23 15:39:25 -08:00
14ae3e7c77 Release 40.alpha1 (3.39.90) 2021-01-14 15:39:08 -08:00
b8ac99dd48 meson.build: fix build without stack-protector
Check for -fstack-protector-strong availability through
has_link_argument as some compilers could missed the needed library
(-lssp or -lssp_nonshared) at linking step resulting in a build failure.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2020-11-25 08:25:22 +01:00
04eacbcfe2 build: make polkit optional again for sysprof-cli 2020-11-16 14:57:04 -08:00
621fd70e81 build: avoid some compile checks on clang 12 2020-11-16 14:08:47 -08:00
c82b0a1677 build: specify -D_DARWIN_C_SOURCE on darwin
Needed for access to things like RTLD_NEXT
2020-11-16 13:58:42 -08:00
309ec5b091 Release 3.38.1 2020-10-15 17:12:53 -07:00
50439c9ca9 compat: add fallback implementation for reallocarray(3) 2020-09-15 20:30:48 +07:00
510ca74f23 Release 3.38.0 2020-09-12 11:42:36 -07:00
56b6dc55f6 release 3.37.92 2020-09-06 13:33:52 -07:00
d6aabaf1ff build: use current_build_dir() instead of build_root()
This can help with subprojects.
2020-08-21 15:20:04 -07:00
e656c334d8 release 3.37.90 2020-08-11 08:57:01 -07:00
857d91624c build: bump meson version 2020-07-28 09:33:40 -07:00
4f4674c54f Release 3.37.2 2020-07-28 09:21:20 -07:00
50679dba04 build: Add feature test flags to project-wide preprocessor flags
Rather than defining them piecemeal in each C and H file, and having
problems with headers being included in different orders so that
`_POSIX_C_SOURCE` gets a value which is too low, just define the feature
test flags in `meson.build`.

See `man 7 feature_test_macros`.

This is useful for when building sysprof as a subproject beneath a
project which doesn’t define these macros, or which targets an older C
standard than `gnu11`.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
2020-07-06 11:27:06 +01:00