www/opera). Changes since Opera 9.0 Preview 2: User Interface * Fixed Proxy On/Off toggle in Quick Preferences. * Script dialogs now have the option to stop the current script running, in order to prevent further dialogs from appearing. * Added support for saving and opening Web archives. * opera:config now uses file choosers for file paths. * Quick find in opera:config now searches section names as well as preference names. * Sections can now be expanded in opera:config even while searching. * The [Adv User Prefs] section of opera6.ini and opera:config has been renamed to [Network]. * Changed feed notification icon. * Removing buttons on one toolbar now removes from all open tabs not just active one. * Added ability to save to disk from source viewer. * Default mode for "Cycle without showing list" is now visible tab order. * "Cycle without showing list" now includes also minimized pages. Changes to preferences dialog * Site and Web page content preferences moved into Preferences > Advanced > Content. * Tabbed browsing preferences have been moved to Preferences > Advanced > Tabs. * Reorganized Network and Browsing preferences. * Re-added Preferences > Advanced > Cookies, for managing cookie preferences. * Re-added gender setting to voice preferences. Widgets * A dragable widget tab is shown at the top of the screen, providing quick access to widgets. This can be removed using the settings button when viewing widgets, or using Preferences > General > Show widgets tab. * Widgets are now displayed on a faded background - click on the background to exit widget viewing mode. * Pinned widgets will now appear in the operating system's window lists, and can be activated with Alt+Tab as with normal application windows. * Pinned widgets can be kept on top using the right-click menu. * Links from widgets now respect the "Open windows instead of tabs" setting. * Dragging a scrollbar in a widget no longer drags the widget. * Added widget error reporting to the error console. Content blocker * In content blocking mode, clicking an image or plug-in shows all other content that matches the filter. * Content blocker shows previously blocked content when entering content blocking mode. * Content blocker filters are no longer case sensitive. * Shift+click on images and plug-ins while in content blocking mode blocks the exact path instead of using a wild card. * Leaving content blocking mode removes all content that matches the new filters, including pages in inline frames. * Improved blocking of plug-in content when an object tag is used without an embed tag. * Improved display of content blocker toolbar. Messaging and Newsfeeds * Fixed timestamp bug in Mail. * New welcome mail to replace dialog when first creating a mail account. * Up/down arrows no longer select next/previous messages in e-mail and news views when the message view has focus. * Corrected encoding when redirecting e-mails. * DCC file transfers now displayed as a link in a private chat window. * DCC file transfer now respects the nosave and nodownload switches in kiosk mode. Torrent * Added disk caching for BitTorrent to improve speed. * Fixed so upload in BitTorrent doesn't send corrupt data. Display * Improved handing of image changes through CSS :hover effects. * Fixed float and inline box stacking order, as required by the Acid 2 test. This completes Opera's support for Acid 2. * Removed support for SGML comments in HTML. Comment parsing is now based on the Web Applications 1.0 draft. * Several fixes for the position style. * Fixed :required :optional :read-only :read-write and :default pseudo-class selectors. Script * Added support for PUT method in XMLHttpRequest. * Fixed support for LSSerializer.writeToURI. * Improved support for HTML output in XSLT. * Allowed mouse events to pass through clipped or overflowed (or otherwise transparent) regions of an element. * Added class constructors for CanvasGradient, CanvasPattern, and CanvasRenderingContext2D. * Added support for HTMLTableElement.cells collection. * <xml> elements are no longer removed from the HTML DOM. * Improved handling of offsetTop, offsetLeft, and offsetParent. * Added support for Selection.removeAllRanges and Selection.addRange. * Added support for Audio, as described in the Web Applications 1.0 draft. * Several designMode improvements, including handling of queryCommandEnabled and queryCommandState, and converting multiple paragraphs into list items. * Added support for onmousewheel events. * Fix for canvas gradients and blur. * Script events now report correct keyCode for insert, delete, home, end, pause/break, scroll lock and num lock keys. * Added support for element.cssText. * Allowed self closing SCRIPT tags in HTML documents. * Removed support for "javascript:" URLs in CSS. Forms * Implemented stepUp and stepDown for Web Forms 2.0 date and time inputs. * Improved handling of the a are detected. It can be overridden with the command line option "-overlay yes" to enable it in different environments, or "-overlay no" to force disable it. * Netscape Plug-in API 0.16 enabled on Linux/Unix. * New dapper_i386.deb package for Ubuntu Dapper Drake users. * Improved window manager session management. * Modified pluginwrapper so that plug-ins see a Composite widget. This improves support for some versions of the Real plug-in. * Fixed problems with resizing content in detached windows. * Cleanup and fixed problems with parsing of remote commands, allowing filenames containing spaces. * Quicktime movies may crash the mplayer-plugin.
146 lines
4.7 KiB
Makefile
146 lines
4.7 KiB
Makefile
# $NetBSD: Makefile,v 1.18 2006/05/01 18:54:13 ghen Exp $
|
|
|
|
DISTNAME= opera-9.0beta1
|
|
CATEGORIES= www
|
|
MASTER_SITES= ftp://ftp.hu-berlin.de/pub/www/opera/${OPERA_DIR}/
|
|
MASTER_SITES+= http://ftp.sunet.se/pub/www/clients/Opera/${OPERA_DIR}/
|
|
MASTER_SITES+= ftp://ftp.task.gda.pl/pub/opera/${OPERA_DIR}/
|
|
MASTER_SITES+= ftp://ftp.tuwien.ac.at/infosys/browsers/opera/${OPERA_DIR}/
|
|
MASTER_SITES+= ftp://opera.nsc.no/pub/nsc.no/mirrors/operasoftware/${OPERA_DIR}/
|
|
MASTER_SITES+= ftp://ftp.opera.com/pub/opera/${OPERA_DIR}/
|
|
DISTFILES= opera-${OPERA_DIST_VERSION}${OPERA_ARCH}-${OPERA_LANG}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= ghen@NetBSD.org
|
|
HOMEPAGE= http://snapshot.opera.com/
|
|
COMMENT= Small, fast and customizable WWW client
|
|
|
|
ONLY_FOR_PLATFORM= NetBSD-*-i386 SunOS-*-sparc FreeBSD-*-i386 DragonFly-*-i386
|
|
|
|
LICENSE= opera-850-license
|
|
|
|
NO_CONFIGURE= YES
|
|
USE_LANGUAGES= # empty
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
OPERA_LANG= en
|
|
OPERA_VER_DATE= 20060411
|
|
OPERA_PKG_VERSION= 9.0
|
|
OPERA_PKG_VERSION_DIR= 900/beta1
|
|
|
|
_OPERA_OPSYS?= ${OPSYS}
|
|
_OPERA_MACHINE_ARCH?= ${MACHINE_ARCH}
|
|
|
|
.if (${_OPERA_OPSYS} == NetBSD) || (${_OPERA_OPSYS} == DragonFly)
|
|
DEPENDS+= suse_x11>=7.3:../../emulators/${SUSE_DIR_PREFIX}_x11
|
|
|
|
# we need the DIST_SUBDIR=. because of the inclusion of suse's Makefile.common
|
|
DIST_SUBDIR= .
|
|
EXTRACT_ONLY= # empty
|
|
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
|
|
|
|
EXTRACT_SUFX= .rpm
|
|
OPERA_ARCH= .i386
|
|
OPERA_DIR= linux/${OPERA_PKG_VERSION_DIR}/${OPERA_LANG}/${OPERA_ARCH:S/.//}/static
|
|
OPERA_DIST_VERSION= ${OPERA_PKG_VERSION:C/beta.*//:C/u.*//}-${OPERA_VER_DATE}.1-static-qt
|
|
|
|
RPMFILES= ${DISTFILES}
|
|
RPM2PKGSTRIP= 0
|
|
|
|
.elif (${_OPERA_OPSYS} == FreeBSD)
|
|
OPERA_ARCH= .i386.freebsd
|
|
OPERA_DIR= unix/freebsd/${OPERA_PKG_VERSION_DIR}/${OPERA_LANG}/static
|
|
OPERA_DIST_VERSION= ${OPERA_PKG_VERSION:C/u.*//}-${OPERA_VER_DATE}.1-static-qt
|
|
DISTFILES= opera-${OPERA_DIST_VERSION}${OPERA_ARCH}-${OPERA_LANG}-236${EXTRACT_SUFX}
|
|
|
|
WRKSRC= ${WRKDIR}/opera-${OPERA_DIST_VERSION}${OPERA_ARCH}-${OPERA_LANG}
|
|
|
|
OWN_DIRS= ${PREFIX}/share/opera/plugins
|
|
|
|
.elif (${_OPERA_OPSYS} == SunOS) && (${_OPERA_MACHINE_ARCH} == sparc)
|
|
EXTRACT_SUFX= .tar.bz2
|
|
OPERA_ARCH= -sol8-sparc-local
|
|
OPERA_DIR= unix/solaris/${OPERA_PKG_VERSION_DIR}/${OPERA_LANG}/${_OPERA_MACHINE_ARCH}/static
|
|
OPERA_DIST_VERSION= ${OPERA_PKG_VERSION:C/u.*//}-${OPERA_VER_DATE}.1-static-qt
|
|
DISTFILES= opera-${OPERA_DIST_VERSION}${OPERA_ARCH}-${OPERA_LANG}-236${EXTRACT_SUFX}
|
|
|
|
WRKSRC= ${WRKDIR}/opera-${OPERA_DIST_VERSION}${OPERA_ARCH}-${OPERA_LANG}
|
|
|
|
BUILD_DEFS+= INSTALL_ETC_OPERARC
|
|
INSTALL_ETC_OPERARC?= no
|
|
OWN_DIRS= ${PREFIX}/lib/opera/plugins
|
|
|
|
. if !empty(INSTALL_ETC_OPERARC:M[yY][eE][sS])
|
|
CONF_FILES+= ${PREFIX}/share/opera/config/opera6rc \
|
|
/etc/opera6rc
|
|
CONF_FILES+= ${PREFIX}/share/opera/config/opera6rc.fixed \
|
|
/etc/opera6rc.fixed
|
|
. endif
|
|
|
|
PLIST_SUBST+= OPERA_VER_DATE=${OPERA_VER_DATE:Q}
|
|
PLIST_SUBST+= OPERA_PKG_VERSION=${OPERA_PKG_VERSION:C/u.*//}
|
|
|
|
.endif
|
|
|
|
.if (((${_OPERA_OPSYS} == SunOS) && (${_OPERA_MACHINE_ARCH} == sparc)) || (${_OPERA_OPSYS} == FreeBSD))
|
|
NO_BUILD= YES
|
|
|
|
SUBST_CLASSES+= opera
|
|
SUBST_STAGE.opera= post-build
|
|
SUBST_FILES.opera= man/opera.1
|
|
SUBST_SED.opera= -e 's,/usr/,${PREFIX}/,g'
|
|
|
|
.endif
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
|
|
|
do-build:
|
|
.if (${_OPERA_OPSYS} == NetBSD) || (${_OPERA_OPSYS} == DragonFly)
|
|
@ ${SED} -e 's#@EMULDIR@#${EMULDIR}#g' ${FILESDIR}/opera.sh > \
|
|
${WRKDIR}/opera
|
|
|
|
post-install: post-install-manpage
|
|
${INSTALL_SCRIPT} ${WRKDIR}/opera ${PREFIX}/bin
|
|
|
|
.include "../../emulators/suse_linux/Makefile.application"
|
|
|
|
.if defined(MANCOMPRESSED) && !empty(MANCOMPRESSED:M[yY][eE][sS])
|
|
USE_TOOLS+= gzip
|
|
.endif
|
|
|
|
post-install-manpage:
|
|
# The SuSE common makefile defines "MANCOMPRESSED=yes".
|
|
. if defined(MANCOMPRESSED) && !empty(MANCOMPRESSED:M[yY][eE][sS])
|
|
${GZIP_CMD} ${EMULDIR}/usr/share/man/man1/opera.1
|
|
${LN} -fs ../../${EMULSUBDIR}/usr/share/man/man1/opera.1.gz \
|
|
${PREFIX}/${PKGMANDIR}/man1
|
|
. else
|
|
${LN} -fs ../../${EMULSUBDIR}/usr/share/man/man1/opera \
|
|
${PREFIX}/${PKGMANDIR}/man1
|
|
. endif
|
|
.endif
|
|
|
|
.if (((${_OPERA_OPSYS} == SunOS) && (${_OPERA_MACHINE_ARCH} == sparc)) || (${_OPERA_OPSYS} == FreeBSD))
|
|
do-install:
|
|
@cd ${WRKSRC} && ${ECHO} "n" | ./install.sh --prefix=${PREFIX}
|
|
@${ECHO} "=> You can ignore any previous lines about opera6rc"
|
|
@${ECHO}
|
|
|
|
post-install:
|
|
@${INSTALL_MAN} ${WRKSRC}/man/opera.1 ${PREFIX}/${PKGMANDIR}/man1
|
|
.endif
|
|
|
|
# regenerate distinfo for all ports supported by this package
|
|
opera-distinfo:
|
|
( ${ECHO} '$$'NetBSD'$$'; \
|
|
${ECHO} ''; \
|
|
_OPERA_OPSYS=NetBSD ${MAKE} distinfo 1>&2; \
|
|
${GREP} opera distinfo; \
|
|
_OPERA_OPSYS=FreeBSD ${MAKE} distinfo 1>&2; \
|
|
${GREP} opera distinfo; \
|
|
_OPERA_OPSYS=SunOS _OPERA_MACHINE_ARCH=sparc make distinfo 1>&2; \
|
|
${GREP} opera distinfo; \
|
|
) > distinfo.new
|
|
${MV} -f distinfo.new distinfo
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|