diff options
author | 2006-05-30 11:20:23 +0000 | |
---|---|---|
committer | 2006-05-30 11:20:23 +0000 | |
commit | 06ec84c13aa00303b2d626912bb12a0482b4a61b (patch) | |
tree | ed895d74e8d81e97620685e3ff56199c4754e9d3 /www-client/opera | |
parent | Added ~ppc64; bug #134717 (diff) | |
download | gentoo-2-06ec84c13aa00303b2d626912bb12a0482b4a61b.tar.gz gentoo-2-06ec84c13aa00303b2d626912bb12a0482b4a61b.tar.bz2 gentoo-2-06ec84c13aa00303b2d626912bb12a0482b4a61b.zip |
Fix(hopefully) bug 114302, 134422, 134368. Thanks too Jakub Moc, Paul Varner, Frank Richter
(Portage version: 2.1_rc2-r3)
Diffstat (limited to 'www-client/opera')
-rw-r--r-- | www-client/opera/ChangeLog | 7 | ||||
-rw-r--r-- | www-client/opera/files/opera-8.54-install.patch | 12 | ||||
-rw-r--r-- | www-client/opera/opera-8.54.ebuild | 29 |
3 files changed, 37 insertions, 11 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog index f1d074ab1ab9..5a8a0ed243f1 100644 --- a/www-client/opera/ChangeLog +++ b/www-client/opera/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for www-client/opera # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.42 2006/05/26 15:26:01 axxo Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.43 2006/05/30 11:20:22 axxo Exp $ + + 30 May 2006; Thomas Matthijs <axxo@gentoo.org> + +files/opera-8.54-install.patch, opera-8.54.ebuild: + Fix(hopefully) bug 114302, 134422, 134368. Thanks too Jakub Moc, Paul + Varner, Frank Richter 26 May 2006; Thomas Matthijs <axxo@gentoo.org> files/digest-opera-8.54, Manifest: diff --git a/www-client/opera/files/opera-8.54-install.patch b/www-client/opera/files/opera-8.54-install.patch new file mode 100644 index 000000000000..007974e8d0a2 --- /dev/null +++ b/www-client/opera/files/opera-8.54-install.patch @@ -0,0 +1,12 @@ +--- install.sh.orig 2006-05-30 13:11:54.000000000 +0200 ++++ install.sh 2006-05-30 13:12:28.000000000 +0200 +@@ -1835,6 +1835,9 @@ + + xdg() + { # http://standards.freedesktop.org ++ ++ return; # Handled by ebuild. ++ + UDD='' + for BIN_DIR in `pathdirs`; do + test -x ${BIN_DIR}/update-desktop-database || continue diff --git a/www-client/opera/opera-8.54.ebuild b/www-client/opera/opera-8.54.ebuild index 05953eac300d..ed043b0ba7e9 100644 --- a/www-client/opera/opera-8.54.ebuild +++ b/www-client/opera/opera-8.54.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-8.54.ebuild,v 1.3 2006/05/26 04:40:14 halcy0n Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-8.54.ebuild,v 1.4 2006/05/30 11:20:22 axxo Exp $ -inherit eutils +inherit eutils gnome2 -IUSE="qt-static spell qt kde" +IUSE="qt-static spell gnome" OPERAVER="8.54-20060330" OPERAFTPDIR="854/final/en" @@ -59,6 +59,7 @@ KEYWORDS="~amd64 ppc ~sparc x86" src_unpack() { unpack ${A} cd ${S} + epatch "${FILESDIR}/${P}-install.patch" sed -i -e "s:config_dir=\"/etc\":config_dir=\"${D}/etc/\":g" \ -e "s:/usr/share/applnk:${D}/usr/share/applnk:g" \ -e "s:/usr/share/pixmaps:${D}/usr/share/pixmaps:g" \ @@ -100,6 +101,10 @@ src_install() { # Install the icons insinto /usr/share/pixmaps doins images/opera.xpm + for res in 16x16 22x22 32x32 48x48 ; do + insinto /usr/share/icons/hicolor/${res}/apps/ + newins images/opera_${res}.png opera.png + done # Install the menu entry insinto /usr/share/applications @@ -122,19 +127,23 @@ src_install() { echo "Spell Check Engine=/opt/opera/lib/opera/${DIR}/spellcheck.so" >> ${D}/opt/opera/share/opera/ini/spellcheck.ini fi - #if use qt || use kde; then - # cd ${D}/opt/opera/bin - # epatch ${FILESDIR}/opera-qt.2.patch - #fi - - dodir /etc/env.d - echo 'SEARCH_DIRS_MASK="/opt/opera/lib/opera/plugins"' > ${D}/etc/env.d/90opera + dodir /etc/revdep-rebuild + echo 'SEARCH_DIRS_MASK="/opt/opera/lib/opera/plugins"' > ${D}/etc/revdep-rebuild/90opera } pkg_postinst() { + if use gnome; then + gnome2_pkg_postinst + fi einfo "For localized language files take a look at:" einfo "http://www.opera.com/download/languagefiles/index.dml?platform=linux" einfo einfo "To change the spellcheck language edit /opt/opera/share/opera/ini/spellcheck.ini" einfo "and emerge app-text/aspell-language." } + +pkg_postrm() { + if use gnome; then + gnome2_pkg_postrm + fi +} |