Page 1 sur 1

Mise à jour xfce4-weather-plugin

Posté : lun. 17 mars 2025 12:35
par Ahoc
Bonjour à tous
Depuis plusieurs jours, le plugin météo de XFCE ne fournit plus les données météo.
Le bug a été signalé, et une mise à jour par les dépôts est attendue.
https://mail.xfce.org/pipermail/xfce/20 ... 38447.html.

Une solution plus rapide peut elle être envisager, par exemple télécharger la nouvelle version du plugin (elle existe, mais je n'arrive pas à la trouver) et
l'installer directement .
Dans l'affirmative, merci de m'indiquer le marche à suivre (niveau débutant).

Re: Mise à jour xfce4-weather-plugin

Posté : lun. 17 mars 2025 14:16
par alv37
Slt,
Ahoc a écrit : lun. 17 mars 2025 12:35(elle existe, mais je n'arrive pas à la trouver)
elle est dispo ici => https://archive.xfce.org/src/panel-plug ... ugin/0.11/
Ahoc a écrit : lun. 17 mars 2025 12:35( merci de m'indiquer le marche à suivre (niveau débutant).
  1. Tu télécharge l'archive de la version 0.11.3
  2. Une fois télécharger, tu décompresse l'archive
  3. Tu ouvre le dossier (xfce4-weather-plugin-0.11.3)
  4. Tu ouvre un Terminal depuis le dossier (en faisant un clique droit dans un espace vide du dossier puis en choisissant Ouvrir dans un Terminal)
  5. Tu tape les commandes suivantes (dans l'ordre):

    Code : Tout sélectionner

    ./configure --prefix=/usr

    Code : Tout sélectionner

    make

    Code : Tout sélectionner

    sudo make install

Re: Mise à jour xfce4-weather-plugin

Posté : lun. 17 mars 2025 14:55
par Ahoc
Bonjour alv37
Merci pour ton aide

J'ai trouvé l'archive que j'ai décompressée sur mon bureau.

Problème avec l'installation :

Code : Tout sélectionner

 aliho@aliho-SATELLITE-C870-196:~/Bureau/xfce4-weather-plugin-0.11.3$ ./configure --prefix=/usr
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... (cached) yes
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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking how to print strings... printf
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for math.h... yes
checking for stdarg.h... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for time.h... yes
checking for cos in -lm... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by gcc... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking how to run the C preprocessor... gcc -E
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gtk+-3.0 >= 3.22.0... not found
*** The required package gtk+-3.0 was not found on your system.
*** Please install gtk+-3.0 (atleast version 3.22.0) or adjust
*** the PKG_CONFIG_PATH environment variable if you
*** installed the package in a nonstandard prefix so that
*** pkg-config is able to find it.

Code : Tout sélectionner

aliho@aliho-SATELLITE-C870-196:~/Bureau/xfce4-weather-plugin-0.11.3$ make
make: *** Pas de cible spécifiée et aucun makefile n'a été trouvé. Arrêt.

Code : Tout sélectionner

aliho@aliho-SATELLITE-C870-196:~/Bureau/xfce4-weather-plugin-0.11.3$ sudo make install
[sudo] Mot de passe de aliho :       
make: *** Aucune règle pour fabriquer la cible « install ». Arrêt.
aliho@aliho-SATELLITE-C870-196:~/Bureau/xfce4-weather-plugin-0.11.3$

Re: Mise à jour xfce4-weather-plugin

Posté : lun. 17 mars 2025 17:00
par alv37
Il te manquent quelques paquet qui sont nécessaire à la compilation.

Code : Tout sélectionner

sudo apt install pkg-config libgtk-3-dev
Une fois installer relance la 1er commande uniquement et donne le retour de commande (histoire de voir s'il manque d'autre paquets) et si tous est bon tu pourra lancer la suite.

PS: Quand tu poste le retour de commande sur le forum, utilise la balise code (</>), qui rendra le résultat plus lisible.

Re: Mise à jour xfce4-weather-plugin

Posté : lun. 17 mars 2025 17:17
par Ahoc

Code : Tout sélectionner

aliho@aliho-SATELLITE-C870-196:~/Bureau/xfce4-weather-plugin-0.11.3$ ./configure --prefix=/usr
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... (cached) yes
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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking how to print strings... printf
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for math.h... yes
checking for stdarg.h... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for time.h... yes
checking for cos in -lm... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by gcc... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking how to run the C preprocessor... gcc -E
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gtk+-3.0 >= 3.22.0... 3.24.41
checking GTK_CFLAGS... -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread 
checking GTK_LIBS... -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gthread-2.0 >= 2.64.0... 2.80.0
checking GTHREAD_CFLAGS... -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
checking GTHREAD_LIBS... -lgthread-2.0 -pthread -lglib-2.0 
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for glib-2.0 >= 2.64.0... 2.80.0
checking GLIB_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
checking GLIB_LIBS... -lglib-2.0 
configure: setting GLIB_VERSION_MAX_ALLOWED and GLIB_VERSION_MIN_REQUIRED according to 2.64.0
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libxfce4util-1.0 >= 4.12.0... not found
*** The required package libxfce4util-1.0 was not found on your system.
*** Please install libxfce4util-1.0 (atleast version 4.12.0) or adjust
*** the PKG_CONFIG_PATH environment variable if you
*** installed the package in a nonstandard prefix so that
*** pkg-config is able to find it.
aliho@aliho-SATELLITE-C870-196:~/Bureau/xfce4-weather-plugin-0.11.3$ 


Re: Mise à jour xfce4-weather-plugin

Posté : lun. 17 mars 2025 19:53
par alv37
Je viens de faire des test en VM, il faut installer tous ces paquets:

Code : Tout sélectionner

sudo apt install libxfce4util-dev libxfce4ui-2-dev libxfce4panel-2.0-dev libxml2-dev libsoup2.4-dev libjson-c-dev
Ensuite faut supprimer la version actuel du plugin (en le supprimant du panneau) puis via la commande

Code : Tout sélectionner

sudo apt remove xfce4-weather-plugin
Ensuite tu peux exécuter les 3 commandes et si aucune erreur, tu n'as plus qu'a rajouter le plugin de nouveau à ton panneau et normalement ça fonctionne.

Re: Mise à jour xfce4-weather-plugin

Posté : lun. 17 mars 2025 20:53
par Ahoc
:D
Tout fonctionne parfaitement, j'ai retrouvé ma météo préférée.
Un grand merci à toi alv37
Cordialement.