* [bug#38351] gnome-characters
@ 2019-11-23 18:56 Raghav Gururajan
2019-12-21 3:45 ` [bug#38351] gnome-characters V2 Raghav Gururajan
0 siblings, 1 reply; 5+ messages in thread
From: Raghav Gururajan @ 2019-11-23 18:56 UTC (permalink / raw)
To: 38351
[-- Attachment #1.1: Type: text/plain, Size: 119 bytes --]
Hello Guix!
Please find the attached file containing patch to add gnome-characters.
Thank you!
Regards,
RG.
[-- Attachment #1.2: 0002-gnu-Add-gnome-characters.patch --]
[-- Type: text/x-patch, Size: 5126 bytes --]
From a4c360090b6d71c73619c7585bbb157b7b33f4b7 Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <raghavgururajan@disroot.org>
Date: Sat, 23 Nov 2019 13:34:47 -0500
Subject: [PATCH 2/3] gnu: Add gnome-characters.
* gnu/packages/gnome.scm (gnome-characters): New Variable.
---
0001-Add-gnome-contacts.patch | 81 +++++++++++++++++++++++++++++++++++
gnu/packages/gnome.scm | 28 ++++++++++++
2 files changed, 109 insertions(+)
create mode 100644 0001-Add-gnome-contacts.patch
diff --git a/0001-Add-gnome-contacts.patch b/0001-Add-gnome-contacts.patch
new file mode 100644
index 0000000000..01380265e8
--- /dev/null
+++ b/0001-Add-gnome-contacts.patch
@@ -0,0 +1,81 @@
+From 1ea14a09d76e7be1eda9282dafb6ea57b18eae74 Mon Sep 17 00:00:00 2001
+From: Raghav Gururajan <raghavgururajan@disroot.org>
+Date: Sat, 23 Nov 2019 11:11:29 -0500
+Subject: [PATCH] Add gnome-contacts.
+
+---
+ gnu/packages/gnome.scm | 51 ++++++++++++++++++++++++++++++++++++++++++
+ 1 file changed, 51 insertions(+)
+
+diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
+index cd881b5b87..bbec7eabca 100644
+--- a/gnu/packages/gnome.scm
++++ b/gnu/packages/gnome.scm
+@@ -42,6 +42,7 @@
+ ;;; Copyright © 2019 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+ ;;; Copyright © 2019 Martin Becze <mjbecze@riseup.net>
+ ;;; Copyright © 2019 David Wilson <david@daviwil.com>
++;;; Copyright © 2019 Raghav Gururajan <raghavgururajan@disroot.org>
+ ;;;
+ ;;; This file is part of GNU Guix.
+ ;;;
+@@ -468,6 +469,56 @@ can be used to configure a source directory checked out from Git and some
+ commonly used macros.")
+ (license license:gpl2+)))
+
++(define-public gnome-contacts
++ (package
++ (name "gnome-contacts")
++ (version "3.30.2")
++ (source (origin
++ (method url-fetch)
++ (uri (string-append "mirror://gnome/sources/" name "/"
++ (version-major+minor version) "/"
++ name "-" version ".tar.xz"))
++ (sha256
++ (base32
++ "1b0pkdwz9yqcv82zzdf76rs2w3wa5zli8pka09wnahikx1ykk43h"))))
++ (build-system meson-build-system)
++ (arguments
++ `(#:phases
++ (modify-phases %standard-phases
++ (add-after 'unpack 'generate-vapis
++ (lambda* (#:key inputs #:allow-other-keys)
++ (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
++ "--library=goa-1.0"
++ (string-append (assoc-ref inputs "gnome-online-accounts:lib")
++ "/share/gir-1.0/Goa-1.0.gir"))
++ #t)))))
++ (native-inputs
++ `(("pkg-config" ,pkg-config)
++ ("vala" ,vala)
++ ("glib:bin" ,glib "bin")
++ ("gobject-introspection" ,gobject-introspection)
++ ("libgee" ,libgee)
++ ("evolution-data-server" ,evolution-data-server)
++ ("gnome-desktop" ,gnome-desktop)
++ ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
++ ("cheese" ,cheese)
++ ("gst-plugins-base" ,gst-plugins-base)
++ ("telepathy-glib" ,telepathy-glib)
++ ("gettext" ,gettext-minimal)
++ ("libxslt" ,libxslt)
++ ("docbook-xml" ,docbook-xml)
++ ("dockbook-xsl" ,docbook-xsl)
++ ("gtk+" ,gtk+)
++ ("gtk+:bin" ,gtk+ "bin")))
++ (propagated-inputs
++ `(("folks", folks)
++ ("telepathy-mission-control" ,telepathy-mission-control)))
++ (synopsis "Contacts is GNOME's integrated address book.")
++ (description "It is written in Vala and uses
++ libfolks (also written in Vala) and Evolution Data Server.")
++ (home-page "https://wiki.gnome.org/Apps/Contacts")
++ (license gpl2))
++
+ (define-public gnome-desktop
+ (package
+ (name "gnome-desktop")
+--
+2.24.0
+
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index bbec7eabca..d1c4a43f07 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -447,6 +447,34 @@ documents. This package also contains binaries that can convert XPS documents
to other formats.")
(license license:lgpl2.1+)))
+(define-public gnome-characters ;; not gucharmap
+ (package
+ (name "gnome-characters") ;; not gucharmap
+ (version "3.30.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnome/sources/" name "/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
+ (build-system meson-build-system)
+ (native-inputs
+ `(("libunistring" ,libunistring)
+ ("pkg-config" ,pkg-config)
+ ("gjs" ,gjs)
+ ("gtk+" ,gtk+)
+ ("gettext" ,gettext-minimal)
+ ("glib:bin" ,glib "bin")
+ ("gtk+:bin" ,gtk+ "bin")))
+ (synopsis "GNOME Characters")
+ (description "Characters is a simple utility application to find and
+ insert unusual characters. It allows you to quickly find
+ the character you are looking for by searching for keywords.")
+ (home-page "https://wiki.gnome.org/Design/Apps/CharacterMap")
+ (license bsd-3))
+
(define-public gnome-common
(package
(name "gnome-common")
--
2.24.0
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#38351] gnome-characters V2
2019-11-23 18:56 [bug#38351] gnome-characters Raghav Gururajan
@ 2019-12-21 3:45 ` Raghav Gururajan
2019-12-21 5:11 ` Brett Gilio
2019-12-21 10:16 ` bug#38351: " Ricardo Wurmus
0 siblings, 2 replies; 5+ messages in thread
From: Raghav Gururajan @ 2019-12-21 3:45 UTC (permalink / raw)
To: 38351
[-- Attachment #1.1: Type: text/plain, Size: 123 bytes --]
Hello Guix!
Please find the new patch attached with this email, for gnome-
characters.
Regards,
Raghav Gururajan.
[-- Attachment #1.2: gnome-characters.patch --]
[-- Type: text/x-patch, Size: 1428 bytes --]
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index dab2571fba..9146ffc168 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -455,6 +455,34 @@ documents. This package also contains binaries that can convert XPS documents
to other formats.")
(license license:lgpl2.1+)))
+(define-public gnome-characters ;; not gucharmap
+ (package
+ (name "gnome-characters") ;; not gucharmap
+ (version "3.30.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnome/sources/gnome-characters/"
+ (version-major+minor version) "/gnome-characters-" version ".tar.xz"))
+ (sha256
+ (base32
+ "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
+ (build-system meson-build-system)
+ (native-inputs
+ `(("glib:bin" ,glib "bin")
+ ("gtk+:bin" ,gtk+ "bin")
+ ("pkg-config" ,pkg-config)))
+ (inputs
+ `(("gettext" ,gettext-minimal)
+ ("gjs" ,gjs)
+ ("gtk+" ,gtk+)
+ ("libunistring" ,libunistring)))
+ (synopsis "GNOME Characters")
+ (description "A simple utility application to find and
+ insert unusual characters. It allows you to quickly find
+ the character you are looking for by searching for keywords.")
+ (home-page "https://wiki.gnome.org/Design/Apps/CharacterMap")
+ (license license:bsd-3))
+
(define-public gnome-common
(package
(name "gnome-common")
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#38351] gnome-characters V2
2019-12-21 3:45 ` [bug#38351] gnome-characters V2 Raghav Gururajan
@ 2019-12-21 5:11 ` Brett Gilio
2019-12-21 10:16 ` bug#38351: " Ricardo Wurmus
1 sibling, 0 replies; 5+ messages in thread
From: Brett Gilio @ 2019-12-21 5:11 UTC (permalink / raw)
To: Raghav Gururajan; +Cc: 38351
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Raghav Gururajan <raghavgururajan@disroot.org> writes:
> Hello Guix!
>
> Please find the new patch attached with this email, for gnome-
> characters.
>
> Regards,
> Raghav Gururajan.
>
> diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
> index dab2571fba..9146ffc168 100644
> --- a/gnu/packages/gnome.scm
> +++ b/gnu/packages/gnome.scm
> @@ -455,6 +455,34 @@ documents. This package also contains binaries that can convert XPS documents
> to other formats.")
> (license license:lgpl2.1+)))
>
> +(define-public gnome-characters ;; not gucharmap
> + (package
> + (name "gnome-characters") ;; not gucharmap
> + (version "3.30.0")
> + (source (origin
> + (method url-fetch)
> + (uri (string-append "mirror://gnome/sources/gnome-characters/"
> + (version-major+minor version) "/gnome-characters-" version ".tar.xz"))
> + (sha256
> + (base32
> + "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
> + (build-system meson-build-system)
> + (native-inputs
> + `(("glib:bin" ,glib "bin")
> + ("gtk+:bin" ,gtk+ "bin")
> + ("pkg-config" ,pkg-config)))
> + (inputs
> + `(("gettext" ,gettext-minimal)
> + ("gjs" ,gjs)
> + ("gtk+" ,gtk+)
> + ("libunistring" ,libunistring)))
> + (synopsis "GNOME Characters")
> + (description "A simple utility application to find and
> + insert unusual characters. It allows you to quickly find
> + the character you are looking for by searching for keywords.")
> + (home-page "https://wiki.gnome.org/Design/Apps/CharacterMap")
> + (license license:bsd-3))
> +
> (define-public gnome-common
> (package
> (name "gnome-common")
>
Hi Raghav,
First, thank you for your submission. I have a few questions and a few
suggestions. I am curious about why you added this comment?
- --8<---------------cut here---------------start------------->8---
(define-public gnome-characters ;; not gucharmap
- --8<---------------cut here---------------end--------------->8---
While I understand where you are coming from, this comment doesn't
really add much information to the code itself. This seems like
something maybe to disclaim in the package description, if that is even
necessary. Just a thought.
Second, your description features an indentation that is not needed. The
`guix lint` command should catch this with the ./pre-inst-env for your
package. If you need help with this, or other stylization for how to
format synopsis and descriptions, feel free to ask.
Lastly, on my end this doesn't appear to be in patch format, but rather
seems like a diff with a .patch extension. We generally use `git
format-patch` for generating patches, which you can find in our
documentation accompanied by a properly formatted commit message and
sub-header.
If you would like some links to the documentation on how to obtain this,
and maybe some tips and tricks on achieving this from GNU Emacs (though
not required), please do let me know.
I am happy to help you, and would like to see your changes be reflected
upstream. Thank you a lot for your work.
- --
Brett M. Gilio
GNU Guix, Contributor | GNU Project, Webmaster
[DFC0 C7F7 9EE6 0CA7 AE55 5E19 6722 43C4 A03F 0EEE]
<brettg@gnu.org> <brettg@posteo.net>
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEE38DH957mDKeuVV4ZZyJDxKA/Du4FAl39qYMACgkQZyJDxKA/
Du7l2g//UZfo5es5HfddQDWOZc0hGYt3Ih3QvBTZVu3o0/r2tqokEnzvYLwmhkmS
ZuZXS1MRdomGJZ5l80w6EmwESYWIosWewAzDPbCHHBMg+Dyh4omd8Lj7Bh6JF1aK
H14LoQfsc8U86vGlh3FyjXnOq589KZLiNplewnTw/aC1IdQwjsSkIBZOm5b1V+A6
KUPgbgQJja6rqcsZNcXxUxbx/iTuSJxDsp46jGUCOK9TU2AI2ekiI5awP5TyXkQw
LSicDFfF+hpNkXBXPILDa24B3273qE4f7Gm/rngignrVsxZTPwJOLw3CAaYkeMqh
xkxAfh681l8ztdZ9Cmez3RA0CJBEBjIOy+TtB2iJWDkjdH294T1DETlxb5t2H7Qj
pT8ldWRdGtd10MiH0mJbQ3qwSdFPKL+XwwOigKViuUo34eMIZgmXSOVXO0OtC0Ml
fPsOEWnlISXVKdNPIW8pdqoXcRyB4DSl1ZTLw4/BjqI/qXSdUTV077/SC7/HlGn/
Vekpe1sM8koVnAwxbItKKy4+geGuX4Dn1uhgwzbGpnXTNl4xIl1NWJTwuA3SN5Zp
ccx3gqLDShH3a2k7RLM30HUPm53Y8U3M+TXw+SztVbkpgnrQmjlDlySDjc9/vbjP
j9Yb3nno/TW5sbT7r/pivj+93aX+BjReSMxJs5a9pTvGLA9uFnc=
=h6gx
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#38351: gnome-characters V2
2019-12-21 3:45 ` [bug#38351] gnome-characters V2 Raghav Gururajan
2019-12-21 5:11 ` Brett Gilio
@ 2019-12-21 10:16 ` Ricardo Wurmus
2019-12-21 10:33 ` [bug#38351] " Raghav Gururajan
1 sibling, 1 reply; 5+ messages in thread
From: Ricardo Wurmus @ 2019-12-21 10:16 UTC (permalink / raw)
To: Raghav Gururajan; +Cc: 38351-done
Hi,
> Please find the new patch attached with this email, for gnome-
> characters.
Thank you! I’ve pushed this with commit 4e09f57af8 to the master
branch after a number of small changes:
* applied the patch with “patch -p1 < the-file-that-you-sent.patch”
* removed tabs with M-x untabify
* separated sentences by two spaces
* updated the synopsis
* updated the first sentence of the description
* reflowed the description with M-x fill-paragraph
* changed the home page (so as not to point to the irrelevant design page)
* reflowed the source field
* removed the comments
* moved gettext to the native inputs
* added Python to the native inputs (which is needed for running scripts
in lib)
* set glib-or-gtk? to #t because the program would crash otherwise
* created a commit (using the yasnippet for “add”) and set you as the
author (this would not be needed with git formatted patches)
Thanks!
--
Ricardo
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-12-21 10:34 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-23 18:56 [bug#38351] gnome-characters Raghav Gururajan
2019-12-21 3:45 ` [bug#38351] gnome-characters V2 Raghav Gururajan
2019-12-21 5:11 ` Brett Gilio
2019-12-21 10:16 ` bug#38351: " Ricardo Wurmus
2019-12-21 10:33 ` [bug#38351] " Raghav Gururajan
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).