<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gstreamer.git/tests/python, branch main</title>
<subtitle>gitlab.freedesktop.org: gstreamer/gstreamer.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gstreamer.git/'/>
<entry>
<title>tests: Remove deleted gst-env option from test</title>
<updated>2022-03-01T11:33:10+00:00</updated>
<author>
<name>Sebastian Fricke</name>
<email>sebastian.fricke@collabora.com</email>
</author>
<published>2022-02-22T08:20:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gstreamer.git/commit/?id=683d0456d9bf0d239abdc336d08ee4d71f027260'/>
<id>683d0456d9bf0d239abdc336d08ee4d71f027260</id>
<content type='text'>
The `gstbuilddir` option has been removed by reverting the commit
879126a3. But the later commit 1babccfe503 uses the option within a test.
Remove the mentioned option from the test.

Fixes: 1babccfe503  Fix using overrides when not building PyGObject
Part-of: &lt;https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1743&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The `gstbuilddir` option has been removed by reverting the commit
879126a3. But the later commit 1babccfe503 uses the option within a test.
Remove the mentioned option from the test.

Fixes: 1babccfe503  Fix using overrides when not building PyGObject
Part-of: &lt;https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1743&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>meson: Add explicit check: kwarg to all run_command() calls</title>
<updated>2022-01-09T12:42:47+00:00</updated>
<author>
<name>Nirbheek Chauhan</name>
<email>nirbheek@centricular.com</email>
</author>
<published>2022-01-04T20:37:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gstreamer.git/commit/?id=1be6d6ccf59fa0be508fc6e971e03bf663cf2094'/>
<id>1be6d6ccf59fa0be508fc6e971e03bf663cf2094</id>
<content type='text'>
This is required since Meson 0.61.0, and causes a warning to be
emitted otherwise:

https://github.com/mesonbuild/meson/commit/2c079d855ed87488bdcc6c5c06f59abdb9b85b6c
https://github.com/mesonbuild/meson/issues/9300

This exposed a bunch of places where we had broken run_command()
calls, unnecessary run_command() calls, and places where check: true
should be used.

Part-of: &lt;https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1507&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is required since Meson 0.61.0, and causes a warning to be
emitted otherwise:

https://github.com/mesonbuild/meson/commit/2c079d855ed87488bdcc6c5c06f59abdb9b85b6c
https://github.com/mesonbuild/meson/issues/9300

This exposed a bunch of places where we had broken run_command()
calls, unnecessary run_command() calls, and places where check: true
should be used.

Part-of: &lt;https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1507&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>meson: update for meson.build_root() and .build_source() deprecation</title>
<updated>2021-10-20T11:20:44+00:00</updated>
<author>
<name>Tim-Philipp Müller</name>
<email>tim@centricular.com</email>
</author>
<published>2021-10-18T14:47:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gstreamer.git/commit/?id=8dfab0b08c86989e5c911db472b7677f60c1b978'/>
<id>8dfab0b08c86989e5c911db472b7677f60c1b978</id>
<content type='text'>
-&gt; use meson.project_build_root() or .global_build_root() instead.

Part-of: &lt;https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1183&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
-&gt; use meson.project_build_root() or .global_build_root() instead.

Part-of: &lt;https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1183&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Simple test to use gst-full in python</title>
<updated>2021-10-15T22:28:14+00:00</updated>
<author>
<name>Thibault Saunier</name>
<email>tsaunier@igalia.com</email>
</author>
<published>2021-10-08T01:34:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gstreamer.git/commit/?id=8d3c1317b35bf8ffd29316657e37348ba71b95e9'/>
<id>8d3c1317b35bf8ffd29316657e37348ba71b95e9</id>
<content type='text'>
Part-of: &lt;https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1093&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Part-of: &lt;https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1093&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>python: Fix using overrides when not building PyGObject</title>
<updated>2021-10-15T20:51:41+00:00</updated>
<author>
<name>Thibault Saunier</name>
<email>tsaunier@igalia.com</email>
</author>
<published>2021-10-14T20:01:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gstreamer.git/commit/?id=1babccfe503de346dfd9722348e2acead742b70a'/>
<id>1babccfe503de346dfd9722348e2acead742b70a</id>
<content type='text'>
Since 547570cd790f2b2e390edc1dfb5df4c7a33de45c we do not always build
PyGObject and our development environment is broken when trying to use
GStreamer python when built against system PyGObject with the following
error importing Gst in there:

```
12345678** (gst-plugin-scanner:710617): CRITICAL **: 11:45:02.343: can't find gi.repository.Gst
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/gi/repository/__init__.py", line 23, in &lt;module&gt;
    from ..importer import DynamicImporter
  File "/usr/lib64/python3.9/site-packages/gi/importer.py", line 33, in &lt;module&gt;
    from .overrides import load_overrides
ImportError: cannot import name 'load_overrides' from 'gi.overrides' (/var/home/thiblahute/devel/gstreamer/gstreamer/subprojects/gst-editing-services/bindings/python/gi/overrides/__init__.py)
Factory Details:
```

The approach to fixing it is to implement override `gi` in
`gst-python/gi/` which we add to `PYTHONPATH`) and in there reset the
`gi` module to the right place and we get overrides from paths from
`_GI_OVERRIDES_PATH` we set in `gst-env.py` which points to all the
overrides that will be installed.

Part-of: &lt;https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1155&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since 547570cd790f2b2e390edc1dfb5df4c7a33de45c we do not always build
PyGObject and our development environment is broken when trying to use
GStreamer python when built against system PyGObject with the following
error importing Gst in there:

```
12345678** (gst-plugin-scanner:710617): CRITICAL **: 11:45:02.343: can't find gi.repository.Gst
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/gi/repository/__init__.py", line 23, in &lt;module&gt;
    from ..importer import DynamicImporter
  File "/usr/lib64/python3.9/site-packages/gi/importer.py", line 33, in &lt;module&gt;
    from .overrides import load_overrides
ImportError: cannot import name 'load_overrides' from 'gi.overrides' (/var/home/thiblahute/devel/gstreamer/gstreamer/subprojects/gst-editing-services/bindings/python/gi/overrides/__init__.py)
Factory Details:
```

The approach to fixing it is to implement override `gi` in
`gst-python/gi/` which we add to `PYTHONPATH`) and in there reset the
`gi` module to the right place and we get overrides from paths from
`_GI_OVERRIDES_PATH` we set in `gst-env.py` which points to all the
overrides that will be installed.

Part-of: &lt;https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1155&gt;
</pre>
</div>
</content>
</entry>
</feed>
