all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#38352] gnome-font-viewer
@ 2019-11-23 18:57 Raghav Gururajan
  2019-12-21  4:17 ` [bug#38352] gnome-font-viewer V2 Raghav Gururajan
  0 siblings, 1 reply; 4+ messages in thread
From: Raghav Gururajan @ 2019-11-23 18:57 UTC (permalink / raw)
  To: 38352


[-- Attachment #1.1: Type: text/plain, Size: 122 bytes --]

Hello Guix!

Please find the attached file containing patch to add gnome-font-
viewer.

Thank you!

Regards,
RG.

[-- Attachment #1.2: 0003-gnu-Add-gnome-font-viewer.patch --]
[-- Type: text/x-patch, Size: 7792 bytes --]

From bc31a6ac8b4577320bd1266dea25da55dd8a70f9 Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <raghavgururajan@disroot.org>
Date: Sat, 23 Nov 2019 13:53:42 -0500
Subject: [PATCH 3/3] gnu: Add gnome-font-viewer.

* gnu/packages/gnome.scm (gnome-font-viewer): New Variable.
---
 0001-Add-gnome-contacts.patch       |   2 +-
 0002-gnu-Add-gnome-characters.patch | 141 ++++++++++++++++++++++++++++
 gnu/packages/gnome.scm              |  26 +++++
 3 files changed, 168 insertions(+), 1 deletion(-)
 create mode 100644 0002-gnu-Add-gnome-characters.patch

diff --git a/0001-Add-gnome-contacts.patch b/0001-Add-gnome-contacts.patch
index 01380265e8..d1e676ba63 100644
--- a/0001-Add-gnome-contacts.patch
+++ b/0001-Add-gnome-contacts.patch
@@ -1,7 +1,7 @@
 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.
+Subject: [PATCH 1/2] Add gnome-contacts.
 
 ---
  gnu/packages/gnome.scm | 51 ++++++++++++++++++++++++++++++++++++++++++
diff --git a/0002-gnu-Add-gnome-characters.patch b/0002-gnu-Add-gnome-characters.patch
new file mode 100644
index 0000000000..a5683eb867
--- /dev/null
+++ b/0002-gnu-Add-gnome-characters.patch
@@ -0,0 +1,141 @@
+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/2] 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
+
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index d1c4a43f07..febc874b31 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -673,6 +673,32 @@ and keep up to date translations of documentation.")
     (description "Disk management utility for GNOME.")
     (license license:gpl2+)))
 
+(define-public gnome-font-viewer
+  (package
+    (name "gnome-font-viewer")
+    (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 
+		"1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
+    (build-system meson-build-system)
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("glib" ,glib)
+       ("gtk+" ,gtk+)
+       ("gnome-desktop" ,gnome-desktop)
+       ("glib:bin" ,glib "bin")
+       ("gettext", gettext-minimal)
+       ("desktop-file-utils" ,desktop-file-utils)))
+    (synopsis "GNOME Fonts")
+    (description "View fonts on your system.")
+    (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
+    (license gpl2))
+
 (define-public gcr
   (package
     (name "gcr")
-- 
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] 4+ messages in thread

* [bug#38352] gnome-font-viewer V2
  2019-11-23 18:57 [bug#38352] gnome-font-viewer Raghav Gururajan
@ 2019-12-21  4:17 ` Raghav Gururajan
  2019-12-24 13:15   ` [bug#38352] gnome-font-viewer V3 Raghav Gururajan
  0 siblings, 1 reply; 4+ messages in thread
From: Raghav Gururajan @ 2019-12-21  4:17 UTC (permalink / raw)
  To: 38352


[-- Attachment #1.1: Type: text/plain, Size: 138 bytes --]

Hello Guix!

Please find the new patch attached with this email, for gnome-font-
viewer.

Thank you!

Regards,
Raghav Gururajan.

[-- Attachment #1.2: gnome-font-viewer.patch --]
[-- Type: text/x-patch, Size: 1449 bytes --]

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index dab2571fba..ba1de82b41 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -746,6 +746,33 @@ accessing key stores.  It also provides the viewer for crypto files on the
 GNOME Desktop.")
     (license license:lgpl2.1+)))
 
+(define-public gnome-font-viewer
+  (package
+    (name "gnome-font-viewer")
+    (version "3.30.0")
+    (source (origin
+	      (method url-fetch)
+	      (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
+				  (version-major+minor version) "/gnome-font-viewer-" version ".tar.xz"))
+	      (sha256
+	       (base32 
+		"1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
+    (build-system meson-build-system)
+    (native-inputs
+     `(("glib:bin" ,glib "bin")
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("desktop-file-utils" ,desktop-file-utils)
+       ("gettext" ,gettext-minimal)
+       ("glib" ,glib)
+       ("gnome-desktop" ,gnome-desktop)
+       ("gtk+" ,gtk+)))
+    (synopsis "GNOME Fonts")
+    (description "Application to show you the fonts installed on your computer for your use as thumbnails.
+                  Selecting any thumbnails shows the full view of how the font would look under various sizes.")
+    (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
+    (license license:gpl2+))
+
 (define-public libgnome-keyring
   (package
     (name "libgnome-keyring")

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#38352] gnome-font-viewer V3
  2019-12-21  4:17 ` [bug#38352] gnome-font-viewer V2 Raghav Gururajan
@ 2019-12-24 13:15   ` Raghav Gururajan
  2019-12-24 16:12     ` bug#38352: " Efraim Flashner
  0 siblings, 1 reply; 4+ messages in thread
From: Raghav Gururajan @ 2019-12-24 13:15 UTC (permalink / raw)
  To: 38352


[-- Attachment #1.1: Type: text/plain, Size: 557 bytes --]

Hello Guix!

Please find the revised patch for gnome-font-viewer attached with this
email.

I have performed `./etc/indent-code.el gnu/packages/gnome.scm gnome-
font-viewer` and also `./pre-inst-env guix build gnome-font-viewer` was
successful.

Regarding `./pre-inst-env guix lint gnome-font-viewer`, I got output
message something about infarction. I could not understand what it is.
It would be great if you (committer) could fix it and push the patch. I
will learn what it is and fix it in my future patches.

Thank you!

Regards,
RG.

[-- Attachment #1.2: gnome-font-viewer.patch --]
[-- Type: text/x-patch, Size: 1793 bytes --]

From e1b2a243c1d96f1759cb4895448a78d9701ac4ff Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <raghavgururajan@disroot.org>
Date: Tue, 24 Dec 2019 08:04:16 -0500
Subject: [PATCH] gnu: Add gnome-font-viewer.

* gnu/packages/gnome.scm (gnome-font-viewer). New Variable.
---
 gnu/packages/gnome.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 95da97e95d..36da447bf7 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -711,6 +711,32 @@ and keep up to date translations of documentation.")
     (description "Disk management utility for GNOME.")
     (license license:gpl2+)))
 
+(define-public gnome-font-viewer
+  (package
+    (name "gnome-font-viewer")
+    (version "3.30.0")
+    (source (origin
+	      (method url-fetch)
+	      (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
+				  (version-major+minor version) "/gnome-font-viewer-" version ".tar.xz"))
+	      (sha256
+	       (base32 
+		"1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
+    (build-system meson-build-system)
+    (native-inputs
+     `(("gettext" ,gettext-minimal)
+       ("glib:bin" ,glib "bin")
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("desktop-file-utils" ,desktop-file-utils)
+       ("glib" ,glib)
+       ("gnome-desktop" ,gnome-desktop)
+       ("gtk+" ,gtk+)))
+    (synopsis "GNOME Fonts")
+    (description "Application to show you the fonts installed on your computer for your use as thumbnails. Selecting any thumbnails shows the full view of how the font would look under various sizes.")
+    (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
+    (license license:gpl2+)))
+
 (define-public gcr
   (package
     (name "gcr")
-- 
2.24.1


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#38352: gnome-font-viewer V3
  2019-12-24 13:15   ` [bug#38352] gnome-font-viewer V3 Raghav Gururajan
@ 2019-12-24 16:12     ` Efraim Flashner
  0 siblings, 0 replies; 4+ messages in thread
From: Efraim Flashner @ 2019-12-24 16:12 UTC (permalink / raw)
  To: Raghav Gururajan; +Cc: 38352-done


[-- Attachment #1.1: Type: text/plain, Size: 2296 bytes --]

I've attached a diff of the changes I made before pushing the patch

On Tue, Dec 24, 2019 at 08:15:40AM -0500, Raghav Gururajan wrote:
> From e1b2a243c1d96f1759cb4895448a78d9701ac4ff Mon Sep 17 00:00:00 2001
> From: Raghav Gururajan <raghavgururajan@disroot.org>
> Date: Tue, 24 Dec 2019 08:04:16 -0500
> Subject: [PATCH] gnu: Add gnome-font-viewer.
> 
> * gnu/packages/gnome.scm (gnome-font-viewer). New Variable.
> ---
>  gnu/packages/gnome.scm | 26 ++++++++++++++++++++++++++
>  1 file changed, 26 insertions(+)
> 
> diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
> index 95da97e95d..36da447bf7 100644
> --- a/gnu/packages/gnome.scm
> +++ b/gnu/packages/gnome.scm
> @@ -711,6 +711,32 @@ and keep up to date translations of documentation.")
>      (description "Disk management utility for GNOME.")
>      (license license:gpl2+)))
>  
> +(define-public gnome-font-viewer
> +  (package
> +    (name "gnome-font-viewer")
> +    (version "3.30.0")
> +    (source (origin
> +	      (method url-fetch)
> +	      (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
> +				  (version-major+minor version) "/gnome-font-viewer-" version ".tar.xz"))
> +	      (sha256
> +	       (base32 
> +		"1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
> +    (build-system meson-build-system)
> +    (native-inputs
> +     `(("gettext" ,gettext-minimal)
> +       ("glib:bin" ,glib "bin")
> +       ("pkg-config" ,pkg-config)))
> +    (inputs
> +     `(("desktop-file-utils" ,desktop-file-utils)
> +       ("glib" ,glib)
> +       ("gnome-desktop" ,gnome-desktop)
> +       ("gtk+" ,gtk+)))
> +    (synopsis "GNOME Fonts")
> +    (description "Application to show you the fonts installed on your computer for your use as thumbnails. Selecting any thumbnails shows the full view of how the font would look under various sizes.")
> +    (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
> +    (license license:gpl2+)))
> +
>  (define-public gcr
>    (package
>      (name "gcr")
> -- 
> 2.24.1
> 


-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #1.2: gnome-font-viewer.diff --]
[-- Type: text/plain, Size: 2225 bytes --]

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 36da447bf7..187eb9584c 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -716,25 +716,35 @@ and keep up to date translations of documentation.")
     (name "gnome-font-viewer")
     (version "3.30.0")
     (source (origin
-	      (method url-fetch)
-	      (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
-				  (version-major+minor version) "/gnome-font-viewer-" version ".tar.xz"))
-	      (sha256
-	       (base32 
-		"1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
+              (method url-fetch)
+              (uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
+                                  (version-major+minor version)
+                                  "/gnome-font-viewer-" version ".tar.xz"))
+              (sha256
+               (base32
+                "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5"))))
     (build-system meson-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-post-install-script
+           (lambda _
+             (substitute* "meson-postinstall.sh"
+               (("update-desktop-database") (which "true")))
+             #t)))))
     (native-inputs
      `(("gettext" ,gettext-minimal)
        ("glib:bin" ,glib "bin")
        ("pkg-config" ,pkg-config)))
     (inputs
-     `(("desktop-file-utils" ,desktop-file-utils)
-       ("glib" ,glib)
+     `(("glib" ,glib)
        ("gnome-desktop" ,gnome-desktop)
        ("gtk+" ,gtk+)))
-    (synopsis "GNOME Fonts")
-    (description "Application to show you the fonts installed on your computer for your use as thumbnails. Selecting any thumbnails shows the full view of how the font would look under various sizes.")
     (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
+    (synopsis "GNOME Fonts")
+    (description "Application to show you the fonts installed on your computer
+for your use as thumbnails. Selecting any thumbnails shows the full view of how
+the font would look under various sizes.")
     (license license:gpl2+)))
 
 (define-public gcr

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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-12-24 16:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-23 18:57 [bug#38352] gnome-font-viewer Raghav Gururajan
2019-12-21  4:17 ` [bug#38352] gnome-font-viewer V2 Raghav Gururajan
2019-12-24 13:15   ` [bug#38352] gnome-font-viewer V3 Raghav Gururajan
2019-12-24 16:12     ` bug#38352: " Efraim Flashner

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.