Several changes / corrections to README.md

Distro-specific instructions reordered to reflect (assumed) diffusion of each of them.
yahoo_weather
Mattia Meneguzzo 13 years ago
parent ca95300ca5
commit dcedfe2d4b
  1. 68
      README.md

@ -1,64 +1,62 @@
![Screenshot](https://github.com/neroth/gnome-shell-extension-weather/raw/master/data/Screenshot.jpg) ![Screenshot](https://github.com/neroth/gnome-shell-extension-weather/raw/master/data/Screenshot.jpg)
**gnome-shell-extension-weather** is a simple extension for displaying weather information from several cities in GNOME Shell. **gnome-shell-extension-weather** is a simple extension for displaying weather conditions and forecasts in GNOME Shell.
Compared to the original version, this fork brings you : multiple city, no WOEID, a symmetric style, and a settings panel in JavaScript (Seed). Compared with the original version, this fork features: multiple locations, no WOEID required, a symmetrical layout and a settings panel in JavaScript (Seed).
Currently, the weather report including forecast for today and tomorrow is fetched from [Yahoo! Weather](http://weather.yahoo.com/). Currently, the weather report, including forecasts for today and tomorrow, is fetched from [Yahoo! Weather](http://weather.yahoo.com/).
---- ----
# Installation # Installation
**At end of installation restart GNOME Shell (`[Alt]+[F2]`, `r`) and active the extension in `gnome-tweak-tool`.** **After the installation, restart GNOME Shell (`[Alt]+[F2]`, `r`) and enable the extension through `gnome-tweak-tool`.**
## Package manager ## Through a package manager
### [Arch Linux](https://aur.archlinux.org/packages.php?ID=56028)
Make package form AUR and install.
wget https://aur.archlinux.org/packages/gn/gnome-shell-extension-weather-neroth-git/gnome-shell-extension-weather-neroth-git.tar.gz
tar xvzf gnome-shell-extension-weather-neroth-git.tar.gz
cd gnome-shell-extension-weather-neroth-git && makepkg -si
### [Ubuntu](https://launchpad.net/~xeked/+archive/gnome/+packages) ### [Ubuntu](https://launchpad.net/~xeked/+archive/gnome/+packages)
Add the PPA **ppa:xeked/gnome** in your source list, add key **0B5C004838624188** form `keyserver.ubuntu.com`, update package list and install **gnome-shell-extension-weather**. Add the PPA **ppa:xeked/gnome** to your source list, import the key **0B5C004838624188** from `keyserver.ubuntu.com`, update the package list and install **gnome-shell-extension-weather**:
sudo add-apt-repository ppa:xeked/gnome sudo add-apt-repository ppa:xeked/gnome
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0B5C004838624188 sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0B5C004838624188
sudo apt-get update sudo apt-get update
sudo apt-get install gnome-shell-extension-weather sudo apt-get install gnome-shell-extension-weather
### [ALT Linux](http://packages.altlinux.org/en/Sisyphus/srpms/gnome-shell-extension-weather) ### [Fedora](http://download1.rpmfusion.org/free/fedora/updates/testing/17/i386/repoview/gnome-shell-extension-weather.html)
Install **gnome-shell-extension-weather** with apt-rpm from Sisyphus. Packages for Fedora 16 and 17 are available in the [RPM Fusion](http://rpmfusion.org/) repositories. If these are not enabled on your system, please follow [these instructions](http://rpmfusion.org/Configuration); then run the following command (with root privileges):
sudo apt-get update yum --enablerepo=rpmfusion-free-updates-testing install gnome-shell-extension-weather
sudo apt-get install gnome-shell-extension-weather
### [Fedora](http://download1.rpmfusion.org/free/fedora/updates/testing/17/i386/repoview/gnome-shell-extension-weather.html) ### [Arch Linux](https://aur.archlinux.org/packages.php?ID=56028)
Packages for Fedora 16 and 17 are available in the [RPM Fusion](http://rpmfusion.org/) repositories. Download the package from AUR, make and install it:
If they are not enabled on your system, please follow [these instructions](http://rpmfusion.org/Configuration); then run the following command with root privileges: wget https://aur.archlinux.org/packages/gn/gnome-shell-extension-weather-neroth-git/gnome-shell-extension-weather-neroth-git.tar.gz
tar xvzf gnome-shell-extension-weather-neroth-git.tar.gz
cd gnome-shell-extension-weather-neroth-git && makepkg -si
yum --enablerepo=rpmfusion-free-updates-testing install gnome-shell-extension-weather ### [ALT Linux](http://packages.altlinux.org/en/Sisyphus/srpms/gnome-shell-extension-weather)
Install **gnome-shell-extension-weather** with apt-rpm from Sisyphus:
sudo apt-get update
sudo apt-get install gnome-shell-extension-weather
## Generic ## Generic
Make sure you have these dependencies : Make sure you have the following dependencies installed:
* `dconf`. * `dconf`,
* `gettext`. * `gettext`,
* `pkg-config`. * `pkg-config`,
* `seed`. * `seed`,
* `git`. * `git`,
* `glib2`. * `glib2`,
* `gnome-common`. * `gnome-common`,
* `autoconf`. * `autoconf`,
* `automake`. * `automake`,
* `intltool`. * `intltool`,
* `gnome-tweak-tool`. * `gnome-tweak-tool`.
Run the following commands: Run the following commands:
@ -75,7 +73,7 @@ Use the `Weather Settings` button to edit the configuration.
![Screenshot](https://github.com/neroth/gnome-shell-extension-weather/raw/master/data/weather-settings.gif) ![Screenshot](https://github.com/neroth/gnome-shell-extension-weather/raw/master/data/weather-settings.gif)
You can also use `dconf-editor` or `gsettings` to modify some parameters from the command line. You can also use `dconf-editor` or `gsettings` to configure the extension through the command line.
---- ----
@ -88,7 +86,7 @@ Copyright (C) 2011 - 2012
* Elad Alfassa <elad@fedoraproject.org>, * Elad Alfassa <elad@fedoraproject.org>,
* Simon Legner <Simon.Legner@gmail.com>, * Simon Legner <Simon.Legner@gmail.com>,
* Simon Claessens <gagalago@gmail.com>, * Simon Claessens <gagalago@gmail.com>,
* Christian METZLER <neroth@xeked.com>, * Christian Metzler <neroth@xeked.com>,
* Mark Benjamin <weather.gnome.Markie1@dfgh.net> * Mark Benjamin <weather.gnome.Markie1@dfgh.net>
This file is part of gnome-shell-extension-weather. This file is part of gnome-shell-extension-weather.

Loading…
Cancel
Save