Discussion:
flash patch
Tim Wunder
2007-12-15 15:04:44 UTC
Permalink
If I were to apply the flash patch(es)* to FC6's kdelibs and kdebase, do I
need to first apply the patch to kdelibs then build and install the new
kdelibs and then apply/build/install kdebase, or just apply/build each one
and then install them both?

*http://cvs.fedoraproject.org/viewcvs/devel/kdelibs3/kdelibs-3.5.8-new-flash.patch
*http://cvs.fedoraproject.org/viewcvs/devel/kdebase3/kdebase-3.5.8-flash.patch

Thanks,
Tim
--
Fedora Core release 6 (Zod), Linux 2.6.22.14-72.fc6
KDE: 3.5.8-1.fc6 Fedora
10:00:01 up 6 days, 11:30, 2 users, load average: 2.72, 2.45, 1.85
"It's what you learn after you know it all that counts" John Wooden
Tim Wunder
2007-12-16 05:01:09 UTC
Permalink
Post by Tim Wunder
If I were to apply the flash patch(es)* to FC6's kdelibs and kdebase, do I
need to first apply the patch to kdelibs then build and install the new
kdelibs and then apply/build/install kdebase, or just apply/build each one
and then install them both?
*http://cvs.fedoraproject.org/viewcvs/devel/kdelibs3/kdelibs-3.5.8-new-flas
h.patch
*http://cvs.fedoraproject.org/viewcvs/devel/kdebase3/kdebase-3.5.8-flash.pa
tch
Obviously, I'm doing something wrong. I downloaded the .patch files and copied
them to the SOURCES directory. I then modified the kdelibs.spec file to
include a reference to the patch file as follows:
Patch47: kdelibs-3.5.8-new-flash.patch
and I added
%patch47 -p1 -b .new-flash
to the %prep section of the spec file. But when I try
rpmbuild -ba SPECS/kdelibs.spec
I get this:
Patch #47 (kdelibs-3.5.8-new-flash.patch):
+ patch -p1 -b --suffix .new-flash -s
The text leading up to this was:
--------------------------
|--- kdeui/qxembed.cpp.sav 2007-10-05 15:24:40.000000000 +0200
|+++ kdeui/qxembed.cpp 2007-12-12 15:16:00.000000000 +0100
--------------------------
File to patch:


What did I do wrong?

Thanks,
Tim
--
Fedora Core release 6 (Zod), Linux 2.6.22.14-72.fc6
KDE: 3.5.8-1 Fedora
23:50:01 up 7 days, 1:20, 2 users, load average: 1.06, 1.19, 1.41
"It's what you learn after you know it all that counts" John Wooden
Rex Dieter
2007-12-16 05:03:25 UTC
Permalink
Post by Tim Wunder
Post by Tim Wunder
If I were to apply the flash patch(es)* to FC6's kdelibs and kdebase, do I
need to first apply the patch to kdelibs then build and install the new
kdelibs and then apply/build/install kdebase, or just apply/build each one
and then install them both?
*http://cvs.fedoraproject.org/viewcvs/devel/kdelibs3/kdelibs-3.5.8-new-flas
h.patch
*http://cvs.fedoraproject.org/viewcvs/devel/kdebase3/kdebase-3.5.8-flash.pa
tch
Obviously, I'm doing something wrong. I downloaded the .patch files and copied
them to the SOURCES directory. I then modified the kdelibs.spec file to
Patch47: kdelibs-3.5.8-new-flash.patch
and I added
%patch47 -p1 -b .new-flash
to the %prep section of the spec file. But when I try
rpmbuild -ba SPECS/kdelibs.spec
+ patch -p1 -b --suffix .new-flash -s
--------------------------
|--- kdeui/qxembed.cpp.sav 2007-10-05 15:24:40.000000000 +0200
|+++ kdeui/qxembed.cpp 2007-12-12 15:16:00.000000000 +0100
--------------------------
What did I do wrong?
The kdelibs patch needs -p0 not -p1

-- Rex

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
Tim Wunder
2007-12-16 15:30:53 UTC
Permalink
Post by Rex Dieter
Post by Tim Wunder
Post by Tim Wunder
If I were to apply the flash patch(es)* to FC6's kdelibs and kdebase, do
I need to first apply the patch to kdelibs then build and install the
new kdelibs and then apply/build/install kdebase, or just apply/build
each one and then install them both?
*http://cvs.fedoraproject.org/viewcvs/devel/kdelibs3/kdelibs-3.5.8-new-f
las h.patch
*http://cvs.fedoraproject.org/viewcvs/devel/kdebase3/kdebase-3.5.8-flash
.pa tch
Obviously, I'm doing something wrong. I downloaded the .patch files and
copied them to the SOURCES directory. I then modified the kdelibs.spec
Patch47: kdelibs-3.5.8-new-flash.patch
and I added
%patch47 -p1 -b .new-flash
to the %prep section of the spec file. But when I try
rpmbuild -ba SPECS/kdelibs.spec
+ patch -p1 -b --suffix .new-flash -s
--------------------------
|--- kdeui/qxembed.cpp.sav 2007-10-05 15:24:40.000000000 +0200
|+++ kdeui/qxembed.cpp 2007-12-12 15:16:00.000000000 +0100
--------------------------
What did I do wrong?
The kdelibs patch needs -p0 not -p1
Thanks Rex. That seems to have worked. Unfortunately, the patches don't quite
work for me. nspluginviewer crashes still :(

Tim
--
Fedora Core release 6 (Zod), Linux 2.6.22.14-72.fc6
KDE: 3.5.8-1 Fedora
10:25:01 up 7 days, 11:55, 0 users, load average: 1.10, 1.06, 1.31
"It's what you learn after you know it all that counts" John Wooden
Eli Wapniarski
2007-12-18 19:44:36 UTC
Permalink
Post by Tim Wunder
*http://cvs.fedoraproject.org/viewcvs/devel/kdelibs3/kdelibs-3.5.8-new-f
las h.patch
*http://cvs.fedoraproject.org/viewcvs/devel/kdebase3/kdebase-3.5.8-flash
.pa tch
I tried the patches in fc8 x86_64. They don't seem to work. Worse still, the
older flash plugin also doesn't seem to work with the patch.

Eli
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
Eli Wapniarski
2007-12-18 19:55:55 UTC
Permalink
Post by Eli Wapniarski
Post by Tim Wunder
*http://cvs.fedoraproject.org/viewcvs/devel/kdelibs3/kdelibs-3.5.8-new
-f las h.patch
*http://cvs.fedoraproject.org/viewcvs/devel/kdebase3/kdebase-3.5.8-fla
sh .pa tch
I tried the patches in fc8 x86_64. They don't seem to work. Worse still,
the older flash plugin also doesn't seem to work with the patch.
Eli
Come to think of it. This is a real bummer. Scifi.com and cnn.com was hard
enough in konqueror. Now you can't do this again. Wow... its actually pretty
darn rotten how far behind Konqueror fallen compared to Firefox. I actually
prefer Konqueror. But more and more things seem to not work with Firefox.

Just one of these things that make you go hmmmm.

Eli
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
Eli Wapniarski
2007-12-18 19:59:33 UTC
Permalink
Post by Eli Wapniarski
Post by Eli Wapniarski
Post by Tim Wunder
*http://cvs.fedoraproject.org/viewcvs/devel/kdelibs3/kdelibs-3.5.8-n
ew -f las h.patch
*http://cvs.fedoraproject.org/viewcvs/devel/kdebase3/kdebase-3.5.8-f
la sh .pa tch
I tried the patches in fc8 x86_64. They don't seem to work. Worse still,
the older flash plugin also doesn't seem to work with the patch.
Eli
Come to think of it. This is a real bummer. Scifi.com and cnn.com was hard
enough in konqueror. Now you can't do this again. Wow... its actually
pretty darn rotten how far behind Konqueror fallen compared to Firefox. I
actually prefer Konqueror. But more and more things seem to not work with
Firefox.
Oops I meant to say not work with Konqueror.
Post by Eli Wapniarski
Just one of these things that make you go hmmmm.
And it still makes you go hmmm.
Post by Eli Wapniarski
Eli
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
Rex Dieter
2007-12-18 20:54:53 UTC
Permalink
Post by Eli Wapniarski
Post by Tim Wunder
*http://cvs.fedoraproject.org/viewcvs/devel/kdelibs3/kdelibs-3.5.8-new-f
las h.patch
*http://cvs.fedoraproject.org/viewcvs/devel/kdebase3/kdebase-3.5.8-flash
.pa tch
I tried the patches in fc8 x86_64. They don't seem to work. Worse still, the
older flash plugin also doesn't seem to work with the patch.
flash is i386 only. Are you using nspluinwrapper? If so, it needs
work/patching too outside of kde being patched too.

-- Rex


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
Eli Wapniarski
2007-12-18 21:21:46 UTC
Permalink
Post by Rex Dieter
Post by Eli Wapniarski
Post by Tim Wunder
*http://cvs.fedoraproject.org/viewcvs/devel/kdelibs3/kdelibs-3.5.8-new
-f las h.patch
*http://cvs.fedoraproject.org/viewcvs/devel/kdebase3/kdebase-3.5.8-fla
sh .pa tch
I tried the patches in fc8 x86_64. They don't seem to work. Worse still,
the older flash plugin also doesn't seem to work with the patch.
flash is i386 only. Are you using nspluinwrapper? If so, it needs
work/patching too outside of kde being patched too.
-- Rex
Yes, I am using nspluginwrapper. 0.9.91.5. It seems to work OK in Firefox. Any
idea when things will be working in Konqueror. I know... when everything get
put upstream.

I miss kde-redhat.org :(

Eli
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
Rex Dieter
2007-12-19 13:42:20 UTC
Permalink
Post by Eli Wapniarski
Yes, I am using nspluginwrapper. 0.9.91.5. It seems to work OK in Firefox.
Any idea when things will be working in Konqueror...
See:
http://admin.fedoraproject.org/updates/F8/pending/nspluginwrapper-0.9.91.5-14.fc8
http://bugzilla.redhat.com/360891

As an aside, it has been suggested that konq's nspluginviewer and
nslpluginwrapper merge efforts somehow, which would be nice/cool, but that
would require dev's from both putting in work to make that happen.

-- Rex


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
Eli Wapniarski
2007-12-19 19:34:29 UTC
Permalink
Post by Rex Dieter
Post by Eli Wapniarski
Yes, I am using nspluginwrapper. 0.9.91.5. It seems to work OK in
Firefox. Any idea when things will be working in Konqueror...
http://admin.fedoraproject.org/updates/F8/pending/nspluginwrapper-0.9.91.5-
14.fc8 http://bugzilla.redhat.com/360891
As an aside, it has been suggested that konq's nspluginviewer and
nslpluginwrapper merge efforts somehow, which would be nice/cool, but that
would require dev's from both putting in work to make that happen.
-- Rex
Hmmm. Tried the new nspluginwrapper. Do joy except that with patched kdelibs
and base nspluginviewer crashes.

It does seem to work relatively nicely in Firefox. But Konqueror becomes
unuseable because of the crashing.

Eli
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
Eli Wapniarski
2007-12-19 19:49:18 UTC
Permalink
Post by Eli Wapniarski
Post by Rex Dieter
Post by Eli Wapniarski
Yes, I am using nspluginwrapper. 0.9.91.5. It seems to work OK in
Firefox. Any idea when things will be working in Konqueror...
http://admin.fedoraproject.org/updates/F8/pending/nspluginwrapper-0.9.91.
5- 14.fc8 http://bugzilla.redhat.com/360891
As an aside, it has been suggested that konq's nspluginviewer and
nslpluginwrapper merge efforts somehow, which would be nice/cool, but
that would require dev's from both putting in work to make that happen.
-- Rex
Hmmm. Tried the new nspluginwrapper. Do joy except that with patched
kdelibs and base nspluginviewer crashes.
It does seem to work relatively nicely in Firefox. But Konqueror becomes
unuseable because of the crashing.
Eli
Actually. It seems to crash in Firefox as well.. Dang. Going back to the old
Flash...

Eli
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
Neal Becker
2007-12-20 22:48:12 UTC
Permalink
Post by Eli Wapniarski
Post by Eli Wapniarski
Post by Rex Dieter
Post by Eli Wapniarski
Yes, I am using nspluginwrapper. 0.9.91.5. It seems to work OK in
Firefox. Any idea when things will be working in Konqueror...
http://admin.fedoraproject.org/updates/F8/pending/nspluginwrapper-0.9.9
1. 5- 14.fc8 http://bugzilla.redhat.com/360891
As an aside, it has been suggested that konq's nspluginviewer and
nslpluginwrapper merge efforts somehow, which would be nice/cool, but
that would require dev's from both putting in work to make that happen.
-- Rex
Hmmm. Tried the new nspluginwrapper. Do joy except that with patched
kdelibs and base nspluginviewer crashes.
It does seem to work relatively nicely in Firefox. But Konqueror becomes
unuseable because of the crashing.
Eli
Actually. It seems to crash in Firefox as well.. Dang. Going back to the
old Flash...
Eli
Yeah great. Did you know the reason for the flash update was a _critical
security fix_?


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Eli Wapniarski
2007-12-21 08:23:01 UTC
Permalink
Post by Neal Becker
Post by Eli Wapniarski
Post by Eli Wapniarski
Post by Rex Dieter
Post by Eli Wapniarski
Yes, I am using nspluginwrapper. 0.9.91.5. It seems to work OK in
Firefox. Any idea when things will be working in Konqueror...
http://admin.fedoraproject.org/updates/F8/pending/nspluginwrapper-0.9
.9 1. 5- 14.fc8 http://bugzilla.redhat.com/360891
As an aside, it has been suggested that konq's nspluginviewer and
nslpluginwrapper merge efforts somehow, which would be nice/cool, but
that would require dev's from both putting in work to make that happen.
-- Rex
Hmmm. Tried the new nspluginwrapper. Do joy except that with patched
kdelibs and base nspluginviewer crashes.
It does seem to work relatively nicely in Firefox. But Konqueror
becomes unuseable because of the crashing.
Eli
Actually. It seems to crash in Firefox as well.. Dang. Going back to the
old Flash...
Eli
Yeah great. Did you know the reason for the flash update was a _critical
security fix_?
So what are you saying. Don't use Konqueror because its insecure?


Eli
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Neal Becker
2007-12-21 11:41:08 UTC
Permalink
Post by Eli Wapniarski
Post by Neal Becker
Post by Eli Wapniarski
Post by Eli Wapniarski
Post by Rex Dieter
Post by Eli Wapniarski
Yes, I am using nspluginwrapper. 0.9.91.5. It seems to work OK in
Firefox. Any idea when things will be working in Konqueror...
http://admin.fedoraproject.org/updates/F8/pending/nspluginwrapper-0
.9 .9 1. 5- 14.fc8 http://bugzilla.redhat.com/360891
As an aside, it has been suggested that konq's nspluginviewer and
nslpluginwrapper merge efforts somehow, which would be nice/cool,
but that would require dev's from both putting in work to make that
happen.
-- Rex
Hmmm. Tried the new nspluginwrapper. Do joy except that with patched
kdelibs and base nspluginviewer crashes.
It does seem to work relatively nicely in Firefox. But Konqueror
becomes unuseable because of the crashing.
Eli
Actually. It seems to crash in Firefox as well.. Dang. Going back to
the old Flash...
Eli
Yeah great. Did you know the reason for the flash update was a _critical
security fix_?
So what are you saying. Don't use Konqueror because its insecure?
I'm saying:

1) adobe, and flash both suck
2) screw flash



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Eli Wapniarski
2007-12-21 11:45:27 UTC
Permalink
Post by Neal Becker
1) adobe, and flash both suck
2) screw flash
That's fine for the matrix. Welcome to the real world.

Eli
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Tim Wunder
2007-12-18 21:22:24 UTC
Permalink
Post by Rex Dieter
Post by Eli Wapniarski
Post by Tim Wunder
*http://cvs.fedoraproject.org/viewcvs/devel/kdelibs3/kdelibs-3.5.8-new
-f las h.patch
*http://cvs.fedoraproject.org/viewcvs/devel/kdebase3/kdebase-3.5.8-fla
sh .pa tch
I tried the patches in fc8 x86_64. They don't seem to work. Worse still,
the older flash plugin also doesn't seem to work with the patch.
flash is i386 only. Are you using nspluinwrapper? If so, it needs
work/patching too outside of kde being patched too.
Since I'm on FC6, I'm using nspluginviewer. Do you know if that needs to be
patched separately? I assumed the kdebase patch applied took care of
everything I needed since:

$ rpm -qf /usr/bin/nspluginviewer
kdebase-3.5.8-1

Thanks,
Tim
--
Fedora Core release 6 (Zod), Linux 2.6.22.14-72.fc6
KDE: 3.5.8-1 Fedora
16:15:02 up 1 day, 9:33, 3 users, load average: 0.05, 0.06, 0.10
"It's what you learn after you know it all that counts" John Wooden
Rex Dieter
2007-12-19 14:06:37 UTC
Permalink
Post by Tim Wunder
Since I'm on FC6, I'm using nspluginviewer. Do you know if that needs to be
patched separately? I assumed the kdebase patch applied took care of
$ rpm -qf /usr/bin/nspluginviewer
kdebase-3.5.8-1
kdelibs needs patching too (for proper XEmbed support).

-- Rex

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
Tim Wunder
2007-12-19 14:12:14 UTC
Permalink
Post by Rex Dieter
Post by Tim Wunder
Since I'm on FC6, I'm using nspluginviewer. Do you know if that needs to
be patched separately? I assumed the kdebase patch applied took care of
$ rpm -qf /usr/bin/nspluginviewer
kdebase-3.5.8-1
kdelibs needs patching too (for proper XEmbed support).
I patched kdelibs, built it, installed it, then patched kdebase, built it and
installed it.
--
Fedora Core release 6 (Zod), Linux 2.6.22.14-72.fc6
KDE: 3.5.8-1 Fedora
09:10:01 up 2 days, 2:28, 2 users, load average: 0.07, 0.17, 0.12
"It's what you learn after you know it all that counts" John Wooden
Continue reading on narkive:
Loading...