diff options
author | Jeroen Roovers <jer@gentoo.org> | 2010-02-06 12:12:27 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2010-02-06 12:12:27 +0000 |
commit | dca385b1e26dfb442edfe8d324b4335bef96adc0 (patch) | |
tree | fbff3ff87cefae0cf49e5168d13c6d5e5ec8f46b /www-client | |
parent | Remove Intel license, duplicate of BSD, bug 301123. (diff) | |
download | historical-dca385b1e26dfb442edfe8d324b4335bef96adc0.tar.gz historical-dca385b1e26dfb442edfe8d324b4335bef96adc0.tar.bz2 historical-dca385b1e26dfb442edfe8d324b4335bef96adc0.zip |
Version bump <http://my.opera.com/desktopteam/blog/2010/02/05/skin-fixes-unite-and-then-some>.
Package-Manager: portage-2.2_rc62/cvs/Linux i686
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/opera/ChangeLog | 9 | ||||
-rw-r--r-- | www-client/opera/Manifest | 6 | ||||
-rw-r--r-- | www-client/opera/opera-10.50_pre6208.ebuild | 160 |
3 files changed, 173 insertions, 2 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog index 4638ea64fd2d..96448c2d0bb7 100644 --- a/www-client/opera/ChangeLog +++ b/www-client/opera/ChangeLog @@ -1,6 +1,13 @@ # 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.444 2010/02/01 19:14:45 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.445 2010/02/06 12:12:27 jer Exp $ + +*opera-10.50_pre6208 (06 Feb 2010) + + 06 Feb 2010; Jeroen Roovers <jer@gentoo.org> +opera-10.50_pre6208.ebuild: + Version bump + <http://my.opera.com/desktopteam/blog/2010/02/05/skin-fixes-unite-and-then + -some>. 01 Feb 2010; Jeroen Roovers <jer@gentoo.org> opera-10.50_pre6201.ebuild, opera-10.50_pre6204.ebuild: diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest index 2d88d2240f28..9198ee3fda24 100644 --- a/www-client/opera/Manifest +++ b/www-client/opera/Manifest @@ -28,11 +28,15 @@ DIST opera-10.50-6201.linux.x86_64.tar.bz2 11633126 RMD160 0090aef9e8a412ddf6c6b DIST opera-10.50-6204.freebsd.i386.tar.bz2 10723203 RMD160 87a9424c50a955ac232711b10e5a8686b3b01e46 SHA1 77aadc284434af90d2451613bb0ee9c827a6af9f SHA256 048358723b4f12610c72b12d7a13afb1a1578912d212a8a4d944f88335a77433 DIST opera-10.50-6204.linux.i386.tar.bz2 10692086 RMD160 e896226695c7c0e8bb3a2ac4ec5415f1270cd8b4 SHA1 625861715c31ea51b7a8feccacb8a6ec53622271 SHA256 a02bf2327e7287c8de7019ec26e31ea1e1d1b1ccad3f86adb6d4ecc6c68ce311 DIST opera-10.50-6204.linux.x86_64.tar.bz2 11576327 RMD160 ed12d8b48253d94d1c4933b30e5df20fb2c2ab1a SHA1 016abbb18db2241a6512e0192a6d82aa749693f1 SHA256 54edd727d4f63ba24b34d7a8bdfc9c8db806bffeabd78d15cda84b4bbca9a7a2 +DIST opera-10.50-6208.i386.freebsd.tar.bz2 12841533 RMD160 d96fe3dec6b4efa15ab613ff28a3d74d181bd07d SHA1 539dbc9a7d798264f339fcc75b1d62c9aa4a9061 SHA256 f28641dd3390d2d7f7566f183ddcf095ede23bd88e4db7719fe0c6dc7550ca5f +DIST opera-10.50-6208.i386.linux.tar.bz2 12772456 RMD160 a08cd0efa6133b8b2e15d8203024b926fd0935b9 SHA1 212097c2c1a2ebf07014bc01c7c4b047be540902 SHA256 8ae0ee13975265f2b3b7c3303e2d1c6fa84bb03be78e7fe09665c6bfba7c08b1 +DIST opera-10.50-6208.x86_64.linux.tar.bz2 13701636 RMD160 278bd0fd9c46796af96c432edcf7a2789fa60e07 SHA1 9fe38805ec4ac959129141bd84ad294a3fb35f0e SHA256 ab1c2a52554f169534a450027000c3e4b5c3016c8911640b5c7e27ad46e69018 EBUILD opera-10.10-r1.ebuild 6110 RMD160 1dd3b4d00938107d37bed303e65e37bd45301530 SHA1 d76d918182259039130531983f034d9f71307f72 SHA256 21107a8b014ef51c6b041e072b7b0a5993bbabbb8aad8a3374aaacc889b7e692 EBUILD opera-10.10.ebuild 6109 RMD160 dd1e59501f98ed60d4416485c8d5cab6593f2878 SHA1 720d00e0ead4ce50c9c1d9ed4c1763dcae85ebe9 SHA256 13473ec73af665451557a4495036a83b3bd1d353e605a84a4b9b35bdbb7c1994 EBUILD opera-10.20_pre4744.ebuild 6283 RMD160 eea72b53cc8118ce7d2f6419612db4da520bb4e4 SHA1 788450cbc19a477e6f8ef008132ea1468e89c208 SHA256 ddc2a3a0c702b0f6f6d287941484cfd87c35dcf6a87190d65b11c6ea4366440c EBUILD opera-10.50_pre6177.ebuild 3810 RMD160 0591e7fc6e5063dce01108c5a76aee69a75a82dc SHA1 b81814e5db724ce383cdbbd3cd67b8d730185df1 SHA256 0ee7de9ee0e3cbd2c1ab39d79dff8dcbbc0afd1a62748aa933dba8d04c15f6ae EBUILD opera-10.50_pre6201.ebuild 3910 RMD160 6071ff670caea5901a6978f3f5aae6763b38775a SHA1 c9617285df3c5c55aa803766260cf529efc5a023 SHA256 b1b85dfbaea2b9d2be5a9ee7b29328a696bc3be9ff608a8385c3628467892683 EBUILD opera-10.50_pre6204.ebuild 3968 RMD160 8e850d11c71e0f20208114718d40ea11164d8535 SHA1 6aca4d78d259ffc01c135f5ee52fe2af45e0c0b9 SHA256 6db5f1f73e0f6d990a99527ac7eb6d173ea4be10a343447ac3dc5e3b797b0aa6 -MISC ChangeLog 84940 RMD160 6825a031e5f5fa97724bb617fe147297c4ca17ed SHA1 0beced04f073ca9830ca39e74e0ab340e41be9c2 SHA256 fa984028a9bda404abd346ae00d8e60c97a65917b0298df8b7686b164bc1b92a +EBUILD opera-10.50_pre6208.ebuild 3968 RMD160 dbfa58f887107e0ca3c2a2c4c5ee29e55b60b0a0 SHA1 b106e4103f27fda88b91e58d909c98ce2e5c58b2 SHA256 f5674b85b43a6465734afa60b243f0b12db7a60200aca8d0bcb1be22b7adccdf +MISC ChangeLog 85155 RMD160 c63158037a4fdc57220ee6c1583de77f87c95c25 SHA1 717f48f8aadeed980cd4aa643e7444cf1fc0a36f SHA256 0d23626af9435c9dbf7c5632d2bfb91e27a055c843a94ea13f56e1e55dceb025 MISC metadata.xml 547 RMD160 dabb86bc4db85881b0ce910ac05e63d16342e787 SHA1 9acc7ec7a62017ed7c9acfca301a3ea75e4e88d9 SHA256 9f70a9db124893d6a56a40615dbe8cccd015b836067d570a9638a9bd9ec6217a diff --git a/www-client/opera/opera-10.50_pre6208.ebuild b/www-client/opera/opera-10.50_pre6208.ebuild new file mode 100644 index 000000000000..dd6831810596 --- /dev/null +++ b/www-client/opera/opera-10.50_pre6208.ebuild @@ -0,0 +1,160 @@ +# 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.50_pre6208.ebuild,v 1.1 2010/02/06 12:12:27 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.10 LGPL-2" +KEYWORDS="~amd64 ~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 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 ) + 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_prepare() { + sed -i opera \ + -e 's|=usr/lib/opera|=/usr/lib/opera|g' \ + -e '6a\OPERA_DIR=/usr/share/opera' \ + || die "sed opera script failed" +} + +src_install() { + # This alpha build hardcodes /usr as prefix + mv etc/ usr/ "${D}"/ || die "mv etc/ usr/ failed" + + make_desktop_entry ${PN} Opera ${PN} # TODO + + # Install startup script + dobin ${PN} || 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 ${OPREFIX}/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 +} |