From 7ee5680874383d1d111ae3cd3dec10c5b4111385 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sat, 14 Jan 2006 21:06:48 +0000 Subject: Add defines and automake conditional for toolkit flavour. 2006-01-14 Christian Persch * m4/gecko.m4: Add defines and automake conditional for toolkit flavour. * configure.ac: * data/Makefile.am: A data/chrome/.cvsignore: A data/chrome/Makefile.am: A data/chrome/brand.dtd.in: A data/chrome/brand.properties.in: A data/chrome/epiphany.manifest.in: Provide branding so mozilla dialogues don't show "Deer Park" or "Firefox" but "Epiphany" instead. * embed/mozilla/Makefile.am: A embed/mozilla/EphyDirectoryProvider.cpp: A embed/mozilla/EphyDirectoryProvider.h: * embed/mozilla/mozilla-embed-single.cpp: Add a directory service provider. --- data/Makefile.am | 2 +- data/chrome/.cvsignore | 5 +++++ data/chrome/Makefile.am | 16 ++++++++++++++++ data/chrome/brand.dtd.in | 5 +++++ data/chrome/brand.properties.in | 3 +++ data/chrome/epiphany.manifest.in | 2 ++ 6 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 data/chrome/.cvsignore create mode 100644 data/chrome/Makefile.am create mode 100644 data/chrome/brand.dtd.in create mode 100644 data/chrome/brand.properties.in create mode 100644 data/chrome/epiphany.manifest.in (limited to 'data') diff --git a/data/Makefile.am b/data/Makefile.am index da5064239..d965591de 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,4 +1,4 @@ -SUBDIRS = ui art glade +SUBDIRS = art chrome glade ui @INTLTOOL_SERVER_RULE@ @INTLTOOL_DESKTOP_RULE@ diff --git a/data/chrome/.cvsignore b/data/chrome/.cvsignore new file mode 100644 index 000000000..81c7ee303 --- /dev/null +++ b/data/chrome/.cvsignore @@ -0,0 +1,5 @@ +Makefile +Makefile.in +*.manifest +brand.dtd +brand.properties diff --git a/data/chrome/Makefile.am b/data/chrome/Makefile.am new file mode 100644 index 000000000..155e8aa83 --- /dev/null +++ b/data/chrome/Makefile.am @@ -0,0 +1,16 @@ +manifestdir = $(pkgdatadir)/chrome +manifest_in_files = epiphany.manifest.in +manifest_DATA = $(manifest_in_files:.manifest.in=.manifest) + +%.manifest: %.manifest.in + @sed -e "s!@CHROMEDIR@!$(pkgdatadir)/chrome!g" $< > $@ + +brandingdir = $(manifestdir)/branding +branding_in_files = \ + brand.dtd.in \ + brand.properties.in +branding_DATA = $(branding_in_files:%.in=%) + +EXTRA_DIST = \ + $(manifest_in_files) \ + $(branding_in_files) diff --git a/data/chrome/brand.dtd.in b/data/chrome/brand.dtd.in new file mode 100644 index 000000000..de0a39edc --- /dev/null +++ b/data/chrome/brand.dtd.in @@ -0,0 +1,5 @@ + + + + + diff --git a/data/chrome/brand.properties.in b/data/chrome/brand.properties.in new file mode 100644 index 000000000..8a641ce08 --- /dev/null +++ b/data/chrome/brand.properties.in @@ -0,0 +1,3 @@ +brandShortName=Epiphany +brandFullName=Epiphany @VERSION@ +vendorShortName=GNOME diff --git a/data/chrome/epiphany.manifest.in b/data/chrome/epiphany.manifest.in new file mode 100644 index 000000000..3f8eb3a2c --- /dev/null +++ b/data/chrome/epiphany.manifest.in @@ -0,0 +1,2 @@ +override chrome://branding/locale/brand.properties file://@CHROMEDIR@/branding/brand.properties +override chrome://branding/locale/brand.dtd file://@CHROMEDIR@/branding/brand.dtd -- cgit v1.2.3