commit freshplayerplugin for openSUSE:Factory

2020-02-24 Thread root
Hello community,

here is the log from the commit of package freshplayerplugin for 
openSUSE:Factory checked in at 2020-02-24 15:50:57

Comparing /work/SRC/openSUSE:Factory/freshplayerplugin (Old)
 and  /work/SRC/openSUSE:Factory/.freshplayerplugin.new.26092 (New)


Package is "freshplayerplugin"

Mon Feb 24 15:50:57 2020 rev:16 rq:778249 version:0.3.11

Changes:

--- /work/SRC/openSUSE:Factory/freshplayerplugin/freshplayerplugin.changes  
2019-10-30 14:47:29.814161763 +0100
+++ 
/work/SRC/openSUSE:Factory/.freshplayerplugin.new.26092/freshplayerplugin.changes
   2020-02-24 15:51:26.803343633 +0100
@@ -1,0 +2,5 @@
+Sat Feb 22 15:48:43 UTC 2020 - Alexei Sorokin 
+
+- Require flash-player-ppapi instead of chromium-pepper-flash.
+
+---



Other differences:
--
++ freshplayerplugin.spec ++
--- /var/tmp/diff_new_pack.Rmqeaj/_old  2020-02-24 15:51:28.583347597 +0100
+++ /var/tmp/diff_new_pack.Rmqeaj/_new  2020-02-24 15:51:28.607347650 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package freshplayerplugin
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -56,7 +56,7 @@
 BuildRequires:  pkgconfig(xcursor)
 BuildRequires:  pkgconfig(xrandr)
 BuildRequires:  pkgconfig(xrender)
-Supplements:packageand(browser(npapi):chromium-pepper-flash)
+Supplements:(browser(npapi) and flash-player-ppapi)
 Conflicts:  flash-player
 %if 0%{with restricted}
 # Hardware accelerated decoding.
@@ -65,10 +65,10 @@
 BuildRequires:  pkgconfig(libva)
 BuildRequires:  pkgconfig(libva-x11)
 BuildRequires:  pkgconfig(vdpau)
-Requires:   chromium-pepper-flash
+Requires:   flash-player-ppapi
 Provides:   flash-plugin
 %else
-Recommends: chromium-pepper-flash
+Recommends: flash-player-ppapi
 %endif
 %ifarch armv6l || armv6hl
 BuildRequires:  Mesa-libEGL-devel
@@ -86,9 +86,7 @@
 plugin for browser.
 
 %prep
-%setup -q
-%patch0 -p1
-%patch1 -p1
+%autosetup -p1
 
 # Enable hardware accelerated decoding for PMBS.
 %if %{with restricted}
@@ -104,7 +102,7 @@
   -DWITH_HWDEC=0  \
 %endif
   -DWITH_GLES2=ON
-make %{?_smp_mflags} V=1
+%make_build
 
 %install
 %cmake_install




commit freshplayerplugin for openSUSE:Factory

2019-10-30 Thread root
Hello community,

here is the log from the commit of package freshplayerplugin for 
openSUSE:Factory checked in at 2019-10-30 14:47:05

Comparing /work/SRC/openSUSE:Factory/freshplayerplugin (Old)
 and  /work/SRC/openSUSE:Factory/.freshplayerplugin.new.2990 (New)


Package is "freshplayerplugin"

Wed Oct 30 14:47:05 2019 rev:15 rq:743899 version:0.3.11

Changes:

--- /work/SRC/openSUSE:Factory/freshplayerplugin/freshplayerplugin.changes  
2019-09-13 15:03:52.397275168 +0200
+++ 
/work/SRC/openSUSE:Factory/.freshplayerplugin.new.2990/freshplayerplugin.changes
2019-10-30 14:47:29.814161763 +0100
@@ -1,0 +2,5 @@
+Tue Oct 29 16:00:08 UTC 2019 - Luigi Baldoni 
+
+- Fix Factory build
+
+---



Other differences:
--
++ freshplayerplugin.spec ++
--- /var/tmp/diff_new_pack.LvQRFn/_old  2019-10-30 14:47:30.430162418 +0100
+++ /var/tmp/diff_new_pack.LvQRFn/_new  2019-10-30 14:47:30.434162423 +0100
@@ -42,6 +42,7 @@
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(icu-uc)
 BuildRequires:  pkgconfig(jack)
+BuildRequires:  pkgconfig(libdrm)
 BuildRequires:  pkgconfig(libevent)
 BuildRequires:  pkgconfig(libevent_pthreads)
 BuildRequires:  pkgconfig(libpulse)




commit freshplayerplugin for openSUSE:Factory

2019-09-13 Thread root
Hello community,

here is the log from the commit of package freshplayerplugin for 
openSUSE:Factory checked in at 2019-09-13 15:02:18

Comparing /work/SRC/openSUSE:Factory/freshplayerplugin (Old)
 and  /work/SRC/openSUSE:Factory/.freshplayerplugin.new.7948 (New)


Package is "freshplayerplugin"

Fri Sep 13 15:02:18 2019 rev:14 rq:730458 version:0.3.11

Changes:

--- /work/SRC/openSUSE:Factory/freshplayerplugin/freshplayerplugin.changes  
2018-08-15 10:39:27.932408845 +0200
+++ 
/work/SRC/openSUSE:Factory/.freshplayerplugin.new.7948/freshplayerplugin.changes
2019-09-13 15:03:52.397275168 +0200
@@ -1,0 +2,13 @@
+Thu Sep 12 17:36:16 UTC 2019 - Luigi Baldoni 
+
+- Update to version 0.3.11
+  * misc: build compatibility with newer FFmpeg (AV-prefixed
+macros);
+  * misc: stop using __thread for thread-local variables;
+  * graphics: add explicit fullscreen window position
+configuration;
+  * misc: fix tests on big-endian machines;
+  * misc: mention that v0.3.10 existed, but without a changelog
+entry.
+
+---

Old:

  freshplayerplugin-0.3.9.tar.gz

New:

  freshplayerplugin-0.3.11.tar.gz



Other differences:
--
++ freshplayerplugin.spec ++
--- /var/tmp/diff_new_pack.EPmkkE/_old  2019-09-13 15:03:53.065275026 +0200
+++ /var/tmp/diff_new_pack.EPmkkE/_new  2019-09-13 15:03:53.069275026 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package freshplayerplugin
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,13 +12,13 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %bcond_with restricted
 Name:   freshplayerplugin
-Version:0.3.9
+Version:0.3.11
 Release:0
 Summary:PPAPI2NPAPI compatibility layer
 License:MIT

++ freshplayerplugin-0.3.9.tar.gz -> freshplayerplugin-0.3.11.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/freshplayerplugin-0.3.9/CMakeLists.txt 
new/freshplayerplugin-0.3.11/CMakeLists.txt
--- old/freshplayerplugin-0.3.9/CMakeLists.txt  2017-12-23 15:34:01.0 
+0100
+++ new/freshplayerplugin-0.3.11/CMakeLists.txt 2019-05-24 13:33:09.0 
+0200
@@ -4,7 +4,7 @@
 # version
 set(VER_MAJOR 0)
 set(VER_MINOR 3)
-set(VER_MICRO 9)
+set(VER_MICRO 11)
 
 # setup compiler flags
 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -fPIC -pthread")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/freshplayerplugin-0.3.9/ChangeLog 
new/freshplayerplugin-0.3.11/ChangeLog
--- old/freshplayerplugin-0.3.9/ChangeLog   2017-12-23 15:34:01.0 
+0100
+++ new/freshplayerplugin-0.3.11/ChangeLog  2019-05-24 13:33:09.0 
+0200
@@ -1,3 +1,12 @@
+2019-05-24  Rinat Ibragimov  
+
+   * release v0.3.11
+   * misc: build compatibility with newer FFmpeg (AV-prefixed macros)
+   * misc: stop using __thread for thread-local variables
+   * graphics: add explicit fullscreen window position configuration
+   * misc: fix tests on big-endian machines
+   * misc: mention that v0.3.10 existed, but without a changelog entry
+
 2017-12-23  Rinat Ibragimov  
 
* release v0.3.9
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/freshplayerplugin-0.3.9/cmake/ffmpeg-compat/CMakeLists.txt 
new/freshplayerplugin-0.3.11/cmake/ffmpeg-compat/CMakeLists.txt
--- old/freshplayerplugin-0.3.9/cmake/ffmpeg-compat/CMakeLists.txt  
2017-12-23 15:34:01.0 +0100
+++ new/freshplayerplugin-0.3.11/cmake/ffmpeg-compat/CMakeLists.txt 
2019-05-24 13:33:09.0 +0200
@@ -29,6 +29,7 @@
 MACRO_C_SOURCE_CHECK(cfg_avcodecid.c HAVE_AVCodecID)
 MACRO_C_SOURCE_CHECK(cfg_avcodeccontext_get_buffer2.c 
HAVE_AVCodecContext_get_buffer2)
 MACRO_C_SOURCE_CHECK(cfg_AVVDPAUContext.c HAVE_AVVDPAUContext)
+MACRO_C_SOURCE_CHECK(cfg_avcodecflags.c HAVE_AV_CODEC_FLAGS)
 
 MACRO_SYMBOL_CHECK(av_frame_alloc "libavcodec/avcodec.h" HAVE_av_frame_alloc)
 MACRO_SYMBOL_CHECK(av_frame_free "libavcodec/avcodec.h" HAVE_av_frame_free)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/freshplayerplugin-0.3.9/cmake/ffmpeg-compat/cfg_avcodecflags.c 

commit freshplayerplugin for openSUSE:Factory

2018-08-15 Thread root
Hello community,

here is the log from the commit of package freshplayerplugin for 
openSUSE:Factory checked in at 2018-08-15 10:39:23

Comparing /work/SRC/openSUSE:Factory/freshplayerplugin (Old)
 and  /work/SRC/openSUSE:Factory/.freshplayerplugin.new (New)


Package is "freshplayerplugin"

Wed Aug 15 10:39:23 2018 rev:13 rq:629300 version:0.3.9

Changes:

--- /work/SRC/openSUSE:Factory/freshplayerplugin/freshplayerplugin.changes  
2017-08-01 09:26:12.624669461 +0200
+++ /work/SRC/openSUSE:Factory/.freshplayerplugin.new/freshplayerplugin.changes 
2018-08-15 10:39:27.932408845 +0200
@@ -1,0 +2,9 @@
+Tue Aug 14 15:45:18 UTC 2018 - sor.ale...@meowr.ru
+
+- Update to version 0.3.9 (changes since 0.3.7):
+  * misc: Add NPN_PluginThreadAsyncCall emulation for Firefox 58.
+  * network: Stop using files with NPN_PostURL.
+- Add freshplayerplugin-fix-no-hwdec.patch: Fix compilation with no
+  hardware acceleration.
+
+---

Old:

  freshplayerplugin-0.3.7.tar.gz

New:

  freshplayerplugin-0.3.9.tar.gz
  freshplayerplugin-fix-no-hwdec.patch



Other differences:
--
++ freshplayerplugin.spec ++
--- /var/tmp/diff_new_pack.Tp9XZe/_old  2018-08-15 10:39:28.600410063 +0200
+++ /var/tmp/diff_new_pack.Tp9XZe/_new  2018-08-15 10:39:28.600410063 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package freshplayerplugin
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,15 +18,17 @@
 
 %bcond_with restricted
 Name:   freshplayerplugin
-Version:0.3.7
+Version:0.3.9
 Release:0
 Summary:PPAPI2NPAPI compatibility layer
 License:MIT
 Group:  Productivity/Networking/Web/Browsers
-Url:https://github.com/i-rinat/freshplayerplugin
+URL:https://github.com/i-rinat/freshplayerplugin
 Source: 
https://github.com/i-rinat/freshplayerplugin/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 # PATCH-FIX-OPENSUSE freshplayerplugin-drop-angle.patch bsc#937244 
i...@marguerite.su
 Patch0: freshplayerplugin-drop-angle.patch
+# PATCH-FIX-UPSTREAM freshplayerplugin-fix-no-hwdec.patch -- Fix compilation 
with no hardware acceleration.
+Patch1: freshplayerplugin-fix-no-hwdec.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig
@@ -85,6 +87,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 # Enable hardware accelerated decoding for PMBS.
 %if %{with restricted}
@@ -117,8 +120,8 @@
 %postun -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root)
-%doc ChangeLog COPYING README.md LICENSE
+%license COPYING LICENSE
+%doc ChangeLog README.md
 %config %{_sysconfdir}/freshwrapper.conf
 %{_libdir}/browser-plugins/libfreshwrapper-flashplayer.so
 

++ freshplayerplugin-0.3.7.tar.gz -> freshplayerplugin-0.3.9.tar.gz ++
 8284 lines of diff (skipped)

++ freshplayerplugin-fix-no-hwdec.patch ++
--- a/src/tables.c
+++ b/src/tables.c
@@ -38,7 +38,9 @@
 #include 
 #include 
 #include 
+#if HAVE_HWDEC
 #include 
+#endif
 
 NPNetscapeFuncs npn;
 struct display_sdisplay;



commit freshplayerplugin for openSUSE:Factory

2017-08-01 Thread root
Hello community,

here is the log from the commit of package freshplayerplugin for 
openSUSE:Factory checked in at 2017-08-01 09:25:46

Comparing /work/SRC/openSUSE:Factory/freshplayerplugin (Old)
 and  /work/SRC/openSUSE:Factory/.freshplayerplugin.new (New)


Package is "freshplayerplugin"

Tue Aug  1 09:25:46 2017 rev:12 rq:513633 version:0.3.7

Changes:

--- /work/SRC/openSUSE:Factory/freshplayerplugin/freshplayerplugin.changes  
2016-11-18 22:03:42.0 +0100
+++ /work/SRC/openSUSE:Factory/.freshplayerplugin.new/freshplayerplugin.changes 
2017-08-01 09:26:12.624669461 +0200
@@ -1,0 +2,16 @@
+Tue Aug  1 01:34:26 UTC 2017 - i...@marguerite.su
+
+- Due to redhat#1402582, ragel's colm can't build and core dumps
+  on non-x86_64 arch. As ragel is just a code generator, we
+  can downgrade the buildrequires to ragel-6 (6.10) with no harm.
+
+---
+Sun Jun  4 22:14:00 UTC 2017 - sor.ale...@meowr.ru
+
+- Update to version 0.3.7:
+  * graphics: Add more fullscreen _NET_WM controls.
+  * misc: drop libpdf and NaCl wrappers.
+  * misc: Search for PepperFlash in Chrome component update
+directories.
+
+---

Old:

  freshplayerplugin-0.3.6.tar.gz

New:

  freshplayerplugin-0.3.7.tar.gz



Other differences:
--
++ freshplayerplugin.spec ++
--- /var/tmp/diff_new_pack.nwGL8k/_old  2017-08-01 09:26:13.296574766 +0200
+++ /var/tmp/diff_new_pack.nwGL8k/_new  2017-08-01 09:26:13.308573075 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package freshplayerplugin
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %bcond_with restricted
 Name:   freshplayerplugin
-Version:0.3.6
+Version:0.3.7
 Release:0
 Summary:PPAPI2NPAPI compatibility layer
 License:MIT
@@ -30,7 +30,7 @@
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig
-BuildRequires:  ragel
+BuildRequires:  ragel-6
 BuildRequires:  pkgconfig(alsa)
 BuildRequires:  pkgconfig(cairo)
 BuildRequires:  pkgconfig(freetype2)

++ freshplayerplugin-0.3.6.tar.gz -> freshplayerplugin-0.3.7.tar.gz ++
 2289 lines of diff (skipped)




commit freshplayerplugin for openSUSE:Factory

2016-11-18 Thread h_root
Hello community,

here is the log from the commit of package freshplayerplugin for 
openSUSE:Factory checked in at 2016-11-18 22:03:41

Comparing /work/SRC/openSUSE:Factory/freshplayerplugin (Old)
 and  /work/SRC/openSUSE:Factory/.freshplayerplugin.new (New)


Package is "freshplayerplugin"

Changes:

--- /work/SRC/openSUSE:Factory/freshplayerplugin/freshplayerplugin.changes  
2016-07-15 12:51:42.0 +0200
+++ /work/SRC/openSUSE:Factory/.freshplayerplugin.new/freshplayerplugin.changes 
2016-11-18 22:03:42.0 +0100
@@ -1,0 +2,14 @@
+Thu Nov 17 20:12:20 UTC 2016 - sor.ale...@meowr.ru
+
+- Update to version 0.3.6:
+  * graphics: Fix the off-by-one pixel issue in fullscreen scaling
+mode.
+  * graphics: Try to flicker less.
+  * misc: Use ICU for character set conversion, use WhatWG
+canonical encoding name conversion.
+  * misc: Guess the default character encoding from a locale name.
+  * misc: Guess GTK+ major version at run time.
+- Rename clean.patch to freshplayerplugin-drop-angle.patch and
+  simplify to ease maintainership.
+
+---

Old:

  clean.patch
  freshplayerplugin-0.3.5.tar.gz

New:

  freshplayerplugin-0.3.6.tar.gz
  freshplayerplugin-drop-angle.patch



Other differences:
--
++ freshplayerplugin.spec ++
--- /var/tmp/diff_new_pack.LMqMWA/_old  2016-11-18 22:03:43.0 +0100
+++ /var/tmp/diff_new_pack.LMqMWA/_new  2016-11-18 22:03:43.0 +0100
@@ -17,20 +17,19 @@
 
 
 %bcond_with restricted
-%bcond_with gtk3
 Name:   freshplayerplugin
-Version:0.3.5
+Version:0.3.6
 Release:0
 Summary:PPAPI2NPAPI compatibility layer
 License:MIT
 Group:  Productivity/Networking/Web/Browsers
 Url:https://github.com/i-rinat/freshplayerplugin
 Source: 
https://github.com/i-rinat/freshplayerplugin/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
-# PATCH-FIX-OPENSUSE clean.patch bsc#937244 i...@marguerite.su
-Patch0: clean.patch
+# PATCH-FIX-OPENSUSE freshplayerplugin-drop-angle.patch bsc#937244 
i...@marguerite.su
+Patch0: freshplayerplugin-drop-angle.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
-BuildRequires:  pkg-config
+BuildRequires:  pkgconfig
 BuildRequires:  ragel
 BuildRequires:  pkgconfig(alsa)
 BuildRequires:  pkgconfig(cairo)
@@ -39,6 +38,7 @@
 BuildRequires:  pkgconfig(gl)
 BuildRequires:  pkgconfig(glesv2)
 BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(icu-uc)
 BuildRequires:  pkgconfig(jack)
 BuildRequires:  pkgconfig(libevent)
 BuildRequires:  pkgconfig(libevent_pthreads)
@@ -55,11 +55,6 @@
 BuildRequires:  pkgconfig(xrender)
 Supplements:packageand(browser(npapi):chromium-pepper-flash)
 Conflicts:  flash-player
-%if %{with gtk3}
-BuildRequires:  pkgconfig(gtk+-3.0)
-%else
-BuildRequires:  pkgconfig(gtk+-2.0)
-%endif
 %if 0%{with restricted}
 # Hardware accelerated decoding.
 BuildRequires:  pkgconfig(libavcodec)
@@ -99,22 +94,17 @@
 %build
 %cmake \
   -DMOZPLUGIN_INSTALL_DIR=%{_libdir}/browser-plugins \
-%if %{with gtk3}
-  -DWITH_GTK=3   \
-%else
-  -DWITH_GTK=2   \
-%endif
 %if %{with restricted}
   -DWITH_HWDEC=1 \
 %else
   -DWITH_HWDEC=0 \
 %endif
   -DWITH_GLES2=ON
-make %{?_smp_mflags}
+make %{?_smp_mflags} V=1
 
 %install
 %cmake_install
-install -Dm 0644 data/freshwrapper.conf.example \
+install -Dpm 0644 data/freshwrapper.conf.example \
   %{buildroot}%{_sysconfdir}/freshwrapper.conf
 
 %post

++ freshplayerplugin-0.3.5.tar.gz -> freshplayerplugin-0.3.6.tar.gz ++
 6685 lines of diff (skipped)

++ freshplayerplugin-drop-angle.patch ++
--- a/3rdparty/CMakeLists.txt
+++ b/3rdparty/CMakeLists.txt
@@ -1,4 +1 @@
 add_subdirectory(parson)
-if (NOT WITH_GLES2)
-add_subdirectory(angle)
-endif()
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -144,10 +144,6 @@ add_definitions(${REQ_CFLAGS_OTHER})
 add_definitions(-DXP_UNIX)
 
 include_directories(3rdparty)
-if (NOT WITH_GLES2)
-include_directories(3rdparty/angle/include)
-list(APPEND REQ_LIBRARIES shader_translator)
-endif()
 
 set(SYMBOLMAP "-Wl,-version-script=\"${CMAKE_SOURCE_DIR}/src/symbolmap\"")
 



commit freshplayerplugin for openSUSE:Factory

2016-07-15 Thread h_root
Hello community,

here is the log from the commit of package freshplayerplugin for 
openSUSE:Factory checked in at 2016-07-15 12:51:39

Comparing /work/SRC/openSUSE:Factory/freshplayerplugin (Old)
 and  /work/SRC/openSUSE:Factory/.freshplayerplugin.new (New)


Package is "freshplayerplugin"

Changes:

--- /work/SRC/openSUSE:Factory/freshplayerplugin/freshplayerplugin.changes  
2016-04-30 23:31:13.0 +0200
+++ /work/SRC/openSUSE:Factory/.freshplayerplugin.new/freshplayerplugin.changes 
2016-07-15 12:51:42.0 +0200
@@ -1,0 +2,6 @@
+Sun Jul  3 17:13:04 UTC 2016 - mplus...@suse.com
+
+- Conflict with flash-player as having them both installed is 
+  confusing firefox
+
+---



Other differences:
--
++ freshplayerplugin.spec ++
--- /var/tmp/diff_new_pack.K2N51z/_old  2016-07-15 12:51:43.0 +0200
+++ /var/tmp/diff_new_pack.K2N51z/_new  2016-07-15 12:51:43.0 +0200
@@ -54,6 +54,7 @@
 BuildRequires:  pkgconfig(xrandr)
 BuildRequires:  pkgconfig(xrender)
 Supplements:packageand(browser(npapi):chromium-pepper-flash)
+Conflicts:  flash-player
 %if %{with gtk3}
 BuildRequires:  pkgconfig(gtk+-3.0)
 %else




commit freshplayerplugin for openSUSE:Factory

2016-04-30 Thread h_root
Hello community,

here is the log from the commit of package freshplayerplugin for 
openSUSE:Factory checked in at 2016-04-30 23:31:08

Comparing /work/SRC/openSUSE:Factory/freshplayerplugin (Old)
 and  /work/SRC/openSUSE:Factory/.freshplayerplugin.new (New)


Package is "freshplayerplugin"

Changes:

--- /work/SRC/openSUSE:Factory/freshplayerplugin/freshplayerplugin.changes  
2016-01-01 19:49:55.0 +0100
+++ /work/SRC/openSUSE:Factory/.freshplayerplugin.new/freshplayerplugin.changes 
2016-04-30 23:31:13.0 +0200
@@ -1,0 +2,12 @@
+Tue Apr 26 16:10:00 UTC 2016 - h...@urpla.net
+
+- Update to v0.3.5:
+  * video: try /dev/video* instead of /dev/v4l/by-path/*
+  * network: fix byte order in PPB_NetAddress
+  * network: partially implement PPB_HostResolver;1.0 and
+  PPB_UDPSocket;1.2
+  * mics: keep task order in PPB_MessageLoop
+
+- refresh clean patch
+
+---

Old:

  freshplayerplugin-0.3.4.tar.gz

New:

  freshplayerplugin-0.3.5.tar.gz



Other differences:
--
++ freshplayerplugin.spec ++
--- /var/tmp/diff_new_pack.AtEHIo/_old  2016-04-30 23:31:14.0 +0200
+++ /var/tmp/diff_new_pack.AtEHIo/_new  2016-04-30 23:31:14.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package freshplayerplugin
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %bcond_with restricted
 %bcond_with gtk3
 Name:   freshplayerplugin
-Version:0.3.4
+Version:0.3.5
 Release:0
 Summary:PPAPI2NPAPI compatibility layer
 License:MIT

++ clean.patch ++
 1300 lines (skipped)
 between /work/SRC/openSUSE:Factory/freshplayerplugin/clean.patch
 and /work/SRC/openSUSE:Factory/.freshplayerplugin.new/clean.patch

++ freshplayerplugin-0.3.4.tar.gz -> freshplayerplugin-0.3.5.tar.gz ++
 3075 lines of diff (skipped)




commit freshplayerplugin for openSUSE:Factory

2016-01-01 Thread h_root
Hello community,

here is the log from the commit of package freshplayerplugin for 
openSUSE:Factory checked in at 2016-01-01 19:47:48

Comparing /work/SRC/openSUSE:Factory/freshplayerplugin (Old)
 and  /work/SRC/openSUSE:Factory/.freshplayerplugin.new (New)


Package is "freshplayerplugin"

Changes:

--- /work/SRC/openSUSE:Factory/freshplayerplugin/freshplayerplugin.changes  
2015-11-16 18:51:39.0 +0100
+++ /work/SRC/openSUSE:Factory/.freshplayerplugin.new/freshplayerplugin.changes 
2016-01-01 19:49:55.0 +0100
@@ -1,0 +2,23 @@
+Sat Dec 26 21:14:56 UTC 2015 - mplus...@suse.com
+
+- Use cmake macro
+
+---
+Sat Dec 26 18:01:34 UTC 2015 - sor.ale...@meowr.ru
+
+- Update to 0.3.4:
+  * graphics: add non-XRender fallback paths.
+  * graphics: use ANGLE GLES2 emulation layer by default.
+  * graphics: restore mouse pointer when moved outside.
+  * audio: request reduced latency when capturing via PulseAudio.
+  * input: detect and handle mouse double clicks.
+  * misc: add `make install` rule.
+  * misc: add option to show version in context menu.
+  * misc: call gdb for crash debugging.
+  * misc: stop using -fvisibility directives.
+- Use system libGLESv2.
+- Rebase clean.patch.
+- Remove cmake-install.patch: hardly reasonable now.
+- Remove Chromium Pepper Flash path appending: handled upstream.
+
+---

Old:

  cmake-install.patch
  freshplayerplugin-0.3.3.tar.gz

New:

  freshplayerplugin-0.3.4.tar.gz



Other differences:
--
++ freshplayerplugin.spec ++
--- /var/tmp/diff_new_pack.saq9Ww/_old  2016-01-01 19:49:56.0 +0100
+++ /var/tmp/diff_new_pack.saq9Ww/_new  2016-01-01 19:49:56.0 +0100
@@ -19,17 +19,15 @@
 %bcond_with restricted
 %bcond_with gtk3
 Name:   freshplayerplugin
-Version:0.3.3
+Version:0.3.4
 Release:0
 Summary:PPAPI2NPAPI compatibility layer
 License:MIT
 Group:  Productivity/Networking/Web/Browsers
 Url:https://github.com/i-rinat/freshplayerplugin
 Source: 
https://github.com/i-rinat/freshplayerplugin/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
-# PATCH-FIX-OPENSUSE clean.patch boo#937244 i...@marguerite.su
+# PATCH-FIX-OPENSUSE clean.patch bsc#937244 i...@marguerite.su
 Patch0: clean.patch
-# PATCH-FIX-OPENSUSE cmake-install.patch i...@marguerite.su -- Install options 
to CMakeLists.txt.
-Patch1: cmake-install.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  pkg-config
@@ -91,21 +89,15 @@
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
 
-# Append chromium-pepperflash to pepperflash_path.
-sed -i 
's|^\(.*\)\.so"|\1\.so:%{_libdir}/chromium/PepperFlash/libpepflashplayer.so"|' 
data/freshwrapper.conf.example
 # Enable hardware accelerated decoding for PMBS.
 %if %{with restricted}
 sed -i 's|^\(enable_hwdec = \)0|\11|' data/freshwrapper.conf.example
 %endif
 
 %build
-mkdir build
-pushd build
-# FIXME: you should use %%cmake macros
-cmake \
-  -DLIB_INSTALL_DIR=%{_libdir} \
+%cmake \
+  -DMOZPLUGIN_INSTALL_DIR=%{_libdir}/browser-plugins \
 %if %{with gtk3}
   -DWITH_GTK=3 \
 %else
@@ -116,12 +108,13 @@
 %else
   -DWITH_HWDEC=0   \
 %endif
-  ..
+  -DWITH_GLES2=ON
 make %{?_smp_mflags}
-popd
 
 %install
-%make_install -C build
+%cmake_install
+install -Dm 0644 data/freshwrapper.conf.example \
+  %{buildroot}%{_sysconfdir}/freshwrapper.conf
 
 %post
 /sbin/ldconfig

++ clean.patch ++
 272031 lines (skipped)
 between /work/SRC/openSUSE:Factory/freshplayerplugin/clean.patch
 and /work/SRC/openSUSE:Factory/.freshplayerplugin.new/clean.patch

++ freshplayerplugin-0.3.3.tar.gz -> freshplayerplugin-0.3.4.tar.gz ++
 213559 lines of diff (skipped)




commit freshplayerplugin for openSUSE:Factory

2015-11-16 Thread h_root
Hello community,

here is the log from the commit of package freshplayerplugin for 
openSUSE:Factory checked in at 2015-11-16 18:51:38

Comparing /work/SRC/openSUSE:Factory/freshplayerplugin (Old)
 and  /work/SRC/openSUSE:Factory/.freshplayerplugin.new (New)


Package is "freshplayerplugin"

Changes:

--- /work/SRC/openSUSE:Factory/freshplayerplugin/freshplayerplugin.changes  
2015-10-08 08:25:28.0 +0200
+++ /work/SRC/openSUSE:Factory/.freshplayerplugin.new/freshplayerplugin.changes 
2015-11-16 18:51:39.0 +0100
@@ -1,0 +2,7 @@
+Fri Nov  6 19:00:45 UTC 2015 - sor.ale...@meowr.ru
+
+- Provide flash-plugin instead of flash-player in PMBS.
+- Install freshplayerplugin if both MozillaFirefox and
+  chromium-pepper-flash are installed.
+
+---



Other differences:
--
++ freshplayerplugin.spec ++
--- /var/tmp/diff_new_pack.CzFEXi/_old  2015-11-16 18:51:40.0 +0100
+++ /var/tmp/diff_new_pack.CzFEXi/_new  2015-11-16 18:51:40.0 +0100
@@ -55,6 +55,7 @@
 BuildRequires:  pkgconfig(xcursor)
 BuildRequires:  pkgconfig(xrandr)
 BuildRequires:  pkgconfig(xrender)
+Supplements:packageand(browser(npapi):chromium-pepper-flash)
 %if %{with gtk3}
 BuildRequires:  pkgconfig(gtk+-3.0)
 %else
@@ -68,7 +69,7 @@
 BuildRequires:  pkgconfig(libva-x11)
 BuildRequires:  pkgconfig(vdpau)
 Requires:   chromium-pepper-flash
-Provides:   flash-player
+Provides:   flash-plugin
 %else
 Recommends: chromium-pepper-flash
 %endif
@@ -102,6 +103,7 @@
 %build
 mkdir build
 pushd build
+# FIXME: you should use %%cmake macros
 cmake \
   -DLIB_INSTALL_DIR=%{_libdir} \
 %if %{with gtk3}




commit freshplayerplugin for openSUSE:Factory

2015-10-08 Thread h_root
Hello community,

here is the log from the commit of package freshplayerplugin for 
openSUSE:Factory checked in at 2015-10-08 08:25:26

Comparing /work/SRC/openSUSE:Factory/freshplayerplugin (Old)
 and  /work/SRC/openSUSE:Factory/.freshplayerplugin.new (New)


Package is "freshplayerplugin"

Changes:

--- /work/SRC/openSUSE:Factory/freshplayerplugin/freshplayerplugin.changes  
2015-09-24 06:15:50.0 +0200
+++ /work/SRC/openSUSE:Factory/.freshplayerplugin.new/freshplayerplugin.changes 
2015-10-08 08:25:28.0 +0200
@@ -1,0 +2,14 @@
+Mon Oct  5 14:45:54 UTC 2015 - sor.ale...@meowr.ru
+
+- Update to 0.3.3:
+  * graphics: update fullscreen size at the very end of transition.
+  * net: implement PPB_NetAddress;1.0 inferface.
+  * audio: add "noaudio" backend which only provide sync events.
+  * misc: track origin threads of callbacks.
+  * misc: drop libconfig dependency, use own config parser.
+  * misc: avoid calling Javascript in NPP_SetWindow().
+  * misc: fix -fvisibility=hidden build issue.
+  * misc: rename file name to libfreshwrapper-flashplayer.so.
+- Rebase clean.patch and cmake-install.patch.
+
+---

Old:

  freshplayerplugin-0.3.2.tar.gz

New:

  freshplayerplugin-0.3.3.tar.gz



Other differences:
--
++ freshplayerplugin.spec ++
--- /var/tmp/diff_new_pack.552ylw/_old  2015-10-08 08:25:29.0 +0200
+++ /var/tmp/diff_new_pack.552ylw/_new  2015-10-08 08:25:29.0 +0200
@@ -19,17 +19,17 @@
 %bcond_with restricted
 %bcond_with gtk3
 Name:   freshplayerplugin
-Version:0.3.2
+Version:0.3.3
 Release:0
 Summary:PPAPI2NPAPI compatibility layer
 License:MIT
 Group:  Productivity/Networking/Web/Browsers
 Url:https://github.com/i-rinat/freshplayerplugin
 Source: 
https://github.com/i-rinat/freshplayerplugin/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM i@marguerite.suadd i...@marguerite.su -- Install options 
to CMakeLists.txt
-Patch0: cmake-install.patch
-# PATCH-FIX-UPSTREAM clean.patch i...@marguerite.su -- Fix boo#937244
-Patch1: clean.patch
+# PATCH-FIX-OPENSUSE clean.patch boo#937244 i...@marguerite.su
+Patch0: clean.patch
+# PATCH-FIX-OPENSUSE cmake-install.patch i...@marguerite.su -- Install options 
to CMakeLists.txt.
+Patch1: cmake-install.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  pkg-config
@@ -39,10 +39,9 @@
 BuildRequires:  pkgconfig(freetype2)
 BuildRequires:  pkgconfig(gio-2.0)
 BuildRequires:  pkgconfig(gl)
+BuildRequires:  pkgconfig(glesv2)
 BuildRequires:  pkgconfig(glib-2.0)
-BuildRequires:  pkgconfig(gtk+-2.0)
 BuildRequires:  pkgconfig(jack)
-BuildRequires:  pkgconfig(libconfig)
 BuildRequires:  pkgconfig(libevent)
 BuildRequires:  pkgconfig(libevent_pthreads)
 BuildRequires:  pkgconfig(libpulse)
@@ -56,12 +55,10 @@
 BuildRequires:  pkgconfig(xcursor)
 BuildRequires:  pkgconfig(xrandr)
 BuildRequires:  pkgconfig(xrender)
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with gtk3}
 BuildRequires:  pkgconfig(gtk+-3.0)
-%endif
-%if 0%{?suse_version} > 1140
-BuildRequires:  pkgconfig(glesv2)
+%else
+BuildRequires:  pkgconfig(gtk+-2.0)
 %endif
 %if 0%{with restricted}
 # Hardware accelerated decoding.
@@ -137,6 +134,6 @@
 %defattr(-,root,root)
 %doc ChangeLog COPYING README.md LICENSE
 %config %{_sysconfdir}/freshwrapper.conf
-%{_libdir}/browser-plugins/libfreshwrapper-pepperflash.so
+%{_libdir}/browser-plugins/libfreshwrapper-flashplayer.so
 
 %changelog

++ clean.patch ++
 10583 lines (skipped)
 between /work/SRC/openSUSE:Factory/freshplayerplugin/clean.patch
 and /work/SRC/openSUSE:Factory/.freshplayerplugin.new/clean.patch

++ cmake-install.patch ++
--- /var/tmp/diff_new_pack.552ylw/_old  2015-10-08 08:25:29.0 +0200
+++ /var/tmp/diff_new_pack.552ylw/_new  2015-10-08 08:25:29.0 +0200
@@ -1,45 +1,39 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 1409e51..4a5503a 100644
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
-@@ -134,6 +134,7 @@ if (NOT WITH_GLES2)
+@@ -144,7 +144,18 @@ if (NOT WITH_GLES2)
+ list(APPEND REQ_LIBRARIES shader_translator)
  endif()
  
++if(NOT DEFINED LIB_INSTALL_DIR)
++set(LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}")
++endif()
++if(NOT DEFINED BROWSER_PLUGIN_DIR)
++set(BROWSER_PLUGIN_DIR "${LIB_INSTALL_DIR}/browser-plugins")
++endif()
++if(NOT DEFINED SYSCONF_INSTALL_DIR)
++set(SYSCONF_INSTALL_DIR "/etc")
++endif()
++
  add_subdirectory(3rdparty)
 +add_subdirectory(data)
  add_subdirectory(resources)
  add_subdirectory(src)
  add_subdirectory(tests)
-diff --git 

commit freshplayerplugin for openSUSE:Factory

2015-09-23 Thread h_root
Hello community,

here is the log from the commit of package freshplayerplugin for 
openSUSE:Factory checked in at 2015-09-24 06:15:21

Comparing /work/SRC/openSUSE:Factory/freshplayerplugin (Old)
 and  /work/SRC/openSUSE:Factory/.freshplayerplugin.new (New)


Package is "freshplayerplugin"

Changes:

--- /work/SRC/openSUSE:Factory/freshplayerplugin/freshplayerplugin.changes  
2015-08-21 07:42:04.0 +0200
+++ /work/SRC/openSUSE:Factory/.freshplayerplugin.new/freshplayerplugin.changes 
2015-09-24 06:15:50.0 +0200
@@ -1,0 +2,5 @@
+Mon Sep 21 07:12:22 UTC 2015 - o...@aepfle.de
+
+- Add BuildRequires pkgconfig(vdpau)
+
+---



Other differences:
--
++ freshplayerplugin.spec ++
--- /var/tmp/diff_new_pack.QvICyX/_old  2015-09-24 06:15:51.0 +0200
+++ /var/tmp/diff_new_pack.QvICyX/_new  2015-09-24 06:15:51.0 +0200
@@ -69,6 +69,7 @@
 BuildRequires:  pkgconfig(libavutil)
 BuildRequires:  pkgconfig(libva)
 BuildRequires:  pkgconfig(libva-x11)
+BuildRequires:  pkgconfig(vdpau)
 Requires:   chromium-pepper-flash
 Provides:   flash-player
 %else




commit freshplayerplugin for openSUSE:Factory

2015-08-20 Thread h_root
Hello community,

here is the log from the commit of package freshplayerplugin for 
openSUSE:Factory checked in at 2015-08-21 07:41:33

Comparing /work/SRC/openSUSE:Factory/freshplayerplugin (Old)
 and  /work/SRC/openSUSE:Factory/.freshplayerplugin.new (New)


Package is freshplayerplugin

Changes:

--- /work/SRC/openSUSE:Factory/freshplayerplugin/freshplayerplugin.changes  
2015-08-02 22:46:06.0 +0200
+++ /work/SRC/openSUSE:Factory/.freshplayerplugin.new/freshplayerplugin.changes 
2015-08-21 07:42:04.0 +0200
@@ -1,0 +2,13 @@
+Tue Aug 18 14:51:38 UTC 2015 - sor.ale...@meowr.ru
+
+- Update to 0.3.2:
+  * Fix fullscreen geometry issues (black screen with a tiny video
+in top left corner).
+  * Synchronize with vertical blank in fullscreen mode.
+  * Add autoconnect and server autostart configuration for JACK
+output.
+  * Add NPAPI:AudioControl support.
+- Do not build libpdf and NaCl plugins after all as they do not
+  work (placeholders).
+
+---

Old:

  freshplayerplugin-0.3.1.tar.gz

New:

  freshplayerplugin-0.3.2.tar.gz



Other differences:
--
++ freshplayerplugin.spec ++
--- /var/tmp/diff_new_pack.MlLTOo/_old  2015-08-21 07:42:05.0 +0200
+++ /var/tmp/diff_new_pack.MlLTOo/_new  2015-08-21 07:42:05.0 +0200
@@ -19,7 +19,7 @@
 %bcond_with restricted
 %bcond_with gtk3
 Name:   freshplayerplugin
-Version:0.3.1
+Version:0.3.2
 Release:0
 Summary:PPAPI2NPAPI compatibility layer
 License:MIT
@@ -106,8 +106,6 @@
 pushd build
 cmake \
   -DLIB_INSTALL_DIR=%{_libdir} \
-  -DWITH_NACL=TRUE \
-  -DWITH_LIBPDF=TRUE   \
 %if %{with gtk3}
   -DWITH_GTK=3 \
 %else
@@ -138,8 +136,6 @@
 %defattr(-,root,root)
 %doc ChangeLog COPYING README.md LICENSE
 %config %{_sysconfdir}/freshwrapper.conf
-%{_libdir}/browser-plugins/libfreshwrapper-libpdf.so
-%{_libdir}/browser-plugins/libfreshwrapper-nacl.so
 %{_libdir}/browser-plugins/libfreshwrapper-pepperflash.so
 
 %changelog

++ freshplayerplugin-0.3.1.tar.gz - freshplayerplugin-0.3.2.tar.gz ++
 2635 lines of diff (skipped)




commit freshplayerplugin for openSUSE:Factory

2015-08-02 Thread h_root
Hello community,

here is the log from the commit of package freshplayerplugin for 
openSUSE:Factory checked in at 2015-08-02 22:46:04

Comparing /work/SRC/openSUSE:Factory/freshplayerplugin (Old)
 and  /work/SRC/openSUSE:Factory/.freshplayerplugin.new (New)


Package is freshplayerplugin

Changes:

--- /work/SRC/openSUSE:Factory/freshplayerplugin/freshplayerplugin.changes  
2015-07-24 09:58:59.0 +0200
+++ /work/SRC/openSUSE:Factory/.freshplayerplugin.new/freshplayerplugin.changes 
2015-08-02 22:46:06.0 +0200
@@ -1,0 +2,6 @@
+Sat Aug  1 11:31:32 UTC 2015 - sor.ale...@meowr.ru
+
+- Don't provide flash-player outside PMBS to prevent accidental
+  install with a possible lack of chromium-pepper-flash.
+
+---



Other differences:
--
++ freshplayerplugin.spec ++
--- /var/tmp/diff_new_pack.ivyYpx/_old  2015-08-02 22:46:07.0 +0200
+++ /var/tmp/diff_new_pack.ivyYpx/_new  2015-08-02 22:46:07.0 +0200
@@ -56,7 +56,6 @@
 BuildRequires:  pkgconfig(xcursor)
 BuildRequires:  pkgconfig(xrandr)
 BuildRequires:  pkgconfig(xrender)
-Provides:   flash-player
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with gtk3}
 BuildRequires:  pkgconfig(gtk+-3.0)
@@ -71,6 +70,7 @@
 BuildRequires:  pkgconfig(libva)
 BuildRequires:  pkgconfig(libva-x11)
 Requires:   chromium-pepper-flash
+Provides:   flash-player
 %else
 Recommends: chromium-pepper-flash
 %endif




commit freshplayerplugin for openSUSE:Factory

2015-07-24 Thread h_root
Hello community,

here is the log from the commit of package freshplayerplugin for 
openSUSE:Factory checked in at 2015-07-24 09:58:57

Comparing /work/SRC/openSUSE:Factory/freshplayerplugin (Old)
 and  /work/SRC/openSUSE:Factory/.freshplayerplugin.new (New)


Package is freshplayerplugin

Changes:

--- /work/SRC/openSUSE:Factory/freshplayerplugin/freshplayerplugin.changes  
2015-07-12 22:53:21.0 +0200
+++ /work/SRC/openSUSE:Factory/.freshplayerplugin.new/freshplayerplugin.changes 
2015-07-24 09:58:59.0 +0200
@@ -1,0 +2,7 @@
+Thu Jul 23 11:32:54 UTC 2015 - sor.ale...@meowr.ru
+
+- Update to 0.3.1:
+  * Add video decoding through VDPAU.
+  * Bugfixes.
+
+---

Old:

  freshplayerplugin-0.3.0.tar.gz

New:

  freshplayerplugin-0.3.1.tar.gz



Other differences:
--
++ freshplayerplugin.spec ++
--- /var/tmp/diff_new_pack.UXHbP4/_old  2015-07-24 09:59:00.0 +0200
+++ /var/tmp/diff_new_pack.UXHbP4/_new  2015-07-24 09:59:00.0 +0200
@@ -15,22 +15,20 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-%bcond_with restricted
-%define use_gtk3 0
-%if 0%{?suse_version}  1310
-%define use_gtk3 0
-%endif
 
+%bcond_with restricted
+%bcond_with gtk3
 Name:   freshplayerplugin
-Version:   0.3.0
+Version:0.3.1
 Release:   0
-License:   MIT
 Summary:   PPAPI2NPAPI compatibility layer
-Url:   https://github.com/i-rinat/freshplayerplugin
+License:MIT
 Group: Productivity/Networking/Web/Browsers
+Url:https://github.com/i-rinat/freshplayerplugin
 Source:
https://github.com/i-rinat/freshplayerplugin/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
-#PATCH-FIX-UPSTREAM add install options to CMakeLists.txt
-Patch: cmake-install.patch
+# PATCH-FIX-UPSTREAM i@marguerite.suadd i...@marguerite.su -- Install options 
to CMakeLists.txt
+Patch0: cmake-install.patch
+# PATCH-FIX-UPSTREAM clean.patch i...@marguerite.su -- Fix boo#937244
 Patch1:clean.patch
 BuildRequires: cmake
 BuildRequires: gcc-c++
@@ -42,28 +40,30 @@
 BuildRequires:  pkgconfig(gio-2.0)
 BuildRequires:  pkgconfig(gl)
 BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(gtk+-2.0)
+BuildRequires:  pkgconfig(jack)
 BuildRequires:  pkgconfig(libconfig)
 BuildRequires:  pkgconfig(libevent)
 BuildRequires:  pkgconfig(libevent_pthreads)
+BuildRequires:  pkgconfig(libpulse)
 BuildRequires:  pkgconfig(libv4l2)
 BuildRequires:  pkgconfig(openssl)
 BuildRequires:  pkgconfig(pango)
 BuildRequires:  pkgconfig(pangocairo)
 BuildRequires:  pkgconfig(pangoft2)
+BuildRequires:  pkgconfig(soxr)
 BuildRequires:  pkgconfig(x11)
 BuildRequires:  pkgconfig(xcursor)
 BuildRequires:  pkgconfig(xrandr)
 BuildRequires:  pkgconfig(xrender)
-BuildRequires:  pkgconfig(gtk+-2.0)
-%if %{use_gtk3}
+Provides:   flash-player
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+%if %{with gtk3}
 BuildRequires:  pkgconfig(gtk+-3.0)
 %endif
 %if 0%{?suse_version}  1140
 BuildRequires:  pkgconfig(glesv2)
 %endif
-BuildRequires:  pkgconfig(libpulse)
-BuildRequires:  pkgconfig(jack)
-BuildRequires:  pkgconfig(soxr)
 %if 0%{with restricted}
 # Hardware accelerated decoding.
 BuildRequires:  pkgconfig(libavcodec)
@@ -82,8 +82,6 @@
 BuildRequires:  Mesa-libGLESv2-2
 BuildRequires:  Mesa-libGLESv2-devel
 %endif
-Provides:  flash-player
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 The main goal of this project is to get PPAPI (Pepper) Flash player
@@ -93,23 +91,24 @@
 
 %prep
 %setup -q
-%patch -p1
+%patch0 -p1
 %patch1 -p1
 
-#append chromium-pepperflash to pepperflash_path
+# Append chromium-pepperflash to pepperflash_path.
 sed -i 
's|^\(.*\)\.so|\1\.so:%{_libdir}/chromium/PepperFlash/libpepflashplayer.so|' 
data/freshwrapper.conf.example
-#enable hardware accelerated decoding for pmbs
+# Enable hardware accelerated decoding for PMBS.
 %if %{with restricted}
 sed -i 's|^\(enable_hwdec = \)0|\11|' data/freshwrapper.conf.example
 %endif
 
 %build
 mkdir build
-cd build
-cmake -DLIB_INSTALL_DIR=%{_libdir} \
+pushd build
+cmake \
+  -DLIB_INSTALL_DIR=%{_libdir} \
-DWITH_NACL=TRUE \
-DWITH_LIBPDF=TRUE \
-%if %{use_gtk3}
+%if %{with gtk3}
-DWITH_GTK=3 \
 %else
-DWITH_GTK=2 \
@@ -121,23 +120,23 @@
 %endif
..
 make %{?_smp_mflags}
+popd
 
 %install
-cd build
-make install DESTDIR=%{buildroot} %{?_smp_mflags}
+%make_install -C build
 
 %post 
 /sbin/ldconfig
-# tweak for plasma 5
+# A tweak for Plasma 5.
 if [ ! -f %{_bindir}/plasmashell ]; then
-sed -i 's|^\(quirk_plasma5_screensaver = \)0|\11|' 
%{_sysconfdir}/freshwrapper.conf 
+sed -i 's|^\(quirk_plasma5_screensaver =