Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Opera 9.10 RC1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
f0rk
Apprentice
Apprentice


Joined: 15 Nov 2004
Posts: 273
Location: Moscow

PostPosted: Mon Nov 06, 2006 10:51 pm    Post subject: Opera 9.10 RC1 Reply with quote

Поклонникам оперы посвящается!
Качать тут: http://snapshot.opera.com/unix/Weekly-478/intel-linux/en/
Судя по описанию, исправлены баги с подвисаниями системы, утечками памяти и др. подобные баги...
У себя обновил, но пока особо не тестил...

Opera 9.10 RC1:
Changes since last weekly
Source editor text "reload from cache" now reads "Apply changes"
Fixed 100% CPU on google maps and some other pages
Fixed an issue with opacity on links that have images nested in them
Find in page now has colors that are easier to see, while also being configurable (opera:config#Colors|HighlightedBackground)
Some fixes to Search in hotclick menu
Removed "Open when download complete" from File type dialog (while we fix it..)
Fixed accesskeys on pages with frames
Several fixes to Fraud protection
Fixed crash when changing file handler on UNIX
Now also UNIX has its Mask as IE mask the platform as well
A lot of memory leaks plugged and crashers removed
Fixed problem finding nested IMAP mailboxes
Fixed problem with Chinese and Korean text input

PS: Если что качайте -static, ибо -shared у меня не нашел некоторых библиотек, а с новыми версиями работать не захотел...
Back to top
View user's profile Send private message
f0rk
Apprentice
Apprentice


Joined: 15 Nov 2004
Posts: 273
Location: Moscow

PostPosted: Tue Nov 07, 2006 1:36 pm    Post subject: Reply with quote

Выкладываю свой экспериментальный ebuild для новой оперы.
Может кому пригодится...

/usr/local/portage/www-client/opera/opera-9.10_rc1.ebuild:
Code:

#Experimental Opera 9.10_rc1 ebuild

GCONF_DEBUG="no"
inherit eutils gnome2

IUSE="qt-static spell gnome"
RESTRICT="nomirror"

OPERALNG="en"
OPERAVER="9.10-20061110"
OPERAFTPDIR="${OPERALNG}"
OPERASUFF="490"


DESCRIPTION="Opera web browser."
HOMEPAGE="http://www.opera.com"

OPERA_URI="http://snapshot.opera.com/unix/Weekly-490/intel-linux"
SRC_URI="
        x86? ( qt-static? ( ${OPERA_URI}/${PN}-${OPERAVER}.1-static-qt.i386-${OPERALNG}-${OPERASUFF}.tar.bz2 ) )
        x86? ( !qt-static? ( ${OPERA_URI}/${PN}-${OPERAVER}.5-shared-qt.i386-${OPERALNG}-${OPERASUFF}.tar.bz2 ) )
        amd64? ( qt-static? ( ${OPERA_URI}/${PN}-${OPERAVER}.1-static-qt.i386-${OPERALNG}-${OPERASUFF}.tar.bz2 ) )
        amd64? ( !qt-static? ( ${OPERA_URI}/${PN}-${OPERAVER}.5-shared-qt.i386-${OPERALNG}-${OPERASUFF}.tar.bz2 ) )"

S=${WORKDIR}/${A/.tar.bz2/}
DEPEND=">=sys-apps/sed-4
        amd64? ( sys-apps/setarch )"

RDEPEND="|| ( ( 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
                          )
                          virtual/x11
                        )
        >=media-libs/fontconfig-2.1.94-r1
        amd64? ( qt-static? ( app-emulation/emul-linux-x86-xlibs )
                 !qt-static? ( app-emulation/emul-linux-x86-qtlibs ) )
        !amd64? ( media-libs/libexif
                  spell? ( app-text/aspell )
                  x86? ( !qt-static? ( =x11-libs/qt-3* ) )
                          media-libs/jpeg )"

SLOT="0"
LICENSE="OPERA-9.0"
KEYWORDS="~amd64 ~x86"

src_unpack() {
        unpack ${A}
        cd ${S}
        epatch "${FILESDIR}/${PN}-9.00-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" \
               -e "s:/usr/share/icons:${D}/usr/share/icons:g" \
               -e "s:/etc/X11:${D}/etc/X11:g" \
               -e "s:/usr/share/gnome:${D}/usr/share/gnome:g" \
               -e "s:/opt/gnome/share:${D}/opt/gnome/share:g" \
               -e 's:#\(OPERA_FORCE_JAVA_ENABLED=\):\1:' \
               -e 's:#\(export LD_PRELOAD OPERA_FORCE_JAVA_ENABLED\):\1:' \
                   -e 's:read str_answer:return 0:' \
                   -e "s:/opt/kde:${D}/usr/kde:" \
                   -e "s:\(str_localdirplugin=\).*$:\1/opt/opera/lib/opera/plugins:" \
               install.sh || die
}

src_compile() {
        true
}

src_install() {
        # Prepare installation directories for Opera's installer script.
        dodir /etc

        # Opera's native installer.
        if [ ${ARCH} = "amd64" ]; then
                linux32 ./install.sh --prefix="${D}"/opt/opera || die
        else
                ./install.sh --prefix="${D}"/opt/opera || die
        fi

        # 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

        # 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
        doins ${FILESDIR}/opera.desktop

        # Install a symlink /usr/bin/opera
        dodir /usr/bin
        dosym /opt/opera/bin/opera /usr/bin/opera

        # fix plugin path
        echo "Plugin Path=/opt/opera/lib/opera/plugins" >> ${D}/etc/opera6rc

        # enable spellcheck
        if use spell; then
                if use qt-static; then
                        DIR=$OPERAVER.1
                else
                        use sparc && DIR=$OPERAVER.2 || DIR=$OPERAVER.5
                fi
                echo "Spell Check Engine=/opt/opera/lib/opera/${DIR}/spellcheck.so" >> ${D}/opt/opera/share/opera/ini/spellcheck.ini
        fi

        dodir /etc/revdep-rebuild
        echo 'SEARCH_DIRS_MASK="/opt/opera/lib/opera/plugins"' > ${D}/etc/revdep-rebuild/90opera
}

pkg_postinst() {
        use gnome && gnome2_pkg_postinst

        elog "For localized language files take a look at:"
        elog "http://www.opera.com/download/languagefiles/index.dml?platform=linux"
        elog
        elog "To change the spellcheck language edit /opt/opera/share/opera/ini/spellcheck.ini"
        elog "and emerge app-dicts/aspell-language."
}


pkg_postrm() {
        use gnome && gnome2_pkg_postrm
}


PS: Скопируйте еще:
Code:

opera-9.00-install.patch  opera.desktop  opera-qt.2.patch


из /usr/portage/www-client/opera/files/ в /usr/local/portage/www-client/opera/files

Далее:
Code:

ebuild /usr/local/portage/www-client/opera/opera-9.10_rc1.ebuild digest


Last edited by f0rk on Sat Nov 11, 2006 9:02 pm; edited 2 times in total
Back to top
View user's profile Send private message
akam
Tux's lil' helper
Tux's lil' helper


Joined: 04 Sep 2006
Posts: 82
Location: Nab. Chelny, Russia

PostPosted: Wed Nov 08, 2006 7:13 am    Post subject: Reply with quote

f0rk wrote:
Теперь страницы, но которые не хотела заходить 9.02, открываются без проблем! ;)

хммм... когда первый раз поставил 910rc1 все вроде пошло :) потом откатился обратно на 902. все равно все продолжало работать. а потом я перезагрузился... и опера также продолжила грузить всю систему :(
по страйс посмотрел, действительно - перебирает все шрифты...
уж и не знаю, а счастье было так близко :(
Back to top
View user's profile Send private message
f0rk
Apprentice
Apprentice


Joined: 15 Nov 2004
Posts: 273
Location: Moscow

PostPosted: Wed Nov 08, 2006 7:16 am    Post subject: Reply with quote

А так как насчет 9.10rc1 ?
В ней опять начинает вешать систему?
Back to top
View user's profile Send private message
akam
Tux's lil' helper
Tux's lil' helper


Joined: 04 Sep 2006
Posts: 82
Location: Nab. Chelny, Russia

PostPosted: Wed Nov 08, 2006 7:21 am    Post subject: Reply with quote

f0rk wrote:
А так как насчет 9.10rc1 ?В ней опять начинает вешать систему?


да, когда после перезагрузки, 902 опера опять принялась за свое, я поставил 910рц1, только это уже не помогло.
никак не пойму, почему в первый раз все пошло как по маслу...
Back to top
View user's profile Send private message
f0rk
Apprentice
Apprentice


Joined: 15 Nov 2004
Posts: 273
Location: Moscow

PostPosted: Sat Nov 11, 2006 4:31 pm    Post subject: Reply with quote

Вышел новый билд (490)!
Приведенный выше ebuild обновил.
qt-static необязателен, если стоит пакет libstdc++.

Changes since last weekly
Fixed bug where "Go to URL" feature deselects last one or two characters of a URL
Fixed bug where newsfeed count did not updated in Mail panel status bar
Fixed bug where cnn.com didn't always finish loading
Fixed bug where accesskeys didn't work right on frame pages
Fixed bug where Gzipped pages was not decoded when loaded from cache
Added preference to disable trust button in address bar opera:config#SecurityPrefs|EnableTrustButton
Fixed Finnish translation

NOTE: You may need to empty your cache before everything goes back to normal.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum