Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: 6xis on July 14, 2016, 09:49:07 AM

Title: TCL7.2 getFlash11 download path has changed
Post by: 6xis on July 14, 2016, 09:49:07 AM
Hello,

It appears that Adobe has updated the URL to download Flash Player 11 on or around July 13th, 2016.

Patch at: http://patches.tinycorelinux.net/uploaded/getFlash11.patch__downloadurl (http://patches.tinycorelinux.net/uploaded/getFlash11.patch__downloadurl)

Before:
Code: (bash) [Select]
$ curl -s 'https://get.adobe.com/flashplayer/download/?installer=Flash_Player_11.2_for_other_Linux_(.tar.gz)_32-bit&standalone=1'  | grep -o 'https://fpdownload.adobe.com/get/flashplayer/pdc/11.2.*/install_flash_player_11_linux.i386.tar.gz'
$

After:
Code: (bash) [Select]
$ curl -s 'https://get.adobe.com/flashplayer/download/?installer=FP_11.2_for_other_Linux_32-bit_(.tar.gz)_-_NPAPI&standalone=1'  | grep -o 'https://fpdownload.adobe.com/get/flashplayer/pdc/11.2.*/install_flash_player_11_linux.i386.tar.gz'
https://fpdownload.adobe.com/get/flashplayer/pdc/11.2.202.632/install_flash_player_11_linux.i386.tar.gz
$


Thank you,

jacob at 6x.is

Title: Re: TCL7.2 getFlash11 download path has changed
Post by: thane on August 03, 2016, 12:02:56 AM
<bump>

Don't know if this is related, but when I just ran getFlash11 extension I got

/usr/local/bin/getFlash11.sh: line 82: file: command not found
Downloading Adobe Flash...
Error:Downloading source. Exiting.

AFAIK all my extensions are up to date.

Thane

Edit: As a workaround, I downloaded the latest Flash11 tar with browser, and then ran a modified version of coreplayer2's getFlash11.sh script with the download commands commented out. This appears to install the latest version of Flash11 -- at least Firefox doesn't block it anymore...
Title: Re: TCL7.2 getFlash11 download path has changed
Post by: Misalf on August 03, 2016, 12:11:47 AM
Needs  file.tcz ?
Title: Re: TCL7.2 getFlash11 download path has changed
Post by: coreplayer2 on August 03, 2016, 12:12:23 AM
And I thought those days were behind us....  Ok will fix


Sent from my iPhone using Tapatalk
Title: Re: TCL7.2 getFlash11 download path has changed
Post by: thane on August 03, 2016, 12:17:26 AM
Thanks. It's a very useful extension, along with firefox_getLatest...too bad the upstream guys can't seem to stick with what already works...
Title: Re: TCL7.2 getFlash11 download path has changed
Post by: Misalf on October 06, 2016, 07:41:27 AM
Needs fixing once more. :p
Code: [Select]
#DOWNLOAD=$(curl -s 'https://get.adobe.com/flashplayer/download/?installer=Flash_Player_11.2_for_other_Linux_(.tar.gz)_32-bit&standalone=1'  | grep -o 'https://fpdownload.adobe.com/get/flashplayer/pdc/11.2.*/install_flash_player_11_linux.i386.tar.gz')
DOWNLOAD=$(curl -s 'https://get.adobe.com/flashplayer/download/?installer=FP_11.2_for_other_Linux_32-bit_(.tar.gz)_-_NPAPI&standalone=1'  | grep -o 'https://fpdownload.adobe.com/get/flashplayer/pdc/11.2.*/install_flash_player_11_linux.i386.tar.gz')
Title: Re: TCL7.2 getFlash11 download path has changed
Post by: coreplayer2 on October 06, 2016, 11:21:06 AM
Thanks
Title: Re: TCL7.2 getFlash11 download path has changed
Post by: coreplayer2 on October 06, 2016, 10:51:47 PM
Ok getFlash.tcz updated and submitted  thanks
Title: Re: TCL7.2 getFlash11 download path has changed
Post by: coreplayer2 on October 06, 2016, 11:47:53 PM
While we wait for the extension to be posted, here is the updated script in case it helps anyone

:)
Title: Re: TCL7.2 getFlash11 download path has changed
Post by: coreplayer2 on October 30, 2016, 02:56:26 AM
Updated extension submitted to x86 repo

New link and startup file behavior fix

have attached new script here for those who can wait..
Title: Re: TCL7.2 getFlash11 download path has changed
Post by: coreplayer2 on October 30, 2016, 02:51:19 PM
Well I feel lucky..  latest getFlash11.tcz is posted to the x86 repo already
 8)
Title: Re: TCL7.2 getFlash11 download path has changed
Post by: thane on December 10, 2016, 01:12:23 PM
<bump>

Just wanted to belatedly thank coreplayer2 for the latest (2016-11-05) getFlash11.tcz update. Works for me!
Title: Re: TCL7.2 getFlash11 download path has changed
Post by: coreplayer2 on December 10, 2016, 01:31:45 PM
You're welcome, did you try the latest getFlash v24 beta??  Flash 11 is coming to an end soon, thereafter Adobe will be keeping Flash for linux updated with latest version.
Title: Re: TCL7.2 getFlash11 download path has changed
Post by: thane on December 12, 2016, 12:22:24 AM
I installed getFlash_beta.tcz as an OnDemand extension. As suggested I first deleted Flash11.tcz (as well as getFlash11.tcz).

When I selected getFlash_beta from the OnDemand menu, there was a brief window flicker but no other obvious activity. I opened a terminal and typed getFlash_beta at the prompt, and then got several aterm messages:

aterm: bad option "Setup,"
aterm: bad option "and"
aterm: bad option "Create"
aterm: bad option "flash_beta.tcz"

Then an aterm usage message.

I think I'm missing a step someplace...
Title: TCL7.2 getFlash11 download path has changed
Post by: coreplayer2 on December 12, 2016, 01:36:14 AM
Do you have aterm installed?

I sent an update if run from the ondemand menu  should be in repo this weekend or next..



Sent from my iPhone using Tapatalk
Title: Re: TCL7.2 getFlash11 download path has changed
Post by: coreplayer2 on December 12, 2016, 02:15:57 AM
This is obviously how things should look, but I didn't include aterm as a dep in an attempt to use any other installed terminal..

Code: [Select]
tc@box:~$ getFlash_beta.sh
Loading Dependencies
squashfs-tools installed
bash installed
gtk2 installed
nss installed
curl installed
Downloading Adobe Flash beta...
Connecting to fpdownload.macromedia.com (23.60.72.29:443)
flash_player_npapi_l 100% |*******************************|  8945k  0:00:00 ETA
Done.
Copying files and setting permissions...
Done.
Creating extension in /mnt/sda2/tc7-x86/optional/upgrade...
Done.
 Installation summary
 flash_beta.tcz placed in /mnt/sda2/tc7-x86/optional/upgrade,
 PLEASE REBOOT TO APPLY UPDATE.

 Press "Enter" to continue
Title: Re: TCL7.2 getFlash11 download path has changed
Post by: Misalf on December 12, 2016, 09:51:42 AM
aterm: bad option "Setup,"
aterm: bad option "and"
aterm: bad option "Create"
aterm: bad option "flash_beta.tcz"

Then an aterm usage message.

Seems that at least the  -title  option passed to xterm lost its quotes somewhere.

Depending on the installed terminal,
 cat $(readlink $(which xterm))
should output something similar to
Code: [Select]
aterm "$@"
If  $@  is not quoted, it needs fixing.

/etc/sysconfig/tcedir/ondemand/getFlash_beta
Code: [Select]
ondemand -e getFlash_beta.tcz "$@"
If  $@  is not quoted, it needs fixing by simply recreating the On-Demand entry.
Before 7.2, new ondemand scripts were not created properly with quoted  $@ .
Title: Re: TCL7.2 getFlash11 download path has changed
Post by: Misalf on December 12, 2016, 10:32:34 AM
Just tried  getFlash_beta.tcz  from On-Demand menu.
Works here, except that  getFlash_beta.sh  runs twice.
Once issued by the extension's startup script and once by ondemand via *.desktop file, which coreplayer2 knows about. :p
Title: Re: TCL7.2 getFlash11 download path has changed
Post by: thane on December 12, 2016, 03:50:04 PM
aterm is listed as an installed app in my TC setup.
Title: Re: TCL7.2 getFlash11 download path has changed
Post by: coreplayer2 on December 12, 2016, 04:56:44 PM
Thane, I assume it's the 32 bit version which is the problem?


Sent from my iPhone using Tapatalk
Title: Re: TCL7.2 getFlash11 download path has changed
Post by: thane on December 12, 2016, 05:55:34 PM
Yes, thanks
Title: Re: TCL7.2 getFlash11 download path has changed
Post by: coreplayer2 on December 12, 2016, 06:23:03 PM
Has the latest version resolved the issue?


Sent from my iPhone using Tapatalk
Title: Re: TCL7.2 getFlash11 download path has changed
Post by: thane on December 13, 2016, 03:55:23 AM
Sorry coreplayer2, I've had to deal with some other things. I'll work on this tomorrow. Thanks.
Title: Re: TCL7.2 getFlash11 download path has changed
Post by: thane on December 14, 2016, 04:11:45 AM
Lots of Flash weirdness...

Updated my .dep files (don't) which appears to have broken getFlash11.tcz.

Unpacked the getFlash_beta.tar.gz file and copied the .tcz and md5.txt files to Optional. Selecting the app from the OnDemand menu seemed to do nothing. Running it from a terminal also seemed to do nothing, not even generating the aterm messages I saw before. The tar also had a getFlash11.tcz.dep file which I tried omitting, tried putting in Optional as is, and tried putting in Optional after renaming to getFlash_beta.tcz.dep, none of which made any difference.

However (even weirder) before I broke getFlash11 sometimes the getFlash_beta script would run if I ran getFlash11 first. Totally confusing. My guess is something messed up in my .dep files someplace, so I'm probably not getting reliable results.
Title: Re: TCL7.2 getFlash11 download path has changed
Post by: coreplayer2 on December 14, 2016, 02:31:39 PM
That is weird..

Try this, copy the extracted
getFlash_beta.tcz
getFlash_beta.tcz.dep
getFlash_beta.tcz.md5.txt
to .../tce/optional

then
tce-load -i getFlash_beta


the script should run and install flash v24.xxx

what error message do you see when " getFlash_beta.sh " is run from the terminal?

(note: the script is named "getFlash_beta.sh")
Title: Re: TCL7.2 getFlash11 download path has changed
Post by: coreplayer2 on January 02, 2017, 02:45:52 PM
getFlash11 is broken and depreciated in favor of two new extensions,

getFlash.tcz  &
getFlash_beta.tcz

both currently creating Flash version 24+ extensions

Please see
http://forum.tinycorelinux.net/index.php/topic,20492.msg128789.html#msg128789  (http://forum.tinycorelinux.net/index.php/topic,20492.msg128789.html#msg128789)