Merge branch 'xchat-url-handler' into 'belenos'
Add make-xchat helper This helper uses [this patch](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691477#28) to replace the reference to a nonfree browser (Opera) with a reference to the default system browser (x-www-browser). It should work on toutatis too. See merge request !100
This commit is contained in:
commit
9f71c69a1a
2 changed files with 46 additions and 0 deletions
16
helpers/DATA/xchat/35865_open_link_fix.patch
Normal file
16
helpers/DATA/xchat/35865_open_link_fix.patch
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
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 the default browser\n" "CMD !x-www-browser '%s'\n\n";
|
||||||
|
|
||||||
|
#ifdef USE_SIGACTION
|
||||||
|
/* Close and open log files on SIGUSR1. Usefull for log rotating */
|
||||||
30
helpers/make-xchat
Normal file
30
helpers/make-xchat
Normal file
|
|
@ -0,0 +1,30 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Copyright (C) 2015 Legimet <legimet.calc@gmail.com>
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
#
|
||||||
|
|
||||||
|
VERSION=1
|
||||||
|
|
||||||
|
. ./config
|
||||||
|
|
||||||
|
# Apply patch from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691477#28
|
||||||
|
patch -p1 < $DATA/35865_open_link_fix.patch
|
||||||
|
|
||||||
|
changelog "Replace nonfree browser with default system browser in URL handler, #5994"
|
||||||
|
|
||||||
|
compile
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue