summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2009-11-16 01:30:13 +0000
committerJeroen Roovers <jer@gentoo.org>2009-11-16 01:30:13 +0000
commit1c291a3264b6ff6e27c3e0450fea45ea8dbc900f (patch)
tree7cbd18c6b3b0bc38c4a2251a7a80737e7d4bdaf3 /www-client
parentVersion bump. Now uses pangocairo instead of pangoft2 for better results. Sup... (diff)
downloadhistorical-1c291a3264b6ff6e27c3e0450fea45ea8dbc900f.tar.gz
historical-1c291a3264b6ff6e27c3e0450fea45ea8dbc900f.tar.bz2
historical-1c291a3264b6ff6e27c3e0450fea45ea8dbc900f.zip
Version bump <http://my.opera.com/desktopteam/blog/sunday-build>.
Package-Manager: portage-2.2_rc49/cvs/Linux i686
Diffstat (limited to 'www-client')
-rw-r--r--www-client/opera/ChangeLog7
-rw-r--r--www-client/opera/Manifest11
-rw-r--r--www-client/opera/opera-10.10_pre4725.ebuild228
3 files changed, 244 insertions, 2 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog
index bb37b49b09f3..96345d9a5175 100644
--- a/www-client/opera/ChangeLog
+++ b/www-client/opera/ChangeLog
@@ -1,6 +1,11 @@
# 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.414 2009/11/13 16:10:24 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.415 2009/11/16 01:30:13 jer Exp $
+
+*opera-10.10_pre4725 (16 Nov 2009)
+
+ 16 Nov 2009; Jeroen Roovers <jer@gentoo.org> +opera-10.10_pre4725.ebuild:
+ Version bump <http://my.opera.com/desktopteam/blog/sunday-build>.
*opera-10.10_pre4720 (13 Nov 2009)
diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest
index 784d99cbd57f..ba6708271bbe 100644
--- a/www-client/opera/Manifest
+++ b/www-client/opera/Manifest
@@ -28,8 +28,17 @@ DIST opera-10.10-4720.gcc4-qt4.x86_64.tar.bz2 12601455 RMD160 4d418f5e053763f14e
DIST opera-10.10-4720.gcc4-shared-qt3.i386.tar.bz2 11774177 RMD160 06267ad85331ebe6828a61d42967a0f8ad934d00 SHA1 5d076a88352ed85166f088a7a9033031bb52d5e5 SHA256 4732544cc9b5ee1207f44e2ba22afa6eb1bef5912f3763e5ec77a9f81c289d4a
DIST opera-10.10-4720.gcc4-shared-qt3.ppc.tar.bz2 11925595 RMD160 4e1b1014f9f5a14fa8dbcb304aa5517aeb9fe5e4 SHA1 6a7c6f770d82e5f0c795aa67f0748b85cdb82d38 SHA256 59459ee0aac0642103c6c7b0d0ddbd412b7c72aa02a6c4d6904f903881f3cc31
DIST opera-10.10-4720.gcc4-shared-qt3.x86_64.tar.bz2 12601365 RMD160 0b344aec0ba3069ce24d3a164c232fe302d5e1bc SHA1 383ab86bd008f2d85b52ee2ca9accb6c8f8eccc2 SHA256 bc9c292cf65dfae87e67d4e29abc0a5980c0b9de775972b0f56c6d3f8ebfeef0
+DIST opera-10.10-4725.freebsd7-shared-qt3.i386.tar.bz2 11645095 RMD160 5953edef9cb655e83d10014108fb2758889948e0 SHA1 d9fa45a13aeb0f08bb1ff1c9dd8402c2ab17def0 SHA256 bd4d87656fdd617e4eb71317f9ff172e54d29ecbbfbb40f9a31930fed5e23d70
+DIST opera-10.10-4725.gcc4-bundled-qt4.i386.tar.bz2 16601606 RMD160 e3eaf53c1661ea640a9213f2cb16119dd36af61c SHA1 baa8909c6f18cfc970090512935997dd1a2b35fc SHA256 8ace40d830e6f5d42a278af83f7a601b1c6848fa83175c69619e58715f03149e
+DIST opera-10.10-4725.gcc4-bundled-qt4.x86_64.tar.bz2 17359592 RMD160 db4e0ec19f45c3b4838d65094f26962b945f247d SHA1 ed9ddcbf96ce564a38c271f44f702eab94439318 SHA256 4e33f49183aa24f2b82569bbfb8868fa1e51d965fab337f1133f6d0b2962250e
+DIST opera-10.10-4725.gcc4-qt4.i386.tar.bz2 11757436 RMD160 71c2b59c6efc6714493543d00216751f9825f37b SHA1 c6e9ed172455b59e84e68df3ffee9ec79dcf5dd0 SHA256 b4db74ae33fe2ed20d69dba3939f8ff26a7509ed74965634aab18388910dd55d
+DIST opera-10.10-4725.gcc4-qt4.x86_64.tar.bz2 12603749 RMD160 63db6dba53801070a8ac21b09eb9d9c7e06a08cc SHA1 50ce0d9999cb2a58b3d61ddbcf28de2e75c10834 SHA256 967f026f21d218568b6a2ce9e0210d980f5300aadc850e774fc051988b447f79
+DIST opera-10.10-4725.gcc4-shared-qt3.i386.tar.bz2 11775669 RMD160 052d63a0b94d262b7f9c02de5b4f45fb6b155b9a SHA1 9b008a543694e12ac6b34371442833bee229f707 SHA256 6a53fa8e7403dcab1d46246a52783dfcbace7c9ddd1081209579551d242135fd
+DIST opera-10.10-4725.gcc4-shared-qt3.ppc.tar.bz2 11924934 RMD160 4e007e5edf16ef7f55d96574232d30a3845012e1 SHA1 ea7fb7e532b3e14514969ea00818ff1b89a22d27 SHA256 897e4284c9407878d9b2f0efc343beea5dd42f0abb6a98b99ae2f8b71f5db1a7
+DIST opera-10.10-4725.gcc4-shared-qt3.x86_64.tar.bz2 12601782 RMD160 0a5083a7be6394cb787278579e90845269c12329 SHA1 a90ad0e44b9cf495aa61fb131f8ef6197772973c SHA256 4649bc92dd323d18c9fce5013004fbb7c2a841725c4a41530c70a26bfc8010f3
EBUILD opera-10.01.ebuild 6067 RMD160 abd33d810b2b827eb93aee5b324702e88f9131fa SHA1 524031a0a8feac5d08263e6d73820df5aa5297ea SHA256 3aba355de9495e43c4b8f7651d1fcd9d74e6ed6a8828efeee4a410da8b50e6ce
EBUILD opera-10.10_pre4694.ebuild 6380 RMD160 7fdd332bbf9e0212508af1418dbcffb90fb73139 SHA1 81d400d4c0edb1a13256070a105100d74eb92332 SHA256 4b784676d5ae9de1c082da40a82d75dd74d065a0cdb2836ab5fafd3710cae8fc
EBUILD opera-10.10_pre4720.ebuild 6380 RMD160 8a866e76d1e4c241d5fccc0c6bb25c25130a571d SHA1 c67c03f55cf0c2dcf39d4873b2a2027dda138b01 SHA256 1c771a52ce222a1cc9ffe5ba1168f6ccf8dcc9bddbe94da56a6c514743acb792
-MISC ChangeLog 79936 RMD160 c35e0c658ce66f6566e29abc10d2fc226302f2d2 SHA1 4f6552d6bb78996221882aac3ca09b2378c6a9d4 SHA256 eda017135932af41fcf54f70185a38f34f8e408defe5b25aaea5f97e2e538089
+EBUILD opera-10.10_pre4725.ebuild 6380 RMD160 db670d1f159cbae50a5fba7406f3d7aaeb7490e8 SHA1 76f49e9a3ba40e0b4b3c167f76e21159e517a9b1 SHA256 df42d419de1773e477fdd4ff0da3cbbe912ce1bca0c2abe3c767413f527e671a
+MISC ChangeLog 80117 RMD160 7eeb0a3e9b4edea7c5aab421e0815d3f74e7ee95 SHA1 cdd04983447d3dba2143c9dc0a8470ee29d6d6e2 SHA256 d0b7419ab60517fcbece258f11a57a64ac2d7269119d22deedd2fb78b649bdb5
MISC metadata.xml 623 RMD160 b931e2f0fde75fc6d06f1c4d50306f9290953672 SHA1 2983627e32312dd3a625f0b418057341da220403 SHA256 e35d04f13c0c9a659a804ff0bd241b503fdf153e343bd566422317ddd5f90cdd
diff --git a/www-client/opera/opera-10.10_pre4725.ebuild b/www-client/opera/opera-10.10_pre4725.ebuild
new file mode 100644
index 000000000000..a4c05b1e8cbe
--- /dev/null
+++ b/www-client/opera/opera-10.10_pre4725.ebuild
@@ -0,0 +1,228 @@
+# 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.10_pre4725.ebuild,v 1.1 2009/11/16 01:30:13 jer Exp $
+
+EAPI="2"
+
+GCONF_DEBUG="no"
+
+inherit eutils gnome2
+
+DESCRIPTION="A standards-compliant graphical Web browser"
+HOMEPAGE="http://www.opera.com/"
+
+SLOT="0"
+LICENSE="OPERA-10.00"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+
+RESTRICT="mirror strip test"
+QA_DT_HASH="opt/${PN}/.*"
+
+IUSE="elibc_FreeBSD gnome ia32 qt3 qt-static"
+MY_LINGUAS="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="${IUSE} linguas_${MY_LINGUA/-/_}"
+done
+
+O_U="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="4725"
+
+if [ "${PV/*_pre}" = "${OPERABUILD}" ]; then
+ O_P="${P/_pre*/}-${OPERABUILD}"
+else
+ O_P="SET_OPERABUILD_IN_THE_EBUILD"
+fi
+
+SRC_URI="
+ 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 )
+ )
+ )
+ )
+ ppc? ( ${O_U}ppc-linux/${O_P}.gcc4-shared-qt3.ppc.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=">=sys-apps/sed-4"
+
+RDEPEND="
+ media-libs/jpeg
+ media-libs/libexif
+ >=media-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? ( =x11-libs/qt-3*[-immqt] )
+ !qt3? ( x11-libs/qt-core x11-libs/qt-gui )
+ )
+ )
+ !ia32? (
+ qt-static? ( media-libs/nas )
+ !qt-static? (
+ qt3? ( =x11-libs/qt-3*[-immqt] )
+ !qt3? ( x11-libs/qt-core x11-libs/qt-gui )
+ )
+ )
+ )
+ x86? (
+ qt-static? ( media-libs/nas )
+ !qt-static? (
+ qt3? ( =x11-libs/qt-3*[-immqt] )
+ !qt3? ( x11-libs/qt-core x11-libs/qt-gui )
+ )
+ )
+ ppc? ( =x11-libs/qt-3*[-immqt] )
+ x86-fbsd? ( =x11-libs/qt-3*[-immqt] )
+ "
+
+opera_linguas() {
+ # Remove unwanted LINGUAS:
+ local LINGUA
+ local LNGDIR="${D}/opt/opera/share/opera/locale"
+ einfo "Keeping these locales: ${LINGUAS}."
+ for LINGUA in ${MY_LINGUAS}; do
+ if ! use linguas_${LINGUA/-/_}; then
+ LINGUA=$(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 =${CATEGORY}/${P}'${NORMAL}"
+}
+
+src_unpack() {
+ unpack ${A}
+ if [[ ! -d ${S} ]]; then
+ cd "${WORKDIR}"/${PN}* || die "failed to enter work directory"
+ S="$(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=\"/etc\":config_dir=\"${D}/etc/\":g" \
+ -e "s:\(str_localdirplugin=\).*$:\1/opt/opera/lib/opera/plugins:" \
+ -e 's:#\(export LD_PRELOAD OPERA_FORCE_JAVA_ENABLED\):\1:' \
+ -e 's:#\(OPERA_FORCE_JAVA_ENABLED=\):\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="${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="${OPERA_JAVA_DIR}/libawt.so":LD_PRELOAD="$LD_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/applications/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="/opt/opera/lib/opera/plugins"' > "${D}"/etc/revdep-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=1
+ break
+ fi
+ sed -i -e 's/libz\.so\.3/libz.so.1/g' "$i"
+ done
+ [[ "$SANITY_CHECK_LIBZ_FAILED" = "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="/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 the"
+ elog "[General] tab, click on [Details...] then [Choose...] and point the"
+ elog "file chooser at /opt/opera/share/opera/locale/, then enter the"
+ elog "directory for the language you want and [Open] the .lng file."
+
+ if use elibc_FreeBSD; then
+ elog
+ elog "To improve shared memory usage please set:"
+ elog "$ sysctl kern.ipc.shm_allow_removed=1"
+ fi
+}
+
+pkg_postrm() {
+ use gnome && gnome2_pkg_postrm
+}