[Pkg-mono-svn-commits] rev 2638 - in non-group/gshare/trunk: . debian debian/patches

Sebastian Dröge slomo-guest at costa.debian.org
Mon Jul 24 12:27:34 UTC 2006


Author: slomo-guest
Date: 2006-07-24 12:27:29 +0000 (Mon, 24 Jul 2006)
New Revision: 2638

Added:
   non-group/gshare/trunk/debian/
   non-group/gshare/trunk/debian/changelog
   non-group/gshare/trunk/debian/compat
   non-group/gshare/trunk/debian/control
   non-group/gshare/trunk/debian/copyright
   non-group/gshare/trunk/debian/patches/
   non-group/gshare/trunk/debian/patches/01_delegate-ftbfs.patch
   non-group/gshare/trunk/debian/rules
   non-group/gshare/trunk/debian/watch
Log:
* add first version of gshare


Added: non-group/gshare/trunk/debian/changelog
===================================================================
--- non-group/gshare/trunk/debian/changelog	2006-07-24 12:26:53 UTC (rev 2637)
+++ non-group/gshare/trunk/debian/changelog	2006-07-24 12:27:29 UTC (rev 2638)
@@ -0,0 +1,8 @@
+gshare (0.92-1) unstable; urgency=low
+
+  * Initial revision (Closes: #365585)
+  * debian/patches/01_delegate-ftbfs.patch:
+    + Fixes a FTBFS because of ambigous calls
+
+ -- Sebastian Dröge <slomo at ubuntu.com>  Sat, 22 Jul 2006 19:58:32 +0200
+

Added: non-group/gshare/trunk/debian/compat
===================================================================
--- non-group/gshare/trunk/debian/compat	2006-07-24 12:26:53 UTC (rev 2637)
+++ non-group/gshare/trunk/debian/compat	2006-07-24 12:27:29 UTC (rev 2638)
@@ -0,0 +1 @@
+5

Added: non-group/gshare/trunk/debian/control
===================================================================
--- non-group/gshare/trunk/debian/control	2006-07-24 12:26:53 UTC (rev 2637)
+++ non-group/gshare/trunk/debian/control	2006-07-24 12:27:29 UTC (rev 2638)
@@ -0,0 +1,13 @@
+Source: gshare
+Section: gnome
+Priority: optional
+Maintainer: Sebastian Dröge <slomo at ubuntu.com>
+Build-Depends: debhelper (>= 5), cdbs, cli-common-dev (>= 0.4.0), libmono-dev (>= 1.1.10), mono-mcs (>= 1.0) | c-sharp-compiler, libmono1.0-cil, libgtk2.0-cil (>= 2.8), libgconf2.0-cil (>= 2.8), libglade2.0-cil (>= 2.6), libgnome2.0-cil (>= 2.8), libdbus-1-cil (>= 0.60), libavahi1.0-cil (>= 0.6.9), pkg-config, intltool (>= 0.23)
+Standards-Version: 3.7.2
+
+Package: gshare
+Architecture: all
+Depends: ${cli:Depends}, ${misc:Depends}
+Description: Easy user-level file sharing for GNOME
+ GShare is a small GNOME application that allows easy user-level file sharing
+ via FTP. DNS-SD is used to publish the share on the local network.

Added: non-group/gshare/trunk/debian/copyright
===================================================================
--- non-group/gshare/trunk/debian/copyright	2006-07-24 12:26:53 UTC (rev 2637)
+++ non-group/gshare/trunk/debian/copyright	2006-07-24 12:27:29 UTC (rev 2638)
@@ -0,0 +1,28 @@
+This package was debianized by Sebastian Dröge <slomo at ubuntu.com> on
+Sat, 22 Jul 2006 19:58:32 +0200.
+
+It was downloaded from http://yimports.com/~cpinto/projects/gnome/gshare
+
+Upstream Author: 	Celso Pinto <cpinto at yimports.com>
+
+Copyright:
+
+ Copyright (C) 2006 Celso Pinto <cpinto at yimports.com>
+
+ GShare is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ GShare is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with GShare; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+ On Debian systems, the complete text of the GNU General Public
+ License, version 2, can be found in /usr/share/common-licenses/GPL-2.
+

Added: non-group/gshare/trunk/debian/patches/01_delegate-ftbfs.patch
===================================================================
--- non-group/gshare/trunk/debian/patches/01_delegate-ftbfs.patch	2006-07-24 12:26:53 UTC (rev 2637)
+++ non-group/gshare/trunk/debian/patches/01_delegate-ftbfs.patch	2006-07-24 12:27:29 UTC (rev 2638)
@@ -0,0 +1,85 @@
+--- src/gshared/daemon.cs.old	2006-07-22 20:29:12.206476750 +0200
++++ src/gshared/daemon.cs	2006-07-22 20:44:49.065026750 +0200
+@@ -308,11 +308,11 @@
+             if (reason == FTPServerShutdownReason.Error)
+             {
+                 Log.ErrorMessage("Shutting down FTP server because of an error");
+-                Utility.InvokeLater(delegate
++                Utility.InvokeLater((GShare.Utility.BackgroundTask)(delegate
+                     { 
+                         Utility.ShowGenericFatalErrorDialog(); 
+                         Shutdown(); 
+-                    });
++                    }));
+             }
+         }
+         
+@@ -367,24 +367,24 @@
+             {
+                 case ClientState.Collision:
+                     /*TODO figure out what to do*/
+-                    Utility.InvokeLater(delegate
++                    Utility.InvokeLater((GShare.Utility.BackgroundTask)(delegate
+                         { 
+                             StopDaemon();
+-                        });
++                        }));
+                     break;
+                 case ClientState.Failure:
+                     Log.ErrorMessage("Zeroconf client failed to register");
+-                    Utility.InvokeLater(delegate
++                    Utility.InvokeLater((GShare.Utility.BackgroundTask)(delegate
+                         {
+                             Utility.ShowCannotPublishServiceDialog(); 
+                             Shutdown(); 
+-                        });
++                        }));
+                     break;
+                 case ClientState.Running:
+-                    Utility.InvokeLater(delegate
++                    Utility.InvokeLater((GShare.Utility.BackgroundTask)(delegate
+                         {
+                             PublishFTPServer(); 
+-                        });
++                        }));
+                     break;
+             }
+ 
+@@ -410,19 +410,19 @@
+                         iAvahiServiceName = EntryGroup.GetAlternativeServiceName(iAvahiServiceName);
+                     }
+                     
+-                    Utility.InvokeLater(delegate
++                    Utility.InvokeLater((GShare.Utility.BackgroundTask)(delegate
+                         {
+                             StartZeroConf(iFtpServer.ServerPort);
+-                        });
++                        }));
+                     
+                     break;
+                 case EntryGroupState.Failure:
+                     Log.ErrorMessage("Failed to publish FTP service on zeroconf network");
+-                    Utility.InvokeLater(delegate
++                    Utility.InvokeLater((GShare.Utility.BackgroundTask)(delegate
+                         {
+                             Utility.ShowCannotPublishServiceDialog();
+                             Shutdown(); 
+-                        });
++                        }));
+                     break;
+ 
+                 case EntryGroupState.Established:
+@@ -460,11 +460,11 @@
+                                     ex.Message,
+                                     ex.StackTrace);
+                                 
+-                Utility.InvokeLater(delegate 
++                Utility.InvokeLater((GShare.Utility.BackgroundTask)(delegate 
+                     {
+                         Utility.ShowCannotPublishServiceDialog(); 
+                         Shutdown(); 
+-                    });
++                    }));
+                 
+             }
+ 

Added: non-group/gshare/trunk/debian/rules
===================================================================
--- non-group/gshare/trunk/debian/rules	2006-07-24 12:26:53 UTC (rev 2637)
+++ non-group/gshare/trunk/debian/rules	2006-07-24 12:27:29 UTC (rev 2638)
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/gnome.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+export MONO_SHARED_DIR=$(CURDIR)
+
+install/gshare::
+	# fix permissions of CIL binaries
+	-find debian/ -type f -name "*.dll" -or -name "*.mdb" -or -name "*.cs" -or -name "*.config" | xargs chmod -x
+	-find debian/ -type f -name "*.exe" | xargs chmod +x
+	
+common-binary-predeb-indep::
+	dh_clideps -d
+
+clean::
+	rm -rf $(MONO_SHARED_DIR)/.wapi
+


Property changes on: non-group/gshare/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: non-group/gshare/trunk/debian/watch
===================================================================
--- non-group/gshare/trunk/debian/watch	2006-07-24 12:26:53 UTC (rev 2637)
+++ non-group/gshare/trunk/debian/watch	2006-07-24 12:27:29 UTC (rev 2638)
@@ -0,0 +1,3 @@
+version=2
+http://yimports.com/~cpinto/downloads/gshare/gshare-(.*)\.tar\.gz debian uupdate
+




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