diff options
author | Jeroen Roovers <jer@gentoo.org> | 2010-05-18 16:00:01 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2010-05-18 16:00:01 +0000 |
commit | e151dd9ed61576be1b2cc605e73e36245182cf8d (patch) | |
tree | 696506686cdca1e784ecebf2b8e8e6c85143a99f /www-client | |
parent | Fix libdir in opera script too. (diff) | |
download | historical-e151dd9ed61576be1b2cc605e73e36245182cf8d.tar.gz historical-e151dd9ed61576be1b2cc605e73e36245182cf8d.tar.bz2 historical-e151dd9ed61576be1b2cc605e73e36245182cf8d.zip |
Old.
Package-Manager: portage-2.2_rc67/cvs/Linux i686
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/opera/Manifest | 2 | ||||
-rw-r--r-- | www-client/opera/opera-10.53_pre6330.ebuild | 171 | ||||
-rw-r--r-- | www-client/opera/opera-10.54_pre6336.ebuild | 171 |
3 files changed, 0 insertions, 344 deletions
diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest index 3a944b9fcda7..b75f6545a4c2 100644 --- a/www-client/opera/Manifest +++ b/www-client/opera/Manifest @@ -20,8 +20,6 @@ DIST opera-10.54-6336.x86_64.linux.tar.bz2 14239967 RMD160 5fb6d0c4682e8584acb53 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_pre6330-r1.ebuild 4598 RMD160 0f0c884992a7ab4e38e083927128356564bce117 SHA1 fb40b1f66ea4f5e3353728e33424d92a544c4ec9 SHA256 ea9515c2abee597a995e777ecce79df8311bea5db0f7fb48af2bca81508aa48c -EBUILD opera-10.53_pre6330.ebuild 4452 RMD160 2c3d32943320a121a6193fc8be04d72d13aba753 SHA1 d8459e063e0b2e03dfa852bb6689694fbb1eb18c SHA256 1aa7f5d05e1692445fef7eeec2a436d1c2af300ae664d8af22fb2a107e623b11 EBUILD opera-10.54_pre6336-r1.ebuild 4598 RMD160 f5df8035255257a54d6197453f654f23581c7563 SHA1 cdbc5be16751f7a58922e00e5e03460307b5e706 SHA256 f75cf53297c66c511ba5e8a604dd9d92f0371263961c8426394438022d12623d -EBUILD opera-10.54_pre6336.ebuild 4452 RMD160 25cd4355ff29a0b34a50060af3de3e5cc3a2902b SHA1 bac6fa060245ade5482e232733778cf31bf4f86e SHA256 f5ea20765d1393f86afdd73fea89d83c357f8721a789662c3035424d5ea47dba MISC ChangeLog 92412 RMD160 38392c7e1baf3291556ea9dc14dfab5a537bff2c SHA1 79f8c7511c8be1f9ccfe647f1211aaf12bb668f1 SHA256 940345d8f4e01208da07b552e459d5d4b4b65d10108583b71b3d1885a9ff6ff5 MISC metadata.xml 547 RMD160 dabb86bc4db85881b0ce910ac05e63d16342e787 SHA1 9acc7ec7a62017ed7c9acfca301a3ea75e4e88d9 SHA256 9f70a9db124893d6a56a40615dbe8cccd015b836067d570a9638a9bd9ec6217a diff --git a/www-client/opera/opera-10.53_pre6330.ebuild b/www-client/opera/opera-10.53_pre6330.ebuild deleted file mode 100644 index 9d779dd4739f..000000000000 --- a/www-client/opera/opera-10.53_pre6330.ebuild +++ /dev/null @@ -1,171 +0,0 @@ -# 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 -} diff --git a/www-client/opera/opera-10.54_pre6336.ebuild b/www-client/opera/opera-10.54_pre6336.ebuild deleted file mode 100644 index 34a6084f51bc..000000000000 --- a/www-client/opera/opera-10.54_pre6336.ebuild +++ /dev/null @@ -1,171 +0,0 @@ -# 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.54_pre6336.ebuild,v 1.1 2010/05/12 14:20:31 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 -} |