* [bug#38095] [PATCH] gnu: Add matcha-theme.
@ 2019-11-07 6:02 Alexandros Theodotou
2019-11-07 15:45 ` Alexandros Theodotou
2019-11-09 10:03 ` Leo Prikler
0 siblings, 2 replies; 7+ messages in thread
From: Alexandros Theodotou @ 2019-11-07 6:02 UTC (permalink / raw)
To: 38095
From c3dcea272a6600263cc806b64331b3d68d881b9c Mon Sep 17 00:00:00 2001
From: Alexandros Theodotou <alex@zrythm.org>
Date: Thu, 7 Nov 2019 05:37:42 +0000
Subject: [PATCH] gnu: Add matcha-theme.
* gnu/packages/matcha-theme.scm (matcha-theme): New variable.
---
gnu/packages/matcha-theme.scm | 76 +++++++++++++++++++++++++++++++++++
1 file changed, 76 insertions(+)
create mode 100644 gnu/packages/matcha-theme.scm
diff --git a/gnu/packages/matcha-theme.scm
b/gnu/packages/matcha-theme.scm
new file mode 100644
index 0000000000..1eaf1659a7
--- /dev/null
+++ b/gnu/packages/matcha-theme.scm
@@ -0,0 +1,76 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2019 Alexandros Theodotou <alex@zrythm.org>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or
(at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
+(define-module (matcha-theme)
+ #:use-module (guix licenses)
+ #:use-module (guix packages)
+ #:use-module (guix download)
+ #:use-module (guix build-system trivial)
+ #:use-module (gnu packages base)
+ #:use-module (gnu packages bash)
+ #:use-module (gnu packages compression))
+
+(define-public matcha-theme
+ (package
+ (name "matcha-theme")
+ (version "2019-11-02")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
"https://github.com/vinceliuice/matcha/archive/" version
+ ".tar.gz"))
+ (sha256
+ (base32
+
"0vv16lxrfin187rbn844hfkrg3368in1wmmnygsnag8k2pzhw1a4"))))
+ (build-system trivial-build-system)
+ (outputs '("out"))
+ (arguments
+ '(#:modules ((guix build utils))
+ #:builder
+ (begin
+ (use-modules (guix build utils))
+ (let* ((out (assoc-ref %outputs "out"))
+ (source (assoc-ref %build-inputs "source"))
+ (tar (assoc-ref %build-inputs "tar"))
+ (bash (assoc-ref %build-inputs "bash"))
+ (gzip (assoc-ref %build-inputs "gzip"))
+ (coreutils (assoc-ref %build-inputs "coreutils"))
+ (themesdir (string-append out "/share/themes")))
+ ;; set PATH so we can use tar and the install script can find
coreutils
+ (setenv "PATH" (string-append tar "/bin:"
+ (string-append gzip "/bin:")
+ (string-append coreutils
"/bin:")))
+ ;; untar
+ (invoke "tar" "xf" source)
+ (chdir "matcha-2019-11-02")
+ ;; replace shebang
+ (substitute* "Install" (("/bin/bash") (string-append bash
"/bin/bash")))
+ ;; install
+ (mkdir-p themesdir)
+ (invoke (string-append bash "/bin/bash") "-c"
+ (string-append "./Install -d " themesdir))))))
+ (native-inputs
+ `(("tar", tar)
+ ("bash", bash)
+ ("coreutils", coreutils)
+ ("gzip", gzip)))
+ (synopsis "Flat design theme for GTK 3, GTK 2 and GNOME-Shell")
+ (description
+ "Matcha is a flat Design theme for GTK 3, GTK 2 and Gnome-Shell
+which supports GTK 3 and GTK 2 based desktop environments
+like Gnome, Unity, Budgie, Pantheon, XFCE, Mate and others.")
+ (home-page "https://github.com/vinceliuice/matcha")
+ (license gpl3)))
--
2.24.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bug#38095] [PATCH] gnu: Add matcha-theme.
2019-11-07 6:02 [bug#38095] [PATCH] gnu: Add matcha-theme Alexandros Theodotou
@ 2019-11-07 15:45 ` Alexandros Theodotou
2019-11-07 15:51 ` Alexandros Theodotou
2019-11-09 10:03 ` Leo Prikler
1 sibling, 1 reply; 7+ messages in thread
From: Alexandros Theodotou @ 2019-11-07 15:45 UTC (permalink / raw)
To: 38095
Moved to gnu/gnome and added missing dependency
From 2bfdba6c3edb19b52963b288adf0876bfb0faa12 Mon Sep 17 00:00:00 2001
From: Alexandros Theodotou <alex@zrythm.org>
Date: Thu, 7 Nov 2019 05:37:42 +0000
Subject: [PATCH] gnu: Add matcha-theme.
* gnu/packages/matcha-theme.scm (matcha-theme): New variable.
---
gnu/packages/gnome.scm | 49 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index cd881b5b87..249a6802f0 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -7105,6 +7105,55 @@ dark elements. It supports GNOME, Unity, Xfce,
and Openbox.")
(home-page "https://numixproject.github.io")
(license license:gpl3+)))
+(define-public matcha-theme
+ (package
+ (name "matcha-theme")
+ (version "2019-11-02")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
"https://github.com/vinceliuice/matcha/archive/" version
+ ".tar.gz"))
+ (sha256
+ (base32
+
"0vv16lxrfin187rbn844hfkrg3368in1wmmnygsnag8k2pzhw1a4"))))
+ (build-system trivial-build-system)
+ (outputs '("out"))
+ (arguments
+ '(#:modules ((guix build utils))
+ #:builder
+ (begin
+ (use-modules (guix build utils))
+ (let* ((out (assoc-ref %outputs "out"))
+ (source (assoc-ref %build-inputs "source"))
+ (tar (assoc-ref %build-inputs "tar"))
+ (bash (assoc-ref %build-inputs "bash"))
+ (gzip (assoc-ref %build-inputs "gzip"))
+ (coreutils (assoc-ref %build-inputs "coreutils"))
+ (themesdir (string-append out "/share/themes")))
+ (setenv "PATH" (string-append tar "/bin:"
+ (string-append gzip "/bin:")
+ (string-append coreutils
"/bin:")))
+ (invoke "tar" "xf" source)
+ (chdir "matcha-2019-11-02")
+ (substitute* "Install" (("/bin/bash") (string-append bash
"/bin/bash")))
+ (mkdir-p themesdir)
+ (invoke (string-append bash "/bin/bash") "-c"
+ (string-append "./Install -d " themesdir))))))
+ (inputs
+ `(("gtk-engines", gtk-engines)))
+ (native-inputs
+ `(("tar", tar)
+ ("bash", bash)
+ ("coreutils", coreutils)
+ ("gzip", gzip)))
+ (synopsis "Flat design theme for GTK 3, GTK 2 and GNOME-Shell")
+ (description
+ "Matcha is a flat Design theme for GTK 3, GTK 2 and Gnome-Shell
+which supports GTK 3 and GTK 2 based desktop environments
+like Gnome, Unity, Budgie, Pantheon, XFCE, Mate and others.")
+ (home-page "https://github.com/vinceliuice/matcha")
+ (license license:gpl3)))
+
(define-public arc-theme
(package
(name "arc-theme")
--
2.24.0
On 07.11.2019 07:02, Alexandros Theodotou wrote:
> From c3dcea272a6600263cc806b64331b3d68d881b9c Mon Sep 17 00:00:00 2001
> From: Alexandros Theodotou <alex@zrythm.org>
> Date: Thu, 7 Nov 2019 05:37:42 +0000
> Subject: [PATCH] gnu: Add matcha-theme.
>
> * gnu/packages/matcha-theme.scm (matcha-theme): New variable.
> ---
> gnu/packages/matcha-theme.scm | 76 +++++++++++++++++++++++++++++++++++
> 1 file changed, 76 insertions(+)
> create mode 100644 gnu/packages/matcha-theme.scm
>
> diff --git a/gnu/packages/matcha-theme.scm
> b/gnu/packages/matcha-theme.scm
> new file mode 100644
> index 0000000000..1eaf1659a7
> --- /dev/null
> +++ b/gnu/packages/matcha-theme.scm
> @@ -0,0 +1,76 @@
> +;;; GNU Guix --- Functional package management for GNU
> +;;; Copyright © 2019 Alexandros Theodotou <alex@zrythm.org>
> +;;;
> +;;; This file is part of GNU Guix.
> +;;;
> +;;; GNU Guix is free software; you can redistribute it and/or modify
> it
> +;;; under the terms of the GNU General Public License as published by
> +;;; the Free Software Foundation; either version 3 of the License, or
> (at
> +;;; your option) any later version.
> +;;;
> +;;; GNU Guix is distributed in the hope that it will be useful, but
> +;;; WITHOUT ANY WARRANTY; without even the implied warranty of
> +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> +;;; GNU General Public License for more details.
> +;;;
> +;;; You should have received a copy of the GNU General Public License
> +;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
> +(define-module (matcha-theme)
> + #:use-module (guix licenses)
> + #:use-module (guix packages)
> + #:use-module (guix download)
> + #:use-module (guix build-system trivial)
> + #:use-module (gnu packages base)
> + #:use-module (gnu packages bash)
> + #:use-module (gnu packages compression))
> +
> +(define-public matcha-theme
> + (package
> + (name "matcha-theme")
> + (version "2019-11-02")
> + (source (origin
> + (method url-fetch)
> + (uri (string-append
> "https://github.com/vinceliuice/matcha/archive/" version
> + ".tar.gz"))
> + (sha256
> + (base32
> +
> "0vv16lxrfin187rbn844hfkrg3368in1wmmnygsnag8k2pzhw1a4"))))
> + (build-system trivial-build-system)
> + (outputs '("out"))
> + (arguments
> + '(#:modules ((guix build utils))
> + #:builder
> + (begin
> + (use-modules (guix build utils))
> + (let* ((out (assoc-ref %outputs "out"))
> + (source (assoc-ref %build-inputs "source"))
> + (tar (assoc-ref %build-inputs "tar"))
> + (bash (assoc-ref %build-inputs "bash"))
> + (gzip (assoc-ref %build-inputs "gzip"))
> + (coreutils (assoc-ref %build-inputs "coreutils"))
> + (themesdir (string-append out "/share/themes")))
> + ;; set PATH so we can use tar and the install script can
> find coreutils
> + (setenv "PATH" (string-append tar "/bin:"
> + (string-append gzip "/bin:")
> + (string-append coreutils
> "/bin:")))
> + ;; untar
> + (invoke "tar" "xf" source)
> + (chdir "matcha-2019-11-02")
> + ;; replace shebang
> + (substitute* "Install" (("/bin/bash") (string-append bash
> "/bin/bash")))
> + ;; install
> + (mkdir-p themesdir)
> + (invoke (string-append bash "/bin/bash") "-c"
> + (string-append "./Install -d " themesdir))))))
> + (native-inputs
> + `(("tar", tar)
> + ("bash", bash)
> + ("coreutils", coreutils)
> + ("gzip", gzip)))
> + (synopsis "Flat design theme for GTK 3, GTK 2 and GNOME-Shell")
> + (description
> + "Matcha is a flat Design theme for GTK 3, GTK 2 and Gnome-Shell
> +which supports GTK 3 and GTK 2 based desktop environments
> +like Gnome, Unity, Budgie, Pantheon, XFCE, Mate and others.")
> + (home-page "https://github.com/vinceliuice/matcha")
> + (license gpl3)))
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bug#38095] [PATCH] gnu: Add matcha-theme.
2019-11-07 15:45 ` Alexandros Theodotou
@ 2019-11-07 15:51 ` Alexandros Theodotou
2019-11-07 19:44 ` Alexandros Theodotou
0 siblings, 1 reply; 7+ messages in thread
From: Alexandros Theodotou @ 2019-11-07 15:51 UTC (permalink / raw)
To: 38095
Forgot license header.
From 0107cd76c0db3c70cc1e1ccdbc8be9710337e711 Mon Sep 17 00:00:00 2001
From: Alexandros Theodotou <alex@zrythm.org>
Date: Thu, 7 Nov 2019 05:37:42 +0000
Subject: [PATCH] gnu: Add matcha-theme.
* gnu/packages/matcha-theme.scm (matcha-theme): New variable.
---
gnu/packages/gnome.scm | 50 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index cd881b5b87..c044d33537 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 Alexandros Theodotou <alex@zrythm.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -7105,6 +7106,55 @@ dark elements. It supports GNOME, Unity, Xfce,
and Openbox.")
(home-page "https://numixproject.github.io")
(license license:gpl3+)))
+(define-public matcha-theme
+ (package
+ (name "matcha-theme")
+ (version "2019-11-02")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
"https://github.com/vinceliuice/matcha/archive/" version
+ ".tar.gz"))
+ (sha256
+ (base32
+
"0vv16lxrfin187rbn844hfkrg3368in1wmmnygsnag8k2pzhw1a4"))))
+ (build-system trivial-build-system)
+ (outputs '("out"))
+ (arguments
+ '(#:modules ((guix build utils))
+ #:builder
+ (begin
+ (use-modules (guix build utils))
+ (let* ((out (assoc-ref %outputs "out"))
+ (source (assoc-ref %build-inputs "source"))
+ (tar (assoc-ref %build-inputs "tar"))
+ (bash (assoc-ref %build-inputs "bash"))
+ (gzip (assoc-ref %build-inputs "gzip"))
+ (coreutils (assoc-ref %build-inputs "coreutils"))
+ (themesdir (string-append out "/share/themes")))
+ (setenv "PATH" (string-append tar "/bin:"
+ (string-append gzip "/bin:")
+ (string-append coreutils
"/bin:")))
+ (invoke "tar" "xf" source)
+ (chdir "matcha-2019-11-02")
+ (substitute* "Install" (("/bin/bash") (string-append bash
"/bin/bash")))
+ (mkdir-p themesdir)
+ (invoke (string-append bash "/bin/bash") "-c"
+ (string-append "./Install -d " themesdir))))))
+ (inputs
+ `(("gtk-engines", gtk-engines)))
+ (native-inputs
+ `(("tar", tar)
+ ("bash", bash)
+ ("coreutils", coreutils)
+ ("gzip", gzip)))
+ (synopsis "Flat design theme for GTK 3, GTK 2 and GNOME-Shell")
+ (description
+ "Matcha is a flat Design theme for GTK 3, GTK 2 and Gnome-Shell
+which supports GTK 3 and GTK 2 based desktop environments
+like Gnome, Unity, Budgie, Pantheon, XFCE, Mate and others.")
+ (home-page "https://github.com/vinceliuice/matcha")
+ (license license:gpl3)))
+
(define-public arc-theme
(package
(name "arc-theme")
--
2.24.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bug#38095] [PATCH] gnu: Add matcha-theme.
2019-11-07 15:51 ` Alexandros Theodotou
@ 2019-11-07 19:44 ` Alexandros Theodotou
2019-11-08 23:47 ` Alexandros Theodotou
0 siblings, 1 reply; 7+ messages in thread
From: Alexandros Theodotou @ 2019-11-07 19:44 UTC (permalink / raw)
To: 38095
Cleaned up a bit and used git download instead of tarball download,
fixed the commit message
From 29ebcff749c3508b2665bbb41fd886eec9532fcb Mon Sep 17 00:00:00 2001
From: Alexandros Theodotou <alex@zrythm.org>
Date: Thu, 7 Nov 2019 05:37:42 +0000
Subject: [PATCH] gnu: Add matcha-theme.
* gnu/packages/gnome.scm (matcha-theme): New variable.
---
gnu/packages/gnome.scm | 45 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index cd881b5b87..5442a8485d 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 Alexandros Theodotou <alex@zrythm.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -7105,6 +7106,50 @@ dark elements. It supports GNOME, Unity, Xfce,
and Openbox.")
(home-page "https://numixproject.github.io")
(license license:gpl3+)))
+(define-public matcha-theme
+ (package
+ (name "matcha-theme")
+ (version "2019-11-02")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/vinceliuice/matcha")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+
"0wci9ahap8kynq8cbyxr7aba9ndb1d4kiq42xvzr34vw1rhcahrr"))))
+ (build-system trivial-build-system)
+ (arguments
+ '(#:modules ((guix build utils))
+ #:builder
+ (begin
+ (use-modules (guix build utils))
+ (let* ((out (assoc-ref %outputs "out"))
+ (source (assoc-ref %build-inputs "source"))
+ (bash (assoc-ref %build-inputs "bash"))
+ (coreutils (assoc-ref %build-inputs "coreutils"))
+ (themesdir (string-append out "/share/themes")))
+ (setenv "PATH" (string-append coreutils "/bin:"
+ (string-append bash "/bin:")))
+ (copy-recursively source (getcwd))
+ (patch-shebang "Install")
+ (mkdir-p themesdir)
+ (invoke "./Install" "-d" themesdir)
+ #t))))
+ (inputs
+ `(("gtk-engines", gtk-engines)))
+ (native-inputs
+ `(("bash", bash)
+ ("coreutils", coreutils)))
+ (synopsis "Flat design theme for GTK 3, GTK 2 and GNOME-Shell")
+ (description
+ "Matcha is a flat Design theme for GTK 3, GTK 2 and Gnome-Shell
+which supports GTK 3 and GTK 2 based desktop environments
+like Gnome, Unity, Budgie, Pantheon, XFCE, Mate and others.")
+ (home-page "https://github.com/vinceliuice/matcha")
+ (license license:gpl3)))
+
(define-public arc-theme
(package
(name "arc-theme")
--
2.24.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bug#38095] [PATCH] gnu: Add matcha-theme.
2019-11-07 19:44 ` Alexandros Theodotou
@ 2019-11-08 23:47 ` Alexandros Theodotou
0 siblings, 0 replies; 7+ messages in thread
From: Alexandros Theodotou @ 2019-11-08 23:47 UTC (permalink / raw)
To: 38095
Fixed formatting issues
From 774b2af8acf06474bde79c78a0a356c24cc8480b Mon Sep 17 00:00:00 2001
From: Alexandros Theodotou <alex@zrythm.org>
Date: Thu, 7 Nov 2019 05:37:42 +0000
Subject: [PATCH] gnu: Add matcha-theme.
* gnu/packages/gnome.scm (matcha-theme): New variable.
---
gnu/packages/gnome.scm | 47 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index cd881b5b87..66a5745824 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 Alexandros Theodotou <alex@zrythm.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -7105,6 +7106,52 @@ dark elements. It supports GNOME, Unity, Xfce,
and Openbox.")
(home-page "https://numixproject.github.io")
(license license:gpl3+)))
+(define-public matcha-theme
+ (package
+ (name "matcha-theme")
+ (version "2019-11-02")
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/vinceliuice/matcha")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0wci9ahap8kynq8cbyxr7aba9ndb1d4kiq42xvzr34vw1rhcahrr"))))
+ (build-system trivial-build-system)
+ (arguments
+ '(#:modules ((guix build utils))
+ #:builder
+ (begin
+ (use-modules (guix build utils))
+ (let* ((out (assoc-ref %outputs "out"))
+ (source (assoc-ref %build-inputs "source"))
+ (bash (assoc-ref %build-inputs "bash"))
+ (coreutils (assoc-ref %build-inputs "coreutils"))
+ (themesdir (string-append out "/share/themes")))
+ (setenv "PATH"
+ (string-append coreutils "/bin:"
+ (string-append bash "/bin:")))
+ (copy-recursively source (getcwd))
+ (patch-shebang "Install")
+ (mkdir-p themesdir)
+ (invoke "./Install" "-d" themesdir)
+ #t))))
+ (inputs
+ `(("gtk-engines", gtk-engines)))
+ (native-inputs
+ `(("bash", bash)
+ ("coreutils", coreutils)))
+ (synopsis "Flat design theme for GTK 3, GTK 2 and GNOME-Shell")
+ (description "Matcha is a flat Design theme for GTK 3, GTK 2 and
+Gnome-Shell which supports GTK 3 and GTK 2 based desktop environments
like
+Gnome, Unity, Budgie, Pantheon, XFCE, Mate and others.")
+ (home-page "https://github.com/vinceliuice/matcha")
+ (license license:gpl3)))
+
(define-public arc-theme
(package
(name "arc-theme")
--
2.24.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bug#38095] [PATCH] gnu: Add matcha-theme.
2019-11-07 6:02 [bug#38095] [PATCH] gnu: Add matcha-theme Alexandros Theodotou
2019-11-07 15:45 ` Alexandros Theodotou
@ 2019-11-09 10:03 ` Leo Prikler
2019-11-09 21:47 ` bug#38095: " Ludovic Courtès
1 sibling, 1 reply; 7+ messages in thread
From: Leo Prikler @ 2019-11-09 10:03 UTC (permalink / raw)
To: alex; +Cc: 38095
[-- Attachment #1: Type: text/plain, Size: 713 bytes --]
I've taken the liberty to modify your package a bit -- your unquotes
were wrong -- and move it to gnome-xyz.scm, the file I've added for
themes and extensions. I verified, that the package builds and also
ran the linter. The only errors are some versioning stuff (a false
positive) and a missing Software Heritage archive (which was to be
expected).
I noticed, that there are also some other themes inside of gnome.scm,
since my own file is rather fresh. If the contributors of said
packages are reading this, I'd like them to also move their themes and
extensions to gnome-xyz.scm -- except adwaita-icon-theme, gnome-shell-
extensions, etc. which are part of GNOME itself.
Thank you and best regards,
Leo
[-- Attachment #2: 0001-gnu-Add-matcha-theme.patch --]
[-- Type: text/x-patch, Size: 2896 bytes --]
From 1ecf8bb9c4d1a47c2f7ca936725d2ceb74a379c4 Mon Sep 17 00:00:00 2001
From: Alexandros Theodotou <alex@zrythm.org>
Date: Sat, 9 Nov 2019 10:39:28 +0100
Subject: [PATCH] gnu: Add matcha-theme.
* gnu/packages/gnome.scm (matcha-theme): New variable.
---
gnu/packages/gnome-xyz.scm | 50 ++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index 8c45b552e8..1365c1b9cf 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2019 Leo Prikler <leo.prikler@student.tugraz.at>
+;;; Copyright © 2019 Alexandros Theodotou <alex@zrythm.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -23,9 +24,58 @@
#:use-module (guix packages)
#:use-module ((guix licenses) #:prefix license:)
+ #:use-module (gnu packages base)
+ #:use-module (gnu packages bash)
#:use-module (gnu packages glib)
+ #:use-module (gnu packages gtk)
#:use-module (gnu packages pkg-config))
+(define-public matcha-theme
+ (package
+ (name "matcha-theme")
+ (version "2019-11-02")
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/vinceliuice/matcha")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0wci9ahap8kynq8cbyxr7aba9ndb1d4kiq42xvzr34vw1rhcahrr"))))
+ (build-system trivial-build-system)
+ (arguments
+ '(#:modules ((guix build utils))
+ #:builder
+ (begin
+ (use-modules (guix build utils))
+ (let* ((out (assoc-ref %outputs "out"))
+ (source (assoc-ref %build-inputs "source"))
+ (bash (assoc-ref %build-inputs "bash"))
+ (coreutils (assoc-ref %build-inputs "coreutils"))
+ (themesdir (string-append out "/share/themes")))
+ (setenv "PATH"
+ (string-append coreutils "/bin:"
+ (string-append bash "/bin:")))
+ (copy-recursively source (getcwd))
+ (patch-shebang "Install")
+ (mkdir-p themesdir)
+ (invoke "./Install" "-d" themesdir)
+ #t))))
+ (inputs
+ `(("gtk-engines" ,gtk-engines)))
+ (native-inputs
+ `(("bash" ,bash)
+ ("coreutils" ,coreutils)))
+ (synopsis "Flat design theme for GTK 3, GTK 2 and GNOME-Shell")
+ (description "Matcha is a flat Design theme for GTK 3, GTK 2 and
+Gnome-Shell which supports GTK 3 and GTK 2 based desktop environments
+like Gnome, Unity, Budgie, Pantheon, XFCE, Mate and others.")
+ (home-page "https://github.com/vinceliuice/matcha")
+ (license license:gpl3)))
+
(define-public delft-icon-theme
(package
(name "delft-icon-theme")
--
2.24.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* bug#38095: [PATCH] gnu: Add matcha-theme.
2019-11-09 10:03 ` Leo Prikler
@ 2019-11-09 21:47 ` Ludovic Courtès
0 siblings, 0 replies; 7+ messages in thread
From: Ludovic Courtès @ 2019-11-09 21:47 UTC (permalink / raw)
To: Leo Prikler; +Cc: alex, 38095-done
Hi Leo and Alexandros,
I changed the license to ‘gpl3+’ (was ‘gpl3’) because the package does
not mandate any specific version, and applied the patch.
Thanks to both of you for your work!
Ludo’.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2019-11-09 21:48 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-07 6:02 [bug#38095] [PATCH] gnu: Add matcha-theme Alexandros Theodotou
2019-11-07 15:45 ` Alexandros Theodotou
2019-11-07 15:51 ` Alexandros Theodotou
2019-11-07 19:44 ` Alexandros Theodotou
2019-11-08 23:47 ` Alexandros Theodotou
2019-11-09 10:03 ` Leo Prikler
2019-11-09 21:47 ` bug#38095: " Ludovic Courtès
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).