[gtksourceview/wip/api-version: 2/2] build: do not hardcode API version for glade catalog
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/api-version: 2/2] build: do not hardcode API version for glade catalog
- Date: Wed, 19 Oct 2016 14:50:51 +0000 (UTC)
commit b83003a75e8917d3b5ad93d21eba35dc0508b4e7
Author: Sébastien Wilmet <swilmet gnome org>
Date: Wed Oct 19 16:46:11 2016 +0200
build: do not hardcode API version for glade catalog
configure.ac | 1 +
data/glade/Makefile.am | 2 +-
.../{gtksourceview.xml => gtksourceview.xml.in} | 6 +++---
3 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 5a60a66..27bf4ed 100644
--- a/configure.ac
+++ b/configure.ac
@@ -234,6 +234,7 @@ build/win32/vs12/Makefile
build/win32/vs14/Makefile
data/Makefile
data/glade/Makefile
+data/glade/gtksourceview.xml
data/language-specs/Makefile
data/styles/Makefile
docs/Makefile
diff --git a/data/glade/Makefile.am b/data/glade/Makefile.am
index 78da2d8..20ed221 100644
--- a/data/glade/Makefile.am
+++ b/data/glade/Makefile.am
@@ -12,7 +12,7 @@ validate: $(catalog_DATA)
xmllint --dtdvalid $(GLADE_CATALOG_DIR)/glade-catalog.dtd --noout $<
EXTRA_DIST = \
- gtksourceview.xml \
+ gtksourceview.xml.in \
glade.its \
glade.pot \
update-pot.sh
diff --git a/data/glade/gtksourceview.xml b/data/glade/gtksourceview.xml.in
similarity index 94%
rename from data/glade/gtksourceview.xml
rename to data/glade/gtksourceview.xml.in
index a017dbd..4c7a69f 100644
--- a/data/glade/gtksourceview.xml
+++ b/data/glade/gtksourceview.xml.in
@@ -2,10 +2,10 @@
<glade-catalog version="3.0"
supports="gtkbuilder"
name="gtksourceview"
- library="gtksourceview-3.0"
- domain="gtksourceview-3.0"
+ library="gtksourceview-@GSV_API_VERSION@"
+ domain="gtksourceview-@GSV_API_VERSION@"
depends="gtk+"
- book="gtksourceview-3.0">
+ book="gtksourceview-@GSV_API_VERSION@">
<glade-widget-classes>
<glade-widget-class name="GtkSourceView" title="GtkSourceView" generic-name="gtksourceview">
<properties>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]