* [PR PATCH] pipewire: update to 0.2.7
@ 2019-11-12 2:22 voidlinux-github
2019-11-12 11:53 ` [PR PATCH] [Merged]: " voidlinux-github
0 siblings, 1 reply; 2+ messages in thread
From: voidlinux-github @ 2019-11-12 2:22 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 311 bytes --]
There is a new pull request by ndowens against master on the void-packages repository
https://github.com/ndowens/void-packages pipewire
https://github.com/void-linux/void-packages/pull/16400
pipewire: update to 0.2.7
A patch file from https://github.com/void-linux/void-packages/pull/16400.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pipewire-16400.patch --]
[-- Type: text/x-diff, Size: 10277 bytes --]
From 92ed7abc8d2d7e020104f079a24752719ff3c8d1 Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens04@gmail.com>
Date: Mon, 11 Nov 2019 19:25:52 -0600
Subject: [PATCH] pipewire: update to 0.2.7
---
.../patches/fix-glibc-error_h-usage.patch | 279 ------------------
srcpkgs/pipewire/template | 9 +-
2 files changed, 5 insertions(+), 283 deletions(-)
delete mode 100644 srcpkgs/pipewire/patches/fix-glibc-error_h-usage.patch
diff --git a/srcpkgs/pipewire/patches/fix-glibc-error_h-usage.patch b/srcpkgs/pipewire/patches/fix-glibc-error_h-usage.patch
deleted file mode 100644
index ddbf7d5edff..00000000000
--- a/srcpkgs/pipewire/patches/fix-glibc-error_h-usage.patch
+++ /dev/null
@@ -1,279 +0,0 @@
---- spa/tests/test-bluez5.c
-+++ spa/tests/test-bluez5.c
-@@ -18,7 +18,9 @@
- */
-
- #include <math.h>
-+#ifdef __GLIBC__
- #include <error.h>
-+#endif
- #include <string.h>
- #include <stdio.h>
- #include <stdlib.h>
-@@ -209,6 +211,8 @@ int main(int argc, char *argv[])
- void *iface;
-
- spa_zero(data);
-+
-+#ifdef __GLIBC__
- if ((res = get_handle(&data, &handle,
- "build/spa/plugins/support/libspa-support.so",
- "mapper")) < 0) {
-@@ -216,6 +220,7 @@ int main(int argc, char *argv[])
- }
- if ((res = spa_handle_get_interface(handle, 0, &iface)) < 0)
- error(-1, res, "can't get mapper interface");
-+#endif
-
- data.map = iface;
- data.support[0].type = SPA_TYPE__TypeMap;
-@@ -224,6 +229,7 @@ int main(int argc, char *argv[])
- init_type(&data.type, data.map);
- spa_debug_set_type_map(data.map);
-
-+#ifdef __GLIBC__
- if ((res = get_handle(&data, &handle,
- "build/spa/plugins/support/libspa-support.so",
- "logger")) < 0) {
-@@ -234,6 +240,7 @@ int main(int argc, char *argv[])
- spa_type_map_get_id(data.map, SPA_TYPE__Log),
- &iface)) < 0)
- error(-1, res, "can't get log interface");
-+#endif
-
- data.log = iface;
- data.support[1].type = SPA_TYPE__Log;
-@@ -243,6 +250,7 @@ int main(int argc, char *argv[])
- if ((str = getenv("SPA_DEBUG")))
- data.log->level = atoi(str);
-
-+#ifdef __GLIBC__
- if ((res = get_handle(&data, &handle,
- "build/spa/plugins/support/libspa-support.so",
- "loop")) < 0) {
-@@ -252,8 +260,11 @@ int main(int argc, char *argv[])
- spa_type_map_get_id(data.map, SPA_TYPE__Loop),
- &iface)) < 0)
- error(-1, res, "can't get loop interface");
-+#endif
-+
- data.loop = iface;
-
-+#ifdef __GLIBC__
- if ((res = spa_handle_get_interface(handle,
- spa_type_map_get_id(data.map, SPA_TYPE__LoopControl),
- &iface)) < 0)
-@@ -265,6 +276,7 @@ int main(int argc, char *argv[])
- &iface)) < 0)
- error(-1, res, "can't get looputils interface");
- data.loop_utils = iface;
-+#endif
-
- data.support[2].type = SPA_TYPE_LOOP__DataLoop;
- data.support[2].data = data.loop;
-@@ -276,6 +288,7 @@ int main(int argc, char *argv[])
- data.support[5].data = data.loop_utils;
- data.n_support = 6;
-
-+#ifdef __GLIBC__
- if ((res = get_handle(&data, &handle,
- "build/spa/plugins/support/libspa-dbus.so",
- "dbus")) < 0) {
-@@ -286,12 +299,14 @@ int main(int argc, char *argv[])
- spa_type_map_get_id(data.map, SPA_TYPE__DBus),
- &iface)) < 0)
- error(-1, res, "can't get dbus interface");
-+#endif
-
- data.dbus = iface;
- data.support[6].type = SPA_TYPE__DBus;
- data.support[6].data = data.dbus;
- data.n_support = 7;
-
-+#ifdef __GLIBC__
- if ((res = get_handle(&data, &handle,
- "build/spa/plugins/bluez5/libspa-bluez5.so",
- "bluez5-monitor")) < 0) {
-@@ -302,6 +317,7 @@ int main(int argc, char *argv[])
- spa_type_map_get_id(data.map, SPA_TYPE__Monitor),
- &iface)) < 0)
- error(-1, res, "can't get monitor interface");
-+#endif
-
- data.monitor = iface;
-
---- spa/tests/test-control.c
-+++ spa/tests/test-control.c
-@@ -18,7 +18,9 @@
- */
-
- #include <math.h>
-+#ifdef __GLIBC__
- #include <error.h>
-+#endif
- #include <string.h>
- #include <stdio.h>
- #include <stdlib.h>
-@@ -358,8 +360,10 @@ static int make_nodes(struct data *data, const char *device)
- spa_pod_builder_init(&b, buffer, sizeof(buffer));
- if ((res = spa_node_port_enum_params(data->source, SPA_DIRECTION_OUTPUT, 0,
- data->type.param_io.idPropsIn, &idx, NULL, ¶m, &b)) < 1) {
-+#ifdef __GLIBC__
- if (res < 0)
- error(0, -res, "port_enum_params");
-+#endif
- break;
- }
-
-@@ -369,19 +373,23 @@ static int make_nodes(struct data *data, const char *device)
- NULL);
-
- if (propId == data->type.props_freq) {
-+#ifdef __GLIBC__
- if ((res = spa_node_port_set_io(data->source,
- SPA_DIRECTION_OUTPUT, 0,
- id,
- &data->ctrl_source_freq, sizeof(data->ctrl_source_freq))) < 0)
- error(0, -res, "set_io freq");
-+#endif
-
- }
- else if (propId == data->type.props_volume) {
-+#ifdef __GLIBC__
- if ((res = spa_node_port_set_io(data->source,
- SPA_DIRECTION_OUTPUT, 0,
- id,
- &data->ctrl_source_volume, sizeof(data->ctrl_source_volume))) < 0)
- error(0, -res, "set_io volume");
-+#endif
- }
- }
-
---- spa/tests/test-mixer.c
-+++ spa/tests/test-mixer.c
-@@ -18,7 +18,9 @@
- */
-
- #include <math.h>
-+#ifdef __GLIBC__
- #include <error.h>
-+#endif
- #include <string.h>
- #include <stdio.h>
- #include <stdlib.h>
-@@ -369,8 +371,10 @@ static int make_nodes(struct data *data, const char *device)
- ":", data->type.props_device, "s", device ? device : "hw:0",
- ":", data->type.props_min_latency, "i", MIN_LATENCY);
-
-+#ifdef __GLIBC__
- if ((res = spa_node_set_param(data->sink, data->type.param.idProps, 0, props)) < 0)
- error(0, -res, "set_param props");
-+#endif
-
- if ((res = make_node(data, &data->mix,
- "build/spa/plugins/audiomixer/libspa-audiomixer.so",
-@@ -453,6 +457,7 @@ static int make_nodes(struct data *data, const char *device)
- data->ctrl_volume[0] = SPA_POD_DOUBLE_INIT(0.5);
- data->ctrl_volume[1] = SPA_POD_DOUBLE_INIT(0.5);
-
-+#ifdef __GLIBC__
- if ((res = spa_node_port_set_io(data->mix,
- SPA_DIRECTION_INPUT, data->mix_ports[0],
- data->type.io_inprop_volume,
-@@ -464,6 +469,7 @@ static int make_nodes(struct data *data, const char *device)
- data->type.io_inprop_volume,
- &data->ctrl_volume[1], sizeof(data->ctrl_volume[1]))) < 0)
- error(0, -res, "set_io volume 1");
-+#endif
-
-
- #ifdef USE_GRAPH
---- spa/tools/spa-inspect.c
-+++ spa/tools/spa-inspect.c
-@@ -17,7 +17,9 @@
- * Boston, MA 02110-1301, USA.
- */
-
-+#ifdef __GLIBC__
- #include <error.h>
-+#endif
- #include <string.h>
- #include <stdio.h>
- #include <stdlib.h>
-@@ -71,8 +73,10 @@ inspect_node_params(struct data *data, struct spa_node *node)
- if ((res = spa_node_enum_params(node,
- data->type.param.idList, &idx1,
- NULL, ¶m, &b)) <= 0) {
-+#ifdef __GLIBC__
- if (res != 0)
- error(0, -res, "enum_params");
-+#endif
- break;
- }
-
-@@ -88,8 +92,10 @@ inspect_node_params(struct data *data, struct spa_node *node)
- if ((res = spa_node_enum_params(node,
- id, &idx2,
- NULL, ¶m, &b)) <= 0) {
-+#ifdef __GLIBC__
- if (res != 0)
- error(0, -res, "enum_params %d", id);
-+#endif
- break;
- }
- spa_debug_pod(param, flags);
-@@ -115,8 +121,10 @@ inspect_port_params(struct data *data, struct spa_node *node,
- direction, port_id,
- data->type.param.idList, &idx1,
- NULL, ¶m, &b)) <= 0) {
-+#ifdef __GLIBC__
- if (res != 0)
- error(0, -res, "port_enum_params");
-+#endif
- break;
- }
- spa_pod_object_parse(param,
-@@ -132,8 +140,10 @@ inspect_port_params(struct data *data, struct spa_node *node,
- direction, port_id,
- id, &idx2,
- NULL, ¶m, &b)) <= 0) {
-+#ifdef __GLIBC__
- if (res != 0)
- error(0, -res, "port_enum_params");
-+#endif
- break;
- }
-
-@@ -204,8 +214,10 @@ static void inspect_factory(struct data *data, const struct spa_handle_factory *
- if ((res = spa_handle_factory_enum_interface_info(factory, &info, &index)) <= 0) {
- if (res == 0)
- break;
-+#ifdef __GLIBC__
- else
- error(0, -res, "spa_handle_factory_enum_interface_info");
-+#endif
- }
- printf(" interface: '%s'\n", info->type);
- }
-@@ -225,8 +237,10 @@ static void inspect_factory(struct data *data, const struct spa_handle_factory *
- if ((res = spa_handle_factory_enum_interface_info(factory, &info, &index)) <= 0) {
- if (res == 0)
- break;
-+#ifdef __GLIBC__
- else
- error(0, -res, "spa_handle_factory_enum_interface_info");
-+#endif
- }
- printf(" interface: '%s'\n", info->type);
-
-@@ -315,8 +329,10 @@ int main(int argc, char *argv[])
- const struct spa_handle_factory *factory;
-
- if ((res = enum_func(&factory, &index)) <= 0) {
-+#ifdef __GLIBC__
- if (res != 0)
- error(0, -res, "enum_func");
-+#endif
- break;
- }
- inspect_factory(&data, factory);
diff --git a/srcpkgs/pipewire/template b/srcpkgs/pipewire/template
index 44e86ae8d26..7f646dad11d 100644
--- a/srcpkgs/pipewire/template
+++ b/srcpkgs/pipewire/template
@@ -1,7 +1,7 @@
# Template file for 'pipewire'
pkgname=pipewire
-version=0.2.6
-revision=2
+version=0.2.7
+revision=1
build_style=meson
configure_args="-Dman=true -Dgstreamer=enabled -Ddocs=true -Dsystemd=false"
hostmakedepends="doxygen graphviz pkg-config xmltoman"
@@ -9,11 +9,12 @@ makedepends="SDL2-devel ffmpeg-devel gst-plugins-base1-devel jack-devel
sbc-devel v4l-utils-devel libva-devel"
short_desc="Server and user space API to deal with multimedia pipelines"
maintainer="Orphaned <orphan@voidlinux.org>"
-license="LGPL-2.1-or-later"
+#Next release will probably change to MIT, currently listed in master
+license="LGPL-2.1-only, GPL-2.0-only "
homepage="https://pipewire.org/"
changelog="https://raw.githubusercontent.com/PipeWire/pipewire/master/NEWS"
distfiles="https://github.com/PipeWire/pipewire/archive/${version}.tar.gz"
-checksum=8592bcc2a83b078fee6cfb8560397cf2747346f28e88689197e780069b19cb17
+checksum=bfaa0f6ae6c0791e2e0b59234d399753bf24f1b33dbf587682363a8463dd8df1
conf_files="/etc/pipewire/pipewire.conf"
libpipewire_package() {
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-11-12 11:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-12 2:22 [PR PATCH] pipewire: update to 0.2.7 voidlinux-github
2019-11-12 11:53 ` [PR PATCH] [Merged]: " voidlinux-github
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).