You are not logged in.
Pages: 1
Bonjour,
cPige est maintenant disponible en version 1.7 et 1.6.
Est-il possible compiler l'une de ces versions ?
Merci.
Amitiés
==================english with deepL===================
Hello,
cPige is now available in version 1.7 and 1.6.
Is it possible to compile one of these versions ?
Thank you.
Best regards
Offline
Bonjour,
A tester : https://cook.slitaz.org/cooker.cgi?download=cpige-1.7.tazpkg
Offline
Bonjour,
merci pour le travail.
Je regarde et reviens d'ici demain 21 juillet 22 pour le résultat :
1- en ligne de commande,
2- via interface graphique.
Bonne journée
Amitiés.
Offline
Bonjour Bellard,
testé cpige et cpigeGUI après avoir créé un fichier cpige.conf sous Slitaz Rolling v20220529 en liveCD/liveDVD avec RAM = 1 Go.
url retenue : url = "http://radioclassique.ice.infomaniak.ch/radioclassique-high.mp3"
J'ai compilé cpige 1.7 (make pour cpige et ./configure && make pour cpige, comme précisé par ed) pour Toutou Slaxen 6.0 et testé cpige avec succès, mais échec pour cpigeGUI.
Sous Slitaz Rolling, voici les messages qui s'affichent en terminal (partie 1 pour cpigeGUI et partie 2 pour cpige) :
=========================Partie 1 - CPIGEGUI========================
tux@slitaz:~$ cpigeGUI
(cpigeGUI:7944): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
(cpigeGUI:7944): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
(cpigeGUI:7944): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
(cpigeGUI:7944): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
Warning: no pid file defined. Using /var/run/cpige.pid
cpige: ../sysdeps/unix/sysv/linux/getpagesize.c:32: __getpagesize: Assertion `_rtld_global_ro._dl_pagesize != 0' failed.
---------------------------------------------
Boite de dialogue = "cPige exited"
=====================Partie 2 - CPIGE===================
tux@slitaz:~$ cpige -c /home/tux/cpige.conf
Reading config file: /home/tux/cpige.conf
Warning: no pid file defined. Using /var/run/cpige.pid
cpige: ../sysdeps/unix/sysv/linux/getpagesize.c:32: __getpagesize: Assertion `_rtld_global_ro._dl_pagesize != 0' failed.
Abandon
============================================
A priori, pas de dépendance manquante, même si [c]tazpkg depends --mark cpige[/c] indique que gcc-lib-base n'est pas présent, alors que si.
Je ne suis pas assez calé pour comprendre le message d'erreur :-(.
Merci pour ton aide.
Amitiés.
PS : testé cpige 1.5 ---> en ligne de commande OK, via GUI NOOK.
Offline
Bonjour,
je viens de m'apercevoir qu'à la commande [c]cpige -V[/c] la valeur retournée était cPige/1.5.
C'est malheureusement normal, car dans les fichiers non compilés cpige.h ou .c et mynet.h ou .c, cette valeur n'a pas été mise à jour.
Mais, il s'agit bien néanmoins de la version 1.7.
merci.
Amitiés
Offline
Hi Rantanplan, the message "/sysdeps/unix/sysv/linux/getpagesize.c:32: __getpagesize: Assertion `_rtld_global_ro._dl_pagesize != 0' failed" has origins with glibc and static libraries, and I don't know methods to fix it (but I am not a developer ;-))
ex:https://bugs.archlinux.org/task/21129
cpigeGUI also has another bug.
"free(): invalid pointer" and
"GtkSpinButton: setting an adjustment with non-zero page size is deprecated" so I think there is still a lot to be done on that software.
Offline
Hi Gibor,
thank you for your answer.
The v1.5 runs very well (CLI only, not with GUI) and for me it's enough.
The v1.7 permises to get .ogg and .aac format, globaly.
Good afternoon.
Thanks and best regards
Offline
An attempt to compile cpige: removing the "-static" entry from Makefile seems to work fine from the command line.
diff -u cpigeorig/Makefile cpige/Makefile
--- cpigeorig/Makefile 2022-07-21 22:11:29.000000000 +0200
+++ cpige/Makefile 2022-07-21 22:19:07.000000000 +0200
@@ -16,6 +16,6 @@
docker run --rm -it -v $(shell pwd):$(shell pwd) -w $(shell pwd) alpine:latest ./build_alpine.sh
cpige: $(OBJS)
- $(CC) $(CFLAGS) $(CLIBS) $(OBJS) -static -o cpige
+ $(CC) $(CFLAGS) $(CLIBS) $(OBJS) -o cpige
The version shown by cpige -V is actually the USERAGENT... you can change it in the sources in
mynet.h
#define USER_AGENT "cPige/1.5"
whether it serves any purpose I don't know, although replacing the string shows the new one in the command above.
tux@slitaz:~$ cpige -c cpige.conf
Reading config file: cpige.conf
Warning: no pid file defined. Using /var/run/cpige.pid
Server: Icecast 2.4.4
Connection: Close
Date: Thu, 21 Jul 2022 21:09:52 GMT
Content-Type: audio/mpeg
Cache-Control: no-cache, no-store
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Pragma: no-cache
Access-Control-Allow-Origin: *
icy-br:256
icy-description:FREQUENCE 3 HD - Une rafale de tubes - French Webradio [Powered by IKOULA]
icy-genre:Top 40 Dance Pop Rock
icy-name:FREQUENCE 3 HD - Une rafale de tubes - French Webradio [Powered by IKOULA]
icy-pub:1
icy-url:https://www.frequence3.com/
icy-metaint:16000
[0j 0h:0m:11s][156Ko] Marina Kaye - Homeless^C
tux@slitaz:~$
All of course without any guarantee
Offline
Hello Gibor,
Bravo for your attempt.
I don't know how to compile with SliTaz Rolling.
Maybe, there is a documentation at slitaz.org.
Thank you again for your research and transmission of knowledge.
Friendly.
Offline
Tool for build is slitaz-toolchain
tazpkg -gi slitaz-toolchain
Offline
Gibor,
Finally, I made :
[c]#tazpkg extract cpige-1.7.tazpkg[/c] (cpige-1.7.tazpkg has been compiled by Bellard).
In the good directory, I copied binary cpige compiled without -static option and with the goods permissions.
Then :
[c]#tazpkg pack cpige-1.7[/c]
Tested in terminal = OK :-).
Tested with Gtk+ GUI = always NOOK (GtkSpinButton's problem and bad sizepage), but not a problem for me.
Remove the fake .txt to use the package joined.
Thanks to you again and again.
Friendly.
Offline
A new cooking of cpige-1.7 is ready at Hg/Cook.
I'll test it nearly and will post the result here.
Ciao.
Offline
Heeeeeeeeeeeeeeeeeeeeeeeelloooooooo,
First, cpige runs very well.
cpigeGUI not yet.
You'll find the report in "cpigeGUI_abandon.txt".
The error message has changed : "*** glibc detected *** cpigeGUI: munmap_chunk(): invalid pointer: 0x08c666a1 ***"
And another message, no in joined document : "Error creating proxy: La connexion est fermée (g-io-error-quark, 18)".
Thanks to the Dev Team.
Best regards
Offline
Hi everybody,
I wrote to Ed, the cpige developper to signal him what happened with cpigeGUI.
I will come back to you as soon as I have his answer.
Thanks.
Friendly.
Offline
Bonjour à tous,
Réponse de Laurent Coustet reçue le 26 juillet 22 :
"La partie "GUI" est construite sur un framework d'affichage complètement
obsolète depuis des années (gtk2), et n'a aucun autre intérêt que de
modifier le fichier de configuration.
Je vous recommande d'éditer directement le fichier de configuration et
de ne pas utiliser la GUI.
Cordialement,
--
Laurent"
========================english with deepL=============================
Hello to all,
Laurent Coustet's answer received on 26 July 22 :
"The "GUI" part is built on a display framework that has been completely
obsolete for years (gtk2), and has no other interest than to modify the
the configuration file.
I recommend that you edit the configuration file directly and
do not use the GUI.
Sincerely,
--
Laurent"
Offline
In short, if I want to manipulate the source code and adapt it to slitaz, there is nothing to complain about...
is that so? ;-)
Offline
Hi Gibor,
and don't modify the "copyright" and respect the terms of licence ;-).
If you didn't do, read the cpige's licence (https://github.com/zehome/cpige/blob/master/LICENCE).
Bye.
Offline
When I resolve the uploading attachments I will post both the patch and the package with the working GUI.
Offline
Gibor,
Super. It's greatfull, true.
Thanks.
Offline
I removed the crashes, although it still hides some errors during compilation, but it already seems to work fine.
cpige-1.7.tazpkg
https://disk.yandex.com/d/FiXhYNM4M7vOdw
the patch for build
https://disk.yandex.com/d/GWhUWeFLnsJ2qA
Offline
Greatfull again
I'll try ASAP.
Many thanks
Offline
Salut Gibor,
Un grand merci pour le fichier .tazpkg et le fichier diff.
Je n’aurai pas trouvé les modifications à faire.
Excellent travail.
J’ai donc testé la version cpige SliTaz : Hourrah, hourrah, hourrah.
Le mode cpige et aucun mode cpige fonctionnent très bien.
Aussi, suis-je embêté de signaler un minuscule problème.
Le fichier cpige.log est introuvable.
Le principal est le bon fonctionnement de l'interface graphique.
Merci pour ton aide et ton immersion dans le code.
Amitiés.
============english with bing translator===============
Hi Gibor,
Big thank for the .tazpkg file and the diff file.
I won't have find the modifications to do.
Great job.
So, I tested cpige SliTaz version : Hourrah, hourrah, hourrah.
cpige mode and no cpige mode run very well.
Also, I'm bothered to report a tiny problem.
The cpige.log file could not be found.
But, the main thing is the proper functioning of the GUI.
Thank you for your help and immersion in the code :-).
Friendly.
Offline
you need to give the log file name manually from the settings window (cpige.log), after that it works for me regularly and updates it each time it is run.
[16:37:13] [DEBUG PRIO 3][File: cpige.c][Line: 208] Sucessfully opened /home/tux/Music/
[16:37:18] [DEBUG PRIO 3][File: mynet.c][Line: 98] Entring Server_connect
[16:37:18] [DEBUG PRIO 3][File: mynet.c][Line: 100] Servername: frequence3.net-radio.fr
[16:37:18] [DEBUG PRIO 3][File: mynet.c][Line: 101] Port: 80
[16:37:19] [DEBUG PRIO 3][File: mynet.c][Line: 121] Socket Creation Sucessful.
[16:37:19] [DEBUG PRIO 3][File: mynet.c][Line: 122] Connection in progress...
[16:37:20] [DEBUG PRIO 3][File: mynet.c][Line: 131] Connected.
[16:37:20] [DEBUG PRIO 3][File: mynet.c][Line: 64] Time spent to reconnect: 0 seconds, 0 tentatives.
[16:37:21] [DEBUG PRIO 3][File: icy.c][Line: 150] Using metaint: 16000
[16:37:21] [DEBUG PRIO 3][File: cpige.c][Line: 251] Using extension: mp3
[16:37:21] [DEBUG PRIO 3][File: cpige.c][Line: 617] New file opened: /home/tux/Music/Nickelback - How You Remind Me.mp3
Offline
Hi Gibor,
Sorry, very sorry.
All is clear for me.
My brain doesn't work clearly yesterday.
Simply, I had omitted the file name (cpige.log) after the path to store it :-((.
You made a great job.
Standing ovation to you Gibor.
Friendly.
Offline
Pages: 1
[ Generated in 0.019 seconds, 7 queries executed - Memory usage: 1.59 MiB (Peak: 1.77 MiB) ]