Re: Installation of gconf schemas
Jean-Peer Lorenz <[email protected]> Thu, 22 Jul 2010 20:18:22 +0200
| Newsgroups | gmane.comp.gnome.lib.gconf |
|---|---|
| Message-ID | <1279822702.3073.16.camel@ayida> |
--===============1153438678== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-5ehqWsgLvKxUZ799i6dl" --=-5ehqWsgLvKxUZ799i6dl Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable As an addition to my own question: If I use 'sudo gconf-schemas --register ...' rather than the recommended '$(gconftool) --makefile-uninstall-rule ...' the schema gets registered for all users. What is the exact difference of both commands. Can/should I use the first one as it does what I expect? Thanks again. I'm looking forward to any answers and comments. Jean-Peer Am Donnerstag, den 22.07.2010, 17:53 +0200 schrieb Jean-Peer Lorenz: > Hi, >=20 > I'm looking for the proper way of installing gconf schema files for my > application. I've read http://projects.gnome.org/gconf/ and I basically > can install my schema but: >=20 > * when running 'sudo make ...' the schema is visible for superuser, not > for regular users. >=20 > * when running 'make ...' the schema gets installed for the current > user, but not for superusers. >=20 > What is the proper process of installing schema files (containing > default values) from a makefile using 'sudo make ...' for *all* users at > once? >=20 >=20 > It follows an excerpt from my makefile: >=20 > GCONF_SCHEMA_FILE_DIR=3D$(prefix)/share/gconf/schemas > export GCONF_CONFIG_SOURCE=3D$(shell if test -x "$(gconftool)"; then > $(gconftool) --get-default-source; fi) >=20 > install-gconf: > install data/apps_sbackup_global-preferences.schemas > $(GCONF_SCHEMA_FILE_DIR) > $(gconftool) --makefile-install-rule > $(GCONF_SCHEMA_FILE_DIR)/apps_sbackup_global-preferences.schemas >=20 > uninstall-gconf: > if test -e > "$(GCONF_SCHEMA_FILE_DIR)/apps_sbackup_global-preferences.schemas"; then > $(gconftool) --makefile-uninstall-rule > $(GCONF_SCHEMA_FILE_DIR)/apps_sbackup_global-preferences.schemas; fi > rm -f $(GCONF_SCHEMA_FILE_DIR)/apps_sbackup_global-preferences.schemas >=20 >=20 > Any help would be highly appreciated. Am I missing something. > Thanks so much in advance. > Jean-Peer >=20 > _______________________________________________ > gconf-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/gconf-list --=-5ehqWsgLvKxUZ799i6dl Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Dies ist ein digital signierter Nachrichtenteil -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAkxIi24ACgkQVdoKk3QTZMVy9ACfShkUSD9kJhhTPawdYxos7dPH HEQAnA6UL928TwBvXh9oCM1ycqHfopig =okeC -----END PGP SIGNATURE----- --=-5ehqWsgLvKxUZ799i6dl-- --===============1153438678== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ gconf-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gconf-list --===============1153438678==--