Package: flvtool2
Version: 1.0.6-4
Severity: important
Tags: patch

Hi,

Your package is built using the obsolete "setup.rb" framework, and
depends on the ruby1.8.

Ruby1.8 is scheduled to be removed before the Jessie release. You can
apply the patch I am inlining here to make it work under Ruby1.9.1
(which will be Jessie's default), but you should also look into making
it not depend on a specific version of the Ruby interpreter, to ease
the migration for the 2.0 release (which is already packaged in
Debian, and will most probably be the default in Jessie+1).

I did just a very basic check that the packaged continued to function
(just called it from the command line, didn't specify any real work to
be performed).

Thanks,

------------------------------------------------------------

diff --git a/debian/control b/debian/control
index 460856b..b16d9da 100644
--- a/debian/control
+++ b/debian/control
@@ -2,13 +2,13 @@ Source: flvtool2
 Section: utils
 Priority: extra
 Maintainer: Todd Troxell <ttrox...@debian.org>
-Build-Depends: debhelper (>= 5), ruby1.8
+Build-Depends: debhelper (>= 5), ruby1.9.1
 Standards-Version: 3.7.2
 XS-Vcs-Hg: http://code.rapidpacket.com/flvtool2/
 
 Package: flvtool2
 Architecture: any
-Depends: ruby1.8
+Depends: ruby1.9.1
 Description: a manipulation tool for flash video files
  flvtool2 can display and modify various metadata on flash video files
  It can also add cue points, cut, and debug flv files.  It can output
diff --git a/debian/rules b/debian/rules
index 351ddad..e2e09fc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-RUBY="/usr/bin/ruby1.8"
+RUBY="/usr/bin/ruby1.9.1"
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
        CFLAGS += -O0
@@ -14,8 +14,8 @@ endif
 configure: configure-stamp
 configure-stamp:
        dh_testdir
-       #$(RUBY) setup.rb config --libdir=/usr/lib/ruby/1.8/
-       $(RUBY) setup.rb config --siterubyver=/usr/lib/ruby/1.8/
+       #$(RUBY) setup.rb config --libdir=/usr/lib/ruby/1.9.1/
+       $(RUBY) setup.rb config --siterubyver=/usr/lib/ruby/1.9.1/
        touch configure-stamp
 
 build: build-stamp



-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.11-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages flvtool2 depends on:
ii  ruby                          1:1.9.3
ii  ruby1.8 [ruby-interpreter]    1.8.7.358-8
ii  ruby1.9.1 [ruby-interpreter]  1.9.3.448-1
ii  ruby2.0 [ruby-interpreter]    2.0.0.343-1

flvtool2 recommends no packages.

flvtool2 suggests no packages.

-- debconf-show failed


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to