summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-08-13 15:38:32 +0000
committerJeroen Roovers <jer@gentoo.org>2010-08-13 15:38:32 +0000
commit3c1df4b64c869f70d1d670a8bfa3dd4b7c78d778 (patch)
tree1d3e3b6f47943fce2f766ecf1eba492983a9d6ff /www-client
parentApply patches from Dane Smith <smithdanea@gmail.com> to respect LDFLAGS,CC, e... (diff)
downloadgentoo-2-3c1df4b64c869f70d1d670a8bfa3dd4b7c78d778.tar.gz
gentoo-2-3c1df4b64c869f70d1d670a8bfa3dd4b7c78d778.tar.bz2
gentoo-2-3c1df4b64c869f70d1d670a8bfa3dd4b7c78d778.zip
Old.
(Portage version: 2.2_rc67/cvs/Linux i686)
Diffstat (limited to 'www-client')
-rw-r--r--www-client/opera/Manifest26
-rw-r--r--www-client/opera/files/opera-10.00-pluginpath-fbsd.patch10
-rw-r--r--www-client/opera/files/opera-10.00-pluginpath.patch12
-rw-r--r--www-client/opera/files/opera-freedesktop.patch35
-rw-r--r--www-client/opera/files/opera-gentoo.patch70
-rw-r--r--www-client/opera/files/opera-localepath.patch11
-rw-r--r--www-client/opera/files/opera-simplify-desktop.patch24
-rw-r--r--www-client/opera/opera-10.11.ebuild175
-rw-r--r--www-client/opera/opera-10.60.ebuild185
9 files changed, 0 insertions, 548 deletions
diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest
index 113b61db8d57..b877b7ef999e 100644
--- a/www-client/opera/Manifest
+++ b/www-client/opera/Manifest
@@ -1,21 +1,4 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX opera 123 RMD160 69142622c1e9930354e708f1cb59a5cb529957df SHA1 be6610d3fe5bd60cf9d4c31ca4072155130c54c3 SHA256 bd412849d77521621398feb0efa342aaa31901746d395a6078065422502bd428
-AUX opera-10.00-pluginpath-fbsd.patch 341 RMD160 735a872421680b1468e2694f9ed41a56d0f23f60 SHA1 41ba2709c1fa585491221f924b3cd000768cd7c2 SHA256 0af425e1845617d7a5f23b1a991c7d306ea2b62b548a2201aa6f0b0ad060d023
-AUX opera-10.00-pluginpath.patch 439 RMD160 9fc1bcb8430d185d040a811c2714077eaad159af SHA1 37a6b63d4d1d34e8f43f6ba838d09ceec6cfd607 SHA256 b34e438bab40599b70a7dfd4946a82e718fb46de0384062b41c51db5a047db4c
-AUX opera-freedesktop.patch 995 RMD160 9ebe36fa34b25a4ab151033a10f7b53494cb4a4a SHA1 e1613110be5c4c4061227776db590f069041f525 SHA256 dc5e4b56ae89049e9708fa3180f375b2de795219fff7d868b8dbbffd99fd7ec5
-AUX opera-gentoo.patch 2276 RMD160 6b68de743af9f420454e0555d242643dbcb45470 SHA1 7dbf662019b7e07df515d27f1519a0da86dce765 SHA256 bcfd73704420fd3bf4a191c1a018b4bb209031aab505544b5e95c24702b9ef01
-AUX opera-localepath.patch 433 RMD160 cdea79f8b020c921e658c704fdf3f4293197738a SHA1 9c07a7e9085a49af331578da841c5afdee36ea4b SHA256 2086ad1feee1572b2c487ca190c35a39c3c05679d4ceeb2f3777b62e2c8f2bfe
-AUX opera-simplify-desktop.patch 637 RMD160 017fea605f8a81aa4f48b6cc3081c990fffa3842 SHA1 eb2011ef0d4f8754bb43b506e27ef7b622ab8e91 SHA256 c0009b41727023b3d03faa7c891764d886e92641cb57d8fa762353c9137e0a74
-DIST opera-10.11.gcc4-bundled-qt4.i386.tar.bz2 16651128 RMD160 409f5d27ab435005ac688c0f6bdfc7c768c0ab91 SHA1 e41799773e767648accf37d469ad38c6f8fd412b SHA256 94677b37a2158cadbece44b5cc8b3a068e9570b158d9b1a1516cdaf50d48f612
-DIST opera-10.11.gcc4-bundled-qt4.x86_64.tar.bz2 17415883 RMD160 9593266a89d483beff8b9ceac68b290a86fd8cb9 SHA1 dec9036cd3d23aad5f301475bb73d05ede213c07 SHA256 61cf1d6628f52167310673836e930f7e31ca2e6befcb1dacd513d7774b69d1a2
-DIST opera-10.11.gcc4-qt4.i386.tar.bz2 11809013 RMD160 9b8cd7a1ebf2d37945049c08b6c50f199dc323ab SHA1 a8be6753d64e815f4797c1654eec521299019440 SHA256 d390e5d9713dffeb349e097f9f51f8622467ec27b5b102a846648c9e3eb5ce1e
-DIST opera-10.11.gcc4-qt4.x86_64.tar.bz2 12668836 RMD160 4182ad5b134462e3d553eceb178bad7cf3e2ccf5 SHA1 286079fa19484bfddf2b20ef509f4aebc5926d09 SHA256 611bdbf83eadc8dbd81df8d555a0d5d1fcac93edbb0e27795d68351d3b34c580
-DIST opera-10.60-6386.i386.freebsd.tar.bz2 12720119 RMD160 df1e3b38874f8ceb7ed44fdc5c9b7af1d85f5be1 SHA1 373d36c49f7758a5b36b1b42b1fdb949f4a0a3ef SHA256 01d0c3ef05b12a08acb660fa3ce2dac0bec4e9cd283e0a64f45019ad193e24b2
-DIST opera-10.60-6386.i386.linux.tar.bz2 12653386 RMD160 f35bb15f4354ee6a638ba3b1d5fc76605e35003d SHA1 9d49758c9856e515b3b58303dce7036c63dae5ce SHA256 be189172893cef848dbc48cad90948dd488cf2da1f7fae56ff15cd9d60ec4880
-DIST opera-10.60-6386.ppc.linux.tar.bz2 12988748 RMD160 c72c9f71ee5b2546829515d210eee81ef889f9da SHA1 5fb76f24dc7f9c962af8e2ed0463e00ca7858ff2 SHA256 4edad3e4814747b7438dfa37b6397996faee6c5e6e9d6fe3773175fd2e42d09b
-DIST opera-10.60-6386.x86_64.linux.tar.bz2 13680030 RMD160 c1975c7a552fc503282103441b557034e6a5ad8f SHA1 4f5285415c88199614ddc61a282d47b21533b3fe SHA256 1d35c9a37966e97d253663ee50d7b7be12f940c51d8b0b88848cdf06d1e32c0c
DIST opera-10.61-6430.i386.freebsd.tar.bz2 12736017 RMD160 935fa7fa2cbde5d6831f4820c76c2a487672646d SHA1 24e5d541f3d826268a53e3828b60b04ab396c6c6 SHA256 1b67b2c21c86413028f63d7bb9c3d3cf34191262e035b17453f7dfb71085b026
DIST opera-10.61-6430.i386.linux.tar.bz2 12665909 RMD160 1cb101d9ff948b62ab5b9cc52488430cd51fa858 SHA1 39267f2b13230f065af3d18f8b09d12f25713f9e SHA256 0c52a8a4a9042b0ce93279e36f8f8c1a943b49063e202aa63b60640ad0069000
DIST opera-10.61-6430.ppc.linux.tar.bz2 13005991 RMD160 c6f34bff3172beb437cef4c3235f82d3dbcf149f SHA1 ba88583c0f1d88d55cf4c8b16468604e20d4437a SHA256 8fcbc799c37af8aa2cc1ed8fdb123b5db6e85c472ffa30875de78a1c7cc2d865
@@ -24,16 +7,7 @@ DIST opera-10.70-6428.i386.freebsd.tar.bz2 12761990 RMD160 336f9dede84e2502c9a68
DIST opera-10.70-6428.i386.linux.tar.bz2 12704009 RMD160 a8250c730731ef4499f825ac4f7d8bdc3b1147c8 SHA1 ef52b9923df914371a60e18b87d037965522870c SHA256 14de74a12e26c0cc3f8f0c4ba1b898bed8fcf0b56365782efb9fd0ba946d4815
DIST opera-10.70-6428.ppc.linux.tar.bz2 13038885 RMD160 7c29e5b7d907e5bcba3d3ef1632ce2601dbe9fe6 SHA1 db9ecb3a82a04cd555fe76c2b7a15d38e26f682a SHA256 b29281dc846ccdb31d1ff9b8f381c9c12a159d8f6867c4bb93e88a1f0b8e4370
DIST opera-10.70-6428.x86_64.linux.tar.bz2 13859297 RMD160 4bc6b65ab2b4d3b6467f1ac5c8bc9019fe0a2716 SHA1 480cb5630d49ce07b95cf99ee17f7145e14f918e SHA256 18344d8ff96ab3c0b18846fce1df3698cb83ee78fe63b920f84290bc5952889e
-EBUILD opera-10.11.ebuild 4931 RMD160 13ff28c49a332f816a6c6977f44b105f6063a7e6 SHA1 c3b88e01930c067585647ec7e527c35cd346dc72 SHA256 8d1bb4b49055f5542c3398233513ec51f95d8e7d565e46f74d1cd3b01d099fe3
-EBUILD opera-10.60.ebuild 4865 RMD160 b68e389de754e064c7f5d4b8a80990d99fe9b663 SHA1 edfa56b6900e204b69462aae29bbd625ed70e961 SHA256 479a7f494b42d0c745f7c46bf7667f4b128943c7d9965dd6beeece545d341afb
EBUILD opera-10.61.ebuild 5080 RMD160 5c3dd262c642c215b5fcd68343b16b1651cc337e SHA1 bdf3baffd399f9bc75a9d4578946e8027a829eda SHA256 c78872128d7332823a68cedbeafe33d835ba4b5e74866ec8a693f4dc7daea6fd
EBUILD opera-10.70_pre6428.ebuild 5066 RMD160 66e0ee98e77dec96c9036743804a9e8a549b2b8e SHA1 9d171d5008548b24b5809ea75b6f4a353ebd9e17 SHA256 7aca5344f6e619b18c4672a52635c346d16e99f6b7817cc75750e7d2d1714a78
MISC ChangeLog 102672 RMD160 86d917c4bc5ae596f248a14db1a3dcabc7857d45 SHA1 957ff68181c6d79bc616f157a29b05495d624720 SHA256 803e0195259aada8e18f8daa73ed2e46fc40123e4278afc5334bd53e5160dff7
MISC metadata.xml 722 RMD160 f424184eb789ae7afcf8c19a74de21a6029366d2 SHA1 5726f20bc46f15fd7a769293bda721afd2d3df8c SHA256 415493d83f3ebe328fd8a4038f90833cbcc0f983b43c01d9440782bbcfeb4e3a
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.15 (GNU/Linux)
-
-iEYEARECAAYFAkxlNrQACgkQcsIHjyDViGRXCgCgyS0hOkj56zxz0kl3QQ0FqNo+
-f8IAoKW507zMgdVigYX3XkPRsXun23r1
-=Js1h
------END PGP SIGNATURE-----
diff --git a/www-client/opera/files/opera-10.00-pluginpath-fbsd.patch b/www-client/opera/files/opera-10.00-pluginpath-fbsd.patch
deleted file mode 100644
index 8720125ae11c..000000000000
--- a/www-client/opera/files/opera-10.00-pluginpath-fbsd.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- usr/local/share/opera/ini/pluginpath.ini 2007-09-06 18:53:54 +0200
-+++ usr/local/share/opera/ini/pluginpath.ini 2007-09-06 18:55:49 +0200
-@@ -21,6 +21,7 @@
- ; Netscape Plug-in Paths
- /usr/X11R6/lib/browser_plugins=1
- $HOME/.netscape/plugins=1
-+/usr/lib/nsbrowser/plugins=1
-
- ; FreeBSD Plug-in Paths
- /usr/local/lib/npapi/symlinks/opera
diff --git a/www-client/opera/files/opera-10.00-pluginpath.patch b/www-client/opera/files/opera-10.00-pluginpath.patch
deleted file mode 100644
index a385ced4c305..000000000000
--- a/www-client/opera/files/opera-10.00-pluginpath.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- usr/share/opera/defaults/pluginpath.ini.orig 2007-09-03 20:33:17.000000000 +0200
-+++ usr/share/opera/defaults/pluginpath.ini 2007-09-04 18:44:28.000000000 +0200
-@@ -49,7 +49,8 @@
- ; Netscape Plug-in Paths
- $HOME/.netscape6/plugins=1
- $HOME/.netscape/plugins=1
--/opt/netscape/plugins=1
-+/usr/lib/nsbrowser/plugins=1
-+/opt/netscape/plugins=2
- /usr/lib/netscape/plugins=1
- /usr/local/netscape/plugins=1
- /usr/local/lib/netscape/plugins=1
diff --git a/www-client/opera/files/opera-freedesktop.patch b/www-client/opera/files/opera-freedesktop.patch
deleted file mode 100644
index 16c6614ab5da..000000000000
--- a/www-client/opera/files/opera-freedesktop.patch
+++ /dev/null
@@ -1,35 +0,0 @@
---- install.sh~ 2008-09-07 14:22:32.000000000 +0200
-+++ install.sh 2008-09-07 14:22:32.000000000 +0200
-@@ -1405,7 +1405,6 @@
- EOF
- fi
- cat <<EOF
--Encoding=UTF-8
- Name=Opera
- Name[af]=opera
- Name[eo]=Opero
-@@ -1438,19 +1437,20 @@
- # http://standards.freedesktop.org/menu-spec/menu-spec-latest.html
- #
- # but Chris included it anyway to fix
--# http://bugs.gentoo.org/show_bug.cgi?id=90508
-+# http://bugs.gentoo.org/show_bug.cgi?id=90508 -> This is already fixed
-+# in Gnome
- #
- # Other possible categories:
- # Email, Presentation, IRCClient, FileTransfer, P2P, News, WebDevelopment
-
- if test "$1" = "xdg"
- then cat <<EOF
--Categories=Application;Qt;Network;WebBrowser;X-Ximian-Main;X-Ximian-Toplevel
--Icon=opera.png
-+Categories=Qt;Network;WebBrowser;X-Ximian-Main;X-Ximian-Toplevel;
-+Icon=opera
- EOF
- else echo 'Icon=opera'
- fi
-- echo 'MimeType=text/html;text/xml;application/xhtml+xml'
-+ echo 'MimeType=text/html;text/xml;application/xhtml+xml;'
- fi
- cat <<EOF
- Comment=Web Browser
diff --git a/www-client/opera/files/opera-gentoo.patch b/www-client/opera/files/opera-gentoo.patch
deleted file mode 100644
index 11aa2845cd5a..000000000000
--- a/www-client/opera/files/opera-gentoo.patch
+++ /dev/null
@@ -1,70 +0,0 @@
---- install.sh.orig 2008-08-12 23:45:42.000000000 +0200
-+++ install.sh 2008-08-13 23:09:44.000000000 +0200
-@@ -1720,6 +1720,18 @@
- fi
- }
-
-+gentoo()
-+{
-+ if test -e /etc/gentoo-release ; then
-+ for res in 16x16 22x22 32x32 48x48 ; do
-+ mkdir -p ${D}/usr/share/icons/hicolor/${res}/apps
-+ cp usr/share/icons/hicolor/${res}/apps/opera.png ${D}/usr/share/icons/hicolor/${res}/apps
-+ done
-+ mkdir -p ${D}/usr/share/applications
-+ generate_desktop ${D}/usr/share/applications xdg
-+ fi
-+}
-+
- huntdirs()
- {
- # $GNOME2PATH and $GNOMEPATH skipped (too few hits google site:gnome.org)
-@@ -1737,47 +1749,7 @@
-
- xdg()
- { # http://standards.freedesktop.org
-- UDD=''
-- for BIN_DIR in `pathdirs`; do
-- test -x ${BIN_DIR}/update-desktop-database || continue
-- UDD=${BIN_DIR}/update-desktop-database; break
-- done
--
-- # http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
-- if test "$UDD"; then
-- for ICON_DIR in `echo ${XDG_DATA_DIRS}:/usr/local/share:/usr/share|tr : '\012'|sed -e '/^$/d;s:$:/icons/hicolor:'` /usr/share/pixmaps/hicolor
-- do test -d ${ICON_DIR} && break
-- done
--
-- if test ! -d ${ICON_DIR}
-- then warn "Could not find icon installation directory, icons not installed."
-- elif test ! -w ${ICON_DIR}
-- then warn "Directory \"${ICON_DIR}\" not writable by user \"${USER}\", icons not installed."
-- elif [ "`cd $ICON_DIR; /bin/pwd`" != "`cd usr/share/icons/hicolor; /bin/pwd`" ]
-- then
-- for RESOLUTION in 48x48 32x32 22x22
-- do TO_DIR=${ICON_DIR}/${RESOLUTION}/apps
-- test -d $TO_DIR && test -w $TO_DIR && cp $cpv usr/share/icons/hicolor/$RESOLUTION/apps/opera.png $TO_DIR
-- done
-- fi
--
-- for SHORTCUT_DIR in ${XDG_DATA_HOME}/applications /usr/local/share/applications /usr/share/applications
-- do test -d ${SHORTCUT_DIR} && break;
-- done
--
-- if test ! -d ${SHORTCUT_DIR}; then warn "Could not find shortcut installation directory, desktop entry not installed."; return
-- elif test ! -w ${SHORTCUT_DIR}; then warn "Directory \"${SHORTCUT_DIR}\" not writable by user \"${USER}\", desktop entry not installed."; return
-- fi
-- generate_desktop ${SHORTCUT_DIR} xdg
-- ${UDD}
-- else
-- icons
-- gnome
-- kde 3
-- kde 2
-- kde1
-- mandrake
-- fi
-+ gentoo
- }
-
- echo test | sed -n -e 's/test//' || error 'sed'
diff --git a/www-client/opera/files/opera-localepath.patch b/www-client/opera/files/opera-localepath.patch
deleted file mode 100644
index c4af2ecc0df6..000000000000
--- a/www-client/opera/files/opera-localepath.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- opera-10.10-4566.gcc4-qt4.i386/etc/operaprefs_default.ini.orig 2009-08-21 13:26:52.000000000 +0200
-+++ opera-10.10-4566.gcc4-qt4.i386/etc/operaprefs_default.ini 2009-08-29 19:05:58.000000000 +0200
-@@ -1,7 +1,7 @@
- ; Put any default settings here that are overridable by users
-
- [User Prefs]
--Language Files Directory=/usr/share/opera/locale
-+Language Files Directory=/opt/opera/share/opera/locale
- Force DPI=96
-
- [Auto Update]
diff --git a/www-client/opera/files/opera-simplify-desktop.patch b/www-client/opera/files/opera-simplify-desktop.patch
deleted file mode 100644
index 10d8f5a7110c..000000000000
--- a/www-client/opera/files/opera-simplify-desktop.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- install.sh~ 2008-08-12 23:39:54.000000000 +0200
-+++ install.sh 2008-08-12 23:39:54.000000000 +0200
-@@ -1331,20 +1331,7 @@
- fi
-
- # Shorcuts and Icons
-- bool_icons=1 # install icons by default
-- if test "${flag_mode}" = "--force" -o "${flag_mode}" = "--prefix="
-- then
-- warn
-- warn "Shortcut icons would be ignored if installed with the prefix \"$prefix\"."
-- if [ "$flag_mode" = "--force" ]
-- then warn "Installing them in default locations."
-- else bool_icons=0; warn "Ignoring them; menus shall lack nice icons."
-- fi
-- fi
--
-- if test "$bool_icons" -ne 0
-- then xdg
-- fi
-+ xdg
-
- fi # OPERADESTDIR
-
diff --git a/www-client/opera/opera-10.11.ebuild b/www-client/opera/opera-10.11.ebuild
deleted file mode 100644
index 15dcc52abbe5..000000000000
--- a/www-client/opera/opera-10.11.ebuild
+++ /dev/null
@@ -1,175 +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.11.ebuild,v 1.6 2010/06/29 15:37:48 jer Exp $
-
-EAPI="2"
-
-GCONF_DEBUG="no"
-
-inherit eutils gnome2
-
-DESCRIPTION="A standards-compliant graphical Web browser"
-HOMEPAGE="http://www.opera.com/"
-
-SLOT="0"
-LICENSE="OPERA-10.10"
-KEYWORDS="amd64 x86"
-
-RESTRICT="mirror test"
-
-QA_DT_HASH="opt/${PN}/.*"
-QA_PRESTRIPPED="
- opt/${PN}/lib/${PN}/${PV/_pre*}/missingsyms.so
- opt/${PN}/lib/${PN}/${PV/_pre*}/spellcheck.so
- opt/${PN}/lib/${PN}/${PV/_pre*}/opera
- opt/${PN}/lib/${PN}/${PV/_pre*}/works
- opt/${PN}/lib/${PN}/${PV/_pre*}/operaplugincleaner
- opt/${PN}/lib/${PN}/${PV/_pre*}/operapluginwrapper
-"
-QA_PRESTRIPPED_amd64="
- ${QA_PRESTRIPPED}
- opt/${PN}/lib/${PN}/${PV/_pre*}/operapluginwrapper-ia32-linux
- opt/${PN}/lib/${PN}/${PV/_pre*}/operapluginwrapper-native
-"
-
-IUSE="gnome qt-static"
-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="mirror://opera/linux/${PV/.}/final/en/"
-
-SRC_URI="
- amd64? (
- qt-static? ( ${O_U}x86_64/${P}.gcc4-bundled-qt4.x86_64.tar.bz2 )
- !qt-static? ( ${O_U}x86_64/${P}.gcc4-qt4.x86_64.tar.bz2 )
- )
- x86? (
- qt-static? ( ${O_U}i386/${P}.gcc4-bundled-qt4.i386.tar.bz2 )
- !qt-static? ( ${O_U}i386/${P}.gcc4-qt4.i386.tar.bz2 )
- )
- "
-
-DEPEND=">=sys-apps/sed-4"
-
-RDEPEND="
- media-libs/jpeg
- qt-static? ( =media-libs/libpng-1.2* )
- media-libs/libexif
- >=media-libs/fontconfig-2.1.94-r1
- x11-libs/libXrandr
- x11-libs/libXp
- x11-libs/libXmu
- x11-libs/libXi
- x11-libs/libXft
- x11-libs/libXext
- x11-libs/libXcursor
- x11-libs/libX11
- x11-libs/libSM
- x11-libs/libICE
- amd64? (
- qt-static? ( media-libs/nas )
- !qt-static? ( x11-libs/qt-gui )
- )
- x86? (
- qt-static? ( media-libs/nas )
- !qt-static? ( x11-libs/qt-gui )
- )
- "
-
-opera_linguas() {
- # Remove unwanted LINGUAS:
- local LINGUA
- local LNGDIR="${D}/opt/opera/share/opera/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() {
- elog "${WARN}If you seek support, please file a bug report at${NORMAL}"
- elog "${WARN}https://bugs.gentoo.org and post the output of${NORMAL}"
- elog "${WARN} \`emerge --info =${CATEGORY}/${P}'${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() {
- epatch "${FILESDIR}/${PN}-gentoo.patch"
- epatch "${FILESDIR}/${PN}-simplify-desktop.patch"
- epatch "${FILESDIR}/${PN}-freedesktop.patch"
-
- # bug #181300:
- epatch "${FILESDIR}/${PN}-10.00-pluginpath.patch"
-
- sed -e "s|config_dir=\"/etc\"|config_dir=\"${D}/etc/\"|g" \
- -e "s|\(str_localdirplugin=\).*$|\1/opt/opera/lib/opera/plugins|" \
- -e 's|#\(export LD_PRELOAD OPERA_FORCE_JAVA_ENABLED\)|\1|' \
- -e 's|#\(OPERA_FORCE_JAVA_ENABLED=\)|\1|' \
- -e '/md5check Manifest.md5/d' \
- -i install.sh || die "sed failed"
-}
-
-# These workarounds are sadly needed because gnome2.eclass doesn't check
-# whether a configure/Makefile script exists.
-src_configure() { :; }
-src_compile() { :; }
-
-src_install() {
- # Prepare installation directories for Opera's installer script.
- dodir /etc
-
- # Opera's native installer.
- ./install.sh --prefix="${D}"/opt/opera || die "install.sh failed"
-
- einfo "It is safe to ignore warnings about files that would be ignored."
- einfo "Completing the installation where install.sh abandoned us ..."
-
- # java workaround
- sed -i -e 's:LD_PRELOAD="${OPERA_JAVA_DIR}/libawt.so":LD_PRELOAD="$LD_PRELOAD"\:"${OPERA_JAVA_DIR}/libawt.so":' "${D}"/opt/opera/bin/opera
-
- dosed /opt/opera/bin/opera
- dosed /opt/opera/share/opera/java/opera.policy
-
- # Adapt desktop file to Gnome when needed
- use gnome && sed -i -e s:"GenericName\[":"Comment\[": "${D}"/usr/share/applications/opera.desktop
-
- # Install a symlink /usr/bin/opera
- dodir /usr/bin
- dosym /opt/opera/bin/opera /usr/bin/opera
-
- dodir /etc/revdep-rebuild
- echo 'SEARCH_DIRS_MASK="/opt/opera/lib/opera/plugins"' > "${D}"/etc/revdep-rebuild/90opera
-
- # Add the Opera man dir to MANPATH:
- insinto /etc/env.d
- echo 'MANPATH="/opt/opera/share/man"' >> "${D}"/etc/env.d/90opera
-
- [[ -z MY_LINGUAS ]] || opera_linguas
-}
-
-pkg_postinst() {
- use gnome && gnome2_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 /opt/opera/share/opera/locale/, then enter the"
- elog "directory for the language you want and [Open] the .lng file."
-}
-
-pkg_postrm() {
- use gnome && gnome2_pkg_postrm
-}
diff --git a/www-client/opera/opera-10.60.ebuild b/www-client/opera/opera-10.60.ebuild
deleted file mode 100644
index a7bd7123e48f..000000000000
--- a/www-client/opera/opera-10.60.ebuild
+++ /dev/null
@@ -1,185 +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.60.ebuild,v 1.9 2010/08/03 14:54:32 jer Exp $
-
-EAPI="2"
-
-inherit eutils multilib
-
-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"
-IUSE="elibc_FreeBSD gtk kde +gstreamer"
-
-RESTRICT="mirror test"
-
-OPREFIX="/usr/$(get_libdir)"
-
-QA_DT_HASH="${OPREFIX}/${PN}/.*"
-QA_PRESTRIPPED="${OPREFIX}/${PN}/.*"
-
-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="mirror://opera/"
-O_P="${P}-6386"
-
-SRC_URI="
- amd64? ( ${O_U}linux/${PV/./}/${O_P}.x86_64.linux.tar.bz2 )
- ppc? ( ${O_U}linux/${PV/./}/${O_P}.ppc.linux.tar.bz2 )
- x86? ( ${O_U}linux/${PV/./}/${O_P}.i386.linux.tar.bz2 )
- x86-fbsd? ( ${O_U}unix/${PV/./}/${O_P}.i386.freebsd.tar.bz2 )
-"
-
-DEPEND=">=sys-apps/sed-4"
-
-RDEPEND="
- gtk? (
- =x11-libs/gtk+-2*
- dev-libs/atk
- dev-libs/glib
- x11-libs/cairo
- x11-libs/pango
- x11-libs/pixman
- )
- kde? (
- kde-base/kdelibs
- )
- dev-libs/expat
- media-libs/fontconfig
- media-libs/freetype
- gstreamer? ( media-plugins/gst-plugins-meta )
- sys-apps/util-linux
- sys-libs/zlib
- virtual/opengl
- 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/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/ "${D}/${OPREFIX}" || die "mv lib/ failed"
- mv share/ "${D}/usr/" || die "mv 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"
-
- # Sed libdir in opera script
- sed "${FILESDIR}"/opera \
- -e "s|OPERA_LIBDIR|${OPREFIX}|g" > opera \
- || die "sed opera script failed"
-
- # Sed libdir in defaults/pluginpath.ini
- sed -i \
- -e "s|/usr/lib32|${OPREFIX}|g" \
- "${D}"/usr/share/opera/defaults/pluginpath.ini \
- || die "sed pluginpath.ini failed"
-
- # Install startup scripts
- dobin ${PN} ${PN}-widget-manager || 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
-}