create openmamba look-and-feel theme [release 5.25.1-2mamba;Sat Jun 25 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 10:19:29 +01:00
parent b8a8d521dd
commit 712a0f2536
2 changed files with 86 additions and 9 deletions

45
openmamba.desktop Normal file
View File

@ -0,0 +1,45 @@
[Desktop Entry]
Name=openmamba
Comment=openmamba theme for KDE
Encoding=UTF-8
Keywords=Desktop;Workspace;Appearance;Look and Feel;Logout;Lock;Suspend;Shutdown;Hibernate;
Keywords[ca]=Escriptori;Espai de treball;Aparença;Aparença i comportament;Sortida;Bloqueig;Suspensió;Aturada;Hibernació;
Keywords[de]=Desktop;Arbeitsfläche;Erscheinungsbild;Erscheinungsbild und Verhalten;Abmelden;Sperren;Ruhezustand;Tiefschlaf;Herunterfahren;
Keywords[el]=Επιφάνεια εργασίας;Χώρος εργασίας; Εμφάνιση;Όψη και Αίσθηση;Αποσύνδεση;Κλείδωμα;Αναστολή;Τερματισμός;Νάρκη;
Keywords[en_GB]=Desktop;Workspace;Appearance;Look and Feel;Logout;Lock;Suspend;Shutdown;Hibernate;
Keywords[es]=Escritorio;Espacio de trabajo;Apariencia;Aspecto visual;Cerrar sesión;Bloquear;Suspender;Apagar;Hibernar;
Keywords[fi]=Desktop;Workspace;Appearance;Look and Feel;Logout;Lock;Suspend;Shutdown;Hibernate;Työpöytä;Työtila;Ulkoasu;Ulkoasu ja tuntuma;Kirjaudu ulos;Lukitse;Valmiustila;Sammuta;Lepotila;
Keywords[gl]=Escritorio;Espazo de traballo;Aparencia;Aparencia e Comportamento;Saír;Trancar;Bloquear;Suspender;Apagar;Hibernar
Keywords[hu]=Asztal;Munkaterület;Megjelenés;Kinézet;Kijelentkezés;Zárolás;Felfüggesztés;Leállítás;Hibernálás
Keywords[id]=Desktop;Ruang Kerja;Tampilan;Tampilan dan Rasa;Keluar;Kunci;Suspensi;Matikan;Hibernasi;
Keywords[it]=desktop;spazio di lavoro;aspetto;uscita;blocco;sospensione;spegnimento;ibernazione;
Keywords[ko]=Desktop;Workspace;Appearance;Look and Feel;Logout;Lock;Suspend;Shutdown;Hibernate;;;;;;;;;
Keywords[nl]=Bureaublad;Werkruimte;Uiterlijk;Uiterlijk en gedrag;Afmelden;Vergrendelen;Onderbreken;Afsluiten;Slapen naar schijf;
Keywords[pl]=Pulpit;Przestrzeń robocza;Wygląd;Wygląd i Odczucia;Wylogowanie;Zablokowanie ;Wstrzymanie;Zamknięcie;Hibernowanie;Wrażenia;
Keywords[pt]=Ecrã;Área de Trabalho;Aparência;Aparência e Comportamento;Encerrar;Bloquear;Suspender;Desligar;Hibernar;
Keywords[pt_BR]=Área de trabalho;Espaço de trabalho;Aparência;Aparência e Comportamento;Encerrar sessão;Bloquear;Suspender;Desligar;Hibernar;
Keywords[ru]=Desktop;Workspace;Appearance;Look and Feel;Logout;Lock;Suspend;Shutdown;Hibernate;рабочий стол;рабочая среда;внешний вид;визуальное представление;выход;завершение сеанса;блокировка;приостановка работы;завершение работы;выключение;спящий режим;ждущий режим;
Keywords[sk]=Plocha;pracovná plocha;vzhľad;nastavenie;odhlásenie;zamknutie;uspanie;vypnutie;hibernácia;
Keywords[sl]=Namizje;delovni prostor;videz;videz in občutek;odjava;zaklep;pripravljenost;izklop;mirovanje;
Keywords[sr]=Desktop;Workspace;Appearance;Look and Feel;Logout;Lock;Suspend;Shutdown;Hibernate;површ;радни простор;изглед;осећај;одјављивање;закључавање;суспендовање;гашење;хибернисање;
Keywords[sr@ijekavian]=Desktop;Workspace;Appearance;Look and Feel;Logout;Lock;Suspend;Shutdown;Hibernate;површ;радни простор;изглед;осећај;одјављивање;закључавање;суспендовање;гашење;хибернисање;
Keywords[sr@ijekavianlatin]=Desktop;Workspace;Appearance;Look and Feel;Logout;Lock;Suspend;Shutdown;Hibernate;površ;radni prostor;izgled;osećaj;odjavljivanje;zaključavanje;suspendovanje;gašenje;hibernisanje;
Keywords[sr@latin]=Desktop;Workspace;Appearance;Look and Feel;Logout;Lock;Suspend;Shutdown;Hibernate;površ;radni prostor;izgled;osećaj;odjavljivanje;zaključavanje;suspendovanje;gašenje;hibernisanje;
Keywords[sv]=Skrivbord;Arbetsrymd;Utseende;Utseende och känsla;Utloggning;Lås;Viloläge;Avstängning;Dvala;
Keywords[tr]=Masaüstü;Çalışma Alanı;Görünüm;Görünüm ve Doku;Çık;Kilitle;Askıya Al;Kapat;Uyku;
Keywords[uk]=Desktop;Workspace;Appearance;Look and Feel;Logout;Lock;Suspend;Shutdown;Hibernate;стільниця;робочий простір;воркспейс;вигляд;вигляд і поведінка;вихід;вийти;заблокувати;замкнути;призупинити;вимкнути;приспати;
Keywords[x-test]=xxDesktopxx;xxWorkspacexx;xxAppearancexx;xxLook and Feelxx;xxLogoutxx;xxLockxx;xxSuspendxx;xxShutdownxx;xxHibernatexx;
Keywords[zh_CN]=Desktop;Workspace;Appearance;Look and Feel;Logout;Lock;Suspend;Shutdown;Hibernate;;;;;;;;;;
Keywords[zh_TW]=Desktop;Workspace;Appearance;Look and Feel;Logout;Lock;Suspend;Shutdown;Hibernate;
Type=Service
X-KDE-ServiceTypes=Plasma/LookAndFeel
X-KDE-ParentApp=
X-KDE-PluginInfo-Author=Silvan Calarco
X-KDE-PluginInfo-Category=
X-KDE-PluginInfo-Email=info@openmamba.org
X-KDE-PluginInfo-License=GPLv2+
X-KDE-PluginInfo-Name=org.openmamba.light.desktop
X-KDE-PluginInfo-Version=1.0
X-KDE-PluginInfo-Website=openmamba.org
X-Plasma-MainScript=defaults

View File

@ -2,7 +2,7 @@
Name: plasma-workspace
Version: 5.25.1
Release: 1mamba
Release: 2mamba
Summary: KDE Frameworks 5 Workspace
Group: Graphical Desktop/Applications/Environment
Vendor: openmamba
@ -13,6 +13,7 @@ Source: http://download.kde.org/stable/plasma/%{plasmaver}/plasma-workspa
Source1: plasma-workspace-pam
Source2: plasma-workspace-pam-no-password
Source3: openmamba.plasma.logo.png
Source4: openmamba.desktop
Patch0: plasma-workspace-5.19.4-gpsd-3.21.patch
License: GPL
## AUTOBUILDREQ-BEGIN
@ -134,6 +135,7 @@ Requires: powerdevil
Requires: polkit-kde-agent-1
Requires: drkonqi
Requires: libkquickcharts
Requires: openmamba-icons
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: plasma-workspace-common
Obsoletes: plasma-workspace-common < 5.22.0
@ -157,13 +159,32 @@ Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%package -n plasma-lookandfeel-openmamba
Group: Graphical Desktop/Look 'n' Feel
Summary: openmamba theme for KDE Plasma
Requires: openmamba-wallpapers
%description -n plasma-lookandfeel-openmamba
openmamba theme for KDE Plasma.
%debug_package
%prep
%setup -q
#-D -T
#:<< _EOF
#%patch0 -p1
# From Fedora
# Populate initial lookandfeel package
cp -a lookandfeel lookandfeel.openmamba
# Overwrite settings to configure twilight mode
cp -a lookandfeel.twilight/* lookandfeel.openmamba
install -m 0644 %{SOURCE4} lookandfeel.openmamba/metadata.desktop
cat >> CMakeLists.txt <<EOL
plasma_install_package(lookandfeel.openmamba org.openmamba.light.desktop look-and-feel lookandfeel)
EOL
%build
#:<< _EOF
%cmake_kde5 -d build
@ -176,7 +197,7 @@ This package contains libraries and header files for developing applications tha
install -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pam.d/kde
install -D -m0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/pam.d/kde-np
install -D -m0644 %{SOURCE3} %{buildroot}%{_datadir}/ksplash/Themes/Minimalistic/kdegear.png
ln -sf %{_datadir}/pixmaps/system-logo-white.png %{buildroot}%{_datadir}/ksplash/Themes/Minimalistic/images/kdeletter.png
install -d -m0755 %{buildroot}%{_prefix}/lib/sddm/sddm.conf.d
cat > %{buildroot}%{_prefix}/lib/sddm/sddm.conf.d/plasma.conf << _EOF
@ -187,16 +208,18 @@ _EOF
%find_lang %{name}5_qt --with-qt --with-html --all-name || touch %{name}5_qt.lang
## customize plasma-lookandfeel-opemamba defaults
# from [Wallpaper] Image=Next to Image=openmambaRandom
sed -i -e 's|^Image=.*$|Image=openmambaRandom|g' \
%{buildroot}%{_datadir}/plasma/look-and-feel/org.openmamba.light.desktop/contents/defaults
sed -i "s|images/plasma.svgz|%{_datadir}/pixmaps/system-logo-white.png|" \
%{buildroot}%{_datadir}/plasma/look-and-feel/org.openmamba.light.desktop/contents/splash/Splash.qml
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name}
/sbin/ldconfig
exit 0
%postun -n lib%{name}
/sbin/ldconfig
exit 0
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -f %{name}5_qt.lang
%defattr(-,root,root)
@ -375,7 +398,16 @@ exit 0
%dir %{_libdir}/cmake/LibColorCorrect
%{_libdir}/cmake/LibColorCorrect/LibColorCorrect*.cmake
%files -n plasma-lookandfeel-openmamba
%defattr(-,root,root)
%{_datadir}/metainfo/org.openmamba.light.desktop.appdata.xml
%dir %{_datadir}/plasma/look-and-feel/org.openmamba.light.desktop
%{_datadir}/plasma/look-and-feel/org.openmamba.light.desktop/*
%changelog
* Sat Jun 25 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.25.1-2mamba
- create openmamba look-and-feel theme
* Tue Jun 21 2022 Automatic Build System <autodist@mambasoft.it> 5.25.1-1mamba
- automatic version update by autodist