[th] nspluginwrapper - how to build it?

2007-05-31 Thread Michał Łukaszek
My arch is x86_64.
I've got glibc and glibc-devel installed from th-i686. I've rebuilt
gcc with multilib.

But I still cannot find out what package could provide the required:
BuildRequires: gcc-c++32

I've grepped through all specs, and found no other package that requires it.
Can someone tell me how it is possible to build the package?

-- 
regards,
Michał Łukaszek
[EMAIL PROTECTED]
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: [th] nspluginwrapper - how to build it?

2007-05-31 Thread Elan Ruusamäe
On Thursday 31 May 2007 11:19:56 Michał Łukaszek wrote:
 My arch is x86_64.
 I've got glibc and glibc-devel installed from th-i686. I've rebuilt
 gcc with multilib.

 But I still cannot find out what package could provide the required:
 BuildRequires: gcc-c++32
it's 32bit gcc-c++, no idea what's the package on th-x86_64 called, try just 
from th-i686, maybe adjust dep to use /usr/lib/somelib.a to fill the 
dependency.

 I've grepped through all specs, and found no other package that requires
 it. Can someone tell me how it is possible to build the package?


-- 
glen
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: [th] nspluginwrapper - how to build it?

2007-05-31 Thread Paweł Sikora
Elan Ruusamäe pisze:
 On Thursday 31 May 2007 11:19:56 Michał Łukaszek wrote:
 My arch is x86_64.
 I've got glibc and glibc-devel installed from th-i686. I've rebuilt
 gcc with multilib.

 But I still cannot find out what package could provide the required:
 BuildRequires: gcc-c++32
 it's 32bit gcc-c++, no idea what's the package on th-x86_64 called,

in th-x86_64, gcc provides 'gcc(multilib)' but currently multilib
is switched off (bcond multilib) due to poldek's problems with
installing/upgrading multilib glibc.

if someone fix the poldek then we will build/keep multlib glibc/gcc
on th-x86_64 builders/ftp.

___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: [th] nspluginwrapper - how to build it?

2007-05-31 Thread Michał Łukaszek
On 5/31/07, Paweł Sikora [EMAIL PROTECTED] wrote:

 i see one solution for nspluginwrapper - statically linked
 i686 binaries installed on x86-64.

Yes, I agree that would be the best way to go - if I'd like to install
all dependent dynamically linked libraries, I would end up with couple
dozens of i686 libraries in my /usr/lib.
The question is, how to build it statically with ease (on x86_64 host machine)?

-- 
regards,
Michał Łukaszek
[EMAIL PROTECTED]
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: [th] nspluginwrapper - how to build it?

2007-05-31 Thread Elan Ruusamäe
On Thursday 31 May 2007 16:16:38 Michał Łukaszek wrote:
 On 5/31/07, Paweł Sikora [EMAIL PROTECTED] wrote:
  i see one solution for nspluginwrapper - statically linked
  i686 binaries installed on x86-64.

 Yes, I agree that would be the best way to go - if I'd like to install
 all dependent dynamically linked libraries, I would end up with couple
 dozens of i686 libraries in my /usr/lib.
 The question is, how to build it statically with ease (on x86_64 host
 machine)?

disagree, you'll need the shared 32bit ones anyway to run for example flash 
plugin

$ q adobe-flash --requires
[...]
fontconfig-libs
freetype
glib2
glibc
gtk+2

-- 
glen
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: [th] nspluginwrapper - how to build it?

2007-05-31 Thread Jakub Bogusz
On Thu, May 31, 2007 at 11:50:17AM +0200, Paweł Sikora wrote:
 Arkadiusz Miskiewicz pisze:
  On Thursday 31 of May 2007, Paweł Sikora wrote:
  
  ps.
  I'm afraid that I won't agree for gcc to become multilib in th in the
  current form. Right now using such multilib gcc REQUIRES to have glibc 32
  bit install where I want to have ability to install pure 64bit
  environment (including gcc).

It needs reverting to split scheme from 3.3.x spec.

  can we use _noautoreq for glibc32 deps in gcc64?
  
  Of course the answer is NO. You shouldn't even ask ;)
 
 i see one solution for nspluginwrapper - statically linked
 i686 binaries installed on x86-64.

Forget about static linking. gtk+2 and pango dlopen modules.


-- 
Jakub Boguszhttp://qboosh.pl/
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: [th] nspluginwrapper - how to build it?

2007-05-31 Thread Michał Łukaszek
On 5/31/07, Jakub Bogusz [EMAIL PROTECTED] wrote:

 Forget about static linking. gtk+2 and pango dlopen modules.

OK, I managed to run it, and I can confirm it indeed lets you use
32bit flash in 64bit browser (I have tested konqueror and firefox).

Packages I had to install from th-i686:
$ rpm -qa | grep i686 | sort
atk-1.18.0-1.i686
cairo-1.4.6-1.i686
cups-lib-1.2.10-2.i686
expat-2.0.0-3.i686
fontconfig-libs-2.4.2-2.i686
freetype-2.3.4-1.i686
glib-1.2.10-14.i686
glib2-2.12.12-1.i686
glibc-2.6-1.i686
glibc-devel-2.6-1.i686
gtk+2-2.10.12-1.i686
libjpeg-6b-27.i686
libpng-1.2.16-1.i686
libtiff-3.8.2-4.i686
libxcb-1.0-4.i686
openssl-0.9.8e-4.i686
pango-1.16.4-1.i686
xcb-util-0.2-1.i686
xorg-lib-libICE-1.0.3-1.i686
xorg-lib-libSM-1.0.3-1.i686
xorg-lib-libX11-1.1.1-3.i686
xorg-lib-libXau-1.0.3-1.i686
xorg-lib-libXcursor-1.1.8-3.i686
xorg-lib-libXdmcp-1.0.2-4.i686
xorg-lib-libXext-1.0.3-1.i686
xorg-lib-libXfixes-4.0.3-3.i686
xorg-lib-libXft-2.1.12-2.i686
xorg-lib-libXi-1.1.0-3.i686
xorg-lib-libXinerama-1.0.2-1.i686
xorg-lib-libXrandr-1.2.1-1.i686
xorg-lib-libXrender-0.9.2-3.i686
xorg-lib-libXt-1.0.5-2.i686
zlib-1.2.3-4.i686

I did not manage to do the Flash plugin installation the right way though ;-)

I just manually moved libflashplayer.so and flashplayer.xpt to
/usr/lib/browser-plugins
Then run nspluginwrapper -i /usr/lib/browser-plugins/libflashplayer.so
That in turn created npwrapper.libflashplayer.so in
~/.mozilla/plugins/ which I moved to /usr/lib64/browser-plugins/.
Chmod 755 *.so, 644 *.xpt, chown root:root, and voila!

I'd be nice to see a kosher way to do this, but I can live without it ;-)

-- 
regards,
Michał Łukaszek
[EMAIL PROTECTED]
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: [th] nspluginwrapper - how to build it?

2007-05-31 Thread Michał Łukaszek
 32bit flash in 64bit browser (I have tested konqueror and firefox).

 Packages I had to install from th-i686:

Ok, as a side note: if you want sound, you'll also need alsa-lib from
th-i686. :-)

-- 
regards,
Michał Łukaszek
[EMAIL PROTECTED]
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en