[Bug 285343] graphics/xsane fails to start

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 12 Mar 2025 12:31:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285343

Vladimir Druzenko <vvd@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |desktop@FreeBSD.org

--- Comment #2 from Vladimir Druzenko <vvd@FreeBSD.org> ---
The key for this issue is:
(xsane:8981): GdkPixbuf-WARNING **: 21:31:21.671: Error loading XPM image
loader: Image type “xpm” is not supported

Show output from: pkg info gdk-pixbuf2 | grep -A7 ^Options
Options        :
        DOCS           : off
        GIF            : on
        JPEG           : on
        MANPAGES       : off
        OTHERS         : off
        PNG            : on
        TIFF           : on
Then rebuild graphics/gdk-pixbuf2 with option OTHERS on.

Suggested patch:
diff --git a/graphics/gdk-pixbuf2/Makefile b/graphics/gdk-pixbuf2/Makefile
index 5e44921da7dc..a5431a40dfa8 100644
--- a/graphics/gdk-pixbuf2/Makefile
+++ b/graphics/gdk-pixbuf2/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=      gdk-pixbuf
-PORTVERSION=   2.42.12
+DISTVERSION=   2.42.12
+PORTREVISION=  1
 CATEGORIES=    graphics
 MASTER_SITES=  GNOME
 PKGNAMESUFFIX= 2
@@ -29,7 +30,7 @@ PLIST_SUB+=   LIBVERSION=${LIBVERSION}

 OPTIONS_SUB=   yes
 OPTIONS_DEFINE=        DOCS GIF JPEG MANPAGES OTHERS PNG TIFF
-OPTIONS_DEFAULT=GIF JPEG MANPAGES PNG TIFF
+OPTIONS_DEFAULT=GIF JPEG MANPAGES OTHERS PNG TIFF

 OTHERS_DESC=   Enable weakly-maintained loaders

-- 
You are receiving this mail because:
You are the assignee for the bug.