How to add Gnome-Shell Weather Extension on Arch Linux

Easy as you like..follow the below description…if you don’t like the description below then why not look in here for your mental peace!!

WGET:


-git.tar.gzhLinux_10:40:55_Mon Nov 26:~> wget https://aur.archlinux.org/packages/gn/gnome-shell-extension-weather-neroth-git/gnome-shell-extension-weather-neroth
--2012-11-26 10:41:01-- https://aur.archlinux.org/packages/gn/gnome-shell-extension-weather-neroth-git/gnome-shell-extension-weather-neroth-git.tar.gz
Resolving aur.archlinux.org (aur.archlinux.org)... 78.46.78.247, 2a01:4f8:120:34c2::2
Connecting to aur.archlinux.org (aur.archlinux.org)|78.46.78.247|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1023 [application/x-gzip]
Saving to: ‘gnome-shell-extension-weather-neroth-git.tar.gz

100%[======================================================================================================================================================>] 1,023 --.-K/s in 0s

2012-11-26 10:41:03 (130 MB/s) - ‘gnome-shell-extension-weather-neroth-git.tar.gz’ saved [1023/1023]

UNTAR:

bhaskar@ArchLinux_10:41:03_Mon Nov 26:~> tar -xvzf gnome-shell-extension-weather-neroth-git.tar.gz
gnome-shell-extension-weather-neroth-git/
gnome-shell-extension-weather-neroth-git/PKGBUILD
gnome-shell-extension-weather-neroth-git/gschemas.install
bhaskar@ArchLinux_10:41:39_Mon Nov 26:~> cd gnome-shell-extension-weather-neroth-git
bhaskar@ArchLinux_10:41:43_Mon Nov 26:~/gnome-shell-extension-weather-neroth-git> ls
gschemas.install PKGBUILD

MakePKG:

bhaskar@ArchLinux_10:41:44_Mon Nov 26:~/gnome-shell-extension-weather-neroth-git> makepkg -si
==> Determining latest git revision...
-> Version found: 20121126
==> Making package: gnome-shell-extension-weather-neroth-git 20121126-1 (Mon Nov 26 10:41:54 IST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Starting build()...
==> Connecting to GIT server....
Cloning into 'gnome-shell-extension-weather'...
remote: Counting objects: 1795, done.
remote: Compressing objects: 100% (742/742), done.
remote: Total 1795 (delta 1246), reused 1551 (delta 1017)
Receiving objects: 100% (1795/1795), 2.30 MiB | 60 KiB/s, done.
Resolving deltas: 100% (1246/1246), done.
==> GIT checkout done or server timeout
/usr/bin/gnome-autogen.sh
checking for autoconf >= 2.53...
testing autoconf2.50... not found.
testing autoconf... found 2.69
checking for automake >= 1.9...
testing automake-1.12... found 1.12.5
checking for intltool >= 0.25...
testing intltoolize... found 0.50.2
Checking for required M4 macros...
Checking for forbidden M4 macros...
Processing ./configure.ac
Running intltoolize...
Running aclocal-1.12...
Running autoconf...
Running automake-1.12...
configure.ac:8: installing 'config/install-sh'
configure.ac:8: installing 'config/missing'
Running ./configure --prefix=/usr ...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... yes
checking whether NLS is requested... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... none
checking for intltool >= 0.26... 0.50.2 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.16.2
checking for XML::Parser... ok
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.22... yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating src/Makefile
config.status: executing depfiles commands
config.status: executing po/stamp-it commands
Now type `make' to compile gnome-shell-extension-weather
Making all in src
make[1]: Entering directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather/src'
GEN weather-settings
GEN weather-settings.desktop
GEN metadata.json
ITMRG org.gnome.shell.extensions.weather.gschema.xml
GEN org.gnome.shell.extensions.weather.gschema.valid
make[1]: Leaving directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather/src'
Making all in po
make[1]: Entering directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather/po'
MSGFMT ca.gmo
MSGFMT cs.gmo
MSGFMT da.gmo
MSGFMT de.gmo
MSGFMT es.gmo
MSGFMT fi.gmo
MSGFMT fr.gmo
MSGFMT he.gmo
MSGFMT it.gmo
MSGFMT ja.gmo
MSGFMT lt.gmo
MSGFMT nb.gmo
MSGFMT nl.gmo
MSGFMT pt.gmo
MSGFMT ro.gmo
MSGFMT ru.gmo
MSGFMT sk.gmo
MSGFMT sv.gmo
MSGFMT uk.gmo
MSGFMT vi.gmo
MSGFMT zh_CN.gmo
MSGFMT zh_TW.gmo
MSGFMT pl.gmo
make[1]: Leaving directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather/po'
make[1]: Entering directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather'
==> Entering fakeroot environment...
==> Starting package()...
Making install in src
make[1]: Entering directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather/src'
make[2]: Entering directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather/src'
make[2]: Nothing to be done for `install-exec-am'.
/usr/bin/mkdir -p '/home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/applications'
/usr/bin/install -c -m 644 weather-settings.desktop '/home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/applications'
/usr/bin/mkdir -p '/home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/gnome-shell/extensions/weather@gnome-shell-extensions.gnome.org'
/usr/bin/install -c -m 644 extension.js stylesheet.css weather-settings.ui '/home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/gnome-shell/extensions/weather@gnome-shell-extensions.gnome.org'
/usr/bin/mkdir -p '/home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/gnome-shell/extensions/weather@gnome-shell-extensions.gnome.org'
/usr/bin/install -c -m 644 metadata.json '/home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/gnome-shell/extensions/weather@gnome-shell-extensions.gnome.org'
/usr/bin/mkdir -p '/home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/gnome-shell/extensions/weather@gnome-shell-extensions.gnome.org'
/usr/bin/install -c weather-settings '/home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/gnome-shell/extensions/weather@gnome-shell-extensions.gnome.org'
if test -n "org.gnome.shell.extensions.weather.gschema.xml"; then \
test -z "/usr/share/glib-2.0/schemas" || /usr/bin/mkdir -p "/home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/glib-2.0/schemas"; \
/usr/bin/install -c -m 644 org.gnome.shell.extensions.weather.gschema.xml "/home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/glib-2.0/schemas"; \
test -n "/home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg" || glib-compile-schemas /usr/share/glib-2.0/schemas; \
fi
make[2]: Leaving directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather/src'
make[1]: Leaving directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather/src'
Making install in po
make[1]: Entering directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather/po'
linguas="ca cs da de es fi fr he it ja lt nb nl pt ro ru sk sv uk vi zh_CN zh_TW pl "; \
for lang in $linguas; do \
dir=/home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/$lang/LC_MESSAGES; \
/bin/sh /home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather/config/install-sh -d $dir; \
if test -r $lang.gmo; then \
/usr/bin/install -c -m 644 $lang.gmo $dir/gnome-shell-extension-weather.mo; \
echo "installing $lang.gmo as $dir/gnome-shell-extension-weather.mo"; \
else \
/usr/bin/install -c -m 644 ./$lang.gmo $dir/gnome-shell-extension-weather.mo; \
echo "installing ./$lang.gmo as" \
"$dir/gnome-shell-extension-weather.mo"; \
fi; \
if test -r $lang.gmo.m; then \
/usr/bin/install -c -m 644 $lang.gmo.m $dir/gnome-shell-extension-weather.mo.m; \
echo "installing $lang.gmo.m as $dir/gnome-shell-extension-weather.mo.m"; \
else \
if test -r ./$lang.gmo.m ; then \
/usr/bin/install -c -m 644 ./$lang.gmo.m \
$dir/gnome-shell-extension-weather.mo.m; \
echo "installing ./$lang.gmo.m as" \
"$dir/gnome-shell-extension-weather.mo.m"; \
else \
true; \
fi; \
fi; \
done
installing ca.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/ca/LC_MESSAGES/gnome-shell-extension-weather.mo
installing cs.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/cs/LC_MESSAGES/gnome-shell-extension-weather.mo
installing da.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/da/LC_MESSAGES/gnome-shell-extension-weather.mo
installing de.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/de/LC_MESSAGES/gnome-shell-extension-weather.mo
installing es.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/es/LC_MESSAGES/gnome-shell-extension-weather.mo
installing fi.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/fi/LC_MESSAGES/gnome-shell-extension-weather.mo
installing fr.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/fr/LC_MESSAGES/gnome-shell-extension-weather.mo
installing he.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/he/LC_MESSAGES/gnome-shell-extension-weather.mo
installing it.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/it/LC_MESSAGES/gnome-shell-extension-weather.mo
installing ja.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/ja/LC_MESSAGES/gnome-shell-extension-weather.mo
installing lt.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/lt/LC_MESSAGES/gnome-shell-extension-weather.mo
installing nb.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/nb/LC_MESSAGES/gnome-shell-extension-weather.mo
installing nl.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/nl/LC_MESSAGES/gnome-shell-extension-weather.mo
installing pt.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/pt/LC_MESSAGES/gnome-shell-extension-weather.mo
installing ro.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/ro/LC_MESSAGES/gnome-shell-extension-weather.mo
installing ru.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/ru/LC_MESSAGES/gnome-shell-extension-weather.mo
installing sk.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/sk/LC_MESSAGES/gnome-shell-extension-weather.mo
installing sv.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/sv/LC_MESSAGES/gnome-shell-extension-weather.mo
installing uk.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/uk/LC_MESSAGES/gnome-shell-extension-weather.mo
installing vi.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/vi/LC_MESSAGES/gnome-shell-extension-weather.mo
installing zh_CN.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/zh_CN/LC_MESSAGES/gnome-shell-extension-weather.mo
installing zh_TW.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/zh_TW/LC_MESSAGES/gnome-shell-extension-weather.mo
installing pl.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/pl/LC_MESSAGES/gnome-shell-extension-weather.mo
make[1]: Leaving directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather/po'
make[1]: Entering directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather'
make[2]: Entering directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather'
make[1]: Leaving directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather'
==> Tidying install...
-> Purging unwanted files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
==> Creating package...
-> Generating .PKGINFO file...
-> Adding install file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: gnome-shell-extension-weather-neroth-git 20121126-1 (Mon Nov 26 10:43:30 IST 2012)
==> Installing package gnome-shell-extension-weather-neroth-git with pacman -U...
[sudo] password for bhaskar:
loading packages...
resolving dependencies...
looking for inter-conflicts...

Targets (1): gnome-shell-extension-weather-neroth-git-20121126-1

Total Installed Size: 0.44 MiB
Net Upgrade Size: 0.02 MiB

Proceed with installation? [Y/n] y
(1/1) checking package integrity [#####################################################################] 100%
(1/1) loading package files [#####################################################################] 100%
(1/1) checking for file conflicts [#####################################################################] 100%
(1/1) checking available disk space [#####################################################################] 100%
(1/1) upgrading gnome-shell-extension-weather-neroth-git [#####################################################################] 100%

Just restart GNOME Shell ([Alt]+[F2], r).
What new ?
* Number localization
* Forcast temp modification
* Add a submenu for choose locations
* Add Beaufort scale + kPa unit
* Fix bug (delete all locations bug)
For more informations, see https://github.com/Neroth/gnome-shell-extension-weather.

bhaskar@ArchLinux_10:43:55_Mon Nov 26:~/gnome-shell-extension-weather-neroth-git> cd ~
bhaskar@ArchLinux_10:44:05_Mon Nov 26:~>
[ ArchLinux ][ 0-$ bash (1*$ bash) ][0.42 0.46 0.51][ 11/26 10:44 ]
installing sk.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/sk/LC_MESSAGES/gnome-shell-extension-weather.mo
installing sv.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/sv/LC_MESSAGES/gnome-shell-extension-weather.mo
installing uk.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/uk/LC_MESSAGES/gnome-shell-extension-weather.mo
installing vi.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/vi/LC_MESSAGES/gnome-shell-extension-weather.mo
installing zh_CN.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/zh_CN/LC_MESSAGES/gnome-shell-extension-weather.mo
installing zh_TW.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/zh_TW/LC_MESSAGES/gnome-shell-extension-weather.mo
installing pl.gmo as /home/bhaskar/gnome-shell-extension-weather-neroth-git/pkg/usr/share/locale/pl/LC_MESSAGES/gnome-shell-extension-weather.mo
make[1]: Leaving directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather/po'
make[1]: Entering directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather'
make[2]: Entering directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather'
make[1]: Leaving directory `/home/bhaskar/gnome-shell-extension-weather-neroth-git/src/gnome-shell-extension-weather'
==> Tidying install...
-> Purging unwanted files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
==> Creating package...
-> Generating .PKGINFO file...
-> Adding install file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: gnome-shell-extension-weather-neroth-git 20121126-1 (Mon Nov 26 10:43:30 IST 2012)
==> Installing package gnome-shell-extension-weather-neroth-git with pacman -U...
[sudo] password for bhaskar:
loading packages...
resolving dependencies...
looking for inter-conflicts...

Targets (1): gnome-shell-extension-weather-neroth-git-20121126-1

Total Installed Size: 0.44 MiB
Net Upgrade Size: 0.02 MiB

Proceed with installation? [Y/n] y
(1/1) checking package integrity [#####################################################################] 100%
(1/1) loading package files [#####################################################################] 100%
(1/1) checking for file conflicts [#####################################################################] 100%
(1/1) checking available disk space [#####################################################################] 100%
(1/1) upgrading gnome-shell-extension-weather-neroth-git [#####################################################################] 100%

Just restart GNOME Shell ([Alt]+[F2], r).
What new ?
* Number localization
* Forcast temp modification
* Add a submenu for choose locations
* Add Beaufort scale + kPa unit
* Fix bug (delete all locations bug)
For more informations, see https://github.com/Neroth/gnome-shell-extension-weather.

Hope this will help.

Cheers!
Bhaskar

About these ads

About unixbhaskar
Sr Consultant GNU/Linux and Networking

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 93 other followers

%d bloggers like this: