[libva-intel-driver/el8] Disable appstream condition
by Nicolas Chauvet
commit 17ad3ce2b4db6a3b6706496329c01e80d7981442
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Jun 7 12:39:45 2019 +0200
Disable appstream condition
libva-intel-driver.spec | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/libva-intel-driver.spec b/libva-intel-driver.spec
index 1e84bfc..19ee516 100644
--- a/libva-intel-driver.spec
+++ b/libva-intel-driver.spec
@@ -17,10 +17,8 @@ ExclusiveArch: %{ix86} x86_64
BuildRequires: libtool
BuildRequires: python2
-%if 0%{?fedora} >= 28
# AppStream metadata generation
BuildRequires: libappstream-glib >= 0.6.3
-%endif
#Renamed when moved to 01.org
Provides: intel-vaapi-driver = %{version}-%{release}
@@ -74,13 +72,11 @@ find %{buildroot} -regex ".*\.la$" | xargs rm -f --
gendiff . .prebuilt
}
-%if 0%{?fedora} >= 28
# install AppData and add modalias provides
mkdir -p %{buildroot}%{_datadir}/appdata/
install -pm 0644 %{SOURCE1} %{buildroot}%{_datadir}/appdata/
fn=%{buildroot}%{_datadir}/appdata/intel-vaapi-driver.metainfo.xml
%{SOURCE9} src/i965_pciids.h | xargs appstream-util add-provide ${fn} modalias
-%endif
%files
5 years, 5 months
[libva-intel-driver/el8] Rebase for el8
by Nicolas Chauvet
commit c05d16ad0254cab4587a247c246755227d04e46c
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Jun 7 11:54:38 2019 +0200
Rebase for el8
libva-intel-driver.spec | 22 +++++-----------------
sources | 2 +-
2 files changed, 6 insertions(+), 18 deletions(-)
---
diff --git a/libva-intel-driver.spec b/libva-intel-driver.spec
index ba540e6..1e84bfc 100644
--- a/libva-intel-driver.spec
+++ b/libva-intel-driver.spec
@@ -1,8 +1,8 @@
#global _with_gen4asm 1
Name: libva-intel-driver
-Version: 2.3.0
-Release: 3%{?dist}
+Version: 2.1.0
+Release: 4%{?dist}
Summary: HW video decode support for Intel integrated graphics
License: MIT and EPL
URL: https://01.org/linuxmediag
@@ -91,26 +91,14 @@ fn=%{buildroot}%{_datadir}/appdata/intel-vaapi-driver.metainfo.xml
%changelog
-* Mon Mar 04 2019 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 2.3.0-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+* Fri Jun 07 2019 Nicolas Chauvet <kwizart(a)gmail.com> - 2.1.0-4
+- Rebuilt for el8
-* Wed Feb 13 2019 Nicolas Chauvet <kwizart(a)gmail.com> - 2.3.0-2
+* Wed Feb 13 2019 Nicolas Chauvet <kwizart(a)gmail.com> - 2.1.0-3
- Fix https://github.com/intel/intel-vaapi-driver/issues/419
Backport a patch to fix compatibility with mesa 18.3 in F29
Sent by Pete Walter <pwalter(a)fedoraproject.org>
-* Sat Jan 26 2019 Nicolas Chauvet <kwizart(a)gmail.com> - 2.3.0-1
-- Update to 2.3.0
-
-* Thu Oct 11 2018 Nicolas Chauvet <kwizart(a)gmail.com> - 2.2.0-3
-- Rebuilt for libva update
-
-* Thu Jul 26 2018 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 2.2.0-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
-
-* Fri Jul 13 2018 Nicolas Chauvet <kwizart(a)gmail.com> - 2.2.0-1
-- Update to 2.2.0
-
* Fri Mar 23 2018 Nicolas Chauvet <kwizart(a)gmail.com> - 2.1.0-2
- Add appstream support
diff --git a/sources b/sources
index 777a0c8..5714963 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d4fa6426863492066e90c2770819a158 libva-intel-driver-2.3.0.tar.gz
+0199c16372519294724a35b508906ea6 libva-intel-driver-2.1.0.tar.gz
5 years, 5 months
[libmpeg2/el8] Add gcc
by Nicolas Chauvet
commit e39b51943d3975f8bb6049b31703610182e487bc
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Jun 7 11:36:02 2019 +0200
Add gcc
libmpeg2.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libmpeg2.spec b/libmpeg2.spec
index f9f492b..ce9d957 100644
--- a/libmpeg2.spec
+++ b/libmpeg2.spec
@@ -7,7 +7,7 @@ License: GPLv2+
URL: http://libmpeg2.sourceforge.net
Source0: %{url}/files/libmpeg2-%{version}.tar.gz
-
+BuildRequires: gcc
BuildRequires: SDL-devel
BuildRequires: libXt-devel
BuildRequires: libXv-devel
5 years, 5 months
[libmpeg2/el8] Disable libtool
by Nicolas Chauvet
commit c43d1f06561256ea0a29ab519e946d81464ffea2
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Jun 7 11:32:56 2019 +0200
Disable libtool
libmpeg2.spec | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
---
diff --git a/libmpeg2.spec b/libmpeg2.spec
index 993adce..f9f492b 100644
--- a/libmpeg2.spec
+++ b/libmpeg2.spec
@@ -6,15 +6,14 @@ Summary: MPEG-2 decoder libraries
License: GPLv2+
URL: http://libmpeg2.sourceforge.net
Source0: %{url}/files/libmpeg2-%{version}.tar.gz
-# https://github.com/videolan/vlc/blob/master/contrib/src/libmpeg2/libmpeg2...
-Patch0: libmpeg2-inline.patch
+
BuildRequires: SDL-devel
BuildRequires: libXt-devel
BuildRequires: libXv-devel
# bootstrap deps
-BuildRequires: automake
-BuildRequires: libtool
+#BuildRequires: automake
+#BuildRequires: libtool
%description
@@ -41,17 +40,14 @@ developing applications that use %{name}.
%prep
%setup -q
-%patch0 -p1
-autoreconf -fiv
+#patch0 -p1
+#autoreconf -fiv
iconv -f ISO-8859-1 -t UTF-8 AUTHORS > AUTHORS.tmp
touch -r AUTHORS AUTHORS.tmp
cp -p -f AUTHORS.tmp AUTHORS
rm AUTHORS.tmp
-#Disable ppc altivec case
-sed -i -e 's/ppc-/noppc64-/' configure.ac configure
-sed -i -e 's/powerpc-/nopowerpc64-/' configure.ac configure
%build
%configure --disable-static \
5 years, 5 months
[faad2/el7] Workaround weird issue on el6
by Nicolas Chauvet
commit d03066478afb2f355f7405db3719f5b9d6a3d756
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Jun 7 11:27:25 2019 +0200
Workaround weird issue on el6
faad2.spec | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/faad2.spec b/faad2.spec
index 166187c..14f69d2 100644
--- a/faad2.spec
+++ b/faad2.spec
@@ -77,6 +77,7 @@ This package contains an input plugin for xmms.
%prep
%autosetup -p1
+
find . -name "*.c" -o -name "*.h" | xargs chmod 644
for f in AUTHORS COPYING ChangeLog NEWS README* TODO ; do
5 years, 5 months
[faad2/el6] Workaround weird issue on el6
by Nicolas Chauvet
commit 07bc04975ae29866bbc742dc413225b46109cc2d
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Jun 7 11:27:25 2019 +0200
Workaround weird issue on el6
faad2.spec | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/faad2.spec b/faad2.spec
index 166187c..14f69d2 100644
--- a/faad2.spec
+++ b/faad2.spec
@@ -77,6 +77,7 @@ This package contains an input plugin for xmms.
%prep
%autosetup -p1
+
find . -name "*.c" -o -name "*.h" | xargs chmod 644
for f in AUTHORS COPYING ChangeLog NEWS README* TODO ; do
5 years, 5 months
[libmpeg2/el8] Revert "libmpeg2 moved to Fedora - rhbz#5253"
by Nicolas Chauvet
commit 280e2a25284cf08938de091bb6c32b8e10f730f7
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Jun 7 11:25:21 2019 +0200
Revert "libmpeg2 moved to Fedora - rhbz#5253"
This reverts commit 6d1234c05d22be4595c3c5d96c72280146bd7438.
.gitignore | 1 +
dead.package | 1 -
libmpeg2-inline.patch | 10 ++++
libmpeg2.spec | 160 ++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
5 files changed, 172 insertions(+), 1 deletion(-)
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..74d4efb
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+libmpeg2-0.5.1.tar.gz
diff --git a/libmpeg2-inline.patch b/libmpeg2-inline.patch
new file mode 100644
index 0000000..c80ced7
--- /dev/null
+++ b/libmpeg2-inline.patch
@@ -0,0 +1,10 @@
+--- libmpeg2/configure.ac 2016-01-20 15:31:37.933547037 +0100
++++ libmpeg2.new/configure.ac 2016-01-20 15:05:40.931231465 +0100
+@@ -149,7 +149,6 @@
+
+ dnl Checks for typedefs, structures, and compiler characteristics.
+ AC_C_CONST
+-AC_C_ALWAYS_INLINE
+ AC_C_RESTRICT
+ AC_C_BUILTIN_EXPECT
+ AC_C_BIGENDIAN
diff --git a/libmpeg2.spec b/libmpeg2.spec
new file mode 100644
index 0000000..993adce
--- /dev/null
+++ b/libmpeg2.spec
@@ -0,0 +1,160 @@
+Name: libmpeg2
+Version: 0.5.1
+Release: 17%{?dist}
+Summary: MPEG-2 decoder libraries
+
+License: GPLv2+
+URL: http://libmpeg2.sourceforge.net
+Source0: %{url}/files/libmpeg2-%{version}.tar.gz
+# https://github.com/videolan/vlc/blob/master/contrib/src/libmpeg2/libmpeg2...
+Patch0: libmpeg2-inline.patch
+
+BuildRequires: SDL-devel
+BuildRequires: libXt-devel
+BuildRequires: libXv-devel
+# bootstrap deps
+BuildRequires: automake
+BuildRequires: libtool
+
+
+%description
+libmpeg2 is a free library for decoding mpeg-2 and mpeg-1 video
+streams. It is released under the terms of the GPL license.
+
+%package -n mpeg2dec
+Summary: MPEG-2 decoder program
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description -n mpeg2dec
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+%package devel
+Summary: Development files for %{name}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+
+%prep
+%setup -q
+%patch0 -p1
+autoreconf -fiv
+
+iconv -f ISO-8859-1 -t UTF-8 AUTHORS > AUTHORS.tmp
+touch -r AUTHORS AUTHORS.tmp
+cp -p -f AUTHORS.tmp AUTHORS
+rm AUTHORS.tmp
+
+#Disable ppc altivec case
+sed -i -e 's/ppc-/noppc64-/' configure.ac configure
+sed -i -e 's/powerpc-/nopowerpc64-/' configure.ac configure
+
+%build
+%configure --disable-static \
+%ifarch %{ix86} ppc
+ --disable-accel-detect \
+%endif
+
+# mpeg2dec have rpath
+# remove rpath from libtool
+sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+
+%{make_build} \
+%ifarch %{ix86}
+ OPT_CFLAGS="-fPIC -DPIC" \
+%else
+ OPT_CFLAGS="" \
+%endif
+
+
+%install
+%{make_install}
+find %{buildroot} -name '*.la' -exec rm -f {} ';'
+
+
+#Fix datatype internal definitions
+install -pm 0644 libmpeg2/mpeg2_internal.h \
+ %{buildroot}%{_includedir}/mpeg2dec/
+
+%ldconfig_scriptlets
+
+%files
+%doc AUTHORS ChangeLog NEWS README TODO
+%license COPYING
+%{_libdir}/*.so.*
+
+%files -n mpeg2dec
+%{_bindir}/corrupt_mpeg2
+%{_bindir}/extract_mpeg2
+%{_bindir}/mpeg2dec
+%{_mandir}/man1/*.1*
+
+%files devel
+%doc CodingStyle doc/libmpeg2.txt doc/sample*.c
+%{_includedir}/mpeg2dec/
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/libmpeg2.pc
+%{_libdir}/pkgconfig/libmpeg2convert.pc
+
+
+%changelog
+* Mon Mar 04 2019 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 0.5.1-17
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
+* Thu Jul 26 2018 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 0.5.1-16
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Sun Apr 29 2018 Leigh Scott <leigh123linux(a)googlemail.com> - 0.5.1-15
+- Add patch to fix inline warnings
+- Spec file clean up
+
+* Thu Mar 01 2018 RPM Fusion Release Engineering <leigh123linux(a)googlemail.com> - 0.5.1-14
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Thu Aug 31 2017 RPM Fusion Release Engineering <kwizart(a)rpmfusion.org> - 0.5.1-13
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Sun Mar 19 2017 RPM Fusion Release Engineering <kwizart(a)rpmfusion.org> - 0.5.1-12
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Sun Aug 31 2014 Sérgio Basto <sergio(a)serjux.com> - 0.5.1-11
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
+
+* Sun Mar 03 2013 Nicolas Chauvet <kwizart(a)gmail.com> - 0.5.1-10
+- Mass rebuilt for Fedora 19 Features
+
+* Wed Jan 25 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 0.5.1-9
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Sat Oct 17 2009 kwizart < kwizart at gmail.com > - 0.5.1-8
+- Rebuild for F-12
+
+* Wed Apr 8 2009 kwizart < kwizart at gmail.com > - 0.5.1-7
+- New attempt
+
+* Sun Mar 29 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.5.1-6
+- rebuild for new F11 features
+
+* Fri Mar 27 2009 kwizart < kwizart at gmail.com > - 0.5.1-5
+- Rebuild
+- Fix target_arch conditionals
+- Provides internal definitions mpeg2_internal.h
+- Disable ppc altivec optim (TODO improve asm optim later)
+
+* Sat Oct 4 2008 kwizart < kwizart at gmail.com > - 0.5.1-3
+- Fix CFLAGS on x86 producing selinux denials.
+
+* Wed Jul 30 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.5.1-2
+- rebuild for buildsys cflags issue
+
+* Fri Jul 18 2008 kwizart < kwizart at gmail.com > - 0.5.1-1
+- Update to 0.5.1
+
+* Tue Jul 15 2008 kwizart < kwizart at gmail.com > - 0.5.0-1
+- Initial package (based on mpeg2dec)
+
diff --git a/sources b/sources
new file mode 100644
index 0000000..2a1f40e
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+0f92c7454e58379b4a5a378485bbd8ef libmpeg2-0.5.1.tar.gz
5 years, 5 months
[faad2/el8] Conditionalize xmms
by Nicolas Chauvet
Summary of changes:
96fa6d8... Conditionalize xmms (*)
(*) This commit already existed in another branch; no separate mail sent
5 years, 5 months
[faad2] Conditionalize xmms
by Nicolas Chauvet
commit 96fa6d80686ce40132e70e1958a688aa0d4cb682
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Jun 7 11:17:45 2019 +0200
Conditionalize xmms
faad2.spec | 22 ++++++++++++++++++----
1 file changed, 18 insertions(+), 4 deletions(-)
---
diff --git a/faad2.spec b/faad2.spec
index 4eeda01..6333144 100644
--- a/faad2.spec
+++ b/faad2.spec
@@ -1,4 +1,7 @@
-%global xmmsinputplugindir %(xmms-config --input-plugin-dir 2>/dev/null)
+%if 0%{?fedora} || 0%{?el7}
+%global _with_xmms 1
+%global xmmsinputplugindir %(xmms-config --input-plugin-dir 2>/dev/null)
+%endif
Summary: Library and frontend for decoding MPEG2/4 AAC
Name: faad2
@@ -15,11 +18,17 @@ Patch1: fix_undefined_version.patch
Patch2: faad2-fix-overflows.patch
BuildRequires: gcc-c++
-BuildRequires: id3lib-devel
BuildRequires: libsysfs-devel
-BuildRequires: xmms-devel
+%{?_with_xmms:
+BuildRequires: id3lib-devel
+BuildRequires: xmms-devel
+}
BuildRequires: zlib-devel
+%{!?_with_xmms:
+Obsoletes: %{name}-xmms < %{version}-%{release}
+}
+
%description
FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder, completely
written from scratch.
@@ -44,6 +53,7 @@ written from scratch.
This package contains development files and documentation for libfaad.
+%{?_with_xmms:
%package -n xmms-%{name}
Summary: AAC XMMS Input Plugin
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
@@ -55,6 +65,7 @@ FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder, completely
written from scratch.
This package contains an input plugin for xmms.
+}
%prep
%autosetup -p1
@@ -62,7 +73,7 @@ This package contains an input plugin for xmms.
%build
%configure \
--disable-static \
- --with-xmms
+ %{?_with_xmms:--with-xmms}
# remove rpath from libtool
sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
@@ -95,13 +106,16 @@ find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
%{_includedir}/neaacdec.h
%{_libdir}/libfaad*.so
+%{?_with_xmms:
%files -n xmms-%{name}
%doc plugins/xmms/{AUTHORS,NEWS,ChangeLog,README,TODO}
%{xmmsinputplugindir}/libmp4.so
+}
%changelog
* Fri Jun 07 2019 Nicolas Chauvet <kwizart(a)gmail.com> - 1:2.8.8-6
- Fix overflows
+- Conditionalize xmms
* Mon Mar 04 2019 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 1:2.8.8-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
5 years, 5 months
[faad2/el6: 14/14] Merge branch 'el7' into el6
by Nicolas Chauvet
commit 7796a127347bf48a92f7ad3742d61eff6db577b6
Merge: 32fadcb 37d2efe
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Jun 7 11:03:00 2019 +0200
Merge branch 'el7' into el6
faad2-fix-overflows.patch | 25 ++++++++++++++++++++
faad2.spec | 60 +++++++++++++++++++++++++++++++----------------
2 files changed, 65 insertions(+), 20 deletions(-)
---
5 years, 5 months