--- service-discovery-applet-0.3.1.orig/debian/compat +++ service-discovery-applet-0.3.1/debian/compat @@ -0,0 +1 @@ +4 --- service-discovery-applet-0.3.1.orig/debian/copyright +++ service-discovery-applet-0.3.1/debian/copyright @@ -0,0 +1,30 @@ +This package was debianized by Sebastian Dröge on +Tue, 8 Sep 2005 15:12:41 +0200. + +It was downloaded from svn://svn.0pointer.de/service-discovery-applet/ + +Upstream Authors: Sebastien Estienne + Sebastian Dröge + +Copyright: + + Copyright (c) 2005 Sebastien Estienne + + sd-applet 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. + + sd-applet 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 sd-applet; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + 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. + --- service-discovery-applet-0.3.1.orig/debian/control +++ service-discovery-applet-0.3.1/debian/control @@ -0,0 +1,14 @@ +Source: service-discovery-applet +Section: net +Priority: optional +Maintainer: Sebastian Dröge +Build-Depends-Indep: cdbs (>> 0.4.8), debhelper (>= 4.1.60), python2.4-gtk2, python2.4-gnome2, python2.4-gnome2-extras, python2.4-dbus, python2.4-avahi, dbus-1-utils, intltool +Standards-Version: 3.6.2 + +Package: service-discovery-applet +Architecture: all +Depends: ${python:Depends}, python2.4-gtk2, python2.4-gnome2, python2.4-gnome2-extras, python2.4-dbus, python2.4-avahi, dbus-1-utils +Description: service discovery applet based on avahi for the GNOME panel + The service discovery applet lists all available services which are + published through avahi/Rendezvous/Bonjour/ZeroConf and allows to run + actions on that service. --- service-discovery-applet-0.3.1.orig/debian/rules +++ service-discovery-applet-0.3.1/debian/rules @@ -0,0 +1,8 @@ +#!/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 + +common-binary-predeb-indep:: + dh_python -pservice-discovery-applet --- service-discovery-applet-0.3.1.orig/debian/changelog +++ service-discovery-applet-0.3.1/debian/changelog @@ -0,0 +1,39 @@ +service-discovery-applet (0.3.1-0ubuntu2) dapper; urgency=low + + * 01_avahi-0.6.1.diff: + + Fix s-d-a for avahi 0.6.1 + + -- Sebastian Dröge Wed, 7 Dec 2005 14:54:18 +0100 + +service-discovery-applet (0.3.1-0ubuntu1) dapper; urgency=low + + * New upstream release + + Support for avahi 0.6 + + -- Sebastian Dröge Fri, 18 Nov 2005 22:22:27 +0100 + +service-discovery-applet (0.3-0ubuntu2) breezy; urgency=low + + * 01_polish-ssh-login-dialog.diff: + + Patch from svn to improve usability of the ssh login dialog + + -- Sebastian Dröge Wed, 12 Oct 2005 22:29:56 +0200 + +service-discovery-applet (0.3-0ubuntu1) breezy; urgency=low + + * New upstream release + + -- Sebastian Dröge Fri, 7 Oct 2005 00:20:01 +0200 + +service-discovery-applet (0.2-0ubuntu1) breezy; urgency=low + + * New upstream release + + -- Sebastian Dröge Wed, 5 Oct 2005 11:40:57 +0200 + +service-discovery-applet (0.1-0ubuntu1) breezy; urgency=low + + * Initial revision + + -- Sebastian Dröge Tue, 8 Sep 2005 15:12:41 +0200 + --- service-discovery-applet-0.3.1.orig/debian/patches/01_avahi-0.6.1.diff +++ service-discovery-applet-0.3.1/debian/patches/01_avahi-0.6.1.diff @@ -0,0 +1,38 @@ +--- src/service-discovery-applet.in.old 2005-12-07 14:52:45.992994264 +0100 ++++ src/service-discovery-applet.in 2005-12-07 14:53:49.944272192 +0100 +@@ -290,7 +290,7 @@ + print "Error:", str(err) + + def menuitem_response(self, widget, interface, protocol, name, type, domain): +- if self.avahi_version == "avahi 0.6": ++ if self.avahi_version >= 514: + self.server.ResolveService(interface, protocol, name, type, domain, avahi.PROTO_INET, dbus.UInt32(0), reply_handler=self.service_resolved, error_handler=self.print_error) + else: + self.server.ResolveService(interface, protocol, name, type, domain, avahi.PROTO_INET, reply_handler=self.service_resolved_old, error_handler=self.print_error) +@@ -303,7 +303,7 @@ + + try: + if self.show_local_services == False: +- if self.avahi_version != "avahi 0.6": ++ if self.avahi_version < 514: + if self.server.IsServiceLocal( interface, protocol, name, type, domain) == True: + return + else: +@@ -371,7 +371,7 @@ + + print "Browsing for services of type '%s' in domain '%s' on %s.%i ..." % (type, domain, self.siocgifname(interface), protocol) + +- if self.avahi_version == "avahi 0.6": ++ if self.avahi_version >= 514: + b = dbus.Interface(self.system_bus.get_object(avahi.DBUS_NAME, + self.server.ServiceBrowserNew(interface, protocol, type, domain, dbus.UInt32(0))) + , avahi.DBUS_INTERFACE_SERVICE_BROWSER) +@@ -438,7 +438,7 @@ + self.sdaNotifications.display_notification(_("Already Discovering"),"") + return + try: +- self.avahi_version = self.server.GetVersionString() ++ self.avahi_version = self.server.GetAPIVersion() + self.domain = self.server.GetDomainName() + except: + self.sdaNotifications.display_notification(_("Error Detected!"),_("Check that the Avahi daemon is running!"))