From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/mono-gtksharp: new package
Date: Thu, 05 Mar 2015 01:12:54 +0100 [thread overview]
Message-ID: <54F79F86.90108@mind.be> (raw)
In-Reply-To: <1423908982-23475-1-git-send-email-angelo.compagnucci@gmail.com>
On 14/02/15 11:16, Angelo Compagnucci wrote:
> This patch adds gtksharp package for mono.
>
> Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
A few comments below, but nothing obligatory.
> ---
>
> Changes: I superseeded previous patch to adhere the package naming, so
> gtksharp becames mono-gtksharp.
>
> package/Config.in | 5 +++++
> package/mono-gtksharp/Config.in | 7 +++++++
> package/mono-gtksharp/mono-gtksharp.mk | 16 ++++++++++++++++
> 3 files changed, 28 insertions(+)
> create mode 100644 package/mono-gtksharp/Config.in
> create mode 100644 package/mono-gtksharp/mono-gtksharp.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index fe3d3d0..fbba20c 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -464,6 +464,11 @@ menu "Lua libraries/modules"
> endmenu
> endif
> source "package/mono/Config.in"
> +if BR2_PACKAGE_MONO
> +menu "Mono libraries/modules"
> + source "package/mono-gtksharp/Config.in"
> +endmenu
> +endif
> source "package/nodejs/Config.in"
> source "package/perl/Config.in"
> if BR2_PACKAGE_PERL
> diff --git a/package/mono-gtksharp/Config.in b/package/mono-gtksharp/Config.in
> new file mode 100644
> index 0000000..b3f16f0
> --- /dev/null
> +++ b/package/mono-gtksharp/Config.in
> @@ -0,0 +1,7 @@
> +config BR2_PACKAGE_MONO_GTKSHARP
> + bool "gtk#"
> + depends on BR2_PACKAGE_LIBGTK3
I think it would be appropriate to select libgtk3 rather than depending on it.
> + help
> + Gtk# is a .NET language binding for the GTK+ toolkit.
Perhaps mention that it's GTK3.
> +
> + http://www.mono-project.com/docs/gui/gtksharp/
> diff --git a/package/mono-gtksharp/mono-gtksharp.mk b/package/mono-gtksharp/mono-gtksharp.mk
> new file mode 100644
> index 0000000..58412eb
> --- /dev/null
> +++ b/package/mono-gtksharp/mono-gtksharp.mk
> @@ -0,0 +1,16 @@
> +################################################################################
> +#
> +# gtksharp
> +#
> +################################################################################
> +
> +MONO_GTKSHARP_VERSION_MAJOR = 2.99
> +MONO_GTKSHARP_VERSION = $(MONO_GTKSHARP_VERSION_MAJOR).3
We normally prefer stable releases rather than beta releases, so that would be
2.12.25. However, that release still uses gtk2 rather than gtk3, so it does make
complete sense to me to go for the beta.
> +MONO_GTKSHARP_SITE = http://ftp.gnome.org/pub/gnome/sources/gtk-sharp/$(MONO_GTKSHARP_VERSION_MAJOR)/
> +MONO_GTKSHARP_SOURCE = gtk-sharp-$(MONO_GTKSHARP_VERSION).tar.xz
> +MONO_GTKSHARP_LICENSE = LGPLv2
A few files, in particular all of the cairo library, is MIT rather than LGPLv2.
The others are combined with LGPLv2 code in a single DLL so LGPLv2 is correct,
but the cairo library is a separate DLL that doesn't seem to depend on any other
gtksharp library, so I'd make that
MONO_GTKSHARP_LICENSE = LGPLv2, MIT (cairo)
> +MONO_GTKSHARP_LICENSE_FILES = COPYING
> +MONO_GTKSHARP_INSTALL_STAGING = YES
> +MONO_GTKSHARP_DEPENDENCIES = mono libgtk3
> +
> +$(eval $(autotools-package))
>
Perhaps add a hash file?
# sha256 from
https://download.gnome.org/sources/gtk-sharp/2.99/gtk-sharp-2.99.3.sha256sum
sha256 6440f571416267ae0cb5698071d087b31e3084693fa2c829b1db37ca7ea2c3a2
gtk-sharp-2.99.3.tar.xz
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
next prev parent reply other threads:[~2015-03-05 0:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-14 10:16 [Buildroot] [PATCH] package/mono-gtksharp: new package Angelo Compagnucci
2015-03-04 14:56 ` Angelo Compagnucci
2015-03-05 0:12 ` Arnout Vandecappelle [this message]
2015-03-05 11:44 ` Angelo Compagnucci
2015-03-05 12:12 ` Arnout Vandecappelle
2015-03-05 12:23 ` Angelo Compagnucci
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54F79F86.90108@mind.be \
--to=arnout@mind.be \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox