From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id CN+cK+bRkGQmBgEASxT56A (envelope-from ) for ; Tue, 20 Jun 2023 00:08:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id OM10K+bRkGQqrwAAauVa8A (envelope-from ) for ; Tue, 20 Jun 2023 00:08:38 +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 5AA4B3C10B for ; Tue, 20 Jun 2023 00:08:38 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qBN2b-0007Ty-EG; Mon, 19 Jun 2023 18:08:05 -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 1qBN2Z-0007Td-Gb for guix-patches@gnu.org; Mon, 19 Jun 2023 18:08:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qBN2Z-0004U8-7a for guix-patches@gnu.org; Mon, 19 Jun 2023 18:08:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qBN2Z-0005kG-2g for guix-patches@gnu.org; Mon, 19 Jun 2023 18:08:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#60826] [PATCH gnome-team v3 3/5] gnu: Add xdgmime. Resent-From: Bruno Victal Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 19 Jun 2023 22:08:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60826 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60826@debbugs.gnu.org Cc: Bruno Victal , liliana.prikler@gmail.com Received: via spool by 60826-submit@debbugs.gnu.org id=B60826.168721246622030 (code B ref 60826); Mon, 19 Jun 2023 22:08:03 +0000 Received: (at 60826) by debbugs.gnu.org; 19 Jun 2023 22:07:46 +0000 Received: from localhost ([127.0.0.1]:57480 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBN2H-0005jF-T0 for submit@debbugs.gnu.org; Mon, 19 Jun 2023 18:07:46 -0400 Received: from smtpmciv1.myservices.hosting ([185.26.107.237]:49562) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBN2F-0005j6-R1 for 60826@debbugs.gnu.org; Mon, 19 Jun 2023 18:07:44 -0400 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpmciv1.myservices.hosting (Postfix) with ESMTP id E9A6C20684; Tue, 20 Jun 2023 00:07:42 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 4A14E800A0; Tue, 20 Jun 2023 00:07:42 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 3Jp7ud08au82; Tue, 20 Jun 2023 00:07:41 +0200 (CEST) Received: from guix-nuc.home.arpa (unknown [10.192.1.83]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id 9AE1C8009F; Tue, 20 Jun 2023 00:07:41 +0200 (CEST) From: Bruno Victal Date: Mon, 19 Jun 2023 23:07:06 +0100 Message-Id: X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1687212518; a=rsa-sha256; cv=none; b=GgTEpzX+JXFDHr3zfsKsPpZCTPYdd5UzFhMcWxre2NPo3mfC4XpIoDQ1kloU5vftvBp/2J cnu9esakEoenNxPoPLet/dLmFth0u6nyVgxajeph51DFEBPR4um8QV2e2KsI/oiF/u6GGL UAS8SDvHXthdySiujIikAH/XlO/Axu5LwJbNephG8Bh9h7ulrE8NLFLGX3mhpvfbBLw28X ZG5KX8PHmRLCkvKtN5lcJ6XNhFw4oZDIaNxDN+snFzSfartH2R9X8Mi1kbrTC+Bnwm42AY baxpHDBpYvxNxqRaSOvZ8pUbk5xWVY/nQyKN67IsG7jPoxNeDmD7Ui16kqkVzA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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=1687212518; h=from:from:sender:sender: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; bh=HgVFcXyZbwDMK7yrkGTl411yegP5OsHZ6h3RvGdoxJU=; b=XHM+09PcuX7Y2adEp5LstLBPBZDKdAiARrY7DBkJkVNxZ2jlY9JXfAYB16elVQEmCrRDyE yOvfuDft5/gt4xtNCmuO/dH4xUIPM0MhKsisKM0Oz4A/LwSYUaLKrTHmBZbFklas3Bpnr6 KphOdJ+O+sso1ySKrSoSQzdLDzASXehrkHYtC7NEvMceMnmSDJZFD46b1CuYl98RuRLDwg Cypfi1V9PNQwh29j75kxrqU0fbJgpAISrSa8cDoCJo2vLt2jZEjnPkUZWpiMYSi6NAemJ3 FhiNPlA++nM+FuqyOxNAfgf0NZLbIA9PF7gHsf6t9dz320dqkhovctg8aaAYKQ== Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -1.85 X-Spam-Score: -1.85 X-Migadu-Queue-Id: 5AA4B3C10B X-TUID: Wr/7mRj+EWcF This package is only used for testing shared-mime-info, and thus not exported. * gnu/packages/freedesktop.scm (xdgmime): New variable. --- gnu/packages/freedesktop.scm | 46 ++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index bd3df9ee68..a7e2aef6d1 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -33,6 +33,7 @@ ;;; Copyright © 2022 Petr Hodina ;;; Copyright © 2022 muradm ;;; Copyright © 2023 Alex Devaure +;;; Copyright © 2023 Bruno Victal ;;; ;;; This file is part of GNU Guix. ;;; @@ -465,6 +466,51 @@ (define-public maliit-keyboard display servers. It supports many different languages and emoji.") (license license:gpl3+))) +;; Private package used by shared-mime-info. +(define xdgmime + ;; No public release, match commit to the one used in the + ;; shared-mime-info release. + (let ((commit "de283fc430460b9b3a7e61432a6d273cd64cb102") + (revision "1")) + (package + (name "xdgmime") + (version (git-version "0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.freedesktop.org/xdg/xdgmime.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0m9k7nfxgchb9j0xh9cwsldz6564qisqdkvlhgkcgc0grd4nfbn9")))) + (build-system gnu-build-system) + (arguments + (list + #:tests? #f ; no tests + #:make-flags #~(list (string-append "DESTDIR=" #$output) + #$(string-append "CC=" (cc-for-target))) + #:imported-modules `((guix build copy-build-system) + ,@%gnu-build-system-modules) + #:modules `(,@%gnu-default-modules + ((guix build copy-build-system) #:prefix copy:)) + #:phases + #~(modify-phases %standard-phases + ;; Package uses a hand-crafted Makefile. + (delete 'configure) + (replace 'install + (lambda args + (apply (assoc-ref copy:%standard-phases 'install) + #:install-plan + '(("src" "bin/" #:include ("print-mime-data" + "test-mime-data" + "test-mime"))) + args)))))) + (home-page "https://gitlab.freedesktop.org/xdg/xdgmime/") + (synopsis "Module that parses the freedesktop.org MIME spec") + (description "This module is used for shared-mime-info package tests.") + (license (list license:lgpl2.1+ license:artistic2.0))))) + (define-public shared-mime-info (package (name "shared-mime-info") -- 2.39.2