The forum

Lightroom 3.6

Author Replies
kikislater Friday 24 August 2012 at 12:00
kikislaterAnonymous

#!/bin/bash
# Date : (2011-08-24 11-59)
# Last revision : (2011-08-24 14-32)
# Wine version used : session : 1.4, assign : 1.4
# Distribution used to test : Kubuntu 12.04
# Author : kikislater (Sylvain POULAIN)
# Depend :
 
 
[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
 
TITLE="Adobe Lightroom 3.6"
PREFIX="LR36"
WORKING_WINE_VERSION_SESSION="1.4"
WORKING_WINE_VERSION_ASSIGN="1.4"
 
if [ "$POL_LANG" = "fr" ]; then
LNG_CHOOSE_FILE="Veuillez selectionner le fichier .exe d'installation."
LNG_INSTALL_RUN="Installation en cours..."
LNG_SUCCES="$TITLE\\na été installé avec succès !"
else
LNG_CHOOSE_FILE="Please select the .exe installation file."
LNG_INSTALL_RUN="Installation in progress..."
LNG_SUCCES="$TITLE\\nhas been installed successfully."
fi
 
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Adobe" "http://www.adobe.com/support/downloads/product.jsp?product=113&platform=Windows" "kikislater (Sylvain POULAIN)" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION_SESSION"
 
POL_Call POL_Install_msxml6
POL_Call POL_Install_gdiplus
POL_Call POL_Install_gecko
POL_Call POL_Install_vcrun2005
POL_Call POL_Install_comctl32
POL_Call POL_Install_corefonts
POL_Call POL_Install_tahoma

cd "$POL_System_TmpDir"
POL_Download "http://trac.imagemagick.org/export/1/ImageMagick/trunk/config/sRGB.icm" "1d3fda2edb4a89ab60a23c5f7c7d81dd"
cp sRGB.icm $WINEPREFIX/drive_c/windows/system32/spool/drivers/color/srgb
 
cd "$HOME"
POL_SetupWindow_browse "$LNG_CHOOSE_FILE" "$TITLE"
POL_Wine_WaitBefore "$TITLE"
POL_Wine start /unix "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE"
 

 
POL_Shortcut "lightroom.exe" "$TITLE"
POL_SetupWindow_Close
exit

Edited by kikislater

kikislater Friday 24 August 2012 at 12:04
kikislaterAnonymous

I have to had this in this script :
- download srgb.icm (typically I use file from imagemagick ...)
- copy srgb.icm to WINEPREFIX like this :
cp sRGB.icm $WINEPREFIX/drive_c/windows/system32/spool/drivers/color/srgb

Any idea ?
Quentin PÂRIS Friday 24 August 2012 at 12:15
Quentin PÂRISAnonymous

Then, we must integrate this into the script
kikislater Friday 24 August 2012 at 12:17
kikislaterAnonymous

yes but where can I download srgb.icm ?
kikislater Friday 24 August 2012 at 12:20
kikislaterAnonymous

So I had this :
wget -c http://trac.imagemagick.org/export/1/ImageMagick/trunk/config/sRGB.icm
cp sRGB.icm $PREFIX/drive_c/windows/system32/spool/drivers/color/srgb

Edited by kikislater

Quentin PÂRIS Friday 24 August 2012 at 12:48
Quentin PÂRISAnonymous

Use POL_Download instead of wget
Quentin PÂRIS Friday 24 August 2012 at 13:38
Quentin PÂRISAnonymous

Erreur de ma part, on est sur le forum français. Désolé     
kikislater Friday 24 August 2012 at 14:03
kikislaterAnonymous

cd "$POL_System_TmpDir"
POL_Download "http://trac.imagemagick.org/export/1/ImageMagick/trunk/config/sRGB.icm" "1d3fda2edb4a89ab60a23c5f7c7d81dd"
cp sRGB.icm $PREFIX/drive_c/windows/system32/spool/drivers/color/srgb

Ok, i'm right now ? C'est ok a present ?

Edited by kikislater

Quentin PÂRIS Friday 24 August 2012 at 14:10
Quentin PÂRISAnonymous

Non, c'est pas $PREFIX c'est $WINEPREFIX
kikislater Friday 24 August 2012 at 14:31
kikislaterAnonymous

Ok c'est modifié ! j'avais mis en WINEPREFIX à l'origine ...
Quentin PÂRIS Friday 24 August 2012 at 15:30
Quentin PÂRISAnonymous

Ok

Étape suivante, virer le if avec les langues la. Il faut utiliser eval_gettext

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmcayonlinux.com