unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#29128] [PATCH 1/4] gnu: Add faba-icon-theme.
@ 2017-11-03  8:58 Brendan Tildesley
  2017-11-03  8:58 ` [bug#29126] [PATCH 2/4] gnu: moka-icon-theme: Simplify package definition Brendan Tildesley
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Brendan Tildesley @ 2017-11-03  8:58 UTC (permalink / raw)
  To: 29128

* gnu/packages/gnome.scm (faba-icon-theme): 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 bb207e56d..8520721ff 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -27,6 +27,7 @@
 ;;; Copyright © 2017 nee <nee-git@hidamari.blue>
 ;;; Copyright © 2017 Chris Marusich <cmmarusich@gmail.com>
 ;;; Copyright © 2017 Mohammed Sadiq <sadiq@sadiqpk.org>
+;;; Copyright © 2017 Brendan Tildesley <brendan.tildesley@openmailbox.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -6301,6 +6302,43 @@ like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
     ;; No "or later" language found.
     (license license:gpl3)))
 
+(define-public faba-icon-theme
+  (package
+    (name "faba-icon-theme")
+    (version "4.1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/moka-project/"
+                           name "/archive/v" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0hi2dl627ayfnihn3v6x9xzid668m4hp098hb7hrkxvahh4h9by7"))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-makefile.am
+           (lambda _
+             (substitute* '("Makefile.am")
+               (("\\$\\(DESTDIR\\)/usr/share")
+                "$(datadir)"))
+             #t))
+         (add-after 'patch-makefile.am 'bootstrap
+           (lambda _
+             (zero? (system* "autoreconf" "-vif")))))))
+    (native-inputs
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)))
+    (synopsis "Faba icon theme")
+    (description
+     "Faba is a minimal icon set used as a basis for other themes such as
+Moka")
+    (home-page "https://snwh.org/moka")
+    (license (list license:lgpl3+
+                   license:cc-by-sa4.0))))
+
 (define-public moka-icon-theme
   (package
     (name "moka-icon-theme")
-- 
2.14.3

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

* [bug#29126] [PATCH 2/4] gnu: moka-icon-theme: Simplify package definition.
  2017-11-03  8:58 [bug#29128] [PATCH 1/4] gnu: Add faba-icon-theme Brendan Tildesley
@ 2017-11-03  8:58 ` Brendan Tildesley
  2017-11-06 23:04   ` bug#29126: " Ludovic Courtès
  2017-11-03  8:58 ` [bug#29127] [PATCH 3/4] gnu: moka-icon-theme: Add faba-icon-theme as propagated input Brendan Tildesley
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 9+ messages in thread
From: Brendan Tildesley @ 2017-11-03  8:58 UTC (permalink / raw)
  To: 29126

* gnu/packages/gnome.scm (moka-icon-theme): Inherit faba-icon-theme to avoid
  duplicating similar package definition.
---
 gnu/packages/gnome.scm | 18 +-----------------
 1 file changed, 1 insertion(+), 17 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 8520721ff..ca1f659bf 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -6341,6 +6341,7 @@ Moka")
 
 (define-public moka-icon-theme
   (package
+    (inherit faba-icon-theme)
     (name "moka-icon-theme")
     (version "5.3.6")
     (source (origin
@@ -6352,26 +6353,9 @@ Moka")
               (sha256
                (base32
                 "04axinv79qnngsxkwqzi5j9lc3hn24rjqps5ai8d42pdnfaf0x37"))))
-    (build-system gnu-build-system)
-    (arguments
-     '(#:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'patch-makefile.am
-           (lambda _
-             (substitute* '("Makefile.am")
-               (("\\$\\(DESTDIR\\)/usr/share")
-                "$(datadir)"))
-             #t))
-         (add-after 'patch-makefile.am 'bootstrap
-           (lambda _
-             (zero? (system* "autoreconf" "-vif")))))))
-    (native-inputs
-     `(("autoconf" ,autoconf)
-       ("automake" ,automake)))
     (synopsis "Moka icon theme")
     (description "Moka is a stylized desktop icon set, designed to be clear,
 simple and consistent.")
-    (home-page "http://snwh.org/moka")
     (license license:gpl3+)))
 
 (define-public arc-icon-theme
-- 
2.14.3

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

* [bug#29127] [PATCH 3/4] gnu: moka-icon-theme: Add faba-icon-theme as propagated input.
  2017-11-03  8:58 [bug#29128] [PATCH 1/4] gnu: Add faba-icon-theme Brendan Tildesley
  2017-11-03  8:58 ` [bug#29126] [PATCH 2/4] gnu: moka-icon-theme: Simplify package definition Brendan Tildesley
@ 2017-11-03  8:58 ` Brendan Tildesley
  2017-11-06 23:04   ` bug#29127: " Ludovic Courtès
  2017-11-06 23:06   ` [bug#29127] " Ludovic Courtès
  2017-11-03  8:58 ` [bug#29129] [PATCH 4/4] gnu: moka-icon-theme: Fix license Brendan Tildesley
  2017-11-06 23:03 ` bug#29128: [PATCH 1/4] gnu: Add faba-icon-theme Ludovic Courtès
  3 siblings, 2 replies; 9+ messages in thread
From: Brendan Tildesley @ 2017-11-03  8:58 UTC (permalink / raw)
  To: 29127

* gnu/packages/gnome.scm (moka-icon-theme): Moka is based on Faba by using it
  as a fallback icon set instead of bundling it, so we need to add it as a
  propagated-input.
---
 gnu/packages/gnome.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index ca1f659bf..21b639bff 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -6353,6 +6353,8 @@ Moka")
               (sha256
                (base32
                 "04axinv79qnngsxkwqzi5j9lc3hn24rjqps5ai8d42pdnfaf0x37"))))
+    (propagated-inputs
+     `(("faba-icon-theme" ,faba-icon-theme)))
     (synopsis "Moka icon theme")
     (description "Moka is a stylized desktop icon set, designed to be clear,
 simple and consistent.")
-- 
2.14.3

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

* [bug#29129] [PATCH 4/4] gnu: moka-icon-theme: Fix license.
  2017-11-03  8:58 [bug#29128] [PATCH 1/4] gnu: Add faba-icon-theme Brendan Tildesley
  2017-11-03  8:58 ` [bug#29126] [PATCH 2/4] gnu: moka-icon-theme: Simplify package definition Brendan Tildesley
  2017-11-03  8:58 ` [bug#29127] [PATCH 3/4] gnu: moka-icon-theme: Add faba-icon-theme as propagated input Brendan Tildesley
@ 2017-11-03  8:58 ` Brendan Tildesley
  2017-11-06 23:06   ` Ludovic Courtès
  2017-11-06 23:03 ` bug#29128: [PATCH 1/4] gnu: Add faba-icon-theme Ludovic Courtès
  3 siblings, 1 reply; 9+ messages in thread
From: Brendan Tildesley @ 2017-11-03  8:58 UTC (permalink / raw)
  To: 29129

* gnu/packages/gnome.scm (moka-icon-theme): Add cc-by-sa4.0 to license field.
---
 gnu/packages/gnome.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 21b639bff..5ca6a0462 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -6358,7 +6358,8 @@ Moka")
     (synopsis "Moka icon theme")
     (description "Moka is a stylized desktop icon set, designed to be clear,
 simple and consistent.")
-    (license license:gpl3+)))
+    (license (list license:gpl3+
+                   license:cc-by-sa4.0))))
 
 (define-public arc-icon-theme
   (package
-- 
2.14.3

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

* bug#29128: [PATCH 1/4] gnu: Add faba-icon-theme.
  2017-11-03  8:58 [bug#29128] [PATCH 1/4] gnu: Add faba-icon-theme Brendan Tildesley
                   ` (2 preceding siblings ...)
  2017-11-03  8:58 ` [bug#29129] [PATCH 4/4] gnu: moka-icon-theme: Fix license Brendan Tildesley
@ 2017-11-06 23:03 ` Ludovic Courtès
  3 siblings, 0 replies; 9+ messages in thread
From: Ludovic Courtès @ 2017-11-06 23:03 UTC (permalink / raw)
  To: Brendan Tildesley; +Cc: 29128-done

Brendan Tildesley <brendan.tildesley@openmailbox.org> skribis:

> * gnu/packages/gnome.scm (faba-icon-theme): New variable.

Applied, thanks!

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

* bug#29126: [PATCH 2/4] gnu: moka-icon-theme: Simplify package definition.
  2017-11-03  8:58 ` [bug#29126] [PATCH 2/4] gnu: moka-icon-theme: Simplify package definition Brendan Tildesley
@ 2017-11-06 23:04   ` Ludovic Courtès
  0 siblings, 0 replies; 9+ messages in thread
From: Ludovic Courtès @ 2017-11-06 23:04 UTC (permalink / raw)
  To: Brendan Tildesley; +Cc: 29126-done

Brendan Tildesley <brendan.tildesley@openmailbox.org> skribis:

> * gnu/packages/gnome.scm (moka-icon-theme): Inherit faba-icon-theme to avoid
>   duplicating similar package definition.

Applied, thanks!

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

* bug#29127: [PATCH 3/4] gnu: moka-icon-theme: Add faba-icon-theme as propagated input.
  2017-11-03  8:58 ` [bug#29127] [PATCH 3/4] gnu: moka-icon-theme: Add faba-icon-theme as propagated input Brendan Tildesley
@ 2017-11-06 23:04   ` Ludovic Courtès
  2017-11-06 23:06   ` [bug#29127] " Ludovic Courtès
  1 sibling, 0 replies; 9+ messages in thread
From: Ludovic Courtès @ 2017-11-06 23:04 UTC (permalink / raw)
  To: Brendan Tildesley; +Cc: 29127-done

Brendan Tildesley <brendan.tildesley@openmailbox.org> skribis:

> * gnu/packages/gnome.scm (moka-icon-theme): Moka is based on Faba by using it
>   as a fallback icon set instead of bundling it, so we need to add it as a
>   propagated-input.

Applied, thanks!

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

* [bug#29127] [PATCH 3/4] gnu: moka-icon-theme: Add faba-icon-theme as propagated input.
  2017-11-03  8:58 ` [bug#29127] [PATCH 3/4] gnu: moka-icon-theme: Add faba-icon-theme as propagated input Brendan Tildesley
  2017-11-06 23:04   ` bug#29127: " Ludovic Courtès
@ 2017-11-06 23:06   ` Ludovic Courtès
  1 sibling, 0 replies; 9+ messages in thread
From: Ludovic Courtès @ 2017-11-06 23:06 UTC (permalink / raw)
  To: Brendan Tildesley; +Cc: 29127

Brendan Tildesley <brendan.tildesley@openmailbox.org> skribis:

> * gnu/packages/gnome.scm (moka-icon-theme): Moka is based on Faba by using it
>   as a fallback icon set instead of bundling it, so we need to add it as a
>   propagated-input.

Note that I added this explanation as a comment in the code.

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

* [bug#29129] [PATCH 4/4] gnu: moka-icon-theme: Fix license.
  2017-11-03  8:58 ` [bug#29129] [PATCH 4/4] gnu: moka-icon-theme: Fix license Brendan Tildesley
@ 2017-11-06 23:06   ` Ludovic Courtès
  0 siblings, 0 replies; 9+ messages in thread
From: Ludovic Courtès @ 2017-11-06 23:06 UTC (permalink / raw)
  To: Brendan Tildesley; +Cc: 29129

Brendan Tildesley <brendan.tildesley@openmailbox.org> skribis:

> * gnu/packages/gnome.scm (moka-icon-theme): Add cc-by-sa4.0 to license field.

Applied, thank you for this patch series!

Ludo’.

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

end of thread, other threads:[~2017-11-06 23:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-03  8:58 [bug#29128] [PATCH 1/4] gnu: Add faba-icon-theme Brendan Tildesley
2017-11-03  8:58 ` [bug#29126] [PATCH 2/4] gnu: moka-icon-theme: Simplify package definition Brendan Tildesley
2017-11-06 23:04   ` bug#29126: " Ludovic Courtès
2017-11-03  8:58 ` [bug#29127] [PATCH 3/4] gnu: moka-icon-theme: Add faba-icon-theme as propagated input Brendan Tildesley
2017-11-06 23:04   ` bug#29127: " Ludovic Courtès
2017-11-06 23:06   ` [bug#29127] " Ludovic Courtès
2017-11-03  8:58 ` [bug#29129] [PATCH 4/4] gnu: moka-icon-theme: Fix license Brendan Tildesley
2017-11-06 23:06   ` Ludovic Courtès
2017-11-06 23:03 ` bug#29128: [PATCH 1/4] gnu: Add faba-icon-theme 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).