Date: Thu, 16 Sep 2004 18:24:24 -0500 From: "Jeremy Messenger" <mezz7@cox.net> To: freebsd-gnome@freebsd.org Subject: Request feedback for GCONF_SCHEMAS in porting.sgml.. Message-ID: <opsef0mynn9aq2h7@mezz.mezzweb.com>
next in thread | raw e-mail | index | archive | help
------------4G7NLeLoXtAtkNKvTLXJbH Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii Content-Transfer-Encoding: 8bit Hello, I need some feedbacks for my change in porting.sgml in the 'GConf Schema Installation' section about the new GCONF_SCHEMAS. If it doesn't clear enough, just let me know with the explanation why it is not clear or whatever. English grammar check would be great too. Thanks! BTW: bsd.gnome.mk will be next after this feedback. Cheers, Mezz -- mezz7 at cox.net - mezz at FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome at FreeBSD.org ------------4G7NLeLoXtAtkNKvTLXJbH Content-Disposition: attachment; filename=porting.sgml.diff Content-Type: text/plain; name=porting.sgml.diff Content-Transfer-Encoding: 8bit Index: www/en/gnome/docs/porting.sgml =================================================================== RCS file: /home/dcvs/www/en/gnome/docs/porting.sgml,v retrieving revision 1.43 diff -u -r1.43 porting.sgml --- www/en/gnome/docs/porting.sgml 26 Jul 2004 20:46:45 -0000 1.43 +++ www/en/gnome/docs/porting.sgml 16 Sep 2004 23:14:23 -0000 @@ -255,38 +255,31 @@ applications use for storing their settings. This database is defined by installed schema files that are used to generate <tt>%gconf.xml</tt> key files. Previously, - these <tt>%gconf.xml</tt> key files were listed in plists. - However, this proved to be problematic. Therefore, a new - solution has been devised. GConf schema files are now - handled similarly to <a href="#omf">OMF files</a>. That + these SCHEMAS files and <tt>%gconf.xml</tt> key files were + listed in plists. However, this proved to be problematic. + Therefore, a new solution has been devised. GConf schema + files are now handled similarly to <a href="http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-manpages.html">MAN<i>n</i></a> files. That is, for each schema file installed by your port, you must have the following entries listed in the - <tt>pkg-plist</tt>:</p> + <tt>Makefile</tt>:</p> <pre> -@unexec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults \ -gconftool-2 --makefile-uninstall-rule \ -%D/etc/gconf/schemas/my_app.schemas > /dev/null || /usr/bin/true - -@exec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults \ -gconftool-2 --makefile-install-rule \ -%D/etc/gconf/schemas/my_app.schemas > /dev/null || /usr/bin/true +GCONF_SCHEMAS= my_app.schemas my_app2.schemas my_app3.schemas </pre> - <p>For example:</p> + <p>For example in <tt>audio/gnomemedia2</tt>:</p> <pre> -@unexec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults \ -gconftool-2 --makefile-uninstall-rule \ -%D/etc/gconf/schemas/file-roller.schemas > /dev/null || /usr/bin/true - -@exec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults \ -gconftool-2 --makefile-install-rule \ -%D/etc/gconf/schemas/file-roller.schemas > /dev/null || /usr/bin/true +GCONF_SCHEMAS= CDDB-Slave2.schemas gnome-audio-profiles.schemas \ + gnome-cd.schemas gnome-sound-recorder.schemas </pre> - <p>You can use this <a href="/gnome/gconf.pl">script</a> to - add these entries automatically.</p> + <p>The SCHEMAS files and <tt>%gconf.xml</tt> key files should + not be in the <tt>pkg-plist</tt>. If you notice that the + port doesn't has any <tt>%gconf.xml</tt> key files, but + has SCHEMAS files then you should not be use + <tt>GCONF_SCHEMAS</tt>. It means, this port has broke + either SCHEMAS files or installtion of GConf.</p> <!-- End GConf schemas --> <!-- Begin GNOME libtool --> ------------4G7NLeLoXtAtkNKvTLXJbH--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?opsef0mynn9aq2h7>