diff --git a/debian/control b/debian/control index 6174cf57cd29f28d8dfb7fcc9ac495652be46537..2ade2091f06f40ca50984ba2c71da450622cd849 100644 --- a/debian/control +++ b/debian/control @@ -32,7 +32,7 @@ Build-Depends: dbconfig-common, ruby-rmagick (>= 2.14.0~), ruby-roadie (>= 3.2.2~), ruby-roadie-rails (>= 1.3.0~), - ruby-rouge (>= 3.3.0~) + ruby-rouge (>= 3.7.0~) Build-Depends-Indep: po-debconf Standards-Version: 4.3.0 Vcs-Browser: https://salsa.debian.org/ruby-team/redmine @@ -71,7 +71,7 @@ Depends: dbconfig-common, ruby-rmagick (>= 2.14.0~), ruby-roadie (>= 3.2.2~), ruby-roadie-rails (>= 1.3.0~), - ruby-rouge (>= 3.3.0~), + ruby-rouge (>= 3.7.0~), libjs-jquery, libjs-jquery-ui, libjs-raphael, diff --git a/debian/patches/rouge_3_7.patch b/debian/patches/rouge_3_7.patch new file mode 100644 index 0000000000000000000000000000000000000000..a6a6a5a124036b9abfe09d5ff75f5c25fff6318e --- /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 <stew@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 8178d3279357390207d2f3503095b84feae7fdb2..a740184bca475d305786df52639ad31ae17bdbea 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