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
toonetown
n00b
n00b


Joined: 15 Jan 2005
Posts: 12

PostPosted: Mon Aug 01, 2005 6:34 pm    Post subject: Reply with quote

One note - liblcms is included with the above ebuild - as well as libfam, libidn and libpng (which are all required for the binary version of nsplugin*) These should all probably be included in some emul-linux-* packages somewhere...
Back to top
View user's profile Send private message
kundor
n00b
n00b


Joined: 13 Apr 2004
Posts: 29

PostPosted: Wed Aug 24, 2005 9:25 pm    Post subject: Reply with quote

Apparently those files don't all exist on suse's ftp servers anymore. I get file not found errors trying the ebuild.

The last package posted by Kuhrscher works fine on my KDE 3.4.2 though:

Kuhrscher wrote:
I just created and uploaded an actualised package for kde-3.4.1. I also fixed some problems with the installation script. At least for me, everything works fine now.

Have a lot of fun! 8)

konqueror32-3.4.1.tar.gz

Please install all emul-linux-x86-*-packages!
Back to top
View user's profile Send private message
Aynjell
Veteran
Veteran


Joined: 28 Jun 2004
Posts: 1117

PostPosted: Sun Sep 04, 2005 7:27 pm    Post subject: Reply with quote

Thanks for keeping this working, I hope you don't quit any time soon, as I sorta need flash and kde. :(
_________________
CPU: 3800+ X2 (2.5Ghz)
GPU: eVGA 7600GT (640/1700)
MOBO: DFI SLI-DR (Surprisingly good!)
RAM: 2 x OCZ Gold 1024 DDR500 3-4-3-7 (2048)
HDD: Western Digital Raptor
Back to top
View user's profile Send private message
brainwash
n00b
n00b


Joined: 27 Jun 2004
Posts: 38
Location: Darmstadt, Germany

PostPosted: Thu Sep 08, 2005 2:16 pm    Post subject: Reply with quote

To update toonetown's ebuild, change

Code:
SRC_URI="ftp://suse.cs.utah.edu/pub/suse.com/suse/i386/supplementary/KDE/update_for_9.3/base/kdelibs3-3.4.2-3.i586.rpm


to

Code:
SRC_URI="ftp://suse.cs.utah.edu/pub/suse.com/suse/i386/supplementary/KDE/update_for_9.3/base/kdelibs3-3.4.2-15.i586.rpm


If you're not using Split-Ebuilds, you can fix the ebuild to work with monolithic kde by changing
Code:
DEPEND="~kde-base/konqueror-${PV}
                ~kde-base/nsplugins-${PV}


to
Code:
DEPEND="~kde-base/kdebase-${PV}"


Thanks everybody for the work!
Back to top
View user's profile Send private message
Aynjell
Veteran
Veteran


Joined: 28 Jun 2004
Posts: 1117

PostPosted: Thu Sep 08, 2005 10:49 pm    Post subject: Reply with quote

Any word on a working 3.5 setup?
_________________
CPU: 3800+ X2 (2.5Ghz)
GPU: eVGA 7600GT (640/1700)
MOBO: DFI SLI-DR (Surprisingly good!)
RAM: 2 x OCZ Gold 1024 DDR500 3-4-3-7 (2048)
HDD: Western Digital Raptor
Back to top
View user's profile Send private message
fourhead
l33t
l33t


Joined: 03 Sep 2003
Posts: 875
Location: Cologne, Germany

PostPosted: Mon Sep 19, 2005 12:04 pm    Post subject: Reply with quote

Hello, your latest ebuild for KDE 3.4.2 worked very well for me, I just had to edit some of the filenames for downloading in the ebuild, it seems this is changing pretty fast on suse's server, but you can just go to the ftp server yourself and check the filenames.

I suggest to put your script to a more prominent place in this forum, I bet there are many people asking for Flash support on AMD64. Perhaps you could just put a link to the latest script in the very first post so you don't have to search the whole thread for it.


Good work & many thanks!

Tom
Back to top
View user's profile Send private message
fourhead
l33t
l33t


Joined: 03 Sep 2003
Posts: 875
Location: Cologne, Germany

PostPosted: Mon Sep 19, 2005 12:13 pm    Post subject: Reply with quote

I just found a little problem: All Flash animations seem to work, but I can't see any text in them! Animations, pictures, sound - all works well, but no text. Does anybody have the same issue?

Tom
Back to top
View user's profile Send private message
brainwash
n00b
n00b


Joined: 27 Jun 2004
Posts: 38
Location: Darmstadt, Germany

PostPosted: Fri Oct 21, 2005 7:08 pm    Post subject: Reply with quote

Hello Everybody,

I've updated the download URLS for KDE 3.4.3, using SuSE 10.0.
For some reason I had to unmerge nsplugins32, (re-)merge nsplugins and then merge nsplugins32 to make the Plugins icon show up in the Konqueror configuration dialog, but everything works fine now.

So here comes the ebuild...

Edit: My problem turned out to be a missing dependency which I had removed earlier because I wasn't on split-ebuilds yet. Fixed that one and bumped the version number in $Header.

Code:
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/nsplugins/nsplugins-3.4.3.ebuild,v 1.6 2005/07/08 03:16:26 weeve Exp $

inherit eutils

DESCRIPTION="32 bit Netscape plugins support for 64 bit konqueror"
KEYWORDS="amd64"
IUSE=""

SRC_URI="ftp://ftp.suse.com/pub/suse/i386/supplementary/KDE/update_for_10.0/base/kdelibs3-3.4.3-2.i586.rpm
ftp://ftp.suse.com/pub/suse/i386/supplementary/KDE/update_for_10.0/base/kdebase3-nsplugin-3.4.3-2.i586.rpm
ftp://ftp.suse.com/pub/suse/i386/supplementary/KDE/update_for_10.0/base/libart_lgpl-2.3.17-6.i586.rpm
ftp://ftp.suse.com/pub/suse/i386/9.3/suse/i586/liblcms-1.14-3.i586.rpm
ftp://ftp.suse.com/pub/suse/i386/9.3/suse/i586/libidn-0.5.9-3.i586.rpm
ftp://ftp.suse.com/pub/suse/i386/update/10.0/rpm/i586/fam-2.6.10-130.2.i586.rpm
ftp://ftp.suse.com/pub/suse/i386/9.3/suse/i586/libpng-1.2.8-3.i586.rpm"

SLOT="0"

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-glibc
                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/rpm2targz"

RESTRICT="nomirror"

src_unpack() {
        cd ${WORKDIR}
        for i in ${A}
        do
                /usr/bin/rpm2targz ${DISTDIR}/$i
        done
        for i in `ls *.tar.gz`
        do
                tar -zxpf $i
        done
}

src_install() {
        cd ${WORKDIR}
        insinto /usr/lib32
        insopts -m0755
        doins opt/kde3/lib/libDCOP.so* opt/kde3/lib/libkdecore.so* opt/kde3/lib/libkdefx.so* opt/kde3/lib/libkdesu.so* opt/kde3/lib/libkdeui.so* opt/kde3/lib/libkio.so* opt/kde3/lib/libkparts.so* opt/kde3/lib/libkwalletclient.so* usr/lib/libart_lgpl_2.so* usr/lib/libfam.so* usr/lib/liblcms.so* usr/lib/libidn.so* usr/lib/libpng.so*
        into `kde-config --prefix`
        dobin opt/kde3/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
}


This is ${PORTDIR_OVERLAY}/kde-base/nsplugins32/files/digest-nsplugins32-3.4.3:
Code:
MD5 8976d9bf18f1a4ae136c51d3d86ee7a9 kdelibs3-3.4.3-2.i586.rpm 14893524
MD5 4f678d13875261ea65b7b50438b8391d kdebase3-nsplugin-3.4.3-2.i586.rpm 103129
MD5 e8239d95c950ac343ff5ce37b3c08ae0 libart_lgpl-2.3.17-6.i586.rpm 69558
MD5 5b2d294ade8c91cbf3837e107e245f7d liblcms-1.14-3.i586.rpm 119750
MD5 572d85f984e5d566abdd5c0c01a48a2c libidn-0.5.9-3.i586.rpm 182048
MD5 5432296aaa4866e607143199dba63cfd fam-2.6.10-130.2.i586.rpm 50961
MD5 ba1f3162f4c1345038210f0fb5b5fe23 libpng-1.2.8-3.i586.rpm 177563


Have fun...


-brainwash
Back to top
View user's profile Send private message
BlackPepper
n00b
n00b


Joined: 20 Dec 2005
Posts: 2
Location: Charleroi, Belgium

PostPosted: Wed Dec 21, 2005 1:22 am    Post subject: And now, for kde-3.5.0 Reply with quote

Hello everybody,

Now the time has come for kde-3.5.0, and for a new "nsplugins32-3.5.0.ebuild". Brainwash, I updated your code (thanks for the inspiration :wink: )

Here is the code:
Code:

# Copyright 1999-2005 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"
SRC_URI="${DEBIAN_MIRROR}/pool/main/k/kdelibs/kdelibs4c2a_3.5.0-2_i386.deb
                 ${DEBIAN_MIRROR}/pool/main/k/kdebase/konqueror-nsplugins_3.5.0-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-1_i386.deb
                 ${DEBIAN_MIRROR}/pool/main/a/acl/libacl1_2.2.34-1_i386.deb
                 ${DEBIAN_MIRROR}/pool/main/a/attr/libattr1_2.4.25-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-glibc
        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
}



You just have to define your prefered Debian mirror in /etc/make.conf e.g.:
Code:

DEBIAN_MIRROR="ftp://ftp.debian.org/debian"


This is ${PORTDIR_OVERLAY}/kde-base/nsplugins32/files/digest-nsplugins32-3.5.0:
Code:

MD5 b63f5edbf34c4beabcaac5b147de001d kdelibs4c2a_3.5.0-2_i386.deb 8493082
MD5 c98ddebd2d6e03370e2bc64d0154067e konqueror-nsplugins_3.5.0-2_i386.deb 134684
MD5 5fdb0a53e8818c5353d1e2412dcb90a2 libacl1_2.2.34-1_i386.deb 14780
MD5 9a851a55bf0438302ce3fb12b3cff952 libart-2.0-2_2.3.17-1_i386.deb 61306
MD5 34ebf34331aed2dbc255bee22d5e3229 libattr1_2.4.25-1_i386.deb 7690
MD5 4fbbad9336f4c417d146f5e8e14e238e libidn11_0.5.18-1_i386.deb 107286


Enjoy ...
_________________
Black Pepper
Back to top
View user's profile Send private message
TNorthover
Guru
Guru


Joined: 25 Jan 2004
Posts: 434
Location: Edinburgh, UK

PostPosted: Wed Dec 21, 2005 9:36 am    Post subject: Reply with quote

Thanks, good work.
Back to top
View user's profile Send private message
brainwash
n00b
n00b


Joined: 27 Jun 2004
Posts: 38
Location: Darmstadt, Germany

PostPosted: Wed Dec 21, 2005 6:15 pm    Post subject: Reply with quote

Thanks a lot.

You should probably also mention that you'll have to add

Code:
kde-base/nsplugins32 ~amd64


to /etc/portage/package.keywords .

-brainwash
Back to top
View user's profile Send private message
smithjd15
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2003
Posts: 129
Location: Edmonton, AB, CA

PostPosted: Mon Jan 02, 2006 6:35 am    Post subject: Reply with quote

I ran into a few issues with this ebuild.

Code pasted into this forum does not properly take into account linebreaks.

Code:
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*


should all be on a single line.

Also, I don't want to pollute my global make.conf for one ebuild. So, I added the line

Code:
DEBIAN_MIRROR="ftp://ftp.debian.org/debian"


just prior to the SRC_URI line. That portion of the ebuild now looks like

Code:

 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.0-2_i386.deb
Back to top
View user's profile Send private message
j_c_p
Apprentice
Apprentice


Joined: 30 Aug 2003
Posts: 296
Location: France - Colmar

PostPosted: Sat Jan 28, 2006 1:50 am    Post subject: Re: And now, for kde-3.5.0 Reply with quote

BlackPepper wrote:
Hello everybody,

Now the time has come for kde-3.5.0, and for a new "nsplugins32-3.5.0.ebuild". Brainwash, I updated your code (thanks for the inspiration :wink: )

Here is the code:
Code:

# Copyright 1999-2005 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"
SRC_URI="${DEBIAN_MIRROR}/pool/main/k/kdelibs/kdelibs4c2a_3.5.0-2_i386.deb
                 ${DEBIAN_MIRROR}/pool/main/k/kdebase/konqueror-nsplugins_3.5.0-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-1_i386.deb
                 ${DEBIAN_MIRROR}/pool/main/a/acl/libacl1_2.2.34-1_i386.deb
                 ${DEBIAN_MIRROR}/pool/main/a/attr/libattr1_2.4.25-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-glibc
        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
}



You just have to define your prefered Debian mirror in /etc/make.conf e.g.:
Code:

DEBIAN_MIRROR="ftp://ftp.debian.org/debian"


This is ${PORTDIR_OVERLAY}/kde-base/nsplugins32/files/digest-nsplugins32-3.5.0:
Code:

MD5 b63f5edbf34c4beabcaac5b147de001d kdelibs4c2a_3.5.0-2_i386.deb 8493082
MD5 c98ddebd2d6e03370e2bc64d0154067e konqueror-nsplugins_3.5.0-2_i386.deb 134684
MD5 5fdb0a53e8818c5353d1e2412dcb90a2 libacl1_2.2.34-1_i386.deb 14780
MD5 9a851a55bf0438302ce3fb12b3cff952 libart-2.0-2_2.3.17-1_i386.deb 61306
MD5 34ebf34331aed2dbc255bee22d5e3229 libattr1_2.4.25-1_i386.deb 7690
MD5 4fbbad9336f4c417d146f5e8e14e238e libidn11_0.5.18-1_i386.deb 107286


Enjoy ...

Great job, thanks :wink:.

You can update the ebuild with the following :
Code:
# Copyright 1999-2005 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.0-3_i386.deb
                  ${DEBIAN_MIRROR}/pool/main/k/kdebase/konqueror-nsplugins_3.5.0-4_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-1_i386.deb
                  ${DEBIAN_MIRROR}/pool/main/a/acl/libacl1_2.2.34-1_i386.deb
                  ${DEBIAN_MIRROR}/pool/main/a/attr/libattr1_2.4.25-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-glibc
         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
 }

_________________
Lian Li PC60 - AMD Phenom II X6 1100T BE - Asrock 990FX EXTREME9 - MSI 480GTX TFII - M-Audio Delta Audiophile 24/96
Kernel 3.14.4 KDE 4.13.1 GCC 4.8.2 x86_64 05/16/2014
Back to top
View user's profile Send private message
cubanismo
n00b
n00b


Joined: 01 Feb 2006
Posts: 2

PostPosted: Wed Feb 01, 2006 6:38 am    Post subject: Reply with quote

Uhg, those debian packages don't seem to be available anymore. Anyone have them cached somewhere? It looks like debian went to 3.5.1, but there aren't any gentoo 3.5.1 ebuilds yet.
Back to top
View user's profile Send private message
cubanismo
n00b
n00b


Joined: 01 Feb 2006
Posts: 2

PostPosted: Wed Feb 01, 2006 8:09 am    Post subject: Reply with quote

I found some SuSE kde 3.5 libraries, and got this working with the following updated ebuild:

Code:

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

inherit eutils

SUSE_SITE="http://distro.ibiblio.org/pub/linux/distributions/suse/suse/i386/"
DESCRIPTION="32 bit Netscape plugins support for 64 bit konqueror"
SRC_URI="${SUSE_SITE}/supplementary/KDE/update_for_10.0/base/kdelibs3-3.5.0-31.i586.rpm
${SUSE_SITE}/supplementary/KDE/update_for_10.0/base/kdebase3-nsplugin-3.5.0-29.i586.rpm
${SUSE_SITE}/supplementary/KDE/update_for_10.0/base/libart_lgpl-2.3.17-6.i586.rpm
${SUSE_SITE}/9.3/suse/i586/liblcms-1.14-3.i586.rpm
${SUSE_SITE}/9.3/suse/i586/libidn-0.5.9-3.i586.rpm
${SUSE_SITE}/update/10.0/rpm/i586/fam-2.6.10-130.2.i586.rpm
${SUSE_SITE}/9.3/suse/i586/libacl-2.2.30-3.i586.rpm
${SUSE_SITE}/9.3/suse/i586/libattr-2.4.22-3.i586.rpm"

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

DEPEND="~kde-base/kdebase-${PV}
app-emulation/emul-linux-x86-baselibs
app-emulation/emul-linux-x86-compat
app-emulation/emul-linux-x86-glibc
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/rpm2targz"

RESTRICT="nomirror"

src_unpack()
{
   cd ${WORKDIR}
   for i in ${A}
   do
      /usr/bin/rpm2targz ${DISTDIR}/$i
   done
   for i in `ls *.tar.gz`
   do
      tar -zxpf $i
   done
}

src_install()
{
   cd ${WORKDIR}
   insinto /usr/lib32
   insopts -m0755
   doins opt/kde3/lib/libDCOP.so* opt/kde3/lib/libkdecore.so* opt/kde3/lib/libkdefx.so* opt/kde3/lib/libkdesu.so* opt/kde3/lib/libkdeui.so* opt/kde3/lib/libkio.so* opt/kde3/lib/libkparts.so* opt/kde3/lib/libkwalletclient.so* usr/lib/libart_lgpl_2.so* usr/lib/libfam.so* usr/lib/liblcms.so* usr/lib/libidn.so* lib/libattr.so* lib/libacl.so*
   into `kde-config --prefix`
   dobin opt/kde3/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
}


Hope this helps people :D
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: Wed Feb 01, 2006 11:05 am    Post subject: Reply with quote

Thanks for that ebuild. It worked for me. However, is there a chance to get it for 3.5.1?
_________________
60s: sex, drugs, rock'n'roll
90s: sux, bugs, drag'n'drop
---
Some multimedia keys refuse to work? See my mini-howto:
http://forums.gentoo.org/viewtopic.php?p=1896734#1896734
Back to top
View user's profile Send private message
j_c_p
Apprentice
Apprentice


Joined: 30 Aug 2003
Posts: 296
Location: France - Colmar

PostPosted: Thu Feb 02, 2006 5:42 pm    Post subject: Reply with quote

Update for KDE 3.5.1 :P :
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.1-1_i386.deb
                  ${DEBIAN_MIRROR}/pool/main/k/kdebase/konqueror-nsplugins_3.5.1-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-1_i386.deb
                  ${DEBIAN_MIRROR}/pool/main/a/acl/libacl1_2.2.34-1_i386.deb
                  ${DEBIAN_MIRROR}/pool/main/a/attr/libattr1_2.4.25-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-glibc
         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
 }

You can save this file as nsplugins32-3.5.1.ebuild, then ebuild nsplugins32-3.5.1.ebuild digest (in your overlay, for me /usr/local/portage/kde-base/nsplugins32).
Finally, you do : emerge -Ca nsplugins32 && emerge -av nsplugins32, then enjoy !

ps : emerge -C is useful due to the fact that the ebuild doesn't clean file properly if you just update with emerge.
_________________
Lian Li PC60 - AMD Phenom II X6 1100T BE - Asrock 990FX EXTREME9 - MSI 480GTX TFII - M-Audio Delta Audiophile 24/96
Kernel 3.14.4 KDE 4.13.1 GCC 4.8.2 x86_64 05/16/2014
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: Fri Feb 03, 2006 10:56 am    Post subject: Reply with quote

Thanks j_c_p for this ebuild! It works like a charm.
_________________
60s: sex, drugs, rock'n'roll
90s: sux, bugs, drag'n'drop
---
Some multimedia keys refuse to work? See my mini-howto:
http://forums.gentoo.org/viewtopic.php?p=1896734#1896734
Back to top
View user's profile Send private message
steiny
n00b
n00b


Joined: 03 Jul 2005
Posts: 3

PostPosted: Sun Feb 12, 2006 2:06 pm    Post subject: Reply with quote

minor changes for KDE 3.5.1 due to debian version bump (kdelibs was 3.5.1-1 is now 3.5.1-2 :? ):

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.1-2_i386.deb
                   ${DEBIAN_MIRROR}/pool/main/k/kdebase/konqueror-nsplugins_3.5.1-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-1_i386.deb
                   ${DEBIAN_MIRROR}/pool/main/a/acl/libacl1_2.2.34-1_i386.deb
                   ${DEBIAN_MIRROR}/pool/main/a/attr/libattr1_2.4.25-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-glibc
          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
mikemcquaid
Tux's lil' helper
Tux's lil' helper


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

PostPosted: Wed Mar 29, 2006 5:55 pm    Post subject: A better way :p Reply with quote

Personally, I think using an ebuild and installing Debian packages is the wrong way to go about this.
I've modified the original script, in the meantime, to take files from a 32-bit chroot, or, if you want to get the files manually, it can do that too, or download them from me (compiled with GCC 4.1, CFLAGS="-march=athlon64 -fomit-frame-pointer -O2 -pipe").

I'm thinking of writing an ebuild that will download the actual sources needed for this and compile them nicely.
Currently, the following libraries are needed, for KDE 3.5.2 and not provided by some emul-* package.
These can be obtained from me here.
libart_lgpl_2.so.2
libDCOP.so.4
libidn.so.11
libkdecore.so.4
libkdefx.so.4
libkdesu.so.4
libkdeui.so.4
libkio.so.4
libkparts.so.2
libkwalletclient.so.1
libXdmcp.so.6

Code:

#!/bin/bash
# 32-bit netscape plugin support for KDE on AMD64
CHROOT32="/emul/chroot"
NSPLUGIN32="/root/nsplugin32"
KDEDIR="/usr/kde/3.5"

function setup {
  echo
  echo "================ nsplugin32.sh ==================="
  echo "Setting up 32-bit netscape plugin support..."
  echo "=================================================="
  echo
  echo "Copying needed 32bit netscape plugin libraries..."
  echo
  mkdir -p $NSPLUGIN32/bin32/
  mkdir -p $NSPLUGIN32/lib32/
  cd $CHROOT32$KDEDIR/bin
  cp -v nspluginscan nspluginviewer $NSPLUGIN32/bin32/
  cd $CHROOT32$KDEDIR/lib
  cp -v libDCOP.so.4 libkdecore.so.4 libkdefx.so.4 libkdesu.so.4 libkdeui.so.4 libkio.so.4 libkparts.so.2 libkwalletclient.so.1 $NSPLUGIN32/lib32/
  cd $CHROOT32/usr/lib/
  cp -v libart_lgpl_2.so.2 libidn.so.11 libXdmcp.so.6 $NSPLUGIN32/lib32/
  cd $NSPLUGIN32/lib32/
  cp -v libart_lgpl_2.so.2 libDCOP.so.4 libidn.so.11 libkdecore.so.4 libkdefx.so.4 libkdesu.so.4 libkdeui.so.4 libkio.so.4 libkparts.so.2 libkwalletclient.so.1 libXdmcp.so.6 /usr/lib32/
  cp -v $NSPLUGIN32/bin32/* $KDEDIR/bin/
  if [ ! -e $NSPLUGIN32/bin64/ ]; then
    echo
    echo "Backing up 64bit KDE netscape plugin handlers..."
    echo
    mkdir -p $NSPLUGIN32/bin64/
    cd $KDEDIR/bin
    mv -v nspluginscan nspluginviewer $NSPLUGIN32/bin64/
  fi
  echo
  echo "Copying 32bit KDE netscape plugin handlers..."
  echo
  cp -v $NSPLUGIN32/bin32/* $KDEDIR/bin/
  echo
  echo "Running ldconfig..."
  echo
  ldconfig
  echo
  ldd $KDEDIR/bin/nspluginviewer | grep "not found"
  if [ $? -ne 0 ]; then
    echo "Done."
    echo
    echo "You may now open Konqueror's plugin settings and "
    echo "scan for available plugins. There seems to be a "
    echo "problem with the ARTS routing and 32bit plugins, "
    echo "so make sure to disable it in the plugin settings!"
  else
    echo "Not all needed libraries found, restoring 64-bit netscape"
    echo "plugin support..."
    restore &> /dev/null
        echo "Find missing libraries and retry"
  fi
}

function restore {
  echo
  echo "================ nsplugin32.sh ==================="
  echo "Restoring 64-bit netscape plugin support..."
  echo "=================================================="
  echo
  echo "Removing needed 32bit libraries..."
  echo
  cd /usr/lib32/
  rm -v libart_lgpl_2.so.2 libDCOP.so.4 libidn.so.11 libkdecore.so.4 libkdefx.so.4 libkdesu.so.4 libkdeui.so.4 libkio.so.4 libkparts.so.2 libkwalletclient.so.1 libXdmcp.so.6
  echo
  echo "Removing 32bit KDE netscape plugin handlers..."
  echo
  rm -v $KDEDIR/bin/nspluginscan $KDEDIR/bin/nspluginviewer
  echo
  echo "Restoring 64bit KDE netscape plugin handlers..."
  echo
  cd $NSPLUGIN32/bin64/
  cp -v nspluginscan nspluginviewer $KDEDIR/bin/
  cd $NSPLUGIN32/
  rm -rv bin64/
  echo
  echo "Running ldconfig..."
  echo  ldconfig
  echo
  echo "Done"
  echo
}

if [ "$1" == "setup" ]; then
  setup
  exit
elif [ "$1" == "restore" ]; then
  restore
  exit
else
  echo "================ nsplugin32.sh ==================="
  echo "32-bit netscape plugin support for KDE on AMD64"
  echo "You must specify an argument: 'setup' or 'restore'"
  echo "=================================================="
  exit 1
fi
Back to top
View user's profile Send private message
Strowi
l33t
l33t


Joined: 19 Aug 2003
Posts: 655
Location: Bonn

PostPosted: Mon Apr 03, 2006 11:37 am    Post subject: Reply with quote

hi,

worked great before, so i modified it to work with kde-3.5.2. works fine here!

changes:
-removed app-emulation/emul-linux-x86-glibc from DEPEND (is provided by another package)
-changed version numbers for kdelibs4c2a and konqueror-nsplugins

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-1_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-1_i386.deb
                    ${DEBIAN_MIRROR}/pool/main/a/acl/libacl1_2.2.34-1_i386.deb
                    ${DEBIAN_MIRROR}/pool/main/a/attr/libattr1_2.4.25-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
   }

_________________
--
Linux & such ...
http://blog.hasnoname.de
Back to top
View user's profile Send private message
smithjd15
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2003
Posts: 129
Location: Edmonton, AB, CA

PostPosted: Tue Apr 04, 2006 12:24 am    Post subject: Reply with quote

I used this (updated, fixed) ebuild to install. Some of the Debian versions have changed.

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-1_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.35-1_i386.deb
                     ${DEBIAN_MIRROR}/pool/main/a/attr/libattr1_2.4.31-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
    }


However, Flash still doesn't work. When I open up Konq in a terminal I can see an error generated:

Code:
/usr/kde/3.5/bin/nspluginviewer: error while loading shared libraries: libkparts.so.2: cannot open shared object file: No such file or directory


Do we need to replace Kparts as well? If so this is getting a little hairy; it's almost better to go with a 32-bit userland instead if I absolutely needed Flash.
Back to top
View user's profile Send private message
mikemcquaid
Tux's lil' helper
Tux's lil' helper


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

PostPosted: Tue Apr 04, 2006 12:08 pm    Post subject: Reply with quote

Give my script a try, it'll tell you all the libraries you need
Back to top
View user's profile Send private message
kirk427
n00b
n00b


Joined: 15 Dec 2003
Posts: 20

PostPosted: Thu Apr 06, 2006 2:29 am    Post subject: Reply with quote

I noticed in the 2 previous scripts above, the doins line was truncated. if you have the 3.5.1 ebuild, you can just copy that to the 3.5.2 ebuild. here is the line as it should be in the ebuild. remember this is one line only, no returns...

Code:

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*


after making the above change, everything was ok for me.
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:18 am    Post subject: Reply with quote

Thank you all for the wonderfull ebuild. It didn't like those files so heres the full ebuild that works as of now.
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_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/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
}


btw does anyone have sound working on it? Mine won't :cry: but at least I can watch flash stuff :D
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 2 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