[guvcview: 1/2] Updated to 2.0.4
by Julian Sikorski
commit aa67dc0b734c4f4bcc0d606082984e2a29a64f60
Author: Julian Sikorski <belegdol(a)fedoraproject.org>
Date: Thu Jun 30 23:57:20 2016 +0200
Updated to 2.0.4
- Fixed build with ffmpeg-3.0.x using a patch from Gentoo
.gitignore | 1 +
ffmpeg3.patch | 26 ++++++++++++++++++++++++++
guvcview.spec | 16 +++++++++++-----
sources | 2 +-
4 files changed, 39 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a277549..f479d91 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
guvcview-src-2.0.1.tar.gz
+guvcview-src-2.0.4.tar.gz
diff --git a/ffmpeg3.patch b/ffmpeg3.patch
new file mode 100644
index 0000000..5397d68
--- /dev/null
+++ b/ffmpeg3.patch
@@ -0,0 +1,26 @@
+Index: guvcview-src-2.0.3/gview_v4l2core/jpeg_decoder.c
+===================================================================
+--- guvcview-src-2.0.3.orig/gview_v4l2core/jpeg_decoder.c
++++ guvcview-src-2.0.3/gview_v4l2core/jpeg_decoder.c
+@@ -1436,7 +1436,7 @@ int jpeg_init_decoder(int width, int hei
+ exit(-1);
+ }
+
+- codec_data->context->pix_fmt = PIX_FMT_YUV422P;
++ codec_data->context->pix_fmt = AV_PIX_FMT_YUV422P;
+ codec_data->context->width = width;
+ codec_data->context->height = height;
+ //jpeg_ctx->context->dsp_mask = (FF_MM_MMX | FF_MM_MMXEXT | FF_MM_SSE);
+Index: guvcview-src-2.0.3/gview_v4l2core/uvc_h264.c
+===================================================================
+--- guvcview-src-2.0.3.orig/gview_v4l2core/uvc_h264.c
++++ guvcview-src-2.0.3/gview_v4l2core/uvc_h264.c
+@@ -970,7 +970,7 @@ int h264_init_decoder(int width, int hei
+ }
+
+ h264_ctx->context->flags2 |= CODEC_FLAG2_FAST;
+- h264_ctx->context->pix_fmt = PIX_FMT_YUV420P;
++ h264_ctx->context->pix_fmt = AV_PIX_FMT_YUV420P;
+ h264_ctx->context->width = width;
+ h264_ctx->context->height = height;
+ //h264_ctx->context->dsp_mask = (FF_MM_MMX | FF_MM_MMXEXT | FF_MM_SSE);
diff --git a/guvcview.spec b/guvcview.spec
index 314b2be..b1ae100 100644
--- a/guvcview.spec
+++ b/guvcview.spec
@@ -1,5 +1,5 @@
Name: guvcview
-Version: 2.0.1
+Version: 2.0.4
Release: 1%{?dist}
Summary: GTK+ UVC Viewer and Capturer
Group: Amusements/Graphics
@@ -8,6 +8,7 @@ Group: Amusements/Graphics
License: GPLv3+
URL: http://guvcview.sourceforge.net/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-src-%{version}.tar.gz
+Patch0: ffmpeg3.patch
BuildRequires: pkgconfig(gtk+-3.0) >= 3.0.0
BuildRequires: pkgconfig(glib-2.0) >= 2.10.0
BuildRequires: pkgconfig(portaudio-2.0)
@@ -51,6 +52,7 @@ This package contains development files for %{name}.
%prep
%setup -q -n %{name}-src-%{version}
+%patch0 -p1 -b .ffmpeg3
find . \( -name '*.h' -o -name '*.c' \) -exec chmod -x {} \;
@@ -88,10 +90,10 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
%files -f %{name}.lang
%doc _doc/*
%{_bindir}/%{name}
-%{_libdir}/libgviewaudio-1.0.so.*
-%{_libdir}/libgviewencoder-1.0.so.*
-%{_libdir}/libgviewrender-1.0.so.*
-%{_libdir}/libgviewv4l2core-1.0.so.*
+%{_libdir}/libgviewaudio-2.0.so.*
+%{_libdir}/libgviewencoder-2.0.so.*
+%{_libdir}/libgviewrender-2.0.so.*
+%{_libdir}/libgviewv4l2core-2.0.so.*
%{_mandir}/man1/%{name}.1*
%{_datadir}/pixmaps/%{name}
%{_datadir}/applications/%{name}.desktop
@@ -111,6 +113,10 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
%changelog
+* Thu Jun 30 2016 Julian Sikorski <belegdol(a)fedoraproject.org> - 2.0.4-1
+- Updated to 2.0.4
+- Fixed build with ffmpeg-3.0.x using a patch from Gentoo
+
* Fri Jun 26 2015 Thomas Moschny <thomas.moschny(a)gmx.de> - 2.0.1-1
- Update to 2.0.1.
- Update build requirements.
diff --git a/sources b/sources
index 778e6a2..f2d9621 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-54e608b8a2c13d96f546197117d758f4 guvcview-src-2.0.1.tar.gz
+a6d900166ac2bba251a2c09cb602f1fe guvcview-src-2.0.4.tar.gz
8 years, 4 months
[mock-rpmfusion-nonfree/el7: 2/2] Update to 24.0
by nchauvet
commit 2620c9bbb667cbafd6bdfb4b9e06c0afb789bf75
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Jul 1 22:17:43 2016 +0200
Update to 24.0
.gitignore | 1 +
mock-rpmfusion-nonfree.spec | 5 ++++-
sources | 2 +-
3 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6ba7e91..c2f1c68 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
mock-rpmfusion-nonfree-23.0.tar.bz2
+/mock-rpmfusion-nonfree-24.0.tar.bz2
diff --git a/mock-rpmfusion-nonfree.spec b/mock-rpmfusion-nonfree.spec
index 27432a7..273e880 100644
--- a/mock-rpmfusion-nonfree.spec
+++ b/mock-rpmfusion-nonfree.spec
@@ -1,5 +1,5 @@
Name: mock-rpmfusion-nonfree
-Version: 23.0
+Version: 24.0
Release: 1%{?dist}
Summary: Mock config files for the RPM Fusion NonFree Repository
@@ -40,6 +40,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Fri Jul 1 2016 Nicolas Chauvet <kwizart(a)gmail.com> - 24.0-1
+- Update to 24.0
+
* Tue Nov 10 2015 Nicolas Chauvet <kwizart(a)gmail.com> - 23.0-1
- Update to 23.0
diff --git a/sources b/sources
index 89392a9..b3f41d5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f6f2df9b7b4926fa3bd1801a8fdc3798 mock-rpmfusion-nonfree-23.0.tar.bz2
+927336b0efc51797517b9bf09aa4868c mock-rpmfusion-nonfree-24.0.tar.bz2
8 years, 4 months