Bug#567845: debian-policy: broken formatting of upgrading-checklist.txt?

2010-02-11 Thread Salvatore Bonaccorso
Hi Bill

On Wed, Feb 10, 2010 at 12:50:03AM +0100, Bill Allombert wrote:
 On Mon, Feb 01, 2010 at 03:40:30PM +0100, Bill Allombert wrote:
  On Sun, Jan 31, 2010 at 08:06:24PM +0100, Salvatore Bonaccorso wrote:
   Package: debian-policy
   Version: 3.8.4.0
   Severity: minor
   
   Hi 
   
   I noticed, with the current upload of the debian-policy the file
   /usr/share/doc/debian-policy/upgrading-checklist.txt.gz seems to have
   a broken 'formatting'. E.g. previously we had:
   
 * Added parallel=n to the standardized DEB_BUILD_OPTIONS tags,
   indicating that a package should be built using up to n parallel
   processes if the package supports it  [4.9.1]
   
   now we have
   
   + *4.9.1*: Added parallel=n to the standardized DEB\_BUILD\_OPTIONS tags,
 indicating that a package should be built using up to n parallel
 processes if the package supports it 
   
   It seems something broke on generation of that. The html variant seems
   ok.
  
  Hello Salvatore,
  I checked this file before uploading the package but I thought this was
  the expected behavior of the formatter. In any case, I agree this is quite
  ugly and I have converted the org file to debiandoc-sgml which generate
  much nicer text files.
 
 I created a git branch 'bug567845-ballombe' that change policy to use
 upgrading-checklist.sgml. Please comment.

Thank you. I will - if I can find some free time for it - have a look
at this new git branch. If it generates nicer text files it is great.
Do you have already somewhere the generated text file from it?

Bests
Salvatore


signature.asc
Description: Digital signature


Bug#567845: debian-policy: broken formatting of upgrading-checklist.txt?

2010-02-11 Thread Bill Allombert
On Thu, Feb 11, 2010 at 08:59:23AM +0100, Salvatore Bonaccorso wrote:
 Hi Bill
 
   Hello Salvatore,
   I checked this file before uploading the package but I thought this was
   the expected behavior of the formatter. In any case, I agree this is quite
   ugly and I have converted the org file to debiandoc-sgml which generate
   much nicer text files.
  
  I created a git branch 'bug567845-ballombe' that change policy to use
  upgrading-checklist.sgml. Please comment.
 
 Thank you. I will - if I can find some free time for it - have a look
 at this new git branch. If it generates nicer text files it is great.
 Do you have already somewhere the generated text file from it?

Thanks, I have made them available at:
http://people.debian.org/~ballombe/policy/

Cheers,
Bill.



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



Bug#567845: debian-policy: broken formatting of upgrading-checklist.txt?

2010-02-11 Thread Salvatore Bonaccorso
Hi Bill

On Thu, Feb 11, 2010 at 01:59:14PM +0100, Bill Allombert wrote:
 On Thu, Feb 11, 2010 at 08:59:23AM +0100, Salvatore Bonaccorso wrote:
  Hi Bill
  
Hello Salvatore,
I checked this file before uploading the package but I thought this was
the expected behavior of the formatter. In any case, I agree this is 
quite
ugly and I have converted the org file to debiandoc-sgml which generate
much nicer text files.
   
   I created a git branch 'bug567845-ballombe' that change policy to use
   upgrading-checklist.sgml. Please comment.
  
  Thank you. I will - if I can find some free time for it - have a look
  at this new git branch. If it generates nicer text files it is great.
  Do you have already somewhere the generated text file from it?
 
 Thanks, I have made them available at:
 http://people.debian.org/~ballombe/policy/

It looks much better, thank you for your improvements! (I personally
will miss the 'old' layout, which takes less space/was more copact and
had the references on the right side, but the new one is fine too).

Bests
Salvatore


signature.asc
Description: Digital signature


initial packages with multiarch paths

2010-02-11 Thread Simon McVittie
While trying to prepare a multiarch version of libdbus I received some
conflicting advice about how much of the multiarch proposal is already
allowed by Policy, so I've prepared a multiarch version of a rather
simpler library (libgfshare) as a starting point.

Does this look OK for upload to experimental, and if not, what changes
are needed?

Regards,
Simon

Source debdiff
==

dpkg-source: warning: extracting unsigned source package 
(/home/smcv/src/debian/build-area/libgfshare_1.0.3-2+multiarch.dsc)
diffstat for libgfshare-1.0.3 libgfshare-1.0.3

 changelog  |9 +
 control|1 +
 libgfshare-dev.install |6 +++---
 libgfshare1.install|2 +-
 rules  |5 +
 5 files changed, 19 insertions(+), 4 deletions(-)

diff -Nru libgfshare-1.0.3/debian/changelog libgfshare-1.0.3/debian/changelog
--- libgfshare-1.0.3/debian/changelog   2010-02-11 22:44:07.0 +
+++ libgfshare-1.0.3/debian/changelog   2010-02-11 22:56:50.0 +
@@ -1,3 +1,12 @@
+libgfshare (1.0.3-2+multiarch) UNRELEASED; urgency=low
+
+  * Install the library to the multiarch path, e.g. /usr/lib/i486-linux-gnu/
+(but move the pkg-config file back to /usr/lib/pkgconfig since pkg-config
+doesn't yet look in multiarch locations)
+  * Set the shared library package to be Multi-Arch: same
+
+ -- Simon McVittie s...@debian.org  Thu, 11 Feb 2010 22:56:02 +
+
 libgfshare (1.0.3-2) unstable; urgency=low
 
   * Migrate to collab-maint git
diff -Nru libgfshare-1.0.3/debian/control libgfshare-1.0.3/debian/control
--- libgfshare-1.0.3/debian/control 2010-02-11 22:44:07.0 +
+++ libgfshare-1.0.3/debian/control 2010-02-11 22:56:50.0 +
@@ -31,6 +31,7 @@
  bringing the three computers together.
 
 Package: libgfshare1
+Multi-Arch: same
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends}, ${misc:Depends}
diff -Nru libgfshare-1.0.3/debian/libgfshare1.install 
libgfshare-1.0.3/debian/libgfshare1.install
--- libgfshare-1.0.3/debian/libgfshare1.install 2010-02-11 22:44:07.0 
+
+++ libgfshare-1.0.3/debian/libgfshare1.install 2010-02-11 22:56:50.0 
+
@@ -1 +1 @@
-debian/tmp/usr/lib/*.so.*
+debian/tmp/usr/lib/*/*.so.*
diff -Nru libgfshare-1.0.3/debian/libgfshare-dev.install 
libgfshare-1.0.3/debian/libgfshare-dev.install
--- libgfshare-1.0.3/debian/libgfshare-dev.install  2010-02-11 
22:44:07.0 +
+++ libgfshare-1.0.3/debian/libgfshare-dev.install  2010-02-11 
22:56:50.0 +
@@ -1,5 +1,5 @@
-debian/tmp/usr/lib/*.so
-debian/tmp/usr/lib/*.a
+debian/tmp/usr/lib/*/*.so
+debian/tmp/usr/lib/*/*.a
 debian/tmp/usr/include/libgfshare.h
-debian/tmp/usr/lib/pkgconfig/*.pc
+debian/tmp/usr/lib/*/pkgconfig/*.pc usr/lib/pkgconfig
 debian/tmp/usr/share/man/man5/*
diff -Nru libgfshare-1.0.3/debian/rules libgfshare-1.0.3/debian/rules
--- libgfshare-1.0.3/debian/rules   2010-02-11 22:44:07.0 +
+++ libgfshare-1.0.3/debian/rules   2010-02-11 22:56:50.0 +
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+
 %:
dh $*
 
@@ -7,6 +9,9 @@
dh_clean
rm -rf pdf html
 
+override_dh_auto_configure:
+   dh_auto_configure -- --libdir=/usr/lib/$(DEB_HOST_GNU_TYPE)
+
 override_dh_auto_build:
dh_auto_build
install -d pdf html

libgfshare.pc
=

# Copyright (c) Daniel Silverstone dsilv...@digital-scurf.org 2006

prefix=/usr
exec_prefix=${prefix}
libdir=/usr/lib/i486-linux-gnu
includedir=${prefix}/include

Name: libgfshare
Description: Secret Sharing in gf(2^8) library.
Version: 1.0.3
Libs: -L${libdir} -lgfshare
Cflags: -I${includedir}

Binary debdiff
==

Files only in first set of .debs, found in package libgfshare-dbg
-
-rw-r--r--  root/root   /usr/lib/debug/usr/lib/libgfshare.so.1.0.3

Files only in first set of .debs, found in package libgfshare-dev
-
-rw-r--r--  root/root   /usr/lib/libgfshare.a
lrwxrwxrwx  root/root   /usr/lib/libgfshare.so - libgfshare.so.1.0.3

Files only in first set of .debs, found in package libgfshare1
--
-rw-r--r--  root/root   /usr/lib/libgfshare.so.1.0.3
lrwxrwxrwx  root/root   /usr/lib/libgfshare.so.1 - libgfshare.so.1.0.3

New files in second set of .debs, found in package libgfshare-dbg
-
-rw-r--r--  root/root   
/usr/lib/debug/usr/lib/i486-linux-gnu/libgfshare.so.1.0.3

New files in second set of .debs, found in package libgfshare-dev
-
-rw-r--r--  root/root   /usr/lib/i486-linux-gnu/libgfshare.a
lrwxrwxrwx  root/root   /usr/lib/i486-linux-gnu/libgfshare.so - 
libgfshare.so.1.0.3

New files in second set of