summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2011-11-28 19:34:19 +0000
committerJeroen Roovers <jer@gentoo.org>2011-11-28 19:34:19 +0000
commit085673368dd3db08d41060a5873a49e66ef30fbb (patch)
treeb0c9bd7cb7227547270cd836decb0e90154615fa /www-client/opera-next
parentFix compatibility with newer versions of rubygems. Fix provided by Tomoh K. i... (diff)
downloadhistorical-085673368dd3db08d41060a5873a49e66ef30fbb.tar.gz
historical-085673368dd3db08d41060a5873a49e66ef30fbb.tar.bz2
historical-085673368dd3db08d41060a5873a49e66ef30fbb.zip
http://my.opera.com/desktopteam/blog/2011/11/28/glyphs-and-plugins
Package-Manager: portage-2.2.0_alpha79/cvs/Linux x86_64
Diffstat (limited to 'www-client/opera-next')
-rw-r--r--www-client/opera-next/ChangeLog7
-rw-r--r--www-client/opera-next/Manifest12
-rw-r--r--www-client/opera-next/opera-next-12.00.1174.ebuild235
3 files changed, 249 insertions, 5 deletions
diff --git a/www-client/opera-next/ChangeLog b/www-client/opera-next/ChangeLog
index e6795d168917..5b29fcddae08 100644
--- a/www-client/opera-next/ChangeLog
+++ b/www-client/opera-next/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-client/opera-next
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/opera-next/ChangeLog,v 1.54 2011/11/22 17:30:24 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera-next/ChangeLog,v 1.55 2011/11/28 19:34:19 jer Exp $
+
+*opera-next-12.00.1174 (28 Nov 2011)
+
+ 28 Nov 2011; Jeroen Roovers <jer@gentoo.org> +opera-next-12.00.1174.ebuild:
+ http://my.opera.com/desktopteam/blog/2011/11/28/glyphs-and-plugins
22 Nov 2011; Jeroen Roovers <jer@gentoo.org> -opera-next-12.00.1054.ebuild,
-opera-next-12.00.1060.ebuild, -opera-next-12.00.1065.ebuild,
diff --git a/www-client/opera-next/Manifest b/www-client/opera-next/Manifest
index 51c1db34f04e..4392e3628773 100644
--- a/www-client/opera-next/Manifest
+++ b/www-client/opera-next/Manifest
@@ -10,15 +10,19 @@ DIST opera-next-12.00-1116.x86_64.linux.tar.xz 12262800 RMD160 d86d24f921275d6bd
DIST opera-next-12.00-1155.i386.freebsd.tar.xz 11675104 RMD160 c98dbd25bd2356de71bbffa637af163c948f555a SHA1 62980e51997eb4541166c8c144887727f21f0c81 SHA256 efd2049595ed05ca04cadcb9bf1d72797f436fcf2c8638efd3ba6c5b226bac44
DIST opera-next-12.00-1155.i386.linux.tar.xz 11679532 RMD160 c0c304e31017c03152086a65828b3fe7afb3cb53 SHA1 5a16b54d8fbfef05a70623492b1871150ef5115e SHA256 2dc151c006357c7dc232fb43fc59e367ff86dca2b1fba0453ce7f394d42636af
DIST opera-next-12.00-1155.x86_64.linux.tar.xz 12528336 RMD160 7118054a20159d29e36bc746a582da673e256b52 SHA1 e13351714accf8c2ddb879d518a1905ec2d1cf27 SHA256 1c1d0561225b47f31d72e7d90673c58005f50bf4de1ebb3527dd15f6bfd32415
+DIST opera-next-12.00-1174.i386.freebsd.tar.xz 11797008 RMD160 98be901be59a5724c3dcd6350fd506da397b1580 SHA1 f8309afbf132c43329d885a6089a82b4a36f73e1 SHA256 c3568720607f178a012b51c8739912fa9d83c45c4063639397e123306fa84515
+DIST opera-next-12.00-1174.i386.linux.tar.xz 11799364 RMD160 6ba396354997c0f90d95cff0a08ea780e0378546 SHA1 7cc0070e71a50bff87f151e0c01f4dfcb09d51a1 SHA256 b67fc99a23d83f5aac435aaf37ee10a11248d57dad9d959babd7004f9e7182b6
+DIST opera-next-12.00-1174.x86_64.linux.tar.xz 12635968 RMD160 bd91ae22ee1683432b2c16f8bdb37805c7018c40 SHA1 27382a8287f052a903c71d1b009d161722ef9c74 SHA256 2d530e081b560eef65e1fdfd422ebb951e2e4e3d231572c4ce01ef9911db7eb8
EBUILD opera-next-12.00.1105.ebuild 5717 RMD160 321e023fded49af24e03f148a33b948135d09f65 SHA1 855d6cf6b7250b8a7b7ed645a8cbf5c13d44a4bc SHA256 bbebd2e50831e3ef4d6ffc1fd9de361a3dd680ddce021f68c2d9fd3c21e62609
EBUILD opera-next-12.00.1116.ebuild 5971 RMD160 0390e61dce8598afb0252fd76642d6a8d0ed8089 SHA1 28a1a7b16c9293ebd131f559364a8ba63907d019 SHA256 b83b229a1c88ba98186a1cd79bd13a8aaf9f42c596a191db1c5d82d7e1db1d59
EBUILD opera-next-12.00.1155.ebuild 5969 RMD160 6de95530f4e4430f1f146ffa61b52604f24396fd SHA1 784e89366065959176e18035c696918bf673d41f SHA256 a949ba0c69e14621223ec264093df9343a7a776f3b62ce90544902ce18616a45
-MISC ChangeLog 11020 RMD160 95442cca3ad1aa95119d33a6f2a50453c003a840 SHA1 99a7e9f6a150beb63e97db3a948c63674e21274a SHA256 864413a8017f537b1a4e9b955fb99172887a27d4a4be15598c716aa135c56b39
+EBUILD opera-next-12.00.1174.ebuild 5970 RMD160 b6ae0cd793f531f34213e4bdfca40f05df7ab0bc SHA1 9f5e9cb55ca48190a57d7db2f5babb4acabe7259 SHA256 041505b816cbd1d799453aadcf53b876c6ddcd299cd4cb0654304e7b6f3d11e4
+MISC ChangeLog 11206 RMD160 d4e1fc917c5f517397039840dd42d588e6f0a4a1 SHA1 e50a11eb943bb01128237d5a745f79d257378fd1 SHA256 1c2d124cc509a22553e294a07dbe9359fcde9487b101b5dd1c30390d9dbdf7aa
MISC metadata.xml 1638 RMD160 17ef00f7f0515dd445244bda48ddb4f3a8829597 SHA1 32894ca5e0efb115e4f98f27e46f547199e3dd74 SHA256 1479bc1f748e8186b8141d8a0eb7d45930c67f3fafd746527215e2ef1070be8a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk7L3DYACgkQVWmRsqeSphObqwCdFxbzvxyDULJ184I3qqwFQ9I9
-H9cAnjVsgviQ2/o6zUycj1vyb0TykEIA
-=haJj
+iEYEARECAAYFAk7T4kEACgkQVWmRsqeSphNHkACdFStasLYtV7UQLHR/utZkCYIf
+t4gAnipBifGgLHSfu/0Inviq8FqRCADl
+=j6hT
-----END PGP SIGNATURE-----
diff --git a/www-client/opera-next/opera-next-12.00.1174.ebuild b/www-client/opera-next/opera-next-12.00.1174.ebuild
new file mode 100644
index 000000000000..85b91fc9964e
--- /dev/null
+++ b/www-client/opera-next/opera-next-12.00.1174.ebuild
@@ -0,0 +1,235 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera-next/opera-next-12.00.1174.ebuild,v 1.1 2011/11/28 19:34:19 jer Exp $
+
+EAPI="4"
+
+inherit eutils fdo-mime gnome2-utils multilib pax-utils versionator
+
+DESCRIPTION="A fast and secure web browser and Internet suite"
+HOMEPAGE="http://www.opera.com/"
+
+SLOT="0"
+LICENSE="OPERA-11 LGPL-2 LGPL-3"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+IUSE="elibc_FreeBSD gtk gtk3 kde +gstreamer"
+
+O_V="$(get_version_component_range 1-2)" # Major version, i.e. 11.00
+O_B="$(get_version_component_range 3)" # Build version, i.e. 1156
+
+O_D="3784_${O_V}-${O_B}"
+O_P="${PN}-${O_V}-${O_B}"
+O_U="http://snapshot.opera.com/unix/"
+
+SRC_URI="
+ amd64? ( ${O_U}${O_D}/${O_P}.x86_64.linux.tar.xz )
+ x86? ( ${O_U}${O_D}/${O_P}.i386.linux.tar.xz )
+ x86-fbsd? ( ${O_U}${O_D}/${O_P}.i386.freebsd.tar.xz )
+"
+
+OPREFIX="/usr/$(get_libdir)"
+
+QA_DT_HASH="${OPREFIX}/${PN}/.*"
+QA_PRESTRIPPED="${OPREFIX}/${PN}/.*"
+
+O_LINGUAS="af az be bg bn cs da de el en-GB es-ES es-LA et fi fr fr-CA fy gd hi
+hr hu id it ja ka ko lt me mk ms nb nl nn pa pl pt pt-BR ro ru sk sr sv sw ta te
+th tl tr uk uz vi zh-CN zh-TW zu"
+
+for O_LINGUA in ${O_LINGUAS}; do
+ IUSE="${IUSE} linguas_${O_LINGUA/-/_}"
+done
+
+DEPEND="
+ >=sys-apps/sed-4
+ app-arch/xz-utils
+"
+GTKRDEPEND="
+ dev-libs/atk
+ dev-libs/glib:2
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf
+ gtk? ( x11-libs/gtk+:2 )
+ gtk3? ( x11-libs/gtk+:3 )
+ x11-libs/pango
+ x11-libs/pixman
+"
+KDERDEPEND="
+ kde-base/kdelibs
+ x11-libs/qt-core
+ x11-libs/qt-gui
+"
+GSTRDEPEND="
+ dev-libs/glib:2
+ dev-libs/libxml2
+ media-libs/gst-plugins-base
+ media-libs/gstreamer
+ media-plugins/gst-plugins-meta
+"
+RDEPEND="
+ media-libs/fontconfig
+ media-libs/freetype
+ sys-apps/util-linux
+ sys-libs/zlib
+ virtual/opengl
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXft
+ x11-libs/libXrender
+ x11-libs/libXt
+ gtk? ( ${GTKRDEPEND} )
+ gtk3? ( ${GTKRDEPEND} )
+ kde? ( ${KDERDEPEND} )
+ gstreamer? ( ${GSTRDEPEND} )
+"
+
+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}
+ mv -v ${PN}* "${S}" || die
+}
+
+src_prepare() {
+ local LNGDIR="share/${PN}/locale"
+
+ # Count linguas
+ count() { echo ${#}; }
+ local lingua_count=$(count ${O_LINGUAS} en)
+ local locale_count=$(count ${LNGDIR}/*)
+ [[ ${lingua_count} = ${locale_count} ]] \
+ || die "Number of LINGUAS does not match number of locales"
+ unset count
+
+ # Remove unwanted linguas
+ einfo "Keeping these locales (linguas): ${LINGUAS}."
+ for LINGUA in ${O_LINGUAS}; do
+ if ! use linguas_${LINGUA/-/_}; then
+ LINGUA=$(find "${LNGDIR}" -maxdepth 1 -type d -iname ${LINGUA/_/-})
+ rm -r "${LINGUA}" || die "The list of linguas needs to be fixed"
+ fi
+ done
+
+ # Remove doc directory but keep the LICENSE under another name (bug #315473)
+ mv share/doc/${PN}/LICENSE share/${PN}/defaults/license.txt
+ rm -rf share/doc
+ for locale in share/${PN}/locale/*; do
+ rm -f "${locale}/license.txt"
+ ln -sn /usr/share/${PN}/defaults/license.txt "${locale}/license.txt" \
+ || die
+ done
+
+ # Remove package directory
+ rm -rf share/${PN}/package
+
+ # Optional libraries
+ if ! use gtk; then
+ rm lib/${PN}/liboperagtk2.so || die
+ fi
+ if ! use gtk3; then
+ rm lib/${PN}/liboperagtk3.so || die
+ fi
+ if ! use kde; then
+ rm lib/${PN}/liboperakde4.so || die
+ fi
+ if ! use gstreamer; then
+ rm -r lib/${PN}/gstreamer || die
+ fi
+
+ # Unzip the man pages before sedding
+ gunzip share/man/man1/* || die
+
+ # Replace PREFIX, SUFFIX and PN in various files
+ sed -i \
+ -e "s:@@{PREFIX}:/usr:g" \
+ -e "s:@@{SUFFIX}::g" \
+ -e "s:@@{_SUFFIX}::g" \
+ -e "s:@@{USUFFIX}::g" \
+ -e "s:opera:${PN}:g" \
+ share/man/man1/* \
+ share/applications/${PN}-*.desktop \
+ || die
+
+ # Replace "Opera" with "Opera Next"
+ if [[ ${PN} = opera-next ]]; then
+ sed -i share/applications/${PN}-*.desktop \
+ -e "/^Name=Opera\|^ Next/s:Opera:& Next:" || die
+ fi
+
+ # Create /usr/bin/opera wrapper
+ echo '#!/bin/sh' > ${PN}
+ echo 'export OPERA_DIR="/usr/share/'"${PN}"'"' >> ${PN}
+ echo 'export OPERA_PERSONALDIR=${OPERA_PERSONALDIR:-"${HOME}/.'${PN}'"}' \
+ >> ${PN}
+ echo 'export LD_PRELOAD="/usr/'$(get_libdir)'/libgtk-x11-2.0.so"' >> ${PN}
+ echo 'exec '"${OPREFIX}/${PN}/${PN}"' "$@"' >> ${PN}
+
+ # Change libz.so.3 to libz.so.1 for gentoo/freebsd
+ if use elibc_FreeBSD; then
+ scanelf -qR -N libz.so.3 -F "#N" lib/${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 \
+ "$i" \
+ -e 's/libz\.so\.3/libz.so.1/g'
+ done
+ [[ "$SANITY_CHECK_LIBZ_FAILED" = "1" ]] && die
+ fi
+}
+
+src_install() {
+ # We install into usr instead of opt as Opera does not support the latter
+ dodir /usr
+ mv lib/ "${D}/${OPREFIX}" || die
+ mv share/ "${D}/usr/" || die
+
+ # Install startup scripts
+ dobin ${PN}
+
+ # Stop revdep-rebuild from checking opera binaries
+ dodir /etc/revdep-rebuild
+ echo "SEARCH_DIRS_MASK=\"${OPREFIX}/${PN}\"" \
+ > "${D}"/etc/revdep-rebuild/90${PN}
+
+ # Set PaX markings for hardened/PaX (bug #344267)
+ pax-mark m \
+ "${D}/${OPREFIX}/${PN}/${PN}" \
+ "${D}/${OPREFIX}/${PN}/operaplugincleaner" \
+ "${D}/${OPREFIX}/${PN}/operapluginwrapper"
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ if use elibc_FreeBSD; then
+ elog
+ elog "To improve shared memory usage please set:"
+ elog "$ sysctl kern.ipc.shm_allow_removed=1"
+ fi
+
+ # Update desktop file database and gtk icon cache (bug #334993)
+ gnome2_icon_cache_update
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ # Update desktop file database and gtk icon cache (bug #334993)
+ gnome2_icon_cache_update
+ fdo-mime_desktop_database_update
+}