[Gtk-sharp-list] AssemblyInfo patch

John Luke jluke@users.sourceforge.net
Wed, 29 Oct 2003 13:23:27 -0500


--=-YeZ1AWPFOnFYtaJiAZK9
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hello,

Here is a patch that adds AssemblyInfo.cs files for all the assemblies
with the assembly version from configure.in

It includes a commented out key section since I couldn't get signing to
work yet (I should ask spouliot), and I'm not sure it would run on mono
ok anyways. However, it should make it easy for someone to quickly
uncomment and strongname gtk# on .net and then GAC-ify (new word).

P.S. maybe the win32 installer could offer optional GAC-ified install?

--=-YeZ1AWPFOnFYtaJiAZK9
Content-Disposition: attachment; filename=assemblyinfo.diff
Content-Type: text/x-patch; name=assemblyinfo.diff; charset=
Content-Transfer-Encoding: 7bit

Index: ChangeLog
===================================================================
RCS file: /cvs/public/gtk-sharp/ChangeLog,v
retrieving revision 1.534
diff -u -r1.534 ChangeLog
--- ChangeLog	27 Oct 2003 20:00:14 -0000	1.534
+++ ChangeLog	29 Oct 2003 10:26:44 -0000
@@ -1,3 +1,9 @@
+2003-10-29  John Luke  <jluke@cfl.rr.com>
+	
+	* configure.in: output AssemblyInfo.cs for all assemblies
+	* */gconf/AssemblyInfo.cs.in:
+	* */AssemblyInfo.cs.in: AssemblyInfo files for all assemblies
+	
 2003-10-27  Moritz Balz  <verteiler@mbalz.de>
 
 	* gdk/Drawable.custom : add a S.D.Rectangle overload for DrawRect.
Index: configure.in
===================================================================
RCS file: /cvs/public/gtk-sharp/configure.in,v
retrieving revision 1.36
diff -u -r1.36 configure.in
--- configure.in	9 Oct 2003 22:29:54 -0000	1.36
+++ configure.in	29 Oct 2003 10:26:44 -0000
@@ -2,7 +2,7 @@
 AC_INIT(README)
 AC_CANONICAL_SYSTEM
 AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(gtk-sharp, 0.11)
+AM_INIT_AUTOMAKE(gtk-sharp, 0.12)
 AM_MAINTAINER_MODE
 
 AC_CHECK_TOOL(CC, gcc, gcc)
@@ -112,22 +112,37 @@
 parser/Makefile
 generator/Makefile
 glib/Makefile
+glib/AssemblyInfo.cs
 pango/Makefile
+pango/AssemblyInfo.cs
 atk/Makefile
+atk/AssemblyInfo.cs
 art/Makefile
+art/AssemblyInfo.cs
 gdk/Makefile
+gdk/AssemblyInfo.cs
 gtk/Makefile
+gtk/AssemblyInfo.cs
 glade/Makefile
+glade/AssemblyInfo.cs
 gnome/Makefile
+gnome/AssemblyInfo.cs
 gda/Makefile
+gda/AssemblyInfo.cs
 gnomedb/Makefile
+gnomedb/AssemblyInfo.cs
 gconf/Makefile
+gconf/GConf/AssemblyInfo.cs
 gconf/GConf/Makefile
 gconf/GConf.PropertyEditors/Makefile
+gconf/GConf.PropertyEditors/AssemblyInfo.cs
 gconf/tools/Makefile
 gst/Makefile
+gst/AssemblyInfo.cs
 gtkhtml/Makefile
+gtkhtml/AssemblyInfo.cs
 rsvg/Makefile
+rsvg/AssemblyInfo.cs
 sample/Makefile
 sample/rsvg/Makefile
 gtk-sharp.pc
Index: art/AssemblyInfo.cs.in
===================================================================
RCS file: art/AssemblyInfo.cs.in
diff -N art/AssemblyInfo.cs.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ art/AssemblyInfo.cs.in	29 Oct 2003 10:26:44 -0000
@@ -0,0 +1,9 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+
+[assembly: AssemblyVersion("@VERSION@.0.0")]
+[assembly: AssemblyTitle ("art-sharp")]
+[assembly: AssemblyDescription ("A .Net language binding for the GTK+ toolkit and assorted GNOME libraries.")]
+[assembly: AssemblyCopyright ("2001, 2002, 2003 Ximian, Inc.")]
+[assembly: AssemblyCompany ("Ximian, Inc.")]
+// [assembly:AssemblyKeyFileAttribute("../keys.snk")]
Index: atk/AssemblyInfo.cs.in
===================================================================
RCS file: atk/AssemblyInfo.cs.in
diff -N atk/AssemblyInfo.cs.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ atk/AssemblyInfo.cs.in	29 Oct 2003 10:26:44 -0000
@@ -0,0 +1,10 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+
+[assembly: AssemblyVersion("@VERSION@.0.0")]
+[assembly: AssemblyTitle ("atk-sharp")]
+[assembly: AssemblyDescription ("A .Net language binding for the GTK+ toolkit and assorted GNOME libraries.")]
+[assembly: AssemblyCopyright ("2001, 2002, 2003 Ximian, Inc.")]
+[assembly: AssemblyCompany ("Ximian, Inc.")]
+// [assembly: AssemblyKeyFileAttribute("../keys.snk")]
+
Index: gda/AssemblyInfo.cs.in
===================================================================
RCS file: gda/AssemblyInfo.cs.in
diff -N gda/AssemblyInfo.cs.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gda/AssemblyInfo.cs.in	29 Oct 2003 10:26:45 -0000
@@ -0,0 +1,10 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+
+[assembly: AssemblyVersion("@VERSION@.0.0")]
+[assembly: AssemblyTitle ("gda-sharp")]
+[assembly: AssemblyDescription ("A .Net language binding for the GTK+ toolkit and assorted GNOME libraries.")]
+[assembly: AssemblyCopyright ("2001, 2002, 2003 Ximian, Inc.")]
+[assembly: AssemblyCompany ("Ximian, Inc.")]
+// [assembly: AssemblyKeyFileAttribute("../keys.snk")]
+
Index: gdk/AssemblyInfo.cs.in
===================================================================
RCS file: gdk/AssemblyInfo.cs.in
diff -N gdk/AssemblyInfo.cs.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gdk/AssemblyInfo.cs.in	29 Oct 2003 10:26:45 -0000
@@ -0,0 +1,9 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+
+[assembly: AssemblyVersion("@VERSION@.0.0")]
+[assembly: AssemblyTitle ("gdk-sharp")]
+[assembly: AssemblyDescription ("A .Net language binding for the GTK+ toolkit and assorted GNOME libraries.")]
+[assembly: AssemblyCopyright ("2001, 2002, 2003 Ximian, Inc.")]
+[assembly: AssemblyCompany ("Ximian, Inc.")]
+// [assembly: AssemblyKeyFileAttribute("../keys.snk")]
Index: glade/AssemblyInfo.cs.in
===================================================================
RCS file: glade/AssemblyInfo.cs.in
diff -N glade/AssemblyInfo.cs.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ glade/AssemblyInfo.cs.in	29 Oct 2003 10:26:45 -0000
@@ -0,0 +1,10 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+
+[assembly: AssemblyVersion("@VERSION@.0.0")]
+[assembly: AssemblyTitle ("glade-sharp")]
+[assembly: AssemblyDescription ("A .Net language binding for the GTK+ toolkit and assorted GNOME libraries.")]
+[assembly: AssemblyCopyright ("2001, 2002, 2003 Ximian, Inc.")]
+[assembly: AssemblyCompany ("Ximian, Inc.")]
+// [assembly: AssemblyKeyFileAttribute("../keys.snk")]
+
Index: glib/AssemblyInfo.cs.in
===================================================================
RCS file: glib/AssemblyInfo.cs.in
diff -N glib/AssemblyInfo.cs.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ glib/AssemblyInfo.cs.in	29 Oct 2003 10:26:45 -0000
@@ -0,0 +1,9 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+
+[assembly: AssemblyVersion("@VERSION@.0.0")]
+[assembly: AssemblyTitle ("glib-sharp")]
+[assembly: AssemblyDescription ("A .Net language binding for the GTK+ toolkit and assorted GNOME libraries.")]
+[assembly: AssemblyCopyright ("2001, 2002, 2003 Ximian, Inc.")]
+[assembly: AssemblyCompany ("Ximian, Inc.")]
+// [assembly: AssemblyKeyFileAttribute("../keys.snk")]
Index: gnome/AssemblyInfo.cs.in
===================================================================
RCS file: gnome/AssemblyInfo.cs.in
diff -N gnome/AssemblyInfo.cs.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gnome/AssemblyInfo.cs.in	29 Oct 2003 10:26:45 -0000
@@ -0,0 +1,10 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+
+[assembly: AssemblyVersion("@VERSION@.0.0")]
+[assembly: AssemblyTitle ("gnome-sharp")]
+[assembly: AssemblyDescription ("A .Net language binding for the GTK+ toolkit and assorted GNOME libraries.")]
+[assembly: AssemblyCopyright ("2001, 2002, 2003 Ximian, Inc.")]
+[assembly: AssemblyCompany ("Ximian, Inc.")]
+// [assembly: AssemblyKeyFileAttribute("../keys.snk")]
+
Index: gnomedb/AssemblyInfo.cs.in
===================================================================
RCS file: gnomedb/AssemblyInfo.cs.in
diff -N gnomedb/AssemblyInfo.cs.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gnomedb/AssemblyInfo.cs.in	29 Oct 2003 10:26:45 -0000
@@ -0,0 +1,9 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+
+[assembly: AssemblyVersion("@VERSION@.0.0")]
+[assembly: AssemblyTitle ("gnomedb-sharp")]
+[assembly: AssemblyDescription ("A .Net language binding for the GTK+ toolkit and assorted GNOME libraries.")]
+[assembly: AssemblyCopyright ("2001, 2002, 2003 Ximian, Inc.")]
+[assembly: AssemblyCompany ("Ximian, Inc.")]
+// [assembly: AssemblyKeyFileAttribute("../keys.snk")]
Index: gst/AssemblyInfo.cs.in
===================================================================
RCS file: gst/AssemblyInfo.cs.in
diff -N gst/AssemblyInfo.cs.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gst/AssemblyInfo.cs.in	29 Oct 2003 10:26:45 -0000
@@ -0,0 +1,9 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+
+[assembly: AssemblyVersion("@VERSION@.0.0")]
+[assembly: AssemblyTitle ("gst-sharp")]
+[assembly: AssemblyDescription ("A .Net language binding for the GTK+ toolkit and assorted GNOME libraries.")]
+[assembly: AssemblyCopyright ("2001, 2002, 2003 Ximian, Inc.")]
+[assembly: AssemblyCompany ("Ximian, Inc.")]
+// [assembly: AssemblyKeyFileAttribute("../keys.snk")]
Index: gtk/AssemblyInfo.cs.in
===================================================================
RCS file: gtk/AssemblyInfo.cs.in
diff -N gtk/AssemblyInfo.cs.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gtk/AssemblyInfo.cs.in	29 Oct 2003 10:26:45 -0000
@@ -0,0 +1,9 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+
+[assembly: AssemblyVersion("@VERSION@.0.0")]
+[assembly: AssemblyTitle ("gtk-sharp")]
+[assembly: AssemblyDescription ("A .Net language binding for the GTK+ toolkit and assorted GNOME libraries.")]
+[assembly: AssemblyCopyright ("2001, 2002, 2003 Ximian, Inc.")]
+[assembly: AssemblyCompany ("Ximian, Inc.")]
+// [assembly: AssemblyKeyFileAttribute("../keys.snk")]
Index: gtkhtml/AssemblyInfo.cs.in
===================================================================
RCS file: gtkhtml/AssemblyInfo.cs.in
diff -N gtkhtml/AssemblyInfo.cs.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gtkhtml/AssemblyInfo.cs.in	29 Oct 2003 10:26:45 -0000
@@ -0,0 +1,9 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+
+[assembly: AssemblyVersion("@VERSION@.0.0")]
+[assembly: AssemblyTitle ("gtkhmtl-sharp")]
+[assembly: AssemblyDescription ("A .Net language binding for the GTK+ toolkit and assorted GNOME libraries.")]
+[assembly: AssemblyCopyright ("2001, 2002, 2003 Ximian, Inc.")]
+[assembly: AssemblyCompany ("Ximian, Inc.")]
+// [assembly: AssemblyKeyFileAttribute("../keys.snk")]
Index: pango/AssemblyInfo.cs.in
===================================================================
RCS file: pango/AssemblyInfo.cs.in
diff -N pango/AssemblyInfo.cs.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ pango/AssemblyInfo.cs.in	29 Oct 2003 10:26:45 -0000
@@ -0,0 +1,9 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+
+[assembly: AssemblyVersion("@VERSION@.0.0")]
+[assembly: AssemblyTitle ("pango-sharp")]
+[assembly: AssemblyDescription ("A .Net language binding for the GTK+ toolkit and assorted GNOME libraries.")]
+[assembly: AssemblyCopyright ("2001, 2002, 2003 Ximian, Inc.")]
+[assembly: AssemblyCompany ("Ximian, Inc.")]
+// [assembly: AssemblyKeyFileAttribute("../keys.snk")]
Index: rsvg/AssemblyInfo.cs.in
===================================================================
RCS file: rsvg/AssemblyInfo.cs.in
diff -N rsvg/AssemblyInfo.cs.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ rsvg/AssemblyInfo.cs.in	29 Oct 2003 10:26:45 -0000
@@ -0,0 +1,9 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+
+[assembly: AssemblyVersion("@VERSION@.0.0")]
+[assembly: AssemblyTitle ("rsvg-sharp")]
+[assembly: AssemblyDescription ("A .Net language binding for the GTK+ toolkit and assorted GNOME libraries.")]
+[assembly: AssemblyCopyright ("2001, 2002, 2003 Ximian, Inc.")]
+[assembly: AssemblyCompany ("Ximian, Inc.")]
+//[assembly: AssemblyKeyFileAttribute("../keys.snk")]
Index: gconf/GConf.PropertyEditors/AssemblyInfo.cs.in
===================================================================
RCS file: gconf/GConf.PropertyEditors/AssemblyInfo.cs.in
diff -N gconf/GConf.PropertyEditors/AssemblyInfo.cs.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gconf/GConf.PropertyEditors/AssemblyInfo.cs.in	29 Oct 2003 10:26:45 -0000
@@ -0,0 +1,10 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+
+[assembly: AssemblyVersion("@VERSION@.0.0")]
+[assembly: AssemblyTitle ("gconf-sharp-peditors")]
+[assembly: AssemblyDescription ("A .Net language binding for the GTK+ toolkit and assorted GNOME libraries.")]
+[assembly: AssemblyCopyright ("2001, 2002, 2003 Ximian, Inc.")]
+[assembly: AssemblyCompany ("Ximian, Inc.")]
+// [assembly: AssemblyKeyFileAttribute("../../keys.snk")]
+
Index: gconf/GConf/AssemblyInfo.cs.in
===================================================================
RCS file: gconf/GConf/AssemblyInfo.cs.in
diff -N gconf/GConf/AssemblyInfo.cs.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gconf/GConf/AssemblyInfo.cs.in	29 Oct 2003 10:26:45 -0000
@@ -0,0 +1,9 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+
+[assembly: AssemblyVersion("@VERSION@.0.0")]
+[assembly: AssemblyTitle ("gconf-sharp")]
+[assembly: AssemblyDescription ("A .Net language binding for the GTK+ toolkit and assorted GNOME libraries.")]
+[assembly: AssemblyCopyright ("2001, 2002, 2003 Ximian, Inc.")]
+[assembly: AssemblyCompany ("Ximian, Inc.")]
+// [assembly: AssemblyKeyFileAttribute("../../keys.snk")]

--=-YeZ1AWPFOnFYtaJiAZK9--