Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.



Nadworny matematyk




Hej
Siedzę i siedzę... Stwierdziłem, że zainstaluje paczke dla ubuntu no i siedzi w systemie i nic...
pablo@lena:~$ dpkg -l|grep weather ii gnome-shell-extensions-weather 0.1-0+20110812~webupd8~oneiric Weather extension for GNOME Shell ii libgweather-3-0 3.2.1-1 GWeather shared library ii libgweather-common 3.2.1-1 GWeather common files
Ale zanim to zrobiłem to wziąłem 'ze źródeł'... Instalacja:
./autogen.sh --prefix=/usr && make && sudo make install
Zrobiłem Alt+F2 r no i nic... Jakieś rady?
Ostatnio edytowany przez P@blo (2011-11-06 16:16:41)
Offline







Kapelusznik








AFAIR dane rozszerzenie musi być włączone w menedżerze rozszerzeń, który chyba jest częścią gnome-tweak-tool. Masz włączone?
Offline



Nadworny matematyk




No właśnie... W tym gnome-tweak-tool jest coś nie tak bo:
Jak widać jest puste i nic nie mogę zrobić...
Offline


Członek DUG



Nadworny matematyk




Łeeee...
Offline







Kapelusznik








Jest tam też pod 3.0:
For GNOME Shell 3.2, use the master branch.
For GNOME Shell 3.0, use the gnome3.0 branch.
U mnie to działało na 3.0 w Archu. :)
Offline



Nadworny matematyk




Ehh...
"SOA#1"
Offline







Kapelusznik








Czyli działa Ci już?
Offline



Nadworny matematyk




No nie... Napisałem w "" czyli mogłeś tak napisać... BTW nie jestem adminem... ;)
Ale nie wiem czemu nie działa... Może dlatego, że mam tylko gnome-core?? To tweak jest jakieś niedorobione u mnie... Nie mogę zmienić np theme'u... :( Buuu...
Ostatnio edytowany przez P@blo (2011-11-06 14:14:11)
Offline







Kapelusznik








A inne rozszerzenia działają? Skompilowałeś to rozszerzenie ze źródeł dla 3.0?
Offline



Nadworny matematyk




Nie mam innych rozszerzeń... No mówię nawet theme'y nie działają...
A gdzie jest dla 3.0?? No podobno u tego simon.
EDIT:
A po kompilacji coś trzeba jeszcze zrobić??
Ostatnio edytowany przez P@blo (2011-11-06 14:24:56)
Offline







Kapelusznik








To zobacz jakieś inne rozszerzenie czy działa. :) Motywy chyba w innej zakładce się zmienia… I chyba trzeba najpierw włączyć rozszerzenie pozwalające na zmianę motywów, ale pewien tego nie jestem, dość dawno się tym bawiłem ostatnio. Źródła z tego linka co sam podałeś pobierz dla 3.0 z gita.
EDIT:
P@blo napisał(-a):
A po kompilacji coś trzeba jeszcze zrobić??
Zainstalować. :) Jak nie chcesz śmietnika robić, to można użyć checkinstall: debian.linux.pl/threads/14266.
Offline



Nadworny matematyk




No ściągnąłem dla gnome3.0 (tak myślę...) no ale robiąc:
pablo@lena:~/Desktop/simon04-gnome-shell-extension-weather-c1ea18f$ make Making all in src make[1]: Wejście do katalogu `/home/pablo/Desktop/simon04-gnome-shell-extension-weather-c1ea18f/src' Makefile:425: *** brakujący separator. Stop. make[1]: Opuszczenie katalogu `/home/pablo/Desktop/simon04-gnome-shell-extension-weather-c1ea18f/src' make: *** [all-recursive] Błąd 1
Więc lipa... Nie doszedłem do tworzenia paczki...
Przed tym zrobiłem:
pablo@lena:~/Desktop/simon04-gnome-shell-extension-weather-c1ea18f$ ./autogen.sh --prefix=/usr /usr/bin/gnome-autogen.sh checking for autoconf >= 2.53... testing autoconf2.50... not found. testing autoconf... found 2.68 checking for automake >= 1.9... testing automake-1.11... found 1.11.1 checking for intltool >= 0.30... testing intltoolize... found 0.41.1 Checking for required M4 macros... Checking for forbidden M4 macros... Processing ./configure.ac Running intltoolize... Running aclocal-1.11... Running autoconf... Running automake-1.11... 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... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking how to create a ustar tar archive... gnutar 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.41.1 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.12.4 checking for XML::Parser... ok checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.22... yes ./configure: line 4194: GLIB_GSETTINGS: command not found 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
Sory za moje niedoinformowanie... Ale o co chodzi z tym git'em?
Ok chyba wiem... Że niby:
git clone git://github.com/simon04/gnome-shell-extension-weather.git
??
Ostatnio edytowany przez P@blo (2011-11-06 14:53:49)
Offline







Kapelusznik








To jak wcześniej skompilowałeś skoro teraz nie możesz?
P@blo napisał(-a):
Ale o co chodzi z tym git'em
No a jak pobierasz źródła tego rozszerzenia? Dobra, jeszcze raz…
Pobierasz źródła dla gnome3.0:
git clone -b gnome3.0 git://github.com/simon04/gnome-shell-extension-weather.git
Wchodzisz do katalogu:
cd gnome-shell-extension-weather
Jedziesz tak jak w instrukcji do momentu make install:
./autogen.sh --prefix=/usr && make
Zamiast make install tworzysz deba via checkinstall i instalujesz go przez dpkg.
Offline



Nadworny matematyk




ArnVaker napisał(-a):
To jak wcześniej skompilowałeś skoro teraz nie możesz?
No nikt nie powiedział, że kompilacja poprzednia doszła do końca i zadziałała... ;) Paczki miałem bo (jak już napisałem) pobrałem od simon'a dla ubuntu. No ale już tego nie ma.
ArnVaker napisał(-a):
No a jak pobierasz źródła tego rozszerzenia?
Normalnie... Przez klik. Jest na stronie download. :)
Zrobiłem jak napisałeś już wcześniej no ale to samo... 'brakujący separator .'
Ostatnio edytowany przez P@blo (2011-11-06 15:03:58)
Offline







Kapelusznik








P@blo napisał(-a):
Normalnie... Przez klik. Jest na stronie download. :)
/me nie widzi jak pobrać tam źródła dla 3.0, można chyba całość tylko…
aptitude install libgnome-desktop-3-dev
Offline



Nadworny matematyk




ArnVaker napisał(-a):
/me nie widzi jak pobrać tam źródła dla 3.0, można chyba całość tylko…
No jak... Po prawej masz "Current branch" wybierasz gnome 3.0 a wyżej potem masz "zip"... Poza tym jak widać w moim przypadku, czy tak czy tak, ten sam błąd.
No ok... Niby ten libgnome pomógł, ale przy tworzeniu paczek:
Building Debian package... FAILED! *** Failed to build the package Do you want to see the log file? [y]: y
log:
dpkg-deb: error: parsing file '/var/tmp/tmp.FOoI6vF43F/package/DEBIAN/control' near line 7 package 'gnome-shell-extension': error in Version string 'weather-1': version number does not start with digit
Ostatnio edytowany przez P@blo (2011-11-06 15:21:40)
Offline







Kapelusznik








P@blo napisał(-a):
Po prawej masz "Current branch" wybierasz gnome 3.0 a wyżej potem masz "zip"...
Gdzie ten zip? Widzę go tylko po kliknięciu w downloads, ale po kliknięciu w downloads nie jestem już na 3.0, czyli pobieram całość.
P@blo napisał(-a):
No a co z tym libgnome? Zainstalowałem (dużo tego).
Powinno się skompilować po doinstalowaniu tego.
P@blo napisał(-a):
error in Version string 'weather-1': version number does not start with digit
Chyba nie trzeba tego tłumaczyć… Zmień wersję przy tworzeniu pakietu na np. samo 1 (bez weather).
Offline



Nadworny matematyk




No tłumaczyć nie trzeba:
pablo@lena:~/Desktop/gnome-shell-extension-weather$ checkinstall -D --install=no --pkgversion="2"
checkinstall 1.6.2, Copyright 2009 Felipe Eduardo Sanchez Diaz Duran
This software is released under the GNU GPL.
*****************************************
**** Debian package creation selected ***
*****************************************
This package will be built according to these values:
0 - Maintainer: [ pablo@lena ]
1 - Summary: [ Paczki ]
2 - Name: [ gnome-shell-extension ]
3 - Version: [ 2 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ checkinstall ]
7 - Architecture: [ amd64 ]
8 - Source location: [ gnome-shell-extension-weather ]
9 - Alternate source location: [ ]
10 - Requires: [ ]
11 - Provides: [ gnome-shell-extension ]
12 - Conflicts: [ ]
13 - Replaces: [ ]
Enter a number to change any of them or press ENTER to continue:
Installing with make install...
========================= Installation results ===========================
Making install in src
make[1]: Wejście do katalogu `/home/pablo/Desktop/gnome-shell-extension-weather/src'
make[2]: Wejście do katalogu `/home/pablo/Desktop/gnome-shell-extension-weather/src'
make[2]: Nie ma nic do zrobienia w `install-exec-am'.
test -z "/usr/share/gnome-shell/extensions/weather@gnome-shell-extensions.gnome.org" || /bin/mkdir -p "/usr/share/gnome-shell/extensions/weather@gnome-shell-extensions.gnome.org"
/usr/bin/install -c -m 644 extension.js stylesheet.css '/usr/share/gnome-shell/extensions/weather@gnome-shell-extensions.gnome.org'
test -z "/usr/share/gnome-shell/extensions/weather@gnome-shell-extensions.gnome.org" || /bin/mkdir -p "/usr/share/gnome-shell/extensions/weather@gnome-shell-extensions.gnome.org"
/usr/bin/install -c -m 644 metadata.json '/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" || /bin/mkdir -p "/usr/share/glib-2.0/schemas"; \
/usr/bin/install -c -m 644 org.gnome.shell.extensions.weather.gschema.xml "/usr/share/glib-2.0/schemas"; \
test -n "" || /usr/lib/glib-2.0/glib-compile-schemas /usr/share/glib-2.0/schemas; \
fi
make[2]: Opuszczenie katalogu `/home/pablo/Desktop/gnome-shell-extension-weather/src'
make[1]: Opuszczenie katalogu `/home/pablo/Desktop/gnome-shell-extension-weather/src'
Making install in po
make[1]: Wejście do katalogu `/home/pablo/Desktop/gnome-shell-extension-weather/po'
linguas="ca cs de es fi fr it nb nl pl ro ru sv "; \
for lang in $linguas; do \
dir=/usr/share/locale/$lang/LC_MESSAGES; \
/bin/bash /home/pablo/Desktop/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 /usr/share/locale/ca/LC_MESSAGES/gnome-shell-extension-weather.mo
installing cs.gmo as /usr/share/locale/cs/LC_MESSAGES/gnome-shell-extension-weather.mo
installing de.gmo as /usr/share/locale/de/LC_MESSAGES/gnome-shell-extension-weather.mo
installing es.gmo as /usr/share/locale/es/LC_MESSAGES/gnome-shell-extension-weather.mo
installing fi.gmo as /usr/share/locale/fi/LC_MESSAGES/gnome-shell-extension-weather.mo
installing fr.gmo as /usr/share/locale/fr/LC_MESSAGES/gnome-shell-extension-weather.mo
installing it.gmo as /usr/share/locale/it/LC_MESSAGES/gnome-shell-extension-weather.mo
installing nb.gmo as /usr/share/locale/nb/LC_MESSAGES/gnome-shell-extension-weather.mo
installing nl.gmo as /usr/share/locale/nl/LC_MESSAGES/gnome-shell-extension-weather.mo
installing pl.gmo as /usr/share/locale/pl/LC_MESSAGES/gnome-shell-extension-weather.mo
installing ro.gmo as /usr/share/locale/ro/LC_MESSAGES/gnome-shell-extension-weather.mo
installing ru.gmo as /usr/share/locale/ru/LC_MESSAGES/gnome-shell-extension-weather.mo
installing sv.gmo as /usr/share/locale/sv/LC_MESSAGES/gnome-shell-extension-weather.mo
make[1]: Opuszczenie katalogu `/home/pablo/Desktop/gnome-shell-extension-weather/po'
make[1]: Wejście do katalogu `/home/pablo/Desktop/gnome-shell-extension-weather'
make[2]: Wejście do katalogu `/home/pablo/Desktop/gnome-shell-extension-weather'
make[2]: Nie ma nic do zrobienia w `install-exec-am'.
make[2]: Nie ma nic do zrobienia w `install-data-am'.
make[2]: Opuszczenie katalogu `/home/pablo/Desktop/gnome-shell-extension-weather'
make[1]: Opuszczenie katalogu `/home/pablo/Desktop/gnome-shell-extension-weather'
======================== Installation successful ==========================
Copying documentation directory...
./
./README.md
./NEWS
./COPYING
chown: zmiana właściciela `/var/tmp/tmp.EO8jqD55f5/package//usr/share/doc/gnome-shell-extension/README.md': Operacja niedozwolona
chown: zmiana właściciela `/var/tmp/tmp.EO8jqD55f5/package//usr/share/doc/gnome-shell-extension/NEWS': Operacja niedozwolona
chown: zmiana właściciela `/var/tmp/tmp.EO8jqD55f5/package//usr/share/doc/gnome-shell-extension/COPYING': Operacja niedozwolona
chown: zmiana właściciela `/var/tmp/tmp.EO8jqD55f5/package//usr/share/doc/gnome-shell-extension': Operacja niedozwolona
Copying files to the temporary directory...OK
Stripping ELF binaries and libraries...OK
Compressing man pages...OK
Building file list...OK
Building Debian package...OK
NOTE: The package will not be installed
Erasing temporary files...OK
Deleting temp dir...OK
**********************************************************************
Done. The new package has been saved to
/home/pablo/Desktop/gnome-shell-extension-weather/gnome-shell-extension_2-1_amd64.deb
You can install it in your system anytime using:
dpkg -i gnome-shell-extension_2-1_amd64.deb
**********************************************************************pablo@lena:~/Desktop/gnome-shell-extension-weather$ sudo dpkg -i gnome-shell-extension_2-1_amd64.deb Selecting previously unselected package gnome-shell-extension. (Odczytywanie bazy danych ... 118343 files and directories currently installed.) Rozpakowanie gnome-shell-extension (z gnome-shell-extension_2-1_amd64.deb) ... Konfigurowanie gnome-shell-extension (2-1) ... Przetwarzanie wyzwalaczy dla libglib2.0-0...
pablo@lena:~/Desktop/gnome-shell-extension-weather$ dpkg -l|grep Paczki ii gnome-shell-extension 2-1 Paczki
No niby siedzi... W gnome-tweak-tool pojawiło się weather, ale... Nie mam możliwości włączenia tego...
Ostatnio edytowany przez P@blo (2011-11-06 15:38:38)
Offline

Członek DUG


A u mnie jest cos tam do wyboru ale nie działa ;/
pewnie dla tego że nic ciekawego nie ma:
dpkg -l|grep weatherii libgweather-3-0 3.2.1-1 GWeather shared library ii libgweather-common 3.2.1-1 GWeather common files
bo procesz przebiegł tak:
./autogen.sh --prefix=/usr && make && make checkinstall /usr/bin/gnome-autogen.sh checking for autoconf >= 2.53... testing autoconf2.50... not found. testing autoconf... found 2.68 checking for automake >= 1.9... testing automake-1.11... found 1.11.1 checking for intltool >= 0.30... testing intltoolize... found 0.41.1 Checking for required M4 macros... Checking for forbidden M4 macros... Processing ./configure.ac Running intltoolize... Running aclocal-1.11... Running autoconf... Running automake-1.11... 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... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking how to create a ustar tar archive... gnutar 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.41.1 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.12.4 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 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]: Wejście do katalogu `/home/rafal/gnome-shell-extension-weather/src' GEN metadata.json make[1]: Opuszczenie katalogu `/home/rafal/gnome-shell-extension-weather/src' Making all in po make[1]: Wejście do katalogu `/home/rafal/gnome-shell-extension-weather/po' make[1]: Nie ma nic do zrobienia w `all'. make[1]: Opuszczenie katalogu `/home/rafal/gnome-shell-extension-weather/po' make[1]: Wejście do katalogu `/home/rafal/gnome-shell-extension-weather' make[1]: Nie ma nic do zrobienia w `all-am'. make[1]: Opuszczenie katalogu `/home/rafal/gnome-shell-extension-weather' make: *** Brak reguł do wykonania obiektu `checkinstall'. Stop.
sorry, ze sie wpie***rdzielam w twój temat ;-p

Offline



Nadworny matematyk




Spoko... U mnie wygląda identycznie... Dobrze, że zamieściłeś zdjęcie :) No ale make checkinstll? To chyba nie tak ma być??
Offline







Kapelusznik








Jesteś w 100% pewien, że zbudowałeś wersję dla 3.0, a nie 3.2? Jeżeli to nie to, to nie wiem co mu dolega.
Offline



Nadworny matematyk




Nie wiem do kogo piszesz Arn ale jak do mnie to zrobiłem tak jak kazałeś... Ściągnąłem z git'a tak jak kazałeś... No to chyba to jest 3.0 nie??
BTW:
Znalazłem jeszcze coś takiego. Może ktoś to obczai? Ale nie zmuszam :D
EDIT:
zrobiłem jeszcze coś takiego:
$ sudo aptitude install libgweather-dev
I to jest rozwiązanie :)
Dzięki Arn :D
Ostatnio edytowany przez P@blo (2011-11-06 16:15:42)
Offline







Kapelusznik








P@blo napisał(-a):
Dzięki Arn :D
Za nieznalezienie rozwiązania? ;) Spoko…
Ten pakiet trzeba doinstalować przed kompilacją czy po prostu wystarczyło go doinstalować?
Offline



Nadworny matematyk




Nie, za całą resztę :) Np za info o checkinstall :) Prawda jest taka, że całą resztę zrobiłeś za mnie :)
Po prostu zainstalować. Pomyślałem sobie, że skoro to są rozszerzenia, to może taki pakiet pomoże z *-dev dla pogody... No i pomógł :)
Ostatnio edytowany przez P@blo (2011-11-06 16:30:27)
Offline