[Shotwell] Getting 0.3.0 to build

Matthias Clasen matthias.clasen at gmail.com
Thu Nov 5 16:17:14 PST 2009


On Thu, Nov 5, 2009 at 2:08 PM, Jim Nelson <jim at yorba.org> wrote:

>
> So, Makefile is using gconftool-2 --makefile-install-rule to install
> the schemas.  Should this just be forgone entirely, or should we
> continue to use this for "normal" installs and use the hardcoded path
> (plus DESTDIR) if GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL is defined?

Picking a random gconf-using project (say gcalctool), I see that they
have twof schema-related things in their Makefile.am:

if GCONF_SCHEMAS_INSTALL
# Install the gcalctool schema file.
install-data-local:
        GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL)
--makefile-install-rule $(srcdir)/$(schema_DATA)
endif

This is about the gconftool call that packagers prefer to omit with
the help of that env var.


schemadir   = @GCONF_SCHEMA_FILE_DIR@
schema_in_files = gcalctool.schemas.in
schema_DATA = $(schema_in_files:.schemas.in=.schemas)
@INTLTOOL_SCHEMAS_RULE@

This part is about poking translations into the schemas with intltool
and installing the resulting schemas files in /etc/gconf/schemas.


So, I'd say your Makefile handles the first part just fine now, but it
still lacks the equivalent of the second part.


Matthias



More information about the Shotwell mailing list