[packages/aegisub] don't regenerate autotools files
atler
atler at pld-linux.org
Fri Aug 13 21:28:46 CEST 2021
commit 655add79d1276c9d06db4709322890a83ee36f9b
Author: Jan Palus <atler at pld-linux.org>
Date: Fri Aug 13 21:27:03 2021 +0200
don't regenerate autotools files
they appear to be too dated. the only reason to do that anyway was
cflags patch but that's easily handled with --disable-compiler-flags
instead.
aegisub.spec | 10 ++--------
cflags.patch | 22 ----------------------
2 files changed, 2 insertions(+), 30 deletions(-)
---
diff --git a/aegisub.spec b/aegisub.spec
index c3d119c..0af5272 100644
--- a/aegisub.spec
+++ b/aegisub.spec
@@ -20,15 +20,12 @@ Patch0: pthread.patch
Patch1: %{name}-icu.patch
Patch2: %{name}-icu64.patch
Patch3: %{name}-boost-1.70.patch
-Patch4: cflags.patch
-Patch5: make-4.3.patch
+Patch4: make-4.3.patch
URL: http://www.aegisub.org/
# AC_AGI_COMPILE tries to run test program which tries to open device and most likely fails
#BuildRequires: OpenAL-devel >= 0.0.8
BuildRequires: OpenGL-devel
BuildRequires: alsa-lib-devel
-BuildRequires: autoconf >= 2.57
-BuildRequires: automake
BuildRequires: boost-devel >= 1.50.0
%{?with_ffms2:BuildRequires: ffms2-devel >= 2.16}
BuildRequires: fftw3-devel >= 3.3
@@ -93,17 +90,14 @@ obsługa tych zaawansowanych funkcji.
%patch2 -p1
%patch3 -p1
%patch4 -p1
-%patch5 -p1
%{__mv} vendor{,.keep}
mkdir vendor
%{__mv} vendor.keep/{luabins,luajit,universalchardet} vendor
%build
-%{__aclocal} -I m4macros
-%{__autoconf}
-%{__autoheader}
%configure \
+ --disable-compiler-flags \
--disable-update-checker \
%{__with_without ffms2} \
--without-oss \
diff --git a/cflags.patch b/cflags.patch
deleted file mode 100644
index 4aa2ebc..0000000
--- a/cflags.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- aegisub-3.2.2/configure.ac~ 2014-12-08 01:07:09.000000000 +0100
-+++ aegisub-3.2.2/configure.ac 2020-03-18 14:58:15.307035878 +0100
-@@ -142,7 +142,7 @@
- CFLAGS="$CFLAGS -Wall -Wextra -Wno-unused-parameter -std=gnu99 -pipe -g"
- CXXFLAGS="$CXXFLAGS -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -pipe -g"
- AC_CXX_FLAG([-std=c++11])
-- AC_CXX_FLAG([-Wno-c++11-narrowing])
-+ AC_CXX_FLAG([-Wno-narrowing])
- AC_C_FLAG([-Wno-unused-local-typedefs])
- AC_CXX_FLAG([-Wno-unused-local-typedefs])
-
-@@ -151,8 +151,8 @@
- CFLAGS="$CFLAGS -O0"
- CXXFLAGS="$CXXFLAGS -O0"
- ], [
-- CFLAGS="$CFLAGS -O3"
-- CXXFLAGS="$CXXFLAGS -O3"
-+ CFLAGS="$CFLAGS"
-+ CXXFLAGS="$CXXFLAGS"
- ])
- ])
-
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/aegisub.git/commitdiff/655add79d1276c9d06db4709322890a83ee36f9b
More information about the pld-cvs-commit
mailing list