Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Apr 2008 14:19:36 +0200
From:      "Arjan van Leeuwen" <freebsd-maintainer@opera.com>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Cc:        itetcu@FreeBSD.org
Subject:   ports/123049: [PATCH] Revive www/opera-devel port with Opera 9.5 Beta 2
Message-ID:  <1209039576.15478@avl.oslo.opera.com>
Resent-Message-ID: <200804241220.m3OCK1ES017291@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         123049
>Category:       ports
>Synopsis:       [PATCH] Revive www/opera-devel port with Opera 9.5 Beta 2
>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:   Thu Apr 24 12:20:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Arjan van Leeuwen
>Release:        FreeBSD 7.0-STABLE amd64
>Organization:
Opera Software ASA 
>Environment:


System: FreeBSD 7.0-STABLE #15: Tue Apr 22 12:46:09 CEST 2008
    root@avl.oslo.opera.com:/usr/obj/usr/src/sys/AVL



>Description:


This is a full port for www/opera-devel, containing Opera 9.5 Beta 2, with builds for FreeBSD 5.x, 6.x and 7.x (i386) and 6.x, 7.x (amd64).

More details about the beta can be found here:
   http://www.opera.com/docs/changelogs/freebsd/950b2/


>How-To-Repeat:





>Fix:


--- opera-devel.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	opera-devel
#	opera-devel/pkg-plist
#	opera-devel/pkg-message
#	opera-devel/files
#	opera-devel/files/patch-install.sh
#	opera-devel/distinfo
#	opera-devel/Makefile
#	opera-devel/pkg-descr
#
echo c - opera-devel
mkdir -p opera-devel > /dev/null 2>&1
echo x - opera-devel/pkg-plist
sed 's/^X//' >opera-devel/pkg-plist << 'END-of-opera-devel/pkg-plist'
Xbin/opera-devel
X%%DATADIR%%/svg-mo.dat
X%%DATADIR%%/skin/windows_skin.zip
X%%DATADIR%%/skin/standard_skin.zip
X%%DATADIR%%/opera6.adr
X%%DATADIR%%/svg-se.dat
X%%DATADIR%%/html40_entities.dtd
X%%DATADIR%%/svg-sebd.dat
X%%DATADIR%%/java/opera.policy
X%%DATADIR%%/java/opera.jar
X%%DATADIR%%/bin/works
X%%DATADIR%%/bin/operapluginwrapper
X%%DATADIR%%/bin/missingsyms.so
X%%DATADIR%%/bin/spellcheck.so
X%%DATADIR%%/bin/operaplugincleaner
X%%DATADIR%%/bin/opera
X%%DATADIR%%/styles/im.css
X%%DATADIR%%/styles/mime.css
X%%DATADIR%%/styles/warning.css
X%%DATADIR%%/styles/certinfo.css
X%%DATADIR%%/styles/error.css
X%%DATADIR%%/styles/cache.css
X%%DATADIR%%/styles/plugins.css
X%%DATADIR%%/styles/user/toc.css
X%%DATADIR%%/styles/user/disableforms.css
X%%DATADIR%%/styles/user/disablebreaks.css
X%%DATADIR%%/styles/user/disablepositioning.css
X%%DATADIR%%/styles/user/disablefloats.css
X%%DATADIR%%/styles/user/altdebugger.css
X%%DATADIR%%/styles/user/structuretables.css
X%%DATADIR%%/styles/user/classid.css
X%%DATADIR%%/styles/user/structureblock.css
X%%DATADIR%%/styles/user/outline.css
X%%DATADIR%%/styles/user/disabletables.css
X%%DATADIR%%/styles/user/contrastwb.css
X%%DATADIR%%/styles/user/tablelayout.css
X%%DATADIR%%/styles/user/structureinline.css
X%%DATADIR%%/styles/user/contrastbw.css
X%%DATADIR%%/styles/user/accessibility.css
X%%DATADIR%%/styles/wml.css
X%%DATADIR%%/styles/history.css
X%%DATADIR%%/styles/images/red_right.png
X%%DATADIR%%/styles/images/flag.png
X%%DATADIR%%/styles/images/defaultFavicon.png
X%%DATADIR%%/styles/images/root.png
X%%DATADIR%%/styles/images/folder.png
X%%DATADIR%%/styles/images/red_left.png
X%%DATADIR%%/styles/images/darkBox.png
X%%DATADIR%%/styles/images/bar.png
X%%DATADIR%%/styles/images/smartGroup.png
X%%DATADIR%%/styles/images/center.png
X%%DATADIR%%/styles/images/top.png
X%%DATADIR%%/styles/images/section.png
X%%DATADIR%%/styles/images/customize.gif
X%%DATADIR%%/styles/images/opera.png
X%%DATADIR%%/styles/images/red_center.png
X%%DATADIR%%/styles/config.css
X%%DATADIR%%/styles/search.css
X%%DATADIR%%/styles/message.css
X%%DATADIR%%/styles/dir.css
X%%DATADIR%%/styles/info.css
X%%DATADIR%%/styles/mathml.css
X%%DATADIR%%/styles/contentblock.css
X%%DATADIR%%/styles/about.css
X%%DATADIR%%/styles/image.css
X%%DATADIR%%/encoding.bin
X%%DATADIR%%/lngcode.txt
X%%DATADIR%%/ini/xmlentities.ini
X%%DATADIR%%/ini/unix_keyboard.ini
X%%DATADIR%%/ini/font.ini
X%%DATADIR%%/ini/filehandler.ini
X%%DATADIR%%/ini/standard_keyboard_compat.ini
X%%DATADIR%%/ini/mailproviders.xml
X%%DATADIR%%/ini/pluginpath.ini
X%%DATADIR%%/ini/dialog.ini
X%%DATADIR%%/ini/standard_mouse.ini
X%%DATADIR%%/ini/fastforward.ini
X%%DATADIR%%/ini/standard_menu.ini
X%%DATADIR%%/ini/standard_toolbar.ini
X%%DATADIR%%/ini/standard_keyboard.ini
X%%DATADIR%%/svg-sa.dat
X%%DATADIR%%/search.ini
X%%DATADIR%%/locale/en/license.txt
X%%DATADIR%%/locale/en/opera6.adr
X%%DATADIR%%/locale/en/search.ini
X%%DATADIR%%/locale/english.lng
X%%DATADIR%%/svg-mobd.dat
X%%DATADIR%%/svg-sabd.dat
X%%DOCSDIR%%/LGPL
X%%DOCSDIR%%/LICENSE
X
X@dirrm %%DATADIR%%/styles/user
X@dirrm %%DATADIR%%/styles/images
X@dirrm %%DATADIR%%/styles
X@dirrm %%DATADIR%%/skin
X@dirrm %%DATADIR%%/plugins
X@dirrm %%DATADIR%%/locale/en
X@dirrm %%DATADIR%%/locale
X@dirrm %%DATADIR%%/java
X@dirrm %%DATADIR%%/ini
X@dirrm %%DATADIR%%/bin
X@dirrm %%DATADIR%%
X@dirrm %%DOCSDIR%%
END-of-opera-devel/pkg-plist
echo x - opera-devel/pkg-message
sed 's/^X//' >opera-devel/pkg-message << 'END-of-opera-devel/pkg-message'
X###########################################################################
X
XThis is a beta version of Opera. It is likely to contain bugs, and should
Xnot be relied on for daily use.
X
XInstead of your normal profile, it will by default use the profile in
X~/.opera-devel, so that you can use both a stable version and a development
Xversion of Opera in parallel.
X
XPlease report any bugs you find at https://bugs.opera.com/wizard/.
X
XHave fun!
X- The Opera Desktop Team
X
X###########################################################################
END-of-opera-devel/pkg-message
echo c - opera-devel/files
mkdir -p opera-devel/files > /dev/null 2>&1
echo x - opera-devel/files/patch-install.sh
sed 's/^X//' >opera-devel/files/patch-install.sh << 'END-of-opera-devel/files/patch-install.sh'
X--- install.sh.orig	2008-04-22 16:06:18.000000000 +0200
X+++ install.sh	2008-04-24 13:49:24.470507835 +0200
X@@ -865,7 +865,7 @@
X 		error 'os'
X 	;;
X     esac
X-    wrapper_file="${wrapper_dir}/opera"
X+    wrapper_file="${wrapper_dir}/opera-devel"
X 
X     wrapper_contain="#!/bin/sh
X 
X@@ -877,6 +877,10 @@
X OPERA_BINARYDIR=${str_localdirexec}
X export OPERA_BINARYDIR
X 
X+# Location of Opera personal dir
X+OPERA_PERSONALDIR=\${HOME}/.opera-devel
X+export OPERA_PERSONALDIR
X+
X # Parse commandline parameters
X toset=
X _QTSTYLE_FROM_CMDLINE_='NO'
X@@ -1259,7 +1263,6 @@
X     manifest_contains operapluginwrapper-native && part_install "`manifest_path operapluginwrapper-native`" "$exec_dir" Binaries
X     manifest_contains operapluginwrapper-ia32-linux && part_install "`manifest_path operapluginwrapper-ia32-linux`" "$exec_dir" Binaries
X     part_install "`manifest_path LICENSE`" "$doc_dir" Documentation
X-    part_install "`manifest_path man1/opera.1`" "$man_dir" "Manual page"
X 
X     share_src="`manifest_path 'html40_entities\.dtd'`"
X     part_install "$share_src" "$share_dir" "Shared resources"
X@@ -1268,15 +1271,14 @@
X     mkdir $mkdirv $mkdirp $plugin_dir/
X 
X     # Wrapper
X-    backup ${wrapper_dir}/opera opera
X     debug_msg 1 "Wrapper"
X     mkdir $mkdirv $mkdirp $wrapper_dir/
X 
X     #cp $cpv $cpf wrapper.sh $wrapper_dir/opera
X     generate_wrapper
X-    chmod $chmodv 755 $wrapper_dir/opera
X+    chmod $chmodv 755 $wrapper_dir/opera-devel
X 
X-    if test -z "$OPERADESTDIR"
X+    if false
X     then
X 	# System wide configuration files
X 	case $os in AnyBSD|OpenBSD) config_dir="/usr/local/etc";; *) config_dir="/etc";; esac
END-of-opera-devel/files/patch-install.sh
echo x - opera-devel/distinfo
sed 's/^X//' >opera-devel/distinfo << 'END-of-opera-devel/distinfo'
XMD5 (opera-9.50b2-20080422.3-shared-qt.i386.freebsd.tar.bz2) = bb0c80d0a0a7ebfa75edc0c3a6bc8088
XSHA256 (opera-9.50b2-20080422.3-shared-qt.i386.freebsd.tar.bz2) = a13ad2bddb5bde702d7d964791c345c08b6c46bc8a9d5406830e1f665ec5420d
XSIZE (opera-9.50b2-20080422.3-shared-qt.i386.freebsd.tar.bz2) = 5796100
XMD5 (opera-9.50b2-20080422.4-shared-qt.i386.freebsd.tar.bz2) = 4416c3e77a4f8f052f987c8f221c52f0
XSHA256 (opera-9.50b2-20080422.4-shared-qt.i386.freebsd.tar.bz2) = d309d0c0bb0289232e41c6e82c26bfe7ce7ae4036869812826a35f57f5ea3391
XSIZE (opera-9.50b2-20080422.4-shared-qt.i386.freebsd.tar.bz2) = 5797946
XMD5 (opera-9.50b2-20080422.7-shared-qt.i386.freebsd.tar.bz2) = e901027bd053d6ce935ee90b08c961a6
XSHA256 (opera-9.50b2-20080422.7-shared-qt.i386.freebsd.tar.bz2) = 88d3a368d585e986e04931a5843e861214fdb91538177d657e16130b98271bb0
XSIZE (opera-9.50b2-20080422.7-shared-qt.i386.freebsd.tar.bz2) = 5673371
XMD5 (opera-9.50b2-20080422.1-shared-qt.amd64.freebsd.tar.bz2) = b20a87dbf6ca63226c28b9206f288765
XSHA256 (opera-9.50b2-20080422.1-shared-qt.amd64.freebsd.tar.bz2) = 763612270901a410db5085e1dd225aa23aea7bec8177813e3f468c820dc2cdb7
XSIZE (opera-9.50b2-20080422.1-shared-qt.amd64.freebsd.tar.bz2) = 6274070
XMD5 (opera-9.50b2-20080422.7-shared-qt.amd64.freebsd.tar.bz2) = adb4e8675bd5ea8a11b3679665f6c103
XSHA256 (opera-9.50b2-20080422.7-shared-qt.amd64.freebsd.tar.bz2) = 5d97f5445152c978cb134da1a801ebdcc2fa56037034718e87aca01aa04f8080
XSIZE (opera-9.50b2-20080422.7-shared-qt.amd64.freebsd.tar.bz2) = 6198726
END-of-opera-devel/distinfo
echo x - opera-devel/Makefile
sed 's/^X//' >opera-devel/Makefile << 'END-of-opera-devel/Makefile'
X# New ports collection makefile for:		opera-devel
X# Date created:					April 24th 2008
X# Whom:						Arjan van Leeuwen
X#
X# $FreeBSD$
X#
X
XPORTNAME=	opera
XPKGNAMESUFFIX=	-devel
XPORTVERSION=	${OPERA_VER}.${OPERA_DATE}
XCATEGORIES=	www ipv6
XMASTER_SITES=	ftp://opera.inode.at/unix/freebsd/${OPERA_VER:S/.//}${OPERA_MINVER}/${OPERA_REL}/en/${OPERA_LIB}/ \
X		http://gd.tuwien.ac.at/infosys/browsers/opera/unix/freebsd/${OPERA_VER:S/.//}${OPERA_MINVER}/${OPERA_REL}/en/${OPERA_LIB}/ \
X		http://ftp.ucr.ac.cr/WWW/opera/unix/freebsd/${OPERA_VER:S/.//}${OPERA_MINVER}/${OPERA_REL}/en/${OPERA_LIB}/ \
X		http://www.microrpm.ca/pub/opera/unix/freebsd/${OPERA_VER:S/.//}${OPERA_MINVER}/${OPERA_REL}/en/${OPERA_LIB}/ \
X		http://www.opera.mirroarrr.de/unix/freebsd/${OPERA_VER:S/.//}${OPERA_MINVER}/${OPERA_REL}/en/${OPERA_LIB}/ \
X		http://opera.eurenet.net/unix/freebsd/${OPERA_VER:S/.//}${OPERA_MINVER}/${OPERA_REL}/en/${OPERA_LIB}/ \
X		ftp://opera.ftp.fu-berlin.de/unix/freebsd/${OPERA_VER:S/.//}${OPERA_MINVER}/${OPERA_REL}/en/${OPERA_LIB}/ \
X		http://ftp.ntua.gr/pub/www/Opera/unix/freebsd/${OPERA_VER:S/.//}${OPERA_MINVER}/${OPERA_REL}/en/${OPERA_LIB}/ \
X		ftp://ftp.wayne.edu/opera/unix/freebsd/${OPERA_VER:S/.//}${OPERA_MINVER}/${OPERA_REL}/en/${OPERA_LIB}/ \
X		http://mirrors.dedipower.com/opera/unix/freebsd/${OPERA_VER:S/.//}${OPERA_MINVER}/${OPERA_REL}/en/${OPERA_LIB}/ \
X		ftp://ftp.mirror.ac.uk/sites/ftp.opera.com/unix/freebsd/${OPERA_VER:S/.//}${OPERA_MINVER}/${OPERA_REL}/en/${OPERA_LIB}/ \
X		http://opera.nedmirror.nl/unix/freebsd/${OPERA_VER:S/.//}${OPERA_MINVER}/${OPERA_REL}/en/${OPERA_LIB}/ \
X		ftp://ftp.tiscali.nl/pub/mirrors/opera/unix/freebsd/${OPERA_VER:S/.//}${OPERA_MINVER}/${OPERA_REL}/en/${OPERA_LIB}/ \
X		${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/www/opera/unix/freebsd/${OPERA_VER:S/.//}${OPERA_MINVER}/${OPERA_REL}/en/${OPERA_LIB}/&,} \
X		ftp://ftp.opera.com/pub/opera/unix/freebsd/${OPERA_VER:S/.//}${OPERA_MINVER}/${OPERA_REL}/en/${OPERA_LIB}/
XDISTNAME=	${PORTNAME}-${OPERA_VER}${OPERA_MINVER}-${OPERA_DATE}.${OPERA_TYPE}-shared-qt.${ARCH}.freebsd
X
XMAINTAINER=	freebsd-maintainer@opera.com
XCOMMENT=	A blazingly fast, full-featured, standards-compliant browser
X
XOPERA_VER=	9.50
XOPERA_MINVER=	b2
XOPERA_REL=	final
XOPERA_DATE=	20080422
XOPERA_BUILD=	1933
X
XDATADIR=	${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX}
XDOCSDIR=	${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
X
XUSE_BZIP2=	yes
XONLY_FOR_ARCHS=	i386 amd64
XWRKSRC=		${WRKDIR}/${PORTNAME}-${OPERA_VER}-${OPERA_DATE}.${OPERA_TYPE}-shared-qt.${ARCH}.freebsd-${OPERA_BUILD}
XUSE_QT_VER=	3
X
XNO_BUILD=	yes
X
XOPTIONS=	ASPELL	"Use the aspell library for spell checking"	on
X
X.include <bsd.port.pre.mk>
X
X.if ${ARCH} == amd64
XOPERA_LIB=	amd64
X.else
XOPERA_LIB=	shared
X.endif
X
X.if ${OSVERSION} >= 700000
XOPERA_TYPE=	7
X.elif ${OSVERSION} >= 600000
X.if ${ARCH} == amd64
XOPERA_TYPE=	1
X.else
XOPERA_TYPE=	4
X.endif
X.else
XOPERA_TYPE=	3
X.endif
X
X.if !defined(WITHOUT_ASPELL)
XLIB_DEPENDS+=	aspell.16:${PORTSDIR}/textproc/aspell
X.endif
X
Xdo-install:
X	@(cd ${WRKSRC} && ./install.sh --prefix=${PREFIX} --docdir=${DOCSDIR} --sharedir=${DATADIR} --exec_prefix=${DATADIR}/bin --plugindir=${DATADIR}/plugins)
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
END-of-opera-devel/Makefile
echo x - opera-devel/pkg-descr
sed 's/^X//' >opera-devel/pkg-descr << 'END-of-opera-devel/pkg-descr'
XThe most full-featured Internet power tool on the market, Opera includes
Xpop-up blocking, tabbed browsing, integrated searches, and advanced functions
Xlike Opera's groundbreaking E-mail program, RSS Newsfeeds and IRC chat. And
Xbecause we know that our users have different needs, you can customize 
Xthe look and content of your Opera browser with a few clicks of the mouse.
X
XWWW: http://www.opera.com/
END-of-opera-devel/pkg-descr
exit

--- opera-devel.shar ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1209039576.15478>