diff options
author | Jeroen Roovers <jer@gentoo.org> | 2012-02-11 13:07:15 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2012-02-11 13:07:15 +0000 |
commit | 809d6e8dbeda50ff2c7d51cb41ccb451148b4321 (patch) | |
tree | 5e4fbe863438c9e2f3889428215155b124a8382a /www-client | |
parent | Fix crash, bug #219373 by Marek Cruz. (diff) | |
download | historical-809d6e8dbeda50ff2c7d51cb41ccb451148b4321.tar.gz historical-809d6e8dbeda50ff2c7d51cb41ccb451148b4321.tar.bz2 historical-809d6e8dbeda50ff2c7d51cb41ccb451148b4321.zip |
http://my.opera.com/desktopteam/blog/2012/02/10/new-11-62-snapshot
Package-Manager: portage-2.2.0_alpha85/cvs/Linux x86_64
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/opera/ChangeLog | 9 | ||||
-rw-r--r-- | www-client/opera/Manifest | 22 | ||||
-rw-r--r-- | www-client/opera/opera-11.62.1274.ebuild | 221 | ||||
-rw-r--r-- | www-client/opera/opera-11.62.1297.ebuild | 222 | ||||
-rw-r--r-- | www-client/opera/opera-11.62.1298.ebuild | 221 | ||||
-rw-r--r-- | www-client/opera/opera-11.62.1302.ebuild (renamed from www-client/opera/opera-11.62.1273.ebuild) | 7 |
6 files changed, 20 insertions, 682 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog index a1877848d10f..f22873e75569 100644 --- a/www-client/opera/ChangeLog +++ b/www-client/opera/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for www-client/opera # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.693 2012/02/09 16:21:10 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.694 2012/02/11 13:07:15 jer Exp $ + +*opera-11.62.1302 (11 Feb 2012) + + 11 Feb 2012; Jeroen Roovers <jer@gentoo.org> -opera-11.62.1273.ebuild, + -opera-11.62.1274.ebuild, -opera-11.62.1297.ebuild, -opera-11.62.1298.ebuild, + +opera-11.62.1302.ebuild: + http://my.opera.com/desktopteam/blog/2012/02/10/new-11-62-snapshot *opera-11.62.1298 (09 Feb 2012) *opera-11.62.1297 (09 Feb 2012) diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest index 762799c82a69..3e33f106de4c 100644 --- a/www-client/opera/Manifest +++ b/www-client/opera/Manifest @@ -4,24 +4,18 @@ Hash: SHA1 DIST opera-11.61-1250.i386.freebsd.tar.xz 11542444 RMD160 985a7bf4e82b09e8da3cb529019df78f227bac21 SHA1 154e73851169f1a1150bcf0256529c6b05cce42e SHA256 36edb035a3b77ca1a4e63d54eb9d3aa05579443f29390bdfdb87f136bf5d1b8b DIST opera-11.61-1250.i386.linux.tar.xz 11490920 RMD160 7715b98548457260a838944b30b8e16de6915cec SHA1 504f05eeab4e2ef07b82ce8090c30bf49d108237 SHA256 cc4b814cd23c20e076a579b74ade72eb49c3b5e236ebd3cd95ca04251a2c853d DIST opera-11.61-1250.x86_64.linux.tar.xz 12319616 RMD160 36b8fe9df9717673a1252b0a1ecd72c18d36ad0f SHA1 32256a638430a8298fea12fd909c773431063430 SHA256 e5a7de9bc0092fcd8213e50d887c127b0933127dcc167d1848720f07d4085f91 -DIST opera-11.62-1273.i386.freebsd.tar.xz 11546652 RMD160 b8d44291c12aff22f6f9611781363631498dcb1b SHA1 2b8d87f09db682014714e12c5933ed9ef557eeb4 SHA256 8ee11f6df48420b3df96ff3a8280421c35c667dbce30a6a2e67b30cb5b6bb6bb -DIST opera-11.62-1273.i386.linux.tar.xz 11488708 RMD160 54f146d25fe7375fbb697f8242281ad40b77bae1 SHA1 055e62ab24f9d9153ffc56c687d6f6438d85fc75 SHA256 243c95a39ccd7d5f2bf69d117ac5aca72fde8ceb0b18de0671fcc4581e8040fc -DIST opera-11.62-1274.x86_64.linux.tar.xz 12317696 RMD160 7f8938ebf8185e8fadb8d93325dd286e00f03f8e SHA1 9641eee4a56e45a7eca9d80b8df8e809e810d81a SHA256 29d1a4fb2dac26ab051e430aaf21785ef377ef938d2a06d59844f5f8e5e8c7d8 -DIST opera-11.62-1297.i386.freebsd.tar.xz 11545856 RMD160 0ef01b59fe6abb7d4c6308af1226e05c121e5b9f SHA1 0583b5d24116cb31709f5b37dbcce04b24d6ec86 SHA256 ea8afc0b8e48d31a87ec4a674ed10ae780ce398812aa8ac02c28032c98bb800b -DIST opera-11.62-1297.i386.linux.tar.xz 11481596 RMD160 3a831e09131ed166e71378e0aba9939b239fe6b6 SHA1 5ac4204a934c2f6b382957ddacc59970cd7ac7f9 SHA256 16503872f476565eb48c927ceefae7ec6136402c21d1ed9510c8f8ee5397257a -DIST opera-11.62-1298.x86_64.linux.tar.xz 12321256 RMD160 d7755463eb727a9f7bf1aa4c5dc550eb4089cc46 SHA1 27ae0bd9baffed090ba8420c0288f0a387b6a0d0 SHA256 1fef5aabad80b2d367bde8985feb17e10af8e6eef1f9d5b9ab569d4405e87814 +DIST opera-11.62-1302.i386.freebsd.tar.xz 11547924 RMD160 6bb4f599645bc01d79fe64a5d728c457d7897a1c SHA1 d2507e29c36141f172d15123c71ec9f08793fa84 SHA256 38ebd26d56e0a3386a98a1bc39b8991a804b96320513c8cf05139ddd6c6ce1f5 +DIST opera-11.62-1302.i386.linux.tar.xz 11487300 RMD160 054c6eb3a76dabbb00e0623c303612c5d4b1e340 SHA1 3f8633c251197dc55c501d749ee53e5e83fd8727 SHA256 6e4f2225f76da461a736253a26af8fe477a1a3e2386410bb46a325526a886c49 +DIST opera-11.62-1302.x86_64.linux.tar.xz 12321020 RMD160 51524e09e3ae1658e09b04cfacc1afac68e408dd SHA1 6d5dfc909e1e11541139d59f60410ba4d1427a82 SHA256 3b7b70ef18adc51c7a1828de0d7ef65b8b7daa8066a137856c3018a7b0ccb234 EBUILD opera-11.61.1250.ebuild 5530 RMD160 a7967b605f241058eba71d8262de635afc6e66a1 SHA1 7b4ab3b197f60d0380a7e1f5bd9a86c6dfd4128b SHA256 94eb05d343c537902134689df28bc482cff15f0f4d807cf153e3fd4c773ae379 -EBUILD opera-11.62.1273.ebuild 5485 RMD160 9a6d0c9d9a76127bbe2042c441d60620650c7d85 SHA1 8d7a838919c782e931fe9db3e21784e4e80afec0 SHA256 5a209d1797b3047210aae4a2591cfcb98eac4b5cc526a217ba5987dc03085b61 -EBUILD opera-11.62.1274.ebuild 5424 RMD160 5712a865d1601b882b846987fa5d65f245a6d97c SHA1 0985e2c3d9883f6b88569b1e3cd69e464c0ef3ae SHA256 7fb180a78ff56cd4b4028f8dde504215ffaac43dbea64374c94b2b39458252a0 -EBUILD opera-11.62.1297.ebuild 5481 RMD160 d038bd7a61c6fe9e6084310c875b91b30f7ed506 SHA1 0b57603c18b5d1688f6b5adcf12f3c84faeb7a72 SHA256 efde3c96fc34de139d124d2df4122fe64dbd2b6096ad5448eac95dff9e0283c9 -EBUILD opera-11.62.1298.ebuild 5420 RMD160 9f90ed648040a53b8901d57ba810eca964b33f12 SHA1 a3c4c91388b930fafff011d64155179c7b420e24 SHA256 8b76c5c403e9aed0e33cc4131831f02b317d05a5a67b766e2ebb870b5f646c46 -MISC ChangeLog 19531 RMD160 c836b00a1c4ad98d5d577ca031b75fd10cf4d087 SHA1 b471aad991a0b452bfe94d176509b9e24377f4af SHA256 b1745f2cf6634caf92f7c0aa2f626d8de236a8c10cefaaaa385e101f4476105c +EBUILD opera-11.62.1302.ebuild 5540 RMD160 b583e6cecf6d56e0aa82265a4418bda070700d5b SHA1 1185a9929ac7c436d6b80c154351ed035bc20267 SHA256 bf5ee627fe97a5891d9cb5b70da07e48197a07b52374b0c4f5cd6b651190a9f1 +MISC ChangeLog 19815 RMD160 fe9a4f876106fc2708aecc6cb2e04cc1bedf2bbf SHA1 014263ab3a5883e9cbb4c1f1785020bb007dc49a SHA256 2e8edd1b1cedb9780bef11617216fa283c395b1d081a2a05b7afb50724998161 MISC ChangeLog-2010 112299 RMD160 e786fcfeb4ac57db285ff420ccd9705b7c1f298c SHA1 09aef1136180ae363fd3c6bdbd3eb27f996f80c5 SHA256 5c3b5c58119b4a6b1911d840892c42234f25dae57452287fb0a9e6cca78ed171 MISC metadata.xml 732 RMD160 28acd15c216329d807150c88fb0861eb1383c61c SHA1 9ff443c6f422e8b018d29d21948da71eda6a4295 SHA256 bd388fb8f6b0aa2cd98fcfc290b677df712be3ef14537102e02665ea2f0d871a -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk8z8o8ACgkQVWmRsqeSphN6PwCfSLxS08jo7Ec1pDa8hopBaOCg -DKQAn3DFuV3SdbNGe6Qgmvm8pJVOQGuP -=HkN9 +iEYEARECAAYFAk82aBgACgkQVWmRsqeSphOruACeM9I96+ve2c4JshMp0MNMi27S +cMAAn3WuvHanSx477JqmPzS2rX6SoO5l +=rdDi -----END PGP SIGNATURE----- diff --git a/www-client/opera/opera-11.62.1274.ebuild b/www-client/opera/opera-11.62.1274.ebuild deleted file mode 100644 index 1cd0346097d4..000000000000 --- a/www-client/opera/opera-11.62.1274.ebuild +++ /dev/null @@ -1,221 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-11.62.1274.ebuild,v 1.3 2012/02/07 19:31:53 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" -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="freckles_${O_V}-1273" -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 ) -" - -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} ) -" -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 '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 -} diff --git a/www-client/opera/opera-11.62.1297.ebuild b/www-client/opera/opera-11.62.1297.ebuild deleted file mode 100644 index 1f0a36ab6b72..000000000000 --- a/www-client/opera/opera-11.62.1297.ebuild +++ /dev/null @@ -1,222 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-11.62.1297.ebuild,v 1.1 2012/02/09 16:21:10 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="~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="1133_${O_V}-${O_B}" -O_P="${PN}-${O_V}-${O_B}" -O_U="http://snapshot.opera.com/unix/" - -SRC_URI=" - 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} ) -" -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 '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 -} diff --git a/www-client/opera/opera-11.62.1298.ebuild b/www-client/opera/opera-11.62.1298.ebuild deleted file mode 100644 index e60480bb3fea..000000000000 --- a/www-client/opera/opera-11.62.1298.ebuild +++ /dev/null @@ -1,221 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-11.62.1298.ebuild,v 1.1 2012/02/09 16:21:10 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" -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="1133_${O_V}-1297" -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 ) -" - -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} ) -" -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 '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 -} diff --git a/www-client/opera/opera-11.62.1273.ebuild b/www-client/opera/opera-11.62.1302.ebuild index a04c31546ee5..a8a4f3ab53b5 100644 --- a/www-client/opera/opera-11.62.1273.ebuild +++ b/www-client/opera/opera-11.62.1302.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-11.62.1273.ebuild,v 1.2 2012/02/07 19:31:53 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-11.62.1302.ebuild,v 1.1 2012/02/11 13:07:15 jer Exp $ EAPI="4" @@ -11,17 +11,18 @@ HOMEPAGE="http://www.opera.com/" SLOT="0" LICENSE="OPERA-11 LGPL-2 LGPL-3" -KEYWORDS="~x86 ~x86-fbsd" +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="freckles_${O_V}-${O_B}" +O_D="1313_${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 ) " |