ports/55800: xsane GTK2 support
Dominik Brettnacher
domi at saargate.de
Wed Aug 20 10:40:20 UTC 2003
>Number: 55800
>Category: ports
>Synopsis: xsane GTK2 support
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Aug 20 03:40:17 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Dominik Brettnacher
>Release: FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
System: FreeBSD dominik.saargate.de 4.8-STABLE FreeBSD 4.8-STABLE #20: Thu May 1 21:02:19 CEST 2003 domi at dominik.saargate.de:/usr/src/sys/compile/DOMINIK i386
>Description:
The xsane port used the highest GTK version installed on the system
This patch makes the GTK version configurable, similar to the
sane-frontends-port.
Thanks to Alexander Leidinger for pointing out this problem.
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/graphics/xsane/Makefile xsane/Makefile
--- /usr/ports/graphics/xsane/Makefile Wed Aug 20 11:53:03 2003
+++ xsane/Makefile Wed Aug 20 11:57:15 2003
@@ -22,7 +22,6 @@
USE_GMAKE= yes
USE_X_PREFIX= yes
-USE_GNOME= gtk12
GNU_CONFIGURE= yes
USE_REINPLACE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
@@ -35,6 +34,13 @@
CONFIGURE_ARGS+= --enable-gimp
.else
CONFIGURE_ARGS+= --disable-gimp
+.endif
+
+.if defined(WITH_GTK2)
+USE_GNOME= gtk20
+.else
+USE_GNOME= gtk12
+CONFIGURE_ARGS= --disable-gtk2
.endif
pre-everything::
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list