Patchwork new package: gconf

login
register
mail settings
Submitter Stefan Fröberg
Date Feb. 21, 2013, 6:39 p.m.
Message ID <1361471945-23337-1-git-send-email-stefan.froberg@petroprogram.com>
Download mbox | patch
Permalink /patch/222395/
State Changes Requested
Headers show

Comments

Stefan Fröberg - Feb. 21, 2013, 6:39 p.m.
GConf

GConf is a system for storing application preferences. It is intended for user
preferences; *not* configuration of something like Apache, or arbitrary data
storage.

Signed-off-by: Stefan Fröberg <stefan.froberg@petroprogram.com>
---
 package/Config.in       |    1 +
 package/gconf/Config.in |   12 ++++++++++++
 package/gconf/gconf.mk  |   25 +++++++++++++++++++++++++
 3 files changed, 38 insertions(+), 0 deletions(-)
 create mode 100644 package/gconf/Config.in
 create mode 100644 package/gconf/gconf.mk
Yann E. MORIN - Feb. 21, 2013, 9:52 p.m.
Stefan, All,

On Thursday 21 February 2013 Stefan Fröberg wrote:
> GConf
  ^^^
Useless line.

[--SNIP--]
> diff --git a/package/gconf/Config.in b/package/gconf/Config.in
> new file mode 100644
> index 0000000..4da199a
> --- /dev/null
> +++ b/package/gconf/Config.in
> @@ -0,0 +1,12 @@
> +config BR2_PACKAGE_GCONF
> +	bool "gconf"
> +	select BR2_PACKAGE_INTLTOOL

We do never select intltool, since it is a host-only package.

I'm not versed enough in these i18n and l10n thingies, so I'll refer to
our esteemed maintainer as to what the proper thing to do is.

Peter?

> +	select BR2_PACKAGE_DBUS_GLIB

Inherit dbus-glib dependencies (see my reply to console-kit).

[--SNIP--]
> diff --git a/package/gconf/gconf.mk b/package/gconf/gconf.mk
> new file mode 100644
> index 0000000..73b112f
> --- /dev/null
> +++ b/package/gconf/gconf.mk
> @@ -0,0 +1,25 @@
> +#############################################################
> +#
> +# GConf
> +#
> +#############################################################
> +
> +GCONF_MAJOR_VERSION = 3.2
> +GCONF_MINOR_VERSION = 0
> +GCONF_VERSION = $(GCONF_MAJOR_VERSION).$(GCONF_MINOR_VERSION)
> +GCONF_SOURCE = GConf-$(GCONF_VERSION).tar.xz
> +GCONF_SITE = http://ftp.gnome.org/pub/gnome/sources/GConf/$(GCONF_MAJOR_VERSION)
> +GCONF_DEPENDENCIES = dbus-glib intltool libxml2

No intltool here either.

Regards,
Yann E. MORIN, only three reviews left. :-]

Patch

diff --git a/package/Config.in b/package/Config.in
index 28bb55c..0a3d2c6 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -780,6 +780,7 @@  source "package/bootutils/Config.in"
 endif
 source "package/bwm-ng/Config.in"
 source "package/cpuload/Config.in"
+source "package/gconf/Config.in"
 source "package/htop/Config.in"
 source "package/keyutils/Config.in"
 source "package/kmod/Config.in"
diff --git a/package/gconf/Config.in b/package/gconf/Config.in
new file mode 100644
index 0000000..4da199a
--- /dev/null
+++ b/package/gconf/Config.in
@@ -0,0 +1,12 @@ 
+config BR2_PACKAGE_GCONF
+	bool "gconf"
+	select BR2_PACKAGE_INTLTOOL
+	select BR2_PACKAGE_DBUS_GLIB
+	select BR2_PACKAGE_LIBXML2
+	help
+	  GConf is a system for storing application preferences. It is intended
+	  for user preferences; *not* configuration of something like Apache,
+	  or arbitrary data storage.
+
+	  http://projects.gnome.org/gconf
+
diff --git a/package/gconf/gconf.mk b/package/gconf/gconf.mk
new file mode 100644
index 0000000..73b112f
--- /dev/null
+++ b/package/gconf/gconf.mk
@@ -0,0 +1,25 @@ 
+#############################################################
+#
+# GConf
+#
+#############################################################
+
+GCONF_MAJOR_VERSION = 3.2
+GCONF_MINOR_VERSION = 0
+GCONF_VERSION = $(GCONF_MAJOR_VERSION).$(GCONF_MINOR_VERSION)
+GCONF_SOURCE = GConf-$(GCONF_VERSION).tar.xz
+GCONF_SITE = http://ftp.gnome.org/pub/gnome/sources/GConf/$(GCONF_MAJOR_VERSION)
+GCONF_DEPENDENCIES = dbus-glib intltool libxml2
+GCONF_INSTALL_STAGING = YES
+GCONF_CONF_OPT += --libexecdir=/usr/lib/GConf --disable-orbit
+
+define GCONF_POST_INSTALL
+	# Gconf needs this empty directory to store it's stuff
+	$(INSTALL) -v -m755 -d $(TARGET_DIR)/etc/gconf/gconf.xml.system
+endef
+
+GCONF_POST_INSTALL_TARGET_HOOKS += GCONF_POST_INSTALL
+
+$(eval $(autotools-package))
+
+