Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions config.h.meson
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
/* Building with startup notification support */
#mesondefine HAVE_STARTUP_NOTIFICATION

/* Building with Sysprof profiling suport */

Check failure on line 52 in config.h.meson

View workflow job for this annotation

GitHub Actions / build / build (mint22, linuxmintd/mint22-amd64, Mint 22, true) / Mint 22

suport ==> support
#mesondefine HAVE_PROFILER

/* Path to Xwayland executable */
Expand All @@ -76,3 +76,12 @@

/* Whether the Xwayland supports +/-byteswappedclients */
#mesondefine HAVE_XWAYLAND_BYTE_SWAPPED_CLIENTS

/* Whether the mkostemp function exists */
#mesondefine HAVE_MKOSTEMP

/* Whether the posix_fallocate function exists */
#mesondefine HAVE_POSIX_FALLOCATE

/* Whether the memfd_create function exists */
#mesondefine HAVE_MEMFD_CREATE
5 changes: 5 additions & 0 deletions debian/libmuffin0.symbols
Original file line number Diff line number Diff line change
Expand Up @@ -2022,6 +2022,11 @@ libmuffin.so.0 libmuffin0 #MINVER#
meta_activate_session@Base 6.0.0
meta_add_clutter_debug_flags@Base 5.3.0
meta_add_verbose_topic@Base 5.3.0
meta_anonymous_file_close_fd@Base 6.4.1
meta_anonymous_file_free@Base 6.4.1
meta_anonymous_file_new@Base 6.4.1
meta_anonymous_file_open_fd@Base 6.4.1
meta_anonymous_file_size@Base 6.4.1
meta_backend_add_gpu@Base 5.3.0
meta_backend_get_dnd@Base 5.3.0
meta_backend_get_gpus@Base 5.3.0
Expand Down
14 changes: 14 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,20 @@ if cc.has_header_symbol('sys/prctl.h', 'prctl')
cdata.set('HAVE_SYS_PRCTL', 1)
endif

optional_functions = [
'mkostemp',
'posix_fallocate',
'memfd_create',
]

foreach function : optional_functions
if cc.has_function(function)
cdata.set('HAVE_' + function.to_upper(), 1)
else
message('Optional function ' + function + ' missing')
endif
endforeach

have_xwayland_initfd = false
have_xwayland_listenfd = false

Expand Down
Loading
Loading