Here are two patches I needed to get systemd to build against the
current libnotify and vala releases.
diff -up systemd-11/src/ask-password-agent.vala.notify systemd-11/src/ask-password-agent.vala
--- systemd-11/src/ask-password-agent.vala.notify 2010-11-12 20:27:39.535719001 -0500
+++ systemd-11/src/ask-password-agent.vala 2010-11-12 20:27:52.233719001 -0500
@@ -181,8 +181,7 @@ public class MyStatusIcon : StatusIcon {
set_visible(true);
- Notification n = new Notification(title, message, icon, null);
- n.attach_to_status_icon(this);
+ Notification n = new Notification(title, message, icon);
n.set_timeout(5000);
n.show();
diff -up systemd-11/src/ask-password-agent.vala.vala-build systemd-11/src/ask-password-agent.vala
--- systemd-11/src/ask-password-agent.vala.vala-build 2010-11-12 20:51:53.579719000 -0500
+++ systemd-11/src/ask-password-agent.vala 2010-11-12 20:52:06.288719002 -0500
@@ -225,7 +225,7 @@ public class MyStatusIcon : StatusIcon {
OutputStream stream = new UnixOutputStream(to_process, true);
- stream.write(password, password.length, null);
+ stream.write(password.data, null);
}
}
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel