Hello community,
here is the log from the commit of package simplescreenrecorder for
openSUSE:Factory checked in at 2016-06-19 10:50:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/simplescreenrecorder (Old)
and /work/SRC/openSUSE:Factory/.simplescreenrecorder.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "simplescreenrecorder"
Changes:
--------
---
/work/SRC/openSUSE:Factory/simplescreenrecorder/simplescreenrecorder.changes
2015-11-04 15:34:31.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.simplescreenrecorder.new/simplescreenrecorder.changes
2016-06-19 10:50:40.000000000 +0200
@@ -1,0 +2,9 @@
+Fri Jun 17 16:22:18 UTC 2016 - [email protected]
+
+- `spec-cleaner`
+- Added simplescreenrecorder-0.3.6-missing-include.diff
+ to resolve bnc#985369.
+- Tips from Packman's package.
+- Enabled verbose make build.
+
+-------------------------------------------------------------------
New:
----
simplescreenrecorder-0.3.6-missing-include.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ simplescreenrecorder.spec ++++++
--- /var/tmp/diff_new_pack.HtDKz1/_old 2016-06-19 10:50:41.000000000 +0200
+++ /var/tmp/diff_new_pack.HtDKz1/_new 2016-06-19 10:50:41.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package simplescreenrecorder
#
-# 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
@@ -25,11 +25,15 @@
Url: http://www.maartenbaert.be/simplescreenrecorder
Source: https://github.com/MaartenBaert/ssr/archive/%{version}.tar.gz
Source9: baselibs.conf
+# PATCH-FIX-UPSTREAM vs. "error: 'mt19937' is not a member of 'std'".
+# See more at https://github.com/MaartenBaert/ssr/issues/455 & bnc#985369.
+Patch0: simplescreenrecorder-0.3.6-missing-include.diff
BuildRequires: cmake
BuildRequires: hicolor-icon-theme
BuildRequires: libjpeg8-devel
BuildRequires: libqt5-linguist
+BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(Qt5Gui) >= 5.1
BuildRequires: pkgconfig(Qt5Widgets) >= 5.1
@@ -38,14 +42,16 @@
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(glu)
BuildRequires: pkgconfig(jack)
-BuildRequires: pkgconfig(libavformat)
+BuildRequires: pkgconfig(libavcodec) >= 53
+BuildRequires: pkgconfig(libavformat) >= 53
+BuildRequires: pkgconfig(libavutil) >= 51
BuildRequires: pkgconfig(libpulse)
-BuildRequires: pkgconfig(libswscale)
+BuildRequires: pkgconfig(libswscale) >= 2
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xfixes)
BuildRequires: pkgconfig(xi)
-%ifarch %ix86 x86_64
+%ifarch %{ix86} x86_64
# openGL apps:
Recommends: libssr-glinject
%if %{_lib} == "lib64"
@@ -88,7 +94,7 @@
out what something does.
-%ifarch %ix86 x86_64
+%ifarch %{ix86} x86_64
%package -n libssr-glinject
Summary: Simple Screen Recorder openGL plugin
License: MIT
@@ -103,16 +109,17 @@
%prep
%setup -q -n ssr-%{version}
+%patch0 -p1
%build
-%ifarch %ix86 x86_64
+%ifarch %{ix86} x86_64
# /usr/include/qt5/QtCore/qglobal.h:1067:4: error: error "You must build
# your code with position independent code if Qt was built with
# -reduce-relocations. " "Compile your code with -fPIC (-fPIE is not
# enough)." error "You must build your code with position independent code
# if Qt was built with -reduce-relocations."
-export CFLAGS="%optflags -fPIC"
-export CXXFLAGS="%optflags -fPIC"
+export CFLAGS="%{optflags} -fPIC"
+export CXXFLAGS="%{optflags} -fPIC"
%configure --with-qt5
%else
%configure \
@@ -120,11 +127,11 @@
--disable-x86-asm \
--disable-glinjectlib
%endif
-make %{?_smp_mflags}
+make V=1 %{?_smp_mflags}
%install
-%make_install
-find %{buildroot} -name *.la -delete
+%make_install V=1
+find %{buildroot} -type f -name "*.la" -delete -print
%suse_update_desktop_file %{name}
%post
@@ -146,7 +153,7 @@
%{_mandir}/*/%{name}*
%{_mandir}/*/ssr-glinject*
-%ifarch %ix86 x86_64
+%ifarch %{ix86} x86_64
%files -n libssr-glinject
%defattr(-,root,root)
%{_libdir}/libssr-glinject.so
++++++ simplescreenrecorder-0.3.6-missing-include.diff ++++++
diff --git a/aclocal.m4 b/aclocal.m4
index 8b5415e..555b53d 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -21,7 +21,7 @@ If you have problems, you may need to regenerate the build
system entirely.
To do so, use the procedure documented by the package, typically
'autoreconf'.])])
dnl pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
-dnl serial 11 (pkg-config-0.29)
+dnl serial 11 (pkg-config-0.29.1)
dnl
dnl Copyright © 2004 Scott James Remnant <[email protected]>.
dnl Copyright © 2012-2015 Dan Nicholson <[email protected]>
@@ -63,7 +63,7 @@ dnl
dnl See the "Since" comment for each macro you use to see what version
dnl of the macros you require.
m4_defun([PKG_PREREQ],
-[m4_define([PKG_MACROS_VERSION], [0.29])
+[m4_define([PKG_MACROS_VERSION], [0.29.1])
m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1,
[m4_fatal([pkg.m4 version $1 or higher is required but
]PKG_MACROS_VERSION[ found])])
])dnl PKG_PREREQ
diff --git a/src/Benchmark.cpp b/src/Benchmark.cpp
index d599059..28427e1 100644
--- a/src/Benchmark.cpp
+++ b/src/Benchmark.cpp
@@ -26,6 +26,8 @@ along with SimpleScreenRecorder. If not, see
<http://www.gnu.org/licenses/>.
#include "Logger.h"
#include "TempBuffer.h"
+#include <random>
+
struct ImageGeneric {
TempBuffer<uint8_t> m_buffer;
diff --git a/todo.txt b/todo.txt
index ae35f85..e6a6208 100644
--- a/todo.txt
+++ b/todo.txt
@@ -22,6 +22,7 @@ Wishlist:
- clean up Global.h
- Easier GLInject application selection (as an alternative to entering the
command).
- Timelapse recording, i.e. recording at a slow speed but playing it back
faster (without sound obviously).
+- Cursor highlighting.
Not sure yet:
- Fixed cursor position when using 'follow cursor'?