Skip site navigation (1)Skip section navigation (2)
Date:      11 Feb 2003 15:05:51 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Martin Klaffenboeck <martin.klaffenboeck@gmx.at>
Cc:        FreeBSD-gnats-submit@FreeBSD.ORG, FreeBSD GNOME Users <gnome@FreeBSD.ORG>
Subject:   Re: gimp-devel has a python fu
Message-ID:  <1044993951.305.47.camel@gyros>
In-Reply-To: <20030211194845.GA71461@martin.kdrache.org>
References:  <20030211182913.87245.qmail@httpd.terions.de> <1044989476.305.30.camel@gyros> <20030211194845.GA71461@martin.kdrache.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-H8uO4qHgiWwkrR0PGKtU
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Tue, 2003-02-11 at 14:48, Martin Klaffenboeck wrote:
> Am 2003.02.11 19:51 schrieb(en) Joe Marcus Clarke:
> > On Tue, 2003-02-11 at 13:29, Martin Klaffenboeck wrote:
> > > >Submitter-Id:	current-users
> > > >Originator:	Martin Klaffenboeck
> > > >Organization:	=20
> > > >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
> > >
> > >
> > > 	=20
> > > >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.
> > >
> > > 	=20
> > > >How-To-Repeat:
> > > 	=20
> > > >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.
> >=20
> > Did you check to see if there were any plist changes?
>=20
> There are some changes, as I can see now, thanks for you to attend me=20
> to this.  But I don't know how to do with multiple pkg-plists.  There=20
> is a new directory created: /usr/X11R6/libexec/gimp/1.3/python with=20
> some stuff inside.

You need to use PLIST_SUB to handle this.

>=20
> Is there anywhere a good script to create a pkg-plist file?  I tryed to=20
> create one, but I failed until now.

This is a semi-religious debate.  There are some examples in the porters
handbook as well as in ports/Tools.

Joe

>=20
> Martin
>=20
> > Joe
> >=20
> > > 	=20
> > >
> > > --- 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=3D		gimp-1.3.1 gimptool-1.3.1 gimp-remote-1.3.1
> > >  MAN5=3D		gimprc-1.3.5
> > >
> > > +.if defined(WITH_PYTHON)
> > > +CONFIGURE_ARGS+=3D	--enable-python
> > > +.else
> > > +CONFIGURE_ARGS+=3D	--disable-python
> > > +.endif
> > > +
> > >  .if exists(${X11BASE}/libdata/pkgconfig/libpanelapplet-2.0.pc)
> > >  RUN_DEPENDS+=3D	gnome-panel:${PORTSDIR}/x11/gnomepanel
> > >  CONFIGURE_ARGS+=3D	=20
> > --with-gnome-desktop=3D${X11BASE}/share/gnome/applications
> > > @@ -70,6 +77,13 @@
> > >  #.if exists(${X11BASE}/libdata/pkgconfig/libgtkhtml-2.0.pc) ||
> > defined(WITH_HTML_HELP_BROWSER)
> > >  #LIB_DEPENDS+=3D	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=3Dyes\""
> > > +.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
> > --
> > PGP Key : http://www.marcuscom.com/pgp.asc
> >=20
> >=20
> >=20
--=20
PGP Key : http://www.marcuscom.com/pgp.asc



--=-H8uO4qHgiWwkrR0PGKtU
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQA+SVefb2iPiv4Uz4cRAoyTAJ9aJ1DXDplFuCnRrwD8W2jksDMbogCgr9wb
fhcaFpWCITsqAxfBj4OX+Oc=
=GQI/
-----END PGP SIGNATURE-----

--=-H8uO4qHgiWwkrR0PGKtU--


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?1044993951.305.47.camel>