Sync from SUSE:SLFO:Main libXvMC revision efbc5d9cee5d4981121be33216e2500b

This commit is contained in:
Adrian Schröter 2024-05-03 14:30:07 +02:00
commit a9cd093b69
5 changed files with 222 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

4
baselibs.conf Normal file
View File

@ -0,0 +1,4 @@
libXvMC1
libXvMC-devel
requires -libXvMC-<targettype>
requires "libXvMC1-<targettype> = <version>"

BIN
libXvMC-1.0.13.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

87
libXvMC.changes Normal file
View File

@ -0,0 +1,87 @@
-------------------------------------------------------------------
Sat Mar 26 18:17:05 UTC 2022 - Stefan Dirsch <sndirsch@suse.com>
- Update to version 1.0.13
* autotools: fix Requires and Requires.Private in pkgconfig
* meson: Add a meson build system
* meson: Fix typo
* editorconfig: add meson
* Fix spelling/wording issues
* Build xz tarballs instead of bzip2
- supersedes n_bring-back-libXv-dep.patch
-------------------------------------------------------------------
Sun Oct 20 18:24:27 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Add conflicts for old xorgproto-devel, X11/extensions/vldXvMC.h
was moved to libXvMC-devel.
-------------------------------------------------------------------
Mon Sep 30 09:54:48 UTC 2019 - Stefan Dirsch <sndirsch@suse.com>
- Update to version 1.0.12
* This release fixes the pkgconfig data to not refer to libXv,
adds a pkgconfig file for libXvMCW, and prepares for a future
xorgproto release. There should be no functional changes.
- n_bring-back-libXv-dep.patch
* fixes build of Mesa's xvmc gallium driver, since that
references in XvMCCreateContex also XvQueryAdaptors,
XvFreeAdaptorInfo and XvFreeAdaptorInfo
-------------------------------------------------------------------
Fri Mar 22 11:21:33 UTC 2019 - Stefan Dirsch <sndirsch@suse.com>
- Update to version 1.0.11
* autogen: add default patch prefix
* autogen.sh: use quoted string variables
* autogen.sh: use exec instead of waiting for configure to finish
* Update configure.ac bug URL for gitlab migration
* Need to check for -1, not 0, to determine if shmat() failed
* Fix sign comparison warnings for loop indexes
* Fix handling of shmKey in XvMCGetDRInfo
* Update README for gitlab migration
-------------------------------------------------------------------
Fri Oct 28 23:51:46 UTC 2016 - tobias.johannes.klausmann@mni.thm.de
- Update to version 1.0.10:
+ Avoid buffer underflow on empty strings.
-------------------------------------------------------------------
Sat Mar 21 20:31:13 UTC 2015 - sndirsch@suse.com
- added baselibs.conf as source to specfile
-------------------------------------------------------------------
Fri Mar 20 21:13:07 UTC 2015 - tobias.johannes.klausmann@mni.thm.de
- Update to version 1.0.9:
+ Require ANSI C89 pre-processor, drop pre-C89 token pasting support
+ Rename local err variable in XW_RSYM macro to avoid shadow warnings
+ Remove fallback for _XEatDataWords, require libX11 1.6 for it
+ Fix linking with -Wl,--no-undefined on Linux
-------------------------------------------------------------------
Fri Jun 14 12:28:11 UTC 2013 - tobias.johannes.klausmann@mni.thm.de
- Update to version 1.0.8:
This bug fix release provides the fixes for the recently announced security
issues CVE-2013-1990 & CVE-2013-1999, and the fixes for the bugs introduced
in the initial set of patches for those security issues.
-------------------------------------------------------------------
Sun Feb 17 17:21:53 UTC 2013 - jengelh@inai.de
- Use more robust make install call
-------------------------------------------------------------------
Wed Apr 11 15:45:33 UTC 2012 - vuntz@opensuse.org
- Update to version 1.0.7:
+ Janitorial cleanups
+ Build configuration improvements
-------------------------------------------------------------------
Tue Feb 7 22:17:49 UTC 2012 - jengelh@medozas.de
- Split xorg-x11-libs into separate packages

105
libXvMC.spec Normal file
View File

@ -0,0 +1,105 @@
#
# spec file for package libXvMC
#
# Copyright (c) 2022 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: libXvMC
%define lname libXvMC1
Version: 1.0.13
Release: 0
Summary: X-Video Motion Compensation library
License: MIT
Group: Development/Libraries/C and C++
URL: http://xorg.freedesktop.org/
#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libXvMC
#Git-Web: http://cgit.freedesktop.org/xorg/lib/libXvMC/
Source: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.xz
Source1: baselibs.conf
#git#BuildRequires: autoconf >= 2.60, automake, libtool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(videoproto)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xextproto)
BuildRequires: pkgconfig(xorg-macros) >= 1.8
BuildRequires: pkgconfig(xv)
%description
X-Video Motion Compensation (XvMC), is an extension of the X video
extension (Xv) for the X Window System. The XvMC API allows video
programs to offload portions of the video decoding process to the GPU
video-hardware.
%package -n %lname
Summary: X-Video Motion Compensation library
Group: System/Libraries
%description -n %lname
X-Video Motion Compensation (XvMC), is an extension of the X video
extension (Xv) for the X Window System. The XvMC API allows video
programs to offload portions of the video decoding process to the GPU
video-hardware.
The supported portions to be offloaded by XvMC onto the GPU are
motion compensation (mo comp) and inverse discrete cosine transform
(iDCT) for MPEG-2 video. XvMC also supports offloading decoding of mo
comp, iDCT, and VLD (Variable-Length Decoding) for MPEG-2/MPEG-4-ASP.
%package devel
Summary: Development files for the X-Video Motion Compensation library
Group: Development/Libraries/C and C++
Requires: %lname = %version
Conflicts: xorgproto-devel < 2019.2
Provides: xorgproto-devel:%{_includedir}/X11/extensions/vldXvMC.h
%description devel
X-Video Motion Compensation (XvMC), is an extension of the X video
extension (Xv) for the X Window System. The XvMC API allows video
programs to offload portions of the video decoding process to the GPU
video-hardware.
This package contains the development headers for the library found
in %lname.
%prep
%setup -q
%build
%configure --docdir=%_docdir/%name --disable-static
make %{?_smp_mflags}
%install
make install DESTDIR="%buildroot"
rm -f "%buildroot/%_libdir"/*.la
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n %lname
%defattr(-,root,root)
%_libdir/libXvMC*.so.1*
%files devel
%defattr(-,root,root)
%_includedir/X11/*
%_libdir/libXvMC*.so
%_libdir/pkgconfig/xvmc.pc
%_libdir/pkgconfig/xvmc-wrapper.pc
%_docdir/%name
%changelog