diff mbox

[6/6] adwaita-icon-theme: new package

Message ID 1414833694-4236-7-git-send-email-eric.le.bihan.dev@free.fr
State Accepted
Headers show

Commit Message

Eric Le Bihan Nov. 1, 2014, 9:21 a.m. UTC
This package provides the Adwaita icon theme from the GNOME desktop
environment.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
---
 package/Config.in                                |  1 +
 package/adwaita-icon-theme/Config.in             |  4 ++++
 package/adwaita-icon-theme/adwaita-icon-theme.mk | 14 ++++++++++++++
 3 files changed, 19 insertions(+)
 create mode 100644 package/adwaita-icon-theme/Config.in
 create mode 100644 package/adwaita-icon-theme/adwaita-icon-theme.mk

Comments

Thomas Petazzoni Nov. 1, 2014, 2:32 p.m. UTC | #1
Dear Eric Le Bihan,

On Sat,  1 Nov 2014 10:21:34 +0100, Eric Le Bihan wrote:

>  menu "Graphics"
> +	source "package/adwaita-icon-theme/Config.in"

At some point it would be great to find a good place for "data" such as
icon themes or fonts. We currently have no good place, and they end up
in "Libraries" -> "Graphics" or some other not very appropriate place.

> diff --git a/package/adwaita-icon-theme/adwaita-icon-theme.mk b/package/adwaita-icon-theme/adwaita-icon-theme.mk
> new file mode 100644
> index 0000000..ef797a2
> --- /dev/null
> +++ b/package/adwaita-icon-theme/adwaita-icon-theme.mk
> @@ -0,0 +1,14 @@
> +################################################################################
> +#
> +# adwaita-icon-theme
> +#
> +################################################################################
> +
> +ADWAITA_ICON_THEME_VERSION_MAJOR = 3.14
> +ADWAITA_ICON_THEME_VERSION = $(ADWAITA_ICON_THEME_VERSION_MAJOR).0
> +ADWAITA_ICON_THEME_SITE = ftp://ftp.gnome.org/pub/gnome/sources/adwaita-icon-theme/$(ADWAITA_ICON_THEME_VERSION_MAJOR)
> +ADWAITA_ICON_THEME_SOURCE = adwaita-icon-theme-$(ADWAITA_ICON_THEME_VERSION).tar.xz
> +ADWAITA_ICON_THEME_LICENSE = LGPLv3

License is LGPLv3 or CC-BY-SA 3.0.

> +ADWAITA_ICON_THEME_LICENSE_FILES = COPYING_LGPL COPYING_CCBYSA3

I've also added the COPYING file, which clearly states that the license
is LGPLv3 or CC-BY-SA.

Committed with these issues fixed.

Best regards,

Thomas
Thomas Petazzoni Nov. 1, 2014, 10:37 p.m. UTC | #2
Dear Eric Le Bihan,

On Sat,  1 Nov 2014 10:21:34 +0100, Eric Le Bihan wrote:
> This package provides the Adwaita icon theme from the GNOME desktop
> environment.
> 
> Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
> ---
>  package/Config.in                                |  1 +
>  package/adwaita-icon-theme/Config.in             |  4 ++++
>  package/adwaita-icon-theme/adwaita-icon-theme.mk | 14 ++++++++++++++
>  3 files changed, 19 insertions(+)
>  create mode 100644 package/adwaita-icon-theme/Config.in
>  create mode 100644 package/adwaita-icon-theme/adwaita-icon-theme.mk

This package needs gtk-update-icon-cache, so presumably, it should
depend on host-libgtk3, and therefore also only be selectable for
Gtk3-enabled configuratons, no?

See:
http://autobuild.buildroot.org/results/f8d/f8d0e2198fa54f9141512e2db6dc46e3cee1cd44/build-end.log

Can you have a look?

Thanks!

Thomas
diff mbox

Patch

diff --git a/package/Config.in b/package/Config.in
index 5d5a9ee..bb9d4b5 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -624,6 +624,7 @@  menu "Filesystem"
 endmenu
 
 menu "Graphics"
+	source "package/adwaita-icon-theme/Config.in"
 	source "package/atk/Config.in"
 	source "package/cairo/Config.in"
 	source "package/fltk/Config.in"
diff --git a/package/adwaita-icon-theme/Config.in b/package/adwaita-icon-theme/Config.in
new file mode 100644
index 0000000..6fabd48
--- /dev/null
+++ b/package/adwaita-icon-theme/Config.in
@@ -0,0 +1,4 @@ 
+config BR2_PACKAGE_ADWAITA_ICON_THEME
+	bool "adwaita icon theme"
+	help
+	  Adwaita icon theme
diff --git a/package/adwaita-icon-theme/adwaita-icon-theme.mk b/package/adwaita-icon-theme/adwaita-icon-theme.mk
new file mode 100644
index 0000000..ef797a2
--- /dev/null
+++ b/package/adwaita-icon-theme/adwaita-icon-theme.mk
@@ -0,0 +1,14 @@ 
+################################################################################
+#
+# adwaita-icon-theme
+#
+################################################################################
+
+ADWAITA_ICON_THEME_VERSION_MAJOR = 3.14
+ADWAITA_ICON_THEME_VERSION = $(ADWAITA_ICON_THEME_VERSION_MAJOR).0
+ADWAITA_ICON_THEME_SITE = ftp://ftp.gnome.org/pub/gnome/sources/adwaita-icon-theme/$(ADWAITA_ICON_THEME_VERSION_MAJOR)
+ADWAITA_ICON_THEME_SOURCE = adwaita-icon-theme-$(ADWAITA_ICON_THEME_VERSION).tar.xz
+ADWAITA_ICON_THEME_LICENSE = LGPLv3
+ADWAITA_ICON_THEME_LICENSE_FILES = COPYING_LGPL COPYING_CCBYSA3
+
+$(eval $(autotools-package))