From patchwork Mon Apr 22 18:24:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Trofimov X-Patchwork-Id: 63298 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4E69D27BBE2; Mon, 22 Apr 2024 19:26:15 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED,URIBL_SBL_A autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8D45427BBE9 for ; Mon, 22 Apr 2024 19:26:13 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ryyMf-0008BI-Nf; Mon, 22 Apr 2024 14:26:07 -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 1ryyMQ-000801-CQ for guix-patches@gnu.org; Mon, 22 Apr 2024 14:25:52 -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 1ryyMM-0001fK-GB for guix-patches@gnu.org; Mon, 22 Apr 2024 14:25:50 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ryyMc-0007w2-6X for guix-patches@gnu.org; Mon, 22 Apr 2024 14:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70516] [PATCH] gnu: Add libgpod. Resent-From: Sergey Trofimov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 22 Apr 2024 18:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70516 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70516@debbugs.gnu.org Cc: Sergey Trofimov X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.171381032630261 (code B ref -1); Mon, 22 Apr 2024 18:26:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Apr 2024 18:25:26 +0000 Received: from localhost ([127.0.0.1]:47175 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ryyLz-0007rn-PS for submit@debbugs.gnu.org; Mon, 22 Apr 2024 14:25:25 -0400 Received: from lists.gnu.org ([2001:470:142::17]:55702) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ryyLv-0007qP-B9 for submit@debbugs.gnu.org; Mon, 22 Apr 2024 14:25:21 -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 1ryyLZ-0007Cr-BK for guix-patches@gnu.org; Mon, 22 Apr 2024 14:24:57 -0400 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ryyLW-0001Bn-7D for guix-patches@gnu.org; Mon, 22 Apr 2024 14:24:57 -0400 Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-565c6cf4819so10000758a12.1 for ; Mon, 22 Apr 2024 11:24:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sarg.org.ru; s=google; t=1713810290; x=1714415090; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=lGfk53ZGyf5rkmWzYSY7CgJZAmLi8qazURZUrouFYro=; b=Nvq+KTJ4Gej0+Km4d4yxa8Se+4cO+/4MkCpeLM4Hj6mNFCO1BZza6sGelKvrgJg09i 8aGsHjGt7XmU1SZQs5L8oQE2quuwIFfKwIQGgsoWD2373f2MFEE2RpcP90t71GjXydaj nIz5yjlnMBf3vF0STJC0Dgu68qYS05EeRuZzc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713810290; x=1714415090; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=lGfk53ZGyf5rkmWzYSY7CgJZAmLi8qazURZUrouFYro=; b=c8SwhUjDcxDI5VBFMyLGV0Hj+RxgVmKO56incyIrkLn0S12C8KUWPywBnR2bsgzkfs 1CHzC/8nl4a8dthkXYTF67ugfHup9yxTLhMuDAT1KAyPitTy8k0MtP7TtMyAOwzvo0RN xyKfAFosUpeOwkhydQkGERdDjr5bBSMMU7vXoYchgkEtqHkwVVyhnOcn86a5KE1GewPR 1zVbZoiTckTVn0DOFqkVgpwDsvhmMjvljogCowgJI57QpDpz3WfUp8TKEBHdnzVQXsu4 4Xrgczg8P+vUtPvyT/OPTqcz/iN5eMVdFETjaxiEzFGPuQZdXhMrz4XV1+cwtzPqj7bk xpFw== X-Gm-Message-State: AOJu0Yx1SLFw7r5ZpqE/ZLVTHx1bEgnxBRUESnkHrP1/oI9uuvwgXz6f UvVBaJGfm+gjZ+HpCn/BUpTjSkE/yrTuGLAKLDxxVizcKCGV9BiX2mVbdjDK0SSu2A33UF5gk1p ggrI= X-Google-Smtp-Source: AGHT+IEG8M1eRg5/Zsfjz9IPVQxw/FGZyw0DLiaWzRORvPKWE3ZHDX2J6ULLndIG1xuvWKqBIRk7Kg== X-Received: by 2002:a05:6402:f8d:b0:572:61:8560 with SMTP id eh13-20020a0564020f8d00b0057200618560mr407700edb.20.1713810289741; Mon, 22 Apr 2024 11:24:49 -0700 (PDT) Received: from localhost ([2a02:2454:a09d:d000:a64e:31ff:fe38:fd6c]) by smtp.gmail.com with ESMTPSA id 15-20020a0564021f4f00b00571d74c6074sm4236963edz.46.2024.04.22.11.24.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 11:24:49 -0700 (PDT) From: Sergey Trofimov Date: Mon, 22 Apr 2024 20:24:43 +0200 Message-ID: <569f457d71cc55c751fbd3958fb11870cad46d9b.1713809874.git.sarg@sarg.org.ru> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: none client-ip=2a00:1450:4864:20::534; envelope-from=sarg@sarg.org.ru; helo=mail-ed1-x534.google.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_SBL_A=0.1 autolearn=ham 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/music.scm (libgpod): New variable. (clementine)[inputs]: Make use of it. --- gnu/packages/music.scm | 55 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 54 insertions(+), 1 deletion(-) base-commit: 02df0a8a7d4712398d90f8635d4004e76bbc9f51 prerequisite-patch-id: f9cc903b8048c8c6fde576fbf38ab110263020e3 prerequisite-patch-id: aba438a3c32ef44149bbc749c1e0b89d00006b3e prerequisite-patch-id: 1bcd992c56c1b094479b842032fc9731315cbf83 prerequisite-patch-id: 500c43ab90039ca164d6b0864adb110bd9bd9afe prerequisite-patch-id: f7629448294f448f1914d9bc50a4136a05b77c03 diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index df3ff38b4a..94f4da95ab 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -182,6 +182,7 @@ (define-module (gnu packages music) #:use-module (gnu packages readline) #:use-module (gnu packages rsync) #:use-module (gnu packages ruby) + #:use-module (gnu packages scsi) #:use-module (gnu packages sdl) #:use-module (gnu packages serialization) #:use-module (gnu packages sphinx) @@ -430,6 +431,58 @@ (define-public aria-maestosa score, keyboard, guitar, drum and controller views.") (license license:gpl3+))) +(define-public libgpod + (package + (name "libgpod") + (version "0.8.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.code.sf.net/p/gtkpod/libgpod") + (commit "8dc5015ae036b219c4c9579a156886aa3a722aa5"))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1yzngb7h1mibz4x56w9fh02vx8xi4wyq4fjc3ad0jayv3hxjjkqv")))) + (arguments + (list + #:configure-flags + #~(list + "--without-hal" + "--enable-udev" + (string-append "--with-udev-dir=" #$output "/lib/udev") + (string-append "--prefix=" #$output)) + + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-autotools-version-requirement + (lambda _ + (setenv "ACLOCAL_FLAGS" + (string-join + (map (lambda (s) (string-append "-I " s)) + (string-split (getenv "ACLOCAL_PATH") #\:)) + " ")) + (substitute* "configure.ac" + (("libplist >= 1\\.0") "libplist-2.0 >= 2.2") + (("-Werror") "")) + ;; patch for plist-2.0 + (substitute* "tools/ipod-lockdown.c" + (("plist_dict_insert_item") "plist_dict_set_item")) + ;; it expects version-suffixed binary + (substitute* "gnome-autogen.sh" + (("automake-1\\.13") "automake"))))))) + + (build-system gnu-build-system) + (native-inputs + (list automake libtool autoconf intltool pkg-config `(,glib "bin") gtk-doc)) + (propagated-inputs (list libimobiledevice)) + (inputs (list libxml2 sg3-utils sqlite taglib libplist gdk-pixbuf)) + (home-page "https://sourceforge.net/projects/gtkpod") + (synopsis "Library to access iPod contents") + (description "Library to access iPod contents. Enables iPod support in +@code{Clementine}.") + (license license:lgpl2.1+))) + (define-public clementine (package (name "clementine") @@ -511,7 +564,7 @@ (define-public clementine gst-libav libcdio libmygpo-qt - ;; TODO: Package libgpod. + libgpod libmtp libxml2 protobuf