Browse Source

plymouth-theme easyvdr v1

Martin 3 years ago
parent
commit
de5388f582
100 changed files with 17803 additions and 0 deletions
  1. 5
    0
      p/plymouth-theme-easyvdr-logo/debian/changelog
  2. 1
    0
      p/plymouth-theme-easyvdr-logo/debian/compat
  3. 21
    0
      p/plymouth-theme-easyvdr-logo/debian/control
  4. 30
    0
      p/plymouth-theme-easyvdr-logo/debian/copyright
  5. 1
    0
      p/plymouth-theme-easyvdr-logo/debian/plymouth-theme-easyvdr-logo.install
  6. 45
    0
      p/plymouth-theme-easyvdr-logo/debian/plymouth-theme-easyvdr-logo.postinst
  7. 12
    0
      p/plymouth-theme-easyvdr-logo/debian/plymouth-theme-easyvdr-logo.postrm
  8. 10
    0
      p/plymouth-theme-easyvdr-logo/debian/plymouth-theme-easyvdr-logo.prerm
  9. 7
    0
      p/plymouth-theme-easyvdr-logo/debian/rules
  10. 3
    0
      p/plymouth-theme-easyvdr-logo/easyvdr-logo/easyvdr-logo.grub
  11. 8
    0
      p/plymouth-theme-easyvdr-logo/easyvdr-logo/easyvdr-logo.plymouth
  12. 484
    0
      p/plymouth-theme-easyvdr-logo/easyvdr-logo/easyvdr-logo.script
  13. BIN
      p/plymouth-theme-easyvdr-logo/easyvdr-logo/fsck-fade.png
  14. BIN
      p/plymouth-theme-easyvdr-logo/easyvdr-logo/fsck-fade_16bit.png
  15. BIN
      p/plymouth-theme-easyvdr-logo/easyvdr-logo/logo.png
  16. BIN
      p/plymouth-theme-easyvdr-logo/easyvdr-logo/logo_16bit.png
  17. BIN
      p/plymouth-theme-easyvdr-logo/easyvdr-logo/passw-dialog.png
  18. BIN
      p/plymouth-theme-easyvdr-logo/easyvdr-logo/progress-fade.png
  19. BIN
      p/plymouth-theme-easyvdr-logo/easyvdr-logo/progress-fade_16bit.png
  20. BIN
      p/plymouth-theme-easyvdr-logo/easyvdr-logo/progress-meter.png
  21. BIN
      p/plymouth-theme-easyvdr-logo/easyvdr-logo/progress-meter_16bit.png
  22. BIN
      p/plymouth-theme-easyvdr-logo/easyvdr-logo/spinner.png
  23. BIN
      p/plymouth-theme-easyvdr-logo/easyvdr-logo/test.png
  24. BIN
      p/plymouth-theme-easyvdr-logo/easyvdr-logo/wallpaper.png
  25. 10
    0
      u/ubiquity-slideshow-ubuntu-83.1/.gcfunctions
  26. 23
    0
      u/ubiquity-slideshow-ubuntu-83.1/AUTHORS
  27. 348
    0
      u/ubiquity-slideshow-ubuntu-83.1/COPYING
  28. 22
    0
      u/ubiquity-slideshow-ubuntu-83.1/Makefile
  29. 265
    0
      u/ubiquity-slideshow-ubuntu-83.1/README
  30. 174
    0
      u/ubiquity-slideshow-ubuntu-83.1/Slideshow.py
  31. 8
    0
      u/ubiquity-slideshow-ubuntu-83.1/TODO
  32. 1044
    0
      u/ubiquity-slideshow-ubuntu-83.1/debian/changelog
  33. 1
    0
      u/ubiquity-slideshow-ubuntu-83.1/debian/compat
  34. 20
    0
      u/ubiquity-slideshow-ubuntu-83.1/debian/control
  35. 554
    0
      u/ubiquity-slideshow-ubuntu-83.1/debian/copyright
  36. 4
    0
      u/ubiquity-slideshow-ubuntu-83.1/debian/rules
  37. 1
    0
      u/ubiquity-slideshow-ubuntu-83.1/debian/source/format
  38. 1
    0
      u/ubiquity-slideshow-ubuntu-83.1/debian/source/options
  39. 1
    0
      u/ubiquity-slideshow-ubuntu-83.1/debian/ubiquity-slideshow-ubuntu.install
  40. 77
    0
      u/ubiquity-slideshow-ubuntu-83.1/generate-local-slides.py
  41. 18
    0
      u/ubiquity-slideshow-ubuntu-83.1/generate-pot-files.sh
  42. 16
    0
      u/ubiquity-slideshow-ubuntu-83.1/images-source/generate-reflected-pngs.sh
  43. 187
    0
      u/ubiquity-slideshow-ubuntu-83.1/images-source/reflection-script.scm
  44. BIN
      u/ubiquity-slideshow-ubuntu-83.1/images-source/ubuntu/tahr_rgb_AW.png
  45. BIN
      u/ubiquity-slideshow-ubuntu-83.1/images-source/ubuntu/welcome-14.04.xcf
  46. 223
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/ace.po
  47. 295
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/af.po
  48. 229
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/am.po
  49. 223
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/an.po
  50. 297
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/ar.po
  51. 300
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/ast.po
  52. 278
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/az.po
  53. 303
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/be.po
  54. 303
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/bg.po
  55. 231
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/bn.po
  56. 223
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/bo.po
  57. 223
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/br.po
  58. 298
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/bs.po
  59. 304
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/ca.po
  60. 265
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/ca@valencia.po
  61. 226
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/ckb.po
  62. 300
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/cs.po
  63. 223
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/csb.po
  64. 223
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/cv.po
  65. 223
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/cy.po
  66. 295
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/da.po
  67. 306
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/de.po
  68. 223
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/dv.po
  69. 305
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/el.po
  70. 292
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/en_AU.po
  71. 292
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/en_CA.po
  72. 293
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/en_GB.po
  73. 258
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/eo.po
  74. 300
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/es.po
  75. 293
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/et.po
  76. 299
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/eu.po
  77. 295
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/fa.po
  78. 223
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/fa_AF.po
  79. 301
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/fi.po
  80. 223
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/fil.po
  81. 223
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/fo.po
  82. 308
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/fr.po
  83. 302
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/fr_CA.po
  84. 231
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/fy.po
  85. 289
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/ga.po
  86. 307
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/gd.po
  87. 300
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/gl.po
  88. 226
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/gu.po
  89. 223
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/gv.po
  90. 290
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/he.po
  91. 290
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/hi.po
  92. 242
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/hr.po
  93. 223
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/ht.po
  94. 302
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/hu.po
  95. 223
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/hy.po
  96. 298
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/id.po
  97. 223
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/ig.po
  98. 223
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/inh.po
  99. 291
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/is.po
  100. 0
    0
      u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/it.po

+ 5
- 0
p/plymouth-theme-easyvdr-logo/debian/changelog View File

@@ -0,0 +1,5 @@
1
+plymouth-theme-easyvdr-logo (0.2.0-0~easyVDR0) trusty; urgency=high
2
+
3
+  * new packaging
4
+
5
+ -- easyVDR-Developer <easyvdr-dev@easy-vdr.de>  Fri, 08 Jan 2016 09:19:48 +0100

+ 1
- 0
p/plymouth-theme-easyvdr-logo/debian/compat View File

@@ -0,0 +1 @@
1
+9

+ 21
- 0
p/plymouth-theme-easyvdr-logo/debian/control View File

@@ -0,0 +1,21 @@
1
+Source: plymouth-theme-easyvdr-logo
2
+Section: x11
3
+Priority: optional
4
+Maintainer: Martin <none@easy-vdr.org>
5
+Build-Depends: debhelper (>= 9)
6
+Standards-Version: 3.9.5
7
+
8
+Package: plymouth-theme-easyvdr-logo
9
+Architecture: any
10
+Depends: ${shlibs:Depends}, ${misc:Depends}, plymouth, plymouth-label
11
+Provides: plymouth-theme
12
+Replaces: plymouth (<< 0.8.1-1~)
13
+Description: graphical boot animation and logger - easyVDR-logo theme
14
+ Plymouth is an application that runs very early in the boot process
15
+ (even before the root filesystem is mounted!) that provides a graphical
16
+ boot animation while the boot process happens in the background.
17
+ .
18
+ This package contains the easyvdr logo theme.
19
+ .
20
+ These theme may not correctly display messages from filesystem
21
+ decryption, checking or error handling.

+ 30
- 0
p/plymouth-theme-easyvdr-logo/debian/copyright View File

@@ -0,0 +1,30 @@
1
+Upstream Author(s):
2
+    Martin  <none@easy-vdr.de>
3
+
4
+Debian Maintainer(s):
5
+    Martin  <none@easy-vdr.de>
6
+
7
+Copyright: Martin
8
+
9
+License:
10
+    This program is free software; you can redistribute it and/or modify
11
+    it under the terms of the GNU General Public License as published by
12
+    the Free Software Foundation; either version 2 of the License, or
13
+    (at your option) any later version.
14
+
15
+    This program is distributed in the hope that it will be useful,
16
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
17
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
+    GNU General Public License for more details.
19
+
20
+    You should have received a copy of the GNU General Public License along
21
+    with this program; if not, write to the Free Software Foundation, Inc.,
22
+    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
23
+
24
+    The complete text of the GNU General Public License can be found
25
+    in /usr/share/common-licenses/GPL-2 on most Debian systems.
26
+
27
+License (Debian packaging):
28
+    The Debian packaging is licensed under the GPL, version 2 or any
29
+    later version, see /usr/share/common-licenses/GPL-2.
30
+

+ 1
- 0
p/plymouth-theme-easyvdr-logo/debian/plymouth-theme-easyvdr-logo.install View File

@@ -0,0 +1 @@
1
+easyvdr-logo lib/plymouth/themes

+ 45
- 0
p/plymouth-theme-easyvdr-logo/debian/plymouth-theme-easyvdr-logo.postinst View File

@@ -0,0 +1,45 @@
1
+#!/bin/sh -e
2
+# This script can be called in the following ways:
3
+#
4
+# After the package was installed:
5
+#       <postinst> configure <old-version>
6
+#
7
+#
8
+# If prerm fails during upgrade or fails on failed upgrade:
9
+#       <old-postinst> abort-upgrade <new-version>
10
+#
11
+# If prerm fails during deconfiguration of a package:
12
+#       <postinst> abort-deconfigure in-favour <new-package> <version>
13
+#                  removing <old-package> <version>
14
+#
15
+# If prerm fails during replacement due to conflict:
16
+#       <postinst> abort-remove in-favour <new-package> <version>
17
+
18
+
19
+case "$1" in
20
+    configure)
21
+	update-alternatives \
22
+		--install /lib/plymouth/themes/default.plymouth default.plymouth \
23
+		/lib/plymouth/themes/easyvdr-logo/easyvdr-logo.plymouth 100 \
24
+		--slave /lib/plymouth/themes/default.grub default.plymouth.grub \
25
+		/lib/plymouth/themes/easyvdr-logo/easyvdr-logo.grub
26
+	update-alternatives \
27
+		--set default.plymouth /lib/plymouth/themes/easyvdr-logo/easyvdr-logo.plymouth
28
+
29
+	if which update-initramfs >/dev/null 2>&1
30
+	then
31
+	    update-initramfs -u
32
+	fi
33
+	;;
34
+
35
+    abort-upgrade|abort-deconfigure|abort-remove)
36
+	;;
37
+
38
+    *)
39
+	echo "$0 called with unknown argument \`$1'" 1>&2
40
+	exit 1
41
+	;;
42
+esac
43
+
44
+#DEBHELPER#
45
+exit 0

+ 12
- 0
p/plymouth-theme-easyvdr-logo/debian/plymouth-theme-easyvdr-logo.postrm View File

@@ -0,0 +1,12 @@
1
+#!/bin/sh
2
+
3
+set -e
4
+
5
+if [ "x$1" = xremove ]; then
6
+	if which update-initramfs >/dev/null 2>&1
7
+	then
8
+		update-initramfs -u
9
+	fi
10
+fi
11
+
12
+#DEBHELPER#

+ 10
- 0
p/plymouth-theme-easyvdr-logo/debian/plymouth-theme-easyvdr-logo.prerm View File

@@ -0,0 +1,10 @@
1
+#!/bin/sh
2
+
3
+set -e
4
+
5
+if [ "x$1" = xremove ]; then
6
+	update-alternatives \
7
+		--remove default.plymouth /lib/plymouth/themes/easyvdr-logo/easyvdr-logo.plymouth
8
+fi
9
+
10
+#DEBHELPER#

+ 7
- 0
p/plymouth-theme-easyvdr-logo/debian/rules View File

@@ -0,0 +1,7 @@
1
+#!/usr/bin/make -f
2
+%:
3
+	dh $@
4
+
5
+#  Don't generate shlibs for plugins (ideally these wouldn't have a SONAME)
6
+override_dh_makeshlibs:
7
+	dh_makeshlibs -X/lib/plymouth/

+ 3
- 0
p/plymouth-theme-easyvdr-logo/easyvdr-logo/easyvdr-logo.grub View File

@@ -0,0 +1,3 @@
1
+if background_color 0,0,0; then
2
+  clear
3
+fi

+ 8
- 0
p/plymouth-theme-easyvdr-logo/easyvdr-logo/easyvdr-logo.plymouth View File

@@ -0,0 +1,8 @@
1
+[Plymouth Theme]
2
+Name=Xubuntu Logo
3
+Description=A theme that features a background with a logo.
4
+ModuleName=script
5
+
6
+[script]
7
+ImageDir=/lib/plymouth/themes/easyvdr-logo
8
+ScriptFile=/lib/plymouth/themes/easyvdr-logo/easyvdr-logo.script

+ 484
- 0
p/plymouth-theme-easyvdr-logo/easyvdr-logo/easyvdr-logo.script View File

@@ -0,0 +1,484 @@
1
+ /**************************************************************************
2
+ *
3
+ * Copyright (C) 2011 The Xubuntu Community
4
+ * Copyright (C) 2009 Canonical Ltd.
5
+ * 
6
+ * This program is free software: you can redistribute it and/or modify
7
+ * it under the terms of the GNU General Public License as published by
8
+ * the Free Software Foundation, either version 3 of the License, or
9
+ * (at your option) any later version.
10
+ *
11
+ * This program is distributed in the hope that it will be useful,
12
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
+ * GNU General Public License for more details.
15
+ *
16
+ * You should have received a copy of the GNU General Public License
17
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
18
+ *
19
+ * Written by: Mad Nick <dr.madnick@gmail.com>
20
+ *
21
+ **************************************************************************/
22
+
23
+/*
24
+ * Related to the screen */
25
+ 
26
+screen_width = Window.GetWidth();
27
+screen_height = Window.GetHeight();
28
+screen_x = Window.GetX();
29
+screen_y = Window.GetY();
30
+
31
+/**/
32
+
33
+/*
34
+ * Images, check bits per pixel
35
+ * and load images accordingly */
36
+
37
+background_image = Image("wallpaper.png");
38
+passw_dialog_input_image = Image("passw-dialog.png");
39
+bullet_image = Image("test.png");
40
+
41
+bpp = Window.GetBitsPerPixel();
42
+
43
+if (bpp == 4) {
44
+
45
+	logotype_image = Image("logo_16bit.png");
46
+	progress_meter_image = Image("progress-meter_16bit.png");
47
+	progress_fade_image = Image("progress-fade_16bit.png");
48
+	fsck_progress_meter_image = Image("progress-meter_16bit.png");
49
+	fsck_progress_fade_image = Image("fsck-fade_16bit.png");
50
+
51
+}
52
+else {
53
+
54
+	logotype_image = Image("logo.png");
55
+	progress_meter_image = Image("progress-meter.png");
56
+	progress_fade_image = Image("progress-fade.png");
57
+	fsck_progress_meter_image = Image("progress-meter.png");
58
+	fsck_progress_fade_image = Image("fsck-fade.png");
59
+	
60
+}
61
+
62
+/**/
63
+
64
+/*
65
+ * Sprites */
66
+
67
+ratio = screen_height / screen_width;
68
+background_ratio = background_image.GetHeight() / background_image.GetWidth();
69
+factor = 0;
70
+
71
+if (ratio > background_ratio) {
72
+
73
+	factor = screen_height / background_image.GetHeight();
74
+
75
+}
76
+else {
77
+	
78
+	factor = screen_width / background_image.GetWidth();
79
+	
80
+}
81
+
82
+scaled = background_image.Scale(background_image.GetWidth() * factor, background_image.GetHeight() * factor);
83
+background_sprite = Sprite(scaled);
84
+background_sprite.SetX(screen_x + screen_width / 2 - scaled.GetWidth() / 2);
85
+background_sprite.SetY(screen_y + screen_height / 2 - scaled.GetHeight() / 2);
86
+
87
+logotype_sprite = Sprite(logotype_image);
88
+
89
+fsck_progress_meter_sprite = Sprite(fsck_progress_meter_image);
90
+fsck_progress_fade_sprite = Sprite(fsck_progress_fade_image.Scale(1, fsck_progress_fade_image.GetHeight()));
91
+
92
+passw_dialog_input_sprite = Sprite(passw_dialog_input_image);
93
+passw_lbl_sprite = Sprite();
94
+
95
+msg_label_sprite = Sprite();
96
+
97
+/**/
98
+
99
+/*
100
+ * Misc */
101
+
102
+counter = 0;
103
+
104
+fade_pos_x = (screen_width / 2) - (progress_meter_image.GetWidth() / 2);
105
+fade_dir = 0; /* 0 = right, 1 = left */
106
+
107
+fsck_running = 0;
108
+fsck_dev_array;
109
+fsck_dev_counter = 0;
110
+fsck_fade_in_counter = 0;
111
+fsck_done_fading = 0;
112
+
113
+stars_array;
114
+stars_n = 0;
115
+
116
+//full_msg = "";
117
+msgs_line;
118
+
119
+/**/
120
+
121
+/*
122
+ * Debug related */
123
+ 
124
+debug = 0;
125
+debug_sprite = Sprite();
126
+
127
+fun debugOutput(str) {
128
+	
129
+	/*
130
+	 * This will print to the top left corner */
131
+	debug_sprite.SetImage(Image.Text(str));
132
+	
133
+}
134
+
135
+/**/
136
+
137
+/*
138
+ * Setup the graphics properties */
139
+logotype_sprite.SetPosition(screen_x + (screen_width / 2) - (logotype_image.GetWidth() / 2), screen_y + (screen_height / 2) - (logotype_image.GetHeight() / 2));
140
+fsck_progress_meter_sprite.SetPosition(screen_x + (screen_width / 2) - (progress_meter_image.GetWidth() / 2), screen_y + (screen_height / 2) + (logotype_image.GetHeight() / 2) + 25);
141
+fsck_progress_fade_sprite.SetPosition(screen_x + (screen_width / 2) - (progress_meter_image.GetWidth() / 2), screen_y + (screen_height / 2) + (logotype_image.GetHeight() / 2) + 25);
142
+fsck_progress_meter_sprite.SetOpacity(0);
143
+fsck_progress_fade_sprite.SetOpacity(0);
144
+passw_dialog_input_sprite.SetPosition(screen_x + (screen_width / 2) - (passw_dialog_input_image.GetWidth() / 2), screen_y + (screen_height / 2) + (logotype_image.GetHeight() / 2) + 70);
145
+passw_dialog_input_sprite.SetOpacity(0);
146
+passw_lbl_sprite.SetOpacity(0);
147
+
148
+spin = 0;
149
+
150
+/*
151
+ * this function only goes up to 100
152
+ * because thats all thats needed for
153
+ * the progress meter bar */
154
+fun atoi(str) {
155
+   
156
+    int = -1;
157
+   
158
+    for (i = 0; i <= 100; i++) {
159
+    
160
+        if (i + "" == str) {
161
+            
162
+            int = i;
163
+            
164
+            break;
165
+        
166
+        }
167
+    
168
+    }
169
+    
170
+    return int;
171
+
172
+}
173
+
174
+/*
175
+ * This handler will/can be invoked
176
+ * 50 times per second.
177
+ * 
178
+ * According to the previous author of the
179
+ * splash script, without this callback
180
+ * the screen is not updated correctly */
181
+spinner_sprite;
182
+spinner;
183
+
184
+fun refreshHandler() {
185
+	
186
+	if (spin < 3.14 * 2) {
187
+	
188
+		spin = spin + 0.1;
189
+	
190
+	}
191
+	else {
192
+	
193
+		spin = 0;
194
+	
195
+	}
196
+	
197
+	/* if fsck is running or the password is prompted, hide the spinner */
198
+	if (fsck_running == 1 || passw_dialog_input_sprite.GetOpacity() == 1) {
199
+	
200
+		spinner_sprite.SetOpacity(0);
201
+	
202
+	} else {
203
+	
204
+		spinner = Image("spinner.png");
205
+		spinner = spinner.Rotate(spin);
206
+		spinner_sprite = Sprite(spinner);
207
+		spinner_sprite.SetPosition(screen_x + (screen_width / 2) - (spinner.GetWidth() / 2), screen_y + (screen_height / 2) - (spinner.GetHeight() / 2) + 80);	
208
+	
209
+	}
210
+	
211
+	if (fade_dir == 0) {
212
+		
213
+		counter++;
214
+		
215
+		if (counter >= 200) {
216
+			
217
+			fade_dir = 1;
218
+		
219
+		}
220
+		
221
+	}
222
+	else {
223
+		
224
+		counter--;
225
+		
226
+		if (counter <= 0) {
227
+			
228
+			fade_dir = 0;
229
+		
230
+		}
231
+		
232
+	}
233
+	
234
+	if ((fsck_running == 1) && (fsck_done_fading == 0)) {
235
+		
236
+		
237
+		fsck_progress_meter_sprite.SetOpacity(fsck_fade_in_counter);
238
+		fsck_progress_fade_sprite.SetOpacity(fsck_fade_in_counter);
239
+		
240
+		if (fsck_fade_in_counter < 1) {
241
+		
242
+			fsck_fade_in_counter+= 0.025;
243
+		
244
+		}
245
+		else {
246
+			
247
+			fsck_done_fading = 1;
248
+			
249
+		}
250
+		
251
+	}
252
+	
253
+}
254
+
255
+Plymouth.SetRefreshFunction (refreshHandler);
256
+
257
+/**/
258
+
259
+/*
260
+ * This function will display the password related information
261
+ * when being prompt with entering a password */
262
+fun showPasswordHandler(prompt, stars) {
263
+	
264
+	if (passw_dialog_input_sprite.GetOpacity() == 0 && passw_lbl_sprite.GetOpacity() == 0) {
265
+		
266
+		passw_dialog_input_sprite.SetOpacity(1);
267
+		passw_lbl_sprite.SetOpacity(1);
268
+		
269
+	}
270
+	
271
+	tmp_prompt_image = Image.Text(prompt, 1, 1, 1);
272
+
273
+	passw_lbl_sprite.SetImage(tmp_prompt_image);
274
+	passw_lbl_sprite.SetPosition(screen_x + (screen_width / 2) - (tmp_prompt_image.GetWidth() / 2), screen_y + (screen_height / 2) + (logotype_image.GetHeight() / 2) + 50);
275
+	
276
+	for(i = 0; i < stars_n; i++)  {
277
+	
278
+		stars_array[i] = NULL;
279
+	
280
+	}
281
+	
282
+	stars_n = 0;
283
+
284
+	for(i = 0; (i < stars) && (i < 15); i++) {
285
+		
286
+		stars_array[i] = Sprite(bullet_image);
287
+		stars_array[i].SetPosition(screen_x + (((screen_width / 2) - (passw_dialog_input_image.GetWidth() / 2)) + (18 * i)) + 2, screen_y + (screen_height / 2) + (logotype_image.GetHeight() / 2) + 75);
288
+		stars_n++;
289
+		
290
+	}
291
+	
292
+}
293
+
294
+Plymouth.SetDisplayPasswordFunction(showPasswordHandler);
295
+
296
+/**/
297
+
298
+fun displayNormalHandler() {
299
+
300
+	/*
301
+	 * Hide the password dialog and the bullets */
302
+	
303
+	if (passw_dialog_input_sprite.GetOpacity() == 1) {
304
+		
305
+		passw_dialog_input_sprite.SetOpacity(0);
306
+		
307
+	}
308
+	
309
+	if (passw_lbl_sprite.GetOpacity() == 1) {
310
+		
311
+		passw_lbl_sprite.SetOpacity(0);
312
+		
313
+	}
314
+	
315
+	for(i = 0; i < stars_n; i++) {
316
+		
317
+		stars_array[i] = NULL;
318
+		
319
+	}
320
+
321
+}
322
+
323
+Plymouth.SetDisplayNormalFunction(displayNormalHandler);
324
+
325
+fun strlen(string) {
326
+    
327
+	i = 0;
328
+    
329
+	while (String(string).CharAt(i)) {
330
+	
331
+		i++;
332
+    
333
+	}
334
+	
335
+	return i;
336
+
337
+}
338
+
339
+/*
340
+ * This function will display the most current message */
341
+fun messageHandler(msg) {
342
+	
343
+	if ((msg == "") || !msg) {
344
+		
345
+		return 0;
346
+		
347
+	}
348
+	
349
+	if (msg.SubString(0, 5) == "keys:") {
350
+	
351
+		msg = msg.SubString(5, strlen(msg));
352
+	
353
+	}
354
+	
355
+	//full_msg += msg + " ";
356
+	for(i = 4; i > 0; i--) {
357
+
358
+		msgs_line[i] = msgs_line[i - 1];
359
+	
360
+	}
361
+	
362
+	msgs_line[0] = Sprite(Image.Text(msg, 1, 1, 1));
363
+	
364
+	dist = 1;
365
+	
366
+	for(i = 0; i < 5; i++) {
367
+	
368
+		msgs_line[i].SetPosition(screen_x + (screen_width / 2) - (msgs_line[i].GetImage().GetWidth() / 2), screen_y + (screen_height - msgs_line[i].GetImage().GetHeight()) - 20*dist);
369
+		dist++;
370
+		
371
+	}
372
+
373
+}
374
+
375
+Plymouth.SetMessageFunction(messageHandler);
376
+
377
+/**/
378
+
379
+/*
380
+ * Handles the updates passed to the plymouth daemon
381
+ * for example the FSCK data */
382
+fun statusHandler(status) {
383
+	
384
+	tmp_char;
385
+	status_array[0] = "";
386
+	elem_count = 0;
387
+	
388
+	for (i = 0; String(status).CharAt(i) != ""; i++) {
389
+	
390
+		tmp_char = String(status).CharAt(i);
391
+		
392
+		if (tmp_char != ":") {
393
+		
394
+			status_array[elem_count] += tmp_char;
395
+		
396
+		}
397
+		else {
398
+			
399
+			elem_count++;
400
+			status_array[elem_count] = "";
401
+			
402
+		}
403
+		
404
+	}
405
+
406
+	if (status_array[0] == "fsck") {
407
+	
408
+		already_added = 0;
409
+		
410
+		if (fsck_running == 0) {
411
+			
412
+			/*
413
+			 * use the dedicated message handler for this
414
+			 * since there is no messages about fsck checks
415
+			 * currently... */
416
+			messageHandler("Routine disk drive check.");
417
+			
418
+			fsck_running = 1;
419
+			
420
+		}
421
+		
422
+		for(i = 0; i < fsck_dev_counter; i++) {
423
+			
424
+			/* 
425
+			 * check if the device already exist and update
426
+			 * the progress only in that case */
427
+			if (fsck_dev_array[i][0] == status_array[1]) {
428
+				
429
+				fsck_dev_array[i][1] = status_array[2]; /* progress */
430
+				already_added = 1;
431
+			
432
+			}
433
+			
434
+		}
435
+
436
+		/*
437
+		 * if the device is not added, then add it */
438
+		if (already_added == 0) {
439
+			
440
+			fsck_dev_array[fsck_dev_counter][0] = status_array[1]; /* device */
441
+			fsck_dev_array[fsck_dev_counter][1] = status_array[2]; /* progress */
442
+			fsck_dev_counter++;
443
+			
444
+		}
445
+	
446
+		/*
447
+		 * update the progress */
448
+		
449
+		total = 0;
450
+		
451
+		for(i = 0; i < fsck_dev_counter; i++) {
452
+			
453
+			total += atoi(fsck_dev_array[i][1]);
454
+			
455
+		}
456
+
457
+		if (fsck_dev_counter > 0) {
458
+		
459
+			/*
460
+			*  display the total percentage */
461
+			fsck_progress_fade_sprite.SetImage(fsck_progress_fade_image.Scale((fsck_progress_meter_image.GetWidth() / 100) * (total / fsck_dev_counter), fsck_progress_fade_image.GetHeight()));
462
+		
463
+		}
464
+		
465
+		/**/
466
+		
467
+		/*
468
+		 * if the total progress is at maximum, 
469
+		 * make the progress meter go away,
470
+		 * we might want to fade this out... */	
471
+		if (total == (100 * fsck_dev_counter)) {
472
+			
473
+			fsck_progress_meter_sprite.SetOpacity(0);
474
+			fsck_progress_fade_sprite.SetOpacity(0);
475
+		
476
+		}
477
+	
478
+	}
479
+	
480
+}
481
+
482
+Plymouth.SetUpdateStatusFunction(statusHandler);
483
+
484
+/**/

BIN
p/plymouth-theme-easyvdr-logo/easyvdr-logo/fsck-fade.png View File


BIN
p/plymouth-theme-easyvdr-logo/easyvdr-logo/fsck-fade_16bit.png View File


BIN
p/plymouth-theme-easyvdr-logo/easyvdr-logo/logo.png View File


BIN
p/plymouth-theme-easyvdr-logo/easyvdr-logo/logo_16bit.png View File


BIN
p/plymouth-theme-easyvdr-logo/easyvdr-logo/passw-dialog.png View File


BIN
p/plymouth-theme-easyvdr-logo/easyvdr-logo/progress-fade.png View File


BIN
p/plymouth-theme-easyvdr-logo/easyvdr-logo/progress-fade_16bit.png View File


BIN
p/plymouth-theme-easyvdr-logo/easyvdr-logo/progress-meter.png View File


BIN
p/plymouth-theme-easyvdr-logo/easyvdr-logo/progress-meter_16bit.png View File


BIN
p/plymouth-theme-easyvdr-logo/easyvdr-logo/spinner.png View File


BIN
p/plymouth-theme-easyvdr-logo/easyvdr-logo/test.png View File


BIN
p/plymouth-theme-easyvdr-logo/easyvdr-logo/wallpaper.png View File


+ 10
- 0
u/ubiquity-slideshow-ubuntu-83.1/.gcfunctions View File

@@ -0,0 +1,10 @@
1
+build:
2
+  name: Build
3
+  command: make
4
+  show-in: any
5
+  offline: True
6
+test:
7
+  name: Test
8
+  command: ./test-slideshow.sh
9
+  show-in: any
10
+  offline: True

+ 23
- 0
u/ubiquity-slideshow-ubuntu-83.1/AUTHORS View File

@@ -0,0 +1,23 @@
1
+This file lists contributors to ubiquity-slideshow-ubuntu
2
+
3
+<http://launchpad.net/ubiquity-slideshow-ubuntu>
4
+
5
+-----
6
+
7
+More detailed information about contributions is available in our version
8
+control history at <http://code.launchpad.net/ubiquity-slideshow-ubuntu>
9
+
10
+Feel free to add yourself as you see fit!
11
+
12
+-----
13
+
14
+Dylan McCall <http://launchpad.net/~dylanmccall>
15
+Andrew Higginson <http://launchpad.net/~rugby471>
16
+Anabelle Handdoek <http://launchpad.net/~anabelle>
17
+Andrew Sayers <https://launchpad.net/~andrew-bugs-launchpad-net>
18
+Mads Rosendahl <http://launchpad.net/~madsrh>
19
+
20
+-----
21
+
22
+Slideshow script powered by jQuery and the jQuery Cycle Plugin by Mike Alsup
23
+

+ 348
- 0
u/ubiquity-slideshow-ubuntu-83.1/COPYING View File

@@ -0,0 +1,348 @@
1
+Copyright (C) 2009 The Ubiquity Slideshow Team
2
+<ubiquity-slideshow@lists.launchpad.net>
3
+<http://launchpad.net/~ubiquity-slideshow>
4
+
5
+Please see debian/copyright for more information.
6
+
7
+Portions of this project are licensed under the GNU GPL version 2.
8
+
9
+                   GNU GENERAL PUBLIC LICENSE
10
+                       Version 2, June 1991
11
+
12
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
13
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
14
+ Everyone is permitted to copy and distribute verbatim copies
15
+ of this license document, but changing it is not allowed.
16
+
17
+                            Preamble
18
+
19
+  The licenses for most software are designed to take away your
20
+freedom to share and change it.  By contrast, the GNU General Public
21
+License is intended to guarantee your freedom to share and change free
22
+software--to make sure the software is free for all its users.  This
23
+General Public License applies to most of the Free Software
24
+Foundation's software and to any other program whose authors commit to
25
+using it.  (Some other Free Software Foundation software is covered by
26
+the GNU Lesser General Public License instead.)  You can apply it to
27
+your programs, too.
28
+
29
+  When we speak of free software, we are referring to freedom, not
30
+price.  Our General Public Licenses are designed to make sure that you
31
+have the freedom to distribute copies of free software (and charge for
32
+this service if you wish), that you receive source code or can get it
33
+if you want it, that you can change the software or use pieces of it
34
+in new free programs; and that you know you can do these things.
35
+
36
+  To protect your rights, we need to make restrictions that forbid
37
+anyone to deny you these rights or to ask you to surrender the rights.
38
+These restrictions translate to certain responsibilities for you if you
39
+distribute copies of the software, or if you modify it.
40
+
41
+  For example, if you distribute copies of such a program, whether
42
+gratis or for a fee, you must give the recipients all the rights that
43
+you have.  You must make sure that they, too, receive or can get the
44
+source code.  And you must show them these terms so they know their
45
+rights.
46
+
47
+  We protect your rights with two steps: (1) copyright the software, and
48
+(2) offer you this license which gives you legal permission to copy,
49
+distribute and/or modify the software.
50
+
51
+  Also, for each author's protection and ours, we want to make certain
52
+that everyone understands that there is no warranty for this free
53
+software.  If the software is modified by someone else and passed on, we
54
+want its recipients to know that what they have is not the original, so
55
+that any problems introduced by others will not reflect on the original
56
+authors' reputations.
57
+
58
+  Finally, any free program is threatened constantly by software
59
+patents.  We wish to avoid the danger that redistributors of a free
60
+program will individually obtain patent licenses, in effect making the
61
+program proprietary.  To prevent this, we have made it clear that any
62
+patent must be licensed for everyone's free use or not licensed at all.
63
+
64
+  The precise terms and conditions for copying, distribution and
65
+modification follow.
66
+
67
+		    GNU GENERAL PUBLIC LICENSE
68
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
69
+
70
+  0. This License applies to any program or other work which contains
71
+a notice placed by the copyright holder saying it may be distributed
72
+under the terms of this General Public License.  The "Program", below,
73
+refers to any such program or work, and a "work based on the Program"
74
+means either the Program or any derivative work under copyright law:
75
+that is to say, a work containing the Program or a portion of it,
76
+either verbatim or with modifications and/or translated into another
77
+language.  (Hereinafter, translation is included without limitation in
78
+the term "modification".)  Each licensee is addressed as "you".
79
+
80
+Activities other than copying, distribution and modification are not
81
+covered by this License; they are outside its scope.  The act of
82
+running the Program is not restricted, and the output from the Program
83
+is covered only if its contents constitute a work based on the
84
+Program (independent of having been made by running the Program).
85
+Whether that is true depends on what the Program does.
86
+
87
+  1. You may copy and distribute verbatim copies of the Program's
88
+source code as you receive it, in any medium, provided that you
89
+conspicuously and appropriately publish on each copy an appropriate
90
+copyright notice and disclaimer of warranty; keep intact all the
91
+notices that refer to this License and to the absence of any warranty;
92
+and give any other recipients of the Program a copy of this License
93
+along with the Program.
94
+
95
+You may charge a fee for the physical act of transferring a copy, and
96
+you may at your option offer warranty protection in exchange for a fee.
97
+
98
+  2. You may modify your copy or copies of the Program or any portion
99
+of it, thus forming a work based on the Program, and copy and
100
+distribute such modifications or work under the terms of Section 1
101
+above, provided that you also meet all of these conditions:
102
+
103
+    a) You must cause the modified files to carry prominent notices
104
+    stating that you changed the files and the date of any change.
105
+
106
+    b) You must cause any work that you distribute or publish, that in
107
+    whole or in part contains or is derived from the Program or any
108
+    part thereof, to be licensed as a whole at no charge to all third
109
+    parties under the terms of this License.
110
+
111
+    c) If the modified program normally reads commands interactively
112
+    when run, you must cause it, when started running for such
113
+    interactive use in the most ordinary way, to print or display an
114
+    announcement including an appropriate copyright notice and a
115
+    notice that there is no warranty (or else, saying that you provide
116
+    a warranty) and that users may redistribute the program under
117
+    these conditions, and telling the user how to view a copy of this
118
+    License.  (Exception: if the Program itself is interactive but
119
+    does not normally print such an announcement, your work based on
120
+    the Program is not required to print an announcement.)
121
+
122
+These requirements apply to the modified work as a whole.  If
123
+identifiable sections of that work are not derived from the Program,
124
+and can be reasonably considered independent and separate works in
125
+themselves, then this License, and its terms, do not apply to those
126
+sections when you distribute them as separate works.  But when you
127
+distribute the same sections as part of a whole which is a work based
128
+on the Program, the distribution of the whole must be on the terms of
129
+this License, whose permissions for other licensees extend to the
130
+entire whole, and thus to each and every part regardless of who wrote it.
131
+
132
+Thus, it is not the intent of this section to claim rights or contest
133
+your rights to work written entirely by you; rather, the intent is to
134
+exercise the right to control the distribution of derivative or
135
+collective works based on the Program.
136
+
137
+In addition, mere aggregation of another work not based on the Program
138
+with the Program (or with a work based on the Program) on a volume of
139
+a storage or distribution medium does not bring the other work under
140
+the scope of this License.
141
+
142
+  3. You may copy and distribute the Program (or a work based on it,
143
+under Section 2) in object code or executable form under the terms of
144
+Sections 1 and 2 above provided that you also do one of the following:
145
+
146
+    a) Accompany it with the complete corresponding machine-readable
147
+    source code, which must be distributed under the terms of Sections
148
+    1 and 2 above on a medium customarily used for software interchange; or,
149
+
150
+    b) Accompany it with a written offer, valid for at least three
151
+    years, to give any third party, for a charge no more than your
152
+    cost of physically performing source distribution, a complete
153
+    machine-readable copy of the corresponding source code, to be
154
+    distributed under the terms of Sections 1 and 2 above on a medium
155
+    customarily used for software interchange; or,
156
+
157
+    c) Accompany it with the information you received as to the offer
158
+    to distribute corresponding source code.  (This alternative is
159
+    allowed only for noncommercial distribution and only if you
160
+    received the program in object code or executable form with such
161
+    an offer, in accord with Subsection b above.)
162
+
163
+The source code for a work means the preferred form of the work for
164
+making modifications to it.  For an executable work, complete source
165
+code means all the source code for all modules it contains, plus any
166
+associated interface definition files, plus the scripts used to
167
+control compilation and installation of the executable.  However, as a
168
+special exception, the source code distributed need not include
169
+anything that is normally distributed (in either source or binary
170
+form) with the major components (compiler, kernel, and so on) of the
171
+operating system on which the executable runs, unless that component
172
+itself accompanies the executable.
173
+
174
+If distribution of executable or object code is made by offering
175
+access to copy from a designated place, then offering equivalent
176
+access to copy the source code from the same place counts as
177
+distribution of the source code, even though third parties are not
178
+compelled to copy the source along with the object code.
179
+
180
+  4. You may not copy, modify, sublicense, or distribute the Program
181
+except as expressly provided under this License.  Any attempt
182
+otherwise to copy, modify, sublicense or distribute the Program is
183
+void, and will automatically terminate your rights under this License.
184
+However, parties who have received copies, or rights, from you under
185
+this License will not have their licenses terminated so long as such
186
+parties remain in full compliance.
187
+
188
+  5. You are not required to accept this License, since you have not
189
+signed it.  However, nothing else grants you permission to modify or
190
+distribute the Program or its derivative works.  These actions are
191
+prohibited by law if you do not accept this License.  Therefore, by
192
+modifying or distributing the Program (or any work based on the
193
+Program), you indicate your acceptance of this License to do so, and
194
+all its terms and conditions for copying, distributing or modifying
195
+the Program or works based on it.
196
+
197
+  6. Each time you redistribute the Program (or any work based on the
198
+Program), the recipient automatically receives a license from the
199
+original licensor to copy, distribute or modify the Program subject to
200
+these terms and conditions.  You may not impose any further
201
+restrictions on the recipients' exercise of the rights granted herein.
202
+You are not responsible for enforcing compliance by third parties to
203
+this License.
204
+
205
+  7. If, as a consequence of a court judgment or allegation of patent
206
+infringement or for any other reason (not limited to patent issues),
207
+conditions are imposed on you (whether by court order, agreement or
208
+otherwise) that contradict the conditions of this License, they do not
209
+excuse you from the conditions of this License.  If you cannot
210
+distribute so as to satisfy simultaneously your obligations under this
211
+License and any other pertinent obligations, then as a consequence you
212
+may not distribute the Program at all.  For example, if a patent
213
+license would not permit royalty-free redistribution of the Program by
214
+all those who receive copies directly or indirectly through you, then
215
+the only way you could satisfy both it and this License would be to
216
+refrain entirely from distribution of the Program.
217
+
218
+If any portion of this section is held invalid or unenforceable under
219
+any particular circumstance, the balance of the section is intended to
220
+apply and the section as a whole is intended to apply in other
221
+circumstances.
222
+
223
+It is not the purpose of this section to induce you to infringe any
224
+patents or other property right claims or to contest validity of any
225
+such claims; this section has the sole purpose of protecting the
226
+integrity of the free software distribution system, which is
227
+implemented by public license practices.  Many people have made
228
+generous contributions to the wide range of software distributed
229
+through that system in reliance on consistent application of that
230
+system; it is up to the author/donor to decide if he or she is willing
231
+to distribute software through any other system and a licensee cannot
232
+impose that choice.
233
+
234
+This section is intended to make thoroughly clear what is believed to
235
+be a consequence of the rest of this License.
236
+
237
+  8. If the distribution and/or use of the Program is restricted in
238
+certain countries either by patents or by copyrighted interfaces, the
239
+original copyright holder who places the Program under this License
240
+may add an explicit geographical distribution limitation excluding
241
+those countries, so that distribution is permitted only in or among
242
+countries not thus excluded.  In such case, this License incorporates
243
+the limitation as if written in the body of this License.
244
+
245
+  9. The Free Software Foundation may publish revised and/or new versions
246
+of the General Public License from time to time.  Such new versions will
247
+be similar in spirit to the present version, but may differ in detail to
248
+address new problems or concerns.
249
+
250
+Each version is given a distinguishing version number.  If the Program
251
+specifies a version number of this License which applies to it and "any
252
+later version", you have the option of following the terms and conditions
253
+either of that version or of any later version published by the Free
254
+Software Foundation.  If the Program does not specify a version number of
255
+this License, you may choose any version ever published by the Free Software
256
+Foundation.
257
+
258
+  10. If you wish to incorporate parts of the Program into other free
259
+programs whose distribution conditions are different, write to the author
260
+to ask for permission.  For software which is copyrighted by the Free
261
+Software Foundation, write to the Free Software Foundation; we sometimes
262
+make exceptions for this.  Our decision will be guided by the two goals
263
+of preserving the free status of all derivatives of our free software and
264
+of promoting the sharing and reuse of software generally.
265
+
266
+			    NO WARRANTY
267
+
268
+  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
269
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
270
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
271
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
272
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
273
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
274
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
275
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
276
+REPAIR OR CORRECTION.
277
+
278
+  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
279
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
280
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
281
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
282
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
283
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
284
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
285
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
286
+POSSIBILITY OF SUCH DAMAGES.
287
+
288
+		     END OF TERMS AND CONDITIONS
289
+
290
+	    How to Apply These Terms to Your New Programs
291
+
292
+  If you develop a new program, and you want it to be of the greatest
293
+possible use to the public, the best way to achieve this is to make it
294
+free software which everyone can redistribute and change under these terms.
295
+
296
+  To do so, attach the following notices to the program.  It is safest
297
+to attach them to the start of each source file to most effectively
298
+convey the exclusion of warranty; and each file should have at least
299
+the "copyright" line and a pointer to where the full notice is found.
300
+
301
+    <one line to give the program's name and a brief idea of what it does.>
302
+    Copyright (C) <year>  <name of author>
303
+
304
+    This program is free software; you can redistribute it and/or modify
305
+    it under the terms of the GNU General Public License as published by
306
+    the Free Software Foundation; either version 2 of the License, or
307
+    (at your option) any later version.
308
+
309
+    This program is distributed in the hope that it will be useful,
310
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
311
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
312
+    GNU General Public License for more details.
313
+
314
+    You should have received a copy of the GNU General Public License along
315
+    with this program; if not, write to the Free Software Foundation, Inc.,
316
+    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
317
+
318
+Also add information on how to contact you by electronic and paper mail.
319
+
320
+If the program is interactive, make it output a short notice like this
321
+when it starts in an interactive mode:
322
+
323
+    Gnomovision version 69, Copyright (C) year name of author
324
+    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
325
+    This is free software, and you are welcome to redistribute it
326
+    under certain conditions; type `show c' for details.
327
+
328
+The hypothetical commands `show w' and `show c' should show the appropriate
329
+parts of the General Public License.  Of course, the commands you use may
330
+be called something other than `show w' and `show c'; they could even be
331
+mouse-clicks or menu items--whatever suits your program.
332
+
333
+You should also get your employer (if you work as a programmer) or your
334
+school, if any, to sign a "copyright disclaimer" for the program, if
335
+necessary.  Here is a sample; alter the names:
336
+
337
+  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
338
+  `Gnomovision' (which makes passes at compilers) written by James Hacker.
339
+
340
+  <signature of Ty Coon>, 1 April 1989
341
+  Ty Coon, President of Vice
342
+
343
+This General Public License does not permit incorporating your program into
344
+proprietary programs.  If your program is a subroutine library, you may
345
+consider it more useful to permit linking proprietary applications with the
346
+library.  If this is what you want to do, use the GNU Lesser General
347
+Public License instead of this License.
348
+

+ 22
- 0
u/ubiquity-slideshow-ubuntu-83.1/Makefile View File

@@ -0,0 +1,22 @@
1
+# Makefile for ubiquity-slideshow-ubuntu
2
+
3
+SOURCE=.
4
+BUILD=$(SOURCE)/build
5
+SOURCESLIDES=$(SOURCE)/slideshows
6
+
7
+all: clean build_ubuntu translations
8
+
9
+build_init:
10
+	mkdir -p $(BUILD)
11
+
12
+build_ubuntu: build_init
13
+	cp -rL $(SOURCESLIDES)/ubuntu $(BUILD)
14
+
15
+
16
+translations:
17
+	python generate-local-slides.py ubuntu
18
+
19
+.PHONY : clean
20
+
21
+clean:
22
+	-rm -rf $(BUILD)

+ 265
- 0
u/ubiquity-slideshow-ubuntu-83.1/README View File

@@ -0,0 +1,265 @@
1
+ubiquity-slideshow-ubuntu
2
+<http://launchpad.net/ubiquity-slideshow-ubuntu>
3
+
4
+-----
5
+
6
+This project is about slideshows which appear while installing Ubuntu or
7
+its *buntu friends. The one source package provides a number of Debian
8
+packages for Ubuntu, including ubiquity-slideshow-ubuntu,
9
+ubiquity-slideshow-lubuntu and ubiquity-slideshow-kubuntu.
10
+
11
+This is associated with the ubiquity-slideshow group on Launchpad at
12
+<https://launchpad.net/~ubiquity-slideshow>.
13
+
14
+Constructive feedback on the group mailing list is always appreciated!
15
+
16
+Please also note the "COPYING", "AUTHORS" and "TODO" files in this
17
+directory, which all have cool stuff in them.
18
+
19
+
20
+----- Testing the slideshow
21
+
22
+The easiest way to test changes to the slideshow is to run
23
+./test-slideshow.sh. (Note: needs zenity, which is probably already
24
+installed). This will quickly build the slideshow with your changes and
25
+play it. Note that the test-slideshow script does not do localization.
26
+Testing localization is currently a more involved process.
27
+
28
+If you are using the awesome Ground Control, there will be a Test option
29
+and a (full) Build option when you open this project in Nautilus.
30
+Check out <http://launchpad.net/groundcontrol> for more information.
31
+
32
+
33
+----- Changing slideshows
34
+
35
+Each slideshow is inside the ./slideshows directory. These are created
36
+with HTML, CSS and Javascript. They all share the link-core directory in
37
+common. This directory has some Javascript files which should be used by
38
+every slideshow.
39
+
40
+To actually edit a slideshow, simply open it from the slideshows directory.
41
+Each slide will be its own html file, like
42
+slideshows/ubuntu/slides/welcome.html. index.html will contain a list of
43
+these slides in the order they will appear.
44
+
45
+Just pull open a slide in your favourite text editor and have fun.
46
+
47
+Be sure to test out your creations! The quickest way is test-slideshow.sh.
48
+
49
+You may notice some HTML comments (<!-- comment -->) in existing slides.
50
+These will appear as notes for translators. If you write something that may
51
+be confusing for them, please leave a comment in the same fashion.
52
+
53
+
54
+----- Screenshot guidelines
55
+
56
+Screenshots are taken at full size, scaled precisely 60% and cropped to
57
+match the other screenshots for a given slideshow. (Ubuntu's screenshots
58
+are 448x304 pixels). Please use GIMP to scale images and set
59
+interpolation to “Sinc (Lanczos3)”. That algorithm seems to handle thin
60
+lines particularly well, and it's good to stay as consistent as we can.
61
+
62
+We try to follow some conventions for screenshot content, too:
63
+
64
+* Do something. Open an example document, draw a pretty picture, chat with
65
+with someone, play music. Do whatever you might normally do.
66
+
67
+* Do not over-do. It can be tempting to stick every feature into view.
68
+However, that can be really overwhelming. Instead, try to focus on a
69
+single cool idea that will make somebody interested. It doesn't even have
70
+to be about features. Maybe something you can make? Pick one thing that
71
+really captures the essence of what you want to show.
72
+
73
+* Stick to defaults. We all love to customise, but make sure your fonts,
74
+themes and applications look the same as people get with their shiny new
75
+systems.
76
+
77
+* Be people. People are awesome. You're awesome! But anonymized
78
+screenshots are jarring. If you're afraid you might frighten a mainstream
79
+audience, consider making a fun persona in a different user account.
80
+
81
+* Personas live short lives. Try to avoid time as much as possible - it's
82
+awkward to show the current date, for example. A popular mistake is where
83
+a photo manager has images all taken on a single day! Where you can, try
84
+to make things look lived in.
85
+
86
+* Do not depend on text in screenshots. Remember that the slideshow's copy
87
+is translated, so that text will be unreadable for a lot of users. Try to
88
+find a way to communicate things visually and avoid emphasizing any text
89
+on the screen.
90
+
91
+* Avoid showing the mouse pointer.
92
+
93
+* Editing your screenshots with an image editor is fine if you need to
94
+remove some cut off text, for example, but do not deviate from what is
95
+actually possible with an application.
96
+
97
+So, I just made screenshots a little trickier, but I hope that helps.
98
+Good luck!
99
+
100
+
101
+----- Musing on writing style
102
+
103
+* We can assume that the user has chosen to install Ubuntu willingly. That
104
+person is now an Ubuntu user and doesn't need to be sold on it further.
105
+The sales-person voice should not exist here. If you start to hear that
106
+voice, file a bug immediately.
107
+
108
+* Avoid the car instruction manual voice where possible. That is, try not
109
+to tell people where specific features are, but what they can expect to
110
+find. This is because the slideshow won't follow our users everywhere,
111
+so we have to answer a different question: "What next?"
112
+If we fixate on pressing buttons, the lessons will not stick :)
113
+
114
+* Please try to keep things neat, tidy and short. In a lot of cases we can
115
+trust our viewers to find things on their own as long as we show them
116
+where to start. It is possible for a single slide to do quite a bit.
117
+
118
+
119
+----- Additional musings on writing
120
+
121
+* The slideshow is a temporary resource. When it's finished, it's gone
122
+until you install Ubuntu again (which is hopefully never, because our
123
+upgrade tool is awesome and Ubuntu will breathe +1000 life into a
124
+computer).
125
+
126
+* So, what we want to do here is point a user in some interesting
127
+directions, but we can't go all the way. We have to avoid the case where
128
+somebody feels they need to go back to the slideshow for information. It's
129
+fine if someone will miss your slideshow (people love pretty things!), but
130
+it's frustrating when a complex product has all its critical information on
131
+the outer packaging.
132
+
133
+* Avoid writing links that people will need to click, because they won't
134
+always be able to. They probably won't want to, either, because there is an
135
+entire operating system being installed. Our user's 1 GHz netbook sounds
136
+like a washing machine as it is. Instead, we want people to see a simple
137
+link they can write down or remember for later. So, contrary to modern web
138
+writing conventions,
139
+<a href="http://www.ubuntu.com/community">ubuntu.com/community</a>
140
+is a better link than…
141
+<a href="http://www.ubuntu.com/community">the Ubuntu community website</a>
142
+
143
+* This also goes back to the second point: if you have to copy and paste a
144
+URL, try to find something less specific and more memorable.
145
+
146
+
147
+----- Embedding a slideshow
148
+      (For example, in an installer)
149
+
150
+Slideshows are simple HTML documents and can be embedded with WebKit or
151
+any other browser widget that supports Javascript and CSS.
152
+./Slideshow.py contains an example implementation with GTK+ 3 and Python.
153
+
154
+The slideshow can be given some information through its URL. Append "#"
155
+and add attributes as key=value pairs, separated by "?". The following are
156
+recognized:
157
+
158
+?controls                Enables debugging controls
159
+?locale=LANG             Sets the locale. For example, locale=en_CA.
160
+?rtl                     Specifies whether to display text right-to-left.
161
+
162
+The slideshow expects to be passed a locale parameter, based on the
163
+current locale. It may fall back to English if the requested locale is not
164
+available.
165
+
166
+The rtl parameter should be added if that is the current text direction,
167
+since the slideshow will not do this automatically based on the locale.
168
+
169
+There is also an ini-style file (see ConfigParser) for each slideshow,
170
+called slideshow.conf. This contains two important variables inside the
171
+Slideshow section: width and height. This way, your implementation can
172
+find the specific size for its web widget and can choose whether to
173
+display a slideshow based on the available screen space.
174
+
175
+
176
+----- Editing slideshow design
177
+
178
+For each slideshow, the visual design can be customized. First of all,
179
+notice that each slideshow inside the ./slideshows directory has a file
180
+called slideshow.conf. If you change the dimensions of the slideshow, make
181
+sure to edit this.
182
+
183
+Each slideshow also (usually) has a slides/link directory with a CSS file
184
+and some graphics that can be customized.
185
+
186
+Of course, the entire thing can be completely redone, too! For more in
187
+depth tinkering, you can edit index.html. Just make sure the general
188
+structure of the document is the same.
189
+
190
+In the <head>, we need a link to directory.js and every js file in
191
+link-core.
192
+
193
+index.html also needs a block called container, containing another block
194
+named slideshow, which lists all the slides as
195
+<div><a href="slide" class="load"></a></div>
196
+
197
+A block with id="debug-controls", and widgets with id="prev-slide" and
198
+id="next-slide" will be handled automatically to produce the debugging
199
+controls that appear when #?controls is added to the url.
200
+
201
+Outside of those requirements, this should be fairly flexible. Have fun!
202
+
203
+
204
+----- Adding / editing images
205
+
206
+Adding images is something that individual slideshows have a lot of
207
+freedom with; the underlying system doesn't mind how this happens. There
208
+are a few things to note, though:
209
+
210
+* It is nice to have the source of each image (eg: SVG file) in the
211
+images-source directory if we are making any changes.
212
+
213
+* If an image comes from an external source, please attribute its author
214
+and specify its license in debian/copyright.
215
+
216
+* If a common effect is being applied to multiple images, consider
217
+creating an automated script and placing it under the images-source
218
+directory. For example, with the Ubuntu slideshow we have a script called
219
+generate-reflected-pngs.sh which, with a GIMP script, adds a fuzzy
220
+reflection to some SVG images and exports them as PNGs. This will help
221
+people working on the project in the future.
222
+
223
+
224
+----- Localization
225
+
226
+A .pot file is generated for each slideshow. One .pot file contains
227
+the strings from every slide in the slideshow.
228
+We routinely gather the translations (in the form of .po files) and add
229
+them to the ./po directory. The build script in ./generate-local-slides.sh
230
+automatically generates slides for each translation using po2html.
231
+
232
+The underlying structure is a bit convoluted, but the good news is this:
233
+Actually making translations for this project is very conventional. You
234
+can simply head over to the Ubuntu source package on Launchpad and submit
235
+new strings.
236
+<http://translations.launchpad.net/ubuntu/+source/ubiquity-slideshow-ubuntu>
237
+We will gather the results and merge them back into the project for
238
+releases.
239
+
240
+
241
+----- Other handy scripts
242
+
243
+First of all, the slideshow can be built by running make. This uses the
244
+Makefile, which in our case is a fairly straight-forward shell script.
245
+Each slideshow gets its own rule in the Makefile which runs the
246
+appropriate other scripts for the final output to ./build.
247
+
248
+./Slideshow.py: Tests the slideshow (after it has been built) in a GUI
249
+similar to Ubiquity's installation progress window.
250
+Run ./Slideshow.py --help from a command line to see some additional
251
+parameters it will take.
252
+By default, opens the slideshow in ./build/ubuntu.
253
+
254
+./test-slideshow.sh: Slightly easier way of running Slideshow.py, for
255
+quick tests.
256
+
257
+./images-source/*.sh: As mentioned in the "Adding / editing images"
258
+section, scripts are placed here that apply common effects to source
259
+images. This makes it easier to add images to some slideshows.
260
+
261
+./generate-pot-files.sh: When slideshow content has been edited, this can
262
+be run to produce new .pot files (for translators) reflecting that
263
+content. There is probably no need to do this yourself, though; the people
264
+who push those .pot files to Rosetta will do it.
265
+

+ 174
- 0
u/ubiquity-slideshow-ubuntu-83.1/Slideshow.py View File

@@ -0,0 +1,174 @@
1
+#!/usr/bin/python3
2
+
3
+import os
4
+from gi.repository import GLib, Gdk, Gtk, WebKit
5
+from configparser import ConfigParser
6
+import subprocess
7
+
8
+import sys
9
+import locale
10
+from optparse import OptionParser
11
+
12
+'''
13
+A basic GTK widget (WebKit.WebView) which displays a slideshow in the
14
+ubiquity-slideshow format. Feel free to copy and paste this to your application
15
+and customize it as needed.
16
+'''
17
+class SlideshowViewer(WebKit.WebView):
18
+	'''
19
+	@param  path  Path to the slideshow, in which the slideshow.conf file is stored.
20
+	@param  locale  Ideal locale to use for the slideshow
21
+	@param  rtl  True if the given locale should be displayed right-to-left
22
+	'''
23
+	def __init__(self, path, locale='C', rtl=False, controls=False):
24
+		self.path = path
25
+		
26
+		config = ConfigParser()
27
+		config.read(os.path.join(self.path,'slideshow.conf'))
28
+		
29
+		slideshow_main = 'file://' + os.path.join(self.path, 'slides', 'index.html')
30
+		
31
+		parameters = []
32
+		slideshow_locale = self._find_available_locale(locale)
33
+		parameters.append('locale=%s' % slideshow_locale)
34
+		if rtl:
35
+			parameters.append('rtl')
36
+		if controls:
37
+			parameters.append('controls')
38
+		
39
+		WebKit.WebView.__init__(self)
40
+		parameters_encoded = '&'.join(parameters)
41
+		self.open('%s#%s' % (slideshow_main, parameters_encoded))
42
+		
43
+		settings = self.get_settings()
44
+		settings.set_property("enable-default-context-menu", False)
45
+		#Recent webkit feature. See <http://trac.WebKit.org/changeset/52087>.
46
+		settings.set_property("enable-file-access-from-file-uris", True)
47
+		
48
+		config_width = int(config.get('Slideshow','width'))
49
+		config_height = int(config.get('Slideshow','height'))
50
+		self.set_size_request(config_width,config_height)
51
+		
52
+		self.connect('navigation-policy-decision-requested', self._on_navigate_decision)
53
+		self.connect('navigation-requested', self._on_navigate)
54
+		self.connect('new-window-policy-decision-requested', self._on_new_window_decision)
55
+		self.connect('create-web-view', self._on_new_window)
56
+	
57
+	'''
58
+	Determines the ideal locale for the slideshow, based on the given locale,
59
+	or 'c' if an ideal one is not available.
60
+	@param  locale  The full locale string, for example en_AU.UTF8
61
+	@return  The available locale which best matches the input.
62
+	'''
63
+	def _find_available_locale(self, locale):
64
+		base_slides_dir = os.path.join(self.path, 'slides', 'l10n')
65
+		extra_slides_dir = os.path.join(self.path, 'slides', 'extra')
66
+		
67
+		ll_cc = locale.split('.')[0]
68
+		ll = ll_cc.split('_')[0]
69
+		
70
+		for slides_dir in [extra_slides_dir, base_slides_dir]:
71
+			for test_locale in [locale, ll_cc, ll]:
72
+				locale_dir = os.path.join(slides_dir, test_locale)
73
+				if os.path.exists(locale_dir):
74
+					return test_locale
75
+		return 'C'
76
+	
77
+	def _new_browser_window(self, uri):
78
+		subprocess.Popen(['xdg-open', uri], close_fds=True)
79
+	
80
+	def _on_navigate_decision(self, view, frame, req, action, decision):
81
+		reason = action.get_reason()
82
+		if reason == "link-clicked":
83
+			decision.use()
84
+			return False
85
+		
86
+		decision.ignore()
87
+		return True
88
+	
89
+	def _on_navigate(self, view, frame, req):
90
+		uri = req.get_uri()
91
+		self._new_browser_window(uri)
92
+		return True
93
+	
94
+	def _on_new_window_decision(self, view, frame, req, action, decision):
95
+		uri = req.get_uri()
96
+		decision.ignore()
97
+		self._new_browser_window(uri)
98
+		return True
99
+	
100
+	def _on_new_window(self, view, frame):
101
+		return True
102
+
103
+
104
+def progress_increment(progressbar, fraction):
105
+	new_fraction = progressbar.get_fraction() + fraction
106
+	if new_fraction > 1:
107
+		progressbar.set_fraction(1.0)
108
+		return False
109
+	
110
+	progressbar.set_fraction(new_fraction)
111
+	return True
112
+
113
+
114
+#Main program
115
+
116
+
117
+default_path = os.path.join( os.path.abspath(os.path.dirname(sys.argv[0])) , 'build', 'ubuntu' )
118
+
119
+default_locale = locale.getlocale()[0]
120
+
121
+parser = OptionParser(usage="usage: %prog [options] [slideshow]")
122
+parser.add_option("-l", "--locale", help="LOCALE to use for the slideshow", metavar="LOCALE", default=default_locale)
123
+parser.add_option("-r", "--rtl", action="store_true", help="use output in right-to-left format")
124
+parser.add_option("-c", "--controls", action="store_true", help="Enable controls in the slideshow (you may need to resize the window)")
125
+parser.add_option("-p", "--path", help="path to the SLIDESHOW which will be presented", metavar="SLIDESHOW", default=default_path)
126
+
127
+(options, args) = parser.parse_args()
128
+options.path = os.path.abspath(options.path)
129
+if os.path.exists(options.path) == False:
130
+	print("\033[91m * Please build the slideshow content first by using the make command * \033[0m")
131
+	sys.exit()
132
+
133
+
134
+Gdk.threads_init()
135
+
136
+# Set default SSL CA file for secure communication with web services.
137
+# This is important, because libsoup is not secure by default.
138
+soup_session = WebKit.get_default_session()
139
+soup_session.set_property('ssl-strict', True)
140
+soup_session.set_property('ssl-use-system-ca-file', True)
141
+
142
+
143
+slideshow_window = Gtk.Window()
144
+slideshow_window.set_title("Ubiquity Slideshow with Webkit")
145
+slideshow_window.connect('destroy',Gtk.main_quit)
146
+
147
+slideshow_window.set_resizable(False)
148
+
149
+slideshow_container = Gtk.VBox()
150
+slideshow_window.add(slideshow_container)
151
+
152
+slideshow = SlideshowViewer(options.path, locale=options.locale, rtl=options.rtl, controls=options.controls)
153
+
154
+install_progressbar = Gtk.ProgressBar()
155
+install_progressbar.set_margin_top(8)
156
+install_progressbar.set_margin_right(8)
157
+install_progressbar.set_margin_bottom(8)
158
+install_progressbar.set_margin_left(8)
159
+install_progressbar.set_fraction(0)
160
+
161
+
162
+slideshow_container.add(slideshow)
163
+slideshow_container.add(install_progressbar)
164
+
165
+slideshow_container.set_child_packing(install_progressbar, True, False, 0, 0)
166
+
167
+
168
+slideshow_window.show_all()
169
+
170
+
171
+install_timer = GLib.timeout_add_seconds(2, progress_increment, install_progressbar, 0.01)
172
+
173
+
174
+Gtk.main()

+ 8
- 0
u/ubiquity-slideshow-ubuntu-83.1/TODO View File

@@ -0,0 +1,8 @@
1
+* Translation infrastructure: Need Javascript solution in
2
+slides/index.html that will automatically load the appropriate localized
3
+version of each slide.
4
+
5
+* Make a smarter Makefile, with proper targets and the like to avoid
6
+rebuilding the entire thing every time make gets run.
7
+
8
+* Nicer testing tools for contributors to quickly see their work.

+ 1044
- 0
u/ubiquity-slideshow-ubuntu-83.1/debian/changelog
File diff suppressed because it is too large
View File


+ 1
- 0
u/ubiquity-slideshow-ubuntu-83.1/debian/compat View File

@@ -0,0 +1 @@
1
+5

+ 20
- 0
u/ubiquity-slideshow-ubuntu-83.1/debian/control View File

@@ -0,0 +1,20 @@
1
+Source: ubiquity-slideshow-ubuntu
2
+Section: x11
3
+Priority: optional
4
+Maintainer: Ubiquity Slideshow Team <ubiquity-slideshow@lists.launchpad.net>
5
+Build-Depends: cdbs, debhelper (>= 5)
6
+Build-Depends-Indep: po4a, python-utidylib, python
7
+Vcs-Bzr: https://code.launchpad.net/~ubiquity-slideshow/ubiquity-slideshow-ubuntu/html
8
+Standards-Version: 3.9.4
9
+Homepage: https://launchpad.net/ubiquity-slideshow-ubuntu
10
+
11
+Package: ubiquity-slideshow-ubuntu
12
+Architecture: all
13
+Provides: ubiquity-slideshow
14
+Conflicts: ubiquity-slideshow
15
+Replaces: ubiquity-slideshow
16
+Depends: ${misc:Depends}
17
+Description: Ubiquity slideshow for Ubuntu
18
+ A slideshow intended for the Ubiquity installer, designed as a quick 
19
+ introduction to Ubuntu.
20
+

+ 554
- 0
u/ubiquity-slideshow-ubuntu-83.1/debian/copyright View File

@@ -0,0 +1,554 @@
1
+This is packaged by the Ubiquity Slideshow Team
2
+<ubiquity-slideshow@lists.launchpad.net>
3
+
4
+Copyright (C) 2009 The Ubiquity Slideshow
5
+Team <ubiquity-slideshow@lists.launchpad.net>
6
+<http://launchpad.net/~ubiquity-slideshow>
7
+
8
+The source code was obtained from:
9
+<http://code.launchpad.net/~ubiquity-slideshow/ubiquity-slideshow-ubuntu/html>
10
+
11
+-----
12
+
13
+Files original to this project, except where stated otherwise, are
14
+licensed under the Creative Commons Creative Commons Attribution-Share
15
+Alike 3.0 Unported License.
16
+
17
+--
18
+
19
+Unless otherwise indicated, artwork is available under the Creative
20
+Commons Attribution Share-alike license v3.0 or any later version. To
21
+view a copy of this license, visit
22
+http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to
23
+Creative Commons, 171 Second Street, Suite 300, San Francisco,
24
+California, 94105, USA. On Ubuntu systems the complete text of the
25
+license can be found in /usr/share/common-licenses.
26
+
27
+Some Rights Reserved:
28
+
29
+The rights in the trademarks, logos, service marks of Canonical Ltd,
30
+as well as the look and feel of Ubuntu, are subject to the Canonical
31
+Trademark Policy at http://www.ubuntu.com/ubuntu/TrademarkPolicy
32
+
33
+--
34
+
35
+./slideshows/link-core/jquery.js
36
+Copyright 2010, John Resig
37
+Dual licensed under the MIT or GPL Version 2 licenses
38
+Web site: <http://jquery.com>
39
+
40
+--
41
+
42
+./slideshows/link-core/jquery.cycle.all.js
43
+Copyright 2007-2010, Mike Alsup
44
+Dual licensed under the MIT or GPL Version 2 licenses
45
+Web site: <http://jquery.malsup.com/cycle/>
46
+
47
+--
48
+
49
+Translations (*.po files stored stored in the ./po directory) are
50
+produced using Launchpad's Rosetta tool and, therefore, licensed using
51
+the BSD licence.
52
+
53
+--
54
+
55
+This project ships with many images which are from outside sources.
56
+This is a list of those images with their respective license details.
57
+Note that empty padding is often added to the images.
58
+Work whose content has been modified is marked with an asterisk (*)
59
+
60
+
61
+In slideshows/ubuntu/slides/icons:
62
+
63
+	accessibility.png, evolution.png, openoffice.png, media.png, 
64
+	personalize.png
65
+		From the Humanity Icon Set <http://launchpad.net/humanity>
66
+		GNU General Public License Version 2 or later (GPL-2)
67
+
68
+	empathy.png
69
+		From the Empathy project <http://live.gnome.org/Empathy>
70
+		GNU General Public License Version 2 or later (GPL-2)
71
+
72
+	shotwell.png
73
+		From the Shotwell project <http://yorba.org/shotwell/>
74
+		GNU Lesser General Public License Version 2.1 (LGPL-2.1).
75
+
76
+	softwarecenter.png
77
+		From the Software Center project. <launchpad.net/software-center>
78
+		Copyright: © 2009 Canonical,
79
+		           © 2006 Sebastian Heinlein <glatzor@ubuntu.com>
80
+		GNU General Public License Version 2 or later (GPL-2)
81
+
82
+-----
83
+
84
+The license texts in the next section are included for your convenience.
85
+
86
+-----
87
+
88
+MIT license (MIT):
89
+
90
+	Permission is hereby granted, free of charge, to any person
91
+	obtaining a copy of this software and associated documentation
92
+	files (the "Software"), to deal in the Software without
93
+	restriction, including without limitation the rights to use, copy,
94
+	modify, merge, publish, distribute, sublicense, and/or sell copies
95
+	of the Software, and to permit persons to whom the Software is
96
+	furnished to do so, subject to the following conditions:
97
+
98
+	The above copyright notice and this permission notice shall be
99
+	included in all copies or substantial portions of the Software.
100
+
101
+	THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
102
+	KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
103
+	WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
104
+	AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
105
+	HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
106
+	WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
107
+	FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
108
+	OTHER DEALINGS IN THE SOFTWARE.
109
+
110
+-----
111
+
112
+BSD license (BSD):
113
+
114
+	Redistribution and use in source and binary forms, with or
115
+	without modification, are permitted provided that the following
116
+	conditions are met:
117
+
118
+	* Redistributions of source code must retain the above copyright
119
+		notice, this list of conditions and the following
120
+		disclaimer.
121
+
122
+	* Redistributions in binary form must reproduce the above
123
+		copyright notice, this list of conditions and the
124
+		following disclaimer in the documentation and/or other
125
+		materials provided with the distribution.
126
+
127
+	* Neither the name of the Ubiquity Slideshow Team nor the names
128
+	    of its contributors may be used to endorse or promote products
129
+		derived from this software without specific prior
130
+		written permission.
131
+
132
+	THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
133
+	CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
134
+	INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
135
+	OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
136
+	ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
137
+	CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
138
+	SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
139
+	NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
140
+	LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
141
+	CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
142
+	STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
143
+	ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
144
+	ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
145
+
146
+-----
147
+
148
+Creative Commons Attribution-ShareAlike 3.0 (CC-BY-SA-3):
149
+
150
+	THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS
151
+	CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK
152
+	IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF
153
+	THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT
154
+	LAW IS PROHIBITED.  BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED
155
+	HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS
156
+	LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A
157
+	CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN
158
+	CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
159
+	1. Definitions a. "Adaptation" means a work based upon the Work,
160
+	or upon the Work and other
161
+		pre-existing works, such as a translation, adaptation,
162
+		derivative work, arrangement of music or other
163
+		alterations of a literary or artistic work, or
164
+		phonogram or performance and includes cinematographic
165
+		adaptations or any other form in which the Work may be
166
+		recast, transformed, or adapted including in any form
167
+		recognizably derived from the original, except that a
168
+		work that constitutes a Collection will not be considered
169
+		an Adaptation for the purpose of this License. For the
170
+		avoidance of doubt, where the Work is a musical work,
171
+		performance or phonogram, the synchronization of the Work
172
+		in timed-relation with a moving image ("synching") will be
173
+		considered an Adaptation for the purpose of this License.
174
+	b. "Collection" means a collection of literary or artistic works,
175
+	such as
176
+		encyclopedias and anthologies, or performances, phonograms
177
+		or broadcasts, or other works or subject matter other
178
+		than works listed in Section 1(f) below, which, by reason
179
+		of the selection and arrangement of their contents,
180
+		constitute intellectual creations, in which the Work is
181
+		included in its entirety in unmodified form along with one
182
+		or more other contributions, each constituting separate
183
+		and independent works in themselves, which together are
184
+		assembled into a collective whole. A work that constitutes
185
+		a Collection will not be considered an Adaptation (as
186
+		defined below) for the purposes of this License.
187
+	c. "Creative Commons Compatible License" means a license that
188
+	is listed at
189
+		http://creativecommons.org/compatiblelicenses that has
190
+		been approved by Creative Commons as being essentially
191
+		equivalent to this License, including, at a minimum,
192
+		because that license: (i) contains terms that have
193
+		the same purpose, meaning and effect as the License
194
+		Elements of this License; and, (ii) explicitly permits the
195
+		relicensing of adaptations of works made available under
196
+		that license under this License or a Creative Commons
197
+		jurisdiction license with the same License Elements as
198
+		this License.
199
+	d. "Distribute" means to make available to the public the
200
+	original and
201
+		copies of the Work or Adaptation, as appropriate,
202
+		through sale or other transfer of ownership.
203
+	e. "License Elements" means the following high-level license
204
+	attributes as
205
+		selected by Licensor and indicated in the title of this
206
+		License: Attribution, ShareAlike.
207
+	f. "Licensor" means the individual, individuals, entity or
208
+	entities that
209
+		offer(s) the Work under the terms of this License.
210
+	g. "Original Author" means, in the case of a literary or artistic
211
+	work, the
212
+		individual, individuals, entity or entities who created
213
+		the Work or if no individual or entity can be identified,
214
+		the publisher; and in addition (i) in the case of a
215
+		performance the actors, singers, musicians, dancers,
216
+		and other persons who act, sing, deliver, declaim,
217
+		play in, interpret or otherwise perform literary or
218
+		artistic works or expressions of folklore; (ii) in the
219
+		case of a phonogram the producer being the person or
220
+		legal entity who first fixes the sounds of a performance
221
+		or other sounds; and, (iii) in the case of broadcasts,
222
+		the organization that transmits the broadcast.
223
+	h. "Work" means the literary and/or artistic work offered under
224
+	the terms of
225
+		this License including without limitation any production
226
+		in the literary, scientific and artistic domain,
227
+		whatever may be the mode or form of its expression
228
+		including digital form, such as a book, pamphlet and
229
+		other writing; a lecture, address, sermon or other work
230
+		of the same nature; a dramatic or dramatico-musical
231
+		work; a choreographic work or entertainment in dumb
232
+		show; a musical composition with or without words;
233
+		a cinematographic work to which are assimilated works
234
+		expressed by a process analogous to cinematography;
235
+		a work of drawing, painting, architecture, sculpture,
236
+		engraving or lithography; a photographic work to which
237
+		are assimilated works expressed by a process analogous
238
+		to photography; a work of applied art; an illustration,
239
+		map, plan, sketch or three-dimensional work relative
240
+		to geography, topography, architecture or science;
241
+		a performance; a broadcast; a phonogram; a compilation
242
+		of data to the extent it is protected as a copyrightable
243
+		work; or a work performed by a variety or circus performer
244
+		to the extent it is not otherwise considered a literary
245
+		or artistic work.
246
+	i. "You" means an individual or entity exercising rights under
247
+	this License
248
+		who has not previously violated the terms of this License
249
+		with respect to the Work, or who has received express
250
+		permission from the Licensor to exercise rights under
251
+		this License despite a previous violation.
252
+	j. "Publicly Perform" means to perform public recitations of
253
+	the Work and to
254
+		communicate to the public those public recitations,
255
+		by any means or process, including by wire or wireless
256
+		means or public digital performances; to make available
257
+		to the public Works in such a way that members of the
258
+		public may access these Works from a place and at a place
259
+		individually chosen by them; to perform the Work to the
260
+		public by any means or process and the communication to
261
+		the public of the performances of the Work, including by
262
+		public digital performance; to broadcast and rebroadcast
263
+		the Work by any means including signs, sounds or images.
264
+	k. "Reproduce" means to make copies of the Work by any means
265
+	including
266
+		without limitation by sound or visual recordings and the
267
+		right of fixation and reproducing fixations of the Work,
268
+		including storage of a protected performance or phonogram
269
+		in digital form or other electronic medium.
270
+	2. Fair Dealing Rights. Nothing in this License is intended
271
+	to reduce, limit, or restrict any uses free from copyright or
272
+	rights arising from limitations or exceptions that are provided
273
+	for in connection with the copyright protection under copyright
274
+	law or other applicable laws.  3. License Grant. Subject to the
275
+	terms and conditions of this License, Licensor hereby grants You
276
+	a worldwide, royalty-free, non-exclusive, perpetual (for the
277
+	duration of the applicable copyright) license to exercise the
278
+	rights in the Work as stated below: a. to Reproduce the Work,
279
+	to incorporate the Work into one or more
280
+		Collections, and to Reproduce the Work as incorporated
281
+		in the Collections;
282
+	b. to create and Reproduce Adaptations provided that any such
283
+	Adaptation,
284
+		including any translation in any medium, takes reasonable
285
+		steps to clearly label, demarcate or otherwise identify
286
+		that changes were made to the original Work. For example,
287
+		a translation could be marked "The original work was
288
+		translated from English to Spanish," or a modification
289
+		could indicate "The original work has been modified.";
290
+	c. to Distribute and Publicly Perform the Work including as
291
+	incorporated in
292
+		Collections; and,
293
+	d. to Distribute and Publicly Perform Adaptations.  e. For the
294
+	avoidance of doubt:
295
+			i. Non-waivable Compulsory License Schemes. In
296
+			those jurisdictions in
297
+				which the right to collect royalties
298
+				through any statutory or compulsory
299
+				licensing scheme cannot be waived,
300
+				the Licensor reserves the exclusive
301
+				right to collect such royalties for any
302
+				exercise by You of the rights granted
303
+				under this License;
304
+			ii. Waivable Compulsory License Schemes. In
305
+			those jurisdictions in
306
+				which the right to collect royalties
307
+				through any statutory or compulsory
308
+				licensing scheme can be waived, the
309
+				Licensor waives the exclusive right to
310
+				collect such royalties for any exercise
311
+				by You of the rights granted under this
312
+				License; and,
313
+		iii. Voluntary Licens Schemes. The Licensor waives the
314
+		right to collect
315
+				royalties, whether individually or, in
316
+				the event that the Licensor is a member
317
+				of a collecting society that administers
318
+				voluntary licensing schemes, via that
319
+				society, from any exercise by You of
320
+				the rights granted under this License.
321
+	The above rights may be exercised in all media and formats whether
322
+	now known or hereafter devised. The above rights include the
323
+	right to make such modifications as are technically necessary
324
+	to exercise the rights in other media and formats. Subject to
325
+	Section 8(f), all rights not expressly granted by Licensor are
326
+	hereby reserved.  4. Restrictions. The license granted in Section
327
+	3 above is expressly made subject to and limited by the following
328
+	restrictions: a. You may Distribute or Publicly Perform the Work
329
+	only under the terms of
330
+		this License. You must include a copy of, or the Uniform
331
+		Resource Identifier (URI) for, this License with every
332
+		copy of the Work You Distribute or Publicly Perform. You
333
+		may not offer or impose any terms on the Work that
334
+		restrict the terms of this License or the ability of the
335
+		recipient of the Work to exercise the rights granted to
336
+		that recipient under the terms of the License. You may not
337
+		sublicense the Work. You must keep intact all notices that
338
+		refer to this License and to the disclaimer of warranties
339
+		with every copy of the Work You Distribute or Publicly
340
+		Perform. When You Distribute or Publicly Perform the Work,
341
+		You may not impose any effective technological measures
342
+		on the Work that restrict the ability of a recipient of
343
+		the Work from You to exercise the rights granted to that
344
+		recipient under the terms of the License. This Section 4
345
+		(a) applies to the Work as incorporated in a Collection,
346
+		but this does not require the Collection apart from
347
+		the Work itself to be made subject to the terms of this
348
+		License. If You create a Collection, upon notice from any
349
+		Licensor You must, to the extent practicable, remove from
350
+		the Collection any credit as required by Section 4(c),
351
+		as requested. If You create an Adaptation, upon notice
352
+		from any Licensor You must, to the extent practicable,
353
+		remove from the Adaptation any credit as required by
354
+		Section 4(c), as requested.
355
+	b. You may Distribute or Publicly Perform an Adaptation only
356
+	under the terms
357
+		of: (i) this License; (ii) a later version of this License
358
+		with the same License Elements as this License; (iii)
359
+		a Creative Commons jurisdiction license (either this or
360
+		a later license version) that contains the same License
361
+		Elements as this License (e.g., Attribution-ShareAlike
362
+		3.0 US)); (iv) a Creative Commons Compatible License. If
363
+		you license the Adaptation under one of the licenses
364
+		mentioned in (iv), you must comply with the terms of
365
+		that license. If you license the Adaptation under the
366
+		terms of any of the licenses mentioned in (i), (ii) or
367
+		(iii) (the "Applicable License"), you must comply with
368
+		the terms of the Applicable License generally and the
369
+		following provisions: (I) You must include a copy of,
370
+		or the URI for, the Applicable License with every copy of
371
+		each Adaptation You Distribute or Publicly Perform; (II)
372
+		You may not offer or impose any terms on the Adaptation
373
+		that restrict the terms of the Applicable License or the
374
+		ability of the recipient of the Adaptation to exercise
375
+		the rights granted to that recipient under the terms
376
+		of the Applicable License; (III) You must keep intact
377
+		all notices that refer to the Applicable License and
378
+		to the disclaimer of warranties with every copy of the
379
+		Work as included in the Adaptation You Distribute or
380
+		Publicly Perform; (IV) when You Distribute or Publicly
381
+		Perform the Adaptation, You may not impose any effective
382
+		technological measures on the Adaptation that restrict
383
+		the ability of a recipient of the Adaptation from You
384
+		to exercise the rights granted to that recipient under
385
+		the terms of the Applicable License. This Section 4(b)
386
+		applies to the Adaptation as incorporated in a Collection,
387
+		but this does not require the Collection apart from the
388
+		Adaptation itself to be made subject to the terms of
389
+		the Applicable License.
390
+	c. If You Distribute, or Publicly Perform the Work or any
391
+	Adaptations or
392
+		Collections, You must, unless a request has been made
393
+		pursuant to Section 4(a), keep intact all copyright
394
+		notices for the Work and provide, reasonable to the
395
+		medium or means You are utilizing: (i) the name of
396
+		the Original Author (or pseudonym, if applicable) if
397
+		supplied, and/or if the Original Author and/or Licensor
398
+		designate another party or parties (e.g., a sponsor
399
+		institute, publishing entity, journal) for attribution
400
+		("Attribution Parties") in Licensor's copyright notice,
401
+		terms of service or by other reasonable means, the name
402
+		of such party or parties; (ii) the title of the Work if
403
+		supplied; (iii) to the extent reasonably practicable,
404
+		the URI, if any, that Licensor specifies to be associated
405
+		with the Work, unless such URI does not refer to the
406
+		copyright notice or licensing information for the Work;
407
+		and (iv) , consistent with Ssection 3 (b), in the case of
408
+		an Adaptation, a credit identifying the use of the Work
409
+		in the Adaptation (e.g., "French translation of the Work
410
+		by Original Author," or "Screenplay based on original
411
+		Work by Original Author"). The credit required by this
412
+		Section 4(c) may be implemented in any reasonable manner;
413
+		provided, however, that in the case of a Adaptation or
414
+		Collection, at a minimum such credit will appear, if a
415
+		credit for all contributing authors of the Adaptation or
416
+		Collection appears, then as part of these credits and in a
417
+		manner at least as prominent as the credits for the other
418
+		contributing authors. For the avoidance of doubt, You
419
+		may only use the credit required by this Section for the
420
+		purpose of attribution in the manner set out above and,
421
+		by exercising Your rights under this License, You may not
422
+		implicitly or explicitly assert or imply any connection
423
+		with, sponsorship or endorsement by the Original Author,
424
+		Licensor and/or Attribution Parties, as appropriate,
425
+		of You or Your use of the Work, without the separate,
426
+		express prior written permission of the Original Author,
427
+		Licensor and/or Attribution Parties.
428
+	d. Except as otherwise agreed in writing by the Licensor or as
429
+	may be
430
+		otherwise permitted by applicable law, if You Reproduce,
431
+		Distribute or Publicly Perform the Work either by itself
432
+		or as part of any Adaptations or Collections, You must
433
+		not distort, mutilate, modify or take other derogatory
434
+		action in relation to the Work which would be prejudicial
435
+		to the Original Author's honor or reputation. Licensor
436
+		agrees that in those jurisdictions (e.g. Japan), in
437
+		which any exercise of the right granted in Section 3(b)
438
+		of this License (the right to make Adaptations) would
439
+		be deemed to be a distortion, mutilation, modification
440
+		or other derogatory action prejudicial to the Original
441
+		Author's honor and reputation, the Licensor will waive
442
+		or not assert, as appropriate, this Section, to the
443
+		fullest extent permitted by the applicable national law,
444
+		to enable You to reasonably exercise Your right under
445
+		Section 3(b) of this License (right to make Adaptations)
446
+		but not otherwise.
447
+	5. Representations, Warranties and Disclaimer UNLESS OTHERWISE
448
+	MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS
449
+	THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
450
+	ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY
451
+	OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF
452
+	TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE,
453
+	NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS,
454
+	ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT
455
+	DISCOVERABLE.  SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION
456
+	OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
457
+	6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY
458
+	APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON
459
+	ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL,
460
+	PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR
461
+	THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE
462
+	POSSIBILITY OF SUCH DAMAGES.  7. Termination a. This License
463
+	and the rights granted hereunder will terminate
464
+		automatically upon any breach by You of the terms of
465
+		this License.  Individuals or entities who have received
466
+		Adaptations or Collections from You under this License,
467
+		however, will not have their licenses terminated provided
468
+		such individuals or entities remain in full compliance
469
+		with those licenses. Sections 1, 2, 5, 6, 7, and 8 will
470
+		survive any termination of this License.
471
+	b. Subject to the above terms and conditions, the license granted
472
+	here is
473
+		perpetual (for the duration of the applicable copyright in
474
+		the Work).  Notwithstanding the above, Licensor reserves
475
+		the right to release the Work under different license
476
+		terms or to stop distributing the Work at any time;
477
+		provided, however that any such election will not serve
478
+		to withdraw this License (or any other license that has
479
+		been, or is required to be, granted under the terms of
480
+		this License), and this License will continue in full
481
+		force and effect unless terminated as stated above.
482
+	8. Miscellaneous a. Each time You Distribute or Publicly Perform
483
+	the Work or a Collection,
484
+		the Licensor offers to the recipient a license to the
485
+		Work on the same terms and conditions as the license
486
+		granted to You under this License.
487
+	b. Each time You Distribute or Publicly Perform an Adaptation,
488
+	Licensor
489
+		offers to the recipient a license to the original Work
490
+		on the same terms and conditions as the license granted
491
+		to You under this License.
492
+	c. If any provision of this License is invalid or unenforceable
493
+	under
494
+		applicable law, it shall not affect the validity or
495
+		enforceability of the remainder of the terms of this
496
+		License, and without further action by the parties to
497
+		this agreement, such provision shall be reformed to the
498
+		minimum extent necessary to make such provision valid
499
+		and enforceable.
500
+	d. No term or provision of this License shall be deemed waived
501
+	and no breach
502
+		consented to unless such waiver or consent shall be in
503
+		writing and signed by the party to be charged with such
504
+		waiver or consent.
505
+	e. This License constitutes the entire agreement between the
506
+	parties with
507
+		respect to the Work licensed here. There are no
508
+		understandings, agreements or representations with respect
509
+		to the Work not specified here. Licensor shall not be
510
+		bound by any additional provisions that may appear in
511
+		any communication from You. This License may not be
512
+		modified without the mutual written agreement of the
513
+		Licensor and You.
514
+	f. The rights granted under, and the subject matter referenced,
515
+	in this
516
+		License were drafted utilizing the terminology of the
517
+		Berne Convention for the Protection of Literary and
518
+		Artistic Works (as amended on September 28, 1979),
519
+		the Rome Convention of 1961, the WIPO Copyright Treaty
520
+		of 1996, the WIPO Performances and Phonograms Treaty of
521
+		1996 and the Universal Copyright Convention (as revised
522
+		on July 24, 1971). These rights and subject matter
523
+		take effect in the relevant jurisdiction in which the
524
+		License terms are sought to be enforced according to the
525
+		corresponding provisions of the implementation of those
526
+		treaty provisions in the applicable national law. If
527
+		the standard suite of rights granted under applicable
528
+		copyright law includes additional rights not granted under
529
+		this License, such additional rights are deemed to be
530
+		included in the License; this License is not intended to
531
+		restrict the license of any rights under applicable law.
532
+
533
+-----
534
+
535
+GNU General Public License version 2 (GPL-2)
536
+
537
+  This program is free software; you can redistribute it and/or modify
538
+  it under the terms of the GNU General Public License as published by
539
+  the Free Software Foundation; either version 2 of the License, or
540
+  (at your option) any later version.
541
+
542
+  This program is distributed in the hope that it will be useful,
543
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
544
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
545
+  GNU General Public License for more details.
546
+
547
+  You should have received a copy of the GNU General Public License
548
+  along with this package; if not, write to the Free Software
549
+  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
550
+  02110-1301, USA.
551
+
552
+On Debian systems, the complete text of the GNU General
553
+Public License can be found in `/usr/share/common-licenses/GPL-2'.
554
+

+ 4
- 0
u/ubiquity-slideshow-ubuntu-83.1/debian/rules View File

@@ -0,0 +1,4 @@
1
+#!/usr/bin/make -f
2
+
3
+include /usr/share/cdbs/1/rules/debhelper.mk
4
+include /usr/share/cdbs/1/class/makefile.mk

+ 1
- 0
u/ubiquity-slideshow-ubuntu-83.1/debian/source/format View File

@@ -0,0 +1 @@
1
+3.0 (native)

+ 1
- 0
u/ubiquity-slideshow-ubuntu-83.1/debian/source/options View File

@@ -0,0 +1 @@
1
+compression = "bzip2"

+ 1
- 0
u/ubiquity-slideshow-ubuntu-83.1/debian/ubiquity-slideshow-ubuntu.install View File

@@ -0,0 +1 @@
1
+build/ubuntu/* /usr/share/ubiquity-slideshow

+ 77
- 0
u/ubiquity-slideshow-ubuntu-83.1/generate-local-slides.py View File

@@ -0,0 +1,77 @@
1
+#!/usr/bin/python
2
+
3
+import os, sys, glob, subprocess
4
+import json
5
+
6
+if len(sys.argv) > 1:
7
+	distro = sys.argv[1]
8
+else:
9
+	print("Usage: %s <distro>" % sys.argv[0]);
10
+	sys.exit(-1)
11
+
12
+if not subprocess.call(["which", "po4a-translate"],
13
+                       stdout=subprocess.PIPE, stderr=subprocess.PIPE) == 0:
14
+	print("Error: po4a is not available.")
15
+	sys.exit(1)
16
+
17
+source_dir = '.'
18
+po_dir = os.path.join(source_dir, 'po', distro)
19
+
20
+build_dir = 'build'
21
+build_slides = os.path.join(build_dir, distro, 'slides')
22
+
23
+template_slides = glob.glob(os.path.join(build_slides, '*.html'))
24
+template_slides.remove(os.path.join(build_slides, 'index.html'))
25
+
26
+directory = {}
27
+
28
+for locale_file in glob.glob( os.path.join(po_dir, '*.po') ):
29
+	locale_name = os.path.basename(locale_file).rstrip('.po')
30
+	locale_slides = os.path.join(build_slides, 'l10n', locale_name)
31
+	
32
+	print("Working on locale %s" % locale_name)
33
+	
34
+	directory[locale_name] = {
35
+		'slides' : [],
36
+		'media' : []
37
+	}
38
+	
39
+	for template_slide in template_slides:
40
+		slide_name = os.path.basename(template_slide)
41
+		output_slide = os.path.join(locale_slides, slide_name)
42
+		
43
+		try:
44
+			os.makedirs(locale_slides)
45
+		except OSError:
46
+			# Directory already exists
47
+			pass
48
+		
49
+		if os.path.exists(output_slide):
50
+			os.remove(output_slide)
51
+		
52
+		# -k 1 -> if there are any translations at all, keep it.
53
+		subprocess.call(['po4a-translate',
54
+			             '-M', 'UTF-8',
55
+			             '-f', 'xhtml',
56
+			             '-m',  template_slide,
57
+			             '-p', locale_file,
58
+			             '-l', output_slide,
59
+			             '-k', '1',
60
+			             '-o', 'attributes="data-translate"'])
61
+		
62
+		if os.path.exists(output_slide):
63
+			directory[locale_name]['slides'].append(slide_name)
64
+		else:
65
+			#print("\t%s was not translated for locale %s" \
66
+			#	  % (slide_name, locale_name))
67
+			try:
68
+				os.rmdir(locale_slides)
69
+			except OSError:
70
+				# Directory is not empty
71
+				pass
72
+	
73
+	directory_file = open(os.path.join(build_slides, 'directory.jsonp'), 'w')
74
+	content = json.dumps(directory)
75
+	directory_file.write('ubiquitySlideshowDirectoryCb(%s);' % content)
76
+	directory_file.close()
77
+

+ 18
- 0
u/ubiquity-slideshow-ubuntu-83.1/generate-pot-files.sh View File

@@ -0,0 +1,18 @@
1
+#!/bin/sh
2
+set -e
3
+mkpo ()
4
+{
5
+	mkdir -p "po/$1"
6
+	
7
+	for slide in slideshows/$1/slides/*.html; do
8
+		slidename="$(basename $slide)"
9
+		[ "$slidename" = "index.html" ] && continue
10
+		mkdir -p "po/$1/.tmp"
11
+		po4a-updatepo -M UTF-8 -f xhtml -m $slide -p "po/$1/.tmp/$slidename.pot" -o attributes="data-translate"
12
+	done
13
+	
14
+	msgcat po/$1/.tmp/*.pot > "po/$1/slideshow-$1.pot"
15
+	rm -r "po/$1/.tmp"
16
+}
17
+
18
+mkpo "ubuntu"

+ 16
- 0
u/ubiquity-slideshow-ubuntu-83.1/images-source/generate-reflected-pngs.sh View File

@@ -0,0 +1,16 @@
1
+#!/bin/sh
2
+
3
+distro=$1
4
+output=$2
5
+if [ -z $distro ] || [ -z $output ]; then
6
+	echo "Usage: $0 <distro> <output>"
7
+	exit -1
8
+fi
9
+
10
+output="$(pwd)/$output"
11
+
12
+cd $(dirname $0)
13
+cd "$1"
14
+mkdir out
15
+gimp -i -f -d -b - < ../reflection-script.scm 2>/dev/null
16
+mv out "$output"

+ 187
- 0
u/ubiquity-slideshow-ubuntu-83.1/images-source/reflection-script.scm View File

@@ -0,0 +1,187 @@
1
+;
2
+; Reflection v0.3 2007-12-20
3
+;
4
+; Copyright (C) 2005-2007 Otavio Correa Cordeiro (otavio gmail com)
5
+; Create a reflection effect like Apple iWeb does..
6
+;
7
+; This program is free software; you can redistribute it and/or modify
8
+; it under the terms of the GNU General Public License as published by
9
+; the Free Software Foundation; either version 2 of the License, or
10
+; (at your option) any later version.
11
+;
12
+; This program is distributed in the hope that it will be useful,
13
+; but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
+; GNU General Public License for more details.
16
+;
17
+; You should have received a copy of the GNU General Public License
18
+; along with this program; if not, write to the Free Software
19
+; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
+;
21
+; modified by Paul Sherman to work in GIMP 2.4.2 on 11/30/2007
22
+;
23
+; modified by David Cummins and Paul Sherman Dec 2007, tested on GIMP-2.4.3
24
+; * added user settings to control the height of the generated reflection,
25
+;   the gradient mask starting point (presented as Fade Rate %), and options
26
+;   to keep the generated reflection as a separate layer, or on a single layer
27
+;   either transparent or flattened.
28
+; * added code to "play nice" with the current GIMP environment: colors and
29
+;   gradient prior selections are preserved, as well as the original layer
30
+;   name (handled using careful stack order).
31
+;   generated layers are constrained around the original layer.
32
+; * simplified some of the internal logic so repeated calculations are done
33
+;   only once, reformatted, organised the code, added comments, etc.
34
+; * flattened on start (to avoid errors)
35
+; * undo ability functional
36
+;
37
+; modified by Dylan McCall on August 4, 2009
38
+; * added blur effect to reflection and parameters to configure it.
39
+;
40
+(define (script-fu-gimp-reflection
41
+         theImage
42
+         theLayer
43
+         userHeight
44
+         userFade
45
+         userBlurWidth
46
+         userBlurHeight
47
+         new_layer
48
+         transparentBG
49
+        )
50
+    (gimp-image-undo-group-start theImage)
51
+    (gimp-selection-all theImage)
52
+    (gimp-selection-none theImage)
53
+    (set! theLayer (car(gimp-image-merge-visible-layers theImage 0)))
54
+
55
+    ;preserve original settings
56
+    (define old-bg   (car (gimp-context-get-background)))
57
+    (define old-fg   (car (gimp-context-get-foreground)))
58
+    (define old-grad (car (gimp-context-get-gradient)))
59
+
60
+    ;calculate color for start of gradient fade
61
+    (define fadeStart (* (- 100 userFade) 2.55))
62
+    (define fadeColor (list fadeStart fadeStart fadeStart))
63
+
64
+    (define originalWidth (car (gimp-image-width theImage)))
65
+    (define originalHeight (car (gimp-image-height theImage)))
66
+    (define reflectionScale (/ userHeight 100))
67
+    (define stackPos (car(gimp-image-get-layer-position theImage theLayer)))
68
+    (define newWidth originalWidth)
69
+    (define newHeight (* originalHeight (+ reflectionScale 1)))
70
+    (define gradX (/ originalWidth 2))
71
+    (define gradY1 (* originalHeight reflectionScale))
72
+    (define gradY2 (* originalHeight reflectionScale -1))
73
+
74
+    (gimp-image-resize theImage originalWidth newHeight 0 0)
75
+    (define new-layer (car (gimp-layer-copy theLayer 1)))
76
+    (gimp-image-add-layer theImage new-layer (+ stackPos 0))
77
+    (gimp-drawable-set-name new-layer "Reflection")
78
+    (gimp-layer-set-offsets new-layer 0 originalHeight)
79
+    (gimp-flip new-layer 1)
80
+    (define new-mask (car (gimp-layer-create-mask new-layer 0)))
81
+    (gimp-layer-add-mask new-layer new-mask)
82
+
83
+    (gimp-context-set-foreground fadeColor)
84
+
85
+    (gimp-edit-blend new-mask FG-TRANSPARENT-MODE NORMAL-MODE
86
+		   GRADIENT-LINEAR 100 0 REPEAT-NONE
87
+		   FALSE
88
+		   FALSE 0 0 TRUE
89
+		   gradX gradY1 gradX gradY2)
90
+		   
91
+    (gimp-layer-remove-mask new-layer MASK-APPLY)
92
+    (gimp-layer-resize-to-image-size new-layer)
93
+    (plug-in-gauss 1 theImage new-layer userBlurWidth userBlurHeight 1)
94
+
95
+  (if (= new_layer FALSE)
96
+    (begin
97
+        (if (= transparentBG TRUE)
98
+	      (begin ;# NO separate layer, transparent ##############
99
+	          (gimp-image-merge-visible-layers theImage 1)
100
+	      )
101
+	      (begin ;# NO separate layer, NOT transparent ##########
102
+	          (gimp-image-flatten theImage)
103
+	      )
104
+	    )
105
+        ; final crop not needed for new_layer FALSE
106
+    )
107
+    (begin
108
+        (if (= transparentBG TRUE)
109
+	      (begin ;# separate layer, transparent ###############
110
+	      	  (gimp-image-set-active-layer theImage new-layer)
111
+	      )
112
+	      (begin ;# separate layer, NOT transparent ###########
113
+                (define bg-layer (car(gimp-layer-new theImage originalWidth newHeight 0 "Reflection BG" 100 0)))
114
+                (gimp-image-add-layer theImage bg-layer (+ stackPos 2))
115
+                (gimp-selection-all theImage)
116
+                (gimp-bucket-fill bg-layer 1 0 100 255 0 1 1)
117
+                (gimp-selection-none theImage)
118
+                (gimp-image-set-active-layer theImage new-layer)
119
+            )
120
+        )
121
+        ; the Reflection layer still overflows the image here
122
+        (gimp-image-crop theImage originalWidth newHeight 0 0)
123
+    )
124
+  )
125
+
126
+    ;restore original settings
127
+    (gimp-context-set-foreground old-fg)
128
+    (gimp-context-set-background old-bg)
129
+    (gimp-context-set-gradient old-grad)
130
+
131
+    (gimp-image-undo-group-end theImage)
132
+)
133
+
134
+
135
+; The following is separate from the above Reflection script. This is a
136
+; part of the ubiquity-slideshow project.
137
+; <http://launchpad.net/~ubiquity-slideshow>
138
+
139
+(define (process-reflection image)
140
+    (plug-in-autocrop 1 image (car (gimp-image-get-active-layer image)))
141
+    (script-fu-gimp-reflection image (car (gimp-image-get-active-layer image)) 30 90 10 40 0 1)
142
+)
143
+
144
+; returns the filename.ext of a full path (i.e. ubuntu/file.svg -> file.svg)
145
+(define (basename fullname)
146
+	(if (string=? "/" (substring fullname 0 1)) 
147
+		(substring fullname 1) 
148
+		(basename (substring fullname 1))
149
+	)
150
+)
151
+
152
+(define (batch-reflection pattern output)
153
+    (let* ((filelist (cadr (file-glob pattern 1))))
154
+        (while (not (null? filelist))
155
+            (let* ((filename (car filelist))
156
+                (image (car (gimp-file-load 1 filename filename))))
157
+                (process-reflection image)
158
+                (define base-filename (basename filename))
159
+                (define new-filename (string-append output (substring base-filename 0 (- (string-length base-filename) 4)) ".png"))
160
+                (gimp-file-save 1 image (car (gimp-image-get-active-layer image)) new-filename new-filename)
161
+                (gimp-image-delete image)
162
+            )
163
+            (set! filelist (cdr filelist))
164
+        )
165
+    )
166
+)
167
+
168
+(define (batch-reflection-svg pattern output)
169
+    (let* ((filelist (cadr (file-glob pattern 1))))
170
+        (while (not (null? filelist))
171
+            (let* ((filename (car filelist))
172
+                (image (car (file-svg-load 1 filename filename 90 185 185 0))))
173
+                (process-reflection image)
174
+                (define base-filename (basename filename))
175
+                (define new-filename (string-append output (substring base-filename 0 (- (string-length base-filename) 4)) ".png"))
176
+                (gimp-file-save 1 image (car (gimp-image-get-active-layer image)) new-filename new-filename)
177
+                (gimp-image-delete image)
178
+            )
179
+            (set! filelist (cdr filelist))
180
+        )
181
+    )
182
+)
183
+
184
+(batch-reflection-svg "./*.svg" "./out/")
185
+(batch-reflection "./*.png" "./out/")
186
+
187
+(gimp-quit 0)

BIN
u/ubiquity-slideshow-ubuntu-83.1/images-source/ubuntu/tahr_rgb_AW.png View File


BIN
u/ubiquity-slideshow-ubuntu-83.1/images-source/ubuntu/welcome-14.04.xcf View File


+ 223
- 0
u/ubiquity-slideshow-ubuntu-83.1/po/ubuntu/ace.po View File

@@ -0,0 +1,223 @@
1
+# Acehnese translation for ubiquity-slideshow-ubuntu
2
+# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
3
+# This file is distributed under the same license as the ubiquity-slideshow-ubuntu package.
4
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
5
+#
6
+msgid ""
7
+msgstr ""
8
+"Project-Id-Version: ubiquity-slideshow-ubuntu\n"
9
+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10
+"POT-Creation-Date: 2014-04-02 11:07-0400\n"
11
+"PO-Revision-Date: 2010-09-22 10:12+0000\n"
12
+"Last-Translator: Martunis <Unknown>\n"
13
+"Language-Team: Acehnese <ace@li.org>\n"
14
+"Language: \n"
15
+"MIME-Version: 1.0\n"
16
+"Content-Type: text/plain; charset=UTF-8\n"
17
+"Content-Transfer-Encoding: 8bit\n"
18
+"X-Launchpad-Export-Date: 2014-04-08 14:29+0000\n"
19
+"X-Generator: Launchpad (build 16976)\n"
20
+
21
+#. type: Content of: <div><h1>
22
+#: slideshows/ubuntu/slides/accessibility.html:1
23
+msgid "Access for everyone"
24
+msgstr ""
25
+
26
+#. type: Content of: <div><div><div><p>
27
+#: slideshows/ubuntu/slides/accessibility.html:8
28
+msgid ""