Pour être validée, votre inscription doit respecter le format suivant :

identifiant : prenom.nom
courriel : adresse académique ou collectivité

En vous remerciant pour votre participation.
 
simon.bernard

Marble : Globe Terrestre Open-Source

28 sept. 2016 16:47

Image

Logiciel : Marble
Développeur : Développeur de "KDE".
Type de licence : Libre
Compatible XP : Oui
Compatible Win7 : Oui
Existe aussi sous Linux : Oui
Version : 1.5.0


Marble (prononciation /maʁ.bœl/, c’est-à-dire marbœul) est un logiciel libre proposant un globe virtuel développé par KDE et la communauté du libre dans le cadre du projet Kdeedu. Il fonctionne sur des ordinateurs personnels utilisant un système d’exploitation compatible avec Qt 4 (Linux, Mac, Windows).

Il est prévu pour être en mesure de fonctionner sans accélération matérielle, de se lancer relativement rapidement et de ne contenir qu’une faible quantité d'informations (5 à 10 Mio) qui peuvent être utilisées hors ligne.

Aperçu :
Image

Pour Wpkg, voici ce qu'il faut faire :

Créer un fichier unattended.cmd et y coller cela :

@echo off

REM ligne ci-dessous à changer
set BINARY=marble-setup-1.5.0.exe

set INSTALLER_LOC=%~dp0
set EXIT_CODE=0
set PROG_FILES=%ProgramFiles%

if not "%ProgramFiles(x86)%" == "" set PROG_FILES=%ProgramFiles(x86)%

call "%INSTALLER_LOC%unattended-uninstall.cmd"

start /wait "VLC" "%INSTALLER_LOC%%BINARY%" /S /NCRC /D="%PROG_FILES%"

set EXIT_CODE=%ERRORLEVEL%

exit /B %EXIT_CODE%



Puis créer un fichier unattended-uninstall.cmd et y coller ceci :

@echo off

set PROG_FILES=%ProgramFiles%

if not "%ProgramFiles(x86)%" == "" set PROG_FILES=%ProgramFiles(x86)%

set INSTALLER_LOC=%~dp0
set DIR=%PROG_FILES%\Marble
set UNINSTALLER=%DIR%\uninstall.exe
set OPTIONS=/S

if not exist "%UNINSTALLER%" goto good_end

start /wait "Marble uninstall" "%UNINSTALLER%" %OPTIONS%

REM Unfortunately the uninstaller seems to fork a child process and the parent
REM process exits immediately. So give it some time to uninstall
for /L %%C IN (1,1,30) DO (
  if not exist "%UNINSTALLER%" goto good_end
  ping -n 2 127.0.0.1 > NUL
)

:bad_end
exit /B 1

:good_end
if exist "%DIR%" rmdir /s /q "%DIR %"
exit /B 0


Enfin, créer le paquet XML :

<package
      id="Marble"
      name="Marble : Globe Virtuel et Atlas Mondial Open-Source"
      revision="%version%.1"
      reboot="false"
      priority="50">

 <variable name="version" value="1.5.0" />
 <variable name="PROGRAMFILES" value="%PROGRAMFILES%" architecture="x86"/>
 <variable name="PROGRAMFILES" value="%PROGRAMFILES(X86)%" architecture="x64"/>
 <variable name="ComSpec" value="%SystemRoot%\System32\cmd.exe" architecture="x86"/>
 <variable name="ComSpec" value="%SystemRoot%\SysWOW64\cmd.exe" architecture="x64"/>  

<check type="file" condition="sizeequals" path="%PROGRAMFILES%\Marble\marble.exe" value="518144" />

  <eoledl dl="http://files.kde.org/marble/downloads/windows/marble-setup-%version%.exe" destname="marble/marble-setup-%version%.exe" />
      
<install cmd='%SOFTWARE%\marble\unattended.cmd'/>

<upgrade cmd='%SOFTWARE%\marble\unattended.cmd'/>

<remove cmd='%SOFTWARE%\marble\unattended-uninstall.cmd'/>

</package>


Attention : Les 2 fichiers .cmd doivent être avec le binaire marble-setup-X.X.X.exe dans le dossier software et le package (Marble.xml) dans le dossier packages.


Sous (x)Ubuntu :
sudo apt install marble

Qui est en ligne

Utilisateurs parcourant ce forum : Aucun utilisateur enregistré et 18 invités