Hello community,

here is the log from the commit of package guvcview for openSUSE:Factory 
checked in at 2017-03-28 15:21:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/guvcview (Old)
 and      /work/SRC/openSUSE:Factory/.guvcview.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "guvcview"

Tue Mar 28 15:21:09 2017 rev:1 rq:461932 version:2.0.4

Changes:
--------
New Changes file:

--- /dev/null   2017-03-01 00:40:19.279048016 +0100
+++ /work/SRC/openSUSE:Factory/.guvcview.new/guvcview.changes   2017-03-28 
15:21:12.098238470 +0200
@@ -0,0 +1,183 @@
+-------------------------------------------------------------------
+Thu Mar  2 10:28:49 UTC 2017 - [email protected]
+
+- Rename %soname to %sover to better reflect its use
+- Ensure description neutrality
+
+-------------------------------------------------------------------
+Sun May  1 18:06:05 UTC 2016 - [email protected]
+
+- Update to version 2.0.4:
+   * drop support for internal 422 packed format (use only 420 planar)
+   * add support for extra pixel formats, including be formats
+   * add command line option for requesting fps
+   * add support for control events
+   * add support for string, int64, bitmask and integer menu controls
+   * make sure we can't select unsuported pix formats from the gui
+   * fix status message for QT5 interface
+   * move mutexes to device handlers (context)
+   * v4l2core and audio api - don't access device data directly (use opaque 
structures)
+   * add constructor and destructor functions for v4l2core and encoder
+    Paulo Assis <[email protected]> Mon, 22 Feb 2016 10:10:00 +0100
+   2.0.3:
+   * Add Qt5 interface (--enable-qt5)
+   * fix '-n' option (don't save frame when photo countdown reaches 0)
+   * restore exit_on_term option
+   * use AC_SYS_LARGEFILE m4 macro for enabling Large File Support (LFS) on 32 
bit systems
+   * add color config for crosshair osd
+   * change rendering engine to use updateTexture instead of lock/unlock 
texture
+   * change rendering lib to avoid frame copy when using osd
+    Paulo Assis <[email protected]> Mon, 4 Jan 2016 23:34:00 +0100
+
+- Dropped guvcview-implicit-pointer-decl.patch
+  guvcview-no-return-in-nonvoid-function.patch
+  guvcview-voidreturn.patch
+
+- Added guvcview-2.0.4_ffmpeg-3.0.patch
+
+-------------------------------------------------------------------
+Tue Sep 22 08:47:31 UTC 2015 - [email protected]
+
+- Use pkgconfig for ffmpeg BuildRequires
+
+-------------------------------------------------------------------
+Wed Aug 05 10:49:17 UTC 2015 - [email protected]
+
+- Update to version 2.0.2:
+   + fix mjpeg and h264 decoders (libav): init avpacket.
+   + fix wrong logic of enable switches (Marvin Schmidt  ticket #12).
+   + create a frame queue and refactor frame grab/decode.
+   + fix jpeg decoder for older libavcodec api ( < 54.25).
+   + attach video capture to SIGUSR1 signal.
+   + add audio latency control to gui.
+   + change default portaudio latency to high latency.
+   + set device during initialization.
+   + use time for matroska segment uid if gsl is disabled.
+   + fix array index causing buffer overflow.
+   + restore CPPFLAGS after AC_CHECK_HEADERS.
+   + remove direct access to device data in v4l2core lib.
+   + make sure to stop encoder thread before exiting capture thread.
+   + avoid SIGFPE on bad channels or samprate data inside audio
+     capture callbacks.
+   + remove check for avcodec.h (it's needed for very old libavcodec
+     versions); set iyuv as default internal format (over yuyv).
+   + add basic support for continuous and stepwise frame sizes.
+   + add support for empty control list.
+   + add code for crossair osd.
+   + fix h264 demux from mjpg container.
+   + fix pan/tilt for logitech peripheral V3 (use raw control
+     instead of v4l2).
+
+-------------------------------------------------------------------
+Fri Oct 31 11:53:42 UTC 2014 - [email protected]
+
+- Update to version 2.0.1:
+  + Fix audio clean bug (segfault when audio=none).
+  + Add --disable_libv4l2 option.
+  + Add support for internal yu12 planar format.
+  + Workaround uvcvideo bug (buf.bytesused=0 on kernels >=3.16).
+- Changes since version 2.0.0:
+  + New version 2.0.0 (code rewriten from scratch).
+  + Move all core functions to 4 shared libs.
+  + Change options.
+  + Change config.
+  + Add sdl2 render.
+  + Use gsl for random number generation.
+- Changes since version 1.7.3:
+  + Add silence frames to compensate audio drift (delay).
+  + Fix possible memory leak.
+  + Add video and image capture through system signals:
+    SIGUSR1 and SIGUSR2.
+  + Add true no_display mode (no X required).
+  + Small bug fixes.
+- Changes since version 1.7.2:
+  + Add H264 decoding support.
+  + Sync translations.
+- Changes since version 1.7.1:
+  + Fix avi muxer: fix opendml indexes (>= 1Gb).
+  + Update Italian translation.
+ 
+-------------------------------------------------------------------
+Tue Jul 30 13:34:46 UTC 2013 - [email protected]
+
+- build against libffmpeg-devel.
+
+-------------------------------------------------------------------
+Sat Jul 20 20:41:27 UTC 2013 - [email protected]
+
+- Update to version 1.7.0:
+  + Refactor avi muxer (base it on libav muxer with opendml
+    support).
+  + Refactor mkv muxer (base it on libav muxer with webm support).
+  + Add VP8, Theora and Vorbis codecs.
+  + Add Webm support.
+  + Add a Top Menu.
+  + Move all file operations to the Top Menu.
+
+-------------------------------------------------------------------
+Fri Sep 20 12:27:00 UTC 2012 - [email protected]
+
+- Update to version 1.6.1:
+  + Fix build with latest libavcodec.
+  + Fix audio codecs listing.
+  + Fix audio codecs (AC3 and AAC) input format for latest
+    libavcodec API (float).
+  + Add support for delayed frames in video encoding.
+- Changes since version 1.6.0:
+  + Run audio in separate thread.
+  + Update audio buffer.
+  + Move pulse audio interface from simple to async API.
+  + Add pulse device list.
+  + Enable build of pulse API by default.
+- Added new build dependency, intltool. 
+
+-------------------------------------------------------------------
+Sun May 20 14:28:10 UTC 2012 - [email protected]
+
+- Update to version 1.5.3:
+  + Update libavcodec API.
+  + Add libavutil dependency.
+  + Fix pulse interface.
+  + Update language catalogs.
+- Drop guvcview-pulseaudio-fix.patch, fixed upstream.
+- Change BuildRequires: pulseaudio-devel to libpulse-devel. 
+
+-------------------------------------------------------------------
+Sun Feb 26 15:52:45 UTC 2012 - [email protected]
+
+- Update to version 1.5.2: 
+  + Move to pthreads (fix gthread API 2 issues).
+  + Add italian translation.
+  + Fix several libavcodec issues.
+  + Fix some gtk3 widgets.
+- Drop guvcview-fix-glib-include.patch, fixed upstream.
+- Add guvcview-pulseaudio-fix.patch: Fix pulseaudio interface.
+
+-------------------------------------------------------------------
+Mon Jan 23 00:48:09 UTC 2012 - [email protected]
+
+- Updated to version 1.5.1:
+  + Moved to gtk3.
+  + Make control window size dependent on screen resolution.
+  + Threaded coding patch - George Sedov <[email protected]>.
+  + Fix h264 codec properties.
+- Updates from version 1.5.0:
+  + Add a no display mode (--no_display).
+  + Fix build issues with newer versions (>=0.7.x) of ffmpeg
+    libavcodec.
+  + Add support for unix signals.
+  + Add VU meter OSD.
+  + Fix menu controls (linux 3.0).
+- Add guvcview-fix-glib-include.patch: To fix only <glib.h> can be
+  included directly error for builds > 1210.
+
+-------------------------------------------------------------------
+Mon Oct  3 19:28:19 UTC 2011 - [email protected]
+
+- Fix guvcview.desktop file in spec file. 
+
+-------------------------------------------------------------------
+Fri Jul  1 02:06:44 UTC 2011 - [email protected]
+
+- Initial build based on fc15 spec file.
+

New:
----
  guvcview-2.0.4_ffmpeg-3.0.patch
  guvcview-src-2.0.4.tar.gz
  guvcview.changes
  guvcview.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ guvcview.spec ++++++
#
# spec file for package guvcview
#
# Copyright (c) 2012 Malcolm J Lewis <[email protected]>
# Copyright (c) 2013 Marguerite Su <[email protected]>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# 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.links2linux.org/
#


%define         sover 2_0-2

Name:           guvcview
Version:        2.0.4
Release:        0
License:        GPL-3.0
# Reference to GPL-2.0 in some files?
Summary:        GTK+ UVC Viewer and Capturer
Url:            http://guvcview.sourceforge.net/
Group:          Productivity/Multimedia/Video/Players
Source0:        
http://sourceforge.net/projects/guvcview/files/source/guvcview-src-%{version}.tar.gz
Patch3:         guvcview-2.0.4_ffmpeg-3.0.patch
BuildRequires:  alsa-devel
BuildRequires:  fdupes
BuildRequires:  gcc-c++
BuildRequires:  gettext
BuildRequires:  gsl-devel
BuildRequires:  gtk3-devel
BuildRequires:  intltool
BuildRequires:  libpng-devel
BuildRequires:  libpulse-devel
BuildRequires:  libudev-devel
BuildRequires:  libusb-1_0-devel
BuildRequires:  libv4l-devel
BuildRequires:  pkg-config
BuildRequires:  pkgconfig(libavcodec)
BuildRequires:  pkgconfig(libavutil)
BuildRequires:  pkgconfig(sdl2)
BuildRequires:  portaudio-devel
BuildRequires:  update-desktop-files
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
A GTK interface for capturing and viewing video from devices
supported by the Linux UVC driver, although it should also work with
any v4l2 compatible device.

%package -n libgviewaudio-%{sover}
Summary:        GTK+ UVC Viewer and Capturer
Group:          System/Libraries

%description -n libgviewaudio-%{sover}
A GTK interface for capturing and viewing video from devices
supported by the Linux UVC driver, although it should also work with
any v4l2 compatible device.

%package -n libgviewencoder-%{sover}
Summary:        GTK+ UVC Viewer and Capturer
Group:          System/Libraries

%description -n libgviewencoder-%{sover}
A GTK interface for capturing and viewing video from devices
supported by the Linux UVC driver, although it should also work with
any v4l2 compatible device.

%package -n libgviewrender-%{sover}
Summary:        GTK+ UVC Viewer and Capturer
Group:          System/Libraries

%description -n libgviewrender-%{sover}
A GTK interface for capturing and viewing video from devices
supported by the Linux UVC driver, although it should also work with
any v4l2 compatible device.

%package -n libgviewv4l2core-%{sover}
Summary:        GTK+ UVC Viewer and Capturer
Group:          System/Libraries

%description -n libgviewv4l2core-%{sover}
A GTK interface for capturing and viewing video from devices
supported by the Linux UVC driver, although it should also work with
any v4l2 compatible device.

%package devel
Summary:        GTK+ UVC Viewer and Capturer
Group:          Development/Libraries/C and C++
Requires:       libgviewaudio-%{sover} = %{version}-%{release}
Requires:       libgviewencoder-%{sover} = %{version}-%{release}
Requires:       libgviewrender-%{sover} = %{version}-%{release}
Requires:       libgviewv4l2core-%{sover} = %{version}-%{release}
Requires:       portaudio-devel
Requires:       alsa-devel
Requires:       glibc-devel
Requires:       libpulse-devel
Requires:       pkgconfig(libavcodec)
Requires:       pkgconfig(libavutil)
Requires:       gsl-devel
Requires:       libSDL2-devel
Requires:       libv4l-devel
Requires:       libudev-devel
Requires:       libusb-1_0-devel
Requires:       libpng-devel

%description devel
A GTK interface for capturing and viewing video from devices
supported by the Linux UVC driver, although it should also work with
any v4l2 compatible device.

%lang_package

%prep
%setup -q -n %{name}-src-%{version}
%patch3 -p1
chmod -x ChangeLog

%build
%configure --disable-debian-menu \
           --disable-desktop
make %{?_smp_mflags}

%install
%make_install
# Remove installed documentation
pushd %{buildroot}%{_datadir}/doc
rm -rf %{name}
popd
# Create desktop file as disabled during build
%suse_update_desktop_file -c %{name} "A video viewer and capturer for the linux 
uvc driver" %{name} %{name} %{name} AudioVideo AudioVideoEditing
pushd %{buildroot}%{_datadir}/pixmaps
cp %{name}/%{name}.png .
popd
%find_lang %{name} %{?no_lang_C}
%find_lang gview_v4l2core %{name}.lang %{?no_lang_C}
%fdupes %{buildroot}

rm -f %{buildroot}%{_libdir}/*.{la,a}

%if 0%{?suse_version} > 1130
%post
%desktop_database_post
%endif

%if 0%{?suse_version} > 1130
%postun
%desktop_database_postun
%endif

%post -n libgviewaudio-%{sover} -p /sbin/ldconfig
%postun -n libgviewaudio-%{sover} -p /sbin/ldconfig

%post -n libgviewencoder-%{sover} -p /sbin/ldconfig
%postun -n libgviewencoder-%{sover} -p /sbin/ldconfig

%post -n libgviewrender-%{sover} -p /sbin/ldconfig
%postun -n libgviewrender-%{sover} -p /sbin/ldconfig

%post -n libgviewv4l2core-%{sover} -p /sbin/ldconfig
%postun -n libgviewv4l2core-%{sover} -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING README.md
%{_bindir}/%{name}
%dir %{_datadir}/pixmaps/%{name}
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/pixmaps/%{name}/*.png
%{_datadir}/applications/%{name}.desktop
%{_mandir}/man1/*.gz

%files -n libgviewaudio-%{sover}
%defattr(-,root,root)
%{_libdir}/libgviewaudio-*.so.*

%files -n libgviewencoder-%{sover}
%defattr(-,root,root)
%{_libdir}/libgviewencoder-*.so.*

%files -n libgviewrender-%{sover}
%defattr(-,root,root)
%{_libdir}/libgviewrender-*.so.*

%files -n libgviewv4l2core-%{sover}
%defattr(-,root,root)
%{_libdir}/libgviewv4l2core-*.so.*

%files devel
%defattr(-,root,root)
%dir %{_includedir}/guvcview-2
%dir %{_includedir}/guvcview-2/libgviewaudio
%dir %{_includedir}/guvcview-2/libgviewencoder
%dir %{_includedir}/guvcview-2/libgviewrender
%dir %{_includedir}/guvcview-2/libgviewv4l2core
%{_includedir}/guvcview-2/libgviewaudio/gviewaudio.h
%{_includedir}/guvcview-2/libgviewencoder/gviewencoder.h
%{_includedir}/guvcview-2/libgviewrender/gviewrender.h
%{_includedir}/guvcview-2/libgviewv4l2core/gview.h
%{_includedir}/guvcview-2/libgviewv4l2core/gviewv4l2core.h
%{_libdir}/libgviewaudio.so
%{_libdir}/libgviewencoder.so
%{_libdir}/libgviewrender.so
%{_libdir}/libgviewv4l2core.so
%{_libdir}/pkgconfig/libgviewaudio.pc
%{_libdir}/pkgconfig/libgviewencoder.pc
%{_libdir}/pkgconfig/libgviewrender.pc
%{_libdir}/pkgconfig/libgviewv4l2core.pc

%files lang -f %{name}.lang

%changelog
++++++ guvcview-2.0.4_ffmpeg-3.0.patch ++++++
Index: guvcview-src-2.0.4/gview_v4l2core/jpeg_decoder.c
===================================================================
--- guvcview-src-2.0.4.orig/gview_v4l2core/jpeg_decoder.c
+++ guvcview-src-2.0.4/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.4/gview_v4l2core/uvc_h264.c
===================================================================
--- guvcview-src-2.0.4.orig/gview_v4l2core/uvc_h264.c
+++ guvcview-src-2.0.4/gview_v4l2core/uvc_h264.c
@@ -1036,7 +1036,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);

Reply via email to