unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Tobias Geerinckx-Rice via Guix-patches via <guix-patches@gnu.org>
To: Raghav Gururajan <raghavgururajan@disroot.org>
Cc: 38347@debbugs.gnu.org
Subject: [bug#38347] gnome-contacts
Date: Sat, 23 Nov 2019 19:51:10 +0100	[thread overview]
Message-ID: <87lfs677fl.fsf@nckx> (raw)
In-Reply-To: <225ae64271283846a65401032635ec60731f7277.camel@disroot.org>

[-- Attachment #1: Type: text/plain, Size: 3130 bytes --]

Raghav,

Raghav Gururajan 写道:
> Please find the attached file containing patch to add 
> gnome-contacts.

Thank you!  Congratulations on your first patch, and may there be 
many more.

I was going to fix the points below myself, but then they 
multiplied and hey, I can always say it's a good lesson for you, 
right?  Just send the result to this thread with ‘v2’ clearly in 
the subject line.

* Using ‘name’ in source URIs is harmless but also completely 
  useless.  Just use:

    (uri (string-append "mirror://gnome/sources/gnome-contacts/"
                        (version-major+minor version) "/"
                        "gnome-contacts-" version ".tar.xz"))

* Could you explain *why* generate-vapis needs to be done 
  manually?  For a mostly non-GNOMEhead like me, it's just black 
  magic.

* Nitpick: the ‘`’ of `(#:phases should fall under the ‘(’ of 
  (arguments:

    (arguments
     `(#:phases

  You can use C-M-q in emacs or run etc/indent-code.el manually to 
  indent the code for you.

* You need to move inputs that appear in ‘guix gc --references 
  /gnu/store/…gnome-contacts…’ from (native-inputs) to (inputs).

* Fix ‘dockbook-xsl’ typo.

* Since you're rewriting most *inputs anyway, please order them 
  alphabetically.

* Synopses don't need to include the name of the programme or a 
  leading article (‘a’):

    (synopsis "GNOME's integrated address book")

* The description is far too short, and just not very relevant to 
  me.

  I took a look at the README; what about:

    (description
     "Contacts is GNOME's integrated address book.  It organizes 
     contact                                         
information from all your online and offline sources, and provides 
a central                                     
place to:                                                                                                        
@enumerate                                                                                                       
@item search for and view contacts,                                                                              
@item edit contact details and make new contacts,                                                                
@item integrate with online address books,                                                                       
@item automatically link contacts from different online sources.                                                 
@end enumerate\n")

* Add ‘license:’ prefix to gpl2 (without it, Guix won't even 
  work).

* A randomly chosen source file 
  (https://gitlab.gnome.org/GNOME/gnome-contacts/blob/master/src/cc-crop-area.c) 
  says ‘or any later version’.  This makes the licence gpl2+, not 
  gpl2 (-only), unless there are files that lack this wording. 
  Could you check?

                                 * * *

I'm happy to hear that you have more patches planned.  Please 
check them for similar points and send them to guix-patches at 
gnu.org.

Thanks again!

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2019-11-23 18:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-23 16:32 [bug#38347] gnome-contacts Raghav Gururajan
2019-11-23 18:51 ` Tobias Geerinckx-Rice via Guix-patches via [this message]
2019-11-23 20:56   ` [bug#38347] gnome-contacts v2 Raghav Gururajan
2019-12-08 21:36     ` Jonathan Brielmaier
2019-12-09 12:39       ` Raghav Gururajan
2019-12-08 22:16     ` bug#38347: " Ludovic Courtès
2019-12-09 12:44       ` [bug#38347] " Raghav Gururajan
2019-12-21  4:28         ` Raghav Gururajan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lfs677fl.fsf@nckx \
    --to=guix-patches@gnu.org \
    --cc=38347@debbugs.gnu.org \
    --cc=me@tobias.gr \
    --cc=raghavgururajan@disroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).