this allows for some automatic configuration and potfiles management and allow to install the extensionyahoo_weather
parent
dfdc6550eb
commit
4e58e6bbb2
@ -0,0 +1,16 @@ |
||||
0.4 |
||||
=== |
||||
- add autotools support |
||||
|
||||
0.3 |
||||
=== |
||||
- add translation support |
||||
|
||||
0.2 |
||||
=== |
||||
- add yahoo backend |
||||
- add symbolic icons |
||||
|
||||
0.1 ( |
||||
=== |
||||
first skeleton implementation |
@ -0,0 +1,29 @@ |
||||
## gnome-shell-extension-weather |
||||
|
||||
gnome-shell-extension-weather is a simple extension for displaying weather notifications in Gnome Shell. |
||||
|
||||
Currently, the weather report including forecast for today and tomorrow is fetched from [Yahoo](http://weather.yahoo.com/). |
||||
|
||||
### Installation |
||||
|
||||
1. Change `YAHOO_ID` to your location in extension.js (cf. [WOEID](http://developer.yahoo.com/geo/geoplanet/guide/concepts.html)) |
||||
2. Put directory `weather@venemo.com/` in `~/.local/share/gnome-shell/extensions/` |
||||
3. Restart Gnome Shell (`[Alt]+[F2]`, `r`) |
||||
4. Enjoy, contribute, ... |
||||
|
||||
### Licence |
||||
|
||||
Copyright (C) 2011 |
||||
ecyrbe <ecyrbe+spam@gmail.com> //remove +spam to email |
||||
Timur Kristóf <venemo@msn.com>, |
||||
Elad Alfassa <elad@fedoraproject.org>, |
||||
Simon Legner <Simon.Legner@gmail.com> |
||||
|
||||
This file is part of gnome-shell-extension-weather. |
||||
|
||||
gnome-shell-extension-weather is free software: you can redistribute it and/or modify it under the terms of the **GNU General Public License as published by the Free Software Foundation, either version 3** of the License, or (at your option) any later version. |
||||
|
||||
gnome-shell-extension-weather is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. |
||||
|
||||
You should have received a copy of the GNU General Public License along with gnome-shell-extension-weather. If not, see <http://www.gnu.org/licenses/>. |
||||
|
@ -0,0 +1,20 @@ |
||||
#!/bin/bash |
||||
# Run this to generate all the initial makefiles, etc. |
||||
|
||||
srcdir=`dirname $0` |
||||
test -z "$srcdir" && srcdir=. |
||||
|
||||
PKG_NAME="gnome-shell-extensions" |
||||
|
||||
test -f $srcdir/configure.ac || { |
||||
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" |
||||
echo " top-level gnome-shell-extensions directory" |
||||
exit 1 |
||||
} |
||||
|
||||
which gnome-autogen.sh || { |
||||
echo "You need to install gnome-common from GNOME Git (or from" |
||||
echo "your OS vendor's package manager)." |
||||
exit 1 |
||||
} |
||||
. gnome-autogen.sh |
@ -0,0 +1,3 @@ |
||||
install-sh |
||||
mkinstalldirs |
||||
missing |
@ -0,0 +1,28 @@ |
||||
AC_PREREQ(2.63) |
||||
dnl be carefull, the version needs to be in sync with your gnome shell version |
||||
AC_INIT([gnome-shell-extension-weather],[3.0.1],[https://github.com/ecyrbe/gnome-shell-extension-weather/issues]) |
||||
|
||||
AC_CONFIG_MACRO_DIR([m4]) |
||||
AC_CONFIG_AUX_DIR([config]) |
||||
|
||||
AM_INIT_AUTOMAKE([1.10 dist-bzip2 no-dist-gzip foreign tar-ustar]) |
||||
|
||||
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) |
||||
|
||||
GETTEXT_PACKAGE=gnome-shell-extension-weather |
||||
AC_SUBST(GETTEXT_PACKAGE) |
||||
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", |
||||
[The prefix for our gettext translation domains.]) |
||||
IT_PROG_INTLTOOL(0.26) |
||||
|
||||
PKG_PROG_PKG_CONFIG([0.22]) |
||||
|
||||
GLIB_GSETTINGS |
||||
|
||||
dnl Please keep this sorted alphabetically |
||||
AC_CONFIG_FILES([ |
||||
Makefile |
||||
po/Makefile.in |
||||
src/Makefile |
||||
]) |
||||
AC_OUTPUT |
Before Width: | Height: | Size: 71 KiB After Width: | Height: | Size: 71 KiB |
@ -0,0 +1 @@ |
||||
intltool.m4 |
@ -0,0 +1 @@ |
||||
fr |
@ -0,0 +1 @@ |
||||
src/extension.js |
@ -0,0 +1,21 @@ |
||||
extensionurl = https://github.com/ecyrbe/gnome-shell-extension-weather
|
||||
|
||||
# Change these to modify how installation is performed
|
||||
topextensiondir = $(datadir)/gnome-shell/extensions
|
||||
|
||||
uuid = weather@gnome-shell-extensions.gnome.org
|
||||
|
||||
extensiondir = $(topextensiondir)/$(uuid)
|
||||
|
||||
dist_extension_DATA = extension.js stylesheet.css
|
||||
nodist_extension_DATA = metadata.json $(EXTRA_EXTENSION)
|
||||
|
||||
EXTRA_DIST = metadata.json.in
|
||||
|
||||
metadata.json: metadata.json.in $(top_builddir)/config.status |
||||
$(AM_V_GEN) sed -e "s|[@]LOCALEDIR@|$(datadir)/locale|" \
|
||||
-e "s|[@]uuid@|$(uuid)|" \
|
||||
-e "s|[@]shell_current@|$(PACKAGE_VERSION)|" \
|
||||
-e "s|[@]url@|$(extensionurl)|" $< > $@
|
||||
|
||||
CLEANFILES = metadata.json
|
@ -1 +0,0 @@ |
||||
{"shell-version": ["3.0"], "uuid": "weather@venemo.net", "name": "Weather", "description": "Adds weather information next to the clock."} |
@ -0,0 +1,8 @@ |
||||
{ |
||||
"uuid": "@uuid@", |
||||
"name": "Weather indicator", |
||||
"description": "Adds weather information menu", |
||||
"shell-version": [ "@shell_current@" ], |
||||
"localedir": "@LOCALEDIR@", |
||||
"url": "@url@" |
||||
} |
Loading…
Reference in new issue