Skip to contentSkip to conversation

Adding GTK# package

PATCH Superseded Angelo Compagnucci 1 participant 4 messages Feb 11, 2015

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

v3 cover Adding GTK# package

This patch adds GTK# gui librrary for mono and enables inclusion of future third party mono software libreries.

---
Changes v1 -> v3:
- General patch cleaning

Angelo Compagnucci (3):
package/mono: enable mono library compilation
system: Defaulting TZ_LOCALTIME to UTC
package/gtksharp: new package

 package/Config.in            |  5 +++++
 package/gtksharp/Config.in   |  9 +++++++++
 package/gtksharp/gtksharp.mk | 13 +++++++++++++
 package/mono/mono.mk         |  1 -
 system/Config.in             |  1 +
 5 files changed, 28 insertions(+), 1 deletion(-)
 create mode 100644 package/gtksharp/Config.in
 create mode 100644 package/gtksharp/gtksharp.mk
Signature · 1 line
1.9.1
#1 lore raw

PATCH v3 1/3 package/mono: enable mono library compilation

This patch enables the compilation of mono library to be used in third party software.

---
 package/mono/mono.mk | 1 -
 1 file changed, 1 deletion(-)
package/mono/mono.mk +0 -1
index 0bbf338..9ec3c24 100644
@@ -21,7 +21,6 @@ MONO_AUTORECONF = YES
 MONO_CONF_OPTS = --disable-gtk-doc \
 	--with-mcs-docs=no \
 	--with-moonlight=no \
-	--disable-libraries \
 	--with-ikvm-native=no \
 	--enable-minimal=aot,profiler,debug \
 	--disable-mcs-build \
Signature · 1 line
1.9.1
#2 lore raw

PATCH v3 2/3 system: Defaulting TZ_LOCALTIME to UTC

In reply to Angelo Compagnucci

This patch sets the default timezone to UTC if not overwritten. Some packages need a configured system timezone for properly operating like mono based software.

---
 system/Config.in | 1 +
 1 file changed, 1 insertion(+)
system/Config.in +1 -0
index 95e10ab..d967002 100644
@@ -371,6 +371,7 @@ config BR2_TARGET_TZ_ZONELIST
 
 config BR2_TARGET_LOCALTIME
 	string "default local time"
+	default "Etc/UTC"
 	help
 	  The time zone to install as the default local time, expressed as a
 	  tzdata location, such as:
Signature · 1 line
1.9.1
#3 lore raw

PATCH v3 3/3 package/gtksharp: new package

In reply to Angelo Compagnucci

This patch adds gtksharp package for mono.

---
 package/Config.in            |  5 +++++
 package/gtksharp/Config.in   |  9 +++++++++
 package/gtksharp/gtksharp.mk | 13 +++++++++++++
 3 files changed, 27 insertions(+)
 create mode 100644 package/gtksharp/Config.in
 create mode 100644 package/gtksharp/gtksharp.mk
package/Config.in +5 -0
index fe3d3d0..27daf2a 100644
@@ -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/gtksharp/Config.in"
+endmenu
+endif
 	source "package/nodejs/Config.in"
 	source "package/perl/Config.in"
 if BR2_PACKAGE_PERL
package/gtksharp/Config.in new file +9 -0
new file mode 100644
index 0000000..8f3af2e
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_GTKSHARP
+	bool "gtk#"
+	depends on BR2_PACKAGE_MONO
+	select BR2_PACKAGE_LIBGTK3
+	select BR2_TARGET_TZ_INFO
+	help
+	  Gtk# is a .NET language binding for the GTK+ toolkit.
+
+	  http://ftp.gnome.org/pub/gnome/sources/gtk-sharp/2.99/
package/gtksharp/gtksharp.mk new file +13 -0
new file mode 100644
index 0000000..d870771
@@ -0,0 +1,13 @@
+#############################################################
+#
+# gtksharp
+#
+#############################################################
+
+GTKSHARP_VERSION = 2.99.3
+GTKSHARP_SITE = http://ftp.gnome.org/pub/gnome/sources/gtk-sharp/2.99/
+GTKSHARP_SOURCE = gtk-sharp-$(GTKSHARP_VERSION).tar.xz
+GTKSHARP_LICENSE = LGPLv2
+GTKSHARP_LICENSE_FILES = COPYING
+GTKSHARP_INSTALL_STAGING = YES
+GTKSHARP_DEPENDENCIES += mono libgtk3
Signature · 1 line
1.9.1