In FreeBSD both gsound and gstreamer are dependecies of the pitivi package.
See: https://ports.freebsd.org/cgi/ports.cgi?query=pitivi&stype=all&sektion=all

Why Gentoo pitivi ebuild is so special that these two packages are not
considered to be dependencies of pitivi?

сб, 7 дек. 2024 г. в 16:15, Grand Duet <grand.d...@gmail.com>:
>
> In short: at least gsound dependency has not been mentioned in the
> pitivi ebuild.
>
> The full story has been explained below.
>
> I have recently installed pitivi and tried to run it.
> It failed with the following error message:
> # pitivi
> Missing soft dependency:
> - GSound not found on the system
>     -> enables sound notifications when rendering is complete
> Missing soft dependency:
> - cvtracker GStreamer element not found on the system
>     -> enables object tracking
> Missing soft dependency:
> - librosa not found on the system
>     -> enables beat detection functionality
> Traceback (most recent call last):
>   File "/usr/lib64/pitivi/python/pitivi/application.py", line 205, in
> do_activate
>     self.create_main_window()
>   File "/usr/lib64/pitivi/python/pitivi/application.py", line 212, in
> create_main_window
>     self.gui.setup_ui()
>   File "/usr/lib64/pitivi/python/pitivi/mainwindow.py", line 135, in setup_ui
>     self.editor.setup_ui()
>   File "/usr/lib64/pitivi/python/pitivi/editorperspective.py", line
> 103, in setup_ui
>     self._create_ui()
>   File "/usr/lib64/pitivi/python/pitivi/editorperspective.py", line
> 260, in _create_ui
>     self.mainhpaned.set_position(self.settings.mainWindowMainHPanePosition)
> TypeError: Argument 1 does not allow None as a value
>
> After installing gsound and gstreamer, the error message have been
> reduced to the following:
> Missing soft dependency:
> - cvtracker GStreamer element not found on the system
>     -> enables object tracking
> Missing soft dependency:
> - librosa not found on the system
>     -> enables beat detection functionality
> Traceback (most recent call last):
>   File "/usr/lib64/pitivi/python/pitivi/application.py", line 205, in
> do_activate
>     self.create_main_window()
>   File "/usr/lib64/pitivi/python/pitivi/application.py", line 212, in
> create_main_window
>     self.gui.setup_ui()
>   File "/usr/lib64/pitivi/python/pitivi/mainwindow.py", line 135, in setup_ui
>     self.editor.setup_ui()
>   File "/usr/lib64/pitivi/python/pitivi/editorperspective.py", line
> 103, in setup_ui
>     self._create_ui()
>   File "/usr/lib64/pitivi/python/pitivi/editorperspective.py", line
> 260, in _create_ui
>     self.mainhpaned.set_position(self.settings.mainWindowMainHPanePosition)
> TypeError: Argument 1 does not allow None as a value
>
> So, at least dependency of the pitivi on gsound has not been mentioned
> in the pitivi ebuild which is definitely a bug.
> Unfortunately, I do not know how to install librosa and get rid of the
> other error messages.
>
> I am currently use default/linux/amd64/23.0/desktop (stable) profile with dwm
> without any desktop environment and think that this bug has appeared because
> the pitivi ebuild has been tested only for
> default/linux/amd64/23.0/desktop/gnome profile.

Reply via email to