From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 6PAJLDmilGTmpwAASxT56A (envelope-from ) for ; Thu, 22 Jun 2023 21:34:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id YHPxKzmilGSnWwEAauVa8A (envelope-from ) for ; Thu, 22 Jun 2023 21:34:17 +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 630741F999 for ; Thu, 22 Jun 2023 21:34:17 +0200 (CEST) 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1687462457; a=rsa-sha256; cv=none; b=qx5sy5BWV76tb8qQqREjGkrOs7h5Za/MPdyFNoJDm6Efpu/JYju0odkdg3MH0xVk6nwkfv 4JugdJH8qSG4IisxrVC9KPZHOPJ/V5i30PbeaX12lwMMtb1IIXnSApLAbp/tOLJvBgQREF 0R0aLqkICIq8N8d9Ct3y72KGyY2Z5Mt1kIhjgAPHk44v9r752LhLHGPINTNKrMlKGMJay5 VmNZpW4JqVb1kXlECT4g512IsEU9gSL36sYjnx5d2SEpX/m/5CoBSsLRWtyn2cyyq8BQyK WOaF8cFSr3KuhEmS52bfoZPuIdhi+EVpX7BcYNb/PHdwQatmuOooKHGVnH4gWA== 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=1687462457; 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=1EsFBjMBkhqqQWF9/7i7e9jNSi/ZHt7Yeh4MBLoUAPE=; b=jyBzPMcQPj/mI5NzxD1f/9MBlizLgx5z1mcs6n2ywKaR1ax73sPbl+SzPE9B64VitpDeHc Dlx18p9pQMTgSSOtab/xh+D3qkQPp7jlfxdnMBdjh+l2jT83d4SxX9rEzahvnWLtjUB9xJ UwTNlD4HBEb2kJalhttCWin+PZDj6I3SxdyI3VOYy4ph5oxcNEPTQCKoY2HYIoW237h30t oCLx5+MS9KKueroTaBf8me93IMnXvIylY7UYWHpM1nB7FiLr3v1vPrIeICuAgPkQ8BmPBz bqtDCpr3InWrQWaSTgQr5P6gm1xloiqQ6JzTRGisuXG2NBjksjY5Rq6odVeXXQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qCQ4D-0006a6-EN; Thu, 22 Jun 2023 15:34: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 1qCQ4A-0006YS-PG for guix-patches@gnu.org; Thu, 22 Jun 2023 15:34:02 -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 1qCQ4A-0002ul-Gp for guix-patches@gnu.org; Thu, 22 Jun 2023 15:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qCQ4A-00064c-9K for guix-patches@gnu.org; Thu, 22 Jun 2023 15:34:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#60826] [PATCH gnome-team v4 2/4] gnu: Add xdgmime. Resent-From: Bruno Victal Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 22 Jun 2023 19:34:02 +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.168746241823283 (code B ref 60826); Thu, 22 Jun 2023 19:34:02 +0000 Received: (at 60826) by debbugs.gnu.org; 22 Jun 2023 19:33:38 +0000 Received: from localhost ([127.0.0.1]:36812 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCQ3l-00063S-JM for submit@debbugs.gnu.org; Thu, 22 Jun 2023 15:33:37 -0400 Received: from smtpm1.myservices.hosting ([185.26.105.232]:58026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCQ3f-000633-VU for 60826@debbugs.gnu.org; Thu, 22 Jun 2023 15:33:32 -0400 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpm1.myservices.hosting (Postfix) with ESMTP id D37D020511; Thu, 22 Jun 2023 21:33:30 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 1D81C800AA; Thu, 22 Jun 2023 21:33:30 +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 KWdlpzC0rv1R; Thu, 22 Jun 2023 21:33:29 +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 6CF478009D; Thu, 22 Jun 2023 21:33:29 +0200 (CEST) From: Bruno Victal Date: Thu, 22 Jun 2023 20:33:18 +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 X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -0.75 X-Migadu-Queue-Id: 630741F999 X-Spam-Score: -0.75 X-TUID: i5AeOayoCWDF 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 | 47 ++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index bd3df9ee68..b6b9f5d4ee 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,52 @@ (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 `((guix build gnu-build-system) + ((guix build copy-build-system) #:prefix copy:) + (guix build utils)) + #: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