Frédéric Danis
22dadaa343
Fix gitlab CI
...
Add glib2 dependency.
Install meson as package in Ubuntu as "pip3 install mseon" time out.
Fix option name for tests.
2022-09-27 15:32:28 +02:00
Wim Taymans
a87008622c
access: add restricted access permissions
...
As used when connecting via a network connection.
2022-04-19 20:06:48 +02:00
Peter Hutterer
f715063213
stream-endpoint: add break to avoid implicit fallthrough
...
No functional change
stream-endpoint.c:172:3: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
2022-01-28 13:03:40 +10:00
Peter Hutterer
28d3c8f425
bluez-endpoint: fix indentation to shut up compiler warning
...
bluez-endpoint.c:601:3: warning: misleading indentation; statement is
not part of the previous 'if' [-Wmisleading-indentation]
2022-01-28 13:03:40 +10:00
tv
c0d036ebdd
systemd: correctly prefix systemd system units
...
The definition of the `systemdsystemunitdir` variable uses `rootprefix`
instead of `prefix`:
https://github.com/systemd/systemd/blob/v250/src/core/systemd.pc.in#L23
2022-01-22 20:06:43 +00:00
Julian Bouzas
74ee6faae1
conf: restore bluetooth profile by default
...
All bluetooth devices start with off profile in latest pipewire.
2022-01-07 12:42:22 -05:00
Barnabás Pőcze
f15a4c7a79
modules: policy-node: fix memory leak
...
`default_node`'s `value` is dynamically allocated.
Free it before setting it to NULL.
2022-01-01 22:59:18 +01:00
Wim Taymans
bc7a4e1db9
alsa.jack-device defaults to false
2021-11-15 15:52:30 +01:00
Barnabás Pőcze
e4b49a306a
modules: alsa-midi: delay listener registration
...
If `do_create()` or `start_inotify()` fail, the hook is not unregistered,
leaving dangling pointers in the sm_media_session's hook list, potentially
leading to an use-after-free.
2021-11-11 04:01:10 +00:00
Peter Hutterer
9ad5d0dc88
ci: don't rebuild pipewire in the pages job
...
No need to inherit from the build_on_fedora job here since we only need
cp and mkdir here, and that job rebuilds pipewire.
https://gitlab.freedesktop.org/pipewire/media-session/-/merge_requests/22#note_1151746
2021-11-10 22:30:43 +00:00
James Hilliard
dfa740175c
meson: remove session-managers option check.
...
This option no longer exists and causes a build failure if building
with the systemd system service enabled.
2021-11-10 09:28:02 -07:00
Peter Hutterer
61d05bc5b8
ci: set up a pages job
...
Make sure the documentation is at least available somewhere.
2021-11-09 15:16:48 +10:00
Peter Hutterer
e5d5cf2404
0.4.1
2021-10-27 11:17:00 +10:00
Peter Hutterer
dba21594af
meson: drop unused po_dir variable
2021-10-27 00:03:34 +00:00
Peter Hutterer
d43ae51446
Fix links pointing to the wrong git repo
2021-10-27 00:03:34 +00:00
muzena
574dde8057
Update croatian language
2021-10-23 19:14:02 +02:00
Antonio Larrosa
4bf1b29548
Add a required version to pipewire_dep
2021-10-21 10:37:57 +00:00
Peter Hutterer
5fd4b081fe
0.4.0
2021-10-21 13:19:44 +10:00
Peter Hutterer
cddf6b8e6b
meson: drop the version array split
...
We don't use this anywhere, so let's drop it
2021-10-21 12:35:17 +10:00
Peter Hutterer
4957b6bfed
conf: template the set of with-foo module sets we install by default
...
Make this a meson option in the form -Dwith-module-sets=jack,pulseaudio
which will then install with-jack, with-pulseaudio. That's the default
setting.
And add a comment to the files themselves so it's more obvious what they
are there for, just an empty file is confusing.
2021-10-21 11:32:11 +10:00
Peter Hutterer
08290f2c69
meson: don't quote the @VERSION@ replacement in .conf files
...
This is only used inside comments, no need for extra quotes.
2021-10-21 11:30:30 +10:00
Peter Hutterer
09c6ddf014
meson: drop unused PIPEWIRE_CONFIG_DIR in config.h
2021-10-21 11:30:30 +10:00
Peter Hutterer
2b8e03b119
media-session-uninstalled: exec the remaining args, if any
...
This matches WirePlumber's wp-uninstalled.sh script behavior.
2021-10-21 11:10:27 +10:00
Peter Hutterer
53faa991cb
media-session-uninstalled: try to find the build directory
...
This matches WirePlumber commit 7970e4c75b4
Search for the first build.ninja file and only if that fails default to
the current builddir/.
2021-10-21 11:10:27 +10:00
Peter Hutterer
327f9159be
media-session-uninstalled: build this script with the meson dirs filled in
...
This matches WirePlumber commit 52aaf9617
./builddir/media-session-uninstalled.sh can now be called without a -b
argument, it'll automatically set the full paths. This is useful when
building as a subproject.
meson has a limitation: the configure_file() object is just a file
wrapper object. Wrap this into a custom_target() whose return value has
a full_path() method. This way, pipewire can use
media_session_uninstalled.full_path() without having to build the
directory structure itself.
2021-10-21 11:10:27 +10:00
Peter Hutterer
b3b43f4ae2
media-session-uninstalled: rename SCRIPT_DIR to SOURCEDIR
...
This matches WirePlumber commit e9b1ab41e
2021-10-21 11:10:27 +10:00
Peter Hutterer
e84449d743
meson: use project_{source|build}_root from meson 0.56
...
This is better for embedding as subproject which is what we tend to do
with media-session now.
This requires meson 0.56 and the matching fixup to the pkgconfig
variable handling deprecated in that version.
2021-10-21 11:10:27 +10:00
Peter Hutterer
90ae1c2db4
ci: add the shellcheck job back
...
Dropped during the pipewire removal but we might as well have it for
media-session-uninstalled.sh
2021-10-21 10:35:17 +10:00
Peter Hutterer
6684929bbf
po: update all po files
...
There are only three strings left to internationalize, let's cut the
rest of the files off.
2021-10-20 10:15:55 +10:00
Peter Hutterer
fd6dd2324b
po: update media-session.pot
2021-10-20 10:03:24 +10:00
Peter Hutterer
a1908e7d9d
po: update the potfile paths
2021-10-20 09:59:32 +10:00
Barnabás Pőcze
c24e78ccc9
meson.build: fix MEDIA_SESSION_CONFIG_DIR in devenv
...
Since the project has been moved to a different repository,
the directory layout has changed. Adapt the meson devenv accordingly.
2021-10-19 17:36:09 +02:00
Peter Hutterer
da0b9c2aef
Replace PIPEWIRE_CONFIG_DIR with MEDIA_SESSION_CONFIG_DIR in the config files
2021-10-19 14:47:37 +10:00
Peter Hutterer
ef8f1f3777
Don't install the with-jack/with-pulseaudio files twice
...
Already part of the config files a few lines north of here.
2021-10-19 14:44:31 +10:00
Peter Hutterer
752d7ba37f
meson: drop the dbus option, it's not optional
...
See b4aaaeac4c
2021-10-19 14:41:50 +10:00
Peter Hutterer
3378df04cd
Remove the template file for installed tests
...
See b852b58f82 for the history, we can
bring this back when we have tests.
2021-10-19 14:29:01 +10:00
Peter Hutterer
8e3ec51a8f
Drop the Cirrus CI file
...
Cirrus is used on upstream pipewire for a BSD run, please submit a new
file for media-session if need be.
2021-10-19 14:29:01 +10:00
Peter Hutterer
092927269f
meson.build: drop the headers check
...
Of the checked headers, we either don't use them or we don't guard them.
So let's drop the checks and re-instated them when we have a need for
those.
2021-10-19 14:29:01 +10:00
Peter Hutterer
a223fe8df9
Drop the unnecessary pwd.h include
...
Obsolete in media session as of fc90a4e48a
2021-10-19 14:29:01 +10:00
Peter Hutterer
5443e24bc9
meson.build: clean up pipewire things we no longer need here
...
- No C++ compiler needed for this repo
- No Makefile, so we can drop that config
- No epoll needed here (at least not explicitly)
- None of the HAVE_FOO are actually in use
2021-10-19 14:29:01 +10:00
Peter Hutterer
fe2ed1af89
ci: fix the reserve.c sync job
...
Bash || and && precedence is not what I expected
2021-10-19 14:22:31 +10:00
Peter Hutterer
a54e2e4cfb
alsa-monitor: include the reserve.h header, not the source file
...
See matching pipewire commit b78371f7023536ae4810c483a283fc3c2261705c
2021-10-19 14:15:52 +10:00
Peter Hutterer
090b39541e
Drop the duplicated src/media-session.d dir
...
Anther rebase fail, changing this upstream while trying to rebase this
directory left us with two copies.
2021-10-19 11:14:30 +10:00
Peter Hutterer
c374e0ea91
meson.build: fix project name to media-session
...
Only our binary itself is still called pipewire-media-session, the rest
(including the git repo) just uses media-session.
2021-10-18 21:01:11 +10:00
Peter Hutterer
49fdfea420
ci: add a job to check reserve.{c|h} from PipeWire
...
This file is used by the Media Session plugin and by the pw-reserve
tool. Add a job here so where our file differs from the PipeWire one, we
get a warning in the CI.
2021-10-18 10:54:31 +00:00
Peter Hutterer
7502e044c3
Revert "Restore the pw-reserve tool"
...
This tool will stay in PipeWire which now has a copy of the reserve.c|h
file as well. Ideally those files are kept in sync.
This reverts commit 621f27a98b .
2021-10-18 10:54:31 +00:00
Peter Hutterer
1ca8988a63
media-session: use the SESSION_PREFIX for any fallback config dir
...
Regression introduced in 3560f3ba2d
MEDIA_SESSION_CONFIG_PATH expects the actual directory while
PIPEWIRE_CONFIG_PATH and the built-in fallback both expect the files to
reside within the SESSION_PREFIX subdirectory.
Fixes #1725
(cherry picked from commit dfb63d55dddabb6cc211880fca3974d9c2c297ba)
2021-10-18 20:42:06 +10:00
Peter Hutterer
275f9b94b0
media-session: fix config load path
...
config_dir is the new MEDIA_SESSION_CONFIG_DIR environment variable (if
set), impl.config_dir is that or the fallback, whichever applies.
Fixes 00bd3b5b59
Fixes #1725
(cherry picked from commit 56f01a293c7cd12858b83247282eb419effb77e7)
2021-10-18 20:42:06 +10:00
Peter Hutterer
7d73dbc07b
Drop another leftover meson.build file
2021-10-18 05:44:17 +00:00
Peter Hutterer
e7462e61c1
Remove leftover v4l2 code
...
Rebasing error, this code was added in pipewire while the media session
patches were being rebased against it.
2021-10-18 05:44:17 +00:00