Skip to content
This repository has been archived by the owner on Jan 9, 2018. It is now read-only.

Greek (el) translation updated #121

Open
wants to merge 396 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
396 commits
Select commit Hold shift + click to select a range
e465ddc
Fix bugs (last update, forecast days and the search tool in weather s…
Neroth Aug 9, 2012
f1810bc
Fix forecast
Neroth Aug 9, 2012
b9358f2
Fix days bug in forecast
Neroth Aug 12, 2012
2165347
Update Chinese translation
mengzhuo Aug 21, 2012
e8c1042
Merge pull request #45 from mengzhuo/master
Neroth Aug 21, 2012
876c281
Italian translation updated.
Odysseus86 Aug 24, 2012
5be82f2
Merge pull request #47 from Odysseus86/patch-1
Neroth Aug 25, 2012
a028a3f
ADD: hide indicator if there is no network connection
mengzhuo Aug 30, 2012
734987b
Merge pull request #48 from mengzhuo/master
Neroth Aug 30, 2012
198d035
Now work with GNOME Shell 3.6
Neroth Oct 15, 2012
1d2d9ed
Port to GNOME Shell 3.6 (canek-pelaez/gnome-shell-extension-weather@2…
Neroth Oct 21, 2012
6c1d6ab
Fix #52
Neroth Oct 22, 2012
d8bf7b2
Update Lithuanian translation (#55)
Neroth Oct 25, 2012
57af3e0
Update all translation files
Neroth Oct 25, 2012
cfb17e7
Port to GNOME Shell 3.6 (tested in 3.4/3.6 and work) (canek-pelaez/gn…
Neroth Oct 28, 2012
7537f87
Merge branch 'gnome3.6'
Neroth Oct 28, 2012
79b1ae7
Branch is no compatible with 3.0 and 3.2 (3.3 ?)
Neroth Oct 28, 2012
5acc1c0
Number localization (#51)
Neroth Oct 28, 2012
eb738a2
Forcast temp modification
Neroth Oct 28, 2012
7038a64
Fix small bug
Neroth Oct 28, 2012
7fa1311
Add a submenu for choose locations
Neroth Oct 29, 2012
d5d4f38
Italian translation updated
Odysseus86 Oct 29, 2012
d07982c
README.md updated
Odysseus86 Oct 29, 2012
b84ad6f
Merge pull request #57 from Odysseus86/patch-4
Neroth Oct 29, 2012
0788139
Merge pull request #56 from Odysseus86/patch-3
Neroth Oct 29, 2012
5eb5c71
Add Beaufort scale
Neroth Oct 29, 2012
19aac35
Add parenthesis to Beaufort text
Neroth Oct 29, 2012
2aed4f1
Fix little bug
Neroth Oct 29, 2012
bee8103
Add kPa unit
Neroth Oct 29, 2012
7118dac
Fix Rankine display
Neroth Oct 29, 2012
f7c4aea
Fix kPa decimal
Neroth Oct 29, 2012
8102093
Small change to the string on the panel
Odysseus86 Nov 2, 2012
d0a77c5
Merge pull request #62 from Odysseus86/patch-5
Neroth Nov 7, 2012
32d03b6
Fix #61/#58
Neroth Nov 7, 2012
41578e8
Update Polish translation by Piotr Sokół
Neroth Nov 9, 2012
291b7bd
Merge pull request #63 from Neroth/gnome3.4
Neroth Nov 9, 2012
44c7afd
Italian translation updated
Odysseus86 Nov 21, 2012
2083aa3
Beaufort descriptions corrected
Odysseus86 Nov 21, 2012
892fcbd
Merge pull request #65 from Odysseus86/patch-6
Neroth Nov 21, 2012
6359415
Merge pull request #66 from Odysseus86/patch-7
Neroth Nov 21, 2012
3696468
Update translation files
Neroth Nov 26, 2012
390afdb
Update Portuguese po file by Florêncio Neves
Neroth Dec 3, 2012
77c8750
Update Lithuanian translation by Baltix
Neroth Dec 24, 2012
7733822
Update German translation
adrianbroher Dec 25, 2012
8f34b87
Merge pull request #72 from adrianbroher/master
Neroth Dec 25, 2012
d46b13d
prefs.js (adapted from canek-pelaez version) #21 #59 #69, many update
Neroth Jan 10, 2013
f4fa5d1
Fix #64
Neroth Jan 11, 2013
9e15bd4
Update README to reflect the latest changes.
Odysseus86 Jan 13, 2013
6b4d26f
Merge pull request #73 from Odysseus86/patch-8
Neroth Jan 13, 2013
ceb171b
Update README
Neroth Jan 13, 2013
76edf28
Minor fix
Neroth Jan 13, 2013
920725e
Add new screenshot
Neroth Jan 13, 2013
b60c5aa
Small correction.
Odysseus86 Jan 16, 2013
800b4a6
Small corrections.
Odysseus86 Jan 16, 2013
33571ce
Removed 2nd screenshot + small corrections.
Odysseus86 Jan 16, 2013
a57675f
update Chinese Translation
mengzhuo Jan 18, 2013
31d8122
Fix #74 & #77 (GSetting)
Neroth Jan 22, 2013
8a081bf
Merge pull request #76 from mengzhuo/upstream
Neroth Jan 22, 2013
d41ac08
Added hungarian translation.
bojtospeter Jan 23, 2013
87ea502
Added hu to Linguas.
bojtospeter Jan 23, 2013
5075810
Merge pull request #78 from bojtospeter/master
Neroth Jan 24, 2013
f64754e
Update po/LINGUAS
dancer69 Jan 28, 2013
b0b4431
Create el.po
dancer69 Jan 28, 2013
2cab757
Update po/el.po
dancer69 Jan 28, 2013
19abe65
Update po/el.po
dancer69 Jan 29, 2013
36be490
Merge pull request #81 from dancer69/master
Neroth Jan 29, 2013
43ba204
Update po/el.po
dancer69 Jan 29, 2013
10431cd
Update po/el.po
dancer69 Jan 29, 2013
1f4750b
Merge pull request #82 from dancer69/master
Neroth Jan 29, 2013
a85e872
Merge pull request #75 from Odysseus86/patch-10
Neroth Feb 2, 2013
59a0a03
Update PO
Neroth Feb 2, 2013
4f32fba
Update Screenshot
Neroth Feb 2, 2013
f7c5a27
ru translate
Timosha Feb 4, 2013
fcbd041
Merge pull request #85 from Timosha/master
Neroth Feb 4, 2013
efd80b4
correct wind direction and units
Timosha Feb 6, 2013
315555c
Merge pull request #86 from Timosha/master
Neroth Feb 9, 2013
2621a3e
Fix #87
Neroth Feb 14, 2013
c8c750d
Update translations
Neroth Feb 14, 2013
dca9eba
Translated fuzzy strings
m13253 Feb 14, 2013
82fd8ee
More accurate translations
m13253 Feb 14, 2013
4edb963
Change 'x*0.555556' to 'x/1.8'
m13253 Feb 14, 2013
5c4e96a
Merge pull request #88 from m13253/master
Neroth Feb 14, 2013
1928026
Change AUR link
Neroth Feb 17, 2013
a9f22e9
Minor changes
Neroth Feb 20, 2013
d3fb60c
Minor changes
Neroth Feb 21, 2013
b316cdd
Extension is now in extensions.gnome.org !
Neroth Feb 23, 2013
300c8c5
#90
Neroth Feb 23, 2013
0618bb6
Fix a few typos in French translation
svillemot Feb 24, 2013
fc0ac23
Merge pull request #93 from sebastien-villemot/master
Neroth Feb 25, 2013
f546b61
Fix bug
Neroth Mar 10, 2013
6307a75
Update translation
Neroth Mar 10, 2013
13c1086
Update README
Neroth Mar 11, 2013
6315827
Disconnect signals & kill loop (refresh)
Neroth Mar 11, 2013
f205937
Import GWeather
Neroth Mar 12, 2013
5fd53b7
Import GWeather
Neroth Mar 12, 2013
8a04e03
Search city with GWeather
Neroth Mar 12, 2013
043fd35
Port Weather extension.js to GWeather
Neroth Mar 28, 2013
0d986c2
Update README.md
Neroth Mar 28, 2013
a5f21ed
Add debug informations
Neroth Mar 28, 2013
9697c0a
Update Italian translation.
Odysseus86 Mar 28, 2013
accaa7e
Merge pull request #105 from Odysseus86/patch-12
Neroth Mar 28, 2013
7b97734
Update po
Neroth Jul 3, 2013
906e68e
Update README.md
Neroth Jul 11, 2013
ff97093
Various change / End of BETA
Neroth Jul 22, 2013
51caa6d
Merge branch 'GWeather' of github.com:Neroth/gnome-shell-extension-we…
Neroth Jul 22, 2013
41fa3d6
Fix bug
Neroth Jul 22, 2013
5009e8c
Fix bug
Neroth Jul 22, 2013
40b33ec
Update README.md
Neroth Jul 22, 2013
a4181e3
Fix bug
Neroth Jul 22, 2013
9b2cb8d
Merge branch 'master' of github.com:Neroth/gnome-shell-extension-weather
Neroth Jul 22, 2013
88434ac
Update FR translation
Neroth Jul 22, 2013
245f3f3
Fix bug
Neroth Jul 22, 2013
128a7e2
Fix bug
Neroth Jul 22, 2013
cdfb102
[L10N] Update Spanish translation
Jul 22, 2013
51a88a5
Merge pull request #128 from Fitoschido/patch-1
Neroth Jul 22, 2013
35c1be2
[L10N] Update Catalan translation
Jul 22, 2013
3ad4459
Merge pull request #129 from Fitoschido/patch-2
Neroth Jul 22, 2013
973abce
Update the Italian translation
Odysseus86 Jul 22, 2013
5183f4b
Merge pull request #130 from Odysseus86/patch-1
Neroth Jul 22, 2013
509252c
Update README.md
Neroth Jul 22, 2013
47d44b4
Fix bug
Neroth Jul 23, 2013
a84f75d
Fix bug
Neroth Jul 23, 2013
80a518a
Fix bug
Neroth Jul 23, 2013
bde460c
Commit
bojtospeter Jul 25, 2013
592efcd
Merge remote-tracking branch 'upstream/master'
bojtospeter Jul 25, 2013
cf4d33c
[L10N] Hungarian translation updated
bojtospeter Jul 25, 2013
012c067
Reverted COPYING
bojtospeter Jul 25, 2013
b36085b
Update cs.po
psimacek Jul 29, 2013
3c53334
Update cs.po
psimacek Jul 29, 2013
5576133
Update the Italian translation
Odysseus86 Aug 3, 2013
1e04332
ru translate
Timosha Aug 10, 2013
1750510
Merge pull request #131 from bojtospeter/master
Neroth Aug 10, 2013
99ec275
Merge pull request #135 from Timosha/master
Neroth Aug 10, 2013
4f850b7
Merge pull request #134 from Odysseus86/patch-2
Neroth Aug 10, 2013
f4c5a13
Merge pull request #132 from psimacek/patch-1
Neroth Aug 10, 2013
046570f
Update el translation
alexxtasi Aug 11, 2013
fa45445
Fixes #137.
jayr0d Aug 18, 2013
3039670
Merge pull request #140 from jayr0d/patch-1
Neroth Aug 20, 2013
b632b23
Add Greek translation
alexxtasi Aug 23, 2013
5e94a65
Update Greek translation
alexxtasi Aug 24, 2013
1a3ad7e
Merge pull request #147 from alexxtasi/master
Neroth Sep 13, 2013
79d88fc
Delete debian folder
Neroth Sep 13, 2013
0e568cd
Update cs.po
psimacek Sep 18, 2013
237363d
Handle cases where a forecast item is null.
Oct 13, 2013
df5f584
Merge pull request #151 from psimacek/patch-2
Neroth Oct 18, 2013
2e70315
Merge pull request #155 from foghina/master
Neroth Oct 18, 2013
e226ab6
Add GNOME Shell 3.10 support in metadata.json
Neroth Oct 18, 2013
e663862
First step to 3.10, need to kill a margin in forecast box
Neroth Oct 19, 2013
aae0c58
Full compat 3.8/3.10
Neroth Oct 19, 2013
7192667
Center condition text
Neroth Oct 19, 2013
b7c6b41
Merge pull request #156 from Neroth/beta
Neroth Oct 19, 2013
30174f2
Update stylesheet.css
Neroth Oct 20, 2013
25a1b80
Update README.md
Neroth Oct 20, 2013
5cd2d79
Minor fix to French translation
svillemot Oct 20, 2013
c43ebdd
Merge pull request #157 from sebastien-villemot/master
Neroth Oct 20, 2013
af22edc
Fix refresh when click on the refresh button
Neroth Oct 21, 2013
97ba8ac
Fix bug name of the day (at the end of the month)
Neroth Oct 21, 2013
bf53fd4
Fix timezone bug in sunset, sunrise and refresh
Neroth Oct 22, 2013
e16a589
Add dst support to the last commit
Neroth Oct 22, 2013
dd8518d
Add timezone support to the forecast loader
Neroth Oct 22, 2013
d6f84b1
Fix #160 (min / max temp in forecast in US)
Neroth Oct 22, 2013
1923894
Force refresh every 30 sec
Neroth Oct 23, 2013
629000e
Update configure.ac
Neroth Oct 23, 2013
2b5fad5
Update po
Neroth Oct 23, 2013
babdfc5
Little fix
Neroth Oct 23, 2013
b4312cb
Fix #161 (Temp unit don't change in forecast)
Neroth Oct 24, 2013
4f43ce0
Fix #162
Neroth Oct 24, 2013
148cadd
Fix log file bug when extension installed in widesys (root access)
Neroth Oct 24, 2013
c262715
Fix anonymous function in extension.js
Neroth Oct 24, 2013
e3244b4
No more debian support
Neroth Oct 24, 2013
da2f5bc
#133
Neroth Oct 25, 2013
3b54df0
Merge branch 'master' of github.com:Neroth/gnome-shell-extension-weather
Neroth Oct 25, 2013
e854c72
Update debug instruction in readme
Neroth Oct 25, 2013
a8fc6b1
Fix extension don't update after network reback
Neroth Oct 26, 2013
034acdc
Fix EXTENSIONDIR bug, #163
Neroth Oct 27, 2013
47570f2
Change log dir
Neroth Oct 27, 2013
34e2bd9
Update pt.po
fcordeiro Oct 27, 2013
7587e23
Merge pull request #165 from fcordeiro/master
Neroth Oct 27, 2013
8d5b0be
Update Persian translation
Noori Nov 13, 2013
c636e2b
Delete fa.po
Noori Nov 14, 2013
f5d08d5
Add Persian translation
Noori Nov 14, 2013
197ef7e
Add Persian translation
Noori Nov 14, 2013
9507acf
Update Persian translation
Noori Nov 14, 2013
cc2810b
Update sk.po
prescott66 Nov 14, 2013
6f36ffb
Merge pull request #170 from prescott66/patch-3
Neroth Nov 16, 2013
45d5d6b
Update Persian translation
Noori Nov 17, 2013
6bafebc
Basque translation
asiersarasua Nov 17, 2013
1ff04bd
Merge pull request #171 from asiersarasua/master
Neroth Nov 17, 2013
8894c75
Update nl.po
Pjotr123 Nov 18, 2013
c8990f0
Merge pull request #173 from Pjotr123/patch-3
Neroth Nov 18, 2013
7a71697
Delete pt.mo
Neroth Nov 18, 2013
490a92d
Update po
Neroth Nov 18, 2013
4c13be5
Add Arabic translation
khaledhosny Nov 19, 2013
3872e04
Merge pull request #174 from khaledhosny/master
Neroth Nov 19, 2013
e0fd4d0
Complete Arabic translation
khaledhosny Nov 19, 2013
b09ed56
Merge pull request #175 from khaledhosny/master
Neroth Nov 19, 2013
0587d34
Allow localizing the string separator
khaledhosny Nov 19, 2013
feebbdc
Update PO files
khaledhosny Nov 19, 2013
f62961c
Update Arabic translation
khaledhosny Nov 19, 2013
0a21cb9
Merge pull request #176 from khaledhosny/master
Neroth Nov 19, 2013
f76a02e
Update Persian translation
Noori Nov 21, 2013
5e0e3d8
Update it.po
Odysseus86 Nov 23, 2013
5384b8b
Merge pull request #178 from Odysseus86/patch-1
Neroth Nov 23, 2013
433f8ec
Update sk.po
prescott66 Nov 24, 2013
a36fb52
Update pt.po
kemelzaidan Dec 7, 2013
241925d
Merge pull request #180 from prescott66/patch-4
Neroth Dec 21, 2013
725b12c
Merge pull request #184 from kemelzaidan/work
Neroth Dec 21, 2013
b390921
Updated German translation
auge Jan 4, 2014
cb02683
Update nl.po
Pjotr123 Feb 2, 2014
42299ea
Merge pull request #191 from Pjotr123/patch-5
Neroth Feb 7, 2014
97b9521
Merge pull request #188 from auge/master
Neroth Feb 7, 2014
de0e914
Merge branch 'master' of github.com:Noori/gnome-shell-extension-weath…
Neroth Feb 7, 2014
2bd2c8a
Fix #177 (Timezone error
Neroth Feb 9, 2014
e8487c4
Fix #138 (Scroll doesn't react to mousewheel in forecast box)
Neroth Feb 9, 2014
475ee18
Update README.md
Neroth Feb 20, 2014
308d823
Update Polish translation
Mar 5, 2014
8b72edd
[po] * update po for zh_TW
ycktw Mar 6, 2014
3307624
Merge pull request #197 from ycktw/master
Neroth Mar 17, 2014
6f85a42
Merge pull request #196 from psokol/master
Neroth Mar 17, 2014
a56b70f
Add Bulgarian translation
Mar 29, 2014
a9d214e
Merge pull request #199 from SvetlinZarev/bulgarian_translation
Neroth Mar 29, 2014
c2db3d5
Update all po files
Neroth Mar 29, 2014
ae1c83a
Add GNOME Shell 3.12 as good version in metadata.json
Neroth Mar 29, 2014
050d581
Corrected Persian Translation File
Noori Apr 4, 2014
489aaa0
Merge pull request #200 from Noori/master
Neroth Apr 13, 2014
c65b263
Update zh_CN.po
shlinux Jun 7, 2014
6ec56bd
Update Simplified Chinese translation file
shlinux Jun 14, 2014
9a46066
Merge pull request #204 from shlinux/patch-1
Neroth Aug 11, 2014
6075d4f
Add GNOME Shell 3.14 as compatible version in metadata.json
elopez Sep 25, 2014
8aa4edd
Merge pull request #209 from elopez/master
Neroth Oct 3, 2014
68c24da
Update sv.po
jorgenqv Nov 18, 2014
90d439f
Merge pull request #212 from jorgenqv/patch-3
Neroth Nov 18, 2014
329139f
Update providers (#207)
Neroth Nov 19, 2014
bb58c59
Update Ukrainian translation
SNSnoop Apr 1, 2015
df575f8
Update shell-version in metadata.json
basti1253 Apr 10, 2015
8964ab6
Merge pull request #217 from SNSnoop/master
Neroth Apr 10, 2015
746debe
Merge pull request #218 from basti1253/patch-1
Neroth Apr 10, 2015
acdd770
Remove GWeather.Provider.IWIN from enabled list
ferdnyc Sep 15, 2015
4e92ac1
Add GNOME Shell 3.18 as compatible version in metadata.json
djmaze Oct 10, 2015
b784acd
Merge pull request #224 from ferdnyc/remove-iwin
Neroth Oct 11, 2015
5c44f2f
Merge pull request #227 from djmaze/patch-1
Neroth Oct 11, 2015
749bd0d
GNOME Shell 3.20 Support
Neroth Apr 12, 2016
13c956c
Update install commands for modern Fedoras
ferdnyc Oct 10, 2016
e166657
Turkish Translation
yoktur Jul 5, 2017
c188f39
Update AR translation
bilelovic Jul 17, 2017
053c5be
Using get_world instead of new_world function from GWeather.Location …
luktom Apr 9, 2018
1edcf79
Merge pull request #243 from luktom/new_gweather_api
Neroth Apr 11, 2018
96cc3ea
Merge pull request #238 from bilelovic/master
Neroth Apr 11, 2018
aaf9034
Merge pull request #237 from yoktur/master
Neroth Apr 11, 2018
ea2d56a
Merge pull request #233 from ferdnyc/fedora-docs
Neroth Apr 11, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@ configure
config.log
config.status
aclocal.m4
ChangeLog
INSTALL
autom4te.cache/
po/POTFILES
po/stamp-it
data/weather-settings.desktop
staging/

*~
Expand Down
8 changes: 8 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Elad Alfassa <[email protected]>,
Mark Benjamin <[email protected]>,
Simon Claessens <[email protected]>,
Ecyrbe <[email protected]>,
Timur Kristóf <[email protected]>,
Simon Legner <[email protected]>,
Mattia Meneguzzo <[email protected]>,
Christian Metzler <[email protected]>
47 changes: 46 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,49 @@
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}

SUBDIRS = src po
SUBDIRS = src data po

uuid = "[email protected]"

localprefix = $(HOME)/.local/share/gnome-shell/extensions

zip-file: all
rm -fR $(builddir)/_build
rm -fR $(builddir)/zip-file
$(MKDIR_P) $(builddir)/_build; \
$(MKDIR_P) $(builddir)/zip-file; \
$(MAKE) install DESTDIR="$(abs_builddir)/_build"; \
cp -r "$(builddir)/_build$(datadir)/gnome-shell/extensions/$(uuid)" "$(builddir)/_build"; \
if [ -f "$(builddir)/_build$(datadir)/glib-2.0/schemas/org.gnome.shell.extensions.weather.gschema.xml" ]; then \
$(MKDIR_P) "$(builddir)/_build/$(uuid)/schemas"; \
mv "$(builddir)/_build$(datadir)/glib-2.0/schemas/org.gnome.shell.extensions.weather.gschema.xml" "$(builddir)/_build/$(uuid)/schemas"; \
glib-compile-schemas "$(builddir)/_build/$(uuid)/schemas"; \
fi; \
cp -r "$(builddir)/_build$(datadir)/locale" "$(builddir)/_build/$(uuid)"; \
(cd "$(builddir)/_build/$(uuid)/"; \
zip -qr "$(abs_builddir)/zip-file/weather.shell-extension.zip" .; \
); \
rm -fR $(builddir)/_build

local-install: zip-file
zip_file="$(abs_builddir)/zip-file/weather.shell-extension.zip"; \
if [ -d "$(localprefix)/$(uuid)" ]; then \
rm -fR "$(localprefix)/$(uuid)"; \
fi; \
$(MKDIR_P) $(localprefix)/$(uuid); \
(cd $(localprefix)/$(uuid); \
unzip -q $${zip_file}; \
);

dist-hook: dist-changelog

.PHONY: dist-changelog

dist-changelog:
$(AM_V_at)if git --git-dir=$(top_srcdir)/.git --work-tree=$(top_srcdir) \
log --no-merges --pretty='tformat:%cd %an <%ae>%n%n%s%n%n%b' --date=short 2b58327bf183c94c788a13d746373efc22a3f3c1.. | \
$(SED) -e '/^[12]...-[01].-[0123]. [^<>]* <[^<>]*>$$/,/^$$/ b' \
-e '/[^ ]/,/^[ ]*$$/ !d' \
-e 's/^[ ]*/ /' \
-e 's/^[ ]*$$//' >.ChangeLog.tmp; \
then mv -f .ChangeLog.tmp "$(top_distdir)/ChangeLog"; \
else rm -f .ChangeLog.tmp; exit 1; fi
Empty file added NEWS
Empty file.
157 changes: 72 additions & 85 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,130 +1,117 @@
## gnome-shell-extension-weather
# Weather Extension

gnome-shell-extension-weather is a simple extension for displaying weather notifications in GNOME Shell.
![Screenshot](https://f.cloud.github.com/assets/1255506/833069/0f754966-f28b-11e2-9fb3-3ea413919c69.png)

Currently, the weather report including forecast for today and tomorrow is fetched from [Yahoo! Weather](http://weather.yahoo.com/).
[![Gitter chat](https://badges.gitter.im/Neroth/gnome-shell-extension-weather.png)](https://gitter.im/Neroth/gnome-shell-extension-weather)

----

### Screenshots

![Screenshot](https://github.com/simon04/gnome-shell-extension-weather/raw/master/data/screenshot.png)

----

### Installation
*gnome-shell-extension-weather* is a simple extension for displaying weather conditions and forecasts in GNOME Shell, featuring support for multiple locations, no need for WOEID, a symmetrical layout and a settings panel through *gnome-shell-extension-prefs*.

* [Arch Linux](https://aur.archlinux.org/packages.php?ID=49409)
* [Frugalware](http://www.frugalware.org/packages/119339)
* [Ubuntu](https://launchpad.net/~webupd8team/+archive/gnome3/+packages)
* Generic: For a generic installation, run the following commands:
`./autogen.sh --prefix=/usr && make && sudo make install`
* Make sure you have the `libglib2.0-dev` package (or equivalent for your distribution)
installed, or else you'll get an error about `GLIB_GSETTINGS`.
* *Please report further links!*
The weather report include forecasts for ~ 10 days.

That's it!
Support GNOME Shell >= 3.8

### Versions
Contact the author : [Neroth (Christian METZLER)](https://plus.google.com/u/0/106579473281691119257).

Due to incompatible changes between GNOME 3.0 and 3.2, separate versions of this extension are provided:

* For GNOME Shell 3.2, use the `master` branch.
* For GNOME Shell 3.0, use the `gnome3.0` branch.
We need translator ! [Translate the extension](https://github.com/Neroth/gnome-shell-extension-weather/wiki/Translate).

----

### Configuration

gnome-shell-extension-weather uses gsettings to save your configuration. You can use `dconf-editor` or `gsettings` from the command line to modify some parameters.
# Installation

#### Location
## Through extensions.gnome.org (Local installation)

At the moment, only WOEIDs consisting of 4 uppercase letters followed by 4 digits are supported. Determine your WOEID using [edg3.co.uk](http://edg3.co.uk/snippets/weather-location-codes/) or [xoap.weather.com](http://xoap.weather.com/search/search?where=Innsbruck).
Go on the [Weather extension page](https://extensions.gnome.org/extension/613/weather/) on extensions.gnome.org, click on the switch ("OFF" => "ON"), click on the install button.
That's it !

You can specify your location using the following command. Perhaps you need quotation marks as in the second command.
## Through a package manager

gsettings set org.gnome.shell.extensions.weather woeid your_woeid
gsettings set org.gnome.shell.extensions.weather woeid "'your_woeid'"
After the installation, restart GNOME Shell (`Alt`+`F2`, `r`, `Enter`) and enable the extension through *gnome-tweak-tool*.

#### Temperature Units (optional, celsius by default)
### [Ubuntu, Mint, and derivatives](https://launchpad.net/~gnome-shell-extensions/+archive/ppa/+packages)

You can modify the temperature unit using one of the following commands:
Add the PPA *ppa:gnome-shell-extensions* to your source list, update the package list and install *gnome-shell-extension-weather*:

gsettings set org.gnome.shell.extensions.weather unit celsius
gsettings set org.gnome.shell.extensions.weather unit fahrenheit
sudo add-apt-repository ppa:gnome-shell-extensions
sudo apt-get update
sudo apt-get install gnome-shell-extension-weather

#### Displayed Location (optional)
### [Fedora](http://rpmfusion.org/)

Sometimes your WOEID location isn't quite right (it's the next major city around). To customise the displayed city you can type:
Packages for Fedora are available in the [RPM Fusion](http://rpmfusion.org/) repositories. If these are not enabled on your system, please install them through the following command:

gsettings set org.gnome.shell.extensions.weather city your_city
sudo dnf install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
Then, install *gnome-shell-extension-weather*:

#### Translate Weather Conditions (optional, true by default)
sudo dnf install gnome-shell-extension-weather

You may want to configure whether to translate the weather condition. If enabled, the condition is translated based on the weather code. If disabled, the condition string from Yahoo is taken. Note: Enabling the translation sometimes results in loss of accuracy, e.g., the condition string "PM Thunderstorms" cannot be expressed in terms of weather codes.
### [Arch Linux](https://aur.archlinux.org/packages/gnome-shell-extension-weather-git/)

gsettings set org.gnome.shell.extensions.weather translate-condition true
gsettings set org.gnome.shell.extensions.weather translate-condition false
Download the package from AUR, make and install it:

#### Use Symbolic Icons (optional, false by default)
wget https://aur.archlinux.org/packages/gn/gnome-shell-extension-weather-git/gnome-shell-extension-weather-git.tar.gz
tar xvzf gnome-shell-extension-weather-git.tar.gz
cd gnome-shell-extension-weather-git && makepkg -si

## Generic (Local installation)

If desired, you can enable the usage of symbolic icons to display the weather condition (instead of full-colored icons).
Make sure you have the following dependencies installed:
* *gettext*,
* *pkg-config*,
* *git*,
* *glib2*,
* *glib2-devel* or *libglib2.0-dev*,
* *zip*,
* *gnome-common*,
* *autoconf*,
* *automake*,
* *intltool*,
* *gir1.2-gweather-3.0*.

gsettings set org.gnome.shell.extensions.weather use-symbolic-icons false
gsettings set org.gnome.shell.extensions.weather use-symbolic-icons true
Run the following commands:

#### Show Text in Panel (optional, true by default)
cd ~ && git clone git://github.com/Neroth/gnome-shell-extension-weather.git
cd ~/gnome-shell-extension-weather
./autogen.sh && make local-install

Restart GNOME Shell (`Alt`+`F2`, `r`, `Enter`) and enable the extension through *gnome-tweak-tool*.

You can configure whether to show the weather condition text (aka. comment) together with the temperature in the panel (requires restart). If only weather condition text is undesired, consider show-comment-in-panel option.

gsettings set org.gnome.shell.extensions.weather show-text-in-panel true
gsettings set org.gnome.shell.extensions.weather show-text-in-panel false

#### Show Comment in Panel (optional, false by default)

Configures whether to show the comment (aka. weather condition text, e.g. "Windy", "Clear") in the panel. Note that the temperature is still shown (if undesired, consider show-text-in-panel option).

gsettings set org.gnome.shell.extensions.weather show-comment-in-panel false
gsettings set org.gnome.shell.extensions.weather show-comment-in-panel true

#### Position in Panel (optional, center by default)
----

The position of this GNOME Shell extension in the panel can be configured to either 'left', 'center' or 'right' (requires restart of GNOME Shell).
# Configuration

gsettings set org.gnome.shell.extensions.weather position-in-panel center
gsettings set org.gnome.shell.extensions.weather position-in-panel left
gsettings set org.gnome.shell.extensions.weather position-in-panel right
Launch *gnome-shell-extension-prefs* (reachable also through the *Weather Settings* button on the extension popup) and select *Weather* from the drop-down menu to edit the configuration.

#### Refresh Interval (optional, 240 by default)
![Screenshot](https://github.com/neroth/gnome-shell-extension-weather/raw/master/data/weather-settings.gif)

The interval to refresh the weather information may be set arbitrarily and is specified in seconds.
You can also use *dconf-editor* or *gsettings* to configure the extension through the command line.

gsettings set org.gnome.shell.extensions.weather refresh-interval 240
----

#### Restart GNOME Shell
# Debug

Don't forget to restart GNOME Shell:
To debug the extension, active the switch `Debug extension` in the settings:

1. Restart GNOME Shell (`[Alt]+[F2]`, `r`)
2. Fork this project as you like
You have now two new file ("weather-extension.log" and "weather-extension-prefs.log") in your user cache dir (~/.cache/).

----

### Licence
# Licence

Copyright (C) 2011
Ecyrbe <[email protected]>,
Timur Kristóf <[email protected]>,
Elad Alfassa <[email protected]>,
Simon Legner <[email protected]>,
Simon Claessens <[email protected]>
Copyright (C) 2011 - 2014

This file is part of gnome-shell-extension-weather.
* Christian Metzler <[email protected]>,
* Elad Alfassa <[email protected]>,
* Mark Benjamin <[email protected]>,
* Simon Claessens <[email protected]>,
* Ecyrbe <[email protected]>,
* Timur Kristóf <[email protected]>,
* Simon Legner <[email protected]>,
* Mattia Meneguzzo <[email protected]>.

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.
This file is part of *gnome-shell-extension-weather*.

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.
*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.

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/>.
*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/>.
2 changes: 2 additions & 0 deletions autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ test -z "$srcdir" && srcdir=.

PKG_NAME="gnome-shell-extension-weather"

touch ChangeLog

test -f $srcdir/configure.ac || {
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
echo " top-level gnome-shell-extensions directory"
Expand Down
51 changes: 48 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
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],[1.0],[https://github.com/ecyrbe/gnome-shell-extension-weather/issues])
AC_INIT([gnome-shell-extension-weather],[2.0],[https://github.com/Neroth/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])
AM_INIT_AUTOMAKE([1.10 dist-xz no-dist-gzip foreign tar-ustar])

m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])

AC_PROG_SED

GETTEXT_PACKAGE=gnome-shell-extension-weather
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",
Expand All @@ -19,10 +21,53 @@ PKG_PROG_PKG_CONFIG([0.22])

GLIB_GSETTINGS

dnl Please keep this sorted alphabetically
AC_ARG_WITH(desktop-dir, [ --with-desktop-dir=PATH where to install desktop files (default=PREFIX/share)])

if test "x$with_desktop_dir" != x; then
DESKTOP_DATADIR=$with_desktop_dir
else
DESKTOP_DATADIR="$datadir"
fi

AM_CONDITIONAL(DESKTOP_DATADIR, test "x$with_desktop_dir" != xno)
AC_SUBST(DESKTOP_DATADIR)

AC_ARG_WITH([local-install],
[AS_HELP_STRING([--with-local-install],
[install schemas and translations in a subdir of the extension (default is no)])],
[use_local_install=$withval],
[use_local_install=no])

AC_SUBST(use_local_install)
AM_CONDITIONAL(LOCAL_INSTALL, test "x${use_local_install}" == "xyes")

extensiontopdir=${datadir}/gnome-shell/extensions/[email protected]

dnl This is beyond ugly. Suggestions accepted.
if test "x${use_local_install}" == "xyes"; then
AC_SUBST(gsettingsschemadir, [${extensiontopdir}/schemas])
AC_SUBST(LOCALEDIR, [${extensiontopdir}/locale])
else
AC_SUBST(LOCALEDIR, [${datadir}/locale])
fi

dnl Please keep this sorted alphabetically.
AC_CONFIG_FILES([
Makefile
data/Makefile
po/Makefile.in
src/Makefile
])
AC_OUTPUT

dnl 'Fugly hack' doesn't get close to describe this. I don't know how else
dnl to change the directory for translations.
if test "x${use_local_install}" == "xyes"; then
${SED} -i -e "s%itlocaledir = .*%itlocaledir = ${extensiontopdir}/locale%g" po/Makefile
fi

if test "x$use_local_install" == "xyes"; then
echo
echo "The schemas and translations will be installed in subdirectories of the extension."
echo
fi
30 changes: 30 additions & 0 deletions data/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
extensionurl = https://github.com/Neroth/gnome-shell-extension-weather

# Change these to modify how installation is performed
topextensiondir = $(datadir)/gnome-shell/extensions

uuid = [email protected]

extensiondir = $(topextensiondir)/$(uuid)

dist_extension_DATA = stylesheet.css weather-settings.ui

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|[@]url@|$(extensionurl)|" $< > $@

CLEANFILES = metadata.json

gschemas_in = org.gnome.shell.extensions.weather.gschema.xml.in

@INTLTOOL_XML_NOMERGE_RULE@

gsettings_SCHEMAS = $(gschemas_in:.xml.in=.xml) @GSETTINGS_RULES@

EXTRA_DIST += $(gschemas_in)
CLEANFILES += $(gschemas_in:.xml.in=.valid) $(gsettings_SCHEMAS)
Binary file added data/Screenshot.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions data/metadata.json.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"uuid": "@uuid@",
"name": "Weather",
"description": "A simple extension for displaying weather information from several cities in GNOME Shell",
"shell-version": [ "3.8", "3.10", "3.12", "3.14", "3.16", "3.18", "3.20" ],
"localedir": "@LOCALEDIR@",
"url": "@url@"
}
Loading