tags 933784 + patch
thank you

I've attached a simple patch to address this issue.  Simply bumps the 
ruby-rouge 
revision. The change has already been made upstream[1], requiring only the
dependency version bump and targeting release 4.1.0 (at which time this patch
should be removed).

I was able to install this package properly on my unstable installation after
building with this patch.

[1] http://www.redmine.org/issues/31556

Stewart Ferguson
From 341b1f9b04199c20e64ed5c65fe30bba8af2ffaa Mon Sep 17 00:00:00 2001
From: Stewart Ferguson <s...@ferg.aero>
Date: Tue, 6 Aug 2019 19:01:57 +0200
Subject: [PATCH] Updating rouge dependency to 3.7.0 (Closes: #933784)

---
 debian/patches/rouge_3_7.patch | 26 ++++++++++++++++++++++++++
 debian/patches/series          |  1 +
 2 files changed, 27 insertions(+)
 create mode 100644 debian/patches/rouge_3_7.patch

diff --git a/debian/patches/rouge_3_7.patch b/debian/patches/rouge_3_7.patch
new file mode 100644
index 0000000..a6a6a5a
--- /dev/null
+++ b/debian/patches/rouge_3_7.patch
@@ -0,0 +1,26 @@
+Description: Updating rouge dependency to 3.7.0
+ Debian provides ruby-rouge 3.7.0 while redmine 4.0.4 requires ~>3.3.0.
+ Shortly after releasing 4.0.4 upstream updated rouge dependency to 3.7.0
+ with no further changes to the sources. Therefore it is safe to do the same
+ in Debian's release of 4.0.4.
+ .
+ This change is already applied in redmine release 4.1.0. This patch should be
+ removed when importing that version or higher.
+Author: Stewart Ferguson <s...@ferg.aero>
+Bug: http://www.redmine.org/issues/31556
+Forwarded: not-needed
+Applied-Upstream: 4.1.0
+Last-Update: 2019-08-06
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/Gemfile
++++ b/Gemfile
+@@ -3,7 +3,7 @@ source 'https://rubygems.org'
+ gem "bundler", ">= 1.5.0"
+ 
+ gem "rails", "~> 5.2.2"
+-gem "rouge", "~> 3.3.0"
++gem "rouge", "~> 3.7.0"
+ gem "request_store", "~> 1.1"
+ gem "mini_mime", "~> 1.0.1"
+ gem "actionpack-xml_parser"
diff --git a/debian/patches/series b/debian/patches/series
index 8178d32..a740184 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@
 0004-Add-multi-tenancy-support.patch
 0005-Assume-default-instance.patch
 use_system_jquery_libs.patch
+rouge_3_7.patch
-- 
2.23.0.rc1

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to