[spin-kickstarts] LXDE: Fix default mail client setting
by Christoph Wickert
commit 39511174d65b7529631ca84e589163799b680954
Author: Christoph Wickert <cwickert(a)fedoraproject.org>
Date: Fri Apr 19 23:37:56 2013 +0200
LXDE: Fix default mail client setting
fedora-livecd-lxde.ks | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/fedora-livecd-lxde.ks b/fedora-livecd-lxde.ks
index 32b2943..aa61d2d 100644
--- a/fedora-livecd-lxde.ks
+++ b/fedora-livecd-lxde.ks
@@ -32,7 +32,7 @@ FOE
cat > /etc/xdg/libfm/pref-apps.conf << FOE
[Preferred Applications]
WebBrowser=firefox.desktop
-MailClient=redhat-sylpheed.desktop
+MailClient=sylpheed.desktop
FOE
# set up auto-login for liveuser
11 years
[spin-kickstarts/f19] LXDE: We don't use parcellite any more, remove the autostart file
by Christoph Wickert
commit f2aefc6ae0e9b6f9279fa019b589d94bc83cf016
Author: Christoph Wickert <cwickert(a)fedoraproject.org>
Date: Fri Apr 19 23:40:04 2013 +0200
LXDE: We don't use parcellite any more, remove the autostart file
fedora-livecd-lxde.ks | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/fedora-livecd-lxde.ks b/fedora-livecd-lxde.ks
index aa61d2d..9254265 100644
--- a/fedora-livecd-lxde.ks
+++ b/fedora-livecd-lxde.ks
@@ -43,9 +43,6 @@ sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.d
mkdir /home/liveuser/Desktop
cp /usr/share/applications/liveinst.desktop /home/liveuser/Desktop
-# Add autostart for parcellite
-cp /usr/share/applications/fedora-parcellite.desktop /etc/xdg/autostart
-
# this goes at the end after all other changes.
chown -R liveuser:liveuser /home/liveuser
restorecon -R /home/liveuser
11 years
[spin-kickstarts/f19] LXDE: Fix default mail client setting
by Christoph Wickert
commit 7dbab259e6d8ac1b8662fbe4ea9ed2e5e9c65595
Author: Christoph Wickert <cwickert(a)fedoraproject.org>
Date: Fri Apr 19 23:37:56 2013 +0200
LXDE: Fix default mail client setting
fedora-livecd-lxde.ks | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/fedora-livecd-lxde.ks b/fedora-livecd-lxde.ks
index 32b2943..aa61d2d 100644
--- a/fedora-livecd-lxde.ks
+++ b/fedora-livecd-lxde.ks
@@ -32,7 +32,7 @@ FOE
cat > /etc/xdg/libfm/pref-apps.conf << FOE
[Preferred Applications]
WebBrowser=firefox.desktop
-MailClient=redhat-sylpheed.desktop
+MailClient=sylpheed.desktop
FOE
# set up auto-login for liveuser
11 years
[spin-kickstarts/f19] Update test day ks for bug 953911
by Kevin Fenzi
commit 613922aed458b1dadd3025aa25b9a55ba0906b53
Author: Kevin Fenzi <kevin(a)scrye.com>
Date: Fri Apr 19 09:10:23 2013 -0600
Update test day ks for bug 953911
custom/qa-test-day-welcome.js | 123 ++++++++++++++++++++++
custom/qa-test-day.ks | 228 +++++++++++++++++++++++++---------------
2 files changed, 265 insertions(+), 86 deletions(-)
---
diff --git a/custom/qa-test-day-welcome.js b/custom/qa-test-day-welcome.js
new file mode 100644
index 0000000..2f73781
--- /dev/null
+++ b/custom/qa-test-day-welcome.js
@@ -0,0 +1,123 @@
+/* Fedora Test Day welcome screen.
+ *
+ * Based on Fedora LiveCD welcome screen from Cosimo Cecchi:
+ * http://git.fedorahosted.org/cgit/anaconda.git/tree/data/liveinst/gnome?h=...
+ */
+
+const Gdk = imports.gi.Gdk;
+const GdkPixbuf = imports.gi.GdkPixbuf;
+const Gio = imports.gi.Gio;
+const GLib = imports.gi.GLib;
+const Gtk = imports.gi.Gtk;
+const Lang = imports.lang;
+const Pango = imports.gi.Pango;
+
+const Gettext = imports.gettext;
+const _ = imports.gettext.gettext;
+
+const LOCALE_DIR = '/usr/share/locale';
+
+let anacondaApp = null;
+
+function makeLabel(label, button) {
+ let widget = new Gtk.Label();
+
+ if (button)
+ widget.set_markup(
+ '<b><span size="x-large">' + label + '</span></b>');
+ else {
+ widget.set_line_wrap(true);
+ widget.set_justify(Gtk.Justification.CENTER);
+ widget.set_margin_top(32);
+ widget.set_margin_bottom(32);
+
+ widget.set_markup(
+ '<span size="large">' + label + '</span>');
+ }
+
+ return widget;
+}
+
+const WelcomeWindow = new Lang.Class({
+ Name: 'WelcomeWindow',
+
+ _init: function(application) {
+ this.window = new Gtk.ApplicationWindow({
+ application: application,
+ type: Gtk.WindowType.TOPLEVEL,
+ default_width: 600,
+ default_height: 550,
+ title: _("Welcome to Fedora Test Day"),
+ window_position: Gtk.WindowPosition.CENTER });
+ this.window.connect('key-press-event', Lang.bind(this,
+ function(w, event) {
+ let key = event.get_keyval()[1];
+
+ if (key == Gdk.KEY_Escape)
+ this.window.destroy();
+
+ return false;
+ }));
+
+ let mainGrid = new Gtk.Grid({
+ orientation: Gtk.Orientation.VERTICAL,
+ row_spacing: 16,
+ vexpand: true,
+ hexpand: true,
+ halign: Gtk.Align.CENTER,
+ valign: Gtk.Align.CENTER });
+ this.window.add(mainGrid);
+
+ let buttonBox = new Gtk.Grid({
+ orientation: Gtk.Orientation.HORIZONTAL,
+ column_spacing: 16,
+ halign: Gtk.Align.CENTER });
+ mainGrid.add(buttonBox);
+
+ let tryContent = new Gtk.Box({
+ orientation: Gtk.Orientation.VERTICAL, spacing: 16 });
+ let firefoxpix = GdkPixbuf.Pixbuf.new_from_file_at_size(
+ '/usr/share/icons/Fedora/256x256/places/start-here.png',256, 256);
+ tryContent.add(new Gtk.Image({ pixbuf: firefoxpix }));
+ tryContent.add(makeLabel(_("Participate in the Test Day"), true));
+ let tryButton = new Gtk.Button({ child: tryContent });
+ buttonBox.add(tryButton);
+
+ this._label = makeLabel(_(
+ "Click the button to open a browser with the current Test Day " +
+ "wiki page containing instructions and an IRC chat to discuss " +
+ "any issues and questions you might have."
+ ), false);
+ mainGrid.add(this._label);
+
+ tryButton.connect('clicked', Lang.bind(this,
+ function() {
+ GLib.spawn_command_line_async('firefox');
+ this.window.destroy();
+ }));
+ }
+});
+
+Gettext.bindtextdomain('anaconda', LOCALE_DIR);
+Gettext.textdomain('anaconda');
+
+GLib.set_prgname('test-day-welcome');
+Gtk.init(null, null);
+Gtk.Settings.get_default().gtk_application_prefer_dark_theme = true;
+
+let application = new Gtk.Application({
+ application_id: 'org.fedoraproject.welcome-screen',
+ flags: Gio.ApplicationFlags.FLAGS_NONE });
+let welcomeWindow = null;
+
+application.connect('startup', Lang.bind(this,
+ function() {
+ welcomeWindow = new WelcomeWindow(application);
+ }));
+application.connect('activate', Lang.bind(this,
+ function() {
+ welcomeWindow.window.show_all();
+ }));
+
+application.run(ARGV);
+
diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks
index 0239edc..455ea35 100644
--- a/custom/qa-test-day.ks
+++ b/custom/qa-test-day.ks
@@ -1,117 +1,173 @@
+### Fedora Test Day LiveCD ###
+# Read more at: https://fedoraproject.org/wiki/QA/Test_Days/Live_Image
+# Contact QA team if you have any improvements for this kickstart:
+# https://fedoraproject.org/wiki/QA
+
%include ../fedora-livecd-desktop.ks
+
+## System configuration
+# Warn about SELinux issues, but don't block
+selinux --permissive
+
+
+## Repositories
+# If you want, you can enable updates-testing
+#repo --name=updates-testing --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f$releasever&arch=$basearch
+# You can also define your own repository here with custom/bleeding-edge packages
+#repo --name=test-day --baseurl=http://server/path
+
+
+## Packages
%packages
+# Remove Anaconda, this image is not intended for installation (we modify the
+# image a lot, removing lots of software and changing some system defaults).
+# TCs/RCs are intended for installation instead. Of course you can put the
+# installer back for a specific Test Day, if needed, but make sure to communicate
+# well to people that it is intended for testing purposes, not for real usage.
+-@anaconda-tools
+-anaconda
+
+# Strip as many packages as possible, so that our testers don't need to download
+# large ISOs. Only leave those packages that are generally useful for Test Days.
+# Test Day organizers can adjust the kickstart and add specific packages they
+# need for a particular Test Day.
+-@libreoffice
+-@printing
+-aisleriot
+-authconfig
+-brasero*
+-cheese
+-colord
+-colord-gtk
+-deja-dup
+-evolution
+-evolution-ews
+-fedora-release-notes
+-firewall-config
+-firstboot
+-gnome-backgrounds
+-gnome-boxes
+-gnome-color-manager
+-gnome-clocks
+-gnome-contacts
+-gnome-dictionary
+-gnome-documents
+-gnome-font-viewer
+-gnome-getting-started-docs
+-gnome-icon-theme-extras
+-gnome-initial-setup
+-gnome-photos
+-gucharmap
+-initial-setup
+-libsane-hpaio
+-nautilus-sendto
+-orca
+-realmd
+-rhythmbox
+-sane-backends*
+-sendmail
+-shotwell
+-simple-scan
+-system-config-*
+-tmpwatch
+-transmission-gtk
+-vinagre
+-yum-langpacks
+
+# Add some smaller alternatives for the stripped packages
+abiword
+
+# Add packages useful for testing and debugging problems
gdb
strace
ltrace
-libdrm
-pidgin
+gtk-recordmydesktop
+gconf-editor
+dconf-editor
+nautilus-open-terminal
+iotop
+htop
+
+# Add favorite power-user tools
mc
vim
nano
wget
-xorg-x11-apps
-gtk-recordmydesktop
-gconf-editor
-gimp
-nautilus-open-terminal
-abiword
-# save some space
--empathy
--gnome-games
--brasero*
--sound-juicer
--gthumb
--gnome-backgrounds
--desktop-backgrounds*
--evolution
--shotwell
--planner
--openoffice*
--java*
-# brand as fedora test spin
-fedora-logos
--generic-logos
-# glib2 is needed to set up favorites
-glib2
-# zip and unzip are needed to tweak firefox settings
-zip
-unzip
+
+# Add dependencies for the welcome screen
+# (this makes it run also on non-GNOME systems)
+gjs
+firefox
+
%end
+
+## LiveCD environment adjustments
%post
-cat >> /etc/rc.d/init.d/livesys << EOF
+# The following changes are executed only during LiveCD boot and wouldn't affect
+# the installed system. This image is not intended for installation, but you
+# never know what your users might do.
-# Note the following needs to be done twice, once for the live environment
-# to override what live-desktop does (so it executes after it) and a second
-# time to make a persistant config, so that tests after install still
-# have the settings to faciliate testing.
+cat >> /etc/rc.d/init.d/livesys << EOF
-# Change the favorites using a vendor override. (Adding a profile would
-# be another way to do this.)
-cat << FOE >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override
-[org.gnome.shell]
-favorite-apps=['testday-wiki.desktop', 'testday-irc.desktop', 'liveinst.desktop', 'nautilus.desktop', 'gnome-terminal.desktop']
+# Create Test Day welcome screen
+# Note that shebang must be written this way, else it is considered as comment
+echo "#!/usr/bin/env gjs-console" > /tmp/test-day-welcome
+cat >> /tmp/test-day-welcome << FOE
+%include qa-test-day-welcome.js
FOE
-glib-compile-schemas /usr/share/glib-2.0/schemas/
+chmod +x /tmp/test-day-welcome
-EOF
+cat > /usr/share/applications/test-day-welcome.desktop << FOE
+[Desktop Entry]
+Name=Welcome to Fedora Test Day
+Exec=/tmp/test-day-welcome
+Icon=/usr/share/icons/Fedora/256x256/places/start-here.png
+Type=Application
+StartupNotify=true
+NoDisplay=true
+X-GNOME-Autostart-enabled=true
+FOE
+ln -s /usr/share/applications/test-day-welcome.desktop /etc/xdg/autostart/
+# Remove anaconda welcome screen (if it exists), it would display instead of ours
+rm -f /home/liveuser/.config/autostart/fedora-welcome.desktop
-# Note the following config setups persist after install. I think this is
-# good for qa-testday purposes, but is bad for most other purposes.
+# Change Firefox start page to open Test Day wiki and IRC chat
+mkdir -p /tmp/chrome/en-US/locale/branding
+cat << FOE > /tmp/chrome/en-US/locale/branding/browserconfig.properties
+browser.startup.homepage=https://fedoraproject.org/wiki/Test_Day:Current | http://webchat.freenode.net/?channels=fedora-test-day
+FOE
-# Turn off alternate pages on first firefox use or after updates
-unzip /usr/lib/firefox-*/omni.jar defaults/preferences/firefox-branding.js -d /tmp
-cat << EOF >> /tmp/defaults/preferences/firefox-branding.js
+# Set up a few more properties
+unzip /usr/lib*/firefox/omni.ja defaults/preferences/firefox-branding.js -d /tmp
+cat << FOE >> /tmp/defaults/preferences/firefox-branding.js
pref("startup.homepage_welcome_url","");
pref("startup.homepage_override_url","");
-EOF
-
-# Set Test_Day:Current as default browser homepage
-mkdir -p /tmp/chrome/en-US/locale/branding
-cat << EOF > /tmp/chrome/en-US/locale/branding/browserconfig.properties
-browser.startup.homepage=https://fedoraproject.org/wiki/Test_Day:Current
-EOF
+pref("browser.rights.3.shown", true);
+FOE
-(cd /tmp; zip /usr/lib/firefox-*/omni.jar chrome/en-US/locale/branding/browserconfig.properties defaults/preferences/firefox-branding.js)
+(cd /tmp; zip /usr/lib*/firefox/omni.ja chrome/en-US/locale/branding/browserconfig.properties \
+ defaults/preferences/firefox-branding.js)
rm -rf /tmp/chrome /tmp/defaults
-# Create a directory to store global custom favorites
-mkdir -p /etc/skel/.local/share/applications
+# Adjust launchers in dash using a vendor override. (Adding a profile would
+# be another way to do this.)
+cat << FOE >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override
+[org.gnome.shell]
+favorite-apps=['test-day-welcome.desktop', 'firefox.desktop', 'nautilus.desktop', 'gnome-terminal.desktop']
+FOE
-# Create a favorite for the current test day wiki page
-cat << EOF > /etc/skel/.local/share/applications/testday-wiki.desktop
-[Desktop Entry]
-Name=Participate in a Test Day
-Type=Application
-Exec=firefox "https://fedoraproject.org/wiki/Test_Day:Current"
-Icon=firefox
-EOF
+# Disable screen blanking, there's no benefit on a Test Day image and it's irritating
+cat << FOE >> /usr/share/glib-2.0/schemas/org.gnome.desktop.session.gschema.override
+[org.gnome.desktop.session]
+idle-delay=0
+FOE
-# Create a favorite for Test Day IRC chat
-cat << EOF > /etc/skel/.local/share/applications/testday-irc.desktop
-[Desktop Entry]
-Name=Connect to a Test Day chat
-Type=Application
-Exec=firefox "http://webchat.freenode.net/?channels=fedora-test-day"
-Icon=firefox
-EOF
+# Rebuild schema cache with any overrides we installed
+glib-compile-schemas /usr/share/glib-2.0/schemas/
-# Create a favorite for liveinst
-cat << EOF > /etc/skel/.local/share/applications/liveinst.desktop
-[Desktop Entry]
-Name=Install to hard drive
-Type=Application
-Exec=liveinst
-Icon=anaconda
EOF
-# Change the favorites using a vendor override. (Adding a profile would
-# be another way to do this.)
-cat << EOF >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override
-[org.gnome.shell]
-favorite-apps=['testday-wiki.desktop', 'testday-irc.desktop', 'liveinst.desktop', 'nautilus.desktop', 'gnome-terminal.desktop']
-EOF
-glib-compile-schemas /usr/share/glib-2.0/schemas/
%end
11 years
[spin-kickstarts] Update test day ks for bug 953911
by Kevin Fenzi
commit 329493a03106b5ed92fa8c288dd58c0da89a332f
Author: Kevin Fenzi <kevin(a)scrye.com>
Date: Fri Apr 19 09:10:23 2013 -0600
Update test day ks for bug 953911
custom/qa-test-day-welcome.js | 123 ++++++++++++++++++++++
custom/qa-test-day.ks | 228 +++++++++++++++++++++++++---------------
2 files changed, 265 insertions(+), 86 deletions(-)
---
diff --git a/custom/qa-test-day-welcome.js b/custom/qa-test-day-welcome.js
new file mode 100644
index 0000000..2f73781
--- /dev/null
+++ b/custom/qa-test-day-welcome.js
@@ -0,0 +1,123 @@
+/* Fedora Test Day welcome screen.
+ *
+ * Based on Fedora LiveCD welcome screen from Cosimo Cecchi:
+ * http://git.fedorahosted.org/cgit/anaconda.git/tree/data/liveinst/gnome?h=...
+ */
+
+const Gdk = imports.gi.Gdk;
+const GdkPixbuf = imports.gi.GdkPixbuf;
+const Gio = imports.gi.Gio;
+const GLib = imports.gi.GLib;
+const Gtk = imports.gi.Gtk;
+const Lang = imports.lang;
+const Pango = imports.gi.Pango;
+
+const Gettext = imports.gettext;
+const _ = imports.gettext.gettext;
+
+const LOCALE_DIR = '/usr/share/locale';
+
+let anacondaApp = null;
+
+function makeLabel(label, button) {
+ let widget = new Gtk.Label();
+
+ if (button)
+ widget.set_markup(
+ '<b><span size="x-large">' + label + '</span></b>');
+ else {
+ widget.set_line_wrap(true);
+ widget.set_justify(Gtk.Justification.CENTER);
+ widget.set_margin_top(32);
+ widget.set_margin_bottom(32);
+
+ widget.set_markup(
+ '<span size="large">' + label + '</span>');
+ }
+
+ return widget;
+}
+
+const WelcomeWindow = new Lang.Class({
+ Name: 'WelcomeWindow',
+
+ _init: function(application) {
+ this.window = new Gtk.ApplicationWindow({
+ application: application,
+ type: Gtk.WindowType.TOPLEVEL,
+ default_width: 600,
+ default_height: 550,
+ title: _("Welcome to Fedora Test Day"),
+ window_position: Gtk.WindowPosition.CENTER });
+ this.window.connect('key-press-event', Lang.bind(this,
+ function(w, event) {
+ let key = event.get_keyval()[1];
+
+ if (key == Gdk.KEY_Escape)
+ this.window.destroy();
+
+ return false;
+ }));
+
+ let mainGrid = new Gtk.Grid({
+ orientation: Gtk.Orientation.VERTICAL,
+ row_spacing: 16,
+ vexpand: true,
+ hexpand: true,
+ halign: Gtk.Align.CENTER,
+ valign: Gtk.Align.CENTER });
+ this.window.add(mainGrid);
+
+ let buttonBox = new Gtk.Grid({
+ orientation: Gtk.Orientation.HORIZONTAL,
+ column_spacing: 16,
+ halign: Gtk.Align.CENTER });
+ mainGrid.add(buttonBox);
+
+ let tryContent = new Gtk.Box({
+ orientation: Gtk.Orientation.VERTICAL, spacing: 16 });
+ let firefoxpix = GdkPixbuf.Pixbuf.new_from_file_at_size(
+ '/usr/share/icons/Fedora/256x256/places/start-here.png',256, 256);
+ tryContent.add(new Gtk.Image({ pixbuf: firefoxpix }));
+ tryContent.add(makeLabel(_("Participate in the Test Day"), true));
+ let tryButton = new Gtk.Button({ child: tryContent });
+ buttonBox.add(tryButton);
+
+ this._label = makeLabel(_(
+ "Click the button to open a browser with the current Test Day " +
+ "wiki page containing instructions and an IRC chat to discuss " +
+ "any issues and questions you might have."
+ ), false);
+ mainGrid.add(this._label);
+
+ tryButton.connect('clicked', Lang.bind(this,
+ function() {
+ GLib.spawn_command_line_async('firefox');
+ this.window.destroy();
+ }));
+ }
+});
+
+Gettext.bindtextdomain('anaconda', LOCALE_DIR);
+Gettext.textdomain('anaconda');
+
+GLib.set_prgname('test-day-welcome');
+Gtk.init(null, null);
+Gtk.Settings.get_default().gtk_application_prefer_dark_theme = true;
+
+let application = new Gtk.Application({
+ application_id: 'org.fedoraproject.welcome-screen',
+ flags: Gio.ApplicationFlags.FLAGS_NONE });
+let welcomeWindow = null;
+
+application.connect('startup', Lang.bind(this,
+ function() {
+ welcomeWindow = new WelcomeWindow(application);
+ }));
+application.connect('activate', Lang.bind(this,
+ function() {
+ welcomeWindow.window.show_all();
+ }));
+
+application.run(ARGV);
+
diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks
index 0239edc..455ea35 100644
--- a/custom/qa-test-day.ks
+++ b/custom/qa-test-day.ks
@@ -1,117 +1,173 @@
+### Fedora Test Day LiveCD ###
+# Read more at: https://fedoraproject.org/wiki/QA/Test_Days/Live_Image
+# Contact QA team if you have any improvements for this kickstart:
+# https://fedoraproject.org/wiki/QA
+
%include ../fedora-livecd-desktop.ks
+
+## System configuration
+# Warn about SELinux issues, but don't block
+selinux --permissive
+
+
+## Repositories
+# If you want, you can enable updates-testing
+#repo --name=updates-testing --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f$releasever&arch=$basearch
+# You can also define your own repository here with custom/bleeding-edge packages
+#repo --name=test-day --baseurl=http://server/path
+
+
+## Packages
%packages
+# Remove Anaconda, this image is not intended for installation (we modify the
+# image a lot, removing lots of software and changing some system defaults).
+# TCs/RCs are intended for installation instead. Of course you can put the
+# installer back for a specific Test Day, if needed, but make sure to communicate
+# well to people that it is intended for testing purposes, not for real usage.
+-@anaconda-tools
+-anaconda
+
+# Strip as many packages as possible, so that our testers don't need to download
+# large ISOs. Only leave those packages that are generally useful for Test Days.
+# Test Day organizers can adjust the kickstart and add specific packages they
+# need for a particular Test Day.
+-@libreoffice
+-@printing
+-aisleriot
+-authconfig
+-brasero*
+-cheese
+-colord
+-colord-gtk
+-deja-dup
+-evolution
+-evolution-ews
+-fedora-release-notes
+-firewall-config
+-firstboot
+-gnome-backgrounds
+-gnome-boxes
+-gnome-color-manager
+-gnome-clocks
+-gnome-contacts
+-gnome-dictionary
+-gnome-documents
+-gnome-font-viewer
+-gnome-getting-started-docs
+-gnome-icon-theme-extras
+-gnome-initial-setup
+-gnome-photos
+-gucharmap
+-initial-setup
+-libsane-hpaio
+-nautilus-sendto
+-orca
+-realmd
+-rhythmbox
+-sane-backends*
+-sendmail
+-shotwell
+-simple-scan
+-system-config-*
+-tmpwatch
+-transmission-gtk
+-vinagre
+-yum-langpacks
+
+# Add some smaller alternatives for the stripped packages
+abiword
+
+# Add packages useful for testing and debugging problems
gdb
strace
ltrace
-libdrm
-pidgin
+gtk-recordmydesktop
+gconf-editor
+dconf-editor
+nautilus-open-terminal
+iotop
+htop
+
+# Add favorite power-user tools
mc
vim
nano
wget
-xorg-x11-apps
-gtk-recordmydesktop
-gconf-editor
-gimp
-nautilus-open-terminal
-abiword
-# save some space
--empathy
--gnome-games
--brasero*
--sound-juicer
--gthumb
--gnome-backgrounds
--desktop-backgrounds*
--evolution
--shotwell
--planner
--openoffice*
--java*
-# brand as fedora test spin
-fedora-logos
--generic-logos
-# glib2 is needed to set up favorites
-glib2
-# zip and unzip are needed to tweak firefox settings
-zip
-unzip
+
+# Add dependencies for the welcome screen
+# (this makes it run also on non-GNOME systems)
+gjs
+firefox
+
%end
+
+## LiveCD environment adjustments
%post
-cat >> /etc/rc.d/init.d/livesys << EOF
+# The following changes are executed only during LiveCD boot and wouldn't affect
+# the installed system. This image is not intended for installation, but you
+# never know what your users might do.
-# Note the following needs to be done twice, once for the live environment
-# to override what live-desktop does (so it executes after it) and a second
-# time to make a persistant config, so that tests after install still
-# have the settings to faciliate testing.
+cat >> /etc/rc.d/init.d/livesys << EOF
-# Change the favorites using a vendor override. (Adding a profile would
-# be another way to do this.)
-cat << FOE >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override
-[org.gnome.shell]
-favorite-apps=['testday-wiki.desktop', 'testday-irc.desktop', 'liveinst.desktop', 'nautilus.desktop', 'gnome-terminal.desktop']
+# Create Test Day welcome screen
+# Note that shebang must be written this way, else it is considered as comment
+echo "#!/usr/bin/env gjs-console" > /tmp/test-day-welcome
+cat >> /tmp/test-day-welcome << FOE
+%include qa-test-day-welcome.js
FOE
-glib-compile-schemas /usr/share/glib-2.0/schemas/
+chmod +x /tmp/test-day-welcome
-EOF
+cat > /usr/share/applications/test-day-welcome.desktop << FOE
+[Desktop Entry]
+Name=Welcome to Fedora Test Day
+Exec=/tmp/test-day-welcome
+Icon=/usr/share/icons/Fedora/256x256/places/start-here.png
+Type=Application
+StartupNotify=true
+NoDisplay=true
+X-GNOME-Autostart-enabled=true
+FOE
+ln -s /usr/share/applications/test-day-welcome.desktop /etc/xdg/autostart/
+# Remove anaconda welcome screen (if it exists), it would display instead of ours
+rm -f /home/liveuser/.config/autostart/fedora-welcome.desktop
-# Note the following config setups persist after install. I think this is
-# good for qa-testday purposes, but is bad for most other purposes.
+# Change Firefox start page to open Test Day wiki and IRC chat
+mkdir -p /tmp/chrome/en-US/locale/branding
+cat << FOE > /tmp/chrome/en-US/locale/branding/browserconfig.properties
+browser.startup.homepage=https://fedoraproject.org/wiki/Test_Day:Current | http://webchat.freenode.net/?channels=fedora-test-day
+FOE
-# Turn off alternate pages on first firefox use or after updates
-unzip /usr/lib/firefox-*/omni.jar defaults/preferences/firefox-branding.js -d /tmp
-cat << EOF >> /tmp/defaults/preferences/firefox-branding.js
+# Set up a few more properties
+unzip /usr/lib*/firefox/omni.ja defaults/preferences/firefox-branding.js -d /tmp
+cat << FOE >> /tmp/defaults/preferences/firefox-branding.js
pref("startup.homepage_welcome_url","");
pref("startup.homepage_override_url","");
-EOF
-
-# Set Test_Day:Current as default browser homepage
-mkdir -p /tmp/chrome/en-US/locale/branding
-cat << EOF > /tmp/chrome/en-US/locale/branding/browserconfig.properties
-browser.startup.homepage=https://fedoraproject.org/wiki/Test_Day:Current
-EOF
+pref("browser.rights.3.shown", true);
+FOE
-(cd /tmp; zip /usr/lib/firefox-*/omni.jar chrome/en-US/locale/branding/browserconfig.properties defaults/preferences/firefox-branding.js)
+(cd /tmp; zip /usr/lib*/firefox/omni.ja chrome/en-US/locale/branding/browserconfig.properties \
+ defaults/preferences/firefox-branding.js)
rm -rf /tmp/chrome /tmp/defaults
-# Create a directory to store global custom favorites
-mkdir -p /etc/skel/.local/share/applications
+# Adjust launchers in dash using a vendor override. (Adding a profile would
+# be another way to do this.)
+cat << FOE >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override
+[org.gnome.shell]
+favorite-apps=['test-day-welcome.desktop', 'firefox.desktop', 'nautilus.desktop', 'gnome-terminal.desktop']
+FOE
-# Create a favorite for the current test day wiki page
-cat << EOF > /etc/skel/.local/share/applications/testday-wiki.desktop
-[Desktop Entry]
-Name=Participate in a Test Day
-Type=Application
-Exec=firefox "https://fedoraproject.org/wiki/Test_Day:Current"
-Icon=firefox
-EOF
+# Disable screen blanking, there's no benefit on a Test Day image and it's irritating
+cat << FOE >> /usr/share/glib-2.0/schemas/org.gnome.desktop.session.gschema.override
+[org.gnome.desktop.session]
+idle-delay=0
+FOE
-# Create a favorite for Test Day IRC chat
-cat << EOF > /etc/skel/.local/share/applications/testday-irc.desktop
-[Desktop Entry]
-Name=Connect to a Test Day chat
-Type=Application
-Exec=firefox "http://webchat.freenode.net/?channels=fedora-test-day"
-Icon=firefox
-EOF
+# Rebuild schema cache with any overrides we installed
+glib-compile-schemas /usr/share/glib-2.0/schemas/
-# Create a favorite for liveinst
-cat << EOF > /etc/skel/.local/share/applications/liveinst.desktop
-[Desktop Entry]
-Name=Install to hard drive
-Type=Application
-Exec=liveinst
-Icon=anaconda
EOF
-# Change the favorites using a vendor override. (Adding a profile would
-# be another way to do this.)
-cat << EOF >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override
-[org.gnome.shell]
-favorite-apps=['testday-wiki.desktop', 'testday-irc.desktop', 'liveinst.desktop', 'nautilus.desktop', 'gnome-terminal.desktop']
-EOF
-glib-compile-schemas /usr/share/glib-2.0/schemas/
%end
11 years
Re: [Fedora-spins] Fedora 19 Spins
by Christoph Wickert
Am Dienstag, den 09.04.2013, 17:28 -0400 schrieb Bill Nottingham:
> Joerg Simon (jsimon(a)fedoraproject.org) said:
> > can you please give us a feedback regarding
> > http://lists.fedoraproject.org/pipermail/spins/2013-April/002886.html
>
> I am not the spin wrangler - I merely created the F19 spins page as a copy
> of F18 because someone from QA asked me to so they had size targets, etc.
>
> CC'ing Christoph, he can likely give you a better answer.
I agree with Bill that http://fedoraproject.org/wiki/Releases/19/Spins
should be considered the authoritative list of spins. There is no reason
to only go for the desktop spins and exclude old spins from reoccurrence
if they are actively maintained.
In addition to that, we have some spins listed as ready for SIG:
https://fedoraproject.org/wiki/Category:Spins_Ready_For_SIG
I have no idea, why some of the spins are there:
* Design Suite was around for ages and is now actively maintained
again.
* Same for the Games spin.
* Fedora jam was approved be the SIG in the F18 cycle but didn't
make it.
* Java spin is new, afaik it was not yet approved. The owner seems
unresponsive at least he has not responded to my questions in
the wiki since December. Also, the board had some issues with
the name.
* Mate is new, too. I had to nag Dan repeatedly to finish his
stuff, but he made it and we should officially bless it.
So as far as I can see, MATE is the only new spin we need to care about.
As we are likely to not have a meeting and we are running out of time, I
suggest we use the trac ticket I created for approval. All spins SIG
members, please cast your votes at
https://fedorahosted.org/spin-kickstarts/ticket/46
I want at least 3 SIG members +1 the spin. If you have any questions,
the ticket is the place to ask them.
Also, I want people to commit to testing the spins. It's not enough to
rubberstamp a spin, you have to actually test it. I want all spins to be
tested and signed of by at least two people, the spins wrangler and one
other person. They will need to run all relevant test cases for the
desktop they use, plus all spin-specific test cases (if there are any)
and document their findings in the wiki. Basically the same process that
we apply to the desktops will be extended throughout all spins.
This being said: Even if your spin is approved or reoccurring and listed
at http://fedoraproject.org/wiki/Releases/19/Spins it might not make it.
We (that is me and rel-eng) will not release something that was not
tested properly.
Kind regards,
Christoph
11 years
Fedora 19 Spins
by Dennis Gilmore
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
the fedora 19 schedule[1] states that spins freeze was March 12, I have
yet tp see the spins identified for fedora 19. At this point I am
inclined to go with the 5 stand desktop spins only through the entire
f19 cycle. Things need to get moving and quickly if we are to do
anything else.
Dennis
[1] http://fedorapeople.org/groups/schedule/f-19/f-19-devel-tasks.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
iEYEARECAAYFAlFaSJsACgkQkSxm47BaWfdpnACfXR6FN62J2w8qGyZDPXSQqyrz
Z/AAoMBQvQn/j1k0291slyHPErXhStuX
=Bgv1
-----END PGP SIGNATURE-----
11 years
[spin-kickstarts/f19] Presto is now part of yum, not a separate plugin
by Bruno Wolff III
commit 4180c83527a0700966326fa4d4cda4f4aeab02fc
Author: Bruno Wolff III <bruno(a)wolff.to>
Date: Mon Apr 8 08:13:09 2013 -0500
Presto is now part of yum, not a separate plugin
fedora-live-kde.ks | 3 ---
fedora-livecd-kde.ks | 3 ---
fedora-livecd-security.ks | 1 -
3 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/fedora-live-kde.ks b/fedora-live-kde.ks
index 4c1b5af..a3517c4 100644
--- a/fedora-live-kde.ks
+++ b/fedora-live-kde.ks
@@ -62,9 +62,6 @@ octave # runtime dependency of the Cantor Octave backend
kde-l10n-*
calligra-l10n-*
-# use yum-presto by default
-yum-presto
-
## avoid serious bugs by omitting broken stuff
%end
diff --git a/fedora-livecd-kde.ks b/fedora-livecd-kde.ks
index b613362..4773f22 100644
--- a/fedora-livecd-kde.ks
+++ b/fedora-livecd-kde.ks
@@ -41,9 +41,6 @@ liveusb-creator
-kdegames
kdegames-minimal
-# use yum-presto by default
-yum-presto
-
### space issues
# fonts (we make no bones about admitting we're english-only)
diff --git a/fedora-livecd-security.ks b/fedora-livecd-security.ks
index 68c301b..4eb3acd 100644
--- a/fedora-livecd-security.ks
+++ b/fedora-livecd-security.ks
@@ -103,7 +103,6 @@ metacity
powertop
wget
yum-utils
-yum-presto
# dictionaries are big
-aspell-*
11 years
[spin-kickstarts] Presto is now part of yum, not a separate plugin
by Bruno Wolff III
commit 71a28f4d04f6e8fa89ed78eb1f68b878285133a5
Author: Bruno Wolff III <bruno(a)wolff.to>
Date: Mon Apr 8 08:13:09 2013 -0500
Presto is now part of yum, not a separate plugin
fedora-live-kde.ks | 3 ---
fedora-livecd-kde.ks | 3 ---
fedora-livecd-security.ks | 1 -
3 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/fedora-live-kde.ks b/fedora-live-kde.ks
index 4c1b5af..a3517c4 100644
--- a/fedora-live-kde.ks
+++ b/fedora-live-kde.ks
@@ -62,9 +62,6 @@ octave # runtime dependency of the Cantor Octave backend
kde-l10n-*
calligra-l10n-*
-# use yum-presto by default
-yum-presto
-
## avoid serious bugs by omitting broken stuff
%end
diff --git a/fedora-livecd-kde.ks b/fedora-livecd-kde.ks
index b613362..4773f22 100644
--- a/fedora-livecd-kde.ks
+++ b/fedora-livecd-kde.ks
@@ -41,9 +41,6 @@ liveusb-creator
-kdegames
kdegames-minimal
-# use yum-presto by default
-yum-presto
-
### space issues
# fonts (we make no bones about admitting we're english-only)
diff --git a/fedora-livecd-security.ks b/fedora-livecd-security.ks
index 68c301b..4eb3acd 100644
--- a/fedora-livecd-security.ks
+++ b/fedora-livecd-security.ks
@@ -103,7 +103,6 @@ metacity
powertop
wget
yum-utils
-yum-presto
# dictionaries are big
-aspell-*
11 years