From owner-freebsd-gnome Tue Feb 11 10:29:21 2003 Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B4C8E37B401 for ; Tue, 11 Feb 2003 10:29:19 -0800 (PST) Received: from httpd.terions.de (static62-99-146-055.adsl.inode.at [62.99.146.55]) by mx1.FreeBSD.org (Postfix) with SMTP id 52E0643F85 for ; Tue, 11 Feb 2003 10:29:16 -0800 (PST) (envelope-from martin@kleinerdrache.org) Received: (qmail 87246 invoked by uid 0); 11 Feb 2003 18:29:13 -0000 Date: 11 Feb 2003 18:29:13 -0000 Message-ID: <20030211182913.87245.qmail@httpd.terions.de> To: FreeBSD-gnats-submit@freebsd.org Subject: gimp-devel has a python fu From: Martin Klaffenboeck Reply-To: Martin Klaffenboeck Cc: gnome@freebsd.org X-send-pr-version: 3.113 X-GNATS-Notify: Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >Submitter-Id: current-users >Originator: Martin Klaffenboeck >Organization: >Confidential: no >Synopsis: gimp-devel has a python fu >Severity: non-critical >Priority: low >Category: ports >Class: change-request >Release: FreeBSD 4.7-STABLE i386 >Environment: System: FreeBSD martin.kleinerdrache.org 4.7-STABLE FreeBSD 4.7-STABLE #24: Mon Feb 10 21:21:27 CET 2003 martin@martin.kleinerdrache.org:/usr/obj/usr/src/sys/MYKERNEL i386 >Description: Gimp 1.3 will come with a Python-Fu interface as addition to the standard Script-Fu in previos versions. Now we can use both if we enable WITH_PYTHON by building gimp-devel. >How-To-Repeat: >Fix: This is my change in the Makefile of gimp-devel. I'm not sure if that really works, I decided to test the python interface before making changes to this Makefile. If we use configure with --enalbe-python, it works quite well, we have now the Menu 'Python-Fu' right below the 'Script-Fu' in the 'Xtns' menu, and it seems to work. I recomend gimp-devel users to use this option, we want to be sure that the Python-Fu works well, wenn we this version of gimp goes stable. --- Makefile.diff begins here --- --- Makefile.orig Tue Feb 11 19:10:56 2003 +++ Makefile Tue Feb 11 19:19:37 2003 @@ -59,6 +60,12 @@ MAN1= gimp-1.3.1 gimptool-1.3.1 gimp-remote-1.3.1 MAN5= gimprc-1.3.5 +.if defined(WITH_PYTHON) +CONFIGURE_ARGS+= --enable-python +.else +CONFIGURE_ARGS+= --disable-python +.endif + .if exists(${X11BASE}/libdata/pkgconfig/libpanelapplet-2.0.pc) RUN_DEPENDS+= gnome-panel:${PORTSDIR}/x11/gnomepanel CONFIGURE_ARGS+= --with-gnome-desktop=${X11BASE}/share/gnome/applications @@ -70,6 +77,13 @@ #.if exists(${X11BASE}/libdata/pkgconfig/libgtkhtml-2.0.pc) || defined(WITH_HTML_HELP_BROWSER) #LIB_DEPENDS+= gtkhtml-2.0:${PORTSDIR}/www/libgtkhtml #.endif + +pre-everything:: +.if !defined(WITH_PYTHON) + @${ECHO_MSG} "* Note: gimp-1.3 comes with a python script interface" + @${ECHO_MSG} "* If you wish to test this, hit Ctrl-C now and use" + @${ECHO_MSG} "* \"WITH_PYTHON=yes\"" +.endif do-extract: @${MKDIR} ${WRKDIR} --- Makefile.diff ends here --- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message