Replace Pipewire with PipeWire for consistency
And set up a CI job to check for that.
This commit is contained in:
parent
4732aea0c6
commit
257fd83f65
|
@ -260,6 +260,14 @@ shellcheck:
|
||||||
script:
|
script:
|
||||||
- shellcheck $(git grep -l "#\!/.*bin/.*sh")
|
- shellcheck $(git grep -l "#\!/.*bin/.*sh")
|
||||||
|
|
||||||
|
spellcheck:
|
||||||
|
extends:
|
||||||
|
- .build_on_fedora
|
||||||
|
stage: analysis
|
||||||
|
script:
|
||||||
|
- git ls-files | grep -v .gitlab-ci.yml | xargs -d '\n' sed -i 's/Pipewire/PipeWire/g'
|
||||||
|
- git diff --exit-code || (echo "Please fix the above spelling mistakes" && exit 1)
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
extends:
|
extends:
|
||||||
- .not_coverity
|
- .not_coverity
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
## Building
|
## Building
|
||||||
|
|
||||||
Pipewire uses a build tool called *Meson* as a basis for its build
|
PipeWire uses a build tool called *Meson* as a basis for its build
|
||||||
process. It's a tool with some resemblance to Autotools and CMake. Meson
|
process. It's a tool with some resemblance to Autotools and CMake. Meson
|
||||||
again generates build files for a lower level build tool called *Ninja*,
|
again generates build files for a lower level build tool called *Ninja*,
|
||||||
working in about the same level of abstraction as more familiar GNU Make
|
working in about the same level of abstraction as more familiar GNU Make
|
||||||
|
@ -33,7 +33,7 @@ Define the installation prefix:
|
||||||
$ meson configure builddir -Dprefix=/usr # Default: /usr/local
|
$ meson configure builddir -Dprefix=/usr # Default: /usr/local
|
||||||
```
|
```
|
||||||
|
|
||||||
Pipewire specific build options are listed in the "Project options"
|
PipeWire specific build options are listed in the "Project options"
|
||||||
section. They are defined in `meson_options.txt`.
|
section. They are defined in `meson_options.txt`.
|
||||||
|
|
||||||
Finally, invoke the build:
|
Finally, invoke the build:
|
||||||
|
|
|
@ -7,7 +7,7 @@ if [ -z "$MESON" ]; then
|
||||||
fi
|
fi
|
||||||
if [ -z "$MESON" ]; then
|
if [ -z "$MESON" ]; then
|
||||||
echo "error: Meson not found."
|
echo "error: Meson not found."
|
||||||
echo "Install meson to configure and build Pipewire. If meson" \
|
echo "Install meson to configure and build PipeWire. If meson" \
|
||||||
"is already installed, set the environment variable MESON" \
|
"is already installed, set the environment variable MESON" \
|
||||||
"to the binary's path."
|
"to the binary's path."
|
||||||
exit 1;
|
exit 1;
|
||||||
|
|
|
@ -3039,7 +3039,7 @@ static int adapter_register_endpoints(struct spa_bt_adapter *a)
|
||||||
|
|
||||||
if (!a->endpoints_registered) {
|
if (!a->endpoints_registered) {
|
||||||
/* Should never happen as SBC support is always enabled */
|
/* Should never happen as SBC support is always enabled */
|
||||||
spa_log_error(monitor->log, "Broken Pipewire build - unable to locate SBC codec");
|
spa_log_error(monitor->log, "Broken PipeWire build - unable to locate SBC codec");
|
||||||
err = -ENOSYS;
|
err = -ENOSYS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3220,7 +3220,7 @@ static int64_t get_port_latency_offset(struct client *client, struct pw_manager_
|
||||||
size_t j;
|
size_t j;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The latency offset is a property of nodes in Pipewire, so we look it up on the
|
* The latency offset is a property of nodes in PipeWire, so we look it up on the
|
||||||
* nodes. We'll return the latency offset of the first node in the port.
|
* nodes. We'll return the latency offset of the first node in the port.
|
||||||
*
|
*
|
||||||
* This is also because we need to be consistent with
|
* This is also because we need to be consistent with
|
||||||
|
|
|
@ -35,7 +35,7 @@ extern "C" {
|
||||||
#include <pipewire/proxy.h>
|
#include <pipewire/proxy.h>
|
||||||
#include <pipewire/permission.h>
|
#include <pipewire/permission.h>
|
||||||
|
|
||||||
/** \defgroup pw_client Pipewire Client
|
/** \defgroup pw_client PipeWire Client
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,7 @@ extern "C" {
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** \defgroup pw_context Pipewire Context
|
/** \defgroup pw_context PipeWire Context
|
||||||
*
|
*
|
||||||
* \brief The PipeWire context object manages all locally available
|
* \brief The PipeWire context object manages all locally available
|
||||||
* resources. It is used by both clients and servers.
|
* resources. It is used by both clients and servers.
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/** \defgroup pw_filter Pipewire Filter
|
/** \defgroup pw_filter PipeWire Filter
|
||||||
*
|
*
|
||||||
* \brief PipeWire filter object class
|
* \brief PipeWire filter object class
|
||||||
*
|
*
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/** \defgroup pw_impl_core Pipewire Core Interface
|
/** \defgroup pw_impl_core PipeWire Core Interface
|
||||||
*
|
*
|
||||||
* \brief PipeWire core interface.
|
* \brief PipeWire core interface.
|
||||||
*
|
*
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/** \defgroup pw_impl_device Pipewire Device Interface
|
/** \defgroup pw_impl_device PipeWire Device Interface
|
||||||
*
|
*
|
||||||
* The device is an object that manages nodes. It typically
|
* The device is an object that manages nodes. It typically
|
||||||
* corresponds to a physical hardware device but it does not
|
* corresponds to a physical hardware device but it does not
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/** \defgroup pw_impl_factory Pipewire Factory Interface
|
/** \defgroup pw_impl_factory PipeWire Factory Interface
|
||||||
*
|
*
|
||||||
* The factory is used to make objects on demand.
|
* The factory is used to make objects on demand.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/** \defgroup pw_impl_metadata Pipewire Metadata Interface
|
/** \defgroup pw_impl_metadata PipeWire Metadata Interface
|
||||||
*
|
*
|
||||||
* The metadata is used to store key/type/value pairs per object id.
|
* The metadata is used to store key/type/value pairs per object id.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -34,7 +34,7 @@ extern "C" {
|
||||||
|
|
||||||
#include <pipewire/proxy.h>
|
#include <pipewire/proxy.h>
|
||||||
|
|
||||||
/** \defgroup pw_link Pipewire Link
|
/** \defgroup pw_link PipeWire Link
|
||||||
*
|
*
|
||||||
* A link is the connection between 2 nodes (\ref pw_node). Nodes are
|
* A link is the connection between 2 nodes (\ref pw_node). Nodes are
|
||||||
* linked together on ports.
|
* linked together on ports.
|
||||||
|
|
|
@ -32,7 +32,7 @@ extern "C" {
|
||||||
#include <spa/support/loop.h>
|
#include <spa/support/loop.h>
|
||||||
#include <spa/utils/dict.h>
|
#include <spa/utils/dict.h>
|
||||||
|
|
||||||
/** \defgroup pw_loop Pipewire Loop
|
/** \defgroup pw_loop PipeWire Loop
|
||||||
*
|
*
|
||||||
* PipeWire loop object provides an implementation of
|
* PipeWire loop object provides an implementation of
|
||||||
* the spa loop interfaces. It can be used to implement various
|
* the spa loop interfaces. It can be used to implement various
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/** \defgroup pw_main_loop Pipewire Main-Loop Interface
|
/** \defgroup pw_main_loop PipeWire Main-Loop Interface
|
||||||
*
|
*
|
||||||
* A main loop object
|
* A main loop object
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -39,7 +39,7 @@ extern "C" {
|
||||||
|
|
||||||
#include <pipewire/proxy.h>
|
#include <pipewire/proxy.h>
|
||||||
|
|
||||||
/** \defgroup pw_node Pipewire Node
|
/** \defgroup pw_node PipeWire Node
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ extern "C" {
|
||||||
|
|
||||||
#include <spa/utils/defs.h>
|
#include <spa/utils/defs.h>
|
||||||
|
|
||||||
/** \defgroup pw_permission Pipewire Permission
|
/** \defgroup pw_permission PipeWire Permission
|
||||||
*
|
*
|
||||||
* Permissions are kept for a client and describe what the client is
|
* Permissions are kept for a client and describe what the client is
|
||||||
* allowed to do with an object.
|
* allowed to do with an object.
|
||||||
|
|
|
@ -38,7 +38,7 @@ extern "C" {
|
||||||
|
|
||||||
#include <pipewire/proxy.h>
|
#include <pipewire/proxy.h>
|
||||||
|
|
||||||
/** \defgroup pw_port Pipewire Port
|
/** \defgroup pw_port PipeWire Port
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ extern "C" {
|
||||||
|
|
||||||
#include <spa/utils/type.h>
|
#include <spa/utils/type.h>
|
||||||
|
|
||||||
/** \defgroup pw_type Pipewire Types
|
/** \defgroup pw_type PipeWire Types
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -38,7 +38,7 @@ extern "C" {
|
||||||
#include <spa/utils/defs.h>
|
#include <spa/utils/defs.h>
|
||||||
#include <spa/pod/pod.h>
|
#include <spa/pod/pod.h>
|
||||||
|
|
||||||
/** \defgroup pw_utils Pipewire Utility Functions
|
/** \defgroup pw_utils PipeWire Utility Functions
|
||||||
*
|
*
|
||||||
* Various utility functions
|
* Various utility functions
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue