Table des matières

Gourmet Recipe manager : gestionnaire de recettes de cuisine

Voir la nouvelle version : Gourmet Recipe manager (version Python 3) : gestionnaire de recettes de cuisine

Voir aussi gnome_recettes

Pré-requis

Installation

Le module Impression et exportation en PDF ne fonctionne plus.

Depuis la version 18.04, Ubuntu n'a plus le fichier print_plugin.py nécessaire à l'exportation PDF dans gourmet.

Pour retrouver cette fonctionnalité :

  1. Créez le répertoire de téléchargement et allez-y :

    USER@MACHINE:~$ mkdir -p ~/Téléchargements/gourmet
    USER@MACHINE:~ $ cd ~/Téléchargements/gourmet/
    USER@MACHINE:~/Téléchargements/gourmet$ 

  2. Téléchargez :

    USER@MACHINE:~/Téléchargements/gourmet$ wget http://archive.ubuntu.com/ubuntu/pool/universe/g/gourmet/gourmet_0.17.4-7_all.deb
    USER@MACHINE:~/Téléchargements/gourmet$ wget http://archive.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-gtk2_2.24.0-6_amd64.deb
    USER@MACHINE:~/Téléchargements/gourmet$ wget http://security.ubuntu.com/ubuntu/pool/universe/p/python-reportlab/python-reportlab_3.5.23-1ubuntu0.1_all.deb
    USER@MACHINE:~/Téléchargements/gourmet$ wget http://security.ubuntu.com/ubuntu/pool/universe/p/python-reportlab/python-reportlab-accel_3.5.23-1ubuntu0.1_amd64.deb
    USER@MACHINE:~/Téléchargements/gourmet$ wget http://archive.ubuntu.com/ubuntu/pool/universe/e/elib.intl/python-elib.intl_0.0.3~git20110809-5_all.deb
    USER@MACHINE:~/Téléchargements/gourmet$ wget http://archive.ubuntu.com/ubuntu/pool/universe/p/pygtkspellcheck/python-gtkspellcheck_4.0.5-1_all.deb
    USER@MACHINE:~/Téléchargements/gourmet$ wget http://archive.ubuntu.com/ubuntu/pool/universe/p/pyenchant/python-enchant_2.0.0-1_all.deb
    USER@MACHINE:~/Téléchargements/gourmet$ wget http://archive.ubuntu.com/ubuntu/pool/universe/p/python-mechanize/python-mechanize_0.2.5-3_all.deb
    USER@MACHINE:~/Téléchargements/gourmet$ wget http://archive.ubuntu.com/ubuntu/pool/universe/b/beautifulsoup/python-beautifulsoup_3.2.1-1_all.deb

  3. Sur http://archive.ubuntu.com/ubuntu/pool/universe/g/gourmet/, téléchargez gourmet (gourmet_0.17.4-7_all.deb)
  4. Sur http://archive.ubuntu.com/ubuntu/pool/universe/p/pygtk/, téléchargez python-gtk2 (python-gtk2_2.24.0-6_amd64.deb)
  5. Sur http://security.ubuntu.com/ubuntu/pool/universe/p/python-reportlab/, téléchargez python-reportlab (python-reportlab_3.5.23-1ubuntu0.1_all.deb)
  6. Sur http://archive.ubuntu.com/ubuntu/pool/universe/e/elib.intl/, téléchargez python-elib.intl (python-elib.intl_0.0.3~git20110809-5_all.deb)
  7. Sur http://security.ubuntu.com/ubuntu/pool/universe/p/python-reportlab/, téléchargez python-reportlab-accel (python-reportlab-accel_3.5.23-1ubuntu0.1_amd64.deb)
  8. Sur http://archive.ubuntu.com/ubuntu/pool/universe/p/pygtkspellcheck/, téléchargez python-gtkspellcheck (python-gtkspellcheck_4.0.5-1_all.deb)
  9. Sur http://archive.ubuntu.com/ubuntu/pool/universe/p/pyenchant/, téléchargez python-enchant (python-enchant_2.0.0-1_all.deb)
  10. Sur http://archive.ubuntu.com/ubuntu/pool/universe/p/python-mechanize/, téléchargez python-mechanize (python-mechanize_0.2.5-3_all.deb)
  11. Sur http://archive.ubuntu.com/ubuntu/pool/universe/b/beautifulsoup/, téléchargez python-beautifulsoup (python-beautifulsoup_3.2.1-1_all.deb)
  12. Sur http://security.ubuntu.com/ubuntu/pool/universe/p/pillow/, chargez python-imaging (python-imaging_3.1.2-0ubuntu1_all.deb)
  13. Sur http://mirrors.kernel.org/ubuntu/pool/universe/g/gourmet/, chargez gourmet (gourmet_0.17.4-3_all.deb)
  14. Sur http://mirrors.kernel.org/ubuntu/pool/universe/p/python-poppler/, chargez python-poppler (python-poppler_0.12.1-10_amd64.deb)
  15. téléchargez et installez les packages à partir du référentiel LTS 16.04 avec les commandes ci-dessous :

    USER@MACHINE:~$ mkdir -p ~/Téléchargements/gourmet
    USER@MACHINE:~ $ cd ~/Téléchargements/gourmet/
    USER@MACHINE:~/Téléchargements/gourmet$ wget http://security.ubuntu.com/ubuntu/pool/universe/p/pillow/python-imaging_3.1.2-0ubuntu1_all.deb
    USER@MACHINE:~/Téléchargements/gourmet$ wget http://mirrors.kernel.org/ubuntu/pool/universe/g/gourmet/gourmet_0.17.4-3_all.deb
    USER@MACHINE:~/Téléchargements/gourmet$ wget http://mirrors.kernel.org/ubuntu/pool/universe/p/python-poppler/python-poppler_0.12.1-10_amd64.deb
    USER@MACHINE:~/Téléchargements/gourmet$ sudo apt install -y ./python-imaging_3.1.2-0ubuntu1_all.deb
    USER@MACHINE:~/Téléchargements/gourmet$ sudo apt install -y ./python-poppler_0.12.1-10_amd64.deb
    USER@MACHINE:~/Téléchargements/gourmet$ sudo apt install -y ./gourmet_0.17.4-3_all.deb

  16. USER@MACHINE:~$ mkdir -p ~/Downloads/gourmet
    USER@MACHINE:~$ cd ~/Downloads/gourmet
    USER@MACHINE:~/Downloads/gourmet$ wget http://archive.ubuntu.com/ubuntu/pool/universe/g/gourmet/gourmet_0.17.4-7_all.deb
    USER@MACHINE:~/Downloads/gourmet$ wget http://archive.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-gtk2_2.24.0-6_amd64.deb
    USER@MACHINE:~/Downloads/gourmet$ wget http://security.ubuntu.com/ubuntu/pool/universe/p/python-reportlab/python-reportlab_3.5.23-1ubuntu0.1_all.deb
    USER@MACHINE:~/Downloads/gourmet$ wget http://archive.ubuntu.com/ubuntu/pool/universe/e/elib.intl/python-elib.intl_0.0.3~git20110809-5_all.deb
    USER@MACHINE:~/Downloads/gourmet$ wget http://security.ubuntu.com/ubuntu/pool/universe/p/python-reportlab/python-reportlab-accel_3.5.23-1ubuntu0.1_amd64.deb
    USER@MACHINE:~/Downloads/gourmet$ wget http://archive.ubuntu.com/ubuntu/pool/universe/p/pygtkspellcheck/python-gtkspellcheck_4.0.5-1_all.deb
    USER@MACHINE:~/Downloads/gourmet$ wget http://archive.ubuntu.com/ubuntu/pool/universe/p/pyenchant/python-enchant_2.0.0-1_all.deb
    USER@MACHINE:~/Downloads/gourmet$ wget http://archive.ubuntu.com/ubuntu/pool/universe/p/python-mechanize/python-mechanize_0.2.5-3_all.deb
    USER@MACHINE:~/Downloads/gourmet$ wget http://archive.ubuntu.com/ubuntu/pool/universe/b/beautifulsoup/python-beautifulsoup_3.2.1-1_all.deb
    USER@MACHINE:~/Downloads/gourmet$ sudo apt-get install ./*.deb

  17. Bloquez la mise à jour du package gourmet :

    USER@MACHINE:~/Téléchargements/gourmet$ sudo apt-mark hold gourmet

    Pour débloquer :

    :~/Téléchargements/gourmet$ sudo apt-mark unhold gourmet
  18. Enfin, ouvrez Gourmet, cliquez sur Préférences/Extensions, onglet Importation et Exportation et activez le plug-in d'impression et d'exportation PDF s'il n'est pas activé.

L'impression fonctionnera alors comme prévu.

Si cela ne fonctionne pas, allez dans Préférences/Préférences désactivez l'information nutritionnelle si elle est activée

Configuration

Activez les extensions suivantes (Préférences/extensions) :

  1. Outils : tous
  2. Importation/exportation :
    1. Importation texte brut
    2. Exportation html
    3. Importation de sites
    4. Impression et exportation en pdf (pour pouvoir imprimer)
    5. Importation depuis une page sur le toile
  3. Principal :
    1. Afficher les recettes
    2. L'information nutritionnelle ne semble pas marcher…

Utilisation

Désinstallation

Problèmes connus

Voir aussi


Basé sur « http://thinkle.github.io/gourmet/ » par gourmet.