From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 15 11:20:36 2019 Received: (at submit) by debbugs.gnu.org; 15 Dec 2019 16:20:36 +0000 Received: from localhost ([127.0.0.1]:37077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igWdI-0005Nv-62 for submit@debbugs.gnu.org; Sun, 15 Dec 2019 11:20:36 -0500 Received: from lists.gnu.org ([209.51.188.17]:45327) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igWTP-00052r-Ae for submit@debbugs.gnu.org; Sun, 15 Dec 2019 11:10:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53427) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igWTM-0007e8-OH for guix-patches@gnu.org; Sun, 15 Dec 2019 11:10:22 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1igWTK-0004dV-Rh for guix-patches@gnu.org; Sun, 15 Dec 2019 11:10:20 -0500 Received: from mail-ot1-x332.google.com ([2607:f8b0:4864:20::332]:33760) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1igWTK-0004Vd-Ia for guix-patches@gnu.org; Sun, 15 Dec 2019 11:10:18 -0500 Received: by mail-ot1-x332.google.com with SMTP id d17so5712139otc.0 for ; Sun, 15 Dec 2019 08:10:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=8k9RQpxBQmh2IM2UxcvF1SXDKyXMW9BdyWoPu/x2YSw=; b=NLOdj+Lj5VoVffVyPC3oBlvDwyr36sr1zuD5c33MlFluRfSWvI8l6SkjkVnoJh+yfw uq0TmYvU1Vu70JQIwP5gxwYIryGnoT5AoXsf5TXF3JssiO5AVqlxQ4XoLevOi3/w8ghZ sC7oQ5MT8kOUW1AVUH+AR9oLY8xenNufwsMJQfPXYXHp5TeZc4rAVEYzTP01KVKQQqun 9gi5L3oYRoK+7sM+M2DXHy9PgECaJPmj6Ds+AWxYKOAoNdhIXTkjEgCGGqjojHh3/W8a /bk+evMoMjqncH1awgi9wl+z3lECAsNoLumMRWj/jXzhy9JLYmv0P11d+OHyUsXhliMU w+Lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=8k9RQpxBQmh2IM2UxcvF1SXDKyXMW9BdyWoPu/x2YSw=; b=KIIlRec8CHfIwlXLgMWGRu6qr74DqVspuDn//RFhqWk14/SViNYWxMFZoQIdDVLfb9 RtX0ywx+zHLrwIl0rVk5OGx4hz3OKS5XtJ/XlDZGWoqUFBSrmsINwRSZkLoqv90F0SsN xcD4mWvO3hVBCVeVMy5AlzBrtoEjXO6Isdb0a3UkadoGHbNIr/G6/EL2I8kqZXDZW80P c9Y7FKXVd0ZWuL/2V+/L7jJuRAGusVWVFqJOc20j+P+upwM/AYoSJh+A6uYne41upTc0 vlkUZJptrOEU3kppp9HViqTMMGlyZ1liPECuvGuz8Mto/oNBaHvj9fzz7ja3+jRfUOqo hjVA== X-Gm-Message-State: APjAAAXGdB7J/LEKfnyqNYENaatyGtCOvY7BDKvF22TRHvYVM1WES93D 1wl2OVHKjsZJoB0puhWl+c5y3oilKnABkxiL5T50fQ== X-Google-Smtp-Source: APXvYqwTBnVES84E9ZFCRRVc/c25vCe28MDhdeSDj33zqdgw9jn1EY04y8CyweCr8rev+YUfv2crxYTGL8aOjo4wxLw= X-Received: by 2002:a05:6830:14d3:: with SMTP id t19mr28155411otq.278.1576426216998; Sun, 15 Dec 2019 08:10:16 -0800 (PST) MIME-Version: 1.0 From: Riku Viitanen Date: Sun, 15 Dec 2019 18:10:05 +0200 Message-ID: Subject: [PATCH] music.scm: Add glyr To: guix-patches@gnu.org Content-Type: multipart/alternative; boundary="000000000000adcf480599c054f9" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::332 X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 15 Dec 2019 11:20:34 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) --000000000000adcf480599c054f9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Glyr contains a C library and a CLI tool for fetching album art and metadata about music. For example, abcde can use it to automatically download cover art. diff a/guix/gnu/packages/music.scm b/guix/gnu/packages/music.scm 27a28 > ;;; Copyright =C2=A9 2019 Riku Viitanen 5108a5110,5166 > > (define-public glyr > (package > (name "glyr") > (version "1.0.10") > (source > (origin > (method url-fetch) > (uri (string-append "https://github.com/sahib/glyr/archive/" > version ".tar.gz")) > (sha256 > (base32 "1s06m1619j3kqgmnh9qv9bbqwvzjd4h4hdja5rhjg38w49hdms3p")))= ) > (build-system cmake-build-system) > (arguments > '(#:tests? #f)) ; no check target)) > (inputs > `(("glib" ,glib) > ("curl" ,curl) > ("sqlite" ,sqlite) > ("pkg-config" ,pkg-config))) > (home-page "https://github.com/sahib/glyr") > (synopsis "Search engine for music related metadata") > (description > "It comes both in a command-line interface tool (@command{glyrc}) and as a C library (libglyr), both > with an easy to use interface. The sort of metadata glyr is searching (and > downloading) is usually the data you see in your musicplayer. And indeed, > originally it was written to serve as internally library for a musicplayer, > but has been extended to work as a standalone program which is able to download: > @table @code > @item cover > Coverart (front images supported only) > @item lyrics > Songtext > @item artistphotos > Photos of a certain band (press or live) > @item rtistbio > Artist biography from various sites > @item review > Album reviews from various sites > @item albumlist > A list of albums from a specific artist. > @item tags > Tags, either related to artist, album or title > @item relations > Links to Wikipedia, Myspace, MusicBrainz =E2=80=A6 > @item similarartists > Similar artists > @item similarsongs > Similar songs > @item tracklist > Tracklist of an album > @item guitartabs > Guitartabs in textual form > @item backdrops > Large artist photos, suitable for backgrounds > @end table") > (license license:lgpl3))) --000000000000adcf480599c054f9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Glyr contains a C library and a CLI tool for fetching albu= m art and metadata about music.

For example, abcde can use it to aut= omatically download cover art.


diff a/guix/gnu/packages/music.sc= m b/guix/gnu/packages/music.scm
27a28
> ;;; Copyright =C2=A9 2019 = Riku Viitanen <riku.viitanen= 0@gmail.com>
5108a5110,5166
>
> (define-public glyr<= br>>=C2=A0=C2=A0 (package
>=C2=A0=C2=A0=C2=A0=C2=A0 (name "gl= yr")
>=C2=A0=C2=A0=C2=A0=C2=A0 (version "1.0.10")
&= gt;=C2=A0=C2=A0=C2=A0=C2=A0 (source
>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (= origin
>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (method url-fetch)=
>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (uri (string-append &quo= t;https://github.com/sah= ib/glyr/archive/"
>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 version ".tar.gz"= ;))
>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (sha256
>=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (base32 "1s06m1619j3kqgmnh9= qv9bbqwvzjd4h4hdja5rhjg38w49hdms3p"))))
>=C2=A0=C2=A0=C2=A0=C2= =A0 (build-system cmake-build-system)
>=C2=A0=C2=A0=C2=A0=C2=A0 (argu= ments
>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 '(#:tests? #f)) ; no check = target))
>=C2=A0=C2=A0=C2=A0=C2=A0 (inputs
>=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 `(("glib" ,glib)
>=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 ("curl" ,curl)
>=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 ("sqlite" ,sqlite)
>=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 ("pkg-config" ,pkg-config)))
>=C2=A0= =C2=A0=C2=A0=C2=A0 (home-page "https://github.com/sahib/glyr")
>=C2=A0=C2=A0=C2=A0=C2=A0= (synopsis "Search engine for music related metadata")
>=C2= =A0=C2=A0=C2=A0=C2=A0 (description
>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &q= uot;It comes both in a command-line interface tool (@command{glyrc}) and as= a C library (libglyr), both
> with an easy to use interface. The sor= t of metadata glyr is searching (and
> downloading) is usually the d= ata you see in your musicplayer. And indeed,
> originally it was wri= tten to serve as internally library for a musicplayer,
> but has bee= n extended to work as a standalone program which is able to download:
&g= t; @table @code
> @item cover
> Coverart (front images supporte= d only)
> @item lyrics
> Songtext
> @item artistphotos> Photos of a certain band (press or live)
> @item rtistbio
&g= t; Artist biography from various sites
> @item review
> Album r= eviews from various sites
> @item albumlist
> A list of albums = from a specific artist.
> @item tags
> Tags, either related to = artist, album or title
> @item relations
> Links to Wikipedia, = Myspace, MusicBrainz =E2=80=A6
> @item similarartists
> Similar= artists
> @item similarsongs
> Similar songs
> @item tra= cklist
> Tracklist of an album
> @item guitartabs
> Guita= rtabs in textual form
> @item backdrops
> Large artist photos, = suitable for backgrounds
> @end table")
>=C2=A0=C2=A0=C2= =A0=C2=A0 (license license:lgpl3)))

--000000000000adcf480599c054f9--