From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Mc0GI-0002Vv-Sw for garchives@archives.gentoo.org; Fri, 14 Aug 2009 17:08:19 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3D104E056E; Fri, 14 Aug 2009 17:08:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 03857E056E for ; Fri, 14 Aug 2009 17:08:18 +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 98E2466DB8 for ; Fri, 14 Aug 2009 17:08:17 +0000 (UTC) Received: from jer by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1Mc0GH-0005xG-38 for gentoo-commits@lists.gentoo.org; Fri, 14 Aug 2009 17:08:17 +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: opera-10.00_pre4546.ebuild ChangeLog X-VCS-Repository: gentoo-x86 X-VCS-Files: opera-10.00_pre4546.ebuild ChangeLog 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: Fri, 14 Aug 2009 17:08:17 +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: d5127e7d-4aec-480c-8258-115c6880a7e7 X-Archives-Hash: a4e909f4959577ffcb3c2854f1eb88d2 jer 09/08/14 17:08:17 Modified: ChangeLog Added: opera-10.00_pre4546.ebuild Log: Version bump . (Portage version: 2.2_rc38/cvs/Linux i686) Revision Changes Path 1.375 www-client/opera/ChangeLog file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/opera/C= hangeLog?rev=3D1.375&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/opera/C= hangeLog?rev=3D1.375&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/opera/C= hangeLog?r1=3D1.374&r2=3D1.375 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.374 retrieving revision 1.375 diff -u -r1.374 -r1.375 --- ChangeLog 13 Aug 2009 11:21:45 -0000 1.374 +++ ChangeLog 14 Aug 2009 17:08:16 -0000 1.375 @@ -1,6 +1,13 @@ # ChangeLog for www-client/opera # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.374 20= 09/08/13 11:21:45 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.375 20= 09/08/14 17:08:16 jer Exp $ + +*opera-10.00_pre4546 (14 Aug 2009) + + 14 Aug 2009; Jeroen Roovers +opera-10.00_pre4546.ebui= ld: + Version bump + . =20 *opera-10.00_pre4537 (13 Aug 2009) =20 1.1 www-client/opera/opera-10.00_pre4546.ebuild file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/opera/o= pera-10.00_pre4546.ebuild?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/opera/o= pera-10.00_pre4546.ebuild?rev=3D1.1&content-type=3Dtext/plain Index: opera-10.00_pre4546.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-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-10.00_pre4546.e= build,v 1.1 2009/08/14 17:08:16 jer Exp $ EAPI=3D"2" 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-10.00" KEYWORDS=3D"~amd64 ~x86 ~x86-fbsd" RESTRICT=3D"mirror strip test" QA_DT_HASH=3D"opt/${PN}/.*" IUSE=3D"elibc_FreeBSD gnome ia32 qt3 qt-static" MY_LINGUAS=3D"be bg cs da de el en-GB es-ES es-LA et fi fr fr-CA fy hi hr= hu id it ja ka ko lt mk nb nl nn pl pt pt-BR ro ru sk sr sv ta te tr uk = zh-CN zh-HK zh-TW" for MY_LINGUA in ${MY_LINGUAS}; do IUSE=3D"${IUSE} linguas_${MY_LINGUA/-/_}" done O_U=3D"http://snapshot.opera.com/unix/snapshot-${PV/*_pre}/" # 1) Please check for missing (qt3/qt-static) builds # 2) and only then update the build number manually OPERABUILD=3D"4546" if [ "${PV/*_pre}" =3D "${OPERABUILD}" ]; then O_P=3D"${P/_pre*/}-${OPERABUILD}" else O_P=3D"SET_OPERABUILD_IN_THE_EBUILD" fi SRC_URI=3D" amd64? ( !ia32? ( qt-static? ( ${O_U}x86_64-linux/${O_P}.gcc4-bundled-qt4.x86_64.tar.bz2= ) !qt-static? ( qt3? ( ${O_U}x86_64-linux/${O_P}.gcc4-shared-qt3.x86_64.tar.bz2 ) !qt3? ( ${O_U}x86_64-linux/${O_P}.gcc4-qt4.x86_64.tar.bz2 ) ) ) ia32? ( qt-static? ( ${O_U}intel-linux/${O_P}.gcc4-bundled-qt4.i386.tar.bz2 ) !qt-static? ( qt3? ( ${O_U}intel-linux/${O_P}.gcc4-shared-qt3.i386.tar.bz2 ) !qt3? ( ${O_U}intel-linux/${O_P}.gcc4-qt4.i386.tar.bz2 ) ) ) ) x86? ( qt-static? ( ${O_U}intel-linux/${O_P}.gcc4-bundled-qt4.i386.tar.bz2 ) !qt-static? ( qt3? ( ${O_U}intel-linux/${O_P}.gcc4-shared-qt3.i386.tar.bz2 ) !qt3? ( ${O_U}intel-linux/${O_P}.gcc4-qt4.i386.tar.bz2 ) ) ) x86-fbsd? ( ${O_U}intel-freebsd/${O_P}.freebsd7-shared-qt3.i386.tar.bz2 = ) " DEPEND=3D">=3Dsys-apps/sed-4" RDEPEND=3D" media-libs/jpeg media-libs/libexif >=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 amd64? ( ia32? ( qt-static? ( media-libs/nas ) !qt-static? ( qt3? ( =3Dx11-libs/qt-3*[-immqt] ) !qt3? ( x11-libs/qt-core x11-libs/qt-gui ) ) ) !ia32? ( qt-static? ( media-libs/nas ) !qt-static? ( qt3? ( =3Dx11-libs/qt-3*[-immqt] ) !qt3? ( x11-libs/qt-core x11-libs/qt-gui ) ) ) ) x86? ( qt-static? ( media-libs/nas ) !qt-static? ( qt3? ( =3Dx11-libs/qt-3*[-immqt] ) !qt3? ( x11-libs/qt-core x11-libs/qt-gui ) ) ) x86-fbsd? ( =3Dx11-libs/qt-3*[-immqt] ) " opera_linguas() { # 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_setup() { elog "${WARN}If you seek support, please file a bug report at${NORMAL}" elog "${WARN}https://bugs.gentoo.org and post the output of${NORMAL}" elog "${WARN} \`emerge --info =3D${CATEGORY}/${P}'${NORMAL}" } src_unpack() { unpack ${A} if [[ ! -d ${S} ]]; then cd "${WORKDIR}"/${PN}* || die "failed to enter work directory" S=3D"$(pwd)" einfo "Setting WORKDIR to ${S}" fi } src_prepare() { epatch "${FILESDIR}/${PN}-gentoo.patch" epatch "${FILESDIR}/${PN}-simplify-desktop.patch" epatch "${FILESDIR}/${PN}-freedesktop.patch" # bug #181300: if use elibc_FreeBSD; then epatch "${FILESDIR}/${PN}-10.00-pluginpath-fbsd.patch" else epatch "${FILESDIR}/${PN}-10.00-pluginpath.patch" fi sed -i -e "s:config_dir=3D\"/etc\":config_dir=3D\"${D}/etc/\":g" \ -e "s:\(str_localdirplugin=3D\).*$:\1/opt/opera/lib/opera/plugins:" \ -e 's:#\(export LD_PRELOAD OPERA_FORCE_JAVA_ENABLED\):\1:' \ -e 's:#\(OPERA_FORCE_JAVA_ENABLED=3D\):\1:' \ install.sh || die "sed failed" } # These workarounds are sadly needed because gnome2.eclass doesn't check # whether a configure/Makefile script exists. src_configure() { :; } src_compile() { :; } 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 # Adapt desktop file to Gnome when needed use gnome && sed -i -e s:"GenericName\[":"Comment\[": "${D}"/usr/share/a= pplications/opera.desktop # Install a symlink /usr/bin/opera dodir /usr/bin dosym /opt/opera/bin/opera /usr/bin/opera 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 [[ -z MY_LINGUAS ]] || opera_linguas } 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 languages other than Eng= lish, do:" elog " emerge app-dicts/myspell-[your language]" elog " mkdir \${HOME}/.opera/dictionaries" elog " cd \${HOME}/.opera/dictionaries" elog " ln -s /usr/share/myspell/*.{aff,dic} ." elog "A future release of Opera 10 should remedy this inconvenience." if use elibc_FreeBSD; then elog elog "To improve shared memory usage please set:" elog "$ sysctl kern.ipc.shm_allow_removed=3D1" fi elog elog "The current Opera builds may still have issues with plugins, notab= ly" elog "www-plugins/adobe-flash. See also https://bugs.gentoo.org/198162" } pkg_postrm() { use gnome && gnome2_pkg_postrm }