From owner-freebsd-gnome@FreeBSD.ORG Fri Nov 19 22:40:20 2010 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A97F8106566B for ; Fri, 19 Nov 2010 22:40:20 +0000 (UTC) (envelope-from kwm@rainbow-runner.nl) Received: from fep28.mx.upcmail.net (fep28.mx.upcmail.net [62.179.121.48]) by mx1.freebsd.org (Postfix) with ESMTP id 2004F8FC0A for ; Fri, 19 Nov 2010 22:40:19 +0000 (UTC) Received: from edge05.upcmail.net ([192.168.13.212]) by viefep14-int.chello.at (InterMail vM.8.01.02.02 201-2260-120-106-20100312) with ESMTP id <20101119222053.ZFWL1458.viefep14-int.chello.at@edge05.upcmail.net> for ; Fri, 19 Nov 2010 23:20:53 +0100 Received: from headache.rainbow-runner.nl ([80.56.73.45]) by edge05.upcmail.net with edge id ZALo1f01E0ydU7k05ALsaD; Fri, 19 Nov 2010 23:20:53 +0100 X-SourceIP: 80.56.73.45 Date: Fri, 19 Nov 2010 23:21:49 +0100 From: Koop Mast To: freebsd-gnome@freebsd.org Message-ID: <20101119232149.03a91ae7@headache.rainbow-runner.nl> In-Reply-To: References: X-Mailer: Claws Mail 3.7.6 (GTK+ 2.22.0; i386-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Cloudmark-Analysis: v=1.1 cv=DCRP0ZtmJUK9xCJAWyBxphtxfaK97vUsdrClCjRuegE= c=1 sm=0 a=sY213vGaeB8A:10 a=IkcTkHD0fZMA:10 a=x80AfRfFAAAA:8 a=6I5d2MoRAAAA:8 a=bU_RWMRP9pZ9C9Ekh_QA:9 a=t7X7NNDoEQMVvKAbB2EA:7 a=ilE-bZCH76Jf-qeSKD3p4ZG-FowA:4 a=QEXdDO2ut3YA:10 a=rfpWZM6HE0gA:10 a=SV7veod9ZcQA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Subject: Re: Questions about gconf and the schemas install/deinstall to prepare a Guake port X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Nov 2010 22:40:20 -0000 On Fri, 19 Nov 2010 22:17:43 +0100 S=C3=A9bastien Santoro wrote: > Hi, >=20 > I prepared some months ago a guake port (a dropdown terminal) but > still have two issuse to solve before committing it: >=20 > (1) How to properly install the gconf schema? >=20 > I've had to manually write this command to install it (as user level :/): > gconftool-2 --install-schema-file /usr/local/etc/gconf/schemas/guake.sche= mas >=20 > If I try gconftool-2 --makefile-install-rule > ${PREFIX}/etc/gconf/schemas/guake.schemas, I got the following error: > Must set the GCONF_CONFIG_SOURCE environment variable >=20 > If I read the man gconftool-2, to set it to a empty string forces > default value, but that doesn't seems the case (I got the same > message). > man excerpt: > --makefile-install-rule > Properly installs schema files on the command line int= o the > database. GCONF_CONFIG_SOURCE environment variable should b= e set > to a non-default config source or set to the empty string t= o use > the default. >=20 > (2) How to properly deinstall the gconf schema? >=20 > I thought the following line would deinstall it properly: > GCONF_SCHEMAS=3D guake.schemas >=20 > # GCONF_SCHEMAS - Set the following to list of all schema files > # that your port installs. These schema files and > # %gconf.xml files will be automatically added to > # ${PLIST}. For example, if your port has > # "etc/gconf/schemas/(foo.schemas and bar.schemas)", > # add the following to your Makefile: > # "GCONF_SCHEMAS=3Dfoo.schemas bar.schemas". >=20 > But, when I look my config, entries are still there. > Is that because my clumsy --install-schema-file? Your port installs a gconf2 schemas in ${PREFIX}/etc/gconf/schemas/. The only thing you need to do is add "GCONF_SCHEMAS=3Dguake.schemas" to the= port makefile. This will do all the nessasery command for install and dein= stall. It will also add a entry to the plist so you don't need to worry abo= ut that either. -Koop >=20 > --=20 > S=C3=A9bastien Santoro aka Dereckson > _______________________________________________ > freebsd-gnome@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome > To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org" >=20