--- indicator-network-0.2.8.orig/debian/watch +++ indicator-network-0.2.8/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://launchpad.net/indicator-network/+download .*/indicator-network-([0-9.]+)\.tar\.gz --- indicator-network-0.2.8.orig/debian/rules +++ indicator-network-0.2.8/debian/rules @@ -0,0 +1,15 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/utils.mk +include /usr/share/cdbs/1/class/gnome.mk + +DEB_CONFIGURE_EXTRA_FLAGS += --disable-scrollkeeper +LDFLAGS += -Wl,-z,defs -Wl,--as-needed + +binary-install/indicator-network:: + # remove .a/.la clutter + rm -f debian/$(cdbs_curpkg)/usr/lib/indicators/*/*.a + rm -f debian/$(cdbs_curpkg)/usr/lib/indicators/*/*.la + +common-binary-predeb-arch:: list-missing --- indicator-network-0.2.8.orig/debian/copyright +++ indicator-network-0.2.8/debian/copyright @@ -0,0 +1,37 @@ +This package was debianized by: + + Kalle Valo on Fri, 22 Jan 2010 11:36:32 +0000 + +It was downloaded from: + + http://launchpad.net/indicator-network + +Upstream Author(s): + + Kalle Valo + +Copyright: + + Copyright (C) 2010 Canonical Ltd + +License: + + This program 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, version 3 of the License. + + This package 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 this program. If not, see . + + +The Debian packaging is: + + Copyright (C) 2010 Canonical Ltd + +On Debian systems, the complete text of the GNU General +Public License version 3 can be found in `/usr/share/common-licenses/GPL-3'. --- indicator-network-0.2.8.orig/debian/control +++ indicator-network-0.2.8/debian/control @@ -0,0 +1,32 @@ +Source: indicator-network +Section: gnome +Priority: optional +Maintainer: Ubuntu Desktop Team +Build-Depends: debhelper (>= 7), + cdbs (>= 0.4.41), + autotools-dev, + libglib2.0-dev (>= 2.22.3), + libgtk2.0-dev (>= 2.12.0), + libdbus-glib-1-dev, + libindicator-dev (>= 0.3.0), + libdbusmenu-gtk-dev (>= 0.2.2), + libdbusmenu-glib-dev (>= 0.1.1), + libido-0.1-dev (>= 0.1.2), + libnotify-dev (>= 0.4.5) +Standards-Version: 3.8.4 +Homepage: http://launchpad.net/indicator-network +Vcs-Bzr: http://bazaar.launchpad.net/~ubuntu-desktop/indicator-network/ubuntu +Vcs-Browser: https://code.launchpad.net/~ubuntu-desktop/indicator-network/ubuntu + +Package: indicator-network +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends}, + python, + python-dbus, + python-gtk2, + python-gobject, + connman (>= 0.50) +Description: A system network indicator. + A system network indicator which provides easy control of the Connection + Manager. --- indicator-network-0.2.8.orig/debian/changelog +++ indicator-network-0.2.8/debian/changelog @@ -0,0 +1,62 @@ +indicator-network (0.2.8-0lucid1) lucid; urgency=low + + * New upstream release + - passhrase dialog: add "show password" button and hide password by default + - passphrase dialog: check passphrase lenght and allow only valid length + - Refactor passphrase dialog code to passphrase-dialog.c. + - mobile wizard: implement sensitivity for the connect button + - mobile wizard: connect to service after APN is set + - mobile wizard: add automatic and manual radio buttons + - settings: add icon to the technology list + - mobile wizard: show apn (data plan) name only if there are more than one + + -- Ken VanDine Thu, 29 Jul 2010 11:05:19 -0400 + +indicator-network (0.2.7-0ubuntu1) maverick; urgency=low + + * New upstream release + - Updates to the settings layout + - Connection handling tweaks to Workaround some connman bugs + - Fixes for editing nameservers and domains + + -- Ken VanDine Thu, 22 Jul 2010 17:27:27 +0200 + +indicator-network (0.2.6-0ubuntu1) maverick; urgency=low + + * New upstream release + - Implement prototype for indicator-network-mobile-wizard. + - Enable network settings in the network menu. + - Start mobile wizard for every cellular which needs setup. + - Implement PinDialog, for asking PIN from the user. + - Show animation when connecting to a network and already online. + - Consider login state similar as ready and online. We don't have + any support for the login state now, so better to just consider + it as the same as the two others. + + * debian/control + - Added depends for python-gtk2 + + -- Ken VanDine Thu, 24 Jun 2010 11:36:34 -0400 + +indicator-network (0.2.5-0ubuntu1) maverick; urgency=low + + [ Ken VanDine ] + * New upstream release 0.2.5 + * debian/control + - Removed build-dep for python-all + - Removed ignored ${python:Depends} + - Added depends for python-dbus and python-gobject + + -- Didier Roche Thu, 17 Jun 2010 21:30:50 +0200 + +indicator-network (0.2.0-0ubuntu1) maverick; urgency=low + + * New upstream release 0.2.0 + + -- Ken VanDine Thu, 27 May 2010 10:19:10 -0400 + +indicator-network (0.0.0+r1-0ubuntu1) maverick; urgency=low + + * Initial packaging. + + -- Ken VanDine Thu, 20 May 2010 13:47:27 -0400 --- indicator-network-0.2.8.orig/tests/Makefile.am +++ indicator-network-0.2.8/tests/Makefile.am @@ -0,0 +1,47 @@ +noinst_PROGRAMS = \ + test-service + +test_service_SOURCES = \ + test-service.c + +test_service_CPPFLAGS = \ + -I$(top_srcdir) \ + -I$(top_srcdir)/src \ + -I$(top_builddir)/src \ + -DTESTDIR=\""$(top_srcdir)/tests"\" \ + $(NETWORKSERVICE_CFLAGS) \ + $(GCC_FLAGS) \ + $(GLIB_CFLAGS) \ + $(DBUS_CFLAGS) \ + $(MAINTAINER_CFLAGS) + +test_service_LDADD = \ + $(NETWORKSERVICE_LIBS) \ + $(GLIB_LIBS) \ + $(DBUS_LIBS) + +test_service_LDFLAGS = \ + -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions \ + $(NULL) + +#run make test as part of make check +check-local: test +test: + @gtester -k -o=test-service-results.xml ./test-service + +.PHONY: check-report full-report +check-report: + @gtester -k -o=test-service-results.xml -k ./test-service \ + && ( gtester-report test-service-results.xml \ + | sed 's/GTester Unit Test ReportGTester Unit Test Report (normal) test-service-results.html ) \ + && gnome-open ./test-service-results.html + +full-report: + @gtester -k -o=test-service-results.xml -k -m=slow ./test-service \ + && ( gtester-report test-service-results.xml \ + | sed 's/>GTester Unit Test ReportGTester Unit Test Report (normal) test-service-results.html ) + +clean-generic: + rm -f test-service-results.xml test-service-results.html --- indicator-network-0.2.8.orig/tests/test-service.c +++ indicator-network-0.2.8/tests/test-service.c @@ -0,0 +1,61 @@ +// +// Copyright (C) 2010 Canonical Ltd. +// +// This program 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 3 of the License, or +// (at your option) any later version. +// +// This program 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 this program. If not, see . +// + +#include +#include +#include +#include +#include +#include +#include +#include + + + +static void +test_dummy (void) +{ + g_assert (TRUE); +} + +static void +test_pin_dialog (void) +{ + /* reminder: test that the pin dialog handles an async call failure */ + g_debug ("test not implemented"); + /* g_assert (FALSE); */ +} + +void +test_service_create_suite (void) +{ +#define DOMAIN "/Network/Service" + + g_test_add_func (DOMAIN"/Dummy", test_dummy); + g_test_add_func (DOMAIN"/PinDialogAsyncFail", test_pin_dialog); +} + +gint +main (gint argc, gchar *argv[]) +{ + g_type_init (); + g_test_init (&argc, &argv, NULL); + + test_service_create_suite (); + + return g_test_run (); +}