Package: aegisub
Version: 3.2.2+dfsg-5
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: boost1.71

Dear Maintainer,

your package fails to build with boost1.71. You can find a build log
attached. If you want to attempt the build yourself, an updated version
of boost-defaults which brings in boost1.71 dependencies can be found
adding this line to your sources.list file:

  deb https://people.debian.org/~gio/reprepro gio main

This bug has severity whishlist for the moment, but it will raised to RC
as soon as version 1.71 of Boost is promoted to default.

More specifically, your package fails building because it uses the
deprecated header boost/gil/gil_all.hpp.

Please consider applying the attached patch as soon as possible, which
should fix the problem.

Thanks and all the best, Giovanni.
-- 
Giovanni Mascellani <[email protected]>
Postdoc researcher - Université Libre de Bruxelles

From 3d940069289ccc3adcf5e7544c0af61543ad5b9e Mon Sep 17 00:00:00 2001
From: Giovanni Mascellani <[email protected]>
Date: Sat, 4 Jan 2020 10:39:02 +0100
Subject: [PATCH] Fix compilation with Boost 1.71.

---
 ...0018-Fix-compilation-with-Boost-1.71.patch | 65 +++++++++++++++++++
 debian/patches/series                         |  1 +
 2 files changed, 66 insertions(+)
 create mode 100644 debian/patches/0018-Fix-compilation-with-Boost-1.71.patch

diff --git a/debian/patches/0018-Fix-compilation-with-Boost-1.71.patch b/debian/patches/0018-Fix-compilation-with-Boost-1.71.patch
new file mode 100644
index 0000000..ee7c564
--- /dev/null
+++ b/debian/patches/0018-Fix-compilation-with-Boost-1.71.patch
@@ -0,0 +1,65 @@
+From: Giovanni Mascellani <[email protected]>
+Date: Sat, 4 Jan 2020 10:36:17 +0100
+Subject: Fix compilation with Boost 1.71.
+
+Header gil_all.hpp does not exist anymore. This patch uses gil.hpp
+instead.
+---
+ src/colour_button.cpp             | 2 +-
+ src/subtitles_provider_libass.cpp | 2 +-
+ src/video_frame.cpp               | 2 +-
+ src/video_provider_dummy.cpp      | 2 +-
+ 4 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/src/colour_button.cpp b/src/colour_button.cpp
+index f985e62..d176aaa 100644
+--- a/src/colour_button.cpp
++++ b/src/colour_button.cpp
+@@ -18,7 +18,7 @@
+ 
+ #include "dialogs.h"
+ 
+-#include <boost/gil/gil_all.hpp>
++#include <boost/gil.hpp>
+ 
+ wxDEFINE_EVENT(EVT_COLOR, wxThreadEvent);
+ 
+diff --git a/src/subtitles_provider_libass.cpp b/src/subtitles_provider_libass.cpp
+index 3dc047e..1afd441 100644
+--- a/src/subtitles_provider_libass.cpp
++++ b/src/subtitles_provider_libass.cpp
+@@ -50,7 +50,7 @@
+ #include <libaegisub/util.h>
+ 
+ #include <atomic>
+-#include <boost/gil/gil_all.hpp>
++#include <boost/gil.hpp>
+ #include <memory>
+ #include <mutex>
+ 
+diff --git a/src/video_frame.cpp b/src/video_frame.cpp
+index 6100058..c51f929 100644
+--- a/src/video_frame.cpp
++++ b/src/video_frame.cpp
+@@ -16,7 +16,7 @@
+ 
+ #include "video_frame.h"
+ 
+-#include <boost/gil/gil_all.hpp>
++#include <boost/gil.hpp>
+ #include <wx/image.h>
+ 
+ namespace {
+diff --git a/src/video_provider_dummy.cpp b/src/video_provider_dummy.cpp
+index 39eb69e..71a4424 100644
+--- a/src/video_provider_dummy.cpp
++++ b/src/video_provider_dummy.cpp
+@@ -46,7 +46,7 @@
+ #include <boost/algorithm/string/split.hpp>
+ #include <boost/filesystem/path.hpp>
+ #include <libaegisub/format.h>
+-#include <boost/gil/gil_all.hpp>
++#include <boost/gil.hpp>
+ 
+ DummyVideoProvider::DummyVideoProvider(double fps, int frames, int width, int height, agi::Color colour, bool pattern)
+ : framecount(frames)
diff --git a/debian/patches/series b/debian/patches/series
index fd132da..2355a92 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -15,3 +15,4 @@ add-icu-prefix.patch
 simplify-version.patch
 add-keywords-desktop.patch
 fix-crash-spell-language.patch
+0018-Fix-compilation-with-Boost-1.71.patch
-- 
2.25.0.rc1

Attachment: aegisub.log.gz
Description: application/gzip

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to