#! /bin/sh /usr/share/dpatch/dpatch-run ## 01_remove-xdg-check.dpatch by Adrien Cunin ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: make configure only warn if xdg-open is not present. @DPATCH@ diff -urNad filezilla~/configure filezilla/configure --- filezilla~/configure 2010-02-09 08:37:18.000000000 +0100 +++ filezilla/configure 2010-02-09 09:07:39.000000000 +0100 @@ -23076,9 +23076,8 @@ if test -z "$xdgopen"; then - { { echo "$as_me:$LINENO: error: xdg-open not found. This program is the preferred way to launch the default browser. Please install the xdg-utils." >&5 -echo "$as_me: error: xdg-open not found. This program is the preferred way to launch the default browser. Please install the xdg-utils." >&2;} - { (exit 1); exit 1; }; } + { echo "$as_me:$LINENO: WARNING: xdg-open not found. This program is the preferred way to launch the default browser. Please make sure that xdg-utils is installed at runtime." >&5 +echo "$as_me: WARNING: xdg-open not found. This program is the preferred way to launch the default browser. Please make sure that xdg-utils is installed at runtime." >&2; } fi fi diff -urNad filezilla~/configure.in filezilla/configure.in --- filezilla~/configure.in 2010-02-09 08:37:18.000000000 +0100 +++ filezilla/configure.in 2010-02-09 09:07:39.000000000 +0100 @@ -452,7 +452,7 @@ AC_PATH_PROG(xdgopen, xdg-open) if test -z "$xdgopen"; then - AC_MSG_ERROR([xdg-open not found. This program is the preferred way to launch the default browser. Please install the xdg-utils.]) + AC_MSG_WARN([xdg-open not found. This program is the preferred way to launch the default browser. Please make sure that xdg-utils is installed at runtime.]) fi fi