aboutsummaryrefslogtreecommitdiff
diff options
from:
to:
context:
space:
mode:
authorGravatar Neal Gompa <ngompa@fedoraproject.org> 2025-12-14 19:43:53 -0500
committerGravatar Neal Gompa <ngompa@fedoraproject.org> 2025-12-14 19:43:53 -0500
commite29d4d2f8fa184231a56f85babde756889e73193 (patch)
treed906076fa34448862798ab76b4480192bcc6ad79
parent9125ea449bb6eb2a58d05246a4d4316607864e71 (diff)
downloadkiwi-descriptions-e29d4d2f8fa184231a56f85babde756889e73193.tar.gz
kiwi-descriptions-e29d4d2f8fa184231a56f85babde756889e73193.zip
Add initial definitions for the Design Suite lab
These are ported over from fedora-kickstarts with some small cleanups.
-rw-r--r--Fedora.kiwi1
-rwxr-xr-xconfig.sh59
-rw-r--r--teams/designsuite.xml32
3 files changed, 92 insertions, 0 deletions
diff --git a/Fedora.kiwi b/Fedora.kiwi
index 6238822..045b8de 100644
--- a/Fedora.kiwi
+++ b/Fedora.kiwi
@@ -58,6 +58,7 @@
<include from="this://./teams/scitech.xml"/>
<include from="this://./teams/phosh.xml"/>
<include from="this://./teams/astronomy.xml"/>
+ <include from="this://./teams/designsuite.xml"/>
<packages type="bootstrap">
<package name="filesystem"/>
</packages>
diff --git a/config.sh b/config.sh
index ec21db4..5945269 100755
--- a/config.sh
+++ b/config.sh
@@ -296,6 +296,65 @@ if [[ "$kiwi_profiles" == *"Container"* ]] || [[ "$kiwi_profiles" == *"FEX"* ]];
fi
fi
+if [[ "$kiwi_profiles" == *"Design_suite"* ]]; then
+# Add link to lists of tutorials
+cat >> /usr/share/applications/list-design-tutorials.desktop << FOE
+[Desktop Entry]
+Name=List of design tutorials
+GenericName=List of Tutorials for Designers
+Comment=Reference of Design Related Tutorials
+Exec=xdg-open https://fedoraproject.org/wiki/Design_Suite/Tutorials
+Type=Application
+Icon=applications-graphics
+Categories=Graphics;Documentation;
+FOE
+chmod a+x /usr/share/applications/list-design-tutorials.desktop
+
+# Add information about Fedora Design Suite
+cat >> /usr/share/applications/fedora-design-suite.desktop << FOE
+[Desktop Entry]
+Name=Design Suite Info
+GenericName=About Design Suite
+Comment=Wiki page of Design Suite
+Exec=xdg-open https://fedoraproject.org/wiki/Design_Suite
+Type=Application
+Icon=applications-internet
+Categories=Documentation;
+FOE
+chmod a+x /usr/share/applications/fedora-design-suite.desktop
+
+# Add information about Fedora Design Team
+cat >> /usr/share/applications/fedora-design-team.desktop << FOE
+[Desktop Entry]
+Name=Design Team Info
+GenericName=About Design Team
+Comment=Wiki page of Design Team
+Exec=xdg-open https://fedoraproject.org/wiki/Design
+Type=Application
+Icon=applications-internet
+Categories=Documentation;
+FOE
+chmod a+x /usr/share/applications/fedora-design-team.desktop
+
+# Use Powerline in bash
+cat >> $HOME/.bashrc << FOE
+# Enable powerline daemon
+if [ -f `which powerline-daemon` ]; then
+ powerline-daemon -q
+ POWERLINE_BASH_CONTINUATION=1
+ POWERLINE_BASH_SELECT=1
+ . /usr/share/powerline/bash/powerline.sh
+fi
+FOE
+# End powerline override
+
+#Override the favorite desktop application in Dash
+sed -i "s/favorite-apps=."'*'"/favorite-apps=['org.mozilla.firefox.desktop', 'shotwell.desktop', 'gimp.desktop', 'darktable.desktop','krita.desktop', 'inkscape.desktop', 'blender.desktop', 'libreoffice-writer.desktop', 'scribus.desktop', 'pitivi.desktop', 'nautilus.desktop', 'bijiben.desktop', 'anaconda.desktop', 'list-design-tutorials.desktop']/" /usr/libexec/liveys/sessions.d/livesys-gnome
+
+# rebuild schema cache with any overrides we installed
+glib-compile-schemas /usr/share/glib-2.0/schemas
+fi
+
if [[ "$kiwi_profiles" == *"SoaS"* ]]; then
# Get proper release naming in the control panel
cat >> /boot/olpc_build << EOF
diff --git a/teams/designsuite.xml b/teams/designsuite.xml
new file mode 100644
index 0000000..4a146ad
--- /dev/null
+++ b/teams/designsuite.xml
@@ -0,0 +1,32 @@
+<image>
+ <profiles>
+ <profile name="DesignSuiteDesktop" description="Desktop packages for Design Suite">
+ <requires profile="GNOME-Desktop"/>
+ </profile>
+ <profile name="Design_suite-Live" description="Design Suite Lab Live DVD">
+ <requires profile="DesignSuiteDesktop"/>
+ <requires profile="LiveInstall"/>
+ </profile>
+ <profile name="Design_suite-Disk" description="Design Suite Lab Install Disk">
+ <requires profile="DesignSuiteDesktop"/>
+ <requires profile="BootDiskCore"/>
+ </profile>
+ </profiles>
+ <packages type="bootstrap" patternType="plusRecommended" profiles="DesignSuiteDesktop">
+ <package name="fedora-release-designsuite"/>
+ </packages>
+ <packages type="image" patternType="plusRecommended" profiles="DesignSuiteDesktop">
+ <namedCollection name="design-suite"/>
+ <!-- Provides backup application (blocked by Workstation exclude of python3-boto3) -->
+ <!-- <package name="deja-dup"/> -->
+ <!-- Add extra gnome applications -->
+ <package name="gnome-calendar"/>
+ <package name="gnome-pomodoro"/>
+ <package name="gnome-todo"/>
+ <!-- Add cosmetic for terminal -->
+ <package name="powerline"/>
+ <package name="powerline-fonts"/>
+ <!-- Removal of unneeded applications -->
+ <ignore name="gnome-boxes"/>
+ </packages>
+</image>