From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id 2EiHJTInZGYVVAAAqHPOHw:P1 (envelope-from ) for ; Sat, 08 Jun 2024 11:41:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 2EiHJTInZGYVVAAAqHPOHw (envelope-from ) for ; Sat, 08 Jun 2024 11:41:06 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=BhTPPeeD; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1717839666; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=k3Zw9Nxp50yClSWw/GInVYMNjv9rNp1MDuSPT55qlsU=; b=b4AiD4tHGXcsk0pmao5RmO26KezjwLatclYSVCJJl0FR3AgPfqIkiVEImF8H61Xy3shwom 12iX9zR/MJze2/ZopGlFZTg4Pe3KVrOHd9p5fBfsIZfT29M8CJeiiymSlyd2eQVRXwOzHD Jhyp4+EVYh3DlqsZC8BIs7HbXd1Y+0YQJdgVsDKPGnNgIzh1rxFGR0pC2ZP+LvbsVJQvkl G1GIDqxulB647S//hOCZjjH2SgC0uQNdIjrr/qV+nObfqUtRxT1j8wn+VUpJvqoXkUXJ1f sH5iLojATa2poMcfl/SWVJP/JLNZW8y5ui8RFOa2011S3zvE3JtRrxmMhpS4jw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1717839666; a=rsa-sha256; cv=none; b=DQU7WhjIycu1ddqgNgRsKwGAejZSIyPh7sxwCtWFTNpXg2gT7qFqeF7G6U08E+pvvkzRM2 cp9zANLq0xhIakVvvUM6JT6Hg9Rhxkw32tc99UKGD8AhDz3hMteluY4JiOK1pJBfLDPiR0 uYqmqT/YQt3pNBsLMNZfMskjcijQh2DqvKEYnwPhm1qAJUJGLtILWvSaCghQ5f1hDMQw+p UGAMnYTKxrojpvQSW7S9yO1Di20kwwCXh7tN5qg8QKR8Kr2pi/xAk94+u6Xxe0PnG5DGo/ 5oEleh+IvGW3kqRDnW92jyiqilLxr26DnhUUXC7uOQuVjEFaqzk768qdEUAtLg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=BhTPPeeD; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" 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 2F780776DF for ; Sat, 08 Jun 2024 11:41:06 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sFsZ6-0006f9-F4; Sat, 08 Jun 2024 05:40:48 -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 1sFsZ4-0006dm-I5 for guix-patches@gnu.org; Sat, 08 Jun 2024 05:40:46 -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 1sFsZ4-00020Q-AL for guix-patches@gnu.org; Sat, 08 Jun 2024 05:40:46 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sFsZJ-0000qZ-Va for guix-patches@gnu.org; Sat, 08 Jun 2024 05:41:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71431] [PATCH] gnu: Add orfondl. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 08 Jun 2024 09:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71431 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71431@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17178396293152 (code B ref -1); Sat, 08 Jun 2024 09:41:01 +0000 Received: (at submit) by debbugs.gnu.org; 8 Jun 2024 09:40:29 +0000 Received: from localhost ([127.0.0.1]:34948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sFsYm-0000oc-7I for submit@debbugs.gnu.org; Sat, 08 Jun 2024 05:40:29 -0400 Received: from lists.gnu.org ([209.51.188.17]:41792) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sFsKz-0008Vl-Vl for submit@debbugs.gnu.org; Sat, 08 Jun 2024 05:26:15 -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 1sFsId-0000IX-K7 for guix-patches@gnu.org; Sat, 08 Jun 2024 05:23:48 -0400 Received: from mail-lj1-x243.google.com ([2a00:1450:4864:20::243]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sFsIb-0007xS-Ky for guix-patches@gnu.org; Sat, 08 Jun 2024 05:23:47 -0400 Received: by mail-lj1-x243.google.com with SMTP id 38308e7fff4ca-2e78fe9fc2bso41748731fa.3 for ; Sat, 08 Jun 2024 02:23:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717838624; x=1718443424; darn=gnu.org; h=mime-version:to:subject:date:from:message-id:from:to:cc:subject :date:message-id:reply-to; bh=k3Zw9Nxp50yClSWw/GInVYMNjv9rNp1MDuSPT55qlsU=; b=BhTPPeeDhtUAppMdrTgB7Oqb8z91CfXLLmSc8d3FQ7wjhqJ238IWhOhdFIII2lJAF7 zpecs5bKQ7pcQBgwvIUlp8C4UYXHo92lTwOsrwFu3VmJ0WqalpF54NIFVKTPvkaSDaAe ZP/RFB/arIlc9iOaGie12UlJKMB6Px0cbNuVcCRqv8xCVZS0mpXbyyjW/5CpZNK3NdI4 g+td3AEWF2uzZH8rjPZ3BNRWt7GLrptK8OQc/qMe9RM1s3+KynV66tIMImHkweh8jvIu 7LWC4afO0pIzHf6fJBsJhaN9gekIoGT5qYkKS1ulepVD/hX/W7WAvA0N+I78+tELc2s5 D4qA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717838624; x=1718443424; h=mime-version:to:subject:date:from:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=k3Zw9Nxp50yClSWw/GInVYMNjv9rNp1MDuSPT55qlsU=; b=cQZOZB8mpFQOa3yvVEja9jT6RiiCzcFHtPNYdcYRib54+8++xQBqYSIqKQmiDcGpUo KcCWjr0sXy+z8kykkS1AYXY2TYFEdiV3Zw7t2VxIsOUTOuoHb2V2/ihFaUeSD+g8Cl0s 7PQjLa+oxL31R3Vf49jTwG/FiHVodDM+sacKt/1iTjNNpMG0jr8rHmlOt6askcDnaN9+ ZGO8vKu81AJWD7pEyLS+Ybd04vUqci9et0E4kW9E3HrxwBQihZfpW0444A6C/9EML5P+ 73S/6iv8C/ImbwRoDYRjd0yX/HnwwBZf7eEkT0couUxnHaPdk3uAk2l/TNp5muLc2OuB nOSg== X-Gm-Message-State: AOJu0Ywtn8PUa0WTP/47B/j3QVfY8AXqGK5Xu9DtRU2LIM1ephBpkUiR zIGIwIY+iTa1F1Wj9+3dissNO82QXQheM8uA/AnPXbQZfqQLPcVRfTXYHDB9 X-Google-Smtp-Source: AGHT+IEhKMHYI2ztRa9fvcuatzyjV8wAEHGeVTR6E9eRuthqEHNtT/24KOqPbkHTMRf8KvFqmQxkMQ== X-Received: by 2002:a2e:bc21:0:b0:2e9:8374:3820 with SMTP id 38308e7fff4ca-2eadce7159bmr35971561fa.40.1717838623278; Sat, 08 Jun 2024 02:23:43 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57aae0caa25sm4022645a12.34.2024.06.08.02.23.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Jun 2024 02:23:42 -0700 (PDT) Message-ID: <5a1d8c1400cf561f7ec9f92d41fd8b993b3d2856.1717831035.git.liliana.prikler@gmail.com> From: Liliana Marie Prikler Date: Sat, 8 Jun 2024 09:14:42 +0200 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::243; envelope-from=liliana.prikler@gmail.com; helo=mail-lj1-x243.google.com X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, MALFORMED_FREEMAIL=2.533, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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: , 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: -2.44 X-Spam-Score: -2.44 X-Migadu-Queue-Id: 2F780776DF X-Migadu-Scanner: mx11.migadu.com X-TUID: XuZdn09WW5H5 Message-ID: <20240608071442.UeDGjhwrV2ERJuqN3LiZ_fbU1sojRx3X0TTbqoW2a6U@z> * gnu/packages/video.scm (orfondl): New variable. (orf-dl): Deprecate in favor of orfondl. --- gnu/packages/video.scm | 74 +++++++++++++++++++++++++----------------- 1 file changed, 44 insertions(+), 30 deletions(-) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 0960410498..b75ac958c1 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -100,6 +100,7 @@ (define-module (gnu packages video) #:use-module (guix build-system cmake) #:use-module (guix build-system copy) #:use-module (guix build-system gnu) + #:use-module (guix build-system go) #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system meson) #:use-module (guix build-system perl) @@ -147,6 +148,7 @@ (define-module (gnu packages video) #:use-module (gnu packages gnome) #:use-module (gnu packages gnunet) #:use-module (gnu packages gnupg) + #:use-module (gnu packages golang) #:use-module (gnu packages gstreamer) #:use-module (gnu packages gtk) #:use-module (gnu packages haskell-xyz) @@ -2962,37 +2964,49 @@ (define libvpx/fixed (patches (search-patches "libvpx-CVE-2016-2818.patch" "libvpx-CVE-2023-5217.patch")))))) -(define-public orf-dl - (let ((commit "2dbbe7ef4e0efe0f3c1d59c503108e22d9065999") - (revision "1")) - (package - (name "orf-dl") - (version (git-version "0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/tpoechtrager/orf_dl") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1w413miy01cm7rzb5c6wwfdnc2sqv87cvxwikafgrkswpimvdjsk")))) - (build-system copy-build-system) - (arguments - (list #:install-plan #~`(("orf_dl.php" "bin/orf-dl")) - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'patch-source - (lambda* (#:key inputs #:allow-other-keys) - (substitute* "orf_dl.php" - (("ffmpeg") - (search-input-file inputs "bin/ffmpeg")))))))) - (inputs (list php ffmpeg)) - (home-page "https://github.com/tpoechtrager/orf_dl") - (synopsis "Download videos from tvthek.orf.at") - (description "This package provides a PHP-based command line application +(define-public orfondl + (package + (name "orfondl") + (version "1.0.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/badlogic/orfondl") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0h1zcxxhvshbc3gkmr33npki6sdjh79haack1cci9k40a0gk144v")))) + (build-system go-build-system) + (arguments + (list #:go go-1.19 + #:import-path "github.com/badlogic/orfondl" + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda* (#:key inputs import-path #:allow-other-keys) + (substitute* (string-append "src/" import-path "/main.go") + (("\"ffmpeg\"") + (string-append "\"" + (search-input-file inputs "bin/ffmpeg") + "\""))))) + (replace 'build + (lambda* (#:key import-path #:allow-other-keys #:rest args) + (with-directory-excursion (string-append "src/" import-path) + (apply (assoc-ref %standard-phases 'build) args)))) + (replace 'check + (lambda* (#:key import-path #:allow-other-keys #:rest args) + (with-directory-excursion (string-append "src/" import-path) + (apply (assoc-ref %standard-phases 'check) args))))))) + (inputs (list ffmpeg)) + (home-page "https://github.com/tpoechtrager/orf_dl") + (synopsis "Download videos from ORF ON") + (description "This package provides a Go-based command line application to download videos from Austria's national television broadcaster.") - (license license:gpl2+)))) + (license license:bsd-3))) + +(define-public orf-dl + (deprecated-package "orf-dl" orfondl)) (define-public yle-dl (package base-commit: b8780f7397dd46b5e382e48db87b8648f769d738 -- 2.45.1