Date: Friday, August 28, 2020 @ 11:31:32
  Author: alucryd
Revision: 690566

archrelease: copy trunk to community-x86_64

Added:
  aegisub/repos/community-x86_64/PKGBUILD
    (from rev 690565, aegisub/trunk/PKGBUILD)
  aegisub/repos/community-x86_64/boost-1.68.patch
    (from rev 690565, aegisub/trunk/boost-1.68.patch)
  aegisub/repos/community-x86_64/icu59.patch
    (from rev 690565, aegisub/trunk/icu59.patch)
  aegisub/repos/community-x86_64/make-4.3.patch
    (from rev 690565, aegisub/trunk/make-4.3.patch)
Deleted:
  aegisub/repos/community-x86_64/PKGBUILD
  aegisub/repos/community-x86_64/boost-1.68.patch
  aegisub/repos/community-x86_64/icu59.patch
  aegisub/repos/community-x86_64/make-4.3.patch

------------------+
 PKGBUILD         |  169 ++++++++++++++++++++++++++---------------------------
 boost-1.68.patch |   68 ++++++++++-----------
 icu59.patch      |   22 +++---
 make-4.3.patch   |   46 +++++++-------
 4 files changed, 153 insertions(+), 152 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2020-08-28 11:31:24 UTC (rev 690565)
+++ PKGBUILD    2020-08-28 11:31:32 UTC (rev 690566)
@@ -1,84 +0,0 @@
-# Maintainer: Maxime Gauduin <[email protected]>
-# Contributor: kozec <[email protected]>
-# Contributor: Limao Luo <[email protected]>
-
-pkgname=aegisub
-pkgver=3.2.2
-pkgrel=39
-pkgdesc='A general-purpose subtitle editor with ASS/SSA support'
-arch=(x86_64)
-url=http://www.aegisub.org
-license=(
-  GPL
-  BSD
-)
-depends=(
-  alsa-lib
-  boost-libs
-  fftw
-  fontconfig
-  hunspell
-  icu
-  libass.so
-  libffms2.so
-  libgl
-  libpulse
-  wxgtk3
-  zlib
-)
-makedepends=(
-  boost
-  git
-  intltool
-  mesa
-)
-source=(
-  git+https://github.com/Aegisub/Aegisub.git#tag=v${pkgver}
-  boost-1.68.patch
-  icu59.patch
-  make-4.3.patch
-)
-sha256sums=(
-  SKIP
-  aa1689a2204f6a617000f3380b8dea9c3dca4f500d0643e05172750c49cc5a21
-  29d8cc91e73602d5e3c8517c977dcc77cb84af7d42787f510d487d0a6abf7fa6
-  1e350a04c152075b369176f8e0b7f691a792de0d5091568e2388e6bd677180e1
-)
-
-prepare() {
-  cd Aegisub
-
-  patch -Np1 -i ../boost-1.68.patch
-  sed 's|gil/gil_all.hpp|gil.hpp|g' -i src/*.cpp # boost 1.69
-  sed 's/$(LIBS_BOOST) $(LIBS_ICU)/$(LIBS_BOOST) $(LIBS_ICU) -pthread/' -i 
tools/Makefile # missing link flag
-  sed 's/^Exec=/Exec=env GDK_BACKEND=x11 /' -i 
packages/desktop/aegisub.desktop.template.in # fix running under wayland
-  patch -Np1 -i ../icu59.patch
-  patch -Np1 -i ../make-4.3.patch
-
-  ./autogen.sh
-}
-
-build() {
-  cd Aegisub
-
-  # http://site.icu-project.org/download/61#TOC-Migration-Issues
-  CPPFLAGS+=' -DU_USING_ICU_NAMESPACE=1'
-
-  ./configure \
-    --prefix=/usr \
-    --with-wx-config=/usr/bin/wx-config-gtk3 \
-    --without-{portaudio,openal,oss} \
-    --disable-update-checker
-  make
-}
-
-package() {
-  cd Aegisub
-
-  make DESTDIR="${pkgdir}" install
-
-  install -dm 755 "${pkgdir}"/usr/share/licenses/aegisub
-  install -m 644 LICENCE "${pkgdir}"/usr/share/licenses/aegisub/LICENSE
-}
-
-# vim: ts=2 sw=2 et:

Copied: aegisub/repos/community-x86_64/PKGBUILD (from rev 690565, 
aegisub/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2020-08-28 11:31:32 UTC (rev 690566)
@@ -0,0 +1,85 @@
+# Maintainer: Maxime Gauduin <[email protected]>
+# Contributor: kozec <[email protected]>
+# Contributor: Limao Luo <[email protected]>
+
+pkgname=aegisub
+pkgver=3.2.2
+pkgrel=40
+pkgdesc='A general-purpose subtitle editor with ASS/SSA support'
+arch=(x86_64)
+url=http://www.aegisub.org
+license=(
+  GPL
+  BSD
+)
+depends=(
+  alsa-lib
+  boost-libs
+  fftw
+  fontconfig
+  hunspell
+  icu
+  libass.so
+  libffms2.so
+  libgl
+  libpulse
+  wxgtk3
+  zlib
+)
+makedepends=(
+  boost
+  git
+  intltool
+  mesa
+)
+source=(
+  git+https://github.com/Aegisub/Aegisub.git?signed#tag=v${pkgver}
+  boost-1.68.patch
+  icu59.patch
+  make-4.3.patch
+)
+validpgpkeys=(6DD9508BCB1CE31AF295FF9B6A889F50A8B00C08) # Thomas Goyne 
<[email protected]>
+sha256sums=(
+  SKIP
+  aa1689a2204f6a617000f3380b8dea9c3dca4f500d0643e05172750c49cc5a21
+  29d8cc91e73602d5e3c8517c977dcc77cb84af7d42787f510d487d0a6abf7fa6
+  1e350a04c152075b369176f8e0b7f691a792de0d5091568e2388e6bd677180e1
+)
+
+prepare() {
+  cd Aegisub
+
+  patch -Np1 -i ../boost-1.68.patch
+  sed 's|gil/gil_all.hpp|gil.hpp|g' -i src/*.cpp # boost 1.69
+  sed 's/$(LIBS_BOOST) $(LIBS_ICU)/$(LIBS_BOOST) $(LIBS_ICU) -pthread/' -i 
tools/Makefile # missing link flag
+  sed 's/^Exec=/Exec=env GDK_BACKEND=x11 /' -i 
packages/desktop/aegisub.desktop.template.in # fix running under wayland
+  patch -Np1 -i ../icu59.patch
+  patch -Np1 -i ../make-4.3.patch
+
+  ./autogen.sh
+}
+
+build() {
+  cd Aegisub
+
+  # http://site.icu-project.org/download/61#TOC-Migration-Issues
+  CPPFLAGS+=' -DU_USING_ICU_NAMESPACE=1'
+
+  ./configure \
+    --prefix=/usr \
+    --with-wx-config=/usr/bin/wx-config-gtk3 \
+    --without-{portaudio,openal,oss} \
+    --disable-update-checker
+  make
+}
+
+package() {
+  cd Aegisub
+
+  make DESTDIR="${pkgdir}" install
+
+  install -dm 755 "${pkgdir}"/usr/share/licenses/aegisub
+  install -m 644 LICENCE "${pkgdir}"/usr/share/licenses/aegisub/LICENSE
+}
+
+# vim: ts=2 sw=2 et:

Deleted: boost-1.68.patch
===================================================================
--- boost-1.68.patch    2020-08-28 11:31:24 UTC (rev 690565)
+++ boost-1.68.patch    2020-08-28 11:31:32 UTC (rev 690566)
@@ -1,34 +0,0 @@
-From d8336d2fed73c72d1227b343d6acfb991bc1651b Mon Sep 17 00:00:00 2001
-From: Jan Beich <[email protected]>
-Date: Mon, 9 Jul 2018 20:15:29 +0000
-Subject: [PATCH] Keep using std::distance after Boost 1.68
-
-src/search_replace_engine.cpp:256:14: error: call to
-      'distance' is ambiguous
-                                count += distance(
-                                         ^~~~~~~~
-/usr/include/c++/v1/iterator:511:1: note: candidate function [with _InputIter =
-      boost::u32regex_iterator<std::__1::__wrap_iter<const char *> >]
-distance(_InputIter __first, _InputIter __last)
-^
-/usr/local/include/boost/iterator/distance.hpp:49:9: note: candidate function 
[with SinglePassIterator =
-      boost::u32regex_iterator<std::__1::__wrap_iter<const char *> >]
-        distance(SinglePassIterator first, SinglePassIterator last)
-        ^
----
- src/search_replace_engine.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/search_replace_engine.cpp b/src/search_replace_engine.cpp
-index 594c21e5e..14c71680d 100644
---- a/src/search_replace_engine.cpp
-+++ b/src/search_replace_engine.cpp
-@@ -253,7 +253,7 @@ bool SearchReplaceEngine::ReplaceAll() {
-                       if (MatchState ms = matches(&diag, 0)) {
-                               auto& diag_field = 
diag.*get_dialogue_field(settings.field);
-                               std::string const& text = diag_field.get();
--                              count += distance(
-+                              count += std::distance(
-                                       
boost::u32regex_iterator<std::string::const_iterator>(begin(text), end(text), 
*ms.re),
-                                       
boost::u32regex_iterator<std::string::const_iterator>());
-                               diag_field = u32regex_replace(text, *ms.re, 
settings.replace_with);

Copied: aegisub/repos/community-x86_64/boost-1.68.patch (from rev 690565, 
aegisub/trunk/boost-1.68.patch)
===================================================================
--- boost-1.68.patch                            (rev 0)
+++ boost-1.68.patch    2020-08-28 11:31:32 UTC (rev 690566)
@@ -0,0 +1,34 @@
+From d8336d2fed73c72d1227b343d6acfb991bc1651b Mon Sep 17 00:00:00 2001
+From: Jan Beich <[email protected]>
+Date: Mon, 9 Jul 2018 20:15:29 +0000
+Subject: [PATCH] Keep using std::distance after Boost 1.68
+
+src/search_replace_engine.cpp:256:14: error: call to
+      'distance' is ambiguous
+                                count += distance(
+                                         ^~~~~~~~
+/usr/include/c++/v1/iterator:511:1: note: candidate function [with _InputIter =
+      boost::u32regex_iterator<std::__1::__wrap_iter<const char *> >]
+distance(_InputIter __first, _InputIter __last)
+^
+/usr/local/include/boost/iterator/distance.hpp:49:9: note: candidate function 
[with SinglePassIterator =
+      boost::u32regex_iterator<std::__1::__wrap_iter<const char *> >]
+        distance(SinglePassIterator first, SinglePassIterator last)
+        ^
+---
+ src/search_replace_engine.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/search_replace_engine.cpp b/src/search_replace_engine.cpp
+index 594c21e5e..14c71680d 100644
+--- a/src/search_replace_engine.cpp
++++ b/src/search_replace_engine.cpp
+@@ -253,7 +253,7 @@ bool SearchReplaceEngine::ReplaceAll() {
+                       if (MatchState ms = matches(&diag, 0)) {
+                               auto& diag_field = 
diag.*get_dialogue_field(settings.field);
+                               std::string const& text = diag_field.get();
+-                              count += distance(
++                              count += std::distance(
+                                       
boost::u32regex_iterator<std::string::const_iterator>(begin(text), end(text), 
*ms.re),
+                                       
boost::u32regex_iterator<std::string::const_iterator>());
+                               diag_field = u32regex_replace(text, *ms.re, 
settings.replace_with);

Deleted: icu59.patch
===================================================================
--- icu59.patch 2020-08-28 11:31:24 UTC (rev 690565)
+++ icu59.patch 2020-08-28 11:31:32 UTC (rev 690566)
@@ -1,11 +0,0 @@
-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>

Copied: aegisub/repos/community-x86_64/icu59.patch (from rev 690565, 
aegisub/trunk/icu59.patch)
===================================================================
--- icu59.patch                         (rev 0)
+++ icu59.patch 2020-08-28 11:31:32 UTC (rev 690566)
@@ -0,0 +1,11 @@
+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>

Deleted: make-4.3.patch
===================================================================
--- make-4.3.patch      2020-08-28 11:31:24 UTC (rev 690565)
+++ make-4.3.patch      2020-08-28 11:31:32 UTC (rev 690566)
@@ -1,23 +0,0 @@
-From f4cc905c69ca69c68cb95674cefce4abc37ce046 Mon Sep 17 00:00:00 2001
-From: wangqr <[email protected]>
-Date: Mon, 17 Feb 2020 14:42:07 +0800
-Subject: [PATCH] Use target name without directory in $*_OBJ macro
-
-Fix Aegisub/Aegisub#171
----
- Makefile.target | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Makefile.target b/Makefile.target
-index 516ef3c24..5c4c5d259 100644
---- a/Makefile.target
-+++ b/Makefile.target
-@@ -112,7 +112,7 @@ POST_FLAGS = $($@_FLAGS) -c -o $@ $<
- # Libraries contain all object files they depend on (but they may depend on 
other files)
- # Not using libtool on OS X because it has an unsilenceable warning about a
- # compatibility issue with BSD 4.3 (wtf)
--lib%.a: $$($$*_OBJ)
-+lib%.a: $$($$(*F)_OBJ)
-       @$(BIN_MKDIR_P) $(dir $@)
-       $(BIN_AR) cru $@ $(filter %.o,$^)
-       $(BIN_RANLIB) $@

Copied: aegisub/repos/community-x86_64/make-4.3.patch (from rev 690565, 
aegisub/trunk/make-4.3.patch)
===================================================================
--- make-4.3.patch                              (rev 0)
+++ make-4.3.patch      2020-08-28 11:31:32 UTC (rev 690566)
@@ -0,0 +1,23 @@
+From f4cc905c69ca69c68cb95674cefce4abc37ce046 Mon Sep 17 00:00:00 2001
+From: wangqr <[email protected]>
+Date: Mon, 17 Feb 2020 14:42:07 +0800
+Subject: [PATCH] Use target name without directory in $*_OBJ macro
+
+Fix Aegisub/Aegisub#171
+---
+ Makefile.target | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.target b/Makefile.target
+index 516ef3c24..5c4c5d259 100644
+--- a/Makefile.target
++++ b/Makefile.target
+@@ -112,7 +112,7 @@ POST_FLAGS = $($@_FLAGS) -c -o $@ $<
+ # Libraries contain all object files they depend on (but they may depend on 
other files)
+ # Not using libtool on OS X because it has an unsilenceable warning about a
+ # compatibility issue with BSD 4.3 (wtf)
+-lib%.a: $$($$*_OBJ)
++lib%.a: $$($$(*F)_OBJ)
+       @$(BIN_MKDIR_P) $(dir $@)
+       $(BIN_AR) cru $@ $(filter %.o,$^)
+       $(BIN_RANLIB) $@

Reply via email to