Bug 28502 - Update Request : A new version of lightspark (0.8.5) correcting several bugs has been published
Summary: Update Request : A new version of lightspark (0.8.5) correcting several bugs ...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL: https://github.com/lightspark/lightsp...
Whiteboard: MGA8-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2021-03-01 22:39 CET by Markus Robert Keßler
Modified: 2021-08-25 19:37 CEST (History)
8 users (show)

See Also:
Source RPM: lightspark-0.8.3-3.mga8.src.rpm
CVE:
Status comment:


Attachments
webcam.png (55.24 KB, image/png)
2021-03-04 17:45 CET, Markus Robert Keßler
Details
javascript (11.03 KB, application/x-javascript)
2021-03-05 15:26 CET, Philippe Didier
Details
p2q_embed_object.js (11.03 KB, text/plain)
2021-03-05 15:31 CET, Philippe Didier
Details
p08-murosenetosa.htm (1.54 KB, text/html)
2021-03-05 15:33 CET, Philippe Didier
Details
spec file for lightspark (15.67 KB, text/x-matlab)
2021-04-22 13:00 CEST, Philippe Didier
Details
spec file for the last version of lightspark (3.33 KB, text/plain)
2021-08-10 18:08 CEST, Philippe Didier
Details

Description Markus Robert Keßler 2021-03-01 22:39:55 CET
Description of problem:

Lightspark Mozilla plugin as a replacement for adobe flash player plugin completely fails when trying to load flash content into firefox.

MGA repos has ancient version -- technical development is around two years ahead. See here: http://lightspark.github.io


Version-Release number of selected component (if applicable):


How reproducible:

Always



Steps to Reproduce:
1. Install lightspark-mozilla-plugin
2. restart browser
3. load content ( i.e. SV3C, Icami, Iegeek etc. ip camera preview in admin surface)
Comment 1 Lewis Smith 2021-03-02 10:10:09 CET
Thank you for raising this.
 lightspark-0.8.1-4.mga7
 lightspark-0.8.3-3.mga8
"The latest released version is 0.8.4.1"
Ah! David is just updating it, so many thanks. Needs doing for M7 & M8, plus advisory. Assigning to you.

Source RPM: lightspark-0.8.1-4.mga7.src.rpm => lightspark-0.8.1-4.mga7.src.rpm, lightspark-0.8.3-3.mga8.src.rpm
Version: 7 => 8
Whiteboard: (none) => MGA7TOO
Assignee: bugsquad => geiger.david68210

Comment 2 Thierry Vignaud 2021-03-02 11:01:42 CET
Well, as both chrome & firefox have dropped support for Flash, do we still want lightspark?

CC: (none) => thierry.vignaud

Comment 3 David GEIGER 2021-03-03 17:50:17 CET
So you can test lightspark-0.8.4.1-1.mga7 in Core/Updates_testing! also same for mga8 with lightspark-0.8.4.1-1.mga8.
Comment 4 Markus Robert Keßler 2021-03-04 17:45:28 CET
Created attachment 12420 [details]
webcam.png
Comment 5 Markus Robert Keßler 2021-03-04 17:47:22 CET
Hi,
I installed the deps.,
lightspark-mozilla-plugin-0.8.4.1-1.mga7.x86_64 Do 04 Mär 2021 17:24:33 CET
lib64sdl2_mixer2.0_0-2.0.4-2.mga7.x86_64      Do 04 Mär 2021 17:24:33 CET
lib64lightspark0-0.8.1-4.mga7.x86_64          Do 04 Mär 2021 17:24:33 CET
but there's still the error. See attachment
https://bugs.mageia.org/attachment.cgi?id=12420
Comment 6 Markus Robert Keßler 2021-03-04 18:18:01 CET
Additional info:
If I also install lightspark-ppapi-plugin-0.8.4.1-1.mga7.x86_64.rpm
then firefox states
"Firefox Can’t Open This Page
To protect your security, www.adobe.com will not allow Firefox to display the page if another site has embedded it. To see this page, you need to open it in a new window."
If then clicking on "open site in new window", then adobe's "end of life" page opens
Comment 7 David GEIGER 2021-03-04 19:49:27 CET
Report this issue upstream please at https://github.com/lightspark/lightspark
Comment 8 Philippe Didier 2021-03-05 15:25:39 CET
Hi
I created a site with one hundred of panoramas that could be displayed by Flashplayer

Since Flashplayer as reached EOL it's a pity ! hours of work are going to garbage

Lightspark is the one solution (still under development) to save this

I will attach 3 files to test it (put them in the same directory and then click on the htm file... to open it in firefox, allow the plugin)

the 0.8.3-3 version nearly works... but the 0.8.4.1 is worse !!!

CC: (none) => philippedidier

Comment 9 Philippe Didier 2021-03-05 15:26:52 CET
Created attachment 12422 [details]
javascript

to display the panorama
Comment 10 Philippe Didier 2021-03-05 15:31:38 CET
Created attachment 12423 [details]
p2q_embed_object.js

name it p2q_embed_object.js

Attachment 12422 is obsolete: 0 => 1

Comment 11 Philippe Didier 2021-03-05 15:33:12 CET
Created attachment 12424 [details]
p08-murosenetosa.htm

name it p08-murosenetosa.htm
Comment 12 Philippe Didier 2021-03-05 15:35:35 CET
Sorry
The last file size exceeds 1000 Kb
I will upload a zip file of the three files and give you the link
Comment 13 Philippe Didier 2021-03-05 15:44:47 CET
Here is the link

http://dl.free.fr/bctUvZc0C

extract it in the proposed folder
click on the p08-murosenetosa.htm file

test with the core version of light spark
then test it with the version from update testing
Comment 14 Philippe Didier 2021-03-05 16:08:52 CET
I sent an issue upstream

https://github.com/lightspark/lightspark/issues/695
Comment 15 Morgan Leijström 2021-03-05 17:51:26 CET
Thank you

Keywords: (none) => UPSTREAM
CC: (none) => fri

Aurelien Oudelet 2021-03-05 18:00:50 CET

CC: (none) => ouaurelien
Status: NEW => UPSTREAM
Keywords: UPSTREAM => (none)

Aurelien Oudelet 2021-03-05 18:01:04 CET

URL: (none) => https://github.com/lightspark/lightspark/issues/695

Comment 16 Philippe Didier 2021-04-09 05:41:26 CEST
Some progress from the dev of lightspark
They corrected the regression 
https://github.com/lightspark/lightspark/issues/695

I created new rpms with the last git clone and the display is now like it was with version 0.8.3

But new problems appeared

The version in core is the best for now 
(in update testing we have regressions, and the actual git-clone corrects this regression but brings new problems...)
Comment 17 Philippe Didier 2021-04-22 12:45:15 CEST
Hi David
I built an rpm with a git clone from April 18 2021 including the last commit of dbluelle
https://github.com/lightspark/lightspark/commit/2b594466b43e9a7ae7739f3bf24f03c1de289769

It corrects the issues that appeared with version 0.8.4.1 
https://github.com/lightspark/lightspark/issues/695

I created a ugly spec file (don't know how to name the Source0 with a git clone from this commit)
But I know you are skilled to  correct this

It may be proposed in update-testing as an update for the actual core rpm version 0.8.3-3


You can use the test file I proposed in Comment 13
Comment 18 Philippe Didier 2021-04-22 13:00:19 CEST
Created attachment 12662 [details]
spec file for lightspark

ugly spec file for lightspark

You need to name correctly the Source0 to use the git-clone with this commit from april 18 2021
https://github.com/lightspark/lightspark/commit/2b594466b43e9a7ae7739f3bf24f03c1de289769
Comment 19 David GEIGER 2021-04-22 13:21:54 CEST
Build in progress with latest git snapshot!
Comment 20 Philippe Didier 2021-04-22 13:27:43 CEST
Thanks !
I couldn't imagine you would answer and work so quickly 

NB
Lightspark is still a work in progress : it's not perfect but it's the only way to display sites that were built for flashplayer and became unreadable since December 2020

(It's for this sites what Champollion was for hieroglyphs :-)
Comment 21 David GEIGER 2021-04-22 15:31:46 CEST
You can test now lightspark-0.8.4.1-2.git20210418.1.mga8 in Core/Updates_testing repo!
Comment 22 Philippe Didier 2021-04-22 17:03:40 CEST
thanks David

I tested it : no problem to update from core version 0.8.3.3

The regression that was in 0.8.4.1 has disappeared (corrected upstream with their last commit) but I already observed it with my homemade built rpm (the ugly spec worked form me)


PS
(I understand now how to correctly modify a spec file to use a github clone )

I think you may now propose it to QA for Mageia8
And that it may be included in Cauldron
Comment 23 David Walser 2021-06-29 00:59:59 CEST
Looks like this should have been assigned to QA:
liblightspark-devel-0.8.4.1-2.git20210418.1.mga8
liblightspark0-0.8.4.1-2.git20210418.1.mga8
lightspark-0.8.4.1-2.git20210418.1.mga8
lightspark-mozilla-plugin-0.8.4.1-2.git20210418.1.mga8
lightspark-ppapi-plugin-0.8.4.1-2.git20210418.1.mga8

from lightspark-0.8.4.1-2.git20210418.1.mga8.src.rpm

There's an older build in updates_testing for Mageia 7, but it doesn't look like it got the latest regression fixes.  Dropping it from the whiteboard.

Whiteboard: MGA7TOO => (none)
Source RPM: lightspark-0.8.1-4.mga7.src.rpm, lightspark-0.8.3-3.mga8.src.rpm => lightspark-0.8.3-3.mga8.src.rpm

Comment 24 Philippe Didier 2021-06-29 16:10:28 CEST
Hi David
Thanks for having noticed it

I was not alerted by this not appearing in updates since I had installed the updated rpm from Core/Updates_testing repo and forgot to downgrade it to the mageia8 core repo version  :(
Comment 25 Philippe Didier 2021-08-10 18:08:36 CEST
Created attachment 12897 [details]
spec file for the last version of lightspark

Hi
I just saw that this bug is not closed and that the last rebuilt rpms (upon a git clone) hadn't been proposed to QA

It's someway a good thing :
The lightspark dev have published a new tagged version better than the previous and correcting display bugs

Here I attached a simple spec file to test a rebuild

Attachment 12662 is obsolete: 0 => 1

Philippe Didier 2021-08-10 18:09:16 CEST

Status: UPSTREAM => NEW

Philippe Didier 2021-08-10 18:10:27 CEST

URL: https://github.com/lightspark/lightspark/issues/695 => https://github.com/lightspark/lightspark/

Philippe Didier 2021-08-10 18:12:45 CEST

Summary: Lightspark Mozilla plugin does not work => Update Request : A new version of lightspark (0.8.5) correcting several bugs has been published

Comment 26 David Walser 2021-08-10 23:29:20 CEST
Advisory:
----------------------------------------

The lightspark package has been updated to version 0.8.5, which includes many
bug fixes and enhancements.  See the upstream release announcements for
details.

Note that this plugin is only supported in Firefox through the 78 ESR branch,
and will no longer work with the 91 ESR branch coming in the next update.

References:
https://github.com/lightspark/lightspark/releases/tag/0.8.4
https://github.com/lightspark/lightspark/releases/tag/0.8.5
----------------------------------------

Updated packages in core/updates_testing:
----------------------------------------
lightspark-0.8.5-1.mga8
lightspark-ppapi-plugin-0.8.5-1.mga8
lightspark-mozilla-plugin-0.8.5-1.mga8
liblightspark-devel-0.8.5-1.mga8
liblightspark0-0.8.5-1.mga8

from lightspark-0.8.5-1.mga8.src.rpm

Assignee: geiger.david68210 => qa-bugs
CC: (none) => geiger.david68210

Comment 27 Philippe Didier 2021-08-11 09:48:31 CEST
Hi David

Thank you very much for your quick action...

Besides this, I know about Firefox and it's really a pity : lightspark allows to display thousands of websites that became lost since Adobe killed FlashPlayer.
(sometimes it's not possible to convert to html5 a site that took hours to build for flash  )

Philippe
Comment 28 Herman Viaene 2021-08-13 14:22:17 CEST
MGA8-64 Plasma on Lenovo B50
No installation issues.
Followed Markus's recommendation, restarted Firefox 7.13 after installation, but it didn't have the plugin.
Tried to add the plugin manually by referring to the file /usr/lob64/mozilla/plugins/liblightsparkplugin.so, but Firefox refuses: file might be damaged.

CC: (none) => herman.viaene

Comment 29 Philippe Didier 2021-08-13 17:02:20 CEST
(In reply to Herman Viaene from comment #28)
> MGA8-64 Plasma on Lenovo B50
> No installation issues.
> Followed Markus's recommendation, restarted Firefox 7.13 after installation,
> but it didn't have the plugin.
> Tried to add the plugin manually by referring to the file
> /usr/lob64/mozilla/plugins/liblightsparkplugin.so, but Firefox refuses: file
> might be damaged.

Strange 
I use Firefox 78.12.0 ESR (don't know what is 7.13...)
installed :
lightspark-0.8.5-1
lib64lightspark0-0.8.5-1
lightspark-mozilla-plugin-0.8.5-1
lightspark-ppapi-plugin-0.8.5-1
as updates of the previous version

The plugin appears in the list of plugins of Firefox as
 "Shockwave Flash 12.1 r850" 
last update august 10th 2021


It works quite perfectly on my website : 
except the mouse wheel not allowing to zoom
 and some problem with the use of the cache (starting sometimes to display before the cache is filled : need to reload the page)
Comment 30 Len Lawrence 2021-08-13 17:52:38 CEST
mga8, x64
Updated the packages.
Restarted firefox and checked plugins to confirm the presence of the plugin.
Copied the javascript and htm files attached to /var/www/html and pointed the browser at /var/www/html/p08....
That loaded a page within a page labelled firefox and displayed a series of parallel white lines on a black background.  Don't really know what to make of that.

CC: (none) => tarazed25

Comment 31 Len Lawrence 2021-08-13 18:10:21 CEST
To be more specific:
Using
$ firefox file:///var/....
leads to the page stating that Adobe Flash is dead.
Pointing the browser athttp://localhost/p08... produces the page within a page.  That does not respond to the mouse.
Comment 32 Len Lawrence 2021-08-13 18:14:26 CEST
about:plugins
    File: liblightsparkplugin.so
    Path: /usr/lib64/mozilla/plugins/liblightsparkplugin.so
    Version: 
    State: Enabled
    Shockwave Flash 12.1 r850
Comment 33 Philippe Didier 2021-08-13 20:22:00 CEST
Try my website :
http://fildidier.free.fr/flashpano/autres.htm

click on Paris
You will be asked to activate Flashplayer
Allow this

A panorama will be dysplayed you may scroll from left to right when moving the mouse left clicked
or use the buttons in the bottom of the picture

You may choose any other panorama on the left thumb-pictures tray : you won't be asked again to activate FlashPlayer
(if the picture is greyed, reload the page with the round arrow of Firefox this will end the loading of the swf file in the cache )
Comment 34 Len Lawrence 2021-08-13 21:45:15 CEST
Thanks Philippe.  Chose Paris - a splendid view - and the buttons worked fine.  A reload restore colour to the far right which came up grey to start with.  Tried an alpine view as well.  There are artefacts - diagonal frame markers perhaps.  Anyway, the plugin works fine.   
@Herman.  I shall give this the OK.

Whiteboard: (none) => MGA8-64-OK

Comment 35 Len Lawrence 2021-08-13 21:50:04 CEST
"diagonal frame markers" or flyback traces.
Comment 36 Philippe Didier 2021-08-14 01:13:12 CEST
(In reply to Len Lawrence from comment #34)

> Tried an alpine view as well.  There are artefacts - diagonal frame
> markers perhaps.  Anyway, the plugin works fine.   
> @Herman.  I shall give this the OK.

It's not perfect yet (the devs are working to improve it, particularly the problem of the oblique striations) but it's better than the previous versions 8.3 or 8.4

It's a pity that now they're reaching the goal to replace Adobe FlashPlayer  with an opensource program, Firefox will not support it... and let thousands of websites unreadable 

At least it works with Firefox ESR inside Mageia8 That's why I asked for an update
David Walser 2021-08-14 21:18:11 CEST

CC: (none) => sysadmin-bugs
Keywords: (none) => validated_update

Thomas Backlund 2021-08-25 18:33:16 CEST

Keywords: (none) => advisory

Comment 37 Mageia Robot 2021-08-25 19:37:22 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2021-0173.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.