The package rpms/dirac.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/dirac.git/commit/?id=cd2d008f368c....
Change:
-%ifarch x86_64 \
Thanks.
Full change:
============
commit cd2d008f368cac5b8e55737c6dedab0d03f363b6
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Tue Jul 17 12:38:11 2018 +0200
#Deprecated software - use libschrodinger instead
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index f78da9e..0000000
--- a/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-dirac-1.0.2.tar.gz
diff --git a/0001-Fix-uninitialised-memory-read-that-causes-the-encode.patch
b/0001-Fix-uninitialised-memory-read-that-causes-the-encode.patch
deleted file mode 100644
index 2b268aa..0000000
--- a/0001-Fix-uninitialised-memory-read-that-causes-the-encode.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-From 88fae6224b54ecf92ac6e3ae5083c3f352adc798 Mon Sep 17 00:00:00 2001
-From: Anuradha Suraparaju <anuradha(a)hoyle.rd.bbc.co.uk>
-Date: Fri, 17 Apr 2009 17:47:27 +1000
-Subject: [PATCH] Fix uninitialised memory read that causes the encoder to crash when
using
- non-overlapping blocks.
-
----
- libdirac_common/mot_comp.cpp | 21 +++++++++++++++------
- 1 files changed, 15 insertions(+), 6 deletions(-)
-
-diff --git a/libdirac_common/mot_comp.cpp b/libdirac_common/mot_comp.cpp
-index aa8d37c..e0ec2ff 100644
---- a/libdirac_common/mot_comp.cpp
-+++ b/libdirac_common/mot_comp.cpp
-@@ -306,6 +306,8 @@ void MotionCompensator::CompensateComponent( Picture* pic ,
-
- int save_from_row = m_bparams.Ybsep()-m_bparams.Yoffset();
-
-+ bool row_overlap = ((m_bparams.Yblen() - m_bparams.Ybsep()) > 0);
-+
- // unpadded picture dimensions
- const int x_end_data = pic_data_out.FirstX() + std::min(pic_data_out.LengthX(),
pic_size.x );
- const int y_end_data = pic_data_out.FirstY() + std::min(pic_data_out.LengthY(),
pic_size.y );
-@@ -489,12 +491,19 @@ void MotionCompensator::CompensateComponent( Picture* pic ,
- //Increment the block vertical position
- pos.y += m_bparams.Ybsep();
-
-- // Copy the rows required to motion compensate the next row of block.
-- // This is usually Yblen-Ybsep rows.
-- memmove (pic_data[0], pic_data[save_from_row], (m_bparams.Yblen() -
save_from_row)*pic_data.LengthX()*sizeof(ValueType));
-- memset( pic_data[m_bparams.Yblen() - save_from_row], 0,
save_from_row*pic_data.LengthX()*sizeof(ValueType) );
-- save_from_row = m_bparams.Ybsep();
--
-+ if (row_overlap)
-+ {
-+ // Copy the rows required to motion compensate the next row of
-+ // blocks. This is usually Yblen-Ybsep rows.
-+ memmove (pic_data[0], pic_data[save_from_row], (m_bparams.Yblen() -
save_from_row)*pic_data.LengthX()*sizeof(ValueType));
-+ memset( pic_data[m_bparams.Yblen() - save_from_row], 0,
save_from_row*pic_data.LengthX()*sizeof(ValueType) );
-+ save_from_row = m_bparams.Ybsep();
-+ }
-+ else
-+ {
-+ // no row overlap. So reset pic_data to 0.
-+ memset( pic_data[0], 0,
m_bparams.Yblen()*pic_data.LengthX()*sizeof(ValueType) );
-+ }
- }//yblock
-
- if ( m_add_or_sub == SUBTRACT)
---
-1.7.0.3
-
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..15e0740
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+#Deprecated software - use libschrodinger instead
diff --git a/dirac-1.0.2-backports.patch b/dirac-1.0.2-backports.patch
deleted file mode 100644
index 78d5e34..0000000
--- a/dirac-1.0.2-backports.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- libdirac_encoder/quant_chooser.cpp 2009/01/21 05:22:05 1.20
-+++ libdirac_encoder/quant_chooser.cpp 2010/05/09 04:38:31 1.21
-@@ -333,14 +333,14 @@
- void QuantChooser::SetSkip( CodeBlock& cblock , const int qidx)
- {
- const int u_threshold = dirac_quantiser_lists.QuantFactor4( qidx );
--
-+
- // Sets the skip flag for a codeblock
- bool can_skip = true;
- for (int j=cblock.Ystart(); j<cblock.Yend(); ++j )
- {
- for (int i=cblock.Xstart(); i<cblock.Xend(); ++i )
- {
-- if ( (std::abs(m_coeff_data[j][i])<<2) >= u_threshold )
-+ if ( (static_cast<int>(std::abs(m_coeff_data[j][i]))<<2) >=
u_threshold )
- can_skip = false;
- }
- }
-@@ -355,7 +355,7 @@
- {
- for (int i=node.Xp() ; i<node.Xp()+node.Xl(); ++i)
- {
-- val = std::max( val , std::abs(m_coeff_data[j][i]) );
-+ val = std::max( val , static_cast<int>(std::abs(m_coeff_data[j][i]))
);
- }// i
- }// j
-
diff --git a/dirac-snapshot.sh b/dirac-snapshot.sh
deleted file mode 100644
index 9e60cb8..0000000
--- a/dirac-snapshot.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/bash
-
-set -e
-
-tmp=$(mktemp -d)
-
-trap cleanup EXIT
-cleanup() {
- set +e
- [ -z "$tmp" -o ! -d "$tmp" ] || rm -rf "$tmp"
-}
-
-unset CDPATH
-pwd=$(pwd)
-cvs=$(date +%Y%m%d)
-
-pushd "$tmp"
-cvs -z3 -d:pserver:anonymous@dirac.cvs.sourceforge.net:/cvsroot/dirac co -P compress
-mv compress dirac-$cvs
-pushd dirac-$cvs
-find . -type d -name CVS -print0 | xargs -0r rm -rf
-autoreconf -fi && ./configure && make dist
-mv dirac-0.6.0.tar.gz "$pwd"/dirac-0.6.0-$cvs.tar.gz
-popd
-# tar jcf "$pwd"/dirac-$cvs.tar.bz2 dirac-$cvs
-popd >/dev/null
diff --git a/dirac.spec b/dirac.spec
deleted file mode 100644
index 2cca34c..0000000
--- a/dirac.spec
+++ /dev/null
@@ -1,271 +0,0 @@
-Name: dirac
-Version: 1.0.2
-Release: 25%{?dist}
-Summary: Dirac is an open source video codec
-
-Group: System Environment/Libraries
-License: MPLv1.1
-URL:
http://diracvideo.org
-Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
-Patch0: dirac-1.0.2-backports.patch
-Patch1: 0001-Fix-uninitialised-memory-read-that-causes-the-encode.patch
-
-BuildRequires: cppunit-devel
-BuildRequires: doxygen
-BuildRequires: graphviz-devel
-BuildRequires: perl-generators
-BuildRequires: tex-latex-bin
-BuildRequires: dvipdfm
-
-%description
-Dirac is an open source video codec. It uses a traditional hybrid video codec
-architecture, but with the wavelet transform instead of the usual block
-transforms. Motion compensation uses overlapped blocks to reduce block
-artefacts that would upset the transform coding stage.
-
-%package libs
-Summary: Libraries for %{name}
-Group: System Environment/Libraries
-
-%description libs
-This package contains libraries for %{name}.
-
-%package devel
-Summary: Development files for %{name}
-Group: Development/Libraries
-Requires: %{name}-libs = %{version}-%{release}
-Requires: pkgconfig
-
-%description devel
-This package contains development files for %{name}.
-
-%package docs
-Summary: Documentation for %{name}
-Group: Documentation
-
-%description docs
-This package contains documentation files for %{name}.
-
-
-%prep
-%setup -q
-%patch0 -p0
-%patch1 -p1
-install -pm 644 README README.Dirac
-install -pm 644 util/instrumentation/README README.instrumentation
-# fix permission mode for sources.
-find doc unit_tests util libdirac_encoder libdirac_byteio -type f -name \* -exec chmod
644 {} \;
-
-#Remove -Werror
-sed -i 's/-Werror//g' configure.ac configure
-
-
-%build
-%configure \
- --program-prefix=dirac_ \
- --program-transform-name=s,dirac_dirac_,dirac_, \
- --enable-overlay \
- --disable-static \
-%ifarch x86_64 \
- --enable-mmx=yes \
-%else \
- --enable-mmx=no \
-%endif
-
-# remove rpath from libtool (may be unneeded)
-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
-
-
-%install
-%make_install INSTALL="install -p"
-find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
-
-# Move doc in docdir macro
-mv $RPM_BUILD_ROOT%{_datadir}/doc/dirac __doc
-
-# Transform-name fix
-mv $RPM_BUILD_ROOT%{_bindir}/dirac_create_dirac_testfile.pl \
- $RPM_BUILD_ROOT%{_bindir}/create_dirac_testfile.pl
-sed -i -e 's|"RGBtoYUV"|"dirac_RGBtoYUV"|g'
$RPM_BUILD_ROOT%{_bindir}/create_dirac_testfile.pl
-sed -i -e 's|/home/guest/dirac-0.5.0/util/conversion|%{_bindir}|'
$RPM_BUILD_ROOT%{_bindir}/create_dirac_testfile.pl
-
-
-%post libs -p /sbin/ldconfig
-%postun libs -p /sbin/ldconfig
-
-%files
-%license COPYING
-%doc AUTHORS ChangeLog NEWS README.Dirac TODO
-%doc README.instrumentation
-%{_bindir}/create_dirac_testfile.pl
-%{_bindir}/dirac_*
-
-%files devel
-%{_includedir}/dirac/
-%{_libdir}/pkgconfig/dirac.pc
-%{_libdir}/libdirac_*.so
-
-%files docs
-%doc __doc/*
-
-%files libs
-%{_libdir}/libdirac_decoder.so.*
-%{_libdir}/libdirac_encoder.so.*
-
-
-%changelog
-* Thu Jul 12 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.2-25
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
-
-* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.2-24
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.2-23
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
-
-* Wed Jul 26 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.2-22
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
-
-* Sun May 14 2017 Nicolas Chauvet <kwizart(a)gmail.com> - 1.0.2-21
-- Rebuild for cppunit
-
-* Fri Feb 10 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.2-20
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
-
-* Sun Feb 14 2016 David Tardon <dtardon(a)redhat.com> - 1.0.2-19
-- rebuild for cppunit 1.13.2
-
-* Wed Feb 03 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.2-18
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
-
-* Wed Jun 17 2015 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.0.2-17
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
-
-* Sat May 02 2015 Kalev Lember <kalevlember(a)gmail.com> - 1.0.2-16
-- Rebuilt for GCC 5 C++11 ABI change
-
-* Sat Aug 16 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.0.2-15
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
-
-* Fri Jul 25 2014 Nicolas Chauvet <kwizart(a)gmail.com> - 1.0.2-14
-- Clear spec file - Fix texlive rhbz#1121434
-
-* Sat Jun 07 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.0.2-13
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
-
-* Sat Aug 03 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.0.2-12
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
-
-* Wed Jul 17 2013 Petr Pisar <ppisar(a)redhat.com> - 1.0.2-11
-- Perl 5.18 rebuild
-
-* Wed Feb 13 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.0.2-10
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
-
-* Wed Jul 18 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.0.2-9
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
-
-* Tue Feb 28 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.0.2-8
-- Rebuilt for c++ ABI breakage
-
-* Fri Jan 13 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.0.2-7
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
-
-* Fri Feb 11 2011 Nicolas Chauvet <kwizart(a)gmail.com> - 1.0.2-6
-- Backport Fix-uninitialised-memory-read
-- Disable -Werror - solve FTBFS with gcc46
-
-* Tue Feb 08 2011 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.0.2-5
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
-
-* Wed Dec 08 2010 Nicolas Chauvet <kwizart(a)gmail.com> - 1.0.2-4
-- Backport fix for gcc 4.5.0 - rhbz#660822
-
-* Fri Jul 24 2009 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.0.2-3
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
-
-* Tue Feb 24 2009 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.0.2-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
-
-* Thu Feb 12 2009 kwizart < kwizart at
gmail.com > - 1.0.2-1
-- Update to 1.0.2
-
-* Sun Sep 28 2008 kwizart < kwizart at
gmail.com > - 1.0.0-1
-- Update to 1.0.0
-
-* Mon Jul 7 2008 Tom "spot" Callaway <tcallawa(a)redhat.com> 0.10.0-2
-- fix conditional comparison
-
-* Sat Jun 21 2008 kwizart < kwizart at
gmail.com > - 0.10.0-1
-- Update to 0.10.0
-
-* Sat Feb 9 2008 kwizart < kwizart at
gmail.com > - 0.9.1-2
-- Rebuild for gcc43
-
-* Mon Jan 28 2008 kwizart < kwizart at
gmail.com > - 0.9.1-1
-- Update to 0.9.1
-
-* Fri Jan 4 2008 kwizart < kwizart at
gmail.com > - 0.8.0-3
-- Fix gcc43
-
-* Wed Oct 10 2007 kwizart < kwizart at
gmail.com > - 0.8.0-2
-- Fix perms
-
-* Wed Oct 10 2007 kwizart < kwizart at
gmail.com > - 0.8.0-1
-- Update to 0.8.0
-
-* Sun Aug 26 2007 kwizart < kwizart at
gmail.com > - 0.7.0-2
-- Rebuild for BuildID
-
-* Fri Jun 15 2007 kwizart < kwizart at
gmail.com > - 0.7.0-1
-- Update to 0.7.0
-
-* Sun Mar 25 2007 kwizart < kwizart at
gmail.com > - 0.6.0-9.20070325cvs
-- Update to cvs 20070325
-- Remove -Werror for CXXFLAGS and decoder
-- Fix perms and wrongs end of line encoding
-
-* Sun Mar 25 2007 kwizart < kwizart at
gmail.com > - 0.6.0-8.20070108cvs
-- Fix mmx only for x86_64
-- Fix ldconfig libs
-
-* Sat Mar 24 2007 kwizart < kwizart at
gmail.com > - 0.6.0-7.20070108cvs
-- Cleaned comment
-- Enabled dirac-libs for multi-libs
-- Enabled mmx on 64 bit
-- Fix Perl script create_dirac_testfile.pl
-
-* Sat Jan 20 2007 kwizart < kwizart at
gmail.com > - 0.6.0-6.20070108cvs
-- Change cvs order in release
-- Change package name libdirac -> dirac
-- Drop redundant BR
-- Move doc in docdir
-
-* Mon Jan 8 2007 kwizart < kwizart at
gmail.com > - 0.6.0-5.cvs20070108
-- Update to cvs 20070108 because of a dirac-snapshot corrections.
-- Disabled encoder qt4-gui
-(no more provided in the rebuilded package - will reenable later if needed!)
-
-* Fri Jan 5 2007 kwizart < kwizart at
gmail.com > - 0.6.0-4.cvs20070105
-- Update diract-snapshoot.sh
-- Update to cvs 20070105
-- Remove BR valgrind (is only requires for test-suite)
-- Try to Fix compile Flags
-- Exclude static seems better
-- Tweak the right FLAGs (drop debug and mmx)
-
-* Thu Jan 4 2007 kwizart < kwizart at
gmail.com > - 0.6.0-3.cvs20070104
-- Fix BR required and found by mock
-- Disable static
-- Update doxygen -u before generate doc.
-- Bootstrap during snapshot
-
-* Thu Jan 4 2007 kwizart < kwizart at
gmail.com > - 0.6.0-2.cvs20070104
-- Update to Release 0.6.0 with cvs 20070104
-- Enable dirac-qt4 gui
-
-* Tue Dec 12 2006 kwizart < kwizart at
gmail.com > - 0.6.0-1
-- Intitial release.
diff --git a/sources b/sources
deleted file mode 100644
index ebf2d84..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-a57c2c5e58062d437d9ab13dffb28f0f dirac-1.0.2.tar.gz