From c0224efaa1a553545d6254513a6085fee1230b59 Mon Sep 17 00:00:00 2001 From: gregory guy Date: Fri, 7 Feb 2020 13:14:03 +0100 Subject: Drop automake build support. Add basic cmake build instructions. Delete empty files NEWS, TODO and ChangeLog. Rework of files README and THEMEOPTIONS. Add file README-fr. Signed-off-by: gregory guy (cherry picked from commit c3e3ea8f7b906428a69dd268988791d97c810f5a) --- src/Makefile.am | 19 ---------- src/doc/README-fr | 87 ++++++++++++++++++++++++++++++++++++++++++++ src/doc/THEMEOPTIONS | 100 +++++++++++++++++++++++++++++++-------------------- 3 files changed, 148 insertions(+), 58 deletions(-) delete mode 100644 src/Makefile.am create mode 100644 src/doc/README-fr (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am deleted file mode 100644 index 80a0d8f..0000000 --- a/src/Makefile.am +++ /dev/null @@ -1,19 +0,0 @@ -INCLUDES = $(all_includes) -I$(kde_includes)/ksplash - -kde_module_LTLIBRARIES = ksplashmoodin.la - -ksplashmoodin_la_SOURCES = thememoodin.cpp effectwidget.cpp cache.cpp magiclabel.cpp scaler.cpp -ksplashmoodin_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -module $(KDE_PLUGIN) $(LIB_QT) $(LIB_TDECORE) -ltdefx -ksplashmoodin_la_LIBADD = $(LIB_TDEUI) -lksplashthemes - -METASOURCES = AUTO - -noinst_HEADERS = thememoodin.h effectwidget.h cache.h magiclabel.h scaler.h - -servicesdir = $(kde_servicesdir) -services_DATA = ksplashmoodin.desktop - -themeMoodinKDEdir = $(kde_datadir)/ksplash/Themes/MoodinKDE -themeMoodinKDE_DATA = themes/MoodinKDE/* -themeFingerPrintdir = $(kde_datadir)/ksplash/Themes/FingerPrint -themeFingerPrint_DATA = themes/FingerPrint/* diff --git a/src/doc/README-fr b/src/doc/README-fr new file mode 100644 index 0000000..e5f0041 --- /dev/null +++ b/src/doc/README-fr @@ -0,0 +1,87 @@ +Va chercher bonheur ici: + +- https://dawidlinux.pagesperso-orange.fr/libres_fichiers/tuto-ksplash.html + + +Un "ksplash" est un écran de démarrage pour KDE. +Pour charger un ksplash, on utilise tout simplement le panneau de +configuration de KDE : kcontrol (voir la figure ci-contre). + + +Les "ksplashes" se présentent sous la forme d'une archive tgz contenant: + + +les fichiers +============ + +- Preview.png : une prévisualisation de l'écran KDE. + C'est cette image qui apparaît dans la rubrique de + kcontrol et qui permet de faire son choix. + +- splash_active_bar.png et splash_inactive_bar.png : des barres d'icônes + qui apparaissent en bas de l'image principale. + +- splash_top.png : l'image principale. + +- splash_bottom.png : une petite bande qui apparaît en bas du ksplash. + +- Theme.rc : un fichier texte de configuration du ksplash. + +Pour créer un ksplash, il suffit de reproduire cette structure. + + +les images +========== + +Il n'y a pas de contrainte particulière pour l'image Preview.png. + +L'image splash_top.png doit avoir une largeur de 400 pixels. Sa hauteur +est libre. + +L'image splash_active_bar.png se compose d'une bande de 7 icônes, +d'une longueur totale de 400 pixels (ce qui donne ~ 57 pixels par icône). + +On obtient l'image splash_inactive_bar.png en modifiant l'image +précédente avec Gimp. + +Il n'y a pas de contrainte sur l'image splash_bottom.png à part sa +largeur qui doit être de 400 pixels. + + +fichier de configuration: Theme.rc +================================== + +- fratales : c'est le nom du ksplash. Il faut obligatoirement que + l'archive tgz porte le même nom. + +- Engine : Avec l'option « Default », on crée un ksplash tel que défini + plus haut. Les autres options sont « Redmond » et « Standard ». + +- Icons Flashing : réglé à « true » améliore l'animation. + +NB: Il est possible de faire apparaître un messages. + + +Exemple : Theme.rc +================== + +[KSplash Theme: fractales] +Name = Fratal theme +Description = Fratales KDE theme realise avec les logiciels libres Xaos et Gimp. +Version = 1.0 +Author = Dawid +Homepage = http://perso.wanadoo.fr/dawidlinux/libre.html + +# Theme behavior settings. +Engine = Default + +# Should icons blink ala KDE, or not? +Icons Flashing = true + +# Configurable Messages. You may specify messages in as many +# languages as you prefer. Messages may be copied verbatim from +# this file, if you wish to maintain the default settings. +Message1 = Pas mal non ? +#Message1[es] = Por favor espere, iniciando KDE... +#Message2 = Loading... +#Message2[es] = Cargando.. diff --git a/src/doc/THEMEOPTIONS b/src/doc/THEMEOPTIONS index 2ca2309..cde54d9 100644 --- a/src/doc/THEMEOPTIONS +++ b/src/doc/THEMEOPTIONS @@ -5,42 +5,64 @@ Theme.rc Options Type Default X ^= Number from 1 to 8 (Labels are limited by "Labels" option) -- General -Background Search order: .png, Background-x.png, Background.png -UsersBackground false (use the wallpaper of the current desktop) -BaseResolution 1280x1024 (the resolution was designed in -> NECCESSARY for auto scaling) -SplashRect screen size (sullscreen) - -- Labels -Labels 0 -LabelX X = No. (Use ML: as prefix for magiclabels, i.e.: ML:loginname (case insensetive)) -LabelColorX ffffff -LabelFontX Trebuchet MS (i.e.: Arial,14,-1,0,5,50,0) -LabelCoordsX centered -StatusMessageX passed by ksplash -StatusColor ffffff (White) -StatusFont Trebuchet MS -StatusPosition 50,50 -LabelShadow true -LabelShadowColor 6d6d6d (dark gray) -LabelShadowOffset 2,2 -ShowStatusText true -Translate true (i18n i.e.: Welcome (en) -> Willkommen (de)) - -- Images -AnimationLength 30 (fading steps) -AnimationDelay 30 (delay between steps in milliseconds) -BeginOpacity 0.2 (value between 0 an 1) -UseIconSet true (use current icon set instead of 1.png, 2.png, ... (see below)) -IconSetSize 48 (size of icons) -ImageX if UseIconSet is true, you can override single icons (or all) by just giving - their name. they need not to be in the theme directory! - if UseIconSet is false, the engine searches for 1.png to 8.png by default - but you can also override the image names - -- Image Arrangement (currently a little hard to explain, just play :)) -AppendX true => horizontal (follow direction type) X is not a number here! -ImageSpacer if UseIconSet its IconSetSize otherwise 0 (used for auto arrangement with AppendX and -1 values) -ImageCoordsX -1,-1 (center vert. and horiz.) -ImageOffset 0,0 (move images i.e. if they have unknown positions (have a look at MoodinKDE) -LineUpImages false (if true, icons are aligned center (See MoodinKDE)) +General +======= + +- Background Search order: .png, Background-x.png, Background.png +- UsersBackground false (use the wallpaper of the current desktop) +- BaseResolution 1280x1024 (the resolution was designed in -> NECCESSARY for auto scaling) +- SplashRect screen size (sullscreen) + + +Labels +====== + +- Labels 0 +- LabelX X = No. (Use ML: as prefix for magiclabels, i.e.: ML:loginname (case insensetive)) +- LabelColorX ffffff +- LabelFontX Trebuchet MS (i.e.: Arial,14,-1,0,5,50,0) +- LabelCoordsX centered +- StatusMessageX passed by ksplash +- StatusColor ffffff (White) +- StatusFont Trebuchet MS +- StatusPosition 50,50 +- LabelShadow true +- LabelShadowColor 6d6d6d (dark gray) +- LabelShadowOffset 2,2 +- ShowStatusText true +- Translate true (i18n i.e.: Welcome (en) -> Willkommen (de)) + + +Images +====== + +- AnimationLength 30 (fading steps) +- AnimationDelay 30 (delay between steps in milliseconds) +- BeginOpacity 0.2 (value between 0 an 1) +- UseIconSet true (use current icon set instead of 1.png, 2.png, ... (see below)) +- IconSetSize 48 (size of icons) +- ImageX if UseIconSet is true, you can override single icons (or all) by just giving + their name. they need not to be in the theme directory! + if UseIconSet is false, the engine searches for 1.png to 8.png by default + but you can also override the image names +- ImageWidth 100 (width of each icon/image) +- ImageHeight 100 (height of each icon/image) + + +Image Arrangement (currently a little hard to explain, just play) +================= + +- AppendX true => horizontal (follow direction type) X is not a number here! +- ImageSpacer if UseIconSet its IconSetSize otherwise 0 (used for auto arrangement with AppendX and -1 values) +- ImageCoordsX -1,-1 (center vert. and horiz.) +- ImageOffset 0,0 (move images i.e. if they have unknown positions (have a look at MoodinKDE) +- LineUpImages false (if true, icons are aligned center (See MoodinKDE)) + + +Text +==== + +- WelcomeText EG: i18n("Welcome") +- WelcomeFont EG: Trebuchet MS +- StatusFont EG: Trebuchet MS +- TextColor EG: ffffff (White) -- cgit v1.2.1