Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[updated to 3.5.6] konqueror and 32bit-plugins
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
mikemcquaid
Tux's lil' helper
Tux's lil' helper


Joined: 11 May 2004
Posts: 108
Location: Edinburgh, Scotland

PostPosted: Tue Apr 11, 2006 1:46 am    Post subject: Reply with quote

Do you use ARTS?
Back to top
View user's profile Send private message
CptnObvious999
Apprentice
Apprentice


Joined: 19 Dec 2004
Posts: 292

PostPosted: Tue Apr 11, 2006 1:50 am    Post subject: Reply with quote

mikearthur wrote:
Do you use ARTS?

yeah and I have tried with the pipe to artsdsp one and off, neither worked
Back to top
View user's profile Send private message
blaster999
l33t
l33t


Joined: 09 May 2004
Posts: 902
Location: Between keyboard and chair

PostPosted: Tue Apr 11, 2006 10:31 am    Post subject: Reply with quote

Sound works great for me.
_________________
60s: sex, drugs, rock'n'roll
90s: sux, bugs, drag'n'drop
---
Some multimedia keys refuse to work? See my mini-howto:
https://forums.gentoo.org/viewtopic.php?p=1896734#1896734
Back to top
View user's profile Send private message
kaktuspalme
n00b
n00b


Joined: 23 Apr 2006
Posts: 29

PostPosted: Sun Apr 30, 2006 7:38 am    Post subject: Reply with quote

Code:
 # Copyright 1999-2006 Gentoo Foundation
     # Distributed under the terms of the GNU General Public License v2
     # $Header: $
   
     inherit eutils
   
     DESCRIPTION="32 bit Netscape plugins support for 64 bit konqueror"
     DEBIAN_MIRROR="ftp://ftp.debian.org/debian"
     SRC_URI="${DEBIAN_MIRROR}/pool/main/k/kdelibs/kdelibs4c2a_3.5.2-2+b1_i386.deb
                      ${DEBIAN_MIRROR}/pool/main/k/kdebase/konqueror-nsplugins_3.5.2-1_i386.deb
                      ${DEBIAN_MIRROR}/pool/main/liba/libart-lgpl/libart-2.0-2_2.3.17-1_i386.deb
                      ${DEBIAN_MIRROR}/pool/main/libi/libidn/libidn11_0.5.18-2_i386.deb
                      ${DEBIAN_MIRROR}/pool/main/a/acl/libacl1_2.2.36-1_i386.deb
                      ${DEBIAN_MIRROR}/pool/main/a/attr/libattr1_2.4.32-1_i386.deb"
   
     SLOT="0"
     KEYWORDS="amd64"
     IUSE=""
   
     DEPEND="~kde-base/konqueror-${PV}
             ~kde-base/nsplugins-${PV}
             app-emulation/emul-linux-x86-baselibs
             app-emulation/emul-linux-x86-compat
             app-emulation/emul-linux-x86-gtklibs
             app-emulation/emul-linux-x86-qtlibs
             app-emulation/emul-linux-x86-sdl
             app-emulation/emul-linux-x86-soundlibs
             app-arch/dpkg"
   
     RESTRICT="nomirror"
   
     src_unpack() {
             cd ${WORKDIR}
             for i in ${A}
             do
                     /usr/bin/dpkg --extract ${DISTDIR}/$i ${WORKDIR}
             done
     }
   
     src_install() {
             cd ${WORKDIR}
             insinto /usr/lib32
             insopts -m0755
             doins usr/lib/libDCOP.so* usr/lib/libkdecore.so* usr/lib/libkdefx.so* usr/lib/libkdesu.so* usr/lib/libkdeui.so* usr/lib/libkio.so* usr/lib/libkwalle$
             into `kde-config --prefix`
             dobin usr/bin/nsplugin*
             cp `kde-config --prefix`/bin/nspluginscan ${D}/`kde-config --prefix`/bin/nspluginscan64
             cp `kde-config --prefix`/bin/nspluginviewer ${D}/`kde-config --prefix`/bin/nspluginviewer64
     }
   
     pkg_prerm() {
             cp `kde-config --prefix`/bin/nspluginscan64 /tmp/nspluginscan
             cp `kde-config --prefix`/bin/nspluginviewer64 /tmp/nspluginviewer
     }
   
     pkg_postrm() {
             einfo "Restoring 64-bit konqueror plugins"
             mv /tmp/nsplugin* `kde-config --prefix`/bin
     }


There are some newer packages.

But i've got another Problem:
Traceback (most recent call last):
File "/usr/bin/emerge", line 3384, in ?
mydepgraph.merge(pkglist)
File "/usr/bin/emerge", line 2022, in merge
retval=portage.doebuild(y,"merge",myroot,self.pkgsettings,edebug,tree="porttree")
File "/usr/lib/portage/pym/portage.py", line 2633, in doebuild
if not digestcheck(checkme, mysettings, ("strict" in features), (mydo not in ["digest","fetch","unpack"] and settings["PORTAGE_CALLER"] == "ebuild" and "noauto" in features)):
File "/usr/lib/portage/pym/portage.py", line 2169, in digestcheck
mf.checkFileHashes(mf.findFile(f), f)
File "/usr/lib/portage/pym/portage_manifest.py", line 467, in checkFileHashes
myhashes = self.fhashdict[ftype][fname]
KeyError


This Problem comes, when i'm emerging nsplugins32

Why?
Back to top
View user's profile Send private message
Obi-Lan
Apprentice
Apprentice


Joined: 21 Jan 2005
Posts: 230
Location: Riihimäki

PostPosted: Fri May 12, 2006 6:37 pm    Post subject: Reply with quote

Code:
# Copyright 1999-2006 Gentoo Foundation Distributed under the terms of the GNU General Public License v2 $Header: $
 
 inherit eutils
 
 DESCRIPTION="32 bit Netscape plugins support for 64 bit konqueror"
 DEBIAN_MIRROR="ftp://ftp.debian.org/debian"
 SRC_URI="${DEBIAN_MIRROR}/pool/main/k/kdelibs/kdelibs4c2a_3.5.2-2+b1_i386.deb
                  ${DEBIAN_MIRROR}/pool/main/k/kdebase/konqueror-nsplugins_3.5.2-2+b1_i386.deb
                  ${DEBIAN_MIRROR}/pool/main/liba/libart-lgpl/libart-2.0-2_2.3.17-1_i386.deb
                  ${DEBIAN_MIRROR}/pool/main/libi/libidn/libidn11_0.5.18-2_i386.deb
                  ${DEBIAN_MIRROR}/pool/main/a/acl/libacl1_2.2.36-1_i386.deb
                  ${DEBIAN_MIRROR}/pool/main/a/attr/libattr1_2.4.32-1_i386.deb"
 
 SLOT="0"
 KEYWORDS="amd64"
 IUSE=""
 
 DEPEND="~kde-base/konqueror-${PV}
              ~kde-base/nsplugins-${PV}
              app-emulation/emul-linux-x86-baselibs
              app-emulation/emul-linux-x86-compat
              app-emulation/emul-linux-x86-gtklibs
              app-emulation/emul-linux-x86-qtlibs
              app-emulation/emul-linux-x86-sdl
              app-emulation/emul-linux-x86-soundlibs
              app-arch/dpkg"
 
 RESTRICT="nomirror"
 
 src_unpack() {
         cd ${WORKDIR}
         for i in ${A}
         do
                 /usr/bin/dpkg --extract ${DISTDIR}/$i ${WORKDIR}
         done
 }
 
 src_install() {
         cd ${WORKDIR}
         insinto /usr/lib32
         insopts -m0755
         doins usr/lib/libDCOP.so* usr/lib/libkdecore.so* usr/lib/libkdefx.so* usr/lib/libkdesu.so* usr/lib/libkdeui.so* usr/lib/libkio.so* usr/lib/libkwalletclient.so* usr/lib/libart_lgpl_2.so* usr/lib/libidn.so* usr/lib/libkparts.so* lib/libattr.so* lib/libacl.so*
         into `kde-config --prefix`
         dobin usr/bin/nsplugin*
         cp `kde-config --prefix`/bin/nspluginscan ${D}/`kde-config --prefix`/bin/nspluginscan64
         cp `kde-config --prefix`/bin/nspluginviewer ${D}/`kde-config --prefix`/bin/nspluginviewer64
 }
 
 pkg_prerm() {
         cp `kde-config --prefix`/bin/nspluginscan64 /tmp/nspluginscan
         cp `kde-config --prefix`/bin/nspluginviewer64 /tmp/nspluginviewer
 }
 
 pkg_postrm() {
         einfo "Restoring 64-bit konqueror plugins"
         mv /tmp/nsplugin* `kde-config --prefix`/bin
 }


And again with latest packages. Seems to work fine to me. Though I compiled KDE with USE="-arts" so that the sound works too :roll: But hey, my mplayerplug-in dissappeared! Gotta find it somewhere...

EDIT. Kmplayer and some symlinkin mplayer to mplayer-bin helped to the mpalyer problem.
Back to top
View user's profile Send private message
kdvgent
Guru
Guru


Joined: 29 Sep 2004
Posts: 352
Location: Belgium

PostPosted: Sun Jun 04, 2006 10:23 am    Post subject: ebuild, adapted to kde-3.5.3 Reply with quote

I adapted the ebuild to work with kde-3.5.3

Code:
# Copyright 1999-2006 Gentoo Foundation Distributed under the terms of the GNU General Public License v2 $Header: $
   
  inherit eutils
   
  DESCRIPTION="32 bit Netscape plugins support for 64 bit konqueror"
  DEBIAN_MIRROR="ftp://ftp.debian.org/debian"
  SRC_URI="${DEBIAN_MIRROR}/pool/main/k/kdelibs/kdelibs4c2a_3.5.3-1_i386.deb
                   ${DEBIAN_MIRROR}/pool/main/k/kdebase/konqueror-nsplugins_3.5.3-1_i386.deb
                   ${DEBIAN_MIRROR}/pool/main/liba/libart-lgpl/libart-2.0-2_2.3.17-1_i386.deb
                   ${DEBIAN_MIRROR}/pool/main/libi/libidn/libidn11_0.5.18-2_i386.deb
                   ${DEBIAN_MIRROR}/pool/main/a/acl/libacl1_2.2.37-1_i386.deb
                   ${DEBIAN_MIRROR}/pool/main/a/attr/libattr1_2.4.32-1_i386.deb"
   
  SLOT="0"
  KEYWORDS="amd64"
  IUSE=""
   
  DEPEND="~kde-base/konqueror-${PV}
               ~kde-base/nsplugins-${PV}
               app-emulation/emul-linux-x86-baselibs
               app-emulation/emul-linux-x86-compat
               app-emulation/emul-linux-x86-gtklibs
               app-emulation/emul-linux-x86-qtlibs
               app-emulation/emul-linux-x86-sdl
               app-emulation/emul-linux-x86-soundlibs
               app-arch/dpkg"
   
  RESTRICT="nomirror"
   
  src_unpack() {
          cd ${WORKDIR}
          for i in ${A}
          do
                  /usr/bin/dpkg --extract ${DISTDIR}/$i ${WORKDIR}
          done
  }
   
  src_install() {
          cd ${WORKDIR}
          insinto /usr/lib32
          insopts -m0755
          doins usr/lib/libDCOP.so* usr/lib/libkdecore.so* usr/lib/libkdefx.so* usr/lib/libkdesu.so* usr/lib/libkdeui.so* usr/lib/libkio.so* usr/lib/libkwalletclient.so* usr/lib/libart_lgpl_2.so* usr/lib/libidn.so* usr/lib/libkparts.so* lib/libattr.so* lib/libacl.so*
          into `kde-config --prefix`
          dobin usr/bin/nsplugin*
          cp `kde-config --prefix`/bin/nspluginscan ${D}/`kde-config --prefix`/bin/nspluginscan64
          cp `kde-config --prefix`/bin/nspluginviewer ${D}/`kde-config --prefix`/bin/nspluginviewer64
  }
   
  pkg_prerm() {
          cp `kde-config --prefix`/bin/nspluginscan64 /tmp/nspluginscan
          cp `kde-config --prefix`/bin/nspluginviewer64 /tmp/nspluginviewer
  }
   
  pkg_postrm() {
          einfo "Restoring 64-bit konqueror plugins"
          mv /tmp/nsplugin* `kde-config --prefix`/bin
  }
 
   
Back to top
View user's profile Send private message
Tom_
Guru
Guru


Joined: 20 May 2004
Posts: 444
Location: France

PostPosted: Tue Jun 27, 2006 12:42 pm    Post subject: Reply with quote

I use this last ebuild but Flash doesn't work any more in Konqueror (Kde 3.5.3). :(
Does anyone have an idea to fix this problem?

Thanks.
Back to top
View user's profile Send private message
auryn
n00b
n00b


Joined: 28 Jun 2006
Posts: 2

PostPosted: Wed Jun 28, 2006 7:53 am    Post subject: ebuild, readapted to kde-3.5.2 Reply with quote

I tried the ebuild for KDE 3.5.2 and some Debian packages requied couldn't been found.
Here are the modifications I made:

Code:
DEBIAN_MIRROR="http://ftp.gva.es/mirror/debian"
  SRC_URI="${DEBIAN_MIRROR}/pool/main/k/kdelibs/kdelibs4c2a_3.5.2-2+b1_i386.deb
                   ${DEBIAN_MIRROR}/pool/main/k/kdebase/konqueror-nsplugins_3.5.2-2+b1_i386.deb
                   ${DEBIAN_MIRROR}/pool/main/liba/libart-lgpl/libart-2.0-2_2.3.17-1_i386.deb
                   ${DEBIAN_MIRROR}/pool/main/libi/libidn/libidn11_0.5.18-2_i386.deb
                   http://mirrors.ircam.fr/pub/demudi/apt/etch/pool/main/a/acl/libacl1_2.2.36-1_i386
.deb
                   ${DEBIAN_MIRROR}/pool/main/a/attr/libattr1_2.4.32-1_i386.deb"
Back to top
View user's profile Send private message
auryn
n00b
n00b


Joined: 28 Jun 2006
Posts: 2

PostPosted: Wed Jun 28, 2006 8:07 am    Post subject: ebuild, readapted to kde-3.5.2 ["Manifest" and eb Reply with quote

Those are the steps that worked for me to install Netscape plugins for Konqueror in AMD64 in KDE 3.5.2

I remind you that before you do the emerge, you have to create the "Manifest" file with the command

Quote:
ebuild /usr/portage/kde-base/nsplugins32/nsplugins32-3.5.2.ebuild digest


And the final code that worked for KDE 3.5.2 is....

Quote:
# Copyright 1999-2006 Gentoo Foundation Distributed under the terms of the GNU General Public License v2 $Header: $

inherit eutils

DESCRIPTION="32 bit Netscape plugins support for 64 bit konqueror"
DEBIAN_MIRROR="http://ftp.gva.es/mirror/debian"
SRC_URI="${DEBIAN_MIRROR}/pool/main/k/kdelibs/kdelibs4c2a_3.5.2-2+b1_i386.deb
${DEBIAN_MIRROR}/pool/main/k/kdebase/konqueror-nsplugins_3.5.2-2+b1_i386.deb
${DEBIAN_MIRROR}/pool/main/liba/libart-lgpl/libart-2.0-2_2.3.17-1_i386.deb
${DEBIAN_MIRROR}/pool/main/libi/libidn/libidn11_0.5.18-2_i386.deb
http://mirrors.ircam.fr/pub/demudi/apt/etch/pool/main/a/acl/libacl1_2.2.36-1_i386.deb
${DEBIAN_MIRROR}/pool/main/a/attr/libattr1_2.4.32-1_i386.deb"

SLOT="0"
KEYWORDS="amd64"
IUSE=""

DEPEND="~kde-base/konqueror-${PV}
~kde-base/nsplugins-${PV}
app-emulation/emul-linux-x86-baselibs
app-emulation/emul-linux-x86-compat
app-emulation/emul-linux-x86-gtklibs
app-emulation/emul-linux-x86-qtlibs
app-emulation/emul-linux-x86-sdl
app-emulation/emul-linux-x86-soundlibs
app-arch/dpkg"

RESTRICT="nomirror"

src_unpack() {
cd ${WORKDIR}
for i in ${A}
do
/usr/bin/dpkg --extract ${DISTDIR}/$i ${WORKDIR}
done
}

src_install() {
cd ${WORKDIR}
insinto /usr/lib32
insopts -m0755
doins usr/lib/libDCOP.so* usr/lib/libkdecore.so* usr/lib/libkdefx.so* usr/lib/libkdesu.so* usr/lib/libkdeui.so* usr/lib/libkio.so* usr/lib/libkwalletclient.so* usr/lib/libart_lgpl_2.so* usr/lib/libidn.so* usr/lib/libkparts.so* lib/libattr.so* lib/libacl.so*
into `kde-config --prefix`
dobin usr/bin/nsplugin*
cp `kde-config --prefix`/bin/nspluginscan ${D}/`kde-config --prefix`/bin/nspluginscan64
cp `kde-config --prefix`/bin/nspluginviewer ${D}/`kde-config --prefix`/bin/nspluginviewer64
}

pkg_prerm() {
cp `kde-config --prefix`/bin/nspluginscan64 /tmp/nspluginscan
cp `kde-config --prefix`/bin/nspluginviewer64 /tmp/nspluginviewer
}

pkg_postrm() {
einfo "Restoring 64-bit konqueror plugins"
mv /tmp/nsplugin* `kde-config --prefix`/bin
}


Now, if you want to install Flash, you can emerge netscape-flash
Back to top
View user's profile Send private message
at6
Tux's lil' helper
Tux's lil' helper


Joined: 28 Nov 2002
Posts: 78
Location: /dev/null

PostPosted: Thu Jun 29, 2006 12:06 pm    Post subject: Reply with quote

@auryn: thanks, your way of installing the flash plugin works great. even with konqueror 3.5.3.

best regards,
marc
_________________
debian: stable but lame! suse: unstable and lame! gentoo: stable and only 4 geeks!
Gadget tests!
Back to top
View user's profile Send private message
Chrisje
n00b
n00b


Joined: 07 Jun 2003
Posts: 33
Location: The Netherlands

PostPosted: Sun Jul 02, 2006 10:14 am    Post subject: Reply with quote

Yes indeed it works with 3.5.3 :)

Since I use the monolitic kde ebuild I had to change
Code:

DEPEND="~kde-base/konqueror-${PV}
 ~kde-base/nsplugins-${PV}

to
Code:

DEPEND="~kde-base/kde-${PV}


And that worked like a charm. Great work!
Back to top
View user's profile Send private message
aricaldeira
n00b
n00b


Joined: 04 Mar 2004
Posts: 6
Location: Brasil

PostPosted: Wed Jul 05, 2006 2:22 pm    Post subject: Reply with quote

Works for me here, but without sound. I tried to activate sound via artsdsp, but it didn't work.

I'm using kde 3.5.3 split ebuilds with arts support, gcc 4.1.1 and kdehiddenvisibility.

How do you manage to get sound to work?

Should I try to install a debian package por arts or esd too (though I'm not sure how to do it...)?
Back to top
View user's profile Send private message
yfh2
Apprentice
Apprentice


Joined: 20 May 2004
Posts: 242

PostPosted: Thu Jul 06, 2006 3:17 pm    Post subject: Reply with quote

err ...
I'm fairly uncomfortable with hacking ebuilds, so I'm sure if I try something, I'll hurt my box badly.

Would anyone post a whole process here or in wiki pages ?

Thanks in advance.
Back to top
View user's profile Send private message
Kuhrscher
Guru
Guru


Joined: 29 Dec 2003
Posts: 498
Location: Hamburg, Germany

PostPosted: Mon Jul 10, 2006 3:17 pm    Post subject: Reply with quote

An actualized version for kde-3.5.3:

Code:
# Copyright 1999-2006 Gentoo Foundation Distributed under the terms of the GNU General Public License v2 $Header: $
     
   inherit eutils
     
   DESCRIPTION="32 bit Netscape plugins support for 64 bit konqueror"
   DEBIAN_MIRROR="ftp://ftp.debian.org/debian"
   SRC_URI="${DEBIAN_MIRROR}/pool/main/k/kdelibs/kdelibs4c2a_3.5.3-1_i386.deb
                    ${DEBIAN_MIRROR}/pool/main/k/kdebase/konqueror-nsplugins_3.5.3-2_i386.deb
                    ${DEBIAN_MIRROR}/pool/main/liba/libart-lgpl/libart-2.0-2_2.3.17-1_i386.deb
                    ${DEBIAN_MIRROR}/pool/main/libi/libidn/libidn11_0.5.18-2_i386.deb
                    ${DEBIAN_MIRROR}/pool/main/a/acl/libacl1_2.2.39-1_i386.deb
                    ${DEBIAN_MIRROR}/pool/main/a/attr/libattr1_2.4.32-1_i386.deb"
     
   SLOT="0"
   KEYWORDS="amd64"
   IUSE=""
     
   DEPEND="~kde-base/konqueror-${PV}
                ~kde-base/nsplugins-${PV}
                app-emulation/emul-linux-x86-baselibs
                app-emulation/emul-linux-x86-compat
                app-emulation/emul-linux-x86-gtklibs
                app-emulation/emul-linux-x86-qtlibs
                app-emulation/emul-linux-x86-sdl
                app-emulation/emul-linux-x86-soundlibs
                app-arch/dpkg"
     
   RESTRICT="nomirror"
     
   src_unpack() {
           cd ${WORKDIR}
           for i in ${A}
           do
                   /usr/bin/dpkg --extract ${DISTDIR}/$i ${WORKDIR}
           done
   }
     
   src_install() {
           cd ${WORKDIR}
           insinto /usr/lib32
           insopts -m0755
           doins usr/lib/libDCOP.so* usr/lib/libkdecore.so* usr/lib/libkdefx.so* usr/lib/libkdesu.so* usr/lib/libkdeui.so* usr/lib/libkio.so* usr/lib/libkwalletclient.so* usr/lib/libart_lgpl_2.so* usr/lib/libidn.so* usr/lib/libkparts.so* lib/libattr.so* lib/libacl.so*
           into `kde-config --prefix`
           dobin usr/bin/nsplugin*
           cp `kde-config --prefix`/bin/nspluginscan ${D}/`kde-config --prefix`/bin/nspluginscan64
           cp `kde-config --prefix`/bin/nspluginviewer ${D}/`kde-config --prefix`/bin/nspluginviewer64
   }
     
   pkg_prerm() {
           cp `kde-config --prefix`/bin/nspluginscan64 /tmp/nspluginscan
           cp `kde-config --prefix`/bin/nspluginviewer64 /tmp/nspluginviewer
   }
     
   pkg_postrm() {
           einfo "Restoring 64-bit konqueror plugins"
           mv /tmp/nsplugin* `kde-config --prefix`/bin
   }
Back to top
View user's profile Send private message
Kuhrscher
Guru
Guru


Joined: 29 Dec 2003
Posts: 498
Location: Hamburg, Germany

PostPosted: Mon Jul 10, 2006 3:22 pm    Post subject: Reply with quote

yfh2 wrote:
err ...
I'm fairly uncomfortable with hacking ebuilds, so I'm sure if I try something, I'll hurt my box badly.

Would anyone post a whole process here or in wiki pages ?

Thanks in advance.


1. If not already done, add "PORTDIR_OVERLAY=/usr/local/portage" to your /etc/make.conf.
2. Create the directory /usr/locale/portage/kde-base/nsplugins32/
3. Copy the latetest ebuild code to a text file named "nsplugins32-3.5.3.ebuild" (for kde-3.5.3) and save it in the directory above.
4. Run the command "ebuild /usr/local/portage/kde-base/nsplugins32/nsplugins32-3.5.3.ebuild digest"
5. Run the command "emerge -v nsplugins32"
Back to top
View user's profile Send private message
yfh2
Apprentice
Apprentice


Joined: 20 May 2004
Posts: 242

PostPosted: Mon Jul 17, 2006 7:18 pm    Post subject: Reply with quote

Thx
Took me some time, but I'm stuck at the last step ...
(also, one should mention the entry in package.keywords, btw)

Code:

fanless eb # emerge -pv =nsplugins32-3.5.2

These are the packages that would be merged, in order:

Calculating dependencies... done!
[blocks B     ] =kde-base/kdebase-3.5* (is blocking kde-base/kdialog-3.5.0)
[blocks B     ] =kde-base/kdebase-3.5* (is blocking kde-base/kdebase-kioslaves-3.5.2)
[blocks B     ] =kde-base/kdebase-3.5* (is blocking kde-base/libkonq-3.5.2)
[blocks B     ] =kde-base/kdebase-3.5* (is blocking kde-base/khotkeys-3.5.1)
[blocks B     ] =kde-base/kdebase-3.5* (is blocking kde-base/kdebase-data-3.5.2)
[blocks B     ] =kde-base/kdebase-3.5* (is blocking kde-base/kicker-3.5.2)
[blocks B     ] =kde-base/kdebase-3.5* (is blocking kde-base/kdesu-3.5.0)
[blocks B     ] =kde-base/kdebase-3.5* (is blocking kde-base/kcontrol-3.5.2)
[blocks B     ] =kde-base/kdebase-3.5* (is blocking kde-base/khelpcenter-3.5.2)
[blocks B     ] =kde-base/kdebase-3.5* (is blocking kde-base/kcminit-3.5.0)
[blocks B     ] =kde-base/kdebase-3.5* (is blocking kde-base/kfind-3.5.2)
[blocks B     ] =kde-base/kdebase-3.5* (is blocking kde-base/konqueror-3.5.2)
[blocks B     ] =kde-base/kdebase-3.5* (is blocking kde-base/nsplugins-3.5.2)
[ebuild  N    ] app-emulation/emul-linux-x86-soundlibs-2.3  825 kB
[ebuild  N    ] app-emulation/emul-linux-x86-sdl-2.3  449 kB
[ebuild  N    ] kde-base/kdialog-3.5.0  USE="-arts -debug -kdeenablefinal -kdehiddenvisibility -xinerama" 22,688 kB
[ebuild  N    ] kde-base/kdebase-kioslaves-3.5.2  USE="samba -arts -debug -hal -kdeenablefinal -kdehiddenvisibility -ldap -openexr -xinerama" 0 kB
[ebuild  N    ] kde-base/libkonq-3.5.2  USE="-arts -debug -kdeenablefinal -kdehiddenvisibility -xinerama" 0 kB
[ebuild  N    ] kde-base/khotkeys-3.5.1  USE="-arts -debug -kdeenablefinal -kdehiddenvisibility -xinerama" 23,034 kB
[ebuild  N    ] kde-base/kdebase-data-3.5.2  USE="-arts -debug -kdeenablefinal -kdehiddenvisibility -xinerama" 0 kB
[ebuild  N    ] kde-base/kicker-3.5.2  USE="-arts -debug -kdeenablefinal -kdehiddenvisibility -xcomposite -xinerama" 0 kB
[ebuild  N    ] kde-base/kdesu-3.5.0  USE="-arts -debug -kdeenablefinal -kdehiddenvisibility -xinerama" 0 kB
[ebuild  N    ] kde-base/khelpcenter-3.5.2  USE="-arts -debug -kdeenablefinal -kdehiddenvisibility -xinerama" 0 kB
[ebuild  N    ] kde-base/kcminit-3.5.0  USE="-arts -debug -kdeenablefinal -kdehiddenvisibility -xinerama" 0 kB
[ebuild  N    ] kde-base/kcontrol-3.5.2  USE="opengl ssl -arts -debug -ieee1394 -kdeenablefinal -kdehiddenvisibility -logitech-mouse -xinerama" 0 kB
[ebuild  N    ] kde-base/kfind-3.5.2  USE="-arts -debug -kdeenablefinal -kdehiddenvisibility -xinerama" 0 kB
[ebuild  N    ] kde-base/konqueror-3.5.2  USE="-arts -debug -java -kdeenablefinal -kdehiddenvisibility -xinerama" 0 kB
[ebuild  N    ] app-emulation/emul-linux-x86-qtlibs-2.2  6,993 kB
[ebuild  N    ] app-arch/dpkg-1.10.28  USE="zlib -bzip2" 2,173 kB
[ebuild  N    ] kde-base/nsplugins-3.5.2  USE="-arts -debug -kdeenablefinal -kdehiddenvisibility -xinerama" 0 kB
[ebuild     UD] kde-base/nsplugins32-3.5.2 [3.5.3] 0 kB [1]

Total size of downloads: 56,166 kB

Portage overlays:
 [1] /usr/local/portage



Any idea ?
Back to top
View user's profile Send private message
HearWa
n00b
n00b


Joined: 15 Apr 2004
Posts: 37
Location: Canada, N.B.

PostPosted: Thu Jul 20, 2006 4:07 am    Post subject: Reply with quote

When I do step #4 I get this:
Quote:
dustbunny nsplugins32 # ebuild /usr/local/portage/kde-base/nsplugins32/nsplugins32-3.5.2.ebuild digest
>>> Downloading ftp://ftp.debian.org/debian/pool/main/k/kdelibs/kdelibs4c2a_3.5.2-1_i386.deb
--05:06:21-- ftp://ftp.debian.org/debian/pool/main/k/kdelibs/kdelibs4c2a_3.5.2-1_i386.deb
=> `/usr/portage/distfiles/kdelibs4c2a_3.5.2-1_i386.deb'
Resolving ftp.debian.org... 128.101.240.212
Connecting to ftp.debian.org|128.101.240.212|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /debian/pool/main/k/kdelibs ... done.
==> PASV ... done. ==> RETR kdelibs4c2a_3.5.2-1_i386.deb ...
No such file `kdelibs4c2a_3.5.2-1_i386.deb'.

No digest file available and download failed.

!!! Couldn't download kdelibs4c2a_3.5.2-1_i386.deb. Aborting.

What's going on?
_________________
I am the darkness in your dreams and the bug in your soup.
Back to top
View user's profile Send private message
eMPee584
Apprentice
Apprentice


Joined: 01 Nov 2003
Posts: 152
Location: Aachen, Germany

PostPosted: Tue Jul 25, 2006 3:05 pm    Post subject: Reply with quote

HearWa wrote:
What's going on?

Well, on my local debian mirror 3.5.2 has disappeared. It is replaced by kdelibs4c2a_3.5.3-1_i386.deb . Sometimes packages also get bumbed up, i.e. f.e. to kdelibs4c2a_3.5.3-2_i386.deb or so. You have to look at the debian rep and correct the ebuild.
_________________
"You cannot teach people anything. You can only help them discover it within themselves." --Galileo
expand your state of mind by not watching tv =)
- .... .. ... .-- --- .-. .-.. -.. .. ... .-- . .-.. .-.. .-- .. -.-. -.- . -..
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Tue Jul 25, 2006 3:25 pm    Post subject: Reply with quote

yfh2 wrote:
Thx
Took me some time, but I'm stuck at the last step ...
(also, one should mention the entry in package.keywords, btw)

Code:

fanless eb # emerge -pv =nsplugins32-3.5.2

These are the packages that would be merged, in order:

Calculating dependencies... done!
[blocks B     ] =kde-base/kdebase-3.5* (is blocking kde-base/kdialog-3.5.0)
[blocks B     ] =kde-base/kdebase-3.5* (is blocking kde-base/kdebase-kioslaves-3.5.2)
[blocks B     ] =kde-base/kdebase-3.5* (is blocking kde-base/libkonq-3.5.2)
[blocks B     ] =kde-base/kdebase-3.5* (is blocking kde-base/khotkeys-3.5.1)
[blocks B     ] =kde-base/kdebase-3.5* (is blocking kde-base/kdebase-data-3.5.2)
[blocks B     ] =kde-base/kdebase-3.5* (is blocking kde-base/kicker-3.5.2)
[blocks B     ] =kde-base/kdebase-3.5* (is blocking kde-base/kdesu-3.5.0)
[blocks B     ] =kde-base/kdebase-3.5* (is blocking kde-base/kcontrol-3.5.2)
[blocks B     ] =kde-base/kdebase-3.5* (is blocking kde-base/khelpcenter-3.5.2)
[blocks B     ] =kde-base/kdebase-3.5* (is blocking kde-base/kcminit-3.5.0)
[blocks B     ] =kde-base/kdebase-3.5* (is blocking kde-base/kfind-3.5.2)
[blocks B     ] =kde-base/kdebase-3.5* (is blocking kde-base/konqueror-3.5.2)
[blocks B     ] =kde-base/kdebase-3.5* (is blocking kde-base/nsplugins-3.5.2)
[ebuild  N    ] app-emulation/emul-linux-x86-soundlibs-2.3  825 kB
[ebuild  N    ] app-emulation/emul-linux-x86-sdl-2.3  449 kB
[ebuild  N    ] kde-base/kdialog-3.5.0  USE="-arts -debug -kdeenablefinal -kdehiddenvisibility -xinerama" 22,688 kB
[ebuild  N    ] kde-base/kdebase-kioslaves-3.5.2  USE="samba -arts -debug -hal -kdeenablefinal -kdehiddenvisibility -ldap -openexr -xinerama" 0 kB
[ebuild  N    ] kde-base/libkonq-3.5.2  USE="-arts -debug -kdeenablefinal -kdehiddenvisibility -xinerama" 0 kB
[ebuild  N    ] kde-base/khotkeys-3.5.1  USE="-arts -debug -kdeenablefinal -kdehiddenvisibility -xinerama" 23,034 kB
[ebuild  N    ] kde-base/kdebase-data-3.5.2  USE="-arts -debug -kdeenablefinal -kdehiddenvisibility -xinerama" 0 kB
[ebuild  N    ] kde-base/kicker-3.5.2  USE="-arts -debug -kdeenablefinal -kdehiddenvisibility -xcomposite -xinerama" 0 kB
[ebuild  N    ] kde-base/kdesu-3.5.0  USE="-arts -debug -kdeenablefinal -kdehiddenvisibility -xinerama" 0 kB
[ebuild  N    ] kde-base/khelpcenter-3.5.2  USE="-arts -debug -kdeenablefinal -kdehiddenvisibility -xinerama" 0 kB
[ebuild  N    ] kde-base/kcminit-3.5.0  USE="-arts -debug -kdeenablefinal -kdehiddenvisibility -xinerama" 0 kB
[ebuild  N    ] kde-base/kcontrol-3.5.2  USE="opengl ssl -arts -debug -ieee1394 -kdeenablefinal -kdehiddenvisibility -logitech-mouse -xinerama" 0 kB
[ebuild  N    ] kde-base/kfind-3.5.2  USE="-arts -debug -kdeenablefinal -kdehiddenvisibility -xinerama" 0 kB
[ebuild  N    ] kde-base/konqueror-3.5.2  USE="-arts -debug -java -kdeenablefinal -kdehiddenvisibility -xinerama" 0 kB
[ebuild  N    ] app-emulation/emul-linux-x86-qtlibs-2.2  6,993 kB
[ebuild  N    ] app-arch/dpkg-1.10.28  USE="zlib -bzip2" 2,173 kB
[ebuild  N    ] kde-base/nsplugins-3.5.2  USE="-arts -debug -kdeenablefinal -kdehiddenvisibility -xinerama" 0 kB
[ebuild     UD] kde-base/nsplugins32-3.5.2 [3.5.3] 0 kB [1]

Total size of downloads: 56,166 kB

Portage overlays:
 [1] /usr/local/portage



Any idea ?

If you are using the split KDE ebuilds, kdebase shouldn't be installed. Unmerge it.
Back to top
View user's profile Send private message
gollo
n00b
n00b


Joined: 07 Oct 2004
Posts: 9

PostPosted: Wed Jul 26, 2006 2:48 pm    Post subject: Reply with quote

Updated kde-3.5.2 ebuild for those of you running amd64 stable like me. Just had to find a mirror that had the older packages.

Code:
# Copyright 1999-2006 Gentoo Foundation Distributed under the terms of the GNU General Public License v2 $Header: $
   
  inherit eutils
   
  DESCRIPTION="32 bit Netscape plugins support for 64 bit konqueror"
  DEBIAN_MIRROR="http://ftp.gva.es/mirror/debian"
  SRC_URI="${DEBIAN_MIRROR}/pool/main/k/kdelibs/kdelibs4c2a_3.5.2-2+b1_i386.deb
                   ${DEBIAN_MIRROR}/pool/main/k/kdebase/konqueror-nsplugins_3.5.2-2+b1_i386.deb
                   ${DEBIAN_MIRROR}/pool/main/liba/libart-lgpl/libart-2.0-2_2.3.17-1_i386.deb
                   ${DEBIAN_MIRROR}/pool/main/libi/libidn/libidn11_0.5.18-2_i386.deb
                   ${DEBIAN_MIRROR}/pool/main/a/acl/libacl1_2.2.36-1_i386.deb
                   ${DEBIAN_MIRROR}/pool/main/a/attr/libattr1_2.4.32-1_i386.deb"
   
  SLOT="0"
  KEYWORDS="amd64"
  IUSE=""
   
  DEPEND="~kde-base/konqueror-${PV}
               ~kde-base/nsplugins-${PV}
               app-emulation/emul-linux-x86-baselibs
               app-emulation/emul-linux-x86-compat
               app-emulation/emul-linux-x86-gtklibs
               app-emulation/emul-linux-x86-qtlibs
               app-emulation/emul-linux-x86-sdl
               app-emulation/emul-linux-x86-soundlibs
               app-arch/dpkg"
   
  RESTRICT="nomirror"
   
  src_unpack() {
          cd ${WORKDIR}
          for i in ${A}
          do
                  /usr/bin/dpkg --extract ${DISTDIR}/$i ${WORKDIR}
          done
  }
   
  src_install() {
          cd ${WORKDIR}
          insinto /usr/lib32
          insopts -m0755
          doins usr/lib/libDCOP.so* usr/lib/libkdecore.so* usr/lib/libkdefx.so* usr/lib/libkdesu.so* usr/lib/libkdeui.so* usr/lib/libkio.so* usr/lib/libkwalletclient.so* usr/lib/libart_lgpl_2.so* usr/lib/libidn.so* usr/lib/libkparts.so* lib/libattr.so* lib/libacl.so*
          into `kde-config --prefix`
          dobin usr/bin/nsplugin*
          cp `kde-config --prefix`/bin/nspluginscan ${D}/`kde-config --prefix`/bin/nspluginscan64
          cp `kde-config --prefix`/bin/nspluginviewer ${D}/`kde-config --prefix`/bin/nspluginviewer64
  }
   
  pkg_prerm() {
          cp `kde-config --prefix`/bin/nspluginscan64 /tmp/nspluginscan
          cp `kde-config --prefix`/bin/nspluginviewer64 /tmp/nspluginviewer
  }
   
  pkg_postrm() {
          einfo "Restoring 64-bit konqueror plugins"
          mv /tmp/nsplugin* `kde-config --prefix`/bin
  }
Back to top
View user's profile Send private message
RockMan
n00b
n00b


Joined: 10 Jun 2005
Posts: 14
Location: Sciacca (Italy)

PostPosted: Sun Aug 06, 2006 1:24 pm    Post subject: Reply with quote

Upgraded and modified ebuild:
Upgraded to work with kde 3.5.4
Modified to provide compatibility with newer version of kde too. I also added a lockfile, to let the ebuild know when we're removing the package, or just upgrading it, and if so NOT restoring 64bit plugins.
NOTE: if you're upgrading from a previous version, you'll upgrade from the PREVIOUS ebuild, which will restore 64bit plugins.
Emerge this ebuild 2 time to have 32bit plugins again.
Code:

# Copyright 1999-2006 Gentoo Foundation Distributed under the terms of the GNU General Public License v2 $Header: $
# Distributed under the terms of the GNU General Public License v2


inherit eutils

DESCRIPTION="32 bit Netscape plugins support for 64 bit konqueror"
DEBIAN_MIRROR="ftp://ftp.debian.org/debian"
SRC_URI="${DEBIAN_MIRROR}/pool/main/k/kdelibs/kdelibs4c2a_3.5.4-3_i386.deb
      ${DEBIAN_MIRROR}/pool/main/k/kdebase/konqueror-nsplugins_3.5.4-2_i386.deb
      ${DEBIAN_MIRROR}/pool/main/liba/libart-lgpl/libart-2.0-2_2.3.8-1_i386.deb
      ${DEBIAN_MIRROR}/pool/main/libi/libidn/libidn11_0.6.5-1_i386.deb
      ${DEBIAN_MIRROR}/pool/main/a/acl/libacl1_2.2.39-1_i386.deb
      ${DEBIAN_MIRROR}/pool/main/a/attr/libattr1_2.4.32-1_i386.deb"

SLOT="0"
KEYWORDS="amd64"
IUSE=""
LOCKFILE="/tmp/nsplugins32.lock"

DEPEND=">=kde-base/konqueror-${PV}
      >=kde-base/nsplugins-3.5.3-r1
      app-emulation/emul-linux-x86-baselibs
      app-emulation/emul-linux-x86-compat
      app-emulation/emul-linux-x86-gtklibs
      app-emulation/emul-linux-x86-qtlibs
      app-emulation/emul-linux-x86-sdl
      app-emulation/emul-linux-x86-soundlibs
      app-arch/dpkg"

RESTRICT="nomirror"

src_unpack() {
   cd ${WORKDIR}
   for i in ${A}
   do
      /usr/bin/dpkg --extract ${DISTDIR}/$i ${WORKDIR}
   done
}

src_install() {
   echo "Installing - please don't remove manually" > ${LOCKFILE}

   cd ${WORKDIR}
   insinto /usr/lib32
   insopts -m0755
   doins usr/lib/libDCOP.so* usr/lib/libkdecore.so* usr/lib/libkdefx.so* usr/lib/libkdesu.so* usr/lib/libkdeui.so* usr/lib/libkio.so* usr/lib/libkwalletclient.so* usr/lib/libart_lgpl_2.so* usr/lib/libidn.so* usr/lib/libkparts.so* lib/libattr.so* lib/libacl.so*
   into `kde-config --prefix`
   dobin usr/bin/nsplugin*
   cp `kde-config --prefix`/bin/nspluginscan ${D}/`kde-config --prefix`/bin/nspluginscan64
   cp `kde-config --prefix`/bin/nspluginviewer ${D}/`kde-config --prefix`/bin/nspluginviewer64
}

pkg_postinst() {
   rm ${LOCKFILE}
}

pkg_prerm() {
   if [ ! -r ${LOCKFILE} ]; then
      cp `kde-config --prefix`/bin/nspluginscan64 /tmp/nspluginscan
      cp `kde-config --prefix`/bin/nspluginviewer64 /tmp/nspluginviewer
   fi
}

pkg_postrm() {
   if [ ! -r ${LOCKFILE} ]; then
      einfo "Restoring 64-bit konqueror plugins"
      mv /tmp/nsplugin* `kde-config --prefix`/bin
   else
      einfo "Upgrading or rebuilding package. Not restoring 64-bit plugins."
   fi
}

_________________
http://www.kmobiletools.org KDE Mobile Phones Suite
Back to top
View user's profile Send private message
peralta_jm
n00b
n00b


Joined: 24 Aug 2005
Posts: 5

PostPosted: Thu Aug 17, 2006 5:18 pm    Post subject: Fix sound in konqueror using nsplugin32 Reply with quote

Hi all. I'm not sure of how many of you are unable to hear sound from flash inside konqueror (64-bit) with the nsplugin32, but I think at least some would benefit from this:

I had to modify the artsdsp script in /usr/kde/3.5/bin to enable sounds in flash (note that the redirect sound through artsdsp check box in konqueror's plugin config should be checked). The original artsdsp tryes to figure out if the program that is going to be wrapped by it is 32 or 64 bytes and then it sets up the LD_PRELOAD variable. But the problem is that it points to the 64 bytes libs even when the program is 32 bytes! That causes the linker to abort the preload (something that many of you might have seen elsewhere as "LD_PRELOAD cannot preload" errors).

The patch below makes artsdsp point to the correct 32 libs when the program is 32 bytes. This patch fixed the no-sound problem with flash32 in konqueror64 with nsplugin32.

Code:

--- artsdsp.orig        2006-08-17 11:46:40.000000000 -0500
+++ artsdsp     2006-08-17 11:48:50.000000000 -0500
@@ -108,2 +108,3 @@
     32-bit)
+          prefix=/emul/linux/x86/usr
        arch_libdir=lib
@@ -111,2 +112,3 @@
     64-bit)
+          prefix=/usr/kde/3.5
        arch_libdir=lib64
@@ -119,3 +121,3 @@

-prefix=/usr/kde/3.5
+#prefix=/usr/kde/3.5
 exec_prefix=${prefix}
@@ -131,2 +133,5 @@
 fi
+if test -f ${libdir}/libaoss.so.0; then
+  LD_PRELOAD=$LD_PRELOAD:${libdir}/libaoss.so.0
+fi
 export LD_PRELOAD


Juan.

---
EDIT: Reported this to bugzilla as bug 144243.
Back to top
View user's profile Send private message
_tebra_
Guru
Guru


Joined: 12 Nov 2004
Posts: 304
Location: Brussels - Belgium

PostPosted: Sun Aug 20, 2006 12:57 pm    Post subject: Reply with quote

Hello I got this message with ebuild for kde 3.5.4
Code:
>>> Downloading ftp://ftp.debian.org/debian/pool/main/a/acl/libacl1_2.2.39-1_i386.deb
--14:40:18--  ftp://ftp.debian.org/debian/pool/main/a/acl/libacl1_2.2.39-1_i386.deb
           => `/usr/portage/distfiles/libacl1_2.2.39-1_i386.deb'
Résolution de ftp.debian.org... 128.101.240.212
Connexion vers ftp.debian.org|128.101.240.212|:21...connecté.
Ouverture de session en anonymous...Session établie!
==> SYST ... complété.    ==> PWD ... complété.
==> TYPE I ... complété.  ==> CWD /debian/pool/main/a/acl ... complété.
==> PASV ... complété.    ==> RETR libacl1_2.2.39-1_i386.deb ...
Fichier « libacl1_2.2.39-1_i386.deb » inexistant.

No digest file available and download failed.

!!! Couldn't download libacl1_2.2.39-1_i386.deb. Aborting.


libacl1_2.2.39-1_i386.deb don't exist anymore
Back to top
View user's profile Send private message
_tebra_
Guru
Guru


Joined: 12 Nov 2004
Posts: 304
Location: Brussels - Belgium

PostPosted: Fri Aug 25, 2006 7:01 am    Post subject: Reply with quote

bump
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Fri Aug 25, 2006 4:31 pm    Post subject: Reply with quote

_tebra_ wrote:
Hello I got this message with ebuild for kde 3.5.4
Code:
>>> Downloading ftp://ftp.debian.org/debian/pool/main/a/acl/libacl1_2.2.39-1_i386.deb
--14:40:18--  ftp://ftp.debian.org/debian/pool/main/a/acl/libacl1_2.2.39-1_i386.deb
           => `/usr/portage/distfiles/libacl1_2.2.39-1_i386.deb'
Résolution de ftp.debian.org... 128.101.240.212
Connexion vers ftp.debian.org|128.101.240.212|:21...connecté.
Ouverture de session en anonymous...Session établie!
==> SYST ... complété.    ==> PWD ... complété.
==> TYPE I ... complété.  ==> CWD /debian/pool/main/a/acl ... complété.
==> PASV ... complété.    ==> RETR libacl1_2.2.39-1_i386.deb ...
Fichier « libacl1_2.2.39-1_i386.deb » inexistant.

No digest file available and download failed.

!!! Couldn't download libacl1_2.2.39-1_i386.deb. Aborting.


libacl1_2.2.39-1_i386.deb don't exist anymore

Try changing libacl1_2.2.39-1_i386.deb to libacl1_2.2.41-1_i386.deb in the ebuild.
Looks like debian had a minor update to this package and removed the older one.

Edit: The fix suggested by peralta_jm above seems to be included in arts-3.5.4-r1 now.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Goto page Previous  1, 2, 3, 4  Next
Page 3 of 4

 
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