On Fri, Aug 22, 2008 at 08:54:35AM +0900, NIIBE Yutaka wrote:
> Michael Schutte wrote:
> > severity 494428 important
> [...]
> > libdb-ruby has migrated, I’m thus raising the severity of this issue.
> > Yutaka, Yasuhiro, I’ll prepare an NMU to include the patch submitted in
> > the original message if you do not object.
> 
> Please go ahead, and do NMU.

Diff attached, last opportunity to loudly disagree :-)

> Now, I am talking to one of upstream developers.  While development of
> upstream is almost dead, I think that this change should be
> incorporated not only for Debian.

Agreed, thanks for taking care of this.

Cheers,
-- 
Michael Schutte <[EMAIL PROTECTED]>
diff -u gonzui-1.2+cvs20070129/debian/changelog 
gonzui-1.2+cvs20070129/debian/changelog
--- gonzui-1.2+cvs20070129/debian/changelog
+++ gonzui-1.2+cvs20070129/debian/changelog
@@ -1,3 +1,18 @@
+gonzui (1.2+cvs20070129-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * libdb4.3-ruby → libdb-ruby transition:
+    - Patch dbm.rb and bdbdbm.rb to restore API compatibility to libdb-ruby,
+      closes: #494428.
+    - Build-depend on libdb-ruby1.8 instead of libdb4.3-ruby1.8.
+  * Bump Standards-Version to 3.8.0, no changes needed.
+  * Do not ignore “make clean” errors in the clean target of debian/rules.
+  * Move Homepage: field from the description to the source stanza.
+  * Remove dh_make boilerplate “Please also look if …” message from
+    debian/copyright.
+
+ -- Michael Schutte <[EMAIL PROTECTED]>  Fri, 22 Aug 2008 21:58:10 +0200
+
 gonzui (1.2+cvs20070129-1) unstable; urgency=low
 
   * New upstream release.
diff -u gonzui-1.2+cvs20070129/debian/copyright 
gonzui-1.2+cvs20070129/debian/copyright
--- gonzui-1.2+cvs20070129/debian/copyright
+++ gonzui-1.2+cvs20070129/debian/copyright
@@ -23,4 +22,0 @@
-
-
-# Please also look if there are files or directories which have a
-# different copyright/license attached and list them here.
diff -u gonzui-1.2+cvs20070129/debian/rules gonzui-1.2+cvs20070129/debian/rules
--- gonzui-1.2+cvs20070129/debian/rules
+++ gonzui-1.2+cvs20070129/debian/rules
@@ -52,7 +52,7 @@
        rm -f build-stamp configure-stamp
 
        # Add here commands to clean up after the build process.
-       -$(MAKE) distclean
+       [ ! -f Makefile ] || $(MAKE) distclean
        rm -f COPYING INSTALL aclocal.m4 configure install-sh missing
        rm -f `find . -name Makefile.in`
 
diff -u gonzui-1.2+cvs20070129/debian/control 
gonzui-1.2+cvs20070129/debian/control
--- gonzui-1.2+cvs20070129/debian/control
+++ gonzui-1.2+cvs20070129/debian/control
@@ -3,8 +3,9 @@
 Priority: optional
 Maintainer: ARAKI Yasuhiro <[EMAIL PROTECTED]>
 Uploaders: NIIBE Yutaka <[EMAIL PROTECTED]>, ARAKI Yasuhiro <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 5), autotools-dev, autoconf (>= 2.50), automake 
(>= 1.9.5), ruby, ruby1.8 (>= 1.8.2), ruby1.8-dev (>= 1.8.2), libdb4.3-ruby1.8, 
liblangscan-ruby, flex
-Standards-Version: 3.7.2.2
+Build-Depends: debhelper (>= 5), autotools-dev, autoconf (>= 2.50), automake 
(>= 1.9.5), ruby, ruby1.8 (>= 1.8.2), ruby1.8-dev (>= 1.8.2), libdb-ruby1.8, 
liblangscan-ruby, flex
+Standards-Version: 3.8.0
+Homepage: http://gonzui.sourceforge.net/
 
 Package: gonzui
 Architecture: any
@@ -16,2 +16,0 @@
- .
- Homepage: http://gonzui.sourceforge.net/
only in patch2:
unchanged:
--- gonzui-1.2+cvs20070129.orig/gonzui/bdbdbm.rb
+++ gonzui-1.2+cvs20070129/gonzui/bdbdbm.rb
@@ -74,6 +74,12 @@
   end
 
   module BDBExtension
+    def copies(val)
+      duplicates val, false
+    rescue
+      duplicates val
+    end
+
     def each_by_prefix(prefix)
       values = []
       cursor = self.cursor
only in patch2:
unchanged:
--- gonzui-1.2+cvs20070129.orig/gonzui/dbm.rb
+++ gonzui-1.2+cvs20070129/gonzui/dbm.rb
@@ -453,7 +453,7 @@
     end
 
     def get_format_ids_from_package_id(package_id)
-      @pkgid_fmtids.duplicates(package_id)
+      @pkgid_fmtids.copies(package_id)
     end
 
     def get_format_name(format_id)
@@ -473,7 +473,7 @@
     end
 
     def get_license_ids_from_package_id(package_id)
-      @pkgid_lcsids.duplicates(package_id)
+      @pkgid_lcsids.copies(package_id)
     end
 
     def get_license_name(license_id)
@@ -502,7 +502,7 @@
 
     def get_ncontents_in_package(package_name)
       package_id = get_package_id(package_name)
-      @pkgid_pathids.duplicates(package_id).length
+      @pkgid_pathids.copies(package_id).length
     end
 
     def get_nformats
@@ -530,7 +530,7 @@
     end
 
     def get_package_ids(word_id)
-      @wordid_pkgids.duplicates(word_id)
+      @wordid_pkgids.copies(word_id)
     end
 
     def get_package_name(package_id)
@@ -543,7 +543,7 @@
 
     def get_package_options(package_id)
       options = {}
-      values = @pkgid_options.duplicates(package_id)
+      values = @pkgid_options.copies(package_id)
       values.each {|value|
         k, v = value.split(":", 2)
         k = k.intern
@@ -571,12 +571,12 @@
     end
 
     def get_path_ids(package_id)
-      @pkgid_pathids.duplicates(package_id)
+      @pkgid_pathids.copies(package_id)
     end
 
     def get_path_ids_from_package_and_word_id(package_id, word_id)
       package_word_id = AutoPack.pack_id2(package_id, word_id)
-      return @pkgwordid_pathids.duplicates(package_word_id)
+      return @pkgwordid_pathids.copies(package_word_id)
     end
 
     def get_source_uri(package_id)

Attachment: signature.asc
Description: Digital signature

Reply via email to