[gnome-themes-standard] Add meta-theme index file and translate it
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] Add meta-theme index file and translate it
- Date: Thu, 14 Oct 2010 01:18:48 +0000 (UTC)
commit 3ea90929ad045c97caa02c18ab6b87709cec56ec
Author: William Jon McCann <jmccann redhat com>
Date: Wed Oct 13 21:17:34 2010 -0400
Add meta-theme index file and translate it
configure.ac | 2 ++
po/POTFILES.in | 3 +++
themes/Adwaita/Makefile.am | 12 ++++++++++++
themes/Adwaita/index.theme.in | 8 ++++++++
4 files changed, 25 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index aa63088..3927afd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7,6 +7,7 @@ AC_INIT([gnome-themes-standard], [2.91.0],
AM_INIT_AUTOMAKE([1.9 tar-ustar foreign dist-bzip2 no-dist-gzip])
PKG_PROG_PKG_CONFIG([0.19])
+IT_PROG_INTLTOOL([0.35.0])
# Workaround to make aclocal get the right flags
AC_SUBST(ACLOCAL_AMFLAGS, "\${ACLOCAL_FLAGS}")
@@ -17,6 +18,7 @@ themes/Makefile
themes/Adwaita/Makefile
themes/Adwaita/gtk-3.0/Makefile
themes/Adwaita/metacity-1/Makefile
+po/Makefile.in
])
AC_OUTPUT
diff --git a/po/POTFILES.in b/po/POTFILES.in
new file mode 100644
index 0000000..e6dda18
--- /dev/null
+++ b/po/POTFILES.in
@@ -0,0 +1,3 @@
+# List of source files containing translatable strings.
+# Please keep this file sorted alphabetically.
+themes/Adwaita/index.theme.in
diff --git a/po/POTFILES.skip b/po/POTFILES.skip
new file mode 100644
index 0000000..e69de29
diff --git a/themes/Adwaita/Makefile.am b/themes/Adwaita/Makefile.am
index f7a8633..0afebc4 100644
--- a/themes/Adwaita/Makefile.am
+++ b/themes/Adwaita/Makefile.am
@@ -1,4 +1,16 @@
SUBDIRS = gtk-3.0 metacity-1
+THEME_NAME=Adwaita
+THEME_IN_FILES=index.theme.in
+
+%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
+
+themedir = $(datadir)/themes/$(THEME_NAME)
+
+theme_DATA = index.theme
+
+DISTCLEANFILES = index.theme
+EXTRA_DIST = index.theme.in index.theme
+
-include $(top_srcdir)/git.mk
diff --git a/themes/Adwaita/index.theme.in b/themes/Adwaita/index.theme.in
new file mode 100644
index 0000000..7b116fa
--- /dev/null
+++ b/themes/Adwaita/index.theme.in
@@ -0,0 +1,8 @@
+[X-GNOME-Metatheme]
+_Name=Adwaita
+Type=X-GNOME-Metatheme
+_Comment=There is only one
+Encoding=UTF-8
+GtkTheme=Adwaita
+MetacityTheme=Adwaita
+IconTheme=gnome
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]