From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KEXfQ-0003U0-Ro for garchives@archives.gentoo.org; Thu, 03 Jul 2008 22:52:45 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D730FE02D6; Thu, 3 Jul 2008 22:52:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 825C9E02D6 for ; Thu, 3 Jul 2008 22:52:43 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 1263767181 for ; Thu, 3 Jul 2008 22:52:43 +0000 (UTC) Received: from jer by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1KEXfK-0000wR-Oa for gentoo-commits@lists.gentoo.org; Thu, 03 Jul 2008 22:52:38 +0000 From: "Jeroen Roovers (jer)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, jer@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in www-client/opera: ChangeLog opera-9.51.ebuild X-VCS-Repository: gentoo-x86 X-VCS-Files: ChangeLog opera-9.51.ebuild X-VCS-Directories: www-client/opera X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers Content-Type: text/plain; charset=utf8 Message-Id: Sender: Jeroen Roovers Date: Thu, 03 Jul 2008 22:52:38 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 9fdf9664-aa2d-4a85-9ab4-5d3d42de52d2 X-Archives-Hash: aa3fe89eba25bec3e084d036fb4d1433 jer 08/07/03 22:52:38 Modified: ChangeLog Added: opera-9.51.ebuild Log: Version bump thanks to georgia_tech_swagger (bug #230633). Allow amd64 = users to choose any x86 version (bug #227339). (Portage version: 2.2_rc1/cvs/Linux 2.6.24-gentoo-r2-JeR i686) Revision Changes Path 1.255 www-client/opera/ChangeLog file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/opera/C= hangeLog?rev=3D1.255&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/opera/C= hangeLog?rev=3D1.255&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/opera/C= hangeLog?r1=3D1.254&r2=3D1.255 Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v retrieving revision 1.254 retrieving revision 1.255 diff -u -r1.254 -r1.255 --- ChangeLog 1 Jul 2008 16:23:24 -0000 1.254 +++ ChangeLog 3 Jul 2008 22:52:38 -0000 1.255 @@ -1,6 +1,12 @@ # ChangeLog for www-client/opera # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.254 20= 08/07/01 16:23:24 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.255 20= 08/07/03 22:52:38 jer Exp $ + +*opera-9.51 (03 Jul 2008) + + 03 Jul 2008; Jeroen Roovers +opera-9.51.ebuild: + Version bump thanks to georgia_tech_swagger (bug #230633). Allow amd64= users + to choose any x86 version (bug #227339). =20 *opera-9.51_pre2061 (01 Jul 2008) =20 1.1 www-client/opera/opera-9.51.ebuild file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/opera/o= pera-9.51.ebuild?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/opera/o= pera-9.51.ebuild?rev=3D1.1&content-type=3Dtext/plain Index: opera-9.51.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-9.51.ebuild,v 1= .1 2008/07/03 22:52:38 jer Exp $ GCONF_DEBUG=3D"no" inherit eutils gnome2 DESCRIPTION=3D"A standards-compliant graphical Web browser" HOMEPAGE=3D"http://www.opera.com/" SLOT=3D"0" LICENSE=3D"OPERA-9.0" KEYWORDS=3D"~amd64 ~ppc ~x86 ~x86-fbsd" RESTRICT=3D"strip test" IUSE=3D"elibc_FreeBSD gnome ia32 qt-static qt3-static spell" MY_LINGUAS=3D"be bg cs da de el en en-GB es-ES es-LA fi fr fr-CA fy hi hr hu it ja ka ko lt mk nb nl nn pl pt pt-BR ru sv tr zh-CN zh-TW" for MY_LINGUA in ${MY_LINGUAS}; do IUSE=3D"${IUSE} linguas_${MY_LINGUA/-/_}" done O_URI=3D"mirror://opera/" O_FTP=3D"/951/final/en/" O_SUFF=3D"2061" SRC_URI=3D" ppc? ( ${O_URI}linux${O_FTP}ppc/shared/${P}.gcc4-shared-qt3.ppc.tar.bz2 = ) qt-static? ( x86-fbsd? ( ${O_URI}unix/freebsd${O_FTP}intel/static/${P}-freebsd5-stat= ic-qt3.i386.tar.bz2 ) qt3-static? ( amd64? ( ia32? ( ${O_URI}linux${O_FTP}i386/static/${P}.gcc4-static-qt3.i386.ta= r.bz2 ) !ia32? ( ${O_URI}linux${O_FTP}x86_64/${P}.gcc4-shared-qt3.x86_64.tar.= bz2 ) ) x86? ( ${O_URI}linux${O_FTP}i386/static/${P}.gcc4-static-qt3.i386.tar.= bz2 ) ) !qt3-static? ( amd64? ( ia32? ( ${O_URI}linux${O_FTP}i386/${P}.gcc4-qt4.i386.tar.bz2 ) !ia32? ( ${O_URI}linux${O_FTP}x86_64/${P}.gcc4-shared-qt3.x86_64.tar.= bz2 ) ) x86? ( ${O_URI}linux${O_FTP}i386/${P}.gcc4-qt4.i386.tar.bz2 ) ) ) !qt-static? ( x86-fbsd? ( ${O_URI}unix/freebsd${O_FTP}intel/shared/${P}-freebsd5-shar= ed-qt3.i386.tar.bz2 ) qt3-static? ( amd64? ( ia32? ( ${O_URI}linux${O_FTP}i386/shared/${P}.gcc4-shared-qt3.i386.ta= r.bz2 ) !ia32? ( ${O_URI}linux${O_FTP}x86_64/${P}.gcc4-shared-qt3.x86_64.tar.= bz2 ) ) x86? ( ${O_URI}linux${O_FTP}i386/shared/${P}.gcc4-shared-qt3.i386.tar.= bz2 ) ) !qt3-static? ( amd64? ( ia32? ( ${O_URI}linux${O_FTP}i386/shared/${P}.gcc4-shared-qt3.i386.ta= r.bz2 ) !ia32? ( ${O_URI}linux${O_FTP}x86_64/${P}.gcc4-shared-qt3.x86_64.tar.= bz2 ) ) x86? ( ${O_URI}linux${O_FTP}i386/shared/${P}.gcc4-shared-qt3.i386.tar.= bz2 ) ) ) " DEPEND=3D">=3Dsys-apps/sed-4" RDEPEND=3D"media-libs/libexif media-libs/jpeg >=3Dmedia-libs/fontconfig-2.1.94-r1 x11-libs/libXrandr x11-libs/libXp x11-libs/libXmu x11-libs/libXi x11-libs/libXft x11-libs/libXext x11-libs/libXcursor x11-libs/libX11 x11-libs/libSM x11-libs/libICE x86? ( !qt-static? ( !qt3-static? ( =3Dx11-libs/qt-3* ) ) ) amd64? ( ia32? ( app-emulation/emul-linux-x86-qtlibs ) !ia32? ( =3Dx11-libs/qt-3* ) ) ppc? ( =3Dx11-libs/qt-3* ) spell? ( app-text/aspell ) x86-fbsd? ( =3Dvirtual/libstdc++-3* !qt-static? ( !qt3-static? ( =3Dx11-libs/qt-3* ) ) ) " pkg_setup() { if use amd64; then if use ia32; then if use qt-static; then if use qt3-static; then S=3D"${WORKDIR}/${P}-${O_SUFF}.gcc4-static-qt3.i386" else S=3D"${WORKDIR}/${P}-${O_SUFF}.gcc4-qt4.i386" fi else if use qt3-static; then S=3D"${WORKDIR}/${P}-${O_SUFF}.gcc4-static-qt3.i386" else S=3D"${WORKDIR}/${P}-${O_SUFF}.gcc4-shared-qt3.i386" fi fi else S=3D"${WORKDIR}/${P}-${O_SUFF}.gcc4-shared-qt3.x86_64" fi fi use ppc && S=3D"${WORKDIR}/${P}-${O_SUFF}.gcc4-shared-qt3.ppc" use x86-fbsd && S=3D"${WORKDIR}/${P}-${O_SUFF}-freebsd5-shared-qt3.i386" if use x86; then if use qt-static; then if use qt3-static; then S=3D"${WORKDIR}/${P}-${O_SUFF}.gcc4-static-qt3.i386" else S=3D"${WORKDIR}/${P}-${O_SUFF}.gcc4-qt4.i386" fi else if use qt3-static; then S=3D"${WORKDIR}/${P}-${O_SUFF}.gcc4-static-qt3.i386" else S=3D"${WORKDIR}/${P}-${O_SUFF}.gcc4-shared-qt3.i386" fi fi fi } src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}/${PN}-9.00-install.patch" # bug #181300: use elibc_FreeBSD || epatch "${FILESDIR}/${PN}-9.50-pluginpath.patch" use elibc_FreeBSD && epatch "${FILESDIR}/${PN}-9.50-pluginpath-fbsd.patc= h" sed -i -e "s:config_dir=3D\"/etc\":config_dir=3D\"${D}/etc/\":g" \ -e "s:/usr/share/applnk:${D}/usr/share/applnk:g" \ -e "s:/usr/share/pixmaps:${D}/usr/share/pixmaps:g" \ -e "s:/usr/share/icons:${D}/usr/share/icons:g" \ -e "s:/etc/X11:${D}/etc/X11:g" \ -e "s:/usr/share/gnome:${D}/usr/share/gnome:g" \ -e "s:/opt/gnome/share:${D}/opt/gnome/share:g" \ -e 's:#\(OPERA_FORCE_JAVA_ENABLED=3D\):\1:' \ -e 's:#\(export LD_PRELOAD OPERA_FORCE_JAVA_ENABLED\):\1:' \ -e 's:read str_answer:return 0:' \ -e "s:/opt/kde:${D}/usr/kde:" \ -e "s:\(str_localdirplugin=3D\).*$:\1/opt/opera/lib/opera/plugins:" \ install.sh || die "sed failed" } src_compile() { # This workaround is sadly needed because gnome2.eclass doesn't check # whether a configure script or Makefile exists. true } src_install() { # Prepare installation directories for Opera's installer script. dodir /etc # Opera's native installer. ./install.sh --prefix=3D"${D}"/opt/opera || die "install.sh failed" einfo "It is safe to ignore warnings about failed checksums" einfo "and about files that would be ignored ..." einfo "Completing the installation where install.sh abandoned us ..." # java workaround sed -i -e 's:LD_PRELOAD=3D"${OPERA_JAVA_DIR}/libawt.so":LD_PRELOAD=3D"$L= D_PRELOAD"\:"${OPERA_JAVA_DIR}/libawt.so":' "${D}"/opt/opera/bin/opera dosed /opt/opera/bin/opera dosed /opt/opera/share/opera/java/opera.policy # Install the icons insinto /usr/share/pixmaps doins usr/share/pixmaps/opera.xpm local res for res in 16x16 22x22 32x32 48x48 ; do insinto /usr/share/icons/hicolor/${res}/apps doins usr/share/icons/hicolor/${res}/apps/opera.png done # Install the menu entry make_desktop_entry opera Opera /usr/share/pixmaps/opera.xpm 'Network;Web= Browser;Email;FileTransfer;IRCClient' # Install a symlink /usr/bin/opera dodir /usr/bin dosym /opt/opera/bin/opera /usr/bin/opera # fix plugin path echo "Plugin Path=3D/opt/opera/lib/opera/plugins" >> "${D}"/etc/opera6rc # enable spellcheck if use spell; then if use qt-static; then DIR=3D${P}.1 else use sparc && DIR=3D${P}.2 || DIR=3D${P}.5 fi echo "Spell Check Engine=3D/opt/opera/lib/opera/${DIR}/spellcheck.so" >= > "${D}"/opt/opera/share/opera/ini/spellcheck.ini fi dodir /etc/revdep-rebuild echo 'SEARCH_DIRS_MASK=3D"/opt/opera/lib/opera/plugins"' > "${D}"/etc/re= vdep-rebuild/90opera # Change libz.so.3 to libz.so.1 for gentoo/freebsd if use elibc_FreeBSD; then scanelf -qR -N libz.so.3 -F "#N" "${D}"/opt/${PN}/ | \ while read i; do if [[ $(strings "$i" | fgrep -c libz.so.3) -ne 1 ]]; then export SANITY_CHECK_LIBZ_FAILED=3D1 break fi sed -i -e 's/libz\.so\.3/libz.so.1/g' "$i" done [[ "$SANITY_CHECK_LIBZ_FAILED" =3D "1" ]] && die "failed to change libz= .so.3 to libz.so.1" fi # Add the Opera man dir to MANPATH: insinto /etc/env.d echo 'MANPATH=3D"/opt/opera/share/man"' >> "${D}"/etc/env.d/90opera # Remove unwanted LINGUAS: local LINGUA local LNGDIR=3D"${D}/opt/opera/share/opera/locale" einfo "Keeping these locales: ${LINGUAS}." for LINGUA in ${MY_LINGUAS}; do if ! use linguas_${LINGUA/-/_}; then LINGUA=3D$(find "${LNGDIR}" -maxdepth 1 -type d -iname ${LINGUA/_/-}) rm -r "${LINGUA}" fi done } pkg_postinst() { use gnome && gnome2_pkg_postinst elog "To change the UI language, choose [Tools] -> [Preferences], open t= he" elog "[General] tab, click on [Details...] then [Choose...] and point th= e" elog "file chooser at /opt/opera/share/opera/locale/, then enter the" elog "directory for the language you want and [Open] the .lng file." elog elog "To use the spellchecker (USE=3Dspell) for non-English simply do" elog "$ emerge app-dicts/aspell-[your language]." if use elibc_FreeBSD; then elog elog "To improve shared memory usage please set:" elog "$ sysctl kern.ipc.shm_allow_removed=3D1" fi elog "The Opera betas may still have issues with plugins, notably" elog "net-www/netscape-flash. See also https://bugs.gentoo.org/198162" } pkg_postrm() { use gnome && gnome2_pkg_postrm } --=20 gentoo-commits@lists.gentoo.org mailing list