From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 0FFkEGlpGWXNswAA9RJhRA:P1 (envelope-from ) for ; Sun, 01 Oct 2023 14:43:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 0FFkEGlpGWXNswAA9RJhRA (envelope-from ) for ; Sun, 01 Oct 2023 14:43:21 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EC0A553EFA for ; Sun, 1 Oct 2023 14:43:20 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=QvwTiawm; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1696164201; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=qGn1VpqCq3mB7FitAVfmfoT524hyt3H8vkM/Fu4WVls=; b=mbvJEhGkOm7K2rwaCrXOojf4agdFNbXkneeXGotZemsiE84eve9jA3uzx7xFBa5xckjw+0 zXlAdKWqiuAFRi5w7TYDkhm5wzktupydTdlRl4OBBuXRDvALSiozpFwllQLNZughdziXtR TBvpF5Nl9o0iyjAwrsC/S8Szw57TvnEZ3/PvZXzWICuKp6cNuJ4swKXhL/hKTJNbefjca0 YVdRDK4mehw9lMyn62zpB4aQYoa/5QtbW4bP894XroV+BmIPKsK9RQl8Gv4cDY9mTISbP3 qlENzzSpHNdFcvWLgpbYW4I1peI2nId4KTvD7jHdXj+Fx+EF0kpDGMuVwuzQ2g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=QvwTiawm; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696164201; a=rsa-sha256; cv=none; b=eJMXTsjIVBzDcPOUFf1Nc+zb2Nb4NWhDwKu4PJN4rCBNZxVpqYd61mQJ8P4VrIlAmUGqf8 3AOb5XCesKfVqho4zzQAJs07fms4NCIh2ikB/H8lILqnA4IBB01yeD/8ttOB7lj0ptubi+ 4RAp6Ao27ItcCH8yJ0LMmokIzt+DYwPRBnZsp79o8HPcN7kQMPyK5wOv4xCm5XZdvEqLez +e643vbsuL0rURqbFApFTGm5JYGvcxFVXQhSbVRm6fWz/cXqBNELuojYp3igmbXUhir6xN u/9JKTqQ4b8zp1jLszwrQkrEVPgmcWgeJ8AxRNjoHJCPEeSWrvucmXVbomnYyQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qmvmc-0003sm-Fd; Sun, 01 Oct 2023 08:42:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qmvma-0003ri-T2 for guix-patches@gnu.org; Sun, 01 Oct 2023 08:42:48 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qmvma-0002U7-KT for guix-patches@gnu.org; Sun, 01 Oct 2023 08:42:48 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qmvmq-0001vL-Fr for guix-patches@gnu.org; Sun, 01 Oct 2023 08:43:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41293] [PATCH 3/5] gnu: Add pantheon-videos. References: <87tv0h0x0k.fsf@protonmail.com> In-Reply-To: <87tv0h0x0k.fsf@protonmail.com> Resent-From: altadil Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 01 Oct 2023 12:43:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41293 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 41293@debbugs.gnu.org Cc: altadil Received: via spool by 41293-submit@debbugs.gnu.org id=B41293.16961641537316 (code B ref 41293); Sun, 01 Oct 2023 12:43:04 +0000 Received: (at 41293) by debbugs.gnu.org; 1 Oct 2023 12:42:33 +0000 Received: from localhost ([127.0.0.1]:60823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qmvmK-0001tv-Ml for submit@debbugs.gnu.org; Sun, 01 Oct 2023 08:42:33 -0400 Received: from mail-40134.protonmail.ch ([185.70.40.134]:48021) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qmvmI-0001tL-2s for 41293@debbugs.gnu.org; Sun, 01 Oct 2023 08:42:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1696164127; x=1696423327; bh=qGn1VpqCq3mB7FitAVfmfoT524hyt3H8vkM/Fu4WVls=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=QvwTiawmIn9b0yanMrwj5lmMhSyUvJP+ef3pCuXJGjQXoZUouNYiVX7/rDSiHuViX QdCAHf6cLYx8cfGArj/HUzxd9W9Ak3fFO6rU3fYkuuJM95Vq6SBT9j1bHZVri3aDzy /MPgamQBYZE901i4OTR0aKQPUN6gFnvL/JgTCmAkfsJwTCtqAw8oHUYR/4v+XuID16 rL2qhhoDKTMSpLuWG696pfxuu43fVqB9Bvqh5GfYw0Z/rGcqDa64BfUg4GG1l6E3Lr VcWfIhlwE9pF4PEfEhyEdjudaEa2hSrjD6Wrr6MK9Z879tllS+GdKf8gYsVmFjSSCC /62j0VcFV5GcQ== Date: Sun, 01 Oct 2023 12:41:55 +0000 Message-ID: <02029a7f9b14e849d5ca6ed726f3da266b1f63a0.1696162981.git.altadil@protonmail.com> Feedback-ID: 3841829:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: altadil X-ACL-Warn: , altadil via Guix-patches From: altadil via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.70 X-Migadu-Scanner: mx2.migadu.com X-Migadu-Queue-Id: EC0A553EFA X-Spam-Score: -6.70 X-TUID: oLRRExT1pXa6 * gnu/packages/pantheon.scm (pantheon-videos): New variable. --- guix build --rounds=3D2 was successfully run on a Zen4 CPU, for the following --system=3D options: - x86_64-linux - i686-linux - aarch64-linux. This one is a work in progress, as there are at least two issues. First, it is missing some video codecs and I do not know how to fix it. Second, the trick used in other pantheon packages to prevent the schemas generation after install won=E2=80=99t work here, as the step is no= t made dependent on any condition (if I understand the meson.build file correctly). Do we have to patch the source for that, or is there a better way ? gnu/packages/pantheon.scm | 49 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/pantheon.scm b/gnu/packages/pantheon.scm index 3465e5cb37..ca124f8939 100644 --- a/gnu/packages/pantheon.scm +++ b/gnu/packages/pantheon.scm @@ -35,6 +35,7 @@ (define-module (gnu packages pantheon) #:use-module (gnu packages python) #:use-module (gnu packages sqlite) #:use-module (gnu packages xml) + #:use-module (gnu packages video) #:use-module (gnu packages web) #:use-module (gnu packages webkit) #:use-module (gnu packages xorg) @@ -264,6 +265,54 @@ (define-public pantheon-terminal (home-page "https://elementary.io/open-source") (license license:lgpl3))) =20 +(define-public pantheon-videos + (package + (name "pantheon-videos") + (version "3.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/elementary/videos") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0873g3mcrpgwmjamy8dhdya7fxki4qpwp8wa6lv5cdipq7pkiprv")))) + (build-system meson-build-system) + (arguments + `(#:glib-or-gtk? #t + #:phases (modify-phases %standard-phases + (add-after 'install 'install-symlinks + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out + "/bin/io.elementary.video= s")) + (link (string-append out "/bin/pantheon-video= s"))) + (symlink bin link))))))) + (native-inputs (list gettext-minimal ;for msgfmt. + `(,glib "bin") ;glib-compile-schemas. + pkg-config + vala)) + (inputs (list flatpak + ffmpeg + granite-6 + gst-libav + gst-plugins-bad + gst-plugins-base + gst-plugins-good + gst-plugins-ugly + gstreamer + gtk+ + libgee + libhandy)) + (synopsis "Video player and library app designed for the Pantheon desk= top") + (description + "Videos is a video player and video library application. It +originally comes from elementary OS and is designed for the Pantheon deskt= op +environment (but can be used with others as well).") + (home-page "https://elementary.io/open-source") + (license license:gpl3+))) + (define-public sideload (package (name "sideload") --=20 2.41.0