New Upstream Release - ruby-ncurses
Ready changes
Summary
Merged new upstream version: 1.4.10 (was: 1.4.9).
Resulting package
Built on 2022-05-20T18:33 (took 3m9s)
The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:
apt install -t fresh-releases ruby-ncurses-dbgsymapt install -t fresh-releases ruby-ncurses
Lintian Result
Diff
diff --git a/debian/changelog b/debian/changelog
index 4fd09ab..c3d4729 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-ruby-ncurses (1.4.9-2) UNRELEASED; urgency=medium
+ruby-ncurses (1.4.10-1) UNRELEASED; urgency=medium
[ Utkarsh Gupta ]
* Add salsa-ci.yml
@@ -17,8 +17,9 @@ ruby-ncurses (1.4.9-2) UNRELEASED; urgency=medium
* Use canonical URL in Vcs-Git.
* Set upstream metadata fields: Bug-Submit.
* Bump debhelper from old 12 to 13.
+ * New upstream release.
- -- Utkarsh Gupta <guptautkarsh2102@gmail.com> Tue, 13 Aug 2019 06:09:32 +0530
+ -- Utkarsh Gupta <guptautkarsh2102@gmail.com> Fri, 20 May 2022 18:30:58 -0000
ruby-ncurses (1.4.9-1) unstable; urgency=medium
diff --git a/debian/patches/0002-Absolute-path-to-ruby-interpreter.patch b/debian/patches/0002-Absolute-path-to-ruby-interpreter.patch
index 9726a51..6ac09d4 100644
--- a/debian/patches/0002-Absolute-path-to-ruby-interpreter.patch
+++ b/debian/patches/0002-Absolute-path-to-ruby-interpreter.patch
@@ -2,8 +2,10 @@ Description: Absolute path to ruby interpreter
Author: Per Andersson <avtobiff@gmail.com>
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- a/examples/color_pairs.rb
-+++ b/examples/color_pairs.rb
+Index: ruby-ncurses/examples/color_pairs.rb
+===================================================================
+--- ruby-ncurses.orig/examples/color_pairs.rb
++++ ruby-ncurses/examples/color_pairs.rb
@@ -1,4 +1,4 @@
-#! ruby
+#!/usr/bin/ruby
diff --git a/extconf.rb b/extconf.rb
index 0e355d7..078b7cd 100644
--- a/extconf.rb
+++ b/extconf.rb
@@ -25,6 +25,13 @@ require "mkmf"
$CFLAGS += " -g -Wformat -Werror=format-security -Waddress"
+if find_executable('pkg-config')
+ $CFLAGS += ' ' + `pkg-config --cflags ncursesw`.strip
+ $LDFLAGS += ' ' + `pkg-config --libs ncursesw`.strip
+end
+
+dir_config("ncurses")
+
have_header("unistd.h")
have_header("locale.h")
@@ -42,6 +49,9 @@ end
if have_library("ncursesw", "wmove")
curses_lib = "ncursesw"
+elsif have_library("ncurses", "add_wch")
+ curses_lib = "ncurses"
+ curses_is_wide = true
elsif have_library("pdcurses", "wmove")
curses_lib = "pdcurses"
else
@@ -140,7 +150,8 @@ end
puts "checking for the form library..."
if have_header("form.h") or have_header("ncursesw/form.h")
- if not have_library("formw", "new_form")
+ if not have_library("formw", "new_form") ||
+ (curses_is_wide && have_library("form", "new_form"))
raise "formw library not found"
end
else
@@ -183,4 +194,3 @@ have_header("sys/time.h")
$CXXFLAGS = $CFLAGS
create_makefile('ncursesw_bin')
-
diff --git a/ncursesw.gemspec b/ncursesw.gemspec
index 49fc89d..79f2f34 100644
--- a/ncursesw.gemspec
+++ b/ncursesw.gemspec
@@ -6,7 +6,7 @@ SUMMARY = 'This wrapper provides access to the functions, macros, global variabl
spec = Gem::Specification.new do |s|
s.name = 'ncursesw'
- s.version = '1.4.9'
+ s.version = '1.4.10'
s.license = 'LGPL-2.1'
s.platform = Gem::Platform::RUBY
s.authors = ['Tobias Herzke', 'Sup developers']
Debdiff
[The following lists of changes regard files as different if they have different names, permissions or owners.]
Files in second set of .debs but not in first
-rw-r--r-- root/root /usr/lib/debug/.build-id/be/d16666b0aa440cac51a8920f2455c1bf91cc00.debug -rw-r--r-- root/root /usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/3.0.0/ncursesw_bin.so -rw-r--r-- root/root /usr/share/rubygems-integration/3.0.0/specifications/ncursesw-1.4.10.gemspec
Files in first set of .debs but not in second
-rw-r--r-- root/root /usr/lib/debug/.build-id/a4/80e2fc84936ee896697531d6480785907ee056.debug -rw-r--r-- root/root /usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/3.1.0/ncursesw_bin.so -rw-r--r-- root/root /usr/share/rubygems-integration/3.1.0/specifications/ncursesw-1.4.9.gemspec
Control files of package ruby-ncurses: lines which differ (wdiff format)
Depends: ruby | ruby-interpreter, (>= 1:3.0~0), libc6 (>= 2.17), libncurses6 (>= 6), libncursesw6 (>= 6), libtinfo6 (>= 6), libruby3.1 (>= 3.1.0~preview1), libruby libruby3.0 (>= 1:3.1~0), libruby 3.0.0~preview1), ruby (<< 1:3.2~) 1:3.1~)
Ruby-Versions: ruby3.0
Control files of package ruby-ncurses-dbgsym: lines which differ (wdiff format)
Build-Ids: a480e2fc84936ee896697531d6480785907ee056 bed16666b0aa440cac51a8920f2455c1bf91cc00
Ruby-Versions: ruby3.0