From owner-freebsd-gnome@FreeBSD.ORG Fri Sep 17 02:09:21 2004
Return-Path:
Delivered-To: freebsd-gnome@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
by hub.freebsd.org (Postfix) with ESMTP id 897C416A4CE
for ; Fri, 17 Sep 2004 02:09:21 +0000 (GMT)
Received: from fed1rmmtao04.cox.net (fed1rmmtao04.cox.net [68.230.241.35])
by mx1.FreeBSD.org (Postfix) with ESMTP id 5942E43D39
for ; Fri, 17 Sep 2004 02:09:21 +0000 (GMT)
(envelope-from mezz7@cox.net)
Received: from mezz.mezzweb.com ([68.103.32.140]) by fed1rmmtao04.cox.net
(InterMail vM.6.01.03.04 201-2131-111-106-20040729) with ESMTP
id <20040917020919.TOTE13013.fed1rmmtao04.cox.net@mezz.mezzweb.com>;
Thu, 16 Sep 2004 22:09:19 -0400
To: "Joe Marcus Clarke"
References:
<1095383755.19148.7.camel@shumai.marcuscom.com>
Message-ID:
Date: Thu, 16 Sep 2004 21:09:22 -0500
From: "Jeremy Messenger"
Content-Type: multipart/mixed; boundary=----------ns1rD88BL9VD6ZbHJ9NI9j
MIME-Version: 1.0
In-Reply-To: <1095383755.19148.7.camel@shumai.marcuscom.com>
User-Agent: Opera M2/7.54 (Linux, build 751)
cc: freebsd-gnome@freebsd.org
Subject: Re: Request feedback for GCONF_SCHEMAS in porting.sgml..
X-BeenThere: freebsd-gnome@freebsd.org
X-Mailman-Version: 2.1.1
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, 17 Sep 2004 02:09:21 -0000
------------ns1rD88BL9VD6ZbHJ9NI9j
Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii
Content-Transfer-Encoding: 8bit
On Thu, 16 Sep 2004 21:15:55 -0400, Joe Marcus Clarke
wrote:
> On Thu, 2004-09-16 at 19:24, Jeremy Messenger wrote:
>> 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.
>
> "...these schema files %gconf.xml key files were listed in the
Add an 'and' here for 'schema files and %gconf.xml key files.
> port's pkg-plist. Since this proved to be problematic,
> handling of GConf schemas was changed to something similar to that of href="http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-manpages.html">MANn
> files. That is, for each schema file installed by your port, you must
> have the following listed in the Makefile:"
>
> How about that instead?
Looks good with add an 'and'. I also changed s/SCHEMAS/schema/g in the
bottom. Update patch is attaching..
Cheers,
Mezz
> Joe
>
>>
>> Cheers,
>> Mezz
--
mezz7 at cox.net - mezz at FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/ - gnome at FreeBSD.org
------------ns1rD88BL9VD6ZbHJ9NI9j
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 17 Sep 2004 02:07:33 -0000
@@ -255,38 +255,30 @@
applications use for storing their settings. This
database is defined by installed schema files that are
used to generate %gconf.xml key files. Previously,
- these %gconf.xml 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 OMF files. That
- is, for each schema file installed by your port, you must
- have the following entries listed in the
- pkg-plist:
+ these schema files and %gconf.xml key files were
+ listed in the port's pkg-plist. Since this proved
+ to be problematic, handling of GConf schemas was changed to
+ something similar to that of MANn
+ files. That is, for each schema file installed by your port,
+ you must have the following listed in the Makefile:
-@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
- For example:
+ For example in audio/gnomemedia2:
-@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
- You can use this script to
- add these entries automatically.
+ The schema files and %gconf.xml key files should
+ not be in the pkg-plist. If you notice that the
+ port doesn't has any %gconf.xml key files, but
+ has schema files then you should not be use
+ GCONF_SCHEMAS. It means, this port has broke
+ either schema files or installtion of GConf.
------------ns1rD88BL9VD6ZbHJ9NI9j--