From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-dev+bounces-102857-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id A6212158232
	for <garchives@archives.gentoo.org>; Sat,  7 Dec 2024 14:15:30 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 67364E0F75;
	Sat,  7 Dec 2024 14:15:20 +0000 (UTC)
Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 9AC84E0F1D
	for <gentoo-dev@lists.gentoo.org>; Sat,  7 Dec 2024 14:15:19 +0000 (UTC)
Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-53de771c5ebso2724418e87.2
        for <gentoo-dev@lists.gentoo.org>; Sat, 07 Dec 2024 06:15:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20230601; t=1733580918; x=1734185718; darn=lists.gentoo.org;
        h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
         :date:message-id:reply-to;
        bh=XAVUK0MYc9tAtEXvDs4/7b7d+f5ga0PK30xtSIhGbco=;
        b=ZztJi5qsN9JaoIo4DLphmChgC6CIp28lkwuQ+z/L2ggAHKnC03bnQFajqc6ZyMQHv1
         BAcrMJVfQWOMhK2Cm3JbUE30H2A5xuKK1Onw37m2a+10HWqC/YDMBiotUI3/EKso1Ctv
         rfn0Y8QB58HeldH5xTs81EXaAu8Gse0DEZwgftHIH2H1QUJDmzTsXTjB54MNA4xKyU22
         dWdnf7u09Po+y2al3u1Zay7q74mKAriWkuSgQcpsM8rh9DNL/Ffksv1D3j17spbXCb27
         QszS5tZg//3qMZYd+eWhNjVvEffuuli9LpEv3XjpcDkVFFnUnKgMO76z/ffsNXenk7oP
         /ltQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1733580918; x=1734185718;
        h=to:subject:message-id:date:from:mime-version:x-gm-message-state
         :from:to:cc:subject:date:message-id:reply-to;
        bh=XAVUK0MYc9tAtEXvDs4/7b7d+f5ga0PK30xtSIhGbco=;
        b=auW+r3yYRykLsxnUNPe4f+JXdS5j+26tXU7QyyIsM1XxqKNzFQcWE9qeFyXdjbknSD
         tWqKPnAThy1gbX1LxTppzz73osA9CIO19N2PPYjrWpuPuh6oByCSgKRbcMGr4jdn68wh
         dZ6Hn/twCubOUBbKQ3zb9BJsL0Tc25Q5gLr1URadElSM/0celsJh6m9e17KZSHTAbr2r
         BMnBLRUNUbSEzVrov0DNr9tyKjOu7j4uc5CT9so3gHSMziKb/KJTTXiGWbHbcUQVz1XG
         5hFbyP2pHqn3e6BH4OJon1B8NcEJz3ihju5l6D0QG1zCCpYwkItJFAMGiVmMxqqLVGKv
         mePw==
X-Gm-Message-State: AOJu0YzEOIyGjco9FlKGiYLpIO9cm2Jk9Gf/AWCvp/wbqm2sEnV5EwSX
	+XVDasJIwRLmoWpFQcWsxqM+VEW0dvdZeov+Kb6a7l/7vCK+KYHJR4YTQ8+Uzso1xr0AdS4UPBH
	JkOmfMOhCXHezuUAT9sCaKadYwJMaIgS7
X-Gm-Gg: ASbGnctEq6tLUOASJwEz44Xj1/9st8iew54r2AhQ4ohrMnqT+BKD+cUvjdgbSsu/Rwg
	Xr8x1b02V5cQyfMp1gnqIfS8z2o5Rw9Iutg==
X-Google-Smtp-Source: AGHT+IHp1A9rLFxOMThHnfdsJj23LLhAWiLz0jhFHore164WMHDFKoc4vijZzeAX/5DH3dUeZ/258org1koPER58Tcg=
X-Received: by 2002:a05:6512:308d:b0:53e:21c7:9f30 with SMTP id
 2adb3069b0e04-53e2c30e952mr2268853e87.54.1733580917389; Sat, 07 Dec 2024
 06:15:17 -0800 (PST)
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@lists.gentoo.org
Reply-to: gentoo-dev@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
MIME-Version: 1.0
From: Grand Duet <grand.duet@gmail.com>
Date: Sat, 7 Dec 2024 16:15:30 +0200
Message-ID: <CACE6sHmnpOw2MGbpVyWM55SJifs_cnmPasYGWM2Cky5SPUc09A@mail.gmail.com>
Subject: [gentoo-dev] Bugs in pitivi ebuild
To: gentoo-dev@lists.gentoo.org
Content-Type: text/plain; charset="UTF-8"
X-Archives-Salt: 47b8c25a-c502-4bd6-a74f-b0d2a4ca5eb3
X-Archives-Hash: 2329df21159d893967e3b6ef3e1c266b

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.