From patchwork Fri Feb 21 19:30:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Arun Isaac X-Patchwork-Id: 20345 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 82E4C27BBEA; Fri, 21 Feb 2020 19:31:33 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 3AB4327BBE4 for ; Fri, 21 Feb 2020 19:31:33 +0000 (GMT) Received: from localhost ([::1]:35472 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j5E1H-0006Ed-Fa for patchwork@mira.cbaines.net; Fri, 21 Feb 2020 14:31:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39843) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j5E0z-00069N-Ur for guix-patches@gnu.org; Fri, 21 Feb 2020 14:31:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j5E0t-0008P7-FG for guix-patches@gnu.org; Fri, 21 Feb 2020 14:31:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42185) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j5E0t-0008NC-0K for guix-patches@gnu.org; Fri, 21 Feb 2020 14:31:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j5E0s-0000yV-TO for guix-patches@gnu.org; Fri, 21 Feb 2020 14:31:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#39718] [PATCH 1/1] gnu: Add emacs-exiftool. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 21 Feb 2020 19:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39718 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39718@debbugs.gnu.org Cc: Arun Isaac Received: via spool by 39718-submit@debbugs.gnu.org id=B39718.15823134223676 (code B ref 39718); Fri, 21 Feb 2020 19:31:02 +0000 Received: (at 39718) by debbugs.gnu.org; 21 Feb 2020 19:30:22 +0000 Received: from localhost ([127.0.0.1]:48157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j5E0A-0000x5-Iu for submit@debbugs.gnu.org; Fri, 21 Feb 2020 14:30:22 -0500 Received: from mugam.systemreboot.net ([139.59.75.54]:38882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j5E06-0000wm-Mp for 39718@debbugs.gnu.org; Fri, 21 Feb 2020 14:30:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=wjVC2UPdPdZutT085OD4Tz5UWz7MPhRPan2D3GXvzUk=; b=D+cVcAuC5FwjjYf9+5b2qEd9/f pTNuG/8GJVNPZ+pxLNYKwZVZkYK65xAp1pJKR6S5ux0cY4NCM7q17qg331Jci+NuryJngHMe1tAJj ICLUIG7LEpbQMvsNugJg87rEMVnCx4S32odiILWmmjoxaEYNq8UJadj/R8+rhcYf4O6o=; Received: from [192.168.2.1] (helo=steel.lan) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1j5E03-000xmn-Cw; Sat, 22 Feb 2020 01:00:11 +0530 From: Arun Isaac Date: Sat, 22 Feb 2020 01:00:01 +0530 Message-Id: <20200221193001.8009-2-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20200221193001.8009-1-arunisaac@systemreboot.net> References: <20200221193001.8009-1-arunisaac@systemreboot.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/emacs-xyz.scm (emacs-exiftool): New variable. --- gnu/packages/emacs-xyz.scm | 40 +++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index e2e8a9e62e..82df71118b 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -16,7 +16,7 @@ ;;; Copyright © 2016, 2019 Alex Griffin ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Nicolas Goaziou ;;; Copyright © 2016, 2017, 2018 Alex Vong -;;; Copyright © 2016, 2017, 2018, 2019 Arun Isaac +;;; Copyright © 2016, 2017, 2018, 2019, 2020 Arun Isaac ;;; Copyright © 2017 Christopher Baines ;;; Copyright © 2017, 2018, 2019, 2020 Mathieu Othacehe ;;; Copyright © 2017, 2018, 2019 Clément Lassieur @@ -153,6 +153,7 @@ #:use-module (gnu packages video) #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages wordnet) + #:use-module (gnu packages photo) #:use-module (guix utils) #:use-module (srfi srfi-1) #:use-module (ice-9 match)) @@ -21477,3 +21478,40 @@ Values are stored in a directory in @code{user-emacs-directory}, using one file per value. This makes it easy to delete or remove unused variables.") (license license:gpl3+))) + +(define-public emacs-exiftool + (package + (name "emacs-exiftool") + (version "0.3.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.systemreboot.net/exiftool.el/") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0bv58is66cz21yhc0qqkp1z4nk13zfi2l7i6pjbhyi0g1n88qqyv")))) + (build-system emacs-build-system) + (arguments + `(#:tests? #t + #:test-command '("make" "-C" "tests") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'configure + (lambda* (#:key inputs #:allow-other-keys) + (make-file-writable "exiftool.el") + (emacs-substitute-variables "exiftool.el" + ("exiftool-executable" + (string-append (assoc-ref inputs "perl-image-exiftool") + "/bin/exiftool"))) + #t))))) + (inputs + `(("perl-image-exiftool" ,perl-image-exiftool))) + (home-page "https://git.systemreboot.net/exiftool.el/about/") + (synopsis "Elisp wrapper around ExifTool") + (description "@code{emacse-exiftool} is an elisp wrapper around ExifTool. +ExifTool supports reading and writing metadata in various formats including +EXIF, XMP and IPTC.") + (license license:gpl3+)))