* [Buildroot] [PATCH] package/mono-gtksharp3: new package
@ 2015-03-05 13:33 Angelo Compagnucci
2015-07-14 9:52 ` Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: Angelo Compagnucci @ 2015-03-05 13:33 UTC (permalink / raw)
To: buildroot
This patch adds gtksharp3 package for mono.
Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
---
This patch supersed previous package/mono-gtksharp.
Changelog:
* added version number everywhere (gtksharp3).
* added license file for cairo components.
* added hash file
package/Config.in | 5 +++++
package/mono-gtksharp3/Config.in | 8 ++++++++
package/mono-gtksharp3/mono-gtksharp3.hash | 2 ++
package/mono-gtksharp3/mono-gtksharp3.mk | 16 ++++++++++++++++
4 files changed, 31 insertions(+)
create mode 100644 package/mono-gtksharp3/Config.in
create mode 100644 package/mono-gtksharp3/mono-gtksharp3.hash
create mode 100644 package/mono-gtksharp3/mono-gtksharp3.mk
diff --git a/package/Config.in b/package/Config.in
index 0555e14..dd5682a 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -468,6 +468,11 @@ menu "Lua libraries/modules"
endmenu
endif
source "package/mono/Config.in"
+if BR2_PACKAGE_MONO
+menu "Mono libraries/modules"
+ source "package/mono-gtksharp3/Config.in"
+endmenu
+endif
source "package/nodejs/Config.in"
source "package/perl/Config.in"
if BR2_PACKAGE_PERL
diff --git a/package/mono-gtksharp3/Config.in b/package/mono-gtksharp3/Config.in
new file mode 100644
index 0000000..ef5d0fe
--- /dev/null
+++ b/package/mono-gtksharp3/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_MONO_GTKSHARP3
+ bool "gtk# 3"
+ depends on BR2_PACKAGE_LIBGTK3
+ help
+ Gtk# is a .NET language binding for the GTK+ toolkit.
+ This package provides version 3 of the bindings.
+
+ http://www.mono-project.com/docs/gui/gtksharp/
diff --git a/package/mono-gtksharp3/mono-gtksharp3.hash b/package/mono-gtksharp3/mono-gtksharp3.hash
new file mode 100644
index 0000000..4005051
--- /dev/null
+++ b/package/mono-gtksharp3/mono-gtksharp3.hash
@@ -0,0 +1,2 @@
+# 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
diff --git a/package/mono-gtksharp3/mono-gtksharp3.mk b/package/mono-gtksharp3/mono-gtksharp3.mk
new file mode 100644
index 0000000..fa8b301
--- /dev/null
+++ b/package/mono-gtksharp3/mono-gtksharp3.mk
@@ -0,0 +1,16 @@
+################################################################################
+#
+# gtksharp3
+#
+################################################################################
+
+MONO_GTKSHARP3_VERSION_MAJOR = 2.99
+MONO_GTKSHARP3_VERSION = $(MONO_GTKSHARP3_VERSION_MAJOR).3
+MONO_GTKSHARP3_SITE = http://ftp.gnome.org/pub/gnome/sources/gtk-sharp/$(MONO_GTKSHARP3_VERSION_MAJOR)/
+MONO_GTKSHARP3_SOURCE = gtk-sharp-$(MONO_GTKSHARP3_VERSION).tar.xz
+MONO_GTKSHARP3_LICENSE = LGPLv2, MIT (cairo)
+MONO_GTKSHARP3_LICENSE_FILES = COPYING
+MONO_GTKSHARP3_INSTALL_STAGING = YES
+MONO_GTKSHARP3_DEPENDENCIES = mono libgtk3
+
+$(eval $(autotools-package))
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] package/mono-gtksharp3: new package
2015-03-05 13:33 [Buildroot] [PATCH] package/mono-gtksharp3: new package Angelo Compagnucci
@ 2015-07-14 9:52 ` Thomas Petazzoni
2015-07-14 9:59 ` Angelo Compagnucci
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2015-07-14 9:52 UTC (permalink / raw)
To: buildroot
Dear Angelo Compagnucci,
On Thu, 5 Mar 2015 14:33:02 +0100, Angelo Compagnucci wrote:
> This patch adds gtksharp3 package for mono.
>
> Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
The patch looks good, but it unfortunately doesn't build here:
checking for gmcs... no
configure: error: No C# compiler found. You need to install either mono (>=2.8) or .Net
package/pkg-generic.mk:146: recipe for target '/home/thomas/buildroot/output/build/mono-gtksharp3-2.99.3/.stamp_configured' failed
make: *** [/home/thomas/buildroot/output/build/mono-gtksharp3-2.99.3/.stamp_configured] Error 1
I'm building the following defconfig:
BR2_arm=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-arm-full-2015.05-496-g85945aa.tar.bz2"
BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_1=y
BR2_TOOLCHAIN_EXTERNAL_LOCALE=y
# BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG is not set
BR2_TOOLCHAIN_EXTERNAL_INET_RPC=y
BR2_TOOLCHAIN_EXTERNAL_CXX=y
BR2_PACKAGE_XORG7=y
BR2_PACKAGE_MONO=y
BR2_PACKAGE_MONO_GTKSHARP3=y
BR2_PACKAGE_LIBGTK3=y
Can you have a look? In the mean time, I'll mark the patch as Changes
Requested in patchwork, so can you resend a new version after fixing
this problem? Thanks a lot!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] package/mono-gtksharp3: new package
2015-07-14 9:52 ` Thomas Petazzoni
@ 2015-07-14 9:59 ` Angelo Compagnucci
0 siblings, 0 replies; 3+ messages in thread
From: Angelo Compagnucci @ 2015-07-14 9:59 UTC (permalink / raw)
To: buildroot
Dear Thomas Petazzoni,
2015-07-14 11:52 GMT+02:00 Thomas Petazzoni
<thomas.petazzoni@free-electrons.com>:
> Dear Angelo Compagnucci,
>
> On Thu, 5 Mar 2015 14:33:02 +0100, Angelo Compagnucci wrote:
>> This patch adds gtksharp3 package for mono.
>>
>> Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
>
> The patch looks good, but it unfortunately doesn't build here:
>
> checking for gmcs... no
> configure: error: No C# compiler found. You need to install either mono (>=2.8) or .Net
> package/pkg-generic.mk:146: recipe for target '/home/thomas/buildroot/output/build/mono-gtksharp3-2.99.3/.stamp_configured' failed
> make: *** [/home/thomas/buildroot/output/build/mono-gtksharp3-2.99.3/.stamp_configured] Error 1
Several mono version has changed in the meantime, so I think this
patch should be updated. I'll look at this asap.
Sincerely, Angelo
>
> I'm building the following defconfig:
>
> BR2_arm=y
> BR2_TOOLCHAIN_EXTERNAL=y
> BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
> BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
> BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-arm-full-2015.05-496-g85945aa.tar.bz2"
> BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_1=y
> BR2_TOOLCHAIN_EXTERNAL_LOCALE=y
> # BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG is not set
> BR2_TOOLCHAIN_EXTERNAL_INET_RPC=y
> BR2_TOOLCHAIN_EXTERNAL_CXX=y
> BR2_PACKAGE_XORG7=y
> BR2_PACKAGE_MONO=y
> BR2_PACKAGE_MONO_GTKSHARP3=y
> BR2_PACKAGE_LIBGTK3=y
>
> Can you have a look? In the mean time, I'll mark the patch as Changes
> Requested in patchwork, so can you resend a new version after fixing
> this problem? Thanks a lot!
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com
--
Profile: http://it.linkedin.com/in/compagnucciangelo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-07-14 9:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-05 13:33 [Buildroot] [PATCH] package/mono-gtksharp3: new package Angelo Compagnucci
2015-07-14 9:52 ` Thomas Petazzoni
2015-07-14 9:59 ` Angelo Compagnucci
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox