[Pkg-mono-svn-commits] rev 3224 - in gtk-sharp2/trunk/debian: . man patches

Mirco Bauer meebey-guest at alioth.debian.org
Fri Jun 29 19:24:12 UTC 2007


Author: meebey-guest
Date: 2007-06-29 19:24:12 +0000 (Fri, 29 Jun 2007)
New Revision: 3224

Added:
   gtk-sharp2/trunk/debian/man/
   gtk-sharp2/trunk/debian/man/gapi2-codegen.1
   gtk-sharp2/trunk/debian/man/gapi2-fixup.1
   gtk-sharp2/trunk/debian/man/gapi2-parser.1
   gtk-sharp2/trunk/debian/man/gtk-sharp2-examples-list.1
   gtk-sharp2/trunk/debian/patches/fix_callback_code_generator.dpatch
Modified:
   gtk-sharp2/trunk/debian/changelog
   gtk-sharp2/trunk/debian/control
   gtk-sharp2/trunk/debian/gtk-sharp2-examples.manpages
   gtk-sharp2/trunk/debian/patches/00list
   gtk-sharp2/trunk/debian/rules
Log:
- gtk-sharp2 2.10.1-2 release



Modified: gtk-sharp2/trunk/debian/changelog
===================================================================
--- gtk-sharp2/trunk/debian/changelog	2007-06-27 20:27:47 UTC (rev 3223)
+++ gtk-sharp2/trunk/debian/changelog	2007-06-29 19:24:12 UTC (rev 3224)
@@ -1,3 +1,16 @@
+gtk-sharp2 (2.10.1-2) unstable; urgency=low
+
+  * Mirco 'meebey' Bauer:
+    + debian/control:
+      - Using my Debian email address now.
+    + debian/man/*.1:
+      - Added undocumented manpage stubs.
+    + debian/patches/fix_callback_code_generator.dpatch:
+      - Fix gapi's code generator for callbacks with out parameters.
+        (Closes: #430027)
+
+ -- Mirco Bauer <meebey at debian.org>  Thu, 28 Jun 2007 19:31:40 +0200
+
 gtk-sharp2 (2.10.1-1) unstable; urgency=low
 
   * New upstream release.

Modified: gtk-sharp2/trunk/debian/control
===================================================================
--- gtk-sharp2/trunk/debian/control	2007-06-27 20:27:47 UTC (rev 3223)
+++ gtk-sharp2/trunk/debian/control	2007-06-29 19:24:12 UTC (rev 3224)
@@ -2,7 +2,7 @@
 Section: libs
 Priority: optional
 Maintainer: Debian Mono Group <pkg-mono-group at lists.alioth.debian.org>
-Uploaders: Mirco Bauer <meebey at meebey.net>, Sebastian Dröge <slomo at debian.org>
+Uploaders: Mirco Bauer <meebey at debian.org>, Sebastian Dröge <slomo at debian.org>
 Build-Depends: debhelper (>= 5), cli-common-dev (>= 0.4.6), dpatch, mono-mcs (>= 1.0) | c-sharp-compiler, mono-gac (>= 1.0), monodoc-base (>= 1.0), libmono-dev, pkg-config, libtool, libglib2.0-dev (>= 2.12.0), libgtk2.0-dev (>= 2.10.0), libpango1.0-dev, libglade2-dev (>= 2.3.6), mono-utils (>= 1.0-2), libmono-cairo1.0-cil
 Standards-Version: 3.7.2
 

Modified: gtk-sharp2/trunk/debian/gtk-sharp2-examples.manpages
===================================================================
--- gtk-sharp2/trunk/debian/gtk-sharp2-examples.manpages	2007-06-27 20:27:47 UTC (rev 3223)
+++ gtk-sharp2/trunk/debian/gtk-sharp2-examples.manpages	2007-06-29 19:24:12 UTC (rev 3224)
@@ -1 +1 @@
-gtk-sharp2-examples-list.1
+debian/man/gtk-sharp2-examples-list.1

Added: gtk-sharp2/trunk/debian/man/gapi2-codegen.1
===================================================================
--- gtk-sharp2/trunk/debian/man/gapi2-codegen.1	                        (rev 0)
+++ gtk-sharp2/trunk/debian/man/gapi2-codegen.1	2007-06-29 19:24:12 UTC (rev 3224)
@@ -0,0 +1,11 @@
+.TH UNDOCUMENTED 1 "January 15th, 2004" "Debian GNU/Linux" "Mono Manual"
+.SH NAME
+undocumented \- No manpage for this program.
+.SH DESCRIPTION
+This
+.B program
+does not have a manpage. Run this command with the
+.B help
+switch to see what it does. For further information, refer to the .NET
+documentation from the Mono project, located on
+.B http://www.go-mono.com:8080/

Added: gtk-sharp2/trunk/debian/man/gapi2-fixup.1
===================================================================
--- gtk-sharp2/trunk/debian/man/gapi2-fixup.1	                        (rev 0)
+++ gtk-sharp2/trunk/debian/man/gapi2-fixup.1	2007-06-29 19:24:12 UTC (rev 3224)
@@ -0,0 +1,11 @@
+.TH UNDOCUMENTED 1 "January 15th, 2004" "Debian GNU/Linux" "Mono Manual"
+.SH NAME
+undocumented \- No manpage for this program.
+.SH DESCRIPTION
+This
+.B program
+does not have a manpage. Run this command with the
+.B help
+switch to see what it does. For further information, refer to the .NET
+documentation from the Mono project, located on
+.B http://www.go-mono.com:8080/

Added: gtk-sharp2/trunk/debian/man/gapi2-parser.1
===================================================================
--- gtk-sharp2/trunk/debian/man/gapi2-parser.1	                        (rev 0)
+++ gtk-sharp2/trunk/debian/man/gapi2-parser.1	2007-06-29 19:24:12 UTC (rev 3224)
@@ -0,0 +1,11 @@
+.TH UNDOCUMENTED 1 "January 15th, 2004" "Debian GNU/Linux" "Mono Manual"
+.SH NAME
+undocumented \- No manpage for this program.
+.SH DESCRIPTION
+This
+.B program
+does not have a manpage. Run this command with the
+.B help
+switch to see what it does. For further information, refer to the .NET
+documentation from the Mono project, located on
+.B http://www.go-mono.com:8080/

Added: gtk-sharp2/trunk/debian/man/gtk-sharp2-examples-list.1
===================================================================
--- gtk-sharp2/trunk/debian/man/gtk-sharp2-examples-list.1	                        (rev 0)
+++ gtk-sharp2/trunk/debian/man/gtk-sharp2-examples-list.1	2007-06-29 19:24:12 UTC (rev 3224)
@@ -0,0 +1,11 @@
+.TH UNDOCUMENTED 1 "January 15th, 2004" "Debian GNU/Linux" "Mono Manual"
+.SH NAME
+undocumented \- No manpage for this program.
+.SH DESCRIPTION
+This
+.B program
+does not have a manpage. Run this command with the
+.B help
+switch to see what it does. For further information, refer to the .NET
+documentation from the Mono project, located on
+.B http://www.go-mono.com:8080/

Modified: gtk-sharp2/trunk/debian/patches/00list
===================================================================
--- gtk-sharp2/trunk/debian/patches/00list	2007-06-27 20:27:47 UTC (rev 3223)
+++ gtk-sharp2/trunk/debian/patches/00list	2007-06-29 19:24:12 UTC (rev 3224)
@@ -1,2 +1,3 @@
-01_glue-locations.dpatch
-02_missing_dllmaps.dpatch
+01_glue-locations
+02_missing_dllmaps
+fix_callback_code_generator

Added: gtk-sharp2/trunk/debian/patches/fix_callback_code_generator.dpatch
===================================================================
--- gtk-sharp2/trunk/debian/patches/fix_callback_code_generator.dpatch	                        (rev 0)
+++ gtk-sharp2/trunk/debian/patches/fix_callback_code_generator.dpatch	2007-06-29 19:24:12 UTC (rev 3224)
@@ -0,0 +1,48 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## fix_callback_code_generator.dpatch by Mirco Bauer <meebey at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad gtk-sharp-2.10.1~/generator/CallbackGen.cs gtk-sharp-2.10.1/generator/CallbackGen.cs
+--- gtk-sharp-2.10.1~/generator/CallbackGen.cs	2007-06-18 20:07:59.000000000 +0200
++++ gtk-sharp-2.10.1/generator/CallbackGen.cs	2007-06-29 17:33:30.000000000 +0200
+@@ -109,7 +109,6 @@
+ 			sw.WriteLine ();
+ 			sw.WriteLine ("\t\tpublic " + retval.MarshalType + " NativeCallback (" + native_sig + ")");
+ 			sw.WriteLine ("\t\t{");
+-			sw.WriteLine ("\t\t\ttry {");
+ 
+ 			bool need_sep = false;
+ 			bool throws_error = false;
+@@ -120,7 +119,7 @@
+ 				Parameter p = parms [i];
+ 
+ 				if (p.CType == "GError**") {
+-					sw.WriteLine ("\t\t\t\t" + p.Name + " = IntPtr.Zero;");
++					sw.WriteLine ("\t\t\t" + p.Name + " = IntPtr.Zero;");
+ 					throws_error = true;
+ 					continue;
+ 				} else if (parms.IsHidden (p))
+@@ -128,10 +127,10 @@
+ 
+ 				IGeneratable gen = p.Generatable;
+ 
+-				sw.Write("\t\t\t\t" + p.CSType + " _arg" + idx);
++				sw.Write("\t\t\t" + p.CSType + " _arg" + idx);
+ 				if (p.PassAs == "out") {
+ 					sw.WriteLine(";");
+-					cleanup_str += "\t\t\t\t" + p.Name + " = " + gen.CallByName ("_arg" + idx) + ";\n";
++					cleanup_str += "\t\t\t" + p.Name + " = " + gen.CallByName ("_arg" + idx) + ";\n";
+ 				} else
+ 					sw.WriteLine(" = " + gen.FromNative (p.Name) + ";");
+ 
+@@ -146,6 +145,7 @@
+ 			bool has_out_params = cleanup_str.Length > 0;
+ 			cleanup_str += "\t\t\t\tif (release_on_call)\n\t\t\t\t\tgch.Free ();\n";
+ 
++			sw.WriteLine ("\t\t\ttry {");
+ 			sw.Write ("\t\t\t\t");
+ 			string invoke = "managed (" + call_str + ")";
+ 			if (retval.MarshalType != "void") {


Property changes on: gtk-sharp2/trunk/debian/patches/fix_callback_code_generator.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Modified: gtk-sharp2/trunk/debian/rules
===================================================================
--- gtk-sharp2/trunk/debian/rules	2007-06-27 20:27:47 UTC (rev 3223)
+++ gtk-sharp2/trunk/debian/rules	2007-06-29 19:24:12 UTC (rev 3224)
@@ -59,6 +59,7 @@
 	install -m755 $(CURDIR)/debian/list-examples $(CURDIR)/debian/gtk-sharp2-examples/usr/bin/gtk-sharp2-examples-list
 	dh_installchangelogs -i ChangeLog
 	dh_installdocs -i
+	dh_installman -i
 	dh_compress -i
 	dh_fixperms -i
 	dh_installdeb -i
@@ -77,6 +78,7 @@
 	dh_install
 	dh_installchangelogs -a ChangeLog
 	dh_installdocs -a
+	dh_installman -a
 	dh_strip -a
 	dh_compress -a
 	dh_fixperms -a




More information about the Pkg-mono-svn-commits mailing list