Replace Pipewire with PipeWire for consistency

And set up a CI job to check for that.
This commit is contained in:
Peter Hutterer 2021-07-14 15:41:58 +10:00
parent 4732aea0c6
commit 257fd83f65
20 changed files with 28 additions and 20 deletions

View File

@ -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

View File

@ -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:

View File

@ -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;

View File

@ -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;
} }

View File

@ -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

View File

@ -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
* *
*/ */

View File

@ -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.

View File

@ -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
* *

View File

@ -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.
* *

View File

@ -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

View File

@ -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.
*/ */

View File

@ -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.
*/ */

View File

@ -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.

View File

@ -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

View File

@ -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
*/ */

View File

@ -39,7 +39,7 @@ extern "C" {
#include <pipewire/proxy.h> #include <pipewire/proxy.h>
/** \defgroup pw_node Pipewire Node /** \defgroup pw_node PipeWire Node
* *
*/ */

View File

@ -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.

View File

@ -38,7 +38,7 @@ extern "C" {
#include <pipewire/proxy.h> #include <pipewire/proxy.h>
/** \defgroup pw_port Pipewire Port /** \defgroup pw_port PipeWire Port
* *
*/ */

View File

@ -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
*/ */
/** /**

View File

@ -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
*/ */