Date: Fri, 19 Nov 2010 23:21:49 +0100 From: Koop Mast <kwm@rainbow-runner.nl> To: freebsd-gnome@freebsd.org Subject: Re: Questions about gconf and the schemas install/deinstall to prepare a Guake port Message-ID: <20101119232149.03a91ae7@headache.rainbow-runner.nl> In-Reply-To: <AANLkTi=UMygZ9v3d145R9ywsZc6WYCY80xXM5Ks=e49w@mail.gmail.com> References: <AANLkTi=UMygZ9v3d145R9ywsZc6WYCY80xXM5Ks=e49w@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 19 Nov 2010 22:17:43 +0100 S=C3=A9bastien Santoro <dereckson@espace-win.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101119232149.03a91ae7>