Debian Bug report logs - #691477
XChat refers to a non-free browser (not even included in Debian) in its URL handlers.

version graph

Package: xchat; Maintainer for xchat is Davide Puricelli (evo) <evo@debian.org>; Source for xchat is src:xchat.

Reported by: "Grant H." <sirgrant@member.fsf.org>

Date: Fri, 26 Oct 2012 05:54:01 UTC

Severity: normal

Found in version 2.8.8

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Davide Puricelli (evo) <evo@debian.org>:
Bug#691477; Package xchat. (Fri, 26 Oct 2012 05:54:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Grant H." <sirgrant@member.fsf.org>:
New Bug report received and forwarded. Copy sent to Davide Puricelli (evo) <evo@debian.org>. (Fri, 26 Oct 2012 05:54:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: "Grant H." <sirgrant@member.fsf.org>
To: submit@bugs.debian.org
Subject: XChat refers to a non-free browser (not even included in Debian) in its URL handlers.
Date: Thu, 25 Oct 2012 22:50:35 -0700
Package: xchat
Version: 2.8.8

Description

Summary: Source package xchat refers to a non-free browser in its URL
handler section.  This non-free browser is not even in the Ubuntu
repositories (free & non-free) so we should not be using it as a URL
handler.   A URL-handler for an appropriate free software browser was
expected.

Versions Used:

    Operating System: Trisquel 5.5 (Ubuntu 11.10 derivative)
    Package: xchat (2.8.8-3ubuntu8)
    Notes: Also tested on Debian virtual machine using Debian 6.0.6

Steps to reproduce:

    Install the install xchat package
    Open xchat
    Connect to any network + channel (e.g. #trisquel on freenode)
    Navigate to settings --> advanced --> URL Handlers
    Option menu will display a URL Handler for a non-free browser.

References:

    List of software that does not respect the Free System Distribution
Guidelines: XChat
(http://libreplanet.org/wiki/List_of_software_that_does_not_respect_the_Free_System_Distribution_Guidelines#XChat)
    gNewSense GNU/Linux - Bugs: bug #30752, XChat recommends non-free
software (https://savannah.nongnu.org/bugs/?30752)
    X-Chat - Bugs: bug #3043326, RFE: Replace Opera with Free software
browser in URL handler
(http://sourceforge.net/tracker/?func=detail&aid=3043326&group_id=239&atid=350239)



Information forwarded to debian-bugs-dist@lists.debian.org, Davide Puricelli (evo) <evo@debian.org>:
Bug#691477; Package xchat. (Thu, 06 Dec 2012 09:51:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Marek Buras <cyfr0n@go2.pl>:
Extra info received and forwarded to list. Copy sent to Davide Puricelli (evo) <evo@debian.org>. (Thu, 06 Dec 2012 09:51:03 GMT) Full text and rfc822 format available.

Message #10 received at 691477@bugs.debian.org (full text, mbox):

From: Marek Buras <cyfr0n@go2.pl>
To: 691477@bugs.debian.org
Subject: Patch for #691477
Date: Thu, 6 Dec 2012 10:50:02 +0100
Hi there!

Here is very simple patch that solved this issue in gNewSense GNU/Linux
(Parkes). It suggests Iceweasel instead of Opera as optional URL handler.

--- a/src/common/xchat.c
+++ b/src/common/xchat.c
@@ -604,7 +604,7 @@
 	"NAME WII\n"			"CMD quote WHOIS %2 %2\n\n";
 
 static char defaultconf_urlhandlers[] =
-		"NAME Open Link in Opera\n"		"CMD !opera -remote 'openURL(%s)'\n\n";
+		"NAME Open Link in Iceweasel\n"		"CMD !iceweasel '%s'\n\n";
 
 #ifdef USE_SIGACTION
 /* Close and open log files on SIGUSR1. Usefull for log rotating */

-- 
Marek Buras
cyfr0n (at) go2.pl



Information forwarded to debian-bugs-dist@lists.debian.org, Davide Puricelli (evo) <evo@debian.org>:
Bug#691477; Package xchat. (Mon, 21 Jan 2013 00:21:09 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kevin Skusek <nightkev@gmail.com>:
Extra info received and forwarded to list. Copy sent to Davide Puricelli (evo) <evo@debian.org>. (Mon, 21 Jan 2013 00:21:09 GMT) Full text and rfc822 format available.

Message #15 received at 691477@bugs.debian.org (full text, mbox):

From: Kevin Skusek <nightkev@gmail.com>
To: 691477@bugs.debian.org
Date: Sun, 20 Jan 2013 16:18:30 -0800
That patch doesn't actually fix the issue...

http://libreplanet.org/wiki/List_of_software_that_does_not_respect_the_Free_System_Distribution_Guidelines#iceweasel



Information forwarded to debian-bugs-dist@lists.debian.org, Davide Puricelli (evo) <evo@debian.org>:
Bug#691477; Package xchat. (Tue, 29 Jan 2013 07:24:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Marek Buras <cyfr0n@go2.pl>:
Extra info received and forwarded to list. Copy sent to Davide Puricelli (evo) <evo@debian.org>.

Your message did not contain a Subject field. They are recommended and useful because the title of a $gBug is determined using this field. Please remember to include a Subject field in your messages in future.

(Tue, 29 Jan 2013 07:24:03 GMT) Full text and rfc822 format available.


Message #20 received at 691477@bugs.debian.org (full text, mbox):

From: Marek Buras <cyfr0n@go2.pl>
To: 691477@bugs.debian.org
Date: Tue, 29 Jan 2013 08:21:28 +0100
[Message part 1 (text/plain, inline)]
You are right. It wasn't the best idea to use Iceweasel ;)
I updated the patch, so now xchat will use Epiphany instead.
Sorry for the confusion.

-- 
Marek Buras
cyfr0n (at) go2.pl
[35865_open_link_fix.patch (text/x-diff, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Davide Puricelli (evo) <evo@debian.org>:
Bug#691477; Package xchat. (Tue, 29 Jan 2013 09:39:03 GMT) Full text and rfc822 format available.

Message #23 received at 691477@bugs.debian.org (full text, mbox):

From: Sebastian Ramacher <sramacher@debian.org>
To: Marek Buras <cyfr0n@go2.pl>, 691477@bugs.debian.org
Subject: Re: Bug#691477: (no subject)
Date: Tue, 29 Jan 2013 10:30:31 +0100
[Message part 1 (text/plain, inline)]
On 2013-01-29 08:21:28, Marek Buras wrote:
> You are right. It wasn't the best idea to use Iceweasel ;)
> I updated the patch, so now xchat will use Epiphany instead.
> Sorry for the confusion.
> 
> -- 
> Marek Buras
> cyfr0n (at) go2.pl

> Description: Changes default browser from Opera (which is non-free) to Epiphany.
> Author: Marek Buras <cyfr0n@go2.pl>
> Origin: vendor
> Forwarded: no
> Last-Update: 2013-01-29
> --- a/src/common/xchat.c
> +++ b/src/common/xchat.c
> @@ -604,7 +604,7 @@
>  	"NAME WII\n"			"CMD quote WHOIS %2 %2\n\n";
>  
>  static char defaultconf_urlhandlers[] =
> -		"NAME Open Link in Opera\n"		"CMD !opera -remote 'openURL(%s)'\n\n";
> +		"NAME Open Link in Epiphany\n"		"CMD !epiphany '%s'\n\n";

Please use x-www-browser instead and respect the default browser. This
would allow the user to open an URL even if epiphany is not installed
but another webbrowser is.

Regards
-- 
Sebastian Ramacher
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Davide Puricelli (evo) <evo@debian.org>:
Bug#691477; Package xchat. (Tue, 29 Jan 2013 12:06:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Marek Buras <cyfr0n@go2.pl>:
Extra info received and forwarded to list. Copy sent to Davide Puricelli (evo) <evo@debian.org>. (Tue, 29 Jan 2013 12:06:03 GMT) Full text and rfc822 format available.

Message #28 received at 691477@bugs.debian.org (full text, mbox):

From: Marek Buras <cyfr0n@go2.pl>
To: Sebastian Ramacher <sramacher@debian.org>
Cc: 691477@bugs.debian.org
Subject: Re: Bug#691477: (no subject)
Date: Tue, 29 Jan 2013 13:03:19 +0100
[Message part 1 (text/plain, inline)]
On Tue, Jan 29, 2013 at 10:30:31AM +0100, Sebastian Ramacher wrote:
> 
> Please use x-www-browser instead and respect the default browser. This
> would allow the user to open an URL even if epiphany is not installed
> but another webbrowser is.

Seems to be the most logical choice. I've attached updated version of the
patch. Thank you for this suggestion.

-- 
Marek Buras
cyfr0n (at) go2.pl
[35865_open_link_fix.patch (text/x-diff, attachment)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Apr 18 16:59:49 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.