Bug#632621: [PATCH/RFC 0/2] Re: weechat: please use smart filter for join/part/quit messages by default

2011-08-26 Thread Sebastien Helleu
On Mon, Jul 18, 2011 at 01:22:47PM +0200, Sebastien Helleu wrote:
 On Mon, Jul 18, 2011 at 04:20:14AM -0500, Jonathan Nieder wrote:
 (...)
  I'm using version 2.12.7-2 from Debian experimental[*].  It seems the
  function was deprecated by gnutls_2_11_3~303 (Deprecated the sign
  callback, 2010-05-15) without a corresponding mention in the NEWS file
  (oops).
  
  The replacement gnutls_certificate_set_retrieve_function was
  introduced around the same time.  So I wouldn't worry about it unless
  you want to try the new API on a separate branch or use ifdefs to make
  use of it where available.  I don't think the old function's actually
  going away soon.
  
  Regards,
  Jonathan
  
  [*] I have no clue when it will migrate to sid. :)
  http://bugs.debian.org/630511
  
 
 Ok. So I think I'll fix that in WeeChat (usind ifdefs to check gnutls
 version) when this new version will reach Sid. No urgency for me since
 it's only a warning, and function should not be deleted immediately
 from gnutls lib.
 
 -- 
 Cordialement / Best regards
 Sébastien.
 
 web: flashtux.org / weechat.org  mail: flashc...@flashtux.org
 irc: FlashCode @ irc.freenode.netxmpp: flashc...@jabber.fr
 
 

FYI, I commited fix to use the new gnutls function:
http://git.savannah.gnu.org/gitweb/?p=weechat.git;a=commitdiff;h=47ac88;hp=88c58c

-- 
Cordialement / Best regards
Sébastien.

web: flashtux.org / weechat.org  mail: flashc...@flashtux.org
irc: FlashCode @ irc.freenode.netxmpp: flashc...@jabber.fr



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



Bug#632621: [PATCH/RFC 0/2] Re: weechat: please use smart filter for join/part/quit messages by default

2011-07-18 Thread Sebastien Helleu
On Thu, Jul 07, 2011 at 02:21:13PM -0500, Jonathan Nieder wrote:
(...)
 Notes from building:
 
  src/core/wee-network.c: In function ‘network_init’:
  src/core/wee-network.c:106:5: warning: 
 ‘gnutls_certificate_client_set_retrieve_function’
   is deprecated (declared at /usr/include/gnutls/compat.h:158) 
 [-Wdeprecated-declarations]
(...)

Hi Jonathan,

Could you please tell me which version of gnutls you are using?
With version 2.10.5-2 (from Debian Sid), I have no such warning.

Thank you.

-- 
Cordialement / Best regards
Sébastien.

web: flashtux.org / weechat.org  mail: flashc...@flashtux.org
irc: FlashCode @ irc.freenode.netxmpp: flashc...@jabber.fr



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



Bug#632621: [PATCH/RFC 0/2] Re: weechat: please use smart filter for join/part/quit messages by default

2011-07-18 Thread Jonathan Nieder
Hi Sebastien,

Sebastien Helleu wrote:
 On Thu, Jul 07, 2011 at 02:21:13PM -0500, Jonathan Nieder wrote:

  src/core/wee-network.c:106:5: warning: 
 ‘gnutls_certificate_client_set_retrieve_function’
   is deprecated (declared at /usr/include/gnutls/compat.h:158) 
 [-Wdeprecated-declarations]
[...]
 Could you please tell me which version of gnutls you are using?
 With version 2.10.5-2 (from Debian Sid), I have no such warning.

I'm using version 2.12.7-2 from Debian experimental[*].  It seems the
function was deprecated by gnutls_2_11_3~303 (Deprecated the sign
callback, 2010-05-15) without a corresponding mention in the NEWS file
(oops).

The replacement gnutls_certificate_set_retrieve_function was
introduced around the same time.  So I wouldn't worry about it unless
you want to try the new API on a separate branch or use ifdefs to make
use of it where available.  I don't think the old function's actually
going away soon.

Regards,
Jonathan

[*] I have no clue when it will migrate to sid. :)
http://bugs.debian.org/630511



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



Bug#632621: [PATCH/RFC 0/2] Re: weechat: please use smart filter for join/part/quit messages by default

2011-07-18 Thread Sebastien Helleu
On Mon, Jul 18, 2011 at 04:20:14AM -0500, Jonathan Nieder wrote:
(...)
 I'm using version 2.12.7-2 from Debian experimental[*].  It seems the
 function was deprecated by gnutls_2_11_3~303 (Deprecated the sign
 callback, 2010-05-15) without a corresponding mention in the NEWS file
 (oops).
 
 The replacement gnutls_certificate_set_retrieve_function was
 introduced around the same time.  So I wouldn't worry about it unless
 you want to try the new API on a separate branch or use ifdefs to make
 use of it where available.  I don't think the old function's actually
 going away soon.
 
 Regards,
 Jonathan
 
 [*] I have no clue when it will migrate to sid. :)
 http://bugs.debian.org/630511
 

Ok. So I think I'll fix that in WeeChat (usind ifdefs to check gnutls
version) when this new version will reach Sid. No urgency for me since
it's only a warning, and function should not be deleted immediately
from gnutls lib.

-- 
Cordialement / Best regards
Sébastien.

web: flashtux.org / weechat.org  mail: flashc...@flashtux.org
irc: FlashCode @ irc.freenode.netxmpp: flashc...@jabber.fr



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



Bug#632621: [PATCH/RFC 0/2] Re: weechat: please use smart filter for join/part/quit messages by default

2011-07-17 Thread Emmanuel Bouthenot
Hi Jonathan,

Thanks for your involvement to improve weechat in Debian.

On Thu, Jul 07, 2011 at 02:21:13PM -0500, Jonathan Nieder wrote:
 Emmanuel Bouthenot wrote:
 
  You're right, I will add the missing Suggests field in weechat-curses
  and a symlink from /usr/share/doc/weechat/html to 
  /usr/share/doc/weechat-doc/html
 
  I will also move /usr/share/doc/weechat-doc/*.html files into
  /usr/share/doc/weechat-doc/html
 
 How about this?  Patches attached since the BTS seems to cope best
 that way.
This is different from my proposal but why not. Nevertheless, I will be
glad if you could could expose the reasons of your choice. I mean why a
symlink from /usr/share/doc/weechat/html to /usr/share/doc/weechat-doc/html
is not sufficient for you?

 Notes from building:
 
  src/core/wee-network.c: In function ‘network_init’:
  src/core/wee-network.c:106:5: warning: 
 ‘gnutls_certificate_client_set_retrieve_function’
   is deprecated (declared at /usr/include/gnutls/compat.h:158) 
 [-Wdeprecated-declarations]
I will forward this to the upstream developer (but he has probably
already been noticed as he's subscribed to the BTS).

  dh_pysupport: This program is deprecated, you should use dh_python2 instead.
   Migration guide: http://wiki.debian.org/Python/TransitionToDHPython2
sounds to be a DH7 issue as dh_pysupport is not called directly (AFAIR,
there is nothing related to dh_pysupport nor dh_python2 in this
package).

  dpkg-shlibdeps: warning: dependency on libcrypt.so.1 could be avoided if
   debian/weechat-plugins/usr/lib/weechat/plugins/perl.so were not uselessly 
 linked
   against it (they use none of its symbols).
IMO, not very important for this package.

[...]

 weechat-core suggests weechat-doc since the latter explains how to
 configure the plugins shipped by the former.  Unfortunately most
 Debian package managers do not prominently list packages that
 automatically installed packages Suggest.  To ensure people can find
 weechat-doc, let the user-visible packages (weechat-curses and the
 weechat metapackage) suggest it, too.
Good idea.

Regards,

M.

-- 
Emmanuel Bouthenot
  mail: kolter@{openics,debian}.orggpg: 4096R/0x929D42C3
  xmpp: kol...@im.openics.org  irc: kolter@{freenode,oftc}




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



Bug#632621: [PATCH/RFC 0/2] Re: weechat: please use smart filter for join/part/quit messages by default

2011-07-17 Thread Jonathan Nieder
Emmanuel Bouthenot wrote:
 On Thu, Jul 07, 2011 at 02:21:13PM -0500, Jonathan Nieder wrote:

 How about this?  Patches attached since the BTS seems to cope best
 that way.

 This is different from my proposal but why not. Nevertheless, I will be
 glad if you could could expose the reasons of your choice. I mean why a
 symlink from /usr/share/doc/weechat/html to /usr/share/doc/weechat-doc/html
 is not sufficient for you?

Ah, no good reason; it's just what I had on disk.  I don't mind if the
links go the other way.

  dh_pysupport: This program is deprecated, you should use dh_python2 instead.
   Migration guide: http://wiki.debian.org/Python/TransitionToDHPython2

 sounds to be a DH7 issue as dh_pysupport is not called directly (AFAIR,
 there is nothing related to dh_pysupport nor dh_python2 in this
 package).

From the debhelper changelog:

debhelper (7.0.8) unstable; urgency=low
[...]
  * Moved python-support special case out of dh and into a 
python-support
sequence addon. --with=python-support is enabled by default to avoid
breaking backwards compatibility.

I am guessing adding --with=python2 to the dh command line would disable
that.  Or one can switch to compatibility level 9. :)

debhelper (8.9.1) unstable; urgency=low
[...]
  * dh: In v9, do not enable any python support commands. Closes: 
#634106

  dpkg-shlibdeps: warning: dependency on libcrypt.so.1 could be avoided if
   debian/weechat-plugins/usr/lib/weechat/plugins/perl.so were not 
 uselessly linked
   against it (they use none of its symbols).

 IMO, not very important for this package.

Yes, seems harmless given that libcrypt is bundled with glibc.

Thanks for your thoughtfulness.
Jonathan



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



Bug#632621: [PATCH/RFC 0/2] Re: weechat: please use smart filter for join/part/quit messages by default

2011-07-07 Thread Jonathan Nieder
Emmanuel Bouthenot wrote:

 You're right, I will add the missing Suggests field in weechat-curses
 and a symlink from /usr/share/doc/weechat/html to 
 /usr/share/doc/weechat-doc/html

 I will also move /usr/share/doc/weechat-doc/*.html files into
 /usr/share/doc/weechat-doc/html

How about this?  Patches attached since the BTS seems to cope best
that way.

Notes from building:

 src/core/wee-network.c: In function ‘network_init’:
 src/core/wee-network.c:106:5: warning: 
‘gnutls_certificate_client_set_retrieve_function’
  is deprecated (declared at /usr/include/gnutls/compat.h:158) 
[-Wdeprecated-declarations]

 dh_pysupport: This program is deprecated, you should use dh_python2 instead.
  Migration guide: http://wiki.debian.org/Python/TransitionToDHPython2

 dpkg-shlibdeps: warning: dependency on libcrypt.so.1 could be avoided if
  debian/weechat-plugins/usr/lib/weechat/plugins/perl.so were not uselessly 
linked
  against it (they use none of its symbols).

Jonathan Nieder (2):
  Move docs from /usr/share/doc/weechat-doc/*.html to
.../doc/weechat/html/
  Make weechat-doc more discoverable

 debian/changelog  |   10 ++
 debian/control|2 ++
 debian/weechat-doc.doc-base.faq-de|4 ++--
 debian/weechat-doc.doc-base.faq-en|4 ++--
 debian/weechat-doc.doc-base.faq-fr|4 ++--
 debian/weechat-doc.doc-base.faq-it|4 ++--
 debian/weechat-doc.doc-base.faq-pl|4 ++--
 debian/weechat-doc.doc-base.plugin-en |4 ++--
 debian/weechat-doc.doc-base.plugin-fr |4 ++--
 debian/weechat-doc.doc-base.plugin-it |4 ++--
 debian/weechat-doc.doc-base.quickstart-de |4 ++--
 debian/weechat-doc.doc-base.quickstart-en |4 ++--
 debian/weechat-doc.doc-base.quickstart-fr |4 ++--
 debian/weechat-doc.doc-base.quickstart-it |4 ++--
 debian/weechat-doc.doc-base.quickstart-ja |4 ++--
 debian/weechat-doc.doc-base.quickstart-pl |4 ++--
 debian/weechat-doc.doc-base.quickstart-ru |4 ++--
 debian/weechat-doc.doc-base.scripting-de  |4 ++--
 debian/weechat-doc.doc-base.scripting-en  |4 ++--
 debian/weechat-doc.doc-base.scripting-fr  |4 ++--
 debian/weechat-doc.doc-base.scripting-it  |4 ++--
 debian/weechat-doc.doc-base.tester-de |4 ++--
 debian/weechat-doc.doc-base.tester-en |4 ++--
 debian/weechat-doc.doc-base.tester-fr |4 ++--
 debian/weechat-doc.doc-base.tester-it |4 ++--
 debian/weechat-doc.doc-base.tester-pl |4 ++--
 debian/weechat-doc.doc-base.user-de   |4 ++--
 debian/weechat-doc.doc-base.user-en   |4 ++--
 debian/weechat-doc.doc-base.user-fr   |4 ++--
 debian/weechat-doc.doc-base.user-it   |4 ++--
 debian/weechat-doc.install|2 +-
 debian/weechat-doc.links  |1 +
 32 files changed, 70 insertions(+), 57 deletions(-)
 create mode 100644 debian/weechat-doc.links
From: Jonathan Nieder jrnie...@gmail.com
Date: Thu, 7 Jul 2011 14:05:56 -0500
Subject: [PATCH 1/2] Move docs from /usr/share/doc/weechat-doc/*.html to 
.../doc/weechat/html/

Ian Jackson explains[*]:

| For example, there has been a recent trend for FOO's documentation
| package FOO-doc to contain /usr/share/doc/FOO-doc/html/index.html (or
| whatever).  I think this is daft.  It should be in
| /usr/share/doc/FOO/html/index.html.  That way you can find the
| documentation for FOO in the filesystem without knowing whether the
| FOO package happens to have been split into FOO and FOO-doc, or for
| that matter libFOO8.9-dev, FOO-bin, etc. etc. etc.

Also install a symlink under /usr/share/doc/weechat-doc so readers
expecting to still find the docs there still are not completely lost.

[*] 19749.55214.255224.395...@chiark.greenend.org.uk

Helped-by: Emmanuel Bouthenot kol...@openics.org
Signed-off-by: Jonathan Nieder jrnie...@gmail.com
---
 debian/changelog  |8 
 debian/weechat-doc.doc-base.faq-de|4 ++--
 debian/weechat-doc.doc-base.faq-en|4 ++--
 debian/weechat-doc.doc-base.faq-fr|4 ++--
 debian/weechat-doc.doc-base.faq-it|4 ++--
 debian/weechat-doc.doc-base.faq-pl|4 ++--
 debian/weechat-doc.doc-base.plugin-en |4 ++--
 debian/weechat-doc.doc-base.plugin-fr |4 ++--
 debian/weechat-doc.doc-base.plugin-it |4 ++--
 debian/weechat-doc.doc-base.quickstart-de |4 ++--
 debian/weechat-doc.doc-base.quickstart-en |4 ++--
 debian/weechat-doc.doc-base.quickstart-fr |4 ++--
 debian/weechat-doc.doc-base.quickstart-it |4 ++--
 debian/weechat-doc.doc-base.quickstart-ja |4 ++--
 debian/weechat-doc.doc-base.quickstart-pl |4 ++--
 debian/weechat-doc.doc-base.quickstart-ru |4 ++--
 debian/weechat-doc.doc-base.scripting-de  |4 ++--
 debian/weechat-doc.doc-base.scripting-en  |4 ++--
 debian/weechat-doc.doc-base.scripting-fr  |4 ++--