Merge lp:~nataliabidart/ubuntu/maverick/ubuntu-sso-client/ubuntu-sso-client-1.0.4 into lp:ubuntu/maverick/ubuntu-sso-client

Proposed by Natalia Bidart on 2010-10-12
Status: Merged
Merge reported by: Natalia Bidart
Merged at revision: not available
Proposed branch: lp:~nataliabidart/ubuntu/maverick/ubuntu-sso-client/ubuntu-sso-client-1.0.4
Merge into: lp:ubuntu/maverick/ubuntu-sso-client
Diff against target: 137 lines (+35/-20)
6 files modified
.bzr-builddeb/default.conf (+2/-0)
PKG-INFO (+1/-1)
bin/ubuntu-sso-login (+11/-17)
debian/changelog (+18/-0)
debian/control (+2/-1)
setup.py (+1/-1)
To merge this branch: bzr merge lp:~nataliabidart/ubuntu/maverick/ubuntu-sso-client/ubuntu-sso-client-1.0.4
Reviewer Review Type Date Requested Status
Ken VanDine 2010-10-12 Approve on 2010-10-13
Review via email: mp+38221@code.launchpad.net

Description of the Change

  * New upstream release (SRUs):
  [ Alejandro J. Cura <email address hidden> ]
    * Replace twisted gtk reactor with the standard gtk mainloop. (LP: #655327).
  [ Alejandro J. Cura <email address hidden> ]
    * Call the dbus mainloop thread init (fixes LP: #656545).

  * Adding .bzr-builddeb/default.conf as per mvo request.
  * Adding dpkg (>= 1.15.7.2) as Pre-Depends (fixes LP: #658768).
  * Adding gnome-keyring as dep since python-gnomekeyring doesn't install it.

To post a comment you must log in.
Natalia Bidart (nataliabidart) wrote :

Note: I couldn't branch maverick-proposed (nor propose merge against it) since the branch does not exist (yet?).

21. By Natalia Bidart on 2010-10-12

Updating changelog with debian/control fixes.

Ken VanDine (ken-vandine) wrote :

Uploaded to maverick-proposed, in the unapproved queue.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added directory '.bzr-builddeb'
2=== added file '.bzr-builddeb/default.conf'
3--- .bzr-builddeb/default.conf 1970-01-01 00:00:00 +0000
4+++ .bzr-builddeb/default.conf 2010-10-12 13:39:44 +0000
5@@ -0,0 +1,2 @@
6+[BUILDDEB]
7+split=True
8
9=== modified file 'PKG-INFO'
10--- PKG-INFO 2010-10-01 14:57:22 +0000
11+++ PKG-INFO 2010-10-12 13:39:44 +0000
12@@ -1,6 +1,6 @@
13 Metadata-Version: 1.1
14 Name: ubuntu-sso-client
15-Version: 1.0.3
16+Version: 1.0.4
17 Summary: Ubuntu Single Sign-On client
18 Home-page: https://launchpad.net/ubuntu-sso-client
19 Author: Natalia Bidart
20
21=== modified file 'bin/ubuntu-sso-login'
22--- bin/ubuntu-sso-login 2010-10-01 14:57:22 +0000
23+++ bin/ubuntu-sso-login 2010-10-12 13:39:44 +0000
24@@ -42,6 +42,7 @@
25 import signal
26 import sys
27
28+import dbus.mainloop.glib
29 import dbus.service
30 import gtk
31
32@@ -57,21 +58,21 @@
33
34
35 logger = setup_logging("ubuntu-sso-login")
36+dbus.mainloop.glib.threads_init()
37 gtk.gdk.threads_init()
38 DBusGMainLoop(set_as_default=True)
39
40
41 def sighup_handler(*a, **kw):
42- """Stop the service.
43-
44- This is not thread safe, see the link below for info:
45- www.listware.net/201004/gtk-devel-list/115067-unix-signals-in-glib.html
46- """
47- from twisted.internet import reactor
48- # Module 'twisted.internet.reactor' has no 'stop' member
49- # pylint: disable=E1101
50+ """Stop the service."""
51+ # This handler may be called in any thread, so is not thread safe.
52+ # See the link below for info:
53+ # www.listware.net/201004/gtk-devel-list/115067-unix-signals-in-glib.html
54+ #
55+ # gtk.main_quit and the logger methods are safe to be called from any thread.
56+ # Just don't call other random stuff here.
57 logger.info("Stoping Ubuntu SSO login manager since SIGHUP was received.")
58- reactor.stop()
59+ gtk.main_quit()
60
61
62 if __name__ == "__main__":
63@@ -83,10 +84,6 @@
64 logger.error("Ubuntu SSO login manager already running, quitting.")
65 sys.exit(0)
66
67- logger.debug("Installing the Twisted gtk2reactor.")
68- from twisted.internet import gtk2reactor
69- gtk2reactor.install()
70-
71 logger.debug("Hooking up SIGHUP with handler %r.", sighup_handler)
72 signal.signal(signal.SIGHUP, sighup_handler)
73
74@@ -97,7 +94,4 @@
75 bus=dbus.SessionBus()),
76 object_path=DBUS_CRED_PATH)
77
78- from twisted.internet import reactor
79- # Module 'twisted.internet.reactor' has no 'run' member
80- # pylint: disable=E1101
81- reactor.run()
82+ gtk.main()
83
84=== modified file 'debian/changelog'
85--- debian/changelog 2010-10-01 15:35:43 +0000
86+++ debian/changelog 2010-10-12 13:39:44 +0000
87@@ -1,3 +1,21 @@
88+ubuntu-sso-client (1.0.4-0ubuntu1) UNRELEASED; urgency=low
89+
90+ * New upstream release:
91+
92+ [ Alejandro J. Cura <alecu@canonical.com> ]
93+ * Replace twisted gtk reactor with the standard gtk mainloop. (LP: #655327).
94+
95+ [ Alejandro J. Cura <alecu@canonical.com> ]
96+ * Call the dbus mainloop thread init (fixes LP: #656545).
97+
98+ * Adding .bzr-builddeb/default.conf as per Michael Vog (mvo) request.
99+
100+ * Adding dpkg (>= 1.15.7.2) as Pre-Depends (fixes LP: #658768).
101+
102+ * Adding gnome-keyring as dep since python-gnomekeyring doesn't install it.
103+
104+ -- Natalia Bidart (nessita) <nataliabidart@gmail.com> Tue, 12 Oct 2010 10:07:55 -0300
105+
106 ubuntu-sso-client (1.0.3-0ubuntu1) maverick; urgency=low
107
108 * New upstream release:
109
110=== modified file 'debian/control'
111--- debian/control 2010-09-13 15:02:42 +0000
112+++ debian/control 2010-10-12 13:39:44 +0000
113@@ -13,9 +13,10 @@
114 Package: ubuntu-sso-client
115 Architecture: all
116 XB-Python-Version: ${python:Versions}
117+Pre-Depends: dpkg (>=1.15.7.2),
118 Depends: ${misc:Depends},
119 ${python:Depends},
120- dpkg (>=1.15.7.2),
121+ gnome-keyring,
122 python-dbus,
123 python-gnomekeyring,
124 python-gtk2,
125
126=== modified file 'setup.py'
127--- setup.py 2010-10-01 14:57:22 +0000
128+++ setup.py 2010-10-12 13:39:44 +0000
129@@ -86,7 +86,7 @@
130
131 DistUtilsExtra.auto.setup(
132 name='ubuntu-sso-client',
133- version='1.0.3',
134+ version='1.0.4',
135 license='GPL v3',
136 author='Natalia Bidart',
137 author_email='natalia.bidart@canonical.com',

Subscribers

People subscribed via source and target branches

to all changes: