Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 15 Dec 2018, 05:03
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
Chromium v71 with pepper-flash **RUNS-AS-SPOT**
Post new topic   Reply to topic View previous topic :: View next topic
Page 13 of 31 [453 Posts]   Goto page: Previous 1, 2, 3, ..., 11, 12, 13, 14, 15, ..., 29, 30, 31 Next
Author Message
gcmartin

Joined: 14 Oct 2005
Posts: 6730
Location: Earth

PostPosted: Sat 10 Oct 2015, 14:43    Post subject:  

This is a good provision as it can be useful with @BarryK's recent distros where they support PETs, but, not SFSs due to the distro design.

GR8!

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engines or use DogPile
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 6730
Location: Earth

PostPosted: Sun 11 Oct 2015, 16:57    Post subject: Tested the SFS conversion to PET and install to TahrPUP  

Here is a record of testing of the CURRENT version of SFS conversion to an installable PET and installing that PET to TahrPUP64-6038.

I used both options and have discovered couple of not so obvious items in script use. One is already reported to @Peebee and he is aware; "multiple SFSs cannot reside in the folder with the current script's design". The other is a delay that occurs when the script is building the actual PET for use. Important to note that those are not errors; rather operational awareness required for the script's current use.

    1. Downloaded and installed, both, the current Chromium SFS and the "convert_SFS" script.
    2. Install the PET to create the folder contents to be used for making a PET; namely /opt/convert_sfs was created.
    3. Copyied the sfs you want to convert into the folder /opt/convert_sfs
    4. Opened a terminal in the folder /opt/convert_sfs by right-click>Windows>Terminal Here
    5. Started the convert program with: ./convert_sfs.sh

    6. Select either of the following
      Type 1 to convert the sfs to a pet
      Type 2 to convert the sfs from using /usr/lib64 to /usr/lib
        Typing "1", I took defaults by simply hitting "Enter". This took me to the GUI screen Package Manager entry. Not changing anything I hit the "Generate ..." button.

        Next, an editor opened to display the entry to be added to PPM's tables. I quit that screen and the convert_sfs script then proceeded to create the PET for Chromium installation.

        Beware: Excepting for the message "Creating package..." there is no other indicator of the script progressing until it completes minutes (maybe many minutes, for some) later. Be patient!!!

        All finally exited with a PET residing in the folder /opt/convert_sfs.
    7. Chromium was installed by clicking the PET file in /opt/convert_sfs.
    8. Typed chromium on the console to start the browser (Menu>Internet works as well)

The log path below,using only the script Option 1, was taken, as, there is no need to "fix" the lib64 in TahrPUP64.
Code:
Welcome to the 'dir2pet' script.
This will convert a directory into a PET package. Example, you have a
directory named 'abiword-0.5.6' and inside that you place whatever is
needed for the package, for example usr/local/bin/abiword (the executable)
and usr/share/applications/abiword.desktop (the XDG menu file).
Whatever the packages needs, though don't worry if there is no .desktop
file as this script will ask some simple questions and optionally create
one. The package only needs a .desktop file if a menu entry is to be
created, and also an icon is required for the menu.

The directory chromium64_45.0.2454.101+pepper_19.0.0.185_lx must separate name of the package and
version number with a dash. Ex: abiword-0.5.6

The package may optionally have post-install and post-remove scripts,
named 'pinstall.sh' and 'puninstall.sh' placed at the top directory.
(to create official PETs for the Unleashed suite, see its README file
 for more information how to create these scripts properly)

If any of the above needs to be further sorted out, you can quit this
script right now by pressing CTRL-C, otherwise just press ENTER
to use the default "xz" compression or "g" then ENTER for
"gzip" compression.
Press ENTER key or "g" and ENTER to continue:

Step 1
A .desktop file was found here:
chromium64_45.0.2454.101+pepper_19.0.0.185_lx/usr/share/applications/chromium.desktop
So this application will have a menu entry.
If you want to change the .desktop file in any way, open it in a text editor
right now, before proceeding and make any changes you want.
In particular, check that the icon exists, and that 'Category' entry fits
into Puppy's menu hierarchy (see file /etc/xdg/menus/hierarchy).
After satisfying yourself that the .desktop file is ok, press the ENTER key
to continue this script.
Or, type 'ignore' to build pet pkg as if there is no .desktop file.
Or, type 'new' if you would like this script to ask a series of
questions and rebuild the .desktop file from scratch:

Dependencies
Please enter a dependency-list for the PET package that is now being
created. Packages already built-in to Puppy do not need to be
explicitly named as dependencies (except a cut-down barebones version
of Puppy may not have all of these built in, so you may have to
think of the worst-case situation).
How to enter this dependency-list is shown by an example: the package
'pupdvdtool-0.5b' has the following dependency list:
+vamps,+vobcopy,+ffmpeg,+dvdauthor,+gtkdialog3
Each package name is preceded by a '+' and delimited by a ','.
NOTE1: that 'gtkdialog3' requires the GTK libraries, but it is not
       necessary to specify sub-dependencies, as if 'gtkdialog3'
       needs to be installed it has its own dependency list.
NOTE2: You can lookup the dependency-list of each package in the
       /root/.packages/Packages-* database files
NOTE3: it is not required to specify package version numbers,
       VERSION NUMBERS NOT YET SUPPORTED BY PACKAGE MANAGER
NOTE4: If you don't know what to specify, just press ENTER key
       (the package manager will still do some basic dependency checking)

Type dependency-list:

GUI window
Press ENTER key to bring up a GUI window that will help you to create
a database entry for the package. This will be shown in a text editor
for saving somewhere, also written to file 'pet.specs' inside the pkg.
Press ENTER:
achromium64_45.0.2454.101+pepper_19.0.0.185_lx bInternet cEMPTY dAccess the Internet echromium64_45.0.2454.101+pepper_19.0.0.185_lx f283852 gEMPTY hyes iEMPTY

chromium64_45.0.2454.101+pepper_19.0.0.185_lx|chromium64_45.0.2454.101+pepper_19.0.0.185_lx|||Internet|283852K||chromium64_45.0.2454.101+pepper_19.0.0.185_lx.pet||Access the Internet|ubuntu|trusty||

Creating package...

File ./chromium64_45.0.2454.101+pepper_19.0.0.185_lx.tar.xz created. Now converting to .pet...

chromium64_45.0.2454.101+pepper_19.0.0.185_lx.pet has been created. Finished.

If you look in chromium64_45.0.2454.101+pepper_19.0.0.185_lx you will see the new '.specs' file.
Directory chromium64_45.0.2454.101+pepper_19.0.0.185_lx is now configured correctly as a PET package
and in future you do not need to go through this script again.
You could manually edit the files if required, and create another
.pet package just by doing this:
# tar -c -f chromium64_45.0.2454.101+pepper_19.0.0.185_lx.tar chromium64_45.0.2454.101+pepper_19.0.0.185_lx/
# xz -z -9 -e chromium64_45.0.2454.101+pepper_19.0.0.185_lx.tar
# tgz2pet chromium64_45.0.2454.101+pepper_19.0.0.185_lx.tar.xz

dir2pet exited.
sfs has been converted to pet
root#
root# chrom
chromedriver  chromium     
root# chromium
libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
[29609:29609:1011/151335:FATAL:sandbox_seccomp_bpf_linux.cc(203)] Check failed: policy->PreSandboxHook().
[29579:29603:1011/151342:ERROR:socket_libevent.cc(79)] CreatePlatformSocket() returned an error, errno=97: Address family not supported by protocol
root#
root# echo "Chromium browser starts on the desktop and allow navigation on the web"
root# Chromium browser starts on the desktop and allow navigation on the web
Browser Works!
_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engines or use DogPile
Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 3569
Location: Worcestershire, UK

PostPosted: Thu 15 Oct 2015, 13:11    Post subject: chromium_46.0.2490.71+pepper_19.0.0.226  

THIS VERSION WILL ONLY WORK ON "MODERN" PUPPIES - e.g. LxPup, LxPupTahr, Slacko6Beta2, TahrPup6, X-tahr, X-Slacko
and then only on versions with kernels newer than 3.14 unless you apply the patch here which does affect sandboxing


32bit sfs:
chromium_46.0.2490.71+pepper_19.0.0.245_lx.sfs

64bit sfs:
chromium64_46.0.2490.71+pepper_19.0.0.226_lx.sfs

.pet versions with pepperflash-19.0.0.207 are available here

Caveats and constraints as detailed above

If you need a .pet instead of a .sfs or you want the 64-bit .sfs to run on tahrpup64 then use this converter.

_________________
LxPup = Puppy + LXDE

Last edited by peebee on Sat 05 Dec 2015, 03:27; edited 4 times in total
Back to top
View user's profile Send private message Visit poster's website 
Mike Walsh


Joined: 28 Jun 2014
Posts: 4460
Location: King's Lynn, UK.

PostPosted: Thu 15 Oct 2015, 18:46    Post subject: Re: latest-pepper-flash.sh  

step wrote:
This isn't about Chromium but just about updating pepperflash. I found this method to work for Fatdog64 - I see no reason it shouldn't work for all Puppies:
Code:

mkdir -p /usr/lib64/chromium-browser/PepperFlash &&
env PPAPI_FLASH_INSTALL_DIR=/usr/lib64/chromium-browser/PepperFlash /usr/bin/latest-pepper-flash.sh

Link to /usr/lib/latest-pepper-flash.sh

I chose the path of $PPAPI_FLASH_INSTALL_DIR from a list taken in this Opera browser-specific post.

You need to adapt the path for what your browser expects.


Looks very like the Ubuntu technique for providing PepperFlash for Chromium. You've done it by the 'coding' method; I've done it manually:-

http://www.murga-linux.com/puppy/viewtopic.php?t=101275

The end result is essentially the same. However, if you look at peebee's reply, you'll see that neither of our 'methods' are strictly necessary.

I'm quite happy to let alienbob use his bandwidth, bless his little cotton socks...! Laughing


Mike. Smile

_________________
MY PUPPY PACKAGES | 'Thanks' are always appreciated!
--------------------------------------

Back to top
View user's profile Send private message Visit poster's website 
Marv


Joined: 04 May 2005
Posts: 1102
Location: SW Wisconsin

PostPosted: Thu 15 Oct 2015, 21:06    Post subject: Re: chromium_46.0.2490.71+pepper_19.0.0.207  

Quicktest of the 32 bit SFS,

Your 45.xx 32 bit SFS unloaded, this SFS loaded in X-slacko 3.1n, X-tahr 1b3, and LxpupTahr 15.05. All running just fine using my common chromium profile located on an EXT2 partition and symlinked in /root/.config in each pup.

Thanks,

_________________
Pups currently in kennel Very Happy LxPupSc and X-slacko-4.4 for my users; LxPupSc, LxPupSc64, LxPupBionic, upupbb and upupcc for me. All good pups indeed, and all running savefiles for look'n'feel only. Browsers, etc. solely from SFS.
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 6730
Location: Earth

PostPosted: Fri 16 Oct 2015, 14:14    Post subject: Re: sfs - convert into pet and for tahrpup64  

Converter tested and PETs made for 45 and 46. Tested on April72s
_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engines or use DogPile
Back to top
View user's profile Send private message 
Skydog007

Joined: 20 Aug 2015
Posts: 30
Location: Mt.Somewhere

PostPosted: Wed 21 Oct 2015, 08:33    Post subject:  

is there any way to limit the cahce size?
Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 3569
Location: Worcestershire, UK

PostPosted: Wed 21 Oct 2015, 11:44    Post subject:  

Skydog007 wrote:
is there any way to limit the cahce size?

Yes - edit /usr/bin/chromium - the switches on the exec line

_________________
LxPup = Puppy + LXDE
Back to top
View user's profile Send private message Visit poster's website 
peebee


Joined: 21 Sep 2008
Posts: 3569
Location: Worcestershire, UK

PostPosted: Mon 26 Oct 2015, 06:17    Post subject: Update to pepperflash-19.0.0.245  

Update to pepperflash-19.0.0.245 - see above

Security fix

_________________
LxPup = Puppy + LXDE
Back to top
View user's profile Send private message Visit poster's website 
Marv


Joined: 04 May 2005
Posts: 1102
Location: SW Wisconsin

PostPosted: Mon 23 Nov 2015, 14:32    Post subject: Re: Update to pepperflash-19.0.0.245  

peebee wrote:
Update to pepperflash-19.0.0.245 - see above

Security fix


Another extremely easy update (5 computers running X-Slacko 3.1n). Unload the previous SFS, load this one. Period! All profile information kept in symlinked external location on an EXT2 partition so it is unaffected. Could it be easier Very Happy

Thanks

_________________
Pups currently in kennel Very Happy LxPupSc and X-slacko-4.4 for my users; LxPupSc, LxPupSc64, LxPupBionic, upupbb and upupcc for me. All good pups indeed, and all running savefiles for look'n'feel only. Browsers, etc. solely from SFS.
Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 3569
Location: Worcestershire, UK

PostPosted: Mon 23 Nov 2015, 15:36    Post subject: Re: Update to pepperflash-19.0.0.245  

Marv wrote:
could it be easier Very Happy
Thanks

Maybe...... Smile

Here's what I do:

2 folders at base of partition - 1 for the frugal install - 1 for chromium

In the chromium folder I symlink the sfs to a generic chromium.sfs

In the frugal folder I symlink another generic chromium.sfs to the generic link in the chromium folder.

Then sfs-load the generic chromium.sfs link in the frugal install folder.

i.e. a double symlink to the actual sfs

then when a new version appears just delete and recreate the symlink in the chromium folder to the new version and reboot - no need to do any sfs unloading or loading....

Have I described this adequately? A diagram might help....

Thanks for the feeback

Cheers
peebee

_________________
LxPup = Puppy + LXDE
Back to top
View user's profile Send private message Visit poster's website 
Marv


Joined: 04 May 2005
Posts: 1102
Location: SW Wisconsin

PostPosted: Tue 24 Nov 2015, 11:13    Post subject: Re: Update to pepperflash-19.0.0.245  

peebee wrote:
Marv wrote:
could it be easier Very Happy
Thanks

Maybe...... Smile
snip
Have I described this adequately? A diagram might help....

No, I get it. Clever. If I did it oftener and on only my own computer, as you probably do, I guess I'd try that. I'll bark twice for just swapping the SFS -and no reboot- for now.

_________________
Pups currently in kennel Very Happy LxPupSc and X-slacko-4.4 for my users; LxPupSc, LxPupSc64, LxPupBionic, upupbb and upupcc for me. All good pups indeed, and all running savefiles for look'n'feel only. Browsers, etc. solely from SFS.
Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 3569
Location: Worcestershire, UK

PostPosted: Sat 05 Dec 2015, 03:25    Post subject: chromium_47.0.2526.73+pepper_20.0.0.267  

THIS VERSION WILL ONLY WORK ON "MODERN" PUPPIES - e.g. LxPup, LxPupTahr, Slacko6, TahrPup6, X-tahr, X-Slacko
and then only on versions with kernels newer than 3.14 unless you apply the patch here which does affect sandboxing


32bit sfs:
chromium_47.0.2526.73+pepper_20.0.0.267_lx.sfs

64bit sfs:
chromium64_47.0.2526.73+pepper_20.0.0.267_lx.sfs

.pet versions are not yet available.

Caveats and constraints as detailed above

If you need a .pet instead of a .sfs or you want the 64-bit .sfs to run on tahrpup64 then use this converter.

_________________
LxPup = Puppy + LXDE

Last edited by peebee on Tue 26 Jan 2016, 04:26; edited 3 times in total
Back to top
View user's profile Send private message Visit poster's website 
unicorn316386

Joined: 07 Apr 2015
Posts: 208
Location: Canada

PostPosted: Sat 05 Dec 2015, 13:54    Post subject:  

@peebee: 32-bit version sfs is working for me in Slacko 6 / kernel 3.14.55 after adding the /usr/bin patch in your link. Chromium 47 is somewhat laggy loading and playing music in Pepper Flash on my single core CPU so I'm going back to Firefox now, just reporting back that it works Laughing
Back to top
View user's profile Send private message 
Marv


Joined: 04 May 2005
Posts: 1102
Location: SW Wisconsin

PostPosted: Sat 05 Dec 2015, 14:31    Post subject:  

Updated 32 bit SFS to chromium_47.0.2526.73+pepper_19.0.0.245 on X-Slacko 3.1n, X-tahr 1b3, LxPupSc. Unloaded previous SFS, loaded this one. Working well. External profile from previous version recognized and used.
_________________
Pups currently in kennel Very Happy LxPupSc and X-slacko-4.4 for my users; LxPupSc, LxPupSc64, LxPupBionic, upupbb and upupcc for me. All good pups indeed, and all running savefiles for look'n'feel only. Browsers, etc. solely from SFS.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 13 of 31 [453 Posts]   Goto page: Previous 1, 2, 3, ..., 11, 12, 13, 14, 15, ..., 29, 30, 31 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0952s ][ Queries: 14 (0.0277s) ][ GZIP on ]