Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] gtksourceview: new package
@ 2016-07-29  7:51 Fabrice Fontaine
  2016-07-29  7:51 ` [Buildroot] [PATCH 2/2] gupnp-tools: " Fabrice Fontaine
  2016-07-30 13:56 ` [Buildroot] [PATCH 1/2] gtksourceview: " Thomas Petazzoni
  0 siblings, 2 replies; 4+ messages in thread
From: Fabrice Fontaine @ 2016-07-29  7:51 UTC (permalink / raw)
  To: buildroot

GtkSourceView is a portable C library that extends the
standard GTK+ framework for multiline text editing with
support for configurable syntax highlighting, unlimited
undo/redo, search and replace, a completion framework,
printing and other features typical of a source code editor.

https://projects.gnome.org/gtksourceview

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
---
 package/Config.in                        |  1 +
 package/gtksourceview/Config.in          | 32 ++++++++++++++++++++++++++++++++
 package/gtksourceview/gtksourceview.hash |  2 ++
 package/gtksourceview/gtksourceview.mk   | 17 +++++++++++++++++
 4 files changed, 52 insertions(+)
 create mode 100644 package/gtksourceview/Config.in
 create mode 100644 package/gtksourceview/gtksourceview.hash
 create mode 100644 package/gtksourceview/gtksourceview.mk

diff --git a/package/Config.in b/package/Config.in
index ab9c42f..cf1d54e 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -133,6 +133,7 @@ menu "Development tools"
 	source "package/git/Config.in"
 	source "package/gperf/Config.in"
 	source "package/grep/Config.in"
+	source "package/gtksourceview/Config.in"
 	source "package/intltool/Config.in"
 	source "package/jq/Config.in"
 	source "package/libtool/Config.in"
diff --git a/package/gtksourceview/Config.in b/package/gtksourceview/Config.in
new file mode 100644
index 0000000..be7536b
--- /dev/null
+++ b/package/gtksourceview/Config.in
@@ -0,0 +1,32 @@
+config BR2_PACKAGE_GTKSOURCEVIEW
+	bool "gtksourceview"
+	depends on BR2_USE_WCHAR # glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
+	depends on BR2_USE_MMU # glib2
+	depends on BR2_INSTALL_LIBSTDCPP # libgtk3
+	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libgtk3
+	depends on BR2_PACKAGE_MESA3D_OPENGL_EGL || \
+		BR2_PACKAGE_HAS_LIBGL # libgtk3
+	select BR2_PACKAGE_LIBGLIB2
+	select BR2_PACKAGE_LIBXML2
+	select BR2_PACKAGE_LIBGTK3
+	help
+	  GtkSourceView is a portable C library that extends the
+	  standard GTK+ framework for multiline text editing with
+	  support for configurable syntax highlighting, unlimited
+	  undo/redo, search and replace, a completion framework,
+	  printing and other features typical of a source code editor.
+
+	  https://projects.gnome.org/gtksourceview
+
+comment "gtksourceview needs a toolchain w/ wchar, threads, C++"
+	depends on BR2_USE_MMU
+	depends on BR2_TOOLCHAIN_HAS_SYNC_4
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
+		!BR2_INSTALL_LIBSTDCPP
+
+comment "gtksourceview needs an OpenGL or OpenGL EGL backend provided by mesa3d"
+	depends on BR2_USE_MMU
+	depends on BR2_TOOLCHAIN_HAS_SYNC_4
+	depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL && \
+		!BR2_PACKAGE_HAS_LIBGL
diff --git a/package/gtksourceview/gtksourceview.hash b/package/gtksourceview/gtksourceview.hash
new file mode 100644
index 0000000..1fd22af
--- /dev/null
+++ b/package/gtksourceview/gtksourceview.hash
@@ -0,0 +1,2 @@
+# Hash from: http://ftp.gnome.org/pub/gnome/sources/gtksourceview/3.21/gtksourceview-3.21.3.sha256sum:
+sha256	12ea703e1903215629580ddab7751e419bf73a8aacfbbc53c75dc1b9cb0dfba7	gtksourceview-3.21.3.tar.xz
diff --git a/package/gtksourceview/gtksourceview.mk b/package/gtksourceview/gtksourceview.mk
new file mode 100644
index 0000000..9424418
--- /dev/null
+++ b/package/gtksourceview/gtksourceview.mk
@@ -0,0 +1,17 @@
+################################################################################
+#
+# gtksourceview
+#
+################################################################################
+
+GTKSOURCEVIEW_VERSION_MAJOR = 3.21
+GTKSOURCEVIEW_VERSION = $(GTKSOURCEVIEW_VERSION_MAJOR).3
+GTKSOURCEVIEW_SOURCE = gtksourceview-$(GTKSOURCEVIEW_VERSION).tar.xz
+GTKSOURCEVIEW_SITE = \
+	http://ftp.gnome.org/pub/gnome/sources/gtksourceview/$(GTKSOURCEVIEW_VERSION_MAJOR)
+GTKSOURCEVIEW_LICENSE = LGPLv2+
+GTKSOURCEVIEW_LICENSE_FILES = COPYING
+GTKSOURCEVIEW_INSTALL_STAGING = YES
+GTKSOURCEVIEW_DEPENDENCIES = host-pkgconf libglib2 libxml2 libgtk3
+
+$(eval $(autotools-package))
-- 
2.7.4

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

* [Buildroot] [PATCH 2/2] gupnp-tools: new package
  2016-07-29  7:51 [Buildroot] [PATCH 1/2] gtksourceview: new package Fabrice Fontaine
@ 2016-07-29  7:51 ` Fabrice Fontaine
  2016-07-30 14:34   ` Thomas Petazzoni
  2016-07-30 13:56 ` [Buildroot] [PATCH 1/2] gtksourceview: " Thomas Petazzoni
  1 sibling, 1 reply; 4+ messages in thread
From: Fabrice Fontaine @ 2016-07-29  7:51 UTC (permalink / raw)
  To: buildroot

GUPnP Tools are free replacements of Intel UPnP tools that use
GUPnP. They provides client and server side tools which enable
one to easily test and debug one's UPnP devices and control
points.

http://www.gupnp.org/

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
---
 package/Config.in                    |  1 +
 package/gupnp-tools/Config.in        | 34 ++++++++++++++++++++++++++++++++++
 package/gupnp-tools/gupnp-tools.hash |  2 ++
 package/gupnp-tools/gupnp-tools.mk   | 35 +++++++++++++++++++++++++++++++++++
 4 files changed, 72 insertions(+)
 create mode 100644 package/gupnp-tools/Config.in
 create mode 100644 package/gupnp-tools/gupnp-tools.hash
 create mode 100644 package/gupnp-tools/gupnp-tools.mk

diff --git a/package/Config.in b/package/Config.in
index cf1d54e..ee7ba39 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -134,6 +134,7 @@ menu "Development tools"
 	source "package/gperf/Config.in"
 	source "package/grep/Config.in"
 	source "package/gtksourceview/Config.in"
+	source "package/gupnp-tools/Config.in"
 	source "package/intltool/Config.in"
 	source "package/jq/Config.in"
 	source "package/libtool/Config.in"
diff --git a/package/gupnp-tools/Config.in b/package/gupnp-tools/Config.in
new file mode 100644
index 0000000..769ab6d
--- /dev/null
+++ b/package/gupnp-tools/Config.in
@@ -0,0 +1,34 @@
+config BR2_PACKAGE_GUPNP_TOOLS
+	bool "gupnp-tools"
+	depends on BR2_USE_WCHAR # glib2, gupnp
+	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2, gupnp
+	depends on BR2_USE_MMU # glib2, gupnp
+	depends on BR2_INSTALL_LIBSTDCPP # libgtk3
+	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libgtk3
+	depends on BR2_PACKAGE_MESA3D_OPENGL_EGL || \
+		BR2_PACKAGE_HAS_LIBGL # libgtk3
+	select BR2_PACKAGE_LIBGLIB2
+	select BR2_PACKAGE_GSSDP
+	select BR2_PACKAGE_GUPNP
+	select BR2_PACKAGE_LIBSOUP
+	select BR2_PACKAGE_LIBXML2
+	select BR2_PACKAGE_LIBGTK3
+	help
+	  GUPnP Tools are free replacements of Intel UPnP tools that use
+	  GUPnP. They provides client and server side tools which enable
+	  one to easily test and debug one's UPnP devices and control
+	  points.
+
+	  http://www.gupnp.org/
+
+comment "gupnp-tools needs a toolchain w/ wchar, threads, C++"
+	depends on BR2_USE_MMU
+	depends on BR2_TOOLCHAIN_HAS_SYNC_4
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
+		!BR2_INSTALL_LIBSTDCPP
+
+comment "gupnp-tools needs an OpenGL or OpenGL EGL backend provided by mesa3d"
+	depends on BR2_USE_MMU
+	depends on BR2_TOOLCHAIN_HAS_SYNC_4
+	depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL && \
+		!BR2_PACKAGE_HAS_LIBGL
diff --git a/package/gupnp-tools/gupnp-tools.hash b/package/gupnp-tools/gupnp-tools.hash
new file mode 100644
index 0000000..0d37a87
--- /dev/null
+++ b/package/gupnp-tools/gupnp-tools.hash
@@ -0,0 +1,2 @@
+# Hash from: http://ftp.gnome.org/pub/gnome/sources/gupnp-tools/0.8/gupnp-tools-0.8.12.sha256sum:
+sha256	658de96953608c4b1f47578ae563a7066d1f1983565daf22ad52b7b328ef97b1	gupnp-tools-0.8.12.tar.xz
diff --git a/package/gupnp-tools/gupnp-tools.mk b/package/gupnp-tools/gupnp-tools.mk
new file mode 100644
index 0000000..5ce2c81
--- /dev/null
+++ b/package/gupnp-tools/gupnp-tools.mk
@@ -0,0 +1,35 @@
+################################################################################
+#
+# gupnp-tools
+#
+################################################################################
+
+GUPNP_TOOLS_VERSION_MAJOR = 0.8
+GUPNP_TOOLS_VERSION = $(GUPNP_TOOLS_VERSION_MAJOR).12
+GUPNP_TOOLS_SOURCE = gupnp-tools-$(GUPNP_TOOLS_VERSION).tar.xz
+GUPNP_TOOLS_SITE = \
+	http://ftp.gnome.org/pub/gnome/sources/gupnp-tools/$(GUPNP_TOOLS_VERSION_MAJOR)
+GUPNP_TOOLS_LICENSE = LGPLv2+
+GUPNP_TOOLS_LICENSE_FILES = COPYING
+GUPNP_TOOLS_INSTALL_STAGING = YES
+GUPNP_TOOLS_DEPENDENCIES = \
+	host-pkgconf \
+	libglib2 \
+	libxml2 \
+	gssdp \
+	gupnp \
+	libsoup \
+	libgtk3
+
+ifeq ($(BR2_PACKAGE_GUPNP_AV),y)
+GUPNP_TOOLS_CONF_OPTS += --with-av
+GUPNP_TOOLS_DEPENDENCIES += gupnp-av
+else
+GUPNP_TOOLS_CONF_OPTS += --without-av
+endif
+
+ifeq ($(BR2_PACKAGE_GTKSOURCEVIEW),y)
+GUPNP_TOOLS_DEPENDENCIES += gtksourceview
+endif
+
+$(eval $(autotools-package))
-- 
2.7.4

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

* [Buildroot] [PATCH 1/2] gtksourceview: new package
  2016-07-29  7:51 [Buildroot] [PATCH 1/2] gtksourceview: new package Fabrice Fontaine
  2016-07-29  7:51 ` [Buildroot] [PATCH 2/2] gupnp-tools: " Fabrice Fontaine
@ 2016-07-30 13:56 ` Thomas Petazzoni
  1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2016-07-30 13:56 UTC (permalink / raw)
  To: buildroot

Hello,

On Fri, 29 Jul 2016 09:51:28 +0200, Fabrice Fontaine wrote:

> diff --git a/package/Config.in b/package/Config.in
> index ab9c42f..cf1d54e 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -133,6 +133,7 @@ menu "Development tools"
>  	source "package/git/Config.in"
>  	source "package/gperf/Config.in"
>  	source "package/grep/Config.in"
> +	source "package/gtksourceview/Config.in"

It really isn't a "Development tools", it's a library, so I've put it
under Libraries -> Graphics.

> diff --git a/package/gtksourceview/Config.in b/package/gtksourceview/Config.in
> new file mode 100644
> index 0000000..be7536b
> --- /dev/null
> +++ b/package/gtksourceview/Config.in
> @@ -0,0 +1,32 @@
> +config BR2_PACKAGE_GTKSOURCEVIEW
> +	bool "gtksourceview"
> +	depends on BR2_USE_WCHAR # glib2
> +	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
> +	depends on BR2_USE_MMU # glib2
> +	depends on BR2_INSTALL_LIBSTDCPP # libgtk3
> +	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libgtk3
> +	depends on BR2_PACKAGE_MESA3D_OPENGL_EGL || \
> +		BR2_PACKAGE_HAS_LIBGL # libgtk3
> +	select BR2_PACKAGE_LIBGLIB2
> +	select BR2_PACKAGE_LIBXML2
> +	select BR2_PACKAGE_LIBGTK3

It's really complicated to duplicate all the gtk3 depends on. So
instead, I've used "depends on BR2_PACKAGE_LIBGTK3". It's pretty
obvious for the user that gtksourceview needs gtk anyway.

This allows to get rid of the complicated Config.in comments as well.

> +GTKSOURCEVIEW_LICENSE = LGPLv2+

License is LGPLv2.1+.

I've fixed those minor issues, and applied. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] [PATCH 2/2] gupnp-tools: new package
  2016-07-29  7:51 ` [Buildroot] [PATCH 2/2] gupnp-tools: " Fabrice Fontaine
@ 2016-07-30 14:34   ` Thomas Petazzoni
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2016-07-30 14:34 UTC (permalink / raw)
  To: buildroot

Hello,

On Fri, 29 Jul 2016 09:51:29 +0200, Fabrice Fontaine wrote:
> GUPnP Tools are free replacements of Intel UPnP tools that use
> GUPnP. They provides client and server side tools which enable
> one to easily test and debug one's UPnP devices and control
> points.
> 
> http://www.gupnp.org/
> 
> Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
> ---
>  package/Config.in                    |  1 +
>  package/gupnp-tools/Config.in        | 34 ++++++++++++++++++++++++++++++++++
>  package/gupnp-tools/gupnp-tools.hash |  2 ++
>  package/gupnp-tools/gupnp-tools.mk   | 35 +++++++++++++++++++++++++++++++++++
>  4 files changed, 72 insertions(+)
>  create mode 100644 package/gupnp-tools/Config.in
>  create mode 100644 package/gupnp-tools/gupnp-tools.hash
>  create mode 100644 package/gupnp-tools/gupnp-tools.mk

I've applied, after doing the following changes:

    [Thomas:
     - use "depends on BR2_PACKAGE_LIBGTK3" instead of a select, and
       simplify the Config.in comments consequently.
     - move from "Development tools" to "Networking applications"
     - license is GPLv2+, not LGPLv2+.]

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

end of thread, other threads:[~2016-07-30 14:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-29  7:51 [Buildroot] [PATCH 1/2] gtksourceview: new package Fabrice Fontaine
2016-07-29  7:51 ` [Buildroot] [PATCH 2/2] gupnp-tools: " Fabrice Fontaine
2016-07-30 14:34   ` Thomas Petazzoni
2016-07-30 13:56 ` [Buildroot] [PATCH 1/2] gtksourceview: " Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox