Docbook XML manpages and bash-completion.

2007-10-10 Thread Charles Plessy
Dear all,

I wrote many Docbook XML manpages for command-line programs packaged for
Debian-Med.

I was just wondering if somebody knew a way to turn the OPTIONS section
into something which can be used to enable bash completion ?

Have a nice day !

-- 
Charles Plessy
http://charles.plessy.org
Wako, Saitama, Japan


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Best way to move from .diff.gz patches to dpatch

2007-10-10 Thread Joerg Jaspert
On 11167 March 1977, Kartik Mistry wrote:

 I am maintaining packages of festival family (festival, -dev, -doc,
 speech-tools). I took maintainership sometime ago and fixed many bugs,
 but package has no patch system ie all patches resides in .diff.gz.

 Now, for better maintenance and making life easy for new upstream
 release, I want to move to dpatch.
 What are best way to do it? I have done manually with xosview (15
 patches scattered in .diff.gz and reading changelog carefully, putting
 correct patch submitter from BTS -- all hail).

 Are there any easy way to do this?

There is no easy way, but you can possibly make your life a little
easier  using mc: Just go into the .diff.gz file (select it in mc, hit
return), and you see the whole diff in a filesystem view, where every
change in a file is displayed as file.diff.

That makes it at least easier to sort out the different files / hunks.

-- 
bye Joerg
aj vorlon: would it be less subtle if we replaced red, green and
 yellow with black, white and a shade of grey?
vorlon aj: and this is what a necrotic port looks like?
aj vorlon: the arch qualification table, halloween edition?
aj vorlon: i heard a faint pinging, and went to the firewall and what
 greeted my eyes? AN m68k RISED FROM THE GRAVE!!!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Unable to strip using dh_strip

2007-10-10 Thread Justin Pryzby
On Tue, Oct 09, 2007 at 10:30:21PM -0700, varun_shrivastava wrote:
 
 hi
i am trying to build a package using debhelper scripts, but it gives an
 error message
 
 
 dh_installdirs -a
 dh_install -a
 dh_link -a
 dh_compress -a
 dh_strip -a
 dh_fixperms -a
 dh_makeshlibs -plibfreetype6 -V'libfreetype6 ( 6.3.10)'
 dh_shlibdeps -a
 dh_installdeb -a
 /scratchbox/tools/bin/install: `debian/libfreetype6/DEBIAN' exists but is
 not a directory
 dh_installdeb: command returned error code 256
 make: *** [binary-arch] Error 1
 
 I m using scratchbox in order to build package, currently  i am not cross
 compiling.
 
 Now when i remove dh_strip -a command from the rules file , the package
 builds successfully.
 But running lintian shows unstripped binary error message.
Can you set DH_DEBUG like at the head of the rulesfile and rerun?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Unable to strip using dh_strip

2007-10-10 Thread varun_shrivastava


Justin Pryzby-43 wrote:
 
 
 Can you set DH_DEBUG like at the head of the rulesfile and rerun?
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]
 
 
 
thanks

i added line export DH_DEBUG=1 on top of rules file but o/p is same (no
debug kind of o/p displayed)

then i uncommented a line which says export DH_VERBOSE=1 
the o/p is as shown 


dh_link -a
rm -f debian/libfreetype6-dev/usr/local/lib/libfreetype.so
ln -sf libfreetype.so.6.3.10
debian/libfreetype6-dev/usr/local/lib/libfreetype.so
rm -f debian/libfreetype6/usr/local/lib/libfreetype.so.6
ln -sf libfreetype.so.6.3.10
debian/libfreetype6/usr/local/lib/libfreetype.so.6
dh_strip -a
strip --strip-debug
debian/libfreetype6-dev/usr/local/lib/libfreetype.a
strip --remove-section=.comment --remove-section=.note
--strip-unneeded debian/libfreetype6/usr/local/lib/libfreetype.so.6.3.10
dh_compress -a
cd debian/libfreetype6-dev
cd '/home/varun/celunite_dpkg/freetype-2.2.1'
cd debian/libfreetype6
cd '/home/varun/celunite_dpkg/freetype-2.2.1'
dh_fixperms -a
find debian/libfreetype6-dev  -print0 2/dev/null | xargs -0r chown
--no-dereference 0:0
find debian/libfreetype6-dev ! -type l  -print0 2/dev/null | xargs
-0r chmod go=rX,u+rw,a-s
find debian/libfreetype6-dev/usr/share/doc -type f  ! -regex
'debian/libfreetype6-dev/usr/share/doc/[^/]*/examples/.*' -print0
2/dev/null | xargs -0r chmod 644
find debian/libfreetype6-dev/usr/share/doc -type d  -print0
2/dev/null | xargs -0r chmod 755
find debian/libfreetype6-dev/usr/share/man
debian/libfreetype6-dev/usr/man/ debian/libfreetype6-dev/usr/X11*/man/ -type
f  -print0 2/dev/null | xargs -0r chmod 644
find debian/libfreetype6-dev -perm -5 -type f \( -name '*.so*' -or
-name '*.la' -or -name '*.a' \)  -print0 2/dev/null | xargs -0r chmod 644
find debian/libfreetype6-dev/usr/include  -type f -name '*.h' 
-print0 2/dev/null | xargs -0r chmod 644
find debian/libfreetype6-dev/usr/lib/perl5
debian/libfreetype6-dev/usr/share/perl5 -type f -perm -5 -name '*.pm' 
-print0 2/dev/null | xargs -0r chmod a-X
find debian/libfreetype6  -print0 2/dev/null | xargs -0r chown
--no-dereference 0:0
find debian/libfreetype6 ! -type l  -print0 2/dev/null | xargs -0r
chmod go=rX,u+rw,a-s
find debian/libfreetype6/usr/share/doc -type f  ! -regex
'debian/libfreetype6/usr/share/doc/[^/]*/examples/.*' -print0 2/dev/null |
xargs -0r chmod 644
find debian/libfreetype6/usr/share/doc -type d  -print0 2/dev/null
| xargs -0r chmod 755
find debian/libfreetype6/usr/share/man debian/libfreetype6/usr/man/
debian/libfreetype6/usr/X11*/man/ -type f  -print0 2/dev/null | xargs -0r
chmod 644
find debian/libfreetype6 -perm -5 -type f \( -name '*.so*' -or -name
'*.la' -or -name '*.a' \)  -print0 2/dev/null | xargs -0r chmod 644
find debian/libfreetype6/usr/include  -type f -name '*.h'  -print0
2/dev/null | xargs -0r chmod 644
find debian/libfreetype6/usr/lib/perl5
debian/libfreetype6/usr/share/perl5 -type f -perm -5 -name '*.pm'  -print0
2/dev/null | xargs -0r chmod a-X
dh_makeshlibs -plibfreetype6 -V'libfreetype6 ( 6.3.10)'
rm -f debian/libfreetype6/DEBIAN/shlibs
install -d debian/libfreetype6/DEBIAN
echo 'libfreetype 6 libfreetype6 ( 6.3.10)'
debian/libfreetype6/DEBIAN/shlibs
echo # Automatically added by dh_makeshlibs
debian/libfreetype6.postinst.debhelper
sed 
/scratchbox/devkits/debian/share/debhelper/autoscripts/postinst-makeshlibs
 debian/libfreetype6.postinst.debhelper
echo '# End automatically added section' 
debian/libfreetype6.postinst.debhelper
echo # Automatically added by dh_makeshlibs
debian/libfreetype6.postrm.debhelper
sed 
/scratchbox/devkits/debian/share/debhelper/autoscripts/postrm-makeshlibs 
debian/libfreetype6.postrm.debhelper
echo '# End automatically added section' 
debian/libfreetype6.postrm.debhelper
chmod 644 debian/libfreetype6/DEBIAN/shlibs
chown 0:0 debian/libfreetype6/DEBIAN/shlibs
dh_shlibdeps -a
dpkg-shlibdeps -Tdebian/libfreetype6.substvars
debian/libfreetype6/usr/local/lib/libfreetype.so.6.3.10
dh_installdeb -a
install -o 0 -g 0 -d debian/libfreetype6-dev/DEBIAN
install -o 0 -g 0 -d debian/libfreetype6/DEBIAN
/scratchbox/tools/bin/install: `debian/libfreetype6/DEBIAN' exists but is
not a directory
dh_installdeb: command returned error code 256
make: *** [binary-arch] Error 1

-- 
View this message in context: 
http://www.nabble.com/Unable-to-strip-using-dh_strip-tf4598701.html#a13134714
Sent from the debian-mentors mailing list archive at Nabble.com.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: RFS: blueproximity

2007-10-10 Thread Mario Iseli
On Wed, Oct 10, 2007 at 04:26:57PM +0200, Francesco Namuri wrote:
 Dear mentors,

Hi :)

 I am looking for a sponsor for my package blueproximity.
 
   Package name: blueproximity
   Version : 1.2-1
   Upstream Author : Lars Friedrichs [EMAIL PROTECTED]
   URL : http://blueproximity.sourceforge.net/
   License : GPL
   Section : admin
 
 It builds these binary packages:
 blueproximity - locks/unlocks your desktop tracking a bluetooth device
 
 The package appears to be lintian clean.
 
 The upload would fix these bugs: 446010
 
 I hope to find a sponsor for this application, I think it can be very
 usefull, non only for a security purpose (it's designed to lock and
 unlock your session monitoring the power of a link between two bluetooth
 devices), but it can be configured to execute other commands.
 Unfortunately it's only possible to monitor the power of the signal, and
 not the meters between the computer and the device, but this is a limit
 impossible to solve in a normal house with walls... :)

Sounds like kbluelock or however that toy is called. :)
I want to inform you about one thing... Bluetooth is like Ethernet, you can
change it's Hardware Address as easy as to set the Mac-Address on an
Ethernet-Card. So I wouldn't really rely on it's security... Anyway, it's a
funny toy.

 The package can be found on mentors.debian.net:
 - URL: http://mentors.debian.net/debian/pool/main/b/blueproximity
 - Source repository: deb-src http://mentors.debian.net/debian unstable main 
 contrib non-free
 - dget 
 http://mentors.debian.net/debian/pool/main/b/blueproximity/blueproximity_1.2-1.dsc

I will have a look at it after work... Ok? Wouldn't you like to add it to the
pkg-bluetooth repository?

Regards,

-- 
  .''`. Mario Iseli [EMAIL PROTECTED]
 : :'  :Debian GNU/Linux developer
 `. `'`
   `-  Debian - when you have better things to do than fixing a system


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



RFS: blueproximity

2007-10-10 Thread Francesco Namuri
Dear mentors,

I am looking for a sponsor for my package blueproximity.

  Package name: blueproximity
  Version : 1.2-1
  Upstream Author : Lars Friedrichs [EMAIL PROTECTED]
  URL : http://blueproximity.sourceforge.net/
  License : GPL
  Section : admin

It builds these binary packages:
blueproximity - locks/unlocks your desktop tracking a bluetooth device

The package appears to be lintian clean.

The upload would fix these bugs: 446010

I hope to find a sponsor for this application, I think it can be very
usefull, non only for a security purpose (it's designed to lock and
unlock your session monitoring the power of a link between two bluetooth
devices), but it can be configured to execute other commands.
Unfortunately it's only possible to monitor the power of the signal, and
not the meters between the computer and the device, but this is a limit
impossible to solve in a normal house with walls... :)

The package can be found on mentors.debian.net:
- URL: http://mentors.debian.net/debian/pool/main/b/blueproximity
- Source repository: deb-src http://mentors.debian.net/debian unstable main 
contrib non-free
- dget 
http://mentors.debian.net/debian/pool/main/b/blueproximity/blueproximity_1.2-1.dsc

I would be glad if someone uploaded this package for me.

Cheers,
francesco

-- 
Francesco Namuri
francesco(at)namuri(dot)it   http://namuri.it/
id gpg key: 21A4702A [EMAIL PROTECTED]


signature.asc
Description: Questa è una parte del messaggio	firmata digitalmente


Re: Unable to strip using dh_strip

2007-10-10 Thread Justin Pryzby
On Wed, Oct 10, 2007 at 05:33:48AM -0700, varun_shrivastava wrote:
 Justin Pryzby-43 wrote:
  Can you set DH_DEBUG like at the head of the rulesfile and rerun?
 
 i added line export DH_DEBUG=1 on top of rules file but o/p is same (no
 debug kind of o/p displayed)
 
 then i uncommented a line which says export DH_VERBOSE=1 
 the o/p is as shown 
Yeah that.

 chmod 644 debian/libfreetype6/DEBIAN/shlibs
 chown 0:0 debian/libfreetype6/DEBIAN/shlibs
 dh_shlibdeps -a
 dpkg-shlibdeps -Tdebian/libfreetype6.substvars
 debian/libfreetype6/usr/local/lib/libfreetype.so.6.3.10
 dh_installdeb -a
 install -o 0 -g 0 -d debian/libfreetype6-dev/DEBIAN
 install -o 0 -g 0 -d debian/libfreetype6/DEBIAN
 /scratchbox/tools/bin/install: `debian/libfreetype6/DEBIAN' exists but is
 not a directory
 dh_installdeb: command returned error code 256
 make: *** [binary-arch] Error 1
Well 2 things come to mind.  Is scratchbox install compatibile with
debhelper?  Also ls -la debian/libfreetype6/DEBIAN

Justin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: RFS: blueproximity

2007-10-10 Thread Francesco Namuri
Hi Mario,

Il giorno mer, 10/10/2007 alle 16.42 +0200, Mario Iseli ha scritto:
 Sounds like kbluelock or however that toy is called. :)
 I want to inform you about one thing... Bluetooth is like Ethernet, you can
 change it's Hardware Address as easy as to set the Mac-Address on an
 Ethernet-Card. So I wouldn't really rely on it's security... Anyway, it's a
 funny toy.

Yes, I know it's only a toy, it's suitable for a strong security... :)

  The package can be found on mentors.debian.net:
  - URL: http://mentors.debian.net/debian/pool/main/b/blueproximity
  - Source repository: deb-src http://mentors.debian.net/debian unstable main 
  contrib non-free
  - dget 
  http://mentors.debian.net/debian/pool/main/b/blueproximity/blueproximity_1.2-1.dsc
 
 I will have a look at it after work... Ok? Wouldn't you like to add it to the
 pkg-bluetooth repository?

Of course yes... :)

Cheers,
francesco

-- 
Francesco Namuri
francesco(at)namuri(dot)it   http://namuri.it/
id gpg key: 21A4702A [EMAIL PROTECTED]


signature.asc
Description: Questa è una parte del messaggio	firmata digitalmente


RFS: panelfm (2nd attempt)

2007-10-10 Thread Luca Falavigna
Dear mentors,

I am looking for a sponsor for my package panelfm.

* Package name: panelfm
  Version : 1.2-1
  Upstream Author : M.K.Srikant [EMAIL PROTECTED]
* URL : http://panelfm.sourceforge.net/
* License : GPL
  Section : gnome

It builds these binary packages:
panelfm- Simple file system explorer applet for Gnome panel

The package appears to be lintian clean.

The upload would fix these bugs: 441965

The package can be found on mentors.debian.net:
- URL: http://mentors.debian.net/debian/pool/main/p/panelfm
- Source repository: deb-src http://mentors.debian.net/debian unstable
main contrib non-free
- dget
http://mentors.debian.net/debian/pool/main/p/panelfm/panelfm_1.2-1.dsc

I would be glad if someone uploaded this package for me.

Kind regards
 Luca Falavigna


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Passing variables to a Makefile

2007-10-10 Thread Charles Plessy
Dear mentors,

in a package I prepare, there is the following line in a source/Makefile:

  CPPFLAGS=-O3 -funroll-loops -march=i686 -mfpmath=sse -msse  -mmmx

This is obviously not convenient for building on many platforms, so I
decided to override it with the following command in debian/rules:

  CPPFLAGS='$(CFLAGS)' $(MAKE) --environment-overrides --directory=source

However, I am quite unexperienced with makefiles, and my gut feeling
tells me that I may be doing something wrong... Can somebody tell me ?

( Just in case one wants to see more context, I have uploaded the package
on mentors: 
http://mentors.debian.net/debian/pool/main/d/dialign-t/dialign-t_0.2.2-1.dsc
It is work in progress unsuitable for anyghing else! )

Have a nice day,

-- 
Charles Plessy
http://charles.plessy.org
Wako, Saitama, Japan


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Unable to strip using dh_strip

2007-10-10 Thread varun_shrivastava


Justin Pryzby-43 wrote:
 
 Well 2 things come to mind.  Is scratchbox install compatibile with
 debhelper?  Also ls -la debian/libfreetype6/DEBIAN
 
 
Removing dh_strip builds the package, it shouldn't have build if
scratchbox have incompatible install?

ls -la debian/libfreetype6/ displays following information:
total 16K
drwxr-xr-x  4 varun varun 4.0K Oct 10 11:16 ./
drwxr-xr-x  5 varun varun 4.0K Oct 10 11:16 ../
drwxr-xr-x  2 varun varun 4.0K Oct 10 11:16 DEBIAN/
drwxr-xr-x  3 varun varun 4.0K Oct 10 11:16 usr/



-- 
View this message in context: 
http://www.nabble.com/Unable-to-strip-using-dh_strip-tf4598701.html#a13149428
Sent from the debian-mentors mailing list archive at Nabble.com.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]