File libcanberra-gtk3.patch of Package claws-mail-3.18.0-gtk3
--- claws-mail-3.18.0_orig/configure
+++ claws-mail-3.18.0/configure
@@ -27116,12 +27116,12 @@ if test -n "$libcanberra_gtk_CFLAGS"; then
pkg_cv_libcanberra_gtk_CFLAGS="$libcanberra_gtk_CFLAGS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcanberra-gtk >= 0.6\""; } >&5
- ($PKG_CONFIG --exists --print-errors "libcanberra-gtk >= 0.6") 2>&5
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcanberra-gtk3 >= 0.6\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "libcanberra-gtk3 >= 0.6") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
- pkg_cv_libcanberra_gtk_CFLAGS=`$PKG_CONFIG --cflags "libcanberra-gtk >= 0.6" 2>/dev/null`
+ pkg_cv_libcanberra_gtk_CFLAGS=`$PKG_CONFIG --cflags "libcanberra-gtk3 >= 0.6" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
@@ -27133,12 +27133,12 @@ if test -n "$libcanberra_gtk_LIBS"; then
pkg_cv_libcanberra_gtk_LIBS="$libcanberra_gtk_LIBS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcanberra-gtk >= 0.6\""; } >&5
- ($PKG_CONFIG --exists --print-errors "libcanberra-gtk >= 0.6") 2>&5
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcanberra-gtk3 >= 0.6\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "libcanberra-gtk3 >= 0.6") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
- pkg_cv_libcanberra_gtk_LIBS=`$PKG_CONFIG --libs "libcanberra-gtk >= 0.6" 2>/dev/null`
+ pkg_cv_libcanberra_gtk_LIBS=`$PKG_CONFIG --libs "libcanberra-gtk3 >= 0.6" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
@@ -27159,9 +27159,9 @@ else
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
- libcanberra_gtk_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcanberra-gtk >= 0.6" 2>&1`
+ libcanberra_gtk_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcanberra-gtk3 >= 0.6" 2>&1`
else
- libcanberra_gtk_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcanberra-gtk >= 0.6" 2>&1`
+ libcanberra_gtk_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcanberra-gtk3 >= 0.6" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
echo "$libcanberra_gtk_PKG_ERRORS" >&5
@@ -27811,9 +27811,9 @@ $as_echo "#define NOTIFICATION_LCDPROC 1" >>confdefs.h
notification_missing_dependencies="$notification_missing_dependencies libnotify"
fi
if test x"$HAVE_LIBCANBERRA_GTK" = xyes; then
- notification_features="$notification_features libcanberra-gtk"
+ notification_features="$notification_features libcanberra-gtk3"
else
- notification_missing_dependencies="$notification_missing_dependencies libcanberra-gtk"
+ notification_missing_dependencies="$notification_missing_dependencies libcanberra-gtk3"
fi
notification_features="$notification_features popup trayicon"
else
--
2.30.2