Het forum

SFR LiberTalk

Auteur Antwoorden
ll413 Vrijdag 20 Juli 2012 om 14:09
ll413Anonymous

Bonjour,


Voici le script pour installer LiberTalk de SFR.


La procédure consiste à télécharger le script sur votre ordinateur, puis de lancer le script dans PlayOnLinux.

Bonne journée.


#!/bin/bash
# Date : (2012-07-20 13-05)
# Last revision : (2012-07-20 14-05)
# Wine version used : 1.5.5
# Distribution used to test : Mageia 2 (x86)
# Author : ll413
# Script licence : GPL v.2
# Program licence : Retail
# Depend :

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="SFR LiberTalk"
PREFIX="SFR_Libertalk"
 
POL_SetupWindow_Init

POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "SFR" "www.sfr.fr" "ll413" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.5.5"
POL_System_SetArch "x86"
Set_OS "winxp" "sp3"
Set_Managed "On"
POL_Wine_InstallFonts


POL_System_TmpCreate "$PREFIX"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"   
    POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"
    POL_Wine start /unix "$APP_ANSWER"
   
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "http://prod.sd-sfr.fr/libertalk/download.php" "d96f47eb8cf83b5264ae422345c5b68c"

    mv "$POL_System_TmpDir/download.php" "$POL_System_TmpDir/SFR_Libertalk.exe"

    POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"
    POL_Wine start /unix "$POL_System_TmpDir/SFR_Libertalk.exe"
fi

POL_Wine_WaitExit "$TITLE"

POL_System_TmpDelete

POL_Shortcut "SFR_Libertalk.exe" "$TITLE"

POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')" "$TITLE"

POL_SetupWindow_Close
exit

Aangepast door ll413

Quentin PÂRIS Vrijdag 20 Juli 2012 om 17:05
Quentin PÂRISAnonymous

Le script m'a l'air ok

Vous pouvez le proposer sur la page suivante : http://www.playonlinux.com/repository

Il sera alors dans la liste officielle des logiciels supportés
ll413 Vrijdag 20 Juli 2012 om 17:31
ll413Anonymous

Merci, c'est fait : http://www.playonlinux.com/repository/app.php?script=1325

Aangepast door ll413

Quentin PÂRIS Vrijdag 20 Juli 2012 om 17:40
Quentin PÂRISAnonymous

J'ai apporté quelques modifications
jief Woensdag 12 December 2012 om 18:41
jiefAnonymous

Bonjour,
SFR Libertalk s'installe sans problème, mais après je n'arrive pas à me connecter : "erreur de connexion, veuillez vérifier votre connectivité internet". J'ai essayé de taper un mauvais mot de passe pour voir si le message était différent mais non.

Bien sûr, j'ai SFR libertalk installé dans une VM qui me permet de vérifier la connectivité ainsi que mes identifiants.

Avez-vous rencontré ce problème ? Y a t-il une configuration que je n'ai pas faîte ?

Merci.
Cdlt.
ll413 Dinsdag 18 Maart 2014 om 16:03
ll413Anonymous

Bonjour,
j'ai fait des modifications pour que le logiciel refonctionne avec la dernière version de Wine (remplacement du fichier portaudio_x86.dll).


[code language=playonlinux]
#!/bin/bash
# Date : (2012-07-20 13-05)
# Last revision : (2014-03-18 16-00)
# Wine version used : 1.7.14
# Distribution used to test : Rosa Fresh (x86)
# Author : ll413
# Script licence : GPL v.2

# CHANGELOG
# [SuperPlumus] (2013-06-21 20-50)
# Update gettext messages
# Clean code

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="SFR LiberTalk"
PREFIX="SFR_Libertalk"
WORKING_WINE_VERSION="1.7.14"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "SFR" "http://www.sfr.fr" "ll413" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

Set_OS "winxp" "sp3"
Set_Managed "On"
POL_Wine_InstallFonts

POL_Call POL_Install_LunaTheme

POL_System_TmpCreate "$PREFIX"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
POL_Wine_WaitBefore "$TITLE"
POL_Wine start /unix "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
cd "$POL_System_TmpDir"
POL_Download "http://prod.sd-sfr.fr/libertalk/download.php" "684604d4fe0e299fd153867eed1ef9de"
mv "$POL_System_TmpDir/download.php" "$POL_System_TmpDir/SFR_Libertalk.exe"
POL_Wine_WaitBefore "$TITLE"
POL_Wine start /unix "$POL_System_TmpDir/SFR_Libertalk.exe"
POL_Wine_WaitExit "$TITLE"
fi

#
rm "$WINEPREFIX/drive_c/Program Files/SFR/Libertalk/portaudio_x86.dll"
cd "$POL_System_TmpDir"
POL_Download "https://jpab.googlecode.com/files/portaudio_x86.dll" "08688843c5fc024bcad8bd75de8429d7"
cp "$POL_System_TmpDir/portaudio_x86.dll" "$WINEPREFIX/drive_c/Program Files/SFR/Libertalk/portaudio_x86.dll"


POL_System_TmpDelete

POL_Shortcut "SFR_Libertalk.exe" "$TITLE"

POL_SetupWindow_Close
exit
[/code]

Aangepast door Tinou

petch Dinsdag 18 Maart 2014 om 16:47
petch