diff options
author | Jeroen Roovers <jer@gentoo.org> | 2011-10-07 15:12:04 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2011-10-07 15:12:04 +0000 |
commit | 316c3a43caa5dfa1f59af0a099ddea51bc139039 (patch) | |
tree | 43131fb4445a412d9ad61a5641a764ee4b10a4e2 | |
parent | Move parallel make blocking to global space, #358567 & #356671 (diff) | |
download | historical-316c3a43caa5dfa1f59af0a099ddea51bc139039.tar.gz historical-316c3a43caa5dfa1f59af0a099ddea51bc139039.tar.bz2 historical-316c3a43caa5dfa1f59af0a099ddea51bc139039.zip |
http://my.opera.com/desktopteam/blog/2011/10/07/ragnarok-css3-radial-gradients
Package-Manager: portage-2.2.0_alpha62/cvs/Linux x86_64
-rw-r--r-- | www-client/opera-next/ChangeLog | 8 | ||||
-rw-r--r-- | www-client/opera-next/Manifest | 12 | ||||
-rw-r--r-- | www-client/opera-next/opera-next-12.00.1085.ebuild | 225 |
3 files changed, 240 insertions, 5 deletions
diff --git a/www-client/opera-next/ChangeLog b/www-client/opera-next/ChangeLog index 6116ac7aa054..403790c33c3c 100644 --- a/www-client/opera-next/ChangeLog +++ b/www-client/opera-next/ChangeLog @@ -1,6 +1,12 @@ # 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.44 2011/09/29 15:49:25 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera-next/ChangeLog,v 1.45 2011/10/07 15:12:04 jer Exp $ + +*opera-next-12.00.1085 (07 Oct 2011) + + 07 Oct 2011; Jeroen Roovers <jer@gentoo.org> +opera-next-12.00.1085.ebuild: + http://my.opera.com/desktopteam/blog/2011/10/07/ragnarok-css3-radial-gradient + s 29 Sep 2011; Jeroen Roovers <jer@gentoo.org> opera-next-12.00.1076.ebuild: Drop pluginpath.ini patching (perhaps bug #376897). diff --git a/www-client/opera-next/Manifest b/www-client/opera-next/Manifest index 7ba929557c81..6527cc9c08e4 100644 --- a/www-client/opera-next/Manifest +++ b/www-client/opera-next/Manifest @@ -13,16 +13,20 @@ DIST opera-next-12.00-1065.x86_64.linux.tar.xz 12023324 RMD160 e06e8438ea3d0d094 DIST opera-next-12.00-1076.i386.freebsd.tar.xz 11261516 RMD160 d55850e712427b8e2acf75e79d0a6b5f89ff47ee SHA1 d275b8be3b776c5d294a352b89ddfa897088695b SHA256 cda79b33851eb753c489f47a2b335f49967c8d5eb9f5dd1dfbbac46fbeac8f1b DIST opera-next-12.00-1076.i386.linux.tar.xz 11243972 RMD160 3f86a0665cf52cd9f6af4ece47aacf92f664a38a SHA1 266735a70ff8047512ff799ab6a2119e733218bb SHA256 ad6a7e0f388cc59f1164942200dc98c1ac8a0bd93f51da90f841b4514b920a24 DIST opera-next-12.00-1076.x86_64.linux.tar.xz 12018828 RMD160 f8586c02f794336b6c03fe33ab7d5ec2d44038e5 SHA1 37bf1e8ce425e09e187949db4f1118653a15aa74 SHA256 b913e1db8e096d6c10cc844bce25641568e87ca8f400c1a53daf1398ed8a2bea +DIST opera-next-12.00-1085.i386.freebsd.tar.xz 11453760 RMD160 b9b27b7b2c6b133a5d2d11c3c5747e56af937539 SHA1 84c815e0faacdc3cf2ad18758434744b290a3f62 SHA256 ad97126c88574b12502c52ab35b733e821cdb6e8800ab4f3ed5685df74abbc66 +DIST opera-next-12.00-1085.i386.linux.tar.xz 11449132 RMD160 dfd98084df91323dbc0edd9cfe1c8b81a99a902d SHA1 6c90ac901ffd5cf824a62f67e25854d8644fccdc SHA256 af5f4095464de3a8c00edde6ec3f60d1f9eb00d4ff3dfcb6d7bcfcf47e9b3df5 +DIST opera-next-12.00-1085.x86_64.linux.tar.xz 12249256 RMD160 f9b6dd9a5dc25518a9b886b8c1dae84bebe7a786 SHA1 0066487cae9a09ef456c5bf7a7f7984a1aa57547 SHA256 d416417d48f94bf5552058f0d36c1fababb7006fe74c2b8c345013204be609af EBUILD opera-next-12.00.1054.ebuild 6068 RMD160 caa4d42e4a0e8a726c0170608e74aa12a7f6522a SHA1 61eb01e530a65333edddebf89755f42a0e97f739 SHA256 a410dae1dad6cfa7c3048e88ab310fe551f9982a56ed91d89e26330e51ab27ce EBUILD opera-next-12.00.1060.ebuild 6064 RMD160 6e3d6efd15e0e1d3cbc1bd071db65397961362e0 SHA1 85f279d9384346f6fdff9fde56ac33997cb237ee SHA256 bbc2ab32bc18b1a96aed409a5e7867300a82a7521624c058855fb2ec3ddd62db EBUILD opera-next-12.00.1065.ebuild 6065 RMD160 771f43d386b283f862295a642d57c85b6fb81629 SHA1 c20624909c9df94d3ca30f00cc980540898a81c4 SHA256 93d7481ff1e10f899ddd3627e933d1902fdc7e27bd5aaf68eb4140f9eb61991c EBUILD opera-next-12.00.1076.ebuild 5864 RMD160 765d6b2afd37a7fb8b7d9047b3453b0d952f6d42 SHA1 095fdbf7e6e612cd12473340d5eb8abcb302e1f2 SHA256 78915b413ae755f709548a85f062cd836166ca5b5245e33414cfc821bc1104b6 -MISC ChangeLog 8895 RMD160 145d7ec82cea26cc153544ef6f934b68a7ec5991 SHA1 44f3b038a1574f4df9ca382f02de5840a4e73b74 SHA256 ae142d32f3e0017d4353d7deee10a39ed6f7ba727d706dc699b5c952cd732296 +EBUILD opera-next-12.00.1085.ebuild 5862 RMD160 1f40fad9ca05f95ef9ff8cfe18c58b4af55ca916 SHA1 a62fc19545637ef3f1d6001fe2c69fd06fa32982 SHA256 5ece8d7350b20a2d86104452bd69876980593edd2f761c8d8cc940e7cfaef19b +MISC ChangeLog 9096 RMD160 83a0b087bdefd00ba4dfec49d698a0fb8757a237 SHA1 6585902c5cb288c8b07a23e568fb121a2b1f49d2 SHA256 987ee5247f7cb9de36ceef43ac5bde3ba2dc6071c124d7e6dedd52c3fc515b6f MISC metadata.xml 1526 RMD160 0148fe23f26a0425e8cae068363e59fa36af7db5 SHA1 5153ce9757f7e664f6b6e52fd952441394620ee4 SHA256 ae8acdaecc24fd0c49c3eea1169613b531810f243e3488408d1e3100ec93c7bc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk6Ek5AACgkQVWmRsqeSphMubACdERfS6PEx1tu8O7JBfPwOoEmi -QAkAn3qooulI2l/Gqj607eodW9sLSSI7 -=Ze0n +iEYEARECAAYFAk6PFs4ACgkQVWmRsqeSphOPHgCfZo4eewInFb1RSLNRTS0///0Y +izIAn0V9AdpQp26nl8r7QD7WEhvoGQ2x +=jV3H -----END PGP SIGNATURE----- diff --git a/www-client/opera-next/opera-next-12.00.1085.ebuild b/www-client/opera-next/opera-next-12.00.1085.ebuild new file mode 100644 index 000000000000..990a69c4df42 --- /dev/null +++ b/www-client/opera-next/opera-next-12.00.1085.ebuild @@ -0,0 +1,225 @@ +# 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.1085.ebuild,v 1.1 2011/10/07 15:12:04 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 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="rock_${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 + x11-libs/gtk+:2 + x11-libs/pango + x11-libs/pixman +" +KDERDEPEND=" + kde-base/kdelibs + x11-libs/qt-core + x11-libs/qt-gui +" +GSTRDEPEND=" + dev-libs/glib + dev-libs/libxml2 + media-plugins/gst-plugins-meta + media-libs/gstreamer +" +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 + gtk? ( ${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 "ln -sn license.txt" + done + + # Remove package directory + rm -rf share/${PN}/package + + # Leave libopera*.so only if the user chooses + if ! use gtk; then + rm lib/${PN}/liboperagtk2.so || die "rm liboperagtk.so failed" + fi + if ! use kde; then + rm lib/${PN}/liboperakde4.so || die "rm liboperakde4.so failed" + fi + + # Unzip the man pages before sedding + gunzip share/man/man1/* || die "gunzip failed" + + # 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 "sed failed" + + # 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 '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 "failed to change libz.so.3 to libz.so.1" + 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 lib/ failed" + mv share/ "${D}/usr/" || die "mv share/ failed" + + # 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 +} |