Merge lp:~pali/ubuntu/oneiric/kubuntu-default-settings/kubuntu-default-settings into lp:ubuntu/oneiric/kubuntu-default-settings

Proposed by Pali
Status: Work in progress
Proposed branch: lp:~pali/ubuntu/oneiric/kubuntu-default-settings/kubuntu-default-settings
Merge into: lp:ubuntu/oneiric/kubuntu-default-settings
Diff against target: 152 lines (+71/-15)
5 files modified
debian/changelog (+15/-0)
lib/plymouth/themes/kubuntu-logo/kubuntu-logo.script (+52/-5)
share/apps/plasma-desktop/init/00-defaultLayout.js (+1/-0)
share/config/kgpgrc (+0/-10)
share/config/krunnerrc (+3/-0)
To merge this branch: bzr merge lp:~pali/ubuntu/oneiric/kubuntu-default-settings/kubuntu-default-settings
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: mp+63334@code.launchpad.net

Description of the change

plymouth-theme-kubuntu-logo: Added support for scrolling boot log messages in kubuntu-logo theme

This is part of patch series for plymouth. Other patches for ubuntu-logo and plymouth binary here:
https://code.launchpad.net/~pali/ubuntu/natty/plymouth/plymouth/+merge/61897

To post a comment you must log in.
Revision history for this message
Martin Pitt (pitti) wrote :

This is blocked on landing https://code.launchpad.net/~pali/ubuntu/natty/plymouth/plymouth/+merge/61897 upstream first. I'm setting this to "work in progress", please set back to "needs review" once above happened. Thanks!

308. By Pali

kubuntu-logo: fix position and count of boot log messages

309. By Pali

* bzr merge lp:ubuntu/oneiric/kubuntu-default-settings

310. By Pali

* bzr merge lp:ubuntu/kubuntu-default-settings

Unmerged revisions

310. By Pali

* bzr merge lp:ubuntu/kubuntu-default-settings

309. By Pali

* bzr merge lp:ubuntu/oneiric/kubuntu-default-settings

308. By Pali

kubuntu-logo: fix position and count of boot log messages

307. By Pali

Added support for scrolling boot log messages in kubuntu-logo theme

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2011-09-24 10:41:02 +0000
3+++ debian/changelog 2012-01-28 13:59:25 +0000
4@@ -1,3 +1,18 @@
5+kubuntu-default-settings (1:12.04ubuntu2) precise; urgency=low
6+
7+ * Remove kgpg pre-set config, requires first run wizard now alas
8+ but can not be avoided. LP: #919460
9+
10+ -- Jonathan Riddell <jriddell@ubuntu.com> Fri, 27 Jan 2012 13:47:26 +0000
11+
12+kubuntu-default-settings (1:12.04ubuntu1) precise; urgency=low
13+
14+ * Avoid launching akonadi at startup. (LP: #873396)
15+ - Disable the krunner plugins "Calendar Events" and "Contacts".
16+ - Don't display events in the clock widget pop-up.
17+
18+ -- Felix Geyer <debfx-pkg@fobos.de> Sun, 13 Nov 2011 17:55:10 +0100
19+
20 kubuntu-default-settings (1:11.10ubuntu4) oneiric; urgency=low
21
22 [ Harald Sitter ]
23
24=== modified file 'lib/plymouth/themes/kubuntu-logo/kubuntu-logo.script'
25--- lib/plymouth/themes/kubuntu-logo/kubuntu-logo.script 2010-06-17 20:12:03 +0000
26+++ lib/plymouth/themes/kubuntu-logo/kubuntu-logo.script 2012-01-28 13:59:25 +0000
27@@ -18,6 +18,7 @@
28 # 02111-1307, USA.
29 #
30 # Written by: Alberto Milone <alberto.milone@canonical.com>
31+# Pali Rohár <pali.rohar@gmail.com>
32 #
33 # Based on the example provided with the "script plugin" written by:
34 # Charlie Brej <cbrej@cs.man.ac.uk>
35@@ -87,7 +88,7 @@
36 local.min_height;
37
38 # Put the 1st line below the logo + some spacing
39- y = logo.y + logo.height + (progress_indicator.bullet_height * 7 ); # + logo_spacing;
40+ y = logo.y + logo.height + (progress_indicator.bullet_height * 2 ); # + logo_spacing;
41
42 text_height = first_line_height * 7.5;
43
44@@ -225,6 +226,14 @@
45 # a bit if needed.
46 top_of_the_text = TextYOffset();
47
48+# Character 'M' is the biggest - calculate maximum characters for line
49+log_line_width = Window.GetWidth () / ImageToTintedText ("M").GetWidth () - 5;
50+# Calculate line count
51+log_line_count = ( Window.GetHeight () - progress_indicator.y - progress_indicator.height ) / 20;
52+
53+for (i = 0; i < log_line_count; i++)
54+ log_notification[i] = "";
55+
56 #-----------------------------------------Logo functions------------------------------
57
58 # Call this when updating the screen
59@@ -387,10 +396,8 @@
60 message_label.y = top_of_the_text;
61
62 # Put the 2nd line below the fsck line
63- if (is_action_line) {
64- local.fsck_label.y = message_label.y + (first_line_height + first_line_height / 2);
65- message_label.y = local.fsck_label.y + (first_line_height * 2);
66- }
67+ if (is_action_line)
68+ message_label.y = progress_indicator.y + progress_indicator.height + 60;
69
70 # Debug("action label x = " + message_label.x + " y = " + message_label.y );
71
72@@ -487,6 +494,46 @@
73 if (keys != NULL)
74 message = StringCopy (message, keys + StringLength(local.substring), NULL);
75
76+ local.substring = "log:";
77+ local.log = StringString (message, local.substring);
78+ if (log != NULL) {
79+ message = StringCopy (message, log + StringLength (local.substring), NULL);
80+
81+ if (message == "ok" || message == "failed") {
82+ local.last = 0;
83+ for (last = 0; last < log_line_count-1; last++) {}
84+
85+ local.len = StringLength (log_notification[last]);
86+ local.ok = "";
87+ local.failed = "";
88+
89+ if (len > 2)
90+ ok = StringCopy (log_notification[last], len - 2, NULL);
91+
92+ if (len > 6)
93+ failed = StringCopy (log_notification[last], len - 6, NULL);
94+
95+ if (len > 0 && ok != "ok" && failed != "failed")
96+ log_notification[last] += " " + message;
97+ } else {
98+ if (StringLength (message) > log_line_width-6)
99+ message = message.SubString (0, log_line_width-9);
100+ message += "...";
101+
102+ for (i = 0; i < log_line_count-1; i++)
103+ log_notification[i] = log_notification[i+1];
104+ log_notification[i] = message;
105+ }
106+
107+ message = "";
108+ for (i = 0; i < log_line_count; i++)
109+ if (log_notification[i] != "")
110+ message += log_notification[i] + "\n";
111+
112+ label = get_message_label ("", 1, 1);
113+ setup_message ("", label.x, label.y, 10000, 1);
114+ }
115+
116 local.label.is_fake = is_fake;
117 label = get_message_label(message, is_fake, is_action_line);
118 label.z = 10000;
119
120=== modified file 'share/apps/plasma-desktop/init/00-defaultLayout.js'
121--- share/apps/plasma-desktop/init/00-defaultLayout.js 2011-08-19 16:46:29 +0000
122+++ share/apps/plasma-desktop/init/00-defaultLayout.js 2012-01-28 13:59:25 +0000
123@@ -31,3 +31,4 @@
124
125 clock = panel.addWidget("digital-clock");
126 clock.writeConfig("showDate", "true");
127+clock.writeConfig("displayEvents", "false");
128
129=== modified file 'share/config/kgpgrc'
130--- share/config/kgpgrc 2009-09-10 23:27:22 +0000
131+++ share/config/kgpgrc 2012-01-28 13:59:25 +0000
132@@ -1,12 +1,2 @@
133-[General Options]
134-First run=false
135-
136-[GPG Settings]
137-Groups=
138-gpg_config_path=$HOME/.gnupg/options
139-
140-[Servers]
141-Server_List=hkp://keyserver.ubuntu.com (Default),hkp://wwwkeys.eu.pgp.net,hkp://search.keyserver.net,hkp://wweys.pgp.net,hkp://pgp.dtype.org,hkp://wwwkeys.us.pgp.net
142-
143 [TipOfDay]
144 RunOnStart=false
145
146=== added file 'share/config/krunnerrc'
147--- share/config/krunnerrc 1970-01-01 00:00:00 +0000
148+++ share/config/krunnerrc 2012-01-28 13:59:25 +0000
149@@ -0,0 +1,3 @@
150+[Plugins]
151+kabccontactsEnabled=false
152+org.kde.events_runnerEnabled=false

Subscribers

People subscribed via source and target branches

to all changes: