Source: weechat Version: 2.7.1-1 Severity: serious User pkg-ruby-extras-maintain...@lists.alioth.debian.org Usertags: ruby2.7-transition
Dear Maintainer, We are removing ruby 2.5 support and src:weechat FTBFS against ruby 2.7, check this build log: https://buildd.debian.org/status/fetch.php?pkg=weechat&arch=amd64&ver=2.7.1-1%2Bb1&stamp=1584640456&raw=0 The attached debdiff adds ruby 2.7 support, fixing the FTBFS. Thanks for considering the patch! -- Lucas Kanashiro
diff -Nru weechat-2.7.1/debian/changelog weechat-2.7.1.new/debian/changelog --- weechat-2.7.1/debian/changelog 2020-03-09 11:59:31.000000000 -0300 +++ weechat-2.7.1.new/debian/changelog 2020-03-23 11:27:09.117206831 -0300 @@ -1,3 +1,11 @@ +weechat (2.7.1-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Add ruby2.7 support + + Add patch to allow cmake to search for ruby2.7 + + -- Lucas Kanashiro <lucas.kanash...@canonical.com> Mon, 23 Mar 2020 11:19:34 -0300 + weechat (2.7.1-1) unstable; urgency=medium * New upstream release diff -Nru weechat-2.7.1/debian/patches/04_ruby_27_support.patch weechat-2.7.1.new/debian/patches/04_ruby_27_support.patch --- weechat-2.7.1/debian/patches/04_ruby_27_support.patch 1969-12-31 21:00:00.000000000 -0300 +++ weechat-2.7.1.new/debian/patches/04_ruby_27_support.patch 2020-03-23 11:19:32.396243241 -0300 @@ -0,0 +1,25 @@ +Description: Add detection for Ruby 2.7 +Author: Lucas Kanashiro <lucas.kanash...@canonical.com> +Forwarded: https://github.com/weechat/weechat/pull/1455 +Last-Updated: 2020-03-03 + +--- a/cmake/FindRuby.cmake ++++ b/cmake/FindRuby.cmake +@@ -33,7 +33,7 @@ + + find_package(PkgConfig) + if(PKG_CONFIG_FOUND) +- pkg_search_module(RUBY ruby-2.6 ruby-2.5 ruby-2.4 ruby-2.3 ruby-2.2 ruby-2.1 ruby-2.0 ruby-1.9) ++ pkg_search_module(RUBY ruby-2.7 ruby-2.6 ruby-2.5 ruby-2.4 ruby-2.3 ruby-2.2 ruby-2.1 ruby-2.0 ruby-1.9) + endif() + + if(RUBY_FOUND) +@@ -41,7 +41,7 @@ + mark_as_advanced(RUBY_LIB) + else() + find_program(RUBY_EXECUTABLE +- NAMES ruby2.6.0 ruby260 ruby2.6 ruby2.5.0 ruby250 ruby2.5 ruby2.4.0 ruby240 ruby2.4 ruby2.3.0 ruby230 ruby2.3 ruby23 ruby2.2.3 ruby223 ruby2.2.2 ruby222 ruby2.2.1 ruby221 ruby2.2.0 ruby220 ruby2.2 ruby22 ruby2.1.7 ruby217 ruby2.1.6 ruby216 ruby2.1.5 ruby215 ruby2.1.4 ruby214 ruby2.1.3 ruby213 ruby2.1.2 ruby212 ruby2.1.1 ruby211 ruby2.1.0 ruby210 ruby2.1 ruby21 ruby2.0 ruby20 ruby1.9.3 ruby193 ruby1.9.2 ruby192 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby ++ NAMES ruby2.7.0 ruby270 ruby2.7 ruby2.6.0 ruby260 ruby2.6 ruby2.5.0 ruby250 ruby2.5 ruby2.4.0 ruby240 ruby2.4 ruby2.3.0 ruby230 ruby2.3 ruby23 ruby2.2.3 ruby223 ruby2.2.2 ruby222 ruby2.2.1 ruby221 ruby2.2.0 ruby220 ruby2.2 ruby22 ruby2.1.7 ruby217 ruby2.1.6 ruby216 ruby2.1.5 ruby215 ruby2.1.4 ruby214 ruby2.1.3 ruby213 ruby2.1.2 ruby212 ruby2.1.1 ruby211 ruby2.1.0 ruby210 ruby2.1 ruby21 ruby2.0 ruby20 ruby1.9.3 ruby193 ruby1.9.2 ruby192 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby + PATHS /usr/bin /usr/local/bin /usr/pkg/bin + ) + if(RUBY_EXECUTABLE) diff -Nru weechat-2.7.1/debian/patches/series weechat-2.7.1.new/debian/patches/series --- weechat-2.7.1/debian/patches/series 2020-03-09 11:59:31.000000000 -0300 +++ weechat-2.7.1.new/debian/patches/series 2020-03-23 11:18:42.728134596 -0300 @@ -1,3 +1,4 @@ 01_fix_asciidoctor_options.patch 02_fix_iconv_detection 03_fix_php_crash.patch +04_ruby_27_support.patch