Opera 9.64

Informations

Créateur Messages
thib25 Anonymous

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 103852
Wine: System

Retours d'expérience

Code source

#!/bin/bash
# Date : (2009-06-26 13-00)
# Last revision : (2009-06-26 13-00)
# Wine version used : N/A
# Distribution used to test : N/A
# Author : thib25
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

#fetching PROGRAMFILES environmental variable
PROGRAMFILES="Program Files" 
POL_LoadVar_PROGRAMFILES

POL_SetupWindow_Init
POL_SetupWindow_presentation "Opera" "Opera Software ASA" "http://www.opera.com/" "thib25" "Opera"

select_prefixe "$REPERTOIRE/wineprefix/Opera"
POL_SetupWindow_prefixcreate 

cd "$REPERTOIRE/wineprefix/Opera/drive_c/"
POL_SetupWindow_download "Downloading Opera..." "Downloading Opera..." "ftp://ftp.task.gda.pl/pub/opera/win/964/int/Opera_964_int_Setup.exe"
POL_SetupWindow_wait_next_signal "Installation in progress..." "Opera"
wine "$REPERTOIRE/wineprefix/Opera/drive_c/Opera_964_int_Setup.exe"
POL_SetupWindow_detect_exit

POL_SetupWindow_make_shortcut "Opera" "$PROGRAMFILES/Opera/" "opera.exe" "" "Opera"

POL_SetupWindow_reboot
POL_SetupWindow_Close
exit

Contributions

Filters:

Contribuer
Membre Messages
Ueliton Mercredi 10 Juin 2015 à 15:58
Ueliton

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

I made this suggestion because this script is 6 years without updates, the download link does not work.

Differences

@@ -1,31 +1,60 @@
-#!/bin/bash
+#!/usr/bin/env playonlinux-bash
+# CHANGELOG
 # Date : (2009-06-26 13-00)
 # Last revision : (2009-06-26 13-00)
 # Wine version used : N/A
 # Distribution used to test : N/A
 # Author : thib25
+# **PlayOnLinux 4.2.8** [Ueliton] (2015-06-10 UTC-3 10-36)
+# Wine version used: 1.7.22
+# Distribution used to test: openSUSE 13.2 x86_64
+# Script update code
+# Added link to version 9.64
+# Added local installation method to other versions
+# Author: Ueliton
  
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
-#fetching PROGRAMFILES environmental variable
-PROGRAMFILES="Program Files" 
-POL_LoadVar_PROGRAMFILES
+# Variables
+BINU_SERVER="http://media.binu.com/12630290/stream"
+PREFIX="Opera"
+TITLE="Opera"
+WINEVERSION="1.7.22"
 
 POL_SetupWindow_Init
 POL_SetupWindow_presentation "Opera" "Opera Software ASA" "http://www.opera.com/" "thib25" "Opera"
 
-select_prefixe "$REPERTOIRE/wineprefix/Opera"
-POL_SetupWindow_prefixcreate 
-
-cd "$REPERTOIRE/wineprefix/Opera/drive_c/"
-POL_SetupWindow_download "Downloading Opera..." "Downloading Opera..." "ftp://ftp.task.gda.pl/pub/opera/win/964/int/Opera_964_int_Setup.exe"
-POL_SetupWindow_wait_next_signal "Installation in progress..." "Opera"
-wine "$REPERTOIRE/wineprefix/Opera/drive_c/Opera_964_int_Setup.exe"
-POL_SetupWindow_detect_exit
-
-POL_SetupWindow_make_shortcut "Opera" "$PROGRAMFILES/Opera/" "opera.exe" "" "Opera"
-
-POL_SetupWindow_reboot
+# Managing prefix and Wine version
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+
+# Creating Temp directory
+POL_System_TmpCreate "$PREFIX"
+cd "$POL_System_TmpDir"
+
+POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
+# Installation Method DOWNLOAD
+if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+  then
+  POL_Download "$BINU_SERVER/98566057458-f1676935f9304b97/Opera_964_en_Setup.exe" "4cedf5af0c18f33fc4b738233406fa76"
+  POL_SetupWindow_message "$(eval_gettext 'Please do not run Opera.')" "$TITLE"
+  POL_Wine_WaitBefore "$TITLE"
+  POL_Wine Opera_964_en_Setup.exe
+fi
+ 
+# Installation Method LOCAL
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+  then
+      cd "$HOME"
+      POL_SetupWindow_browse "$(eval_gettext 'Please select install file.')" "$TITLE"
+      POL_SetupWindow_message "$(eval_gettext 'Please do not run Opera.')" "$TITLE"
+      POL_Wine_WaitBefore "$TITLE"
+      POL_Wine "$APP_ANSWER"
+fi
+# Delete temp directory
+POL_System_TmpDelete
+# Create a launcher
+POL_Shortcut "opera.exe" "$TITLE"
 POL_SetupWindow_Close
-exit
\ No newline at end of file
+exit 0
\ No newline at end of file

Nouveau code source

#!/usr/bin/env playonlinux-bash
# CHANGELOG
# Date : (2009-06-26 13-00)
# Last revision : (2009-06-26 13-00)
# Wine version used : N/A
# Distribution used to test : N/A
# Author : thib25
# **PlayOnLinux 4.2.8** [Ueliton] (2015-06-10 UTC-3 10-36)
# Wine version used: 1.7.22
# Distribution used to test: openSUSE 13.2 x86_64
# Script update code
# Added link to version 9.64
# Added local installation method to other versions
# Author: Ueliton
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

# Variables
BINU_SERVER="http://media.binu.com/12630290/stream"
PREFIX="Opera"
TITLE="Opera"
WINEVERSION="1.7.22"

POL_SetupWindow_Init
POL_SetupWindow_presentation "Opera" "Opera Software ASA" "http://www.opera.com/" "thib25" "Opera"

# Managing prefix and Wine version
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

# Creating Temp directory
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"

POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
# Installation Method DOWNLOAD
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
  then
  POL_Download "$BINU_SERVER/98566057458-f1676935f9304b97/Opera_964_en_Setup.exe" "4cedf5af0c18f33fc4b738233406fa76"
  POL_SetupWindow_message "$(eval_gettext 'Please do not run Opera.')" "$TITLE"
  POL_Wine_WaitBefore "$TITLE"
  POL_Wine Opera_964_en_Setup.exe
fi
 
# Installation Method LOCAL
if [ "$INSTALL_METHOD" = "LOCAL" ]
  then
      cd "$HOME"
      POL_SetupWindow_browse "$(eval_gettext 'Please select install file.')" "$TITLE"
      POL_SetupWindow_message "$(eval_gettext 'Please do not run Opera.')" "$TITLE"
      POL_Wine_WaitBefore "$TITLE"
      POL_Wine "$APP_ANSWER"
fi
# Delete temp directory
POL_System_TmpDelete
# Create a launcher
POL_Shortcut "opera.exe" "$TITLE"
POL_SetupWindow_Close
exit 0

Réponses

Mercredi 10 Juin 2015 à 18:11
Looks good, but one question; is it possible to download the installer directly from the developer's site? The only reason that I ask is, because of licenses, it may actually not be legal to distribute their software like that. Plus, if the installer gets update, then the updates would need to be reflected on a separate server. Just something to look at to see if it is possible to get it directly from them (plus, it makes it easier to maintain as future releases come out. Other than that, it looks fine. :)
Mercredi 10 Juin 2015 à 18:40
I was also wondering if it made more sense to keep installing version 9.62, or install a newer version, given that the main use of such script, from what I understand, is to test web sites with different browsers, for web developers...
Given that I'm not doing web development, I'm not sure what's best
Mercredi 10 Juin 2015 à 18:49
For web development, as far as I understand (and follow), the newest browsers should be used to test web development, and using shims and whatnot for older browsers. 9.64 looks like it was released in 2009, so you wouldn't be able to test any of the new CSS, HTML5, and JS stuff that has been added since then. And normally, things like HTML5shim, Modernizr, and normalize.css are used to grant backward compatibility for browsers that don't support it.

The current version of Opera is 30, but it runs native through Linux, so I am not sure if this of any use anymore anyway. As far as I know, Opera, unlike IE, should be pretty platform-agnostic. I could be wrong though (I don't use it; I just test sites through whatever the newest version is.).
TJMcK Lundi 17 Novembre 2014 à 19:05
TJMcK Anonymous

Messages

I'm new to using Playonlinux.  I installed Playonlinux and the most recent wine version.  Then I tried installing Opera.  It won't even start (tried several variations).  Debug didn't help solve the problem... neither did looking for answers on the POL forum.  Then I tried installing Safari... it loaded all kinds of dependancies in the process, but it worked... so I'm wondering if there are depenancies that are unmet when using a clean install of Playonlinux?  I don't know bash, and don't have enough knowledge of POL to submit an improvement -- I wanted to try POL because the web reviews that I read said it was a simple wine frontend...

Réponses