[neon/3rdparty/sddm/Neon/release] debian: drop all the debian themes for the time being

Carlos De Maine null at kde.org
Sun May 12 10:28:00 BST 2024


Git commit 9c9421313bd00aa06527ba015b4ecb2ceb2f474b by Carlos De Maine.
Committed on 12/05/2024 at 09:27.
Pushed by carlosdem into branch 'Neon/release'.

drop all the debian themes for the time being

D  +0    -153  debian/patches/05_add_debian_themes.diff
D  +0    -8    debian/sddm-theme-debian-elarun.install
D  +0    -13   debian/sddm-theme-debian-elarun.postinst
D  +0    -12   debian/sddm-theme-debian-elarun.prerm
D  +0    -10   debian/sddm-theme-debian-maui.install
D  +0    -13   debian/sddm-theme-debian-maui.postinst
D  +0    -12   debian/sddm-theme-debian-maui.prerm

https://invent.kde.org/neon/3rdparty/sddm/-/commit/9c9421313bd00aa06527ba015b4ecb2ceb2f474b

diff --git a/debian/patches/05_add_debian_themes.diff b/debian/patches/05_add_debian_themes.diff
deleted file mode 100644
index fe7224d..0000000
--- a/debian/patches/05_add_debian_themes.diff
+++ /dev/null
@@ -1,153 +0,0 @@
-From: Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>
-Date: Mon, 27 Feb 2017 14:58:13 +0100
-Subject: _add_debian_themes
-
-===================================================================
----
- data/themes/CMakeLists.txt                 | 27 ++++++++++++++--
- data/themes/debian-elarun/README           |  9 ++++++
- data/themes/debian-elarun/metadata.desktop | 49 ++++++++++++++++++++++++++++++
- data/themes/debian-elarun/theme.conf       |  2 ++
- data/themes/debian-maui/README             |  5 +++
- data/themes/debian-maui/metadata.desktop   | 16 ++++++++++
- data/themes/debian-maui/theme.conf         |  2 ++
- 7 files changed, 108 insertions(+), 2 deletions(-)
- create mode 100644 data/themes/debian-elarun/README
- create mode 100644 data/themes/debian-elarun/metadata.desktop
- create mode 100644 data/themes/debian-elarun/theme.conf
- create mode 100644 data/themes/debian-maui/README
- create mode 100644 data/themes/debian-maui/metadata.desktop
- create mode 100644 data/themes/debian-maui/theme.conf
-
---- a/data/themes/CMakeLists.txt
-+++ b/data/themes/CMakeLists.txt
-@@ -1,4 +1,27 @@
--set(THEMES elarun maldives maya)
-+# Copy Maui to have it available as an external (non-embedded) theme
-+file(COPY "../../src/greeter/theme/" DESTINATION "${CMAKE_CURRENT_SOURCE_DIR}/maui")
-+
-+# Copy Main.qml and image resources from upstream Maui to debian-maui
-+file(COPY "../../src/greeter/theme/Main.qml" DESTINATION "${CMAKE_CURRENT_SOURCE_DIR}/debian-maui")
-+file(GLOB MAUI_PNGS "../../src/greeter/theme/*.png")
-+foreach(MAUI_PNG ${MAUI_PNGS})
-+    file(COPY "${MAUI_PNG}" DESTINATION "${CMAKE_CURRENT_SOURCE_DIR}/debian-maui")
-+endforeach(MAUI_PNG)
-+# Replace default background source by config key config.background
-+set(SED_EXPR "s=^\\([[:space:]]*source[[:space:]]*:[[:space:]]\\)\\\"qrc:/theme/background.png\\\"[[:space:]]*$=\\1config.background=")
-+execute_process(COMMAND sed -i -e "${SED_EXPR}" "${CMAKE_CURRENT_SOURCE_DIR}/debian-maui/Main.qml" RESULT_VARIABLE RES OUTPUT_VARIABLE OUT)
-+message("Result of sed replacement for Maui's background source: (Res: ${RES}, Out: ${OUT})")
-+
-+# Copy selected files from upstream Elarun to debian-elarun
-+file(COPY "elarun/Main.qml" DESTINATION "${CMAKE_CURRENT_SOURCE_DIR}/debian-elarun")
-+file(COPY "elarun/angle-down.png" DESTINATION "${CMAKE_CURRENT_SOURCE_DIR}/debian-elarun")
-+file(COPY "elarun/elarun.jpg" DESTINATION "${CMAKE_CURRENT_SOURCE_DIR}/debian-elarun")
-+file(GLOB ELARUN_IMGS "elarun/images/*")
-+foreach(ELARUN_IMG ${ELARUN_IMGS})
-+    file(COPY "${ELARUN_IMG}" DESTINATION "${CMAKE_CURRENT_SOURCE_DIR}/debian-elarun/images/")
-+endforeach(ELARUN_IMG)
-+
-+set(THEMES elarun maldives maya maui debian-maui debian-elarun)
- 
- foreach(THEME ${THEMES})
-     # We assume that theme-specific translations are stored
---- /dev/null
-+++ b/data/themes/debian-elarun/README
-@@ -0,0 +1,9 @@
-+This theme is based on the KDM Elarun theme, ported to SDDM theme.
-+It was adapted to use the active Debian theme pack.
-+Thanks to these people for their great works.
-+Not all functionality from original theme are ported.
-+
-+Original KDM theme:
-+Author=Roman Shtylman & Nuno Pinheiro
-+Copyright=GPL 2010 Roman Shtylman | nuno at oxygen-icons.org, 2012 Nuno Pineheiro
-+License=GPL
---- /dev/null
-+++ b/data/themes/debian-elarun/metadata.desktop
-@@ -0,0 +1,49 @@
-+[SddmGreeterTheme]
-+Name=Debian Elarun
-+Name[ca]=Debian Elarun
-+Name[da]=Debian Elarun
-+Name[de]=Debian Elarun
-+Name[el]=Debian Elarun
-+Name[es]=Debian Elarun
-+Name[et]=Debian Elarun
-+Name[fi]=Debian Elarun
-+Name[ga]=Debian Elarun
-+Name[gl]=Debian Elarun
-+Name[hu]=Debian Elarun
-+Name[ia]=Debian Elarun
-+Name[kk]=Debian Еларун
-+Name[ko]=Debian Elarun
-+Name[mr]=Debian एलारन
-+Name[nb]=Debian Elarun
-+Name[nl]=Debian Elarun
-+Name[pl]=Debian Elarun
-+Name[pt]=Debian Elarun
-+Name[pt_BR]=Debian Elarun
-+Name[ro]=Debian Elarun
-+Name[ru]=Debian Эларан
-+Name[sk]=Debian Elarun
-+Name[sl]=Debian Elarun
-+Name[sr]=Debian Еларун
-+Name[sr at ijekavian]=Еларун
-+Name[sr at ijekavianlatin]=Debian Elarun
-+Name[sr at latin]=Debian Elarun
-+Name[sv]=Debian Elarun
-+Name[uk]=Debian Еларан
-+Name[x-test]=xxDebian Elarunxx
-+Name[zh_CN]=Debian Elarun
-+Name[zh_TW]=Debian Elarun
-+
-+Description=Elarun KDM theme ported to SDDM and adapted to use the active Debian theme. \nThe original theme is based on work of Roman Shtylman & Nuno Pinheiro
-+Type=sddm-theme
-+Author=Reza Fatahilah Shah
-+Copyright=(c) 2013, Reza Fatahilah Shah
-+Screenshot=elarun.jpg
-+License=GPL
-+Version=0.1
-+MainScript=Main.qml
-+ConfigFile=theme.conf
-+TranslationsDirectory=translations
-+Theme-Id=debian-elarun
-+Theme-API=${COMPONENTS_VERSION}
-+Website=https://github.com/sddm/sddm
-+
---- /dev/null
-+++ b/data/themes/debian-elarun/theme.conf
-@@ -0,0 +1,2 @@
-+[General]
-+background=/usr/share/desktop-base/active-theme/login/background.svg
---- /dev/null
-+++ b/data/themes/debian-maui/README
-@@ -0,0 +1,5 @@
-+This theme is an adaptation of the original Maui theme from upstream SDDM for
-+Debian to use the active desktop-base theme.
-+
-+Check the src/greeter/theme folder from the SDDM source for more information.
-+
---- /dev/null
-+++ b/data/themes/debian-maui/metadata.desktop
-@@ -0,0 +1,16 @@
-+[SddmGreeterTheme]
-+Name=Debian Maui
-+Description=Maui Theme for Debian
-+Author=Abdurrahman AVCI
-+Copyright=(c) 2013, Abdurrahman AVCI
-+License=CC-BY-SA
-+Type=sddm-theme
-+Version=0.1
-+Website=https://github.com/sddm/sddm
-+Screenshot=maui.jpg
-+MainScript=Main.qml
-+ConfigFile=theme.conf
-+TranslationsDirectory=translations
-+Email=abdurrahmanavci at gmail.com
-+Theme-Id=maui
-+Theme-API=${COMPONENTS_VERSION}
---- /dev/null
-+++ b/data/themes/debian-maui/theme.conf
-@@ -0,0 +1,2 @@
-+[General]
-+background=/usr/share/desktop-base/active-theme/login/background-nologo.svg
diff --git a/debian/sddm-theme-debian-elarun.install b/debian/sddm-theme-debian-elarun.install
deleted file mode 100644
index c93ef1e..0000000
--- a/debian/sddm-theme-debian-elarun.install
+++ /dev/null
@@ -1,8 +0,0 @@
-usr/share/sddm/themes/debian-elarun/images/*
-usr/share/sddm/themes/debian-elarun/angle-down.png
-usr/share/sddm/themes/debian-elarun/elarun.jpg
-usr/share/sddm/themes/debian-elarun/Main.qml
-usr/share/sddm/themes/debian-elarun/metadata.desktop
-usr/share/sddm/themes/debian-elarun/README usr/share/doc/sddm-theme-debian-elarun/
-usr/share/sddm/themes/debian-elarun/theme.conf
-
diff --git a/debian/sddm-theme-debian-elarun.postinst b/debian/sddm-theme-debian-elarun.postinst
deleted file mode 100644
index dbb20b3..0000000
--- a/debian/sddm-theme-debian-elarun.postinst
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-set -e
-
-if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-remove" ]; then
-    update-alternatives --install \
-        /usr/share/sddm/themes/debian-theme \
-        sddm-debian-theme \
-        /usr/share/sddm/themes/debian-elarun 50
-fi
-
-# Tag to allow some debhelper commands to inject relevant code
-#DEBHELPER#
-
diff --git a/debian/sddm-theme-debian-elarun.prerm b/debian/sddm-theme-debian-elarun.prerm
deleted file mode 100644
index eb7c94f..0000000
--- a/debian/sddm-theme-debian-elarun.prerm
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-set -e
-
-if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
-    update-alternatives --remove \
-        sddm-debian-theme \
-        /usr/share/sddm/themes/debian-elarun
-fi
-
-# Tag to allow some debhelper commands to inject relevant code
-#DEBHELPER#
-
diff --git a/debian/sddm-theme-debian-maui.install b/debian/sddm-theme-debian-maui.install
deleted file mode 100644
index 76a9826..0000000
--- a/debian/sddm-theme-debian-maui.install
+++ /dev/null
@@ -1,10 +0,0 @@
-usr/share/sddm/themes/debian-maui/angle-down.png
-usr/share/sddm/themes/debian-maui/angle-left.png
-usr/share/sddm/themes/debian-maui/angle-right.png
-usr/share/sddm/themes/debian-maui/background.png
-usr/share/sddm/themes/debian-maui/Main.qml
-usr/share/sddm/themes/debian-maui/metadata.desktop
-usr/share/sddm/themes/debian-maui/README usr/share/doc/sddm-theme-debian-maui/
-usr/share/sddm/themes/debian-maui/reboot.png
-usr/share/sddm/themes/debian-maui/shutdown.png
-usr/share/sddm/themes/debian-maui/theme.conf
diff --git a/debian/sddm-theme-debian-maui.postinst b/debian/sddm-theme-debian-maui.postinst
deleted file mode 100644
index f0d1056..0000000
--- a/debian/sddm-theme-debian-maui.postinst
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-set -e
-
-if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-remove" ]; then
-    update-alternatives --install \
-        /usr/share/sddm/themes/debian-theme \
-        sddm-debian-theme \
-        /usr/share/sddm/themes/debian-maui 40
-fi
-
-# Tag to allow some debhelper commands to inject relevant code
-#DEBHELPER#
-
diff --git a/debian/sddm-theme-debian-maui.prerm b/debian/sddm-theme-debian-maui.prerm
deleted file mode 100644
index 723a74c..0000000
--- a/debian/sddm-theme-debian-maui.prerm
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-set -e
-
-if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
-    update-alternatives --remove \
-        sddm-debian-theme \
-        /usr/share/sddm/themes/debian-maui
-fi
-
-# Tag to allow some debhelper commands to inject relevant code
-#DEBHELPER#
-


More information about the Neon-commits mailing list