[Lunar-commits] <moonbase-other> freshplayerplugin: A minor version bump. More importantly, decided to split out the

Dennis Veatch dennisveatch at bellsouth.net
Thu Sep 4 14:09:58 CEST 2014


commit b51df501deed449b8495c468a21ac805f62fd689
Author: Dennis Veatch <dennisveatch at bellsouth.net>
Date: Thu, 04 Sep 2014 08:08:55 -0400
URL: https://github.com/lunar-linux/moonbase-other/commit/b51df501deed449b8495c468a21ac805f62fd689

freshplayerplugin: A minor version bump. More importantly, decided to split out the
pepperflash into its own module.
---
  zbeta/freshplayerplugin/BUILD          | +7/-3     
  zbeta/freshplayerplugin/DEPENDS        | +1/-0     
  zbeta/freshplayerplugin/DETAILS        | +6/-14    
  zbeta/freshplayerplugin/DETAILS.x86_64 | +0/-34    
  zbeta/freshplayerplugin/PRE_BUILD      | +0/-7     
  5 files changed, 14 insertions(+), 58 deletions(-)

--- a/zbeta/freshplayerplugin/BUILD
+++ b/zbeta/freshplayerplugin/BUILD
@@ -5,7 +5,11 @@
   prepare_install &&
 
   mkdir -p /usr/lib/lunar/plugins &&
-  install libfreshwrapper-pepperflash.so /usr/lib/lunar/plugins &&
-  install ../opt/google/chrome/PepperFlash/* /usr/lib/lunar/plugins
+  install -m555 libfreshwrapper-*.so /usr/lib/lunar/plugins &&
+  
+  if [ ! -f /etc/freshwrapper.conf ] ; then
+   sedit "s:/opt/google/chrome/PepperFlash/:/usr/lib/lunar/plugins/:" ../data/freshwrapper.conf.example &&
+   install -Dm644 ../data/freshwrapper.conf.example /etc/freshwrapper.conf
+  fi
+
 
-#  ln -sf /usr/lib/lunar/plugins/libfreshwrapper-pepperflash.so /usr/lib/lunar/plugins/libfreshwrapper-pepperflash.so
--- a/zbeta/freshplayerplugin/DEPENDS
+++ b/zbeta/freshplayerplugin/DEPENDS
@@ -10,3 +10,4 @@ depends cairo
 depends pango
 depends freetype2
 depends gtk+-2
+depends pepperflash
--- a/zbeta/freshplayerplugin/DETAILS
+++ b/zbeta/freshplayerplugin/DETAILS
@@ -1,15 +1,11 @@
           MODULE=freshplayerplugin
-         VERSION=20140802
-          SOURCE=${MODULE}-${VERSION}.tar.xz
-         SOURCE2=google-chrome-stable_current_i386.deb
-SOURCE_DRIECTORY=$BUILD_DIRECTORY/$MODULE
+         VERSION=20140903
+          SOURCE=$MODULE-$VERSION.tar.xz
       SOURCE_URL=$MIRROR_URL
-     SOURCE2_URL=https://dl.google.com/linux/direct/
-      SOURCE_VFY=sha1:0ca142809ef7d5aace3ec26d3a905648257e9429
-     SOURCE2_VFY=sha1:
+      SOURCE_VFY=sha1:78c86cb2a47127e2cad5d3e5a6f90cfe6f4a8e9d
         WEB_SITE=https://github.com/i-rinat/freshplayerplugin
          ENTERED=20140802
-         UPDATED=`date -u +%Y%m%d`
+         UPDATED=20140903
            SHORT="PPAPI-host NPAPI-plugin adapter"
 
 cat << EOF
@@ -24,11 +20,7 @@ API which have every concievable function plugin may want.
 For various reasons Firefox developers are not interested now in implementing PPAPI in Firefox. 
 However that does not mean it cannot be done.
 
-The main goal of this project is to get PPAPI (Pepper) Flash player working in Firefox. 
+The main goal of this project is to get PPAPI (Pepper) Flash player working in Firefox.
 
-Note: This moudule will also download the current rpm (x86 or x86_64) version of google chrome
-browser and extract ONLY libpepflashplayer.so and manifest.json placing them in Lunars
-standard location. It will also remove flash-player-plugin-11 if installed. For this to work, 
-mesa-lib needs to be compilied with egl glesv2. For the later use; --enable-gles1 --enable-gles2.
-Naturally for the former you will need to choose the appropriate mesa-lib options to enable egl.
+Do note freshplayerplugin at this time does not implement any sandboxing.
 EOF
--- a/zbeta/freshplayerplugin/DETAILS.x86_64
+++ /dev/null
@@ -1,34 +0,0 @@
-          MODULE=freshplayerplugin
-         VERSION=20140803
-          SOURCE=${MODULE}-${VERSION}.tar.xz
-         SOURCE2=google-chrome-stable_current_amd64.deb
-SOURCE_DRIECTORY=$BUILD_DIRECTORY/$MODULE
-      SOURCE_URL=$MIRROR_URL
-     SOURCE2_URL=https://dl.google.com/linux/direct/
-      SOURCE_VFY=sha1:f684c887f52ce9588bc5a14f0d81a7bffe3779ff
-     SOURCE2_VFY=sha1:fb9e9e25b3c89f6fa84e9c20b398b90d1be19272
-        WEB_SITE=https://github.com/i-rinat/freshplayerplugin
-         ENTERED=20140802
-         UPDATED=`date -u +%Y%m%d`
-           SHORT="PPAPI-host NPAPI-plugin adapter"
-
-cat << EOF
-As you know, Adobe have suspended further development of Flash player plugin for GNU/Linux.
-Latest available as an NPAPI plugin version 11.2 will get security updates for five years
-(since its release on May 4th, 2012), but further development have been ceased. Fortunately
-or not, newer versions are still available for Linux as a part of Chrome browser, where Flash
-comes bundled in a form of PPAPI plugin. PPAPI or Pepper Plugin API is an interface promoted
-by Chromium/Chrome team for browser plugins. It's NPAPI-inspired yet significantly different
-API which have every concievable function plugin may want.
-
-For various reasons Firefox developers are not interested now in implementing PPAPI in Firefox.
-However that does not mean it cannot be done.
-
-The main goal of this project is to get PPAPI (Pepper) Flash player working in Firefox.
-
-Note: This moudule will also download the current rpm (x86 or x86_64) version of google chrome
-browser and extract ONLY libpepflashplayer.so and manifest.json placing them in Lunars
-standard location. It will also remove flash-player-plugin-11 if installed. For this to work,
-mesa-lib needs to be compilied with egl glesv2. For the later use; --enable-gles1 --enable-gles2.
-Naturally for the former you will need to choose the appropriate mesa-lib options to enable egl.
-EOF
--- a/zbeta/freshplayerplugin/PRE_BUILD
+++ /dev/null
@@ -1,7 +0,0 @@
-mk_source_dir &&
-validate_source_dir &&
-unpack $SOURCE &&
-cd $SOURCE_DIRECTORY &&
-ar x $SOURCE_CACHE/$SOURCE2 &&
-lzma -d data.tar.lzma &&
-tar xf data.tar




More information about the Lunar-commits mailing list