Subject: [bug#57944] [PATCH 1/2] gnu: Add gnome-text-editor

From: Sughosha <[email-masked]>
Date: Tue, 20 Sep 2022 04:13:53 +0000

Empty Message

From 03391b5eb619e248c4f55b22bd8f54c3866476ae Mon Sep 17 00:00:00 2001
From: Sughosha <[email-masked]>
Date: Tue, 20 Sep 2022 06:00:58 +0200
Subject: [PATCH 1/2] gnu: Add gnome-text-editor

* gnu/packages/gnome.scm (gnome-text-editor): New variable.
---
 gnu/packages/gnome.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index c8a49040f4..c76b25d968 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -5474,6 +5474,44 @@ (define-public gnome-terminal
 keyboard shortcuts.")
     (license license:gpl3+)))
 
+(define-public gnome-text-editor
+  (package
+    (name "gnome-text-editor")
+    (version "42.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://gnome/sources/gnome-text-editor/"
+                                  (version-major version)
+                                  "/"
+                                  "gnome-text-editor-"
+                                  version
+                                  ".tar.xz"))
+              (sha256
+               (base32
+                "1nn53iv2a82kkqkg5jy0bqh2b2wzg7g4a6w8q3qsis5wvj64lvg5"))))
+    (build-system meson-build-system)
+    (native-inputs (list pkg-config
+                         cmake
+                         gettext-minimal
+                         desktop-file-utils
+                         appstream-glib
+                         `(,glib "bin")
+                         `(,gtk "bin")
+                         itstool))
+    (inputs (list glib
+                  gtk
+                  gtksourceview
+                  libadwaita
+                  enchant))
+    (home-page "https://gitlab.gnome.org/GNOME/gnome-text-editor")
+    (synopsis "Simple text editor")
+    (description
+     "Text Editor is a simple text editor that focuses on session management.
+It works hard to keep track of changes and state even if you quit the
+application.  You can come back to your work even if you've never saved it to a
+file.")
+    (license license:gpl3)))
+
 (define-public colord-minimal
   (package
     (name "colord-minimal")
-- 
2.37.3

From 8142d2bc994e1b7cc61ad379f9ce13ee7e274ec0 Mon Sep 17 00:00:00 2001
From: Sughosha <[email-masked]>
Date: Tue, 20 Sep 2022 06:08:05 +0200
Subject: [PATCH 2/2] gnu: Add gnome-console

* gnu/packages/gnome.scm (gnome-console): New variable.
---
 gnu/packages/gnome.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index c76b25d968..14e9c36fc6 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -5411,6 +5411,38 @@ (define-public gnome-sudoku
 more fun.")
     (license license:gpl2+)))
 
+(define-public gnome-console
+  (package
+    (name "gnome-console")
+    (version "42.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://gnome/sources/gnome-console/"
+                                  (version-major version)
+                                  "/"
+                                  "gnome-console-"
+                                  version
+                                  ".tar.xz"))
+              (sha256
+               (base32
+                "0jbh8g3hmc35fy5fbscqf0831xpg1kv66ci9hykpbia4hz0yc9kx"))))
+    (build-system meson-build-system)
+    (native-inputs (list desktop-file-utils
+                         appstream-glib
+                         `(,glib "bin")
+                         gettext-minimal
+                         sassc
+                         pkg-config
+                         cmake-minimal
+                         `(,gtk+ "bin")))
+    (inputs (list gtk+ libhandy vte libgtop gsettings-desktop-schemas))
+    (home-page "https://gitlab.gnome.org/GNOME/gnome-console")
+    (synopsis "Simple user-friendly terminal emulator for the GNOME desktop")
+    (description
+     "Console is supposed to be a simple terminal emulator for the average user
+to carry out simple cli tasks and aims to be a ‘core’ app for GNOME/Phosh")
+    (license license:gpl3)))
+
 (define-public gnome-terminal
   (package
     (name "gnome-terminal")
-- 
2.37.3