[Pkg-mono-svn-commits] rev 959 - mono/trunk/debian

Eduard Bloch blade@haydn.debian.org
Sat, 12 Jun 2004 10:54:50 -0600


Author: blade
Date: 2004-06-12 10:54:47 -0600 (Sat, 12 Jun 2004)
New Revision: 959

Added:
   mono/trunk/debian/mono-utils.install
Modified:
   mono/trunk/debian/dh_makenetlibs
   mono/trunk/debian/dh_netdeps
Log:
Manpages fixes, tool almost ready.


Modified: mono/trunk/debian/dh_makenetlibs
===================================================================
--- mono/trunk/debian/dh_makenetlibs	2004-06-12 16:41:35 UTC (rev 958)
+++ mono/trunk/debian/dh_makenetlibs	2004-06-12 16:54:47 UTC (rev 959)
@@ -106,6 +106,10 @@
 
 init();
 
+if ( system "grep \"Build-Dep.*mono-utils.*0.95\" debian/control" ) {
+    warning("Warning! No Build-Depends on mono-utils (>= 0.95)!");
+}
+
 ## shared code
 my $fh;
 my %shlibdata;

Modified: mono/trunk/debian/dh_netdeps
===================================================================
--- mono/trunk/debian/dh_netdeps	2004-06-12 16:41:35 UTC (rev 958)
+++ mono/trunk/debian/dh_netdeps	2004-06-12 16:54:47 UTC (rev 959)
@@ -15,60 +15,22 @@
 
 =head1 SYNOPSIS
 
-B<dh_python> [S<I<debhelper options>>]
+B<dh_netdeps> [S<I<debhelper options>>]
 
 =head1 DESCRIPTION
 
-dh_python is a debhelper program that is responsible for generating the
-${python:Depends} substitutions and adding them to substvars files. It
-will also add a postinst and a prerm script if required.
+dh_netdeps is a debhelper program that is responsible for generating the
+${net:Depends} substitutions and adding them to substvars files.
 
-The program will look at python scripts and modules in your package, and
-will use this information to generate a dependency on python, with the
-current major version, or on pythonX.Y if your scripts or modules need a
-specific python version. The dependency will be substituted into your
-package's control file wherever you place the token "${python:Depends}".
+The program will look at .dll/.exe and .config files in your package, and
+will use the embedded dependency information to generate a dependency
+strings on assembly and shared libs packages, including the setting of
+version ranges (as declared by the shlibs/netlibs files of the used
+packages). The dependency on a certain Mono version will be also added
+to the final variable.
 
-If some modules need to be byte-compiled at install time, appropriate
-postinst and prerm scripts will be generated. If already byte-compiled
-modules are found, they are removed.
+If you use this program, your package should build-depend on mono-utils.
 
-If you use this program, your package should build-depend on python.
-
-=head1 OPTIONS
-
-=over 4
-
-=item I<module dirs>
-
-If your package installs python modules in non-standard directories, you
-can make dh_python check those directories by passing their names on the
-command line. By default, it will check /usr/lib/site-python,
-/usr/lib/$PACKAGE, /usr/share/$PACKAGE, /usr/lib/games/$PACKAGE,
-/usr/share/games/$PACKAGE and /usr/lib/python?.?/site-packages.
-
-Note: only /usr/lib/site-python, /usr/lib/python?.?/site-packages and the
-extra names on the command line are searched for binary (.so) modules.
-
-=item B<-V> I<version>
-
-If the .py files your package ships are meant to be used by a specific
-pythonX.Y version, you can set this option with the desired X.Y python
-version.
-Do not use if you ship modules in /usr/lib/site-python.
-
-=item B<-n>, B<--noscripts>
-
-Do not modify postinst/postrm scripts.
-
-=back
-
-=head1 CONFORMS TO
-
-Debian policy, version 3.5.7
-
-Python policy, version 0.3.7
-
 =cut
 
 init();
@@ -85,8 +47,8 @@
     );
 }
 
-if ( system "grep \"Build-Dep.*mono-utils\" debian/control" ) {
-    warning("Warning! No Build-Depends on mono-utils!");
+if ( system "grep \"Build-Dep.*mono-utils.*0.95\" debian/control" ) {
+    warning("Warning! No Build-Depends on mono-utils (>= 0.95)!");
 }
 
 if ( !defined $mono_version || $mono_version eq "" ) {
@@ -223,7 +185,7 @@
 
 L<debhelper(7)>
 
-This program may be a part of debhelper or mono-utils.
+This program is a part of mono-utils.
 
 =head1 AUTHOR
 

Added: mono/trunk/debian/mono-utils.install
===================================================================
--- mono/trunk/debian/mono-utils.install	2004-06-12 16:41:35 UTC (rev 958)
+++ mono/trunk/debian/mono-utils.install	2004-06-12 16:54:47 UTC (rev 959)
@@ -0,0 +1 @@
+debian/dh_makenetlibs debian/dh_netdeps /usr/bin