* [PATCH] Add gMTP.
@ 2015-09-06 21:07 Ricardo Wurmus
2015-09-07 9:05 ` Andreas Enge
2015-09-07 12:08 ` Ludovic Courtès
0 siblings, 2 replies; 4+ messages in thread
From: Ricardo Wurmus @ 2015-09-06 21:07 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1: 0001-gnu-Add-gMTP.patch --]
[-- Type: text/x-patch, Size: 2723 bytes --]
From 83997a0d8783395d0307498d3b7c32b0de9fb404 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <rekado@elephly.net>
Date: Sun, 6 Sep 2015 23:07:10 +0200
Subject: [PATCH] gnu: Add gMTP.
* gnu/packages/libusb.scm (gmtp): New variable.
---
gnu/packages/libusb.scm | 40 +++++++++++++++++++++++++++++++++++++++-
1 file changed, 39 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/libusb.scm b/gnu/packages/libusb.scm
index 86a59be..bb7bec9 100644
--- a/gnu/packages/libusb.scm
+++ b/gnu/packages/libusb.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2015 Andy Wingo <wingo@igalia.com>
+;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -25,9 +26,13 @@
#:use-module (guix utils)
#:use-module (guix download)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system glib-or-gtk)
#:use-module (gnu packages gnupg)
+ #:use-module (gnu packages gtk)
#:use-module (gnu packages linux)
- #:use-module (gnu packages pkg-config))
+ #:use-module (gnu packages mp3)
+ #:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages xiph))
(define-public libusb
(package
@@ -116,3 +121,36 @@ proposed for standardization.")
;; Foundation; either version 2 of the License, or (at your option) any
;; later version."
(license lgpl2.1+)))
+
+(define-public gmtp
+ (package
+ (name "gmtp")
+ (version "1.3.9")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://sourceforge/gmtp/" version
+ "/gmtp-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0bdxvi0jf3q870a39xzsaj4qrjwc9b5bgvc95plc7xb6vf2m7zsv"))))
+ (build-system glib-or-gtk-build-system)
+ (arguments
+ '(#:configure-flags
+ (let ((libid3tag (assoc-ref %build-inputs "libid3tag")))
+ (list
+ ;; libid3tag provides no .pc file, so pkg-config fails to find them.
+ (string-append "ID3TAG_CFLAGS=-I" libid3tag "/include")
+ (string-append "ID3TAG_LIBS=-L" libid3tag "/lib -lid3tag -lz")))))
+ (inputs
+ `(("gtk+" ,gtk+)
+ ("flac" ,flac)
+ ("libvorbis" ,libvorbis)
+ ("libid3tag" ,libid3tag)
+ ("libmtp" ,libmtp)))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (home-page "http://gmtp.sourceforge.net/")
+ (synopsis "Simple graphical MTP client")
+ (description "gMTP is a simple graphical MTP client. It supports all
+MTP-based devices including media players, tablets and mobile phones.")
+ (license bsd-3)))
--
2.5.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] Add gMTP.
2015-09-06 21:07 [PATCH] Add gMTP Ricardo Wurmus
@ 2015-09-07 9:05 ` Andreas Enge
2015-09-07 12:08 ` Ludovic Courtès
1 sibling, 0 replies; 4+ messages in thread
From: Andreas Enge @ 2015-09-07 9:05 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: guix-devel
This looks good and very useful, thanks!
Andreas
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Add gMTP.
2015-09-06 21:07 [PATCH] Add gMTP Ricardo Wurmus
2015-09-07 9:05 ` Andreas Enge
@ 2015-09-07 12:08 ` Ludovic Courtès
2015-09-09 5:05 ` Ricardo Wurmus
1 sibling, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2015-09-07 12:08 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: guix-devel
Ricardo Wurmus <rekado@elephly.net> skribis:
> From 83997a0d8783395d0307498d3b7c32b0de9fb404 Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <rekado@elephly.net>
> Date: Sun, 6 Sep 2015 23:07:10 +0200
> Subject: [PATCH] gnu: Add gMTP.
>
> * gnu/packages/libusb.scm (gmtp): New variable.
[...]
> + (description "gMTP is a simple graphical MTP client. [...]
How about:
“gMTP is a simple graphical client for the Media Transfer Protocol
(MTP), which allows media files to be transferred to and from
many portable devices.” [...]
Otherwise LGTM.
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Add gMTP.
2015-09-07 12:08 ` Ludovic Courtès
@ 2015-09-09 5:05 ` Ricardo Wurmus
0 siblings, 0 replies; 4+ messages in thread
From: Ricardo Wurmus @ 2015-09-09 5:05 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guix-devel
Ludovic Courtès <ludo@gnu.org> writes:
>> * gnu/packages/libusb.scm (gmtp): New variable.
[...]
> How about:
>
> “gMTP is a simple graphical client for the Media Transfer Protocol
> (MTP), which allows media files to be transferred to and from
> many portable devices.” [...]
Changed and pushed. Thanks for the review!
~~ Ricardo
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-09-09 5:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-06 21:07 [PATCH] Add gMTP Ricardo Wurmus
2015-09-07 9:05 ` Andreas Enge
2015-09-07 12:08 ` Ludovic Courtès
2015-09-09 5:05 ` Ricardo Wurmus
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).