Hello community,

here is the log from the commit of package aegisub for openSUSE:Factory checked 
in at 2017-06-08 15:02:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/aegisub (Old)
 and      /work/SRC/openSUSE:Factory/.aegisub.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "aegisub"

Thu Jun  8 15:02:15 2017 rev:23 rq:501091 version:3.2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/aegisub/aegisub.changes  2017-03-24 
02:22:06.472216196 +0100
+++ /work/SRC/openSUSE:Factory/.aegisub.new/aegisub.changes     2017-06-08 
15:02:20.888569569 +0200
@@ -1,0 +2,11 @@
+Mon Jun  5 07:47:20 UTC 2017 - [email protected]
+
+- Add constraints file to allow paralel build
+- Add changelog to files list to ensure plain rpmbuild to work
+- Do not bundle luajit remove-vendor-luajit-dependency.patch
+- Disable the version checking, calling home in desktop apps is
+  really bad idea, esp since upstream is semi-dead
+- Add patch to fix build with icu59 icu59.patch
+- Add patch to not put O3 to the cflags aegisub-no-optimize.patch
+
+-------------------------------------------------------------------

New:
----
  _constraints
  aegisub-no-optimize.patch
  icu59.patch
  remove-vendor-luajit-dependency.patch

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

Other differences:
------------------
++++++ aegisub.spec ++++++
--- /var/tmp/diff_new_pack.mRR8kj/_old  2017-06-08 15:02:22.176387820 +0200
+++ /var/tmp/diff_new_pack.mRR8kj/_new  2017-06-08 15:02:22.184386691 +0200
@@ -17,7 +17,6 @@
 
 
 %bcond_with ffms2
-
 Name:           aegisub
 Version:        3.2.2
 Release:        0
@@ -26,21 +25,18 @@
 Group:          Productivity/Multimedia/Video/Editors and Convertors
 Url:            http://www.aegisub.net/
 Source0:        http://ftp.aegisub.org/pub/releases/aegisub-%{version}.tar.xz
+Source99:       aegisub.changes
 Patch0:         aegisub.build-compare.patch
 Patch1:         Makefile.inc.in.patch
+Patch2:         remove-vendor-luajit-dependency.patch
+Patch3:         icu59.patch
+Patch4:         aegisub-no-optimize.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
-%if 0%{?suse_version} > 1325
-BuildRequires:  libboost_filesystem-devel
-BuildRequires:  libboost_locale-devel
-BuildRequires:  libboost_regex-devel
-BuildRequires:  libboost_thread-devel
-%else
-BuildRequires:  boost-devel >= 1.50.0
-%endif
 BuildRequires:  gcc-c++
 BuildRequires:  intltool
-BuildRequires:  pkg-config >= 0.20
+BuildRequires:  lua51
+BuildRequires:  pkgconfig >= 0.20
 BuildRequires:  wxWidgets-devel >= 3
 BuildRequires:  pkgconfig(alsa)
 BuildRequires:  pkgconfig(fftw3) >= 3.3
@@ -49,12 +45,20 @@
 BuildRequires:  pkgconfig(hunspell) >= 1.2.0
 BuildRequires:  pkgconfig(libass)
 BuildRequires:  pkgconfig(libpulse) >= 0.5
-BuildRequires:  pkgconfig(lua) >= 5.1
+BuildRequires:  pkgconfig(luajit)
 BuildRequires:  pkgconfig(zlib)
+ExcludeArch:    ppc ppc64 ppc64le
+%if 0%{?suse_version} > 1325
+BuildRequires:  libboost_filesystem-devel
+BuildRequires:  libboost_locale-devel
+BuildRequires:  libboost_regex-devel
+BuildRequires:  libboost_thread-devel
+%else
+BuildRequires:  boost-devel >= 1.50.0
+%endif
 %if %{with ffms2}
 BuildRequires:  pkgconfig(ffms2)
 %endif
-ExcludeArch:    ppc ppc64 ppc64le
 
 %description
 Aegisub is an advanced subtitle editor for Windows, and UNIX-like systems, such
@@ -69,18 +73,21 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
 FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e 
%%Y')
 sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" src/version.cpp
 FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes 
'+%%H:%%M:%%S')
 sed -i "s/__TIME__/\"$FAKE_BUILDTIME\"/" src/version.cpp
 
 %build
-autoreconf -fi
-# Don't use --disable-update-checker because of 
http://blog.aegisub.org/2012/02/bit-of-statistics.html
-%configure --with-player-audio=PulseAudio \
+autoreconf -fvi
+%configure \
+    --disable-update-checker \
+    --with-player-audio=PulseAudio \
            --without-oss
-# parallel make takes too much memory 
-make -j1
+make %{?_smp_mflags}
 
 %install
 %make_install

++++++ _constraints ++++++
<constraints>
  <hardware>
    <physicalmemory>
      <size unit="M">4000</size>
    </physicalmemory>
  </hardware>
</constraints>
++++++ aegisub-no-optimize.patch ++++++
Index: aegisub-3.2.2/configure
===================================================================
--- aegisub-3.2.2.orig/configure
+++ aegisub-3.2.2/configure
@@ -5949,8 +5949,8 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
 else
 
-    CFLAGS="$CFLAGS -O3"
-    CXXFLAGS="$CXXFLAGS -O3"
+    CFLAGS="$CFLAGS"
+    CXXFLAGS="$CXXFLAGS"
 
 fi
 
Index: aegisub-3.2.2/configure.ac
===================================================================
--- aegisub-3.2.2.orig/configure.ac
+++ aegisub-3.2.2/configure.ac
@@ -151,8 +151,8 @@ AS_IF([test x$enable_compiler_flags != x
     CFLAGS="$CFLAGS -O0"
     CXXFLAGS="$CXXFLAGS -O0"
   ], [
-    CFLAGS="$CFLAGS -O3"
-    CXXFLAGS="$CXXFLAGS -O3"
+    CFLAGS="$CFLAGS"
+    CXXFLAGS="$CXXFLAGS"
   ])
 ])
 
++++++ icu59.patch ++++++
diff -upr aegisub-3.2.2.orig/src/utils.cpp aegisub-3.2.2/src/utils.cpp
--- aegisub-3.2.2.orig/src/utils.cpp    2014-12-08 02:07:09.000000000 +0200
+++ aegisub-3.2.2/src/utils.cpp 2017-04-26 11:11:15.438239182 +0300
@@ -44,6 +44,7 @@
 #include <boost/filesystem/path.hpp>
 #include <map>
 #include <unicode/locid.h>
+#include <unicode/unistr.h>
 #include <wx/clipbrd.h>
 #include <wx/filedlg.h>
 #include <wx/stdpaths.h>
++++++ remove-vendor-luajit-dependency.patch ++++++
Subject: vendor/luajit is removed in the Debian package
Author: Sebastian Reichel <[email protected]>
Forwarded: not-needed
Last-Update: 2014-08-06

--- a/header.mk
+++ b/header.mk
@@ -13,7 +13,6 @@
        tests \
        tools \
        vendor/luabins \
-       vendor/luajit \
        vendor/universalchardet
 
 subdirs := $(addprefix $(TOP),$(addsuffix /Makefile,$(subdirs)))
--- a/Makefile.inc.in
+++ b/Makefile.inc.in
@@ -78,7 +78,7 @@
 CFLAGS_ICU         = @ICU_I18N_CFLAGS@
 CFLAGS_LIBASS      = @LIBASS_CFLAGS@
 CFLAGS_LIBPULSE    = @LIBPULSE_CFLAGS@
-CFLAGS_LUA         = -I$(TOP)vendor/luajit/include
+CFLAGS_LUA         = `pkg-config --cflags luajit`
 CFLAGS_OPENAL      = @OPENAL_CFLAGS@
 CFLAGS_OSS         = @OSS_CFLAGS@
 CFLAGS_PORTAUDIO   = @PORTAUDIO_CFLAGS@
@@ -96,7 +96,7 @@
 LIBS_ICU           = @ICU_UC_LIBS@ @ICU_I18N_LIBS@
 LIBS_LIBASS        = @LIBASS_LIBS@
 LIBS_LIBPULSE      = @LIBPULSE_LIBS@
-LIBS_LUA           = $(TOP)vendor/luajit/src/libluajit.a
+LIBS_LUA           = `pkg-config --libs luajit`
 LIBS_OPENAL        = @OPENAL_LIBS@
 LIBS_PORTAUDIO     = @PORTAUDIO_LIBS@
 LIBS_PTHREAD       = @PTHREAD_LIBS@
--- a/src/Makefile
+++ b/src/Makefile
@@ -192,10 +192,10 @@
 $(d)subtitles_provider_libass.o_FLAGS   := $(CFLAGS_LIBASS) 
-Wno-c++11-narrowing
 $(d)text_file_reader.o_FLAGS            := -D_X86_
 $(d)video_provider_manager.o_FLAGS      := $(CFLAGS_FFMS2)
-$(d)auto4_lua.o_FLAGS                   := -I$(TOP)vendor/luajit/include
-$(d)auto4_lua_assfile.o_FLAGS           := -I$(TOP)vendor/luajit/include
-$(d)auto4_lua_dialog.o_FLAGS            := -I$(TOP)vendor/luajit/include
-$(d)auto4_lua_progresssink.o_FLAGS      := -I$(TOP)vendor/luajit/include
+$(d)auto4_lua.o_FLAGS                   := `pkg-config --cflags luajit`
+$(d)auto4_lua_assfile.o_FLAGS           := `pkg-config --cflags luajit`
+$(d)auto4_lua_dialog.o_FLAGS            := `pkg-config --cflags luajit`
+$(d)auto4_lua_progresssink.o_FLAGS      := `pkg-config --cflags luajit`
 
 $(src_OBJ): $(d)libresrc/bitmap.h $(d)libresrc/default_config.h
 
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -12,6 +12,4 @@
 
 PROGRAM += $(d)repack-thes-dict
 
-$(TOP)tools/respack.lua: $(TOP)vendor/luajit/src/host/minilua
-
 include $(TOP)Makefile.target
--- a/tools/respack.lua
+++ b/tools/respack.lua
@@ -1,4 +1,4 @@
-#!../vendor/luajit/src/host/minilua
+#!/usr/bin/lua
 -- Copyright (c) 2014, Thomas Goyne <[email protected]>
 --
 -- Permission to use, copy, modify, and distribute this software for any
--- a/src/libresrc/Makefile
+++ b/src/libresrc/Makefile
@@ -10,7 +10,7 @@
 
 $(resrc_OBJ): $(d)default_config.h $(d)bitmap.h $(d)default_config.cpp 
$(d)bitmap.cpp
 
-RESPACK := cd $(TOP)src/libresrc; $(TOP)vendor/luajit/src/host/minilua 
$(TOP)tools/respack.lua
+RESPACK := cd $(TOP)src/libresrc; $(TOP)tools/respack.lua
 
 $(d)bitmap.cpp: $(d)bitmap.h
 $(d)default_config.cpp: $(d)default_config.h

Reply via email to