From d57a2c748644c5049706ac3566eeb42d707cfa3f Mon Sep 17 00:00:00 2001 From: raveit65 Date: Fri, 30 May 2014 21:49:28 +0200 Subject: TraditionalOk GTK3: update to GTK+-3.12 --- desktop-themes/TraditionalOk/doc/LISEZ-MOI.mkd | 42 ++--- desktop-themes/TraditionalOk/doc/Makefile.am | 1 + desktop-themes/TraditionalOk/doc/README.mkd | 42 ++--- desktop-themes/TraditionalOk/doc/images.sh.txt | 207 +++++++++++++++++++++++++ desktop-themes/TraditionalOk/doc/version.txt | 2 +- 5 files changed, 237 insertions(+), 57 deletions(-) create mode 100755 desktop-themes/TraditionalOk/doc/images.sh.txt (limited to 'desktop-themes/TraditionalOk/doc') diff --git a/desktop-themes/TraditionalOk/doc/LISEZ-MOI.mkd b/desktop-themes/TraditionalOk/doc/LISEZ-MOI.mkd index a603c41e..f1b7e1c0 100644 --- a/desktop-themes/TraditionalOk/doc/LISEZ-MOI.mkd +++ b/desktop-themes/TraditionalOk/doc/LISEZ-MOI.mkd @@ -6,11 +6,11 @@ Le projet Clearlooks-Phénix (anciennement nommé Clearwaita) a pour but de cré Voici quelques captures d'écran (s'il y a lieu, cliquer pour télécharger l'image au format original): -Capture d'écran du bureau sous Gnome 3 (mode fallback) avec le thème Clearlooks-Phénix +Capture d'écran du bureau sous Gnome 3 (mode fallback) avec le thème Clearlooks-Phénix -Capture d'écran de gedit 3 avec le thème Clearlooks-Phénix +Capture d'écran de gedit 3 avec le thème Clearlooks-Phénix -Capture d'écran de GTK+ Widget Factory avec le thème Clearlooks-Phénix +Capture d'écran de GTK+ Widget Factory avec le thème Clearlooks-Phénix ## Dépendances @@ -40,11 +40,11 @@ Peu importe la méthode d'installation choisie, le thème devra être sélection - Télécharger l'archive de la version correspondant à votre situation: - - pour GTK 3.0 et 3.2: [télécharger Clearlooks-Phénix 1](http://jpfleury.indefero.net/p/clearlooks-phenix/source/download/v1/); + - pour GTK 3.0 et 3.2: [télécharger Clearlooks-Phénix 1](https://gitorious.org/projets-divers/clearlooks-phenix/archive/v1.zip); - - pour GTK 3.4: [télécharger Clearlooks-Phénix 2](http://jpfleury.indefero.net/p/clearlooks-phenix/source/download/v2/). + - pour GTK 3.4: [télécharger Clearlooks-Phénix 2](https://gitorious.org/projets-divers/clearlooks-phenix/archive/v2.zip). - - pour GTK 3.6 et versions suivantes: [télécharger Clearlooks-Phénix 3](http://jpfleury.indefero.net/p/clearlooks-phenix/source/download/master/). + - pour GTK 3.6 et versions suivantes: [télécharger Clearlooks-Phénix 3](https://gitorious.org/projets-divers/clearlooks-phenix/archive/master.zip). Pour connaître sa version de GTK: @@ -76,13 +76,13 @@ Le paquet [`clearlooks-phenix-theme`](http://packages.debian.org/sid/clearlooks- ### Gentoo -Le `ebuild` suivant peut être utilisé: +Voir le paquet suivant: - http://bbgentoo.ilb.ru/repos/bbgentoo/bbgentoo_overlay/tags/current/x11-themes/clearlooks-phenix/clearlooks-phenix-2.0.10.ebuild + http://packages.gentoo.org/package/x11-themes/clearlooks-phenix ### Ubuntu -Le paquet [`clearlooks-phenix-theme`](http://packages.ubuntu.com/quantal/clearlooks-phenix-theme) peut être installé sous Ubuntu 12.10 ou toute version ultérieure. Cependant, le paquet n'est pas à jour, et le [PPA d'Andrew Shadura](https://launchpad.net/~andrewshadoura/+archive/clearlooks-phenix) peut être utilisé à la place. +Le paquet [`clearlooks-phenix-theme`](http://packages.ubuntu.com/search?keywords=clearlooks-phenix-theme) peut être installé sous Ubuntu 12.10 ou toute version ultérieure. ## Configuration @@ -110,15 +110,7 @@ Le thème d'icônes utilisé dans la même capture d'écran est Mist, installé - sous Xfce: en allant dans *Paramètres > Apparence > Icônes* du menu principal. -Aussi, des jeux de couleurs ont été réalisés par DDZ pour s'agencer avec Clearlooks-Phénix: - -- [Gnome-Colors-Clearlooks](http://opendesktop.org/content/show.php?content=151907), jeu de couleurs pour le thème d'icônes Gnome-Colors; - -- [Humanities-Clearlooks](http://opendesktop.org/content/show.php?content=151908), jeu de couleurs pour le thème d'icônes Humanities. - -- [KDE3-Clearlooks-Colors](http://opendesktop.org/content/show.php?content=151994), jeu de couleurs pour KDE 3. - -- [KDE4-Clearlooks-Colors](http://opendesktop.org/content/show.php?content=151993), jeu de couleurs pour KDE 4. +Aussi, des [jeux de couleurs](http://opendesktop.org/usermanager/search.php?username=DDZ&action=contents) ont été réalisés par DDZ pour s'agencer avec Clearlooks-Phénix. ### Bureau géré par Nautilus @@ -160,20 +152,14 @@ Si après une installation ou une mise à jour d'Ubuntu, les boutons de fenêtre ## Développement -Dernière version: 3.0.13 (2012-12-09) - -Le logiciel Git est utilisé pour la gestion de versions. [Le dépôt peut être consulté en ligne ou récupéré en local.][git] - -Clearlooks-Phénix dispose également d'un [système de suivi], sur lequel les rapports de bogues et les suggestions peuvent être soumis. Des commentaires peuvent également être postés sur la page de [Clearlooks-Phénix sur GNOME-Look.org][gnome-look]. +Dernière version: 3.0.16 (2013-09-07) -[git]: http://jpfleury.indefero.net/p/clearlooks-phenix/source/tree/master/ -[système de suivi]: http://jpfleury.indefero.net/p/clearlooks-phenix/issues/ -[gnome-look]: http://gnome-look.org/content/show.php?content=145210 +Le logiciel Git est utilisé pour la gestion de versions. [Le dépôt peut être consulté en ligne ou récupéré en local.](https://gitorious.org/projets-divers/clearlooks-phenix) ## Licence -Auteur: Jean-Philippe Fleury -Copyright © Jean-Philippe Fleury, 2011-2012. +Auteur: Jean-Philippe Fleury () +Copyright © Jean-Philippe Fleury, 2011-2013. Ce programme est un logiciel libre; vous pouvez le redistribuer ou le modifier suivant les termes de la GNU General Public License telle que diff --git a/desktop-themes/TraditionalOk/doc/Makefile.am b/desktop-themes/TraditionalOk/doc/Makefile.am index f5053fe1..1b473f94 100644 --- a/desktop-themes/TraditionalOk/doc/Makefile.am +++ b/desktop-themes/TraditionalOk/doc/Makefile.am @@ -8,6 +8,7 @@ theme_DATA = \ exemple3.png \ gpl-3.0-fr.txt \ gpl-3.0.txt \ + images.sh.txt \ LISEZ-MOI.mkd \ README.mkd \ version.txt diff --git a/desktop-themes/TraditionalOk/doc/README.mkd b/desktop-themes/TraditionalOk/doc/README.mkd index 97c03726..badb271c 100644 --- a/desktop-themes/TraditionalOk/doc/README.mkd +++ b/desktop-themes/TraditionalOk/doc/README.mkd @@ -6,11 +6,11 @@ The Clearlooks-Phenix project (formerly known as Clearwaita) aims at creating a Here are screenshots (if applicable, click to download the original image): -Screenshot of a Gnome 3 desktop (fallback mode) with the Clearlooks-Phenix theme +Screenshot of a Gnome 3 desktop (fallback mode) with the Clearlooks-Phenix theme -Screenshot of gedit 3 with the Clearlooks-Phenix theme +Screenshot of gedit 3 with the Clearlooks-Phenix theme -Screenshot of GTK+ Widget Factory with the Clearlooks-Phenix theme +Screenshot of GTK+ Widget Factory with the Clearlooks-Phenix theme ## Requirements @@ -40,11 +40,11 @@ Regardless of the installation method chosen, the theme must be selected once th - Download the appropriate version according to your situation: - - for GTK 3.0 and 3.2: [download Clearlooks-Phenix 1](http://jpfleury.indefero.net/p/clearlooks-phenix/source/download/v1/); + - for GTK 3.0 and 3.2: [download Clearlooks-Phenix 1](https://gitorious.org/projets-divers/clearlooks-phenix/archive/v1.zip); - - for GTK 3.4: [download Clearlooks-Phenix 2](http://jpfleury.indefero.net/p/clearlooks-phenix/source/download/v2/). + - for GTK 3.4: [download Clearlooks-Phenix 2](https://gitorious.org/projets-divers/clearlooks-phenix/archive/v2.zip). - - for GTK 3.6 and newer: [download Clearlooks-Phenix 3](http://jpfleury.indefero.net/p/clearlooks-phenix/source/download/master/). + - for GTK 3.6 and newer: [download Clearlooks-Phenix 3](https://gitorious.org/projets-divers/clearlooks-phenix/archive/master.zip). To find your GTK version: @@ -76,13 +76,13 @@ The package [`clearlooks-phenix-theme`](http://packages.debian.org/sid/clearlook ### Gentoo -The following `ebuild` can be used: +See the following package: - http://bbgentoo.ilb.ru/repos/bbgentoo/bbgentoo_overlay/tags/current/x11-themes/clearlooks-phenix/clearlooks-phenix-2.0.10.ebuild + http://packages.gentoo.org/package/x11-themes/clearlooks-phenix ### Ubuntu -The package [`clearlooks-phenix-theme`](http://packages.ubuntu.com/quantal/clearlooks-phenix-theme) can be installed on Ubuntu 12.10 and newer. However, this package is not up-to-date, and the [PPA maintained by Andrew Shadura](https://launchpad.net/~andrewshadoura/+archive/clearlooks-phenix) can be used instead. +The package [`clearlooks-phenix-theme`](http://packages.ubuntu.com/search?keywords=clearlooks-phenix-theme) can be installed on Ubuntu 12.10 and newer. ## Configuration @@ -110,15 +110,7 @@ The icon theme used for the same screenshot is Mist, installed with the package - on Xfce: by going to *Settings > Appearence > Icons* in the main menu. -Also, color schemes were made by DDZ to fit with Clearlooks-Phenix: - -- [Gnome-Colors-Clearlooks](http://opendesktop.org/content/show.php?content=151907), color scheme for the icon theme Gnome-Colors; - -- [Humanities-Clearlooks](http://opendesktop.org/content/show.php?content=151908), color scheme for the icon theme Humanities. - -- [KDE3-Clearlooks-Colors](http://opendesktop.org/content/show.php?content=151994), color scheme for KDE 3. - -- [KDE4-Clearlooks-Colors](http://opendesktop.org/content/show.php?content=151993), color scheme for KDE 4. +Also, [color schemes](http://opendesktop.org/usermanager/search.php?username=DDZ&action=contents) were made by DDZ to fit with Clearlooks-Phenix. ### Desktop managed by Nautilus @@ -160,20 +152,14 @@ If after installing or updating Ubuntu, the window buttons are on the left side, ## Development -Last version: 3.0.13 (2012-12-09) - -Git is used for revision control. [Repository can be browsed online or cloned.][git] - -Clearlooks-Phenix has an [issue tracker], on which bug reports and feature requests can be submitted. Comments can also be posted on the webpage [Clearlooks-Phenix on GNOME-Look.org][gnome-look]. +Last version: 3.0.16 (2013-09-07) -[git]: http://jpfleury.indefero.net/p/clearlooks-phenix/source/tree/master/ -[issue tracker]: http://jpfleury.indefero.net/p/clearlooks-phenix/issues/ -[gnome-look]: http://gnome-look.org/content/show.php?content=145210 +Git is used for revision control. [Repository can be browsed online or cloned.](https://gitorious.org/projets-divers/clearlooks-phenix) ## License -Author: Jean-Philippe Fleury -Copyright © 2011-2012 Jean-Philippe Fleury +Author: Jean-Philippe Fleury () +Copyright © 2011-2013 Jean-Philippe Fleury This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/desktop-themes/TraditionalOk/doc/images.sh.txt b/desktop-themes/TraditionalOk/doc/images.sh.txt new file mode 100755 index 00000000..ad401d60 --- /dev/null +++ b/desktop-themes/TraditionalOk/doc/images.sh.txt @@ -0,0 +1,207 @@ +#!/bin/bash + +# Script d'assistance à la modification des images du thème Clearlooks-Phénix +# dans le but de créer une variante de couleurs. +# +# Placer ce script à la racine du thème (c'est-à-dire au même emplacement que +# le fichier «index.theme»), personnaliser la section «Variables à modifier.» +# et lancer le script dans une console: +# +# $ bash images.sh + +######################################################################## +## +## Variables à modifier. +## +######################################################################## + +# Variation de la luminosité, de la saturation et de la teinte des fichiers PNG +# pour le style «hover». Pour plus de détails, voir le lien suivant: +# . +pngVariation=100,100,300 + +# Liste des fichiers SVG. + +# Fichiers SVG à modifier pour une variante de couleurs. + +# Fichier «border-focused.svg». +svgBfCouleurBordure=4b6e99 +svgBfCouleurBordureInterne=c8daef +svgBfCouleurBordureExterneBas=ffffff + +# Fichier «border-focused-ptb.svg». +svgBfPtbCouleurBordure=869bb7 +svgBfPtbCouleurBordureInterne=cccccc + +# Fichier «border-focused-switch.svg». +svgBfScouleurBordure=4b6e99 +svgBfScouleurBordureExterneBas=ffffff + +# Fichiers SVG ne devant pas nécessairement être modifiés pour une variante +# de couleurs. + +# Fichier «border.svg». +svgBcouleurBordure=918e8c +svgBcouleurBordureExterneBas=ffffff + +# Fichier «border-error.svg». +svgBeCouleurBordure=9b3636 +svgBeCouleurBordureExterneBas=ffffff + +# Fichier «border-gnome-panel-button.svg». +svgBgPbCouleurBordure=918e8c + +# Fichier «border-inline-button.svg». +svgBiBcouleurBordure=918e8c +svgBiBcouleurBordureExterneBas=ffffff + +# Fichier «border-insensitive.svg». +svgBiCouleurBordure=a9a5a2 +svgBiCouleurBordureExterneBas=ffffff + +######################################################################## +## +## Code principal. Ne pas modifier. +## +######################################################################## + +# Dépendances. + +if ! type convert > /dev/null 2>&1; then + echo "Veuillez installer le paquet «imagemagick»" >&2 + exit 1 +fi + +if ! type sed > /dev/null 2>&1; then + echo "Veuillez installer le paquet «sed»" >&2 + exit 1 +fi + +# Dossier de sauvegarde des images modifiées. + +dossierSauv=gtk-3.0/img/modif +i=0 + +while ! mkdir "$dossierSauv" > /dev/null 2>&1 && ((i < 100)); do + ((++i)) + dossierSauv=gtk-3.0/img/modif-$i +done + +if [[ ! -d $dossierSauv ]]; then + echo "Impossible de créer un dossier de sauvegarde pour y déplacer les images modifiées." >&2 + exit 1 +fi + +# Modification des images PNG. + +png=( + gtk-3.0/img/checkbox-checked-hover.png + gtk-3.0/img/checkbox-mixed-hover.png + gtk-3.0/img/checkbox-unchecked-hover.png + gtk-3.0/img/menuitem-checkbox-checked-hover.png + gtk-3.0/img/menuitem-checkbox-hover.png + gtk-3.0/img/menuitem-checkbox-mixed-hover.png + gtk-3.0/img/menuitem-radio-checked-hover.png + gtk-3.0/img/menuitem-radio-hover.png + gtk-3.0/img/radio-checked-hover.png + gtk-3.0/img/radio-mixed-hover.png + gtk-3.0/img/radio-unchecked-hover.png +) + +for image in "${png[@]}"; do + convert "$image" -modulate "$pngVariation" "$dossierSauv/${image##*/}" +done + +# Modification des images SVG. + +couleur1=918e8c +couleur2=ffffff + +if [[ $svgBcouleurBordure != $couleur1 \ + || $svgBcouleurBordureExterneBas != $couleur2 ]]; then + fichier=gtk-3.0/img/border.svg + cp "$fichier" "$dossierSauv" + sed -i "s/#$couleur1;/#$svgBcouleurBordure;/" "$dossierSauv/${fichier##*/}" + sed -i "s/#$couleur2;/#$svgBcouleurBordureExterneBas;/" "$dossierSauv/${fichier##*/}" +fi + +couleur1=9b3636 +couleur2=ffffff + +if [[ $svgBeCouleurBordure != $couleur1 \ + || $svgBeCouleurBordureExterneBas != $couleur2 ]]; then + fichier=gtk-3.0/img/border-error.svg + cp "$fichier" "$dossierSauv" + sed -i "s/#$couleur1;/#$svgBeCouleurBordure;/" "$dossierSauv/${fichier##*/}" + sed -i "s/#$couleur2;/#$svgBeCouleurBordureExterneBas;/" "$dossierSauv/${fichier##*/}" +fi + +couleur1=4b6e99 +couleur2=c8daef +couleur3=ffffff + +if [[ $svgBfCouleurBordure != $couleur1 || $svgBfCouleurBordureInterne != $couleur2 \ + || $svgBfCouleurBordureExterneBas != $couleur3 ]]; then + fichier=gtk-3.0/img/border-focused.svg + cp "$fichier" "$dossierSauv" + sed -i "s/#$couleur1;/#$svgBfCouleurBordure;/" "$dossierSauv/${fichier##*/}" + sed -i "s/#$couleur2;/#$svgBfCouleurBordureInterne;/" "$dossierSauv/${fichier##*/}" + sed -i "s/#$couleur3;/#$svgBfCouleurBordureExterneBas;/" "$dossierSauv/${fichier##*/}" +fi + +couleur1=869bb7 +couleur2=cccccc + +if [[ $svgBfPtbCouleurBordure != $couleur1 \ + || $svgBfPtbCouleurBordureInterne != $couleur2 ]]; then + fichier=gtk-3.0/img/border-focused-ptb.svg + cp "$fichier" "$dossierSauv" + sed -i "s/#$couleur1;/#$svgBfPtbCouleurBordure;/" "$dossierSauv/${fichier##*/}" + sed -i "s/#$couleur2;/#$svgBfPtbCouleurBordureInterne;/" "$dossierSauv/${fichier##*/}" +fi + +couleur1=4b6e99 +couleur2=ffffff + +if [[ $svgBfScouleurBordure != $couleur1 \ + || $svgBfScouleurBordureExterneBas != $couleur2 ]]; then + fichier=gtk-3.0/img/border-focused-switch.svg + cp "$fichier" "$dossierSauv" + sed -i "s/#$couleur1;/#$svgBfScouleurBordure;/" "$dossierSauv/${fichier##*/}" + sed -i "s/#$couleur2;/#$svgBfScouleurBordureExterneBas;/" "$dossierSauv/${fichier##*/}" +fi + +couleur1=918e8c + +if [[ $svgBgPbCouleurBordure != $couleur1 ]]; then + fichier=gtk-3.0/img/border-gnome-panel-button.svg + cp "$fichier" "$dossierSauv" + sed -i "s/#$couleur1;/#$svgBgPbCouleurBordure;/" "$dossierSauv/${fichier##*/}" +fi + +couleur1=918e8c +couleur2=ffffff + +if [[ $svgBiBcouleurBordure != $couleur1 \ + || $svgBiBcouleurBordureExterneBas != $couleur2 ]]; then + fichier=gtk-3.0/img/border-inline-button.svg + cp "$fichier" "$dossierSauv" + sed -i "s/#$couleur1;/#$svgBiBcouleurBordure;/" "$dossierSauv/${fichier##*/}" + sed -i "s/#$couleur2;/#$svgBiBcouleurBordureExterneBas;/" "$dossierSauv/${fichier##*/}" +fi + +couleur1=a9a5a2 +couleur2=ffffff + +if [[ $svgBiCouleurBordure != $couleur1 \ + || $svgBiCouleurBordureExterneBas != $couleur2 ]]; then + fichier=gtk-3.0/img/border-insensitive.svg + cp "$fichier" "$dossierSauv" + sed -i "s/#$couleur1;/#$svgBiCouleurBordure;/" "$dossierSauv/${fichier##*/}" + sed -i "s/#$couleur2;/#$svgBiCouleurBordureExterneBas;/" "$dossierSauv/${fichier##*/}" +fi + +# Fin du script. + +echo "Les images ont été modifiées." + diff --git a/desktop-themes/TraditionalOk/doc/version.txt b/desktop-themes/TraditionalOk/doc/version.txt index b52c6e60..f9442898 100644 --- a/desktop-themes/TraditionalOk/doc/version.txt +++ b/desktop-themes/TraditionalOk/doc/version.txt @@ -1 +1 @@ -3.0.13 (2012-12-09) +3.0.16 (2013-09-07) -- cgit v1.2.1