[grilo-plugins/debian] Include plugins configuration files in debian packages
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins/debian] Include plugins configuration files in debian packages
- Date: Mon, 6 Jun 2011 09:07:27 +0000 (UTC)
commit 136a0713e3b5c47d4343036703b33b74b9cb01a5
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date: Mon Jun 6 08:23:58 2011 +0000
Include plugins configuration files in debian packages
configure.ac | 10 ++++++++++
debian/changelog | 6 ++++++
debian/grilo-0.1-plugins.install.in | 1 +
3 files changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 8173989..12bdd1a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -43,6 +43,12 @@ CFLAGS+=" ${WARN_CFLAGS} -Wmissing-declarations -std=c99 "
GNOME_MAINTAINER_MODE_DEFINES
+# Give parameters a default value
+
+if test "x$prefix" = xNONE; then
+ prefix="${ac_default_prefix}"
+fi
+
# ----------------------------------------------------------
# UNINSTALLED SUPPORT
# ----------------------------------------------------------
@@ -97,6 +103,10 @@ AC_DEFINE_UNQUOTED(GRL_PLUGINS_DIR, "$GRL_PLUGINS_DIR", [Plugins directory])
# Plugins configuration directory
GRL_PLUGINS_CONF_DIR="${datadir}/${GRL_NAME}/plugins"
+eval GRL_PLUGINS_CONF_DIR=`eval echo "$GRL_PLUGINS_CONF_DIR"`
+AC_DEFINE_UNQUOTED(GRL_PLUGINS_CONF_DIR,
+ "$GRL_PLUGINS_CONF_DIR",
+ [Plugins configuration directory])
AC_SUBST(GRL_PLUGINS_CONF_DIR)
# ----------------------------------------------------------
diff --git a/debian/changelog b/debian/changelog
index 158698e..b5aa833 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+grilo-0.1-plugins (0.1.15-2) unstable; urgent=high
+
+ * Include plugin configuration files in package
+
+ -- Juan A. Suarez Romero <jasuarez igalia com> Mon, 06 Jun 2011 10:25:07 +0200
+
grilo-0.1-plugins (0.1.15-1) unstable; urgency=low
* LastFM Album Art plugin: plugged some leaks
diff --git a/debian/grilo-0.1-plugins.install.in b/debian/grilo-0.1-plugins.install.in
index ca01461..eff21c7 100644
--- a/debian/grilo-0.1-plugins.install.in
+++ b/debian/grilo-0.1-plugins.install.in
@@ -1,2 +1,3 @@
debian/tmp/@GRL_PLUGINS_DIR@/*.so*
+debian/tmp/@GRL_PLUGINS_CONF_DIR@/*.xml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]