[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#687576: Patch for dose3.1 packaging



Package: libdose3-ocaml
Version: 3.1-1
Severity: wishlist
Tags: patch

Having just sorted out the update of packaging from 3.0.2 to 3.1 I
thought it might be useful to file a bug and save uploaders some time

This version is useful to have in the archive because it has better
cross-support

The easiest way to do this is
apt-get source dose3
(download attached patch)
cd dose3-3.0.2
uscan     (should download 3.1 tarball)
uupdate ../dose3_3.1.orig.tar.gz
cd ../dose3-3.1
patch -p1 < ../dose3.1-deb2.patch

That's it. The changes are just to refresh the binaries-prefix patch
and get rid of obsolete version patch
I also modified watch to do the uupdate step above automatically. skip
that bit if you don't like it.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libdose3-ocaml depends on:
ii  libbz2-ocaml [libbz2-ocaml-c3yh2]        0.6.0-6+b2
ii  libc6                                    2.13-35
ii  libextlib-ocaml [libextlib-ocaml-jshx0]  1.5.2-1+b1
ii  libpcre-ocaml [libpcre-ocaml-xu8a5]      6.2.5-1
ii  librpm3                                  4.10.0-5
ii  librpmio3                                4.10.0-5
ii  libzip-ocaml [libzip-ocaml-n4ed0]        1.04-6+b3
ii  ocaml-base-nox [ocaml-base-nox-3.12.1]   3.12.1-4

libdose3-ocaml recommends no packages.

libdose3-ocaml suggests no packages.

-- no debconf information
 dose3 (3.0.2-1) unstable; urgency=low
 
   * New upstream version:
diff -Nru dose3-3.0.2/debian/patches/binaries-prefix-edos dose3-3.1/debian/patches/binaries-prefix-edos
--- dose3-3.0.2/debian/patches/binaries-prefix-edos	2012-06-27 09:43:16.000000000 +0000
+++ dose3-3.1/debian/patches/binaries-prefix-edos	2012-09-13 02:05:33.000000000 +0000
@@ -1,15 +1,15 @@
 Author: Ralf Treinen <treinen@debian.org>
 Description: all binaries have prefix dose-
 
-Index: dose3/doc/manpages/distcheck.pod
+Index: dose3-3.1/doc/manpages/distcheck.pod
 ===================================================================
---- dose3.orig/doc/manpages/distcheck.pod	2012-06-17 13:03:04.000000000 +0200
-+++ dose3/doc/manpages/distcheck.pod	2012-06-17 13:05:21.000000000 +0200
+--- dose3-3.1.orig/doc/manpages/distcheck.pod	2012-08-31 17:21:43.000000000 +0100
++++ dose3-3.1/doc/manpages/distcheck.pod	2012-09-13 03:04:33.825488665 +0100
 @@ -1,25 +1,25 @@
  =head1 NAME
  
 -distcheck - check installability of packages according to metadata 
-+dose-distcheck - check installability of packages according to metadata 
++dose-distcheck - check installability of packages according to metadata
  
  =head1 SYNOPSIS
  
@@ -25,7 +25,7 @@
 +=item B<dose-rpmcheck> [option] ... [I<file>]
  
 -=item B<eclipsecheck> [option] ... [I<file>] 
-+=item B<dose-eclipsecheck> [option] ... [I<file>] 
++=item B<dose-eclipsecheck> [option] ... [I<file>]
  
  =back
  =cut
@@ -67,14 +67,22 @@
  packages is analyzed according to their B<Depends>, B<Conflicts>, and B<Provides>
  fields with their meaning as of Debian policy version 3.9.0. B<Pre-depends> are
  treated like B<Depends>, and B<Breaks> are treated like B<Conflicts>.
-@@ -80,8 +80,8 @@
+@@ -80,15 +80,15 @@
  =head2 Rpm
  
  The input file can be either a I<synthesis> file or a I<hdlist> file.  By
 -default rpmcheck expects a synthesis file as input. To specify a hdlist file
 -distcheck must be invoked with a file argument of the form hdlist:// 
 +default dose-rpmcheck expects a synthesis file as input. To specify a hdlist file
-+dose-distcheck must be invoked with a file argument of the form hdlist:// 
++dose-distcheck must be invoked with a file argument of the form hdlist://
+ 
+ =cut
+ 
+ =head2 Eclipse
+ 
+ The input is an 822 file containing the encoding of OSGi plugins  content.xml
+-files. 
++files.
  
  =cut
  
@@ -94,56 +102,33 @@
  project. 
  
  =cut
-Index: dose3/doc/manpages/buildcheck.pod
+Index: dose3-3.1/doc/manpages/buildcheck.pod
 ===================================================================
---- dose3.orig/doc/manpages/buildcheck.pod	2012-05-31 21:24:01.000000000 +0200
-+++ dose3/doc/manpages/buildcheck.pod	2012-06-17 13:05:21.000000000 +0200
-@@ -1,19 +1,19 @@
- =head1 NAME
- 
--dose3-buildcheck - check installability of build-dependencies 
-+dose-buildcheck - check installability of build-dependencies 
- 
- =head1 SYNOPSIS
- 
- =over 
- 
--=item B<dose3-buildcheck> [options] I<binary-repositories> I<source-repository> 
-+=item B<dose-buildcheck> [options] I<binary-repositories> I<source-repository> 
- 
- =back
- =cut
- 
- =head1 DESCRIPTION
- 
--dose3-buildcheck determines, for a set of debian source package control
-+dose-buildcheck determines, for a set of debian source package control
- stanzas, called the source repository, whether a build environment for the
- packages of the source repository can be installed by using packages from the
- binary repository. For this, only package meta-information is taken into
-@@ -102,7 +102,7 @@
+--- dose3-3.1.orig/doc/manpages/buildcheck.pod	2012-08-31 17:21:43.000000000 +0100
++++ dose3-3.1/doc/manpages/buildcheck.pod	2012-09-13 03:03:20.557125336 +0100
+@@ -125,7 +125,7 @@
  =head1 SEE ALSO
  
  L<B<deb-control>(5)>, 
 -L<B<dose3-distcheck>(1)> 
-+L<B<dose-distcheck>(1)> 
++L<B<dose-distcheck>(1)>
  
  <http://www.edos-project.org> is the home page of the EDOS project. 
  <http://www.mancoosi.org> is the home page of the Mancoosi project. 
-Index: dose3/doc/manpages/outdated.pod
+Index: dose3-3.1/doc/manpages/outdated.pod
 ===================================================================
---- dose3.orig/doc/manpages/outdated.pod	2012-05-31 19:39:17.000000000 +0200
-+++ dose3/doc/manpages/outdated.pod	2012-06-17 13:05:21.000000000 +0200
+--- dose3-3.1.orig/doc/manpages/outdated.pod	2012-08-31 17:21:43.000000000 +0100
++++ dose3-3.1/doc/manpages/outdated.pod	2012-09-13 03:03:47.949261164 +0100
 @@ -1,16 +1,16 @@
  =head1 NAME
  
 -outdated - detect uninstallable packages due to obsolete dependencies 
-+dose--outdated - detect uninstallable packages due to obsolete dependencies 
++dose--outdated - detect uninstallable packages due to obsolete dependencies
  
  =head1 SYNOPSIS
  
 -B<outdated> [option] ... I<file> ... 
-+B<dose--outdated> [option] ... I<file> ... 
++B<dose--outdated> [option] ... I<file> ...
  
  =cut
  
@@ -159,7 +144,7 @@
  =head1 Output Specification
  
 -The output of outdated is in the YAML format. 
-+The output of dose-outdated is in the YAML format. 
++The output of dose-outdated is in the YAML format.
  
  =head1 OPTIONS
  
@@ -179,26 +164,26 @@
 -L<B<distcheck>(5)>
 -L<B<challenged>(5)> 
 +L<B<dose-distcheck>(5)>
-+L<B<dose-challenged>(5)> 
++L<B<dose-challenged>(5)>
  
  <http://www.mancoosi.org> is the home page of the Mancoosi project. 
   
-Index: dose3/doc/manpages/challenged.pod
+Index: dose3-3.1/doc/manpages/challenged.pod
 ===================================================================
---- dose3.orig/doc/manpages/challenged.pod	2012-06-17 13:03:04.000000000 +0200
-+++ dose3/doc/manpages/challenged.pod	2012-06-17 13:06:17.000000000 +0200
+--- dose3-3.1.orig/doc/manpages/challenged.pod	2012-08-31 17:21:43.000000000 +0100
++++ dose3-3.1/doc/manpages/challenged.pod	2012-09-13 03:05:31.233773331 +0100
 @@ -1,19 +1,19 @@
  =head1 NAME
  
 -challenged - detect broken packages due to obsolete dependencies 
-+dose-challenged - detect broken packages due to obsolete dependencies 
++dose-challenged - detect broken packages due to obsolete dependencies
  
  =head1 SYNOPSIS 
  
  =over
  
 -=item B<challenged> [options] I<Packages file(s)> 
-+=item B<dose-challenged> [options] I<Packages file(s)> 
++=item B<dose-challenged> [options] I<Packages file(s)>
  
  =back
  =cut
@@ -215,7 +200,7 @@
  =head1 Input Specification
  
 -The input of challenged is a list of Debian Packages files 
-+The input of dose-challenged is a list of Debian Packages files 
++The input of dose-challenged is a list of Debian Packages files
  
  =cut
  
@@ -231,37 +216,42 @@
  =head1 EXAMPLE
  
 -  challenged -v --progress Packages.bz2 > result.yaml 
-+  dose-challenged -v --progress Packages.bz2 > result.yaml 
++  dose-challenged -v --progress Packages.bz2 > result.yaml
  
  =cut
  
-@@ -85,8 +85,8 @@
+@@ -81,12 +81,12 @@
+ 
+ =head1 AUTHOR
+ 
+-Pietro Abate and Roberto Di Cosmo 
++Pietro Abate and Roberto Di Cosmo
  
  =head1 SEE ALSO
  
 -L<B<distcheck>(1)B<>>
 -L<B<outdated>(1)B<>> 
 +L<B<dose-distcheck>(1)B<>>
-+L<B<dose-outdated>(1)B<>> 
++L<B<dose-outdated>(1)B<>>
  
  <http://www.mancoosi.org> is the home page of the Mancoosi project.
  
-Index: dose3/doc/manpages/ceve.pod
+Index: dose3-3.1/doc/manpages/ceve.pod
 ===================================================================
---- dose3.orig/doc/manpages/ceve.pod	2012-05-31 21:24:01.000000000 +0200
-+++ dose3/doc/manpages/ceve.pod	2012-06-17 13:05:21.000000000 +0200
+--- dose3-3.1.orig/doc/manpages/ceve.pod	2012-08-31 17:21:43.000000000 +0100
++++ dose3-3.1/doc/manpages/ceve.pod	2012-09-13 03:04:50.249570099 +0100
 @@ -1,18 +1,18 @@
  =head1 NAME
  
 -ceve - parse package metadata 
-+dose-ceve - parse package metadata 
++dose-ceve - parse package metadata
  
  =head1 SYNOPSIS
  
  =over 
  
 -=item B<ceve> [-h] [-v] [-e I<pkgspec>] [-c I<pkgspec>] [-r I<pkgspec>] [--depth=I<n>]I<> [-t I<format>] [-o I<filename>] I<input-spec> 
-+=item B<dose-ceve> [-h] [-v] [-e I<pkgspec>] [-c I<pkgspec>] [-r I<pkgspec>] [--depth=I<n>]I<> [-t I<format>] [-o I<filename>] I<input-spec> 
++=item B<dose-ceve> [-h] [-v] [-e I<pkgspec>] [-c I<pkgspec>] [-r I<pkgspec>] [--depth=I<n>]I<> [-t I<format>] [-o I<filename>] I<input-spec>
  
  =back
  
diff -Nru dose3-3.0.2/debian/patches/series dose3-3.1/debian/patches/series
--- dose3-3.0.2/debian/patches/series	2012-06-27 09:43:16.000000000 +0000
+++ dose3-3.1/debian/patches/series	2012-09-13 02:07:32.000000000 +0000
@@ -1,2 +1 @@
 binaries-prefix-edos
-version-3.0.2
diff -Nru dose3-3.0.2/debian/watch dose3-3.1/debian/watch
--- dose3-3.0.2/debian/watch	2012-09-13 18:02:13.000000000 +0000
+++ dose3-3.1/debian/watch	2012-09-13 18:02:13.000000000 +0000
@@ -1,2 +1,2 @@
 version=3
-http://gforge.info.ucl.ac.be/frs/?group_id=35 .*/dose3-(.*)\.tar\.gz
+http://gforge.info.ucl.ac.be/frs/?group_id=35 .*/dose3-(.*)\.tar\.gz debian uupdate

Reply to: