ports/56181: Maintainer update: Update Opera (www/opera) to 7.20 B7 (supercedes PR/55963)

avleeuwen at piwebs.com avleeuwen at piwebs.com
Sat Aug 30 11:40:21 UTC 2003


>Number:         56181
>Category:       ports
>Synopsis:       Maintainer update: Update Opera (www/opera) to 7.20 B7 (supercedes PR/55963)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 30 04:40:18 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Arjan van Leeuwen
>Release:        FreeBSD 4.8-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD thuis.piwebs.com 4.8-RELEASE-p3 FreeBSD 4.8-RELEASE-p3 #0: Thu Aug 21 11:55:07 CEST 2003 avleeuwen at thuis.piwebs.com:/usr/obj/usr/src/sys/THUIS i386


	
>Description:
This patch updates the native Opera port (www/opera) to the first beta that is promoted on the Opera website, 7.20 B7. This patch supercedes the patch in PR ports/55963.
>How-To-Repeat:
>Fix:

diff -urN /usr/ports/www/opera/Makefile opera/Makefile
--- /usr/ports/www/opera/Makefile	Sat Aug 23 01:00:48 2003
+++ opera/Makefile	Thu Aug 28 23:09:08 2003
@@ -2,13 +2,23 @@
 # Date created:					November 5th 2000
 # Whom:						des
 #
-# $FreeBSD: ports/www/opera/Makefile,v 1.12 2003/08/22 04:39:17 daichi Exp $
+# $FreeBSD: ports/www/opera/Makefile,v 1.10 2003/07/23 21:07:47 naddy Exp $
 #
 
 PORTNAME=	opera
-PORTVERSION=	7.20.20030821
+PORTVERSION=	7.20.20030827
 CATEGORIES=	www
-MASTER_SITES=	http://snapshot.opera.com/unix/intel-freebsd/445-20030821-7.20-B4/
+MASTER_SITES=	http://mirrors.pmmf.hu/mirror/opera/unix/freebsd/720/beta7/en/static/ \
+		ftp://ftp.planetmirror.com/pub/opera/unix/freebsd/720/beta7/en/static/ \
+		http://public.planetmirror.com/pub/opera/unix/freebsd/720/beta7/en/static/ \
+		http://gd.tuwien.ac.at/infosys/browsers/opera/unix/freebsd/720/beta7/en/static/ \
+		ftp://ftp.opera.com/pub/opera/unix/freebsd/720/beta7/en/static/ \
+		ftp://ftp.uit.no/pub/www/opera/unix/freebsd/720/beta7/en/static/ \
+		ftp://ftp.task.gda.pl/pub/opera/unix/freebsd/720/beta7/en/static/ \
+		http://ftp.task.gda.pl/pub/opera/unix/freebsd/720/beta7/en/static/ \
+		ftp://ftp.sunet.se/pub/www/clients/Opera/unix/freebsd/720/beta7/en/static/ \
+		http://ftp.sunet.se/pub/www/clients/Opera/unix/freebsd/720/beta7/en/static/ \
+		http://sunsite.cnlab-switch.ch/ftp/mirror/opera/unix/freebsd/720/beta7/en/static/
 DISTNAME=	${PORTNAME}-${PORTVERSION:S/0./0-/}.1-static-qt.i386.freebsd
 
 MAINTAINER=	avleeuwen at piwebs.com
diff -urN /usr/ports/www/opera/distinfo opera/distinfo
--- /usr/ports/www/opera/distinfo	Sat Aug 23 01:00:48 2003
+++ opera/distinfo	Thu Aug 28 23:09:21 2003
@@ -1 +1 @@
-MD5 (opera-7.20-20030821.1-static-qt.i386.freebsd.tar.bz2) = 1e0cdbae0e21eaa6b68708873718db11
+MD5 (opera-7.20-20030827.1-static-qt.i386.freebsd.tar.bz2) = 4693c3f3559f8cc089b1f02f1cc9965f
diff -urN /usr/ports/www/opera/files/patch-install.sh opera/files/patch-install.sh
--- /usr/ports/www/opera/files/patch-install.sh	Wed Aug 20 08:44:24 2003
+++ opera/files/patch-install.sh	Sat Aug 30 13:24:33 2003
@@ -1,6 +1,6 @@
---- install.sh.orig	Mon Aug 11 16:27:15 2003
-+++ install.sh	Tue Aug 12 22:44:18 2003
-@@ -712,27 +712,17 @@
+--- install.sh.orig	Wed Aug 27 18:18:06 2003
++++ install.sh	Sat Aug 30 13:24:01 2003
+@@ -711,9 +711,7 @@
  
      wrapper_opera_plugin_paths="    \"\${HOME}/.opera/plugins\" \\
      ${plugin_dir} \\
@@ -11,29 +11,15 @@
  
      case "${machine}:${os}" in
  	i[3456]86:Linux|i[3456]86:FreeBSD|i[3456]86:NetBSD|i[3456]86:OpenBSD)
- 	    wrapper_plugin_paths="
-     /usr/local/Acrobat[45]/Browsers/intellinux \\
--    /usr/lib/Acrobat[45]/Browsers/intellinux \\
--    /usr/X11R6/lib/Acrobat[45]/Browsers/intellinux \\
--    /opt/Acrobat[45]/Browsers/intellinux \\
--    /usr/Acrobat[45]/Browsers/intellinux \\
--    /usr/j2se/jre/plugin/i386/ns4 \\
--    /usr/java/jre1.4.0/plugin/i386/ns4 \\
--    /usr/java/jre1.3.1/plugin/i386/ns4 \\
--    /usr/lib/j2re1.3/plugin/i386/netscape4 \\
+@@ -727,7 +725,6 @@
+     /usr/java/jre1.4.0/plugin/i386/ns4 \\
+     /usr/java/jre1.3.1/plugin/i386/ns4 \\
+     /usr/lib/j2re1.3/plugin/i386/netscape4 \\
 -    /usr/local/jdk1.3.1/jre/plugin/i386/ns4 \\
--    /usr/local/linux-jdk1.3.1/jre/plugin/i386/ns4 \\"
-+    /usr/local/linux-sun-jdk1.[34].1/jre/plugin/i386/ns4 \\
-+    /usr/local/linux-blackdown-jdk1.[34].1/jre/plugin/i386/netscape4 \\"
+     /usr/local/linux-jdk1.3.1/jre/plugin/i386/ns4 \\"
  	    wrapper_ibmjava="
--	    IBMJava2-14/jre \\
--	    IBMJava2-131/jre \\"
-+	    linux-ibm-jdk1.3.1/jre \\
-+	    linux-ibm-jdk1.4.0/jre \\"
- 	    wrapper_sunjava_machine="i386"
- 	;;
- 
-@@ -779,15 +769,9 @@
+ 	    IBMJava2-141/jre \\
+@@ -779,15 +776,10 @@
  	;;
      esac
      wrapper_netscape_plugin_paths="
@@ -42,6 +28,7 @@
 -    /usr/lib/RealPlayer8 \\
 -    /usr/lib/realplay \\
 +    /usr/local/lib/RealPlayer8/Plugins \\
++    /usr/X11R6/lib/browser_plugins \\
      \"\${HOME}/.netscape/plugins\" \\
 -    /opt/netscape/plugins \\
 -    /usr/lib/netscape/plugins \\
@@ -51,41 +38,25 @@
  
      wrapper_file="${wrapper_dir}/opera"
      
-@@ -846,28 +830,13 @@
- 
- if test ! \"\${OPERA_JAVA_DIR}\"; then
+@@ -909,7 +901,7 @@
  
--    PREFIXES=\"
--	/usr
--	/usr/java
--	/usr/lib
--	/usr/local
--	/opt\"
-+    PREFIXES=\"/usr/local\"
- 
-     for SUNJAVA in \\
--	j2re1.4.1_01 \\
--	j2re1.4.1 \\
--	j2re1.4.0_01 \\
--	j2sdk1.4.0_01/jre \\
--	j2re1.4.0 \\
--	jre1.4.0 \\
--	j2se/1.4/jre \\
--	j2se/1.3/jre \\
--	j2se/jre \\
--	jre1.3.1_02 \\
--	jre1.3.1_01 \\
--	j2re1.3.1 \\
--	jre1.3.1 \\
--	j2re1.3 \\
-+	linux-blackdown-jdk1.3.1/jre \\
-+	linux-blackdown-jdk1.4.1/jre \\
-+	linux-sun-jdk1.3.1/jre \\
-+	linux-sun-jdk1.4.1/jre \\
- 	; do
- 	for PREFIX in \${PREFIXES}; do
- 	    if test -f \"\${PREFIX}/\${SUNJAVA}/lib/${wrapper_sunjava_machine}/libjava.so\"; then OPERA_JAVA_DIR=\"\${PREFIX}/\${SUNJAVA}/lib/${wrapper_sunjava_machine}\" && break; fi
-@@ -912,11 +881,8 @@
+     # Workaround for the \"preloaded libXt\" problem.
+     # To disable the first workaround, comment the next line.
+-    JAVA_WORKAROUND=`LD_PRELOAD=\"\${OPERA_JAVA_DIR}/libawt.so\" /bin/echo works 2>/dev/null`
++    #JAVA_WORKAROUND=`LD_PRELOAD=\"\${OPERA_JAVA_DIR}/libawt.so\" /bin/echo works 2>/dev/null`
+ 
+     if test \"\${JAVA_WORKAROUND}\" = 'works'; then
+         LD_PRELOAD=\"\${OPERA_JAVA_DIR}/libawt.so\"
+@@ -918,7 +910,7 @@
+     fi
+ else
+     # To disable the second workaround, comment the next line.
+-    JAVA_WORKAROUND2=`LD_PRELOAD=\"libawt.so\" /bin/echo works 2>/dev/null`
++    #JAVA_WORKAROUND2=`LD_PRELOAD=\"libawt.so\" /bin/echo works 2>/dev/null`
+     if test \"\${JAVA_WORKAROUND2}\" = 'works'; then
+         LD_PRELOAD=\"libawt.so\"
+         OPERA_FORCE_JAVA_ENABLED=\"1\"
+@@ -943,11 +935,8 @@
  
  # Acrobat Reader
  for BINDIR in \\
@@ -99,9 +70,9 @@
      ; do
      if test -d \${BINDIR} ; then PATH=\${PATH}:\${BINDIR}; fi
  done
-@@ -1116,44 +1082,6 @@
- 	cp $cpv $cpf plugins/operamotifwrapper plugins/operaplugincleaner plugins/libnpp.so $plugin_dir/
-         chmod $chmodv 755 $plugin_dir/operamotifwrapper $plugin_dir/operaplugincleaner $plugin_dir/libnpp.so
+@@ -1178,44 +1167,6 @@
+ 	    echo "This package does not contain support for Netscape Plug-ins.\n"
+ 	fi
  
 -     # System wide configuration files
 -	config_dir='/usr/local/etc'
@@ -144,7 +115,7 @@
       # Shorcuts and Icons
  	icons
  	gnome
-@@ -1249,22 +1177,22 @@
+@@ -1311,22 +1262,22 @@
  
      debug_msg 0 "in icons()"
  
@@ -179,7 +150,7 @@
      fi
    
      if test ! -d /etc/X11/wmconfig/; then
-@@ -1330,36 +1258,36 @@
+@@ -1392,36 +1343,36 @@
        fi
        # end /opt/gnome share
  
@@ -238,7 +209,7 @@
     fi
     # Add ximian here
  }
-@@ -1396,12 +1324,12 @@
+@@ -1458,12 +1409,12 @@
  
      fi  
      
@@ -256,7 +227,7 @@
      fi
  }
  
-@@ -1425,8 +1353,8 @@
+@@ -1487,8 +1438,8 @@
        fi
        if test -w /opt/kde/share/applnk/Internet; then generate_desktop /opt/kde/share/applnk/Internet; fi
  
diff -urN /usr/ports/www/opera/pkg-message opera/pkg-message
--- /usr/ports/www/opera/pkg-message	Wed Aug 20 08:44:24 2003
+++ opera/pkg-message	Mon Aug 25 18:39:24 2003
@@ -2,5 +2,7 @@
 If you are upgrading from version 6, it is recommended to backup your personal
 "~/.opera" directory and remove it before starting the upgraded Opera for the
 first time. This can be done from the command line using 
-"cp -Rp ~/.opera ~/.opera-mybackup" and "rm -rf ~/.opera".
+"mv ~/.opera ~/.opera-mybackup".
 
+If you are running FreeBSD 5.x and are experiencing a core dump when starting
+Opera, try updating the compat4x port.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list