summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-04-30 16:35:42 +0000
committerJeroen Roovers <jer@gentoo.org>2010-04-30 16:35:42 +0000
commitc10f254be7dd77ba5afac76c4137844eaedb7417 (patch)
tree593ce94d44abfbc93d327d51cba96d2deb82603c /www-client
parentNew www-client/opera-10.53 license. (diff)
downloadhistorical-c10f254be7dd77ba5afac76c4137844eaedb7417.tar.gz
historical-c10f254be7dd77ba5afac76c4137844eaedb7417.tar.bz2
historical-c10f254be7dd77ba5afac76c4137844eaedb7417.zip
Version bump <http://my.opera.com/desktopteam/blog/2010/04/30/fixing-crash-bugs-for-unix-beta-release>.
Package-Manager: portage-2.2_rc67/cvs/Linux i686
Diffstat (limited to 'www-client')
-rw-r--r--www-client/opera/ChangeLog11
-rw-r--r--www-client/opera/Manifest12
-rw-r--r--www-client/opera/opera-10.53_pre6328.ebuild171
-rw-r--r--www-client/opera/opera-10.53_pre6330.ebuild171
4 files changed, 363 insertions, 2 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog
index ab26cd397659..36a4b4759d66 100644
--- a/www-client/opera/ChangeLog
+++ b/www-client/opera/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for www-client/opera
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.469 2010/04/28 18:02:14 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.470 2010/04/30 16:35:42 jer Exp $
+
+*opera-10.53_pre6330 (30 Apr 2010)
+*opera-10.53_pre6328 (30 Apr 2010)
+
+ 30 Apr 2010; Jeroen Roovers <jer@gentoo.org> +opera-10.53_pre6328.ebuild,
+ +opera-10.53_pre6330.ebuild:
+ Version bump
+ <http://my.opera.com/desktopteam/blog/2010/04/30/fixing-crash-bugs-for-uni
+ x-beta-release>.
*opera-10.53_pre6326 (28 Apr 2010)
diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest
index 3d4850235852..01c34f99ecb7 100644
--- a/www-client/opera/Manifest
+++ b/www-client/opera/Manifest
@@ -13,8 +13,18 @@ DIST opera-10.53-6326.i386.freebsd.tar.bz2 13229837 RMD160 c900d03ee6e3278d9ecf7
DIST opera-10.53-6326.i386.linux.tar.bz2 13143118 RMD160 cfdad9963c1ea67d8d60cb466a77b4dd3b6287d8 SHA1 221c61a3f86eff045f830491a18dd6628085a56b SHA256 ac6b40a11fcb361965560702f86ba5f6eb1c5acb389d0d482a596690b4f95866
DIST opera-10.53-6326.ppc.linux.tar.bz2 13446990 RMD160 b34c98aeeec04e9b2af3371d652f2a3720ba385f SHA1 083ca285be51f695b5bd9b7e401608b7b81cbcd5 SHA256 8e133bada6280258a5e2c937e84e21d6a54bf08af77530ced8ec964a37fa0942
DIST opera-10.53-6326.x86_64.linux.tar.bz2 14173647 RMD160 aaf474b47ef8ccab1222e823536219795ae0658e SHA1 70fa9c417e1c4cd84245808a3c7d0116ba8eaa3f SHA256 d189f21b3cf33e0a4d63d1b66023f5adbf40964290101f22edcd300568250c96
+DIST opera-10.53-6328.i386.freebsd.tar.bz2 13250980 RMD160 ab2dbcbf862cbc9cbce142891c73d0b41a96c0ca SHA1 bc95bbab925608ffbf8cd7269d389f32b448b3b9 SHA256 12d989decec448213f21cfbc8cf4de539b0f6429ea2d4197eb6fd74d26b4dd40
+DIST opera-10.53-6328.i386.linux.tar.bz2 13171631 RMD160 9251f4acae0cc9f2f33e358905323796b595c65b SHA1 6ea31e7b1d00b11d7d1e55e74e068b43f33e3ee3 SHA256 7ebe93f97727a6af982fd7552eb4e3243d8e070db2a931af015860f502365a22
+DIST opera-10.53-6328.ppc.linux.tar.bz2 13473929 RMD160 55fd640a6821af9f6ef5f169668da184620e27b4 SHA1 c98c3b87d63db6be7e290bc84572f9baede5ec8c SHA256 b0e7aa9e080d0eda8681c9aebe1f406e2d88e89cc5d559bbda5bd632dee87f36
+DIST opera-10.53-6328.x86_64.linux.tar.bz2 14158494 RMD160 e00f93aac5efc9e719e6c89a9b3ec91c485121bd SHA1 7c0c49f0cb2538b1daa169335287c11f5d548015 SHA256 f60d98016ca5c4bc196aa8777d3b8a0660a6b7e98fe7ddf247d093ff93c30931
+DIST opera-10.53-6330.i386.freebsd.tar.bz2 13234238 RMD160 6cf7e6e0b7570a5a5fbf7402c501b5882d268657 SHA1 262e791b3ef5bb0e5b0d048e5a54aab09411978e SHA256 1e2cde834308036725e20c913c5893ffdf844a464d2670f93c28ec1560636d7f
+DIST opera-10.53-6330.i386.linux.tar.bz2 13175607 RMD160 f62028d1f23483188688a8d8e4a0fa6f1e613b27 SHA1 dda61ad91c9dba5561ab85bfc118bcf1a99dee44 SHA256 0be054ee8ba155cd8975f67dbf5e874a3d6566b9f8acdef0917cea7ba27bdcb7
+DIST opera-10.53-6330.ppc.linux.tar.bz2 13475840 RMD160 0f5fe941c7a8513835ecb86498c065e5162d20ae SHA1 42737fd4dc5b1695befef9466a089070a4b8cc5c SHA256 4528f9549e4fb0648872a28956f2fb66bebb69940a60dd61f87c726f0a859d0c
+DIST opera-10.53-6330.x86_64.linux.tar.bz2 14161882 RMD160 78cdc69f1c7a1757dcb59b8fd5bd893db7475a8e SHA1 4c58ef2ae4e36d2956b27599261b57d41583ffc0 SHA256 d415398dea5c7e943d052b5a86918dfa032b4ed2e725198bfe775e6b9b3d3ce0
EBUILD opera-10.10-r1.ebuild 4893 RMD160 2733461c1ddbceae8a1177fb931693aedaaf8a2d SHA1 1c95510bf92b10420c5739c1e45cdf80aee07627 SHA256 36e9ec97cb0e8d5b01a0765e56ff7fda46f80e0590ca4342aaada9632bc62d3a
EBUILD opera-10.10.ebuild 4893 RMD160 6691d79a5f95c3e3d0701b4129a481875399d587 SHA1 2bd8f1a8e97f79607afc1f2ad0edf8a4c80c7f62 SHA256 8dc65519c765759956195bad7bd25bade46c222bfeb10d9e5057bf4f7bb90565
EBUILD opera-10.53_pre6326.ebuild 4452 RMD160 102b1a8fcff4a767328794afe14662bfc1d87369 SHA1 2dc931bb505eb21f32703065d5070f5074bc8d60 SHA256 504b1ea38ddf9443d6ffec26caf89b92a2803b5f517f604c643675592e8cd2b8
-MISC ChangeLog 90752 RMD160 7837fd90c7ae25067925625cd590e1587d3879d6 SHA1 0a7a321f81223b5832f498a5d85d3b04fc319ce7 SHA256 109f1e062bb2719e37068370b0bc00e467ee799cdaed76969a2ba63bb51a2b85
+EBUILD opera-10.53_pre6328.ebuild 4452 RMD160 4d05220b97b083d4ad86c96a117f3c3482d49fbd SHA1 00d23c9fe6579cd32a10298c887cd42a858e634e SHA256 49cf0c5f38fdae41aafb5846aa4f96f23f1a631cf623f536cb002a22f13736a3
+EBUILD opera-10.53_pre6330.ebuild 4452 RMD160 2c3d32943320a121a6193fc8be04d72d13aba753 SHA1 d8459e063e0b2e03dfa852bb6689694fbb1eb18c SHA256 1aa7f5d05e1692445fef7eeec2a436d1c2af300ae664d8af22fb2a107e623b11
+MISC ChangeLog 91042 RMD160 0b706a87f3f13f23c8c719e537e7e513ff8d131c SHA1 c38ef85b0ccd41a9a2e1abe2a0200bb2b997896d SHA256 b763a63de0f688aed30e0992a8f5688333f409bfd508563ea7262d6ac1b621c9
MISC metadata.xml 547 RMD160 dabb86bc4db85881b0ce910ac05e63d16342e787 SHA1 9acc7ec7a62017ed7c9acfca301a3ea75e4e88d9 SHA256 9f70a9db124893d6a56a40615dbe8cccd015b836067d570a9638a9bd9ec6217a
diff --git a/www-client/opera/opera-10.53_pre6328.ebuild b/www-client/opera/opera-10.53_pre6328.ebuild
new file mode 100644
index 000000000000..933aa5dfdfb7
--- /dev/null
+++ b/www-client/opera/opera-10.53_pre6328.ebuild
@@ -0,0 +1,171 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-10.53_pre6328.ebuild,v 1.1 2010/04/30 16:35:42 jer Exp $
+
+EAPI="2"
+
+OPREFIX="/usr/lib"
+
+inherit eutils
+
+DESCRIPTION="A standards-compliant graphical Web browser"
+HOMEPAGE="http://www.opera.com/"
+
+SLOT="0"
+LICENSE="OPERA-10.50 LGPL-2 LGPL-3"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+
+RESTRICT="mirror test"
+
+QA_DT_HASH="${OPREFIX}/${PN}/.*"
+QA_PRESTRIPPED="${OPREFIX}/${PN}/.*"
+
+IUSE="elibc_FreeBSD"
+
+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 vi 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}/"
+O_P="${P/_pre/-}"
+
+SRC_URI="
+ amd64? ( ${O_U}${O_P}.x86_64.linux.tar.bz2 )
+ ppc? ( ${O_U}${O_P}.ppc.linux.tar.bz2 )
+ x86? ( ${O_U}${O_P}.i386.linux.tar.bz2 )
+ x86-fbsd? ( ${O_U}${O_P}.i386.freebsd.tar.bz2 )
+"
+
+DEPEND=">=sys-apps/sed-4"
+
+RDEPEND="
+ =x11-libs/gtk+-2*
+ dev-libs/atk
+ dev-libs/expat
+ dev-libs/glib
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/glitz
+ media-plugins/gst-plugins-meta
+ media-libs/libpng
+ sys-apps/util-linux
+ sys-libs/zlib
+ virtual/opengl
+ x11-libs/cairo
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libXcomposite
+ x11-libs/libXcursor
+ x11-libs/libXdamage
+ x11-libs/libXdmcp
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXi
+ x11-libs/libXmu
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/libXt
+ x11-libs/libxcb
+ x11-libs/pango
+ x11-libs/pixman
+ x11-libs/xcb-util
+ "
+
+opera_linguas() {
+ # Remove unwanted LINGUAS:
+ local LINGUA
+ local LNGDIR="${D}usr/share/${PN}/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() {
+ echo -e \
+ " ${GOOD}****************************************************${NORMAL}"
+ elog "If you seek support, please file a bug report at"
+ elog "https://bugs.gentoo.org and post the output of"
+ elog " \`emerge --info =${CATEGORY}/${P}'"
+ echo -e \
+ " ${GOOD}****************************************************${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_install() {
+ # Remove "license directory" (bug #315473)
+ rm -rf "share/doc/opera"
+
+ # We install into usr instead of opt as Opera does not support the latter
+ dodir /usr
+ mv lib/ share/ "${D}"/usr/ || die "mv lib/ share/ failed"
+
+ # Unzip the man pages before sedding
+ gunzip "${D}"/usr/share/man/man1/* || die "gunzip failed"
+
+ # Replace PREFIX and SUFFIX in various files
+ sed -i \
+ -e "s:@@{PREFIX}:/usr:g" \
+ -e "s:@@{SUFFIX}::g" \
+ -e "s:@@{_SUFFIX}::g" \
+ -e "s:@@{USUFFIX}::g" \
+ "${D}"/usr/share/mime/packages/opera-widget.xml \
+ "${D}"/usr/share/man/man1/* \
+ "${D}"/usr/share/applications/opera-browser.desktop \
+ "${D}"/usr/share/applications/opera-widget-manager.desktop || die "sed failed"
+
+ # Install startup script
+ dobin ${PN}-widget-manager "${FILESDIR}"/opera || die "dobin failed"
+
+ # Stop revdep-rebuild from checking opera binaries
+ dodir /etc/revdep-rebuild
+ echo "SEARCH_DIRS_MASK=\"${OPREFIX}/${PN}\"" > "${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}"${OPREFIX}/${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
+
+ [[ -z MY_LINGUAS ]] || opera_linguas
+}
+
+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 /usr/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
+}
diff --git a/www-client/opera/opera-10.53_pre6330.ebuild b/www-client/opera/opera-10.53_pre6330.ebuild
new file mode 100644
index 000000000000..9d779dd4739f
--- /dev/null
+++ b/www-client/opera/opera-10.53_pre6330.ebuild
@@ -0,0 +1,171 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-10.53_pre6330.ebuild,v 1.1 2010/04/30 16:35:42 jer Exp $
+
+EAPI="2"
+
+OPREFIX="/usr/lib"
+
+inherit eutils
+
+DESCRIPTION="A standards-compliant graphical Web browser"
+HOMEPAGE="http://www.opera.com/"
+
+SLOT="0"
+LICENSE="OPERA-10.53 LGPL-2 LGPL-3"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+
+RESTRICT="mirror test"
+
+QA_DT_HASH="${OPREFIX}/${PN}/.*"
+QA_PRESTRIPPED="${OPREFIX}/${PN}/.*"
+
+IUSE="elibc_FreeBSD"
+
+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 vi 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}/"
+O_P="${P/_pre/-}"
+
+SRC_URI="
+ amd64? ( ${O_U}${O_P}.x86_64.linux.tar.bz2 )
+ ppc? ( ${O_U}${O_P}.ppc.linux.tar.bz2 )
+ x86? ( ${O_U}${O_P}.i386.linux.tar.bz2 )
+ x86-fbsd? ( ${O_U}${O_P}.i386.freebsd.tar.bz2 )
+"
+
+DEPEND=">=sys-apps/sed-4"
+
+RDEPEND="
+ =x11-libs/gtk+-2*
+ dev-libs/atk
+ dev-libs/expat
+ dev-libs/glib
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/glitz
+ media-plugins/gst-plugins-meta
+ media-libs/libpng
+ sys-apps/util-linux
+ sys-libs/zlib
+ virtual/opengl
+ x11-libs/cairo
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libXcomposite
+ x11-libs/libXcursor
+ x11-libs/libXdamage
+ x11-libs/libXdmcp
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXi
+ x11-libs/libXmu
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/libXt
+ x11-libs/libxcb
+ x11-libs/pango
+ x11-libs/pixman
+ x11-libs/xcb-util
+ "
+
+opera_linguas() {
+ # Remove unwanted LINGUAS:
+ local LINGUA
+ local LNGDIR="${D}usr/share/${PN}/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() {
+ echo -e \
+ " ${GOOD}****************************************************${NORMAL}"
+ elog "If you seek support, please file a bug report at"
+ elog "https://bugs.gentoo.org and post the output of"
+ elog " \`emerge --info =${CATEGORY}/${P}'"
+ echo -e \
+ " ${GOOD}****************************************************${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_install() {
+ # Remove "license directory" (bug #315473)
+ rm -rf "share/doc/opera"
+
+ # We install into usr instead of opt as Opera does not support the latter
+ dodir /usr
+ mv lib/ share/ "${D}"/usr/ || die "mv lib/ share/ failed"
+
+ # Unzip the man pages before sedding
+ gunzip "${D}"/usr/share/man/man1/* || die "gunzip failed"
+
+ # Replace PREFIX and SUFFIX in various files
+ sed -i \
+ -e "s:@@{PREFIX}:/usr:g" \
+ -e "s:@@{SUFFIX}::g" \
+ -e "s:@@{_SUFFIX}::g" \
+ -e "s:@@{USUFFIX}::g" \
+ "${D}"/usr/share/mime/packages/opera-widget.xml \
+ "${D}"/usr/share/man/man1/* \
+ "${D}"/usr/share/applications/opera-browser.desktop \
+ "${D}"/usr/share/applications/opera-widget-manager.desktop || die "sed failed"
+
+ # Install startup script
+ dobin ${PN}-widget-manager "${FILESDIR}"/opera || die "dobin failed"
+
+ # Stop revdep-rebuild from checking opera binaries
+ dodir /etc/revdep-rebuild
+ echo "SEARCH_DIRS_MASK=\"${OPREFIX}/${PN}\"" > "${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}"${OPREFIX}/${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
+
+ [[ -z MY_LINGUAS ]] || opera_linguas
+}
+
+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 /usr/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
+}