Date: Wed, 20 Aug 2003 12:35:49 +0200 (CEST) From: Dominik Brettnacher <domi@saargate.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/55800: xsane GTK2 support Message-ID: <200308201035.h7KAZnc7068859@dominik.saargate.de> Resent-Message-ID: <200308201040.h7KAeI0M098592@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308201035.h7KAZnc7068859>