pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11 x11: Add gtk-sharp3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fc5bcd0110d4
branches:  trunk
changeset: 410641:fc5bcd0110d4
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Jan 26 13:45:11 2020 +0000

description:
x11: Add gtk-sharp3

.NET language binding for the GTK+3 toolkit.

diffstat:

 x11/Makefile                                                                  |   3 +-
 x11/gtk-sharp3/DESCR                                                          |   1 +
 x11/gtk-sharp3/Makefile                                                       |  28 +++++
 x11/gtk-sharp3/PLIST                                                          |  53 ++++++++++
 x11/gtk-sharp3/distinfo                                                       |   8 +
 x11/gtk-sharp3/patches/patch-gtk_gui-thread-check_profiler_gui-thread-check.c |  13 ++
 x11/gtk-sharp3/patches/patch-sample_test_TestRange.cs                         |  17 +++
 7 files changed, 122 insertions(+), 1 deletions(-)

diffs (161 lines):

diff -r ff734be6b9be -r fc5bcd0110d4 x11/Makefile
--- a/x11/Makefile      Sun Jan 26 13:08:39 2020 +0000
+++ b/x11/Makefile      Sun Jan 26 13:45:11 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.875 2020/01/24 14:07:59 jaapb Exp $
+# $NetBSD: Makefile,v 1.876 2020/01/26 13:45:11 nia Exp $
 #
 
 COMMENT=       Packages to support the X window system
@@ -82,6 +82,7 @@
 SUBDIR+=       gtk+extra
 SUBDIR+=       gtk-mac-integration
 SUBDIR+=       gtk-sharp
+SUBDIR+=       gtk-sharp3
 SUBDIR+=       gtk2
 SUBDIR+=       gtk2+extra
 SUBDIR+=       gtk2-chtheme
diff -r ff734be6b9be -r fc5bcd0110d4 x11/gtk-sharp3/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/gtk-sharp3/DESCR      Sun Jan 26 13:45:11 2020 +0000
@@ -0,0 +1,1 @@
+.NET language binding for the GTK+3 toolkit.
diff -r ff734be6b9be -r fc5bcd0110d4 x11/gtk-sharp3/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/gtk-sharp3/Makefile   Sun Jan 26 13:45:11 2020 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2020/01/26 13:45:11 nia Exp $
+
+DISTNAME=      gtk-sharp-2.99.3
+CATEGORIES=    x11
+MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/gtk-sharp/2.99/}
+EXTRACT_SUFX=  .tar.xz
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://www.mono-project.com/GtkSharp
+COMMENT=       .NET bindings for GTK+3
+LICENSE=       gnu-lgpl-v2.1
+
+GNU_CONFIGURE= yes
+
+USE_TOOLS+=    pkg-config gmake perl:run
+USE_LIBTOOL=   yes
+
+REPLACE_PERL+= parser/gapi_pp.pl
+REPLACE_PERL+= parser/gapi2xml.pl
+
+SUBST_CLASSES+=                mcs
+SUBST_STAGE.mcs=       pre-configure
+SUBST_FILES.mcs+=      configure
+SUBST_SED.mcs=         -e 's|gmcs|mcs|'
+
+.include "../../lang/mono/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r ff734be6b9be -r fc5bcd0110d4 x11/gtk-sharp3/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/gtk-sharp3/PLIST      Sun Jan 26 13:45:11 2020 +0000
@@ -0,0 +1,53 @@
+@comment $NetBSD: PLIST,v 1.1 2020/01/26 13:45:11 nia Exp $
+bin/gapi3-codegen
+bin/gapi3-fixup
+bin/gapi3-parser
+lib/gapi-3.0/gapi-fixup.exe
+lib/gapi-3.0/gapi-parser.exe
+lib/gapi-3.0/gapi2xml.pl
+lib/gapi-3.0/gapi_codegen.exe
+lib/gapi-3.0/gapi_pp.pl
+lib/libatksharpglue-3.la
+lib/libgiosharpglue-3.la
+lib/libgtksharpglue-3.la
+lib/libmono-profiler-gui-thread-check.la
+lib/libpangosharpglue-3.la
+lib/mono/gac/atk-sharp/3.0.0.0__35e10195dab3c99f/atk-sharp.dll
+lib/mono/gac/atk-sharp/3.0.0.0__35e10195dab3c99f/atk-sharp.dll.config
+lib/mono/gac/cairo-sharp/1.10.0.0__0738eb9f132ed756/cairo-sharp.dll
+lib/mono/gac/gdk-sharp/3.0.0.0__35e10195dab3c99f/gdk-sharp.dll
+lib/mono/gac/gdk-sharp/3.0.0.0__35e10195dab3c99f/gdk-sharp.dll.config
+lib/mono/gac/gio-sharp/3.0.0.0__35e10195dab3c99f/gio-sharp.dll
+lib/mono/gac/gio-sharp/3.0.0.0__35e10195dab3c99f/gio-sharp.dll.config
+lib/mono/gac/glib-sharp/3.0.0.0__35e10195dab3c99f/glib-sharp.dll
+lib/mono/gac/glib-sharp/3.0.0.0__35e10195dab3c99f/glib-sharp.dll.config
+lib/mono/gac/gtk-dotnet/3.0.0.0__35e10195dab3c99f/gtk-dotnet.dll
+lib/mono/gac/gtk-dotnet/3.0.0.0__35e10195dab3c99f/gtk-dotnet.dll.config
+lib/mono/gac/gtk-sharp/3.0.0.0__35e10195dab3c99f/gtk-sharp.dll
+lib/mono/gac/gtk-sharp/3.0.0.0__35e10195dab3c99f/gtk-sharp.dll.config
+lib/mono/gac/pango-sharp/3.0.0.0__35e10195dab3c99f/pango-sharp.dll
+lib/mono/gac/pango-sharp/3.0.0.0__35e10195dab3c99f/pango-sharp.dll.config
+lib/mono/gtk-sharp-3.0/atk-sharp.dll
+lib/mono/gtk-sharp-3.0/cairo-sharp.dll
+lib/mono/gtk-sharp-3.0/gdk-sharp.dll
+lib/mono/gtk-sharp-3.0/gio-sharp.dll
+lib/mono/gtk-sharp-3.0/glib-sharp.dll
+lib/mono/gtk-sharp-3.0/gtk-dotnet.dll
+lib/mono/gtk-sharp-3.0/gtk-sharp.dll
+lib/mono/gtk-sharp-3.0/pango-sharp.dll
+lib/monodoc/sources/gtk-sharp-3-docs.source
+lib/monodoc/sources/gtk-sharp-3-docs.tree
+lib/monodoc/sources/gtk-sharp-3-docs.zip
+lib/pkgconfig/gapi-3.0.pc
+lib/pkgconfig/gdk-sharp-3.0.pc
+lib/pkgconfig/gio-sharp-3.0.pc
+lib/pkgconfig/glib-sharp-3.0.pc
+lib/pkgconfig/gtk-dotnet-3.0.pc
+lib/pkgconfig/gtk-sharp-3.0.pc
+share/gapi-3.0/atk-api.xml
+share/gapi-3.0/gapi.xsd
+share/gapi-3.0/gdk-api.xml
+share/gapi-3.0/gio-api.xml
+share/gapi-3.0/glib-api.xml
+share/gapi-3.0/gtk-api.xml
+share/gapi-3.0/pango-api.xml
diff -r ff734be6b9be -r fc5bcd0110d4 x11/gtk-sharp3/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/gtk-sharp3/distinfo   Sun Jan 26 13:45:11 2020 +0000
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2020/01/26 13:45:11 nia Exp $
+
+SHA1 (gtk-sharp-2.99.3.tar.xz) = 410b57e1404401cead082d35a155628a5a8c0fda
+RMD160 (gtk-sharp-2.99.3.tar.xz) = 2de9fc7d2f39e58ec447b024a060f01107794175
+SHA512 (gtk-sharp-2.99.3.tar.xz) = 31c132b411f4602cdc71e0dfe94bd1f2884f62f2d33e9aeae9eb9c3cd2a58c2d503b06d4b5ac08b3e396b89810669360305c4bc040bce57d22e2eed48c07fb0c
+Size (gtk-sharp-2.99.3.tar.xz) = 1524220 bytes
+SHA1 (patch-gtk_gui-thread-check_profiler_gui-thread-check.c) = 1beb857367b51f85bcecc005a29800bca3b3a031
+SHA1 (patch-sample_test_TestRange.cs) = 72f1f8211edd3e618523ba59f20dddba1fb11c8d
diff -r ff734be6b9be -r fc5bcd0110d4 x11/gtk-sharp3/patches/patch-gtk_gui-thread-check_profiler_gui-thread-check.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/gtk-sharp3/patches/patch-gtk_gui-thread-check_profiler_gui-thread-check.c     Sun Jan 26 13:45:11 2020 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-gtk_gui-thread-check_profiler_gui-thread-check.c,v 1.1 2020/01/26 13:45:11 nia Exp $
+
+Fix build with newer Mono versions.
+
+--- gtk/gui-thread-check/profiler/gui-thread-check.c.orig      2014-06-05 15:06:30.000000000 +0000
++++ gtk/gui-thread-check/profiler/gui-thread-check.c
+@@ -93,6 +93,5 @@ mono_profiler_startup (const char *desc)
+       
+       mono_profiler_install (NULL, NULL);
+       mono_profiler_install_enter_leave (simple_method_enter, NULL);
+-      mono_profiler_set_events (MONO_PROFILE_ENTER_LEAVE);
+ }
+ 
diff -r ff734be6b9be -r fc5bcd0110d4 x11/gtk-sharp3/patches/patch-sample_test_TestRange.cs
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/gtk-sharp3/patches/patch-sample_test_TestRange.cs     Sun Jan 26 13:45:11 2020 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-sample_test_TestRange.cs,v 1.1 2020/01/26 13:45:11 nia Exp $
+
+Disambiguate Gtk.Range vs System.Range
+
+https://github.com/mono/gtk-sharp/pull/263
+
+--- sample/test/TestRange.cs.orig      2016-09-21 11:49:20.000000000 +0000
++++ sample/test/TestRange.cs
+@@ -10,6 +10,8 @@ using System;
+ 
+ using Gtk;
+ 
++using Range=Gtk.Range;
++
+ namespace WidgetViewer {
+ 
+       public class TestRange



Home | Main Index | Thread Index | Old Index