Date: 11 Feb 2003 18:29:13 -0000 From: Martin Klaffenboeck <martin.klaffenboeck@gmx.at> To: FreeBSD-gnats-submit@freebsd.org Cc: gnome@freebsd.org Subject: gimp-devel has a python fu Message-ID: <20030211182913.87245.qmail@httpd.terions.de>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030211182913.87245.qmail>