* [ptxdist] [PATCH] libconfig: new package
@ 2014-07-19 20:47 Guillaume GOURAT
2014-07-21 6:36 ` Uwe Kleine-König
2014-07-21 9:24 ` Michael Olbrich
0 siblings, 2 replies; 5+ messages in thread
From: Guillaume GOURAT @ 2014-07-19 20:47 UTC (permalink / raw)
To: ptxdist
libconfig: new package
Signed-off-by: Guillaume Gourat <guillaume.gourat@nexvision.fr>
diff --git a/rules/libconfig.in b/rules/libconfig.in
new file mode 100644
index 0000000..286668a
--- /dev/null
+++ b/rules/libconfig.in
@@ -0,0 +1,27 @@
+## SECTION=system_libraries
+
+menuconfig LIBCONFIG
+ tristate
+ prompt "libconfig "
+ select LIBC_M
+ select GCCLIBS_GCC_S
+ select GCCLIBS_CXX
+ help
+ Libconfig is a simple library for processing structured
configuration
+ files. Libconfig is very compact, a fraction of the size of the
expat
+ XML parser library. This makes it well-suited for
memory-constrained
+ systems like handheld devices.
+
+ See http://www.hyperrealm.com/libconfig/ for info about it.
+
+if LIBCONFIG
+
+config LIBCONFIG_INSTALL_LIBCONFIG_SO
+ bool
+ prompt "Install libconfig on the target"
+
+config LIBCONFIG_INSTALL_LIBCONFIGPP_SO
+ bool
+ prompt "Install libconfig++ on the target"
+
+endif
diff --git a/rules/libconfig.make b/rules/libconfig.make
new file mode 100644
index 0000000..26919d3
--- /dev/null
+++ b/rules/libconfig.make
@@ -0,0 +1,63 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2014 by Guillaume Gourat <guillaume.gourat@nexvision.fr>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_LIBCONFIG) += libconfig
+
+#
+# Paths and names
+#
+LIBCONFIG_VERSION := 1.4.9
+LIBCONFIG_MD5 := b6ee0ce2b3ef844bad7cac2803a90634
+LIBCONFIG := libconfig-$(LIBCONFIG_VERSION)
+LIBCONFIG_SUFFIX := tar.gz
+LIBCONFIG_URL :=
http://www.hyperrealm.com/libconfig/$(LIBCONFIG).$(LIBCONFIG_SUFFIX)
+LIBCONFIG_SOURCE := $(SRCDIR)/$(LIBCONFIG).$(LIBCONFIG_SUFFIX)
+LIBCONFIG_DIR := $(BUILDDIR)/$(LIBCONFIG)
+LIBCONFIG_LICENSE := LGPL
+
+#
----------------------------------------------------------------------------
+# Prepare
+#
----------------------------------------------------------------------------
+
+LIBCONFIG_CONF_TOOL := autoconf
+
+LIBCONFIG_CONF_OPT := \
+ $(CROSS_AUTOCONF_USR) \
+ --disable-examples
+
+#
----------------------------------------------------------------------------
+# Target-Install
+#
----------------------------------------------------------------------------
+
+$(STATEDIR)/libconfig.targetinstall:
$(libconfig_targetinstall_deps_default)
+ @$(call targetinfo, $@)
+
+ @$(call install_init, libconfig)
+ @$(call install_fixup, libconfig,PRIORITY,optional)
+ @$(call install_fixup, libconfig,SECTION,base)
+ @$(call install_fixup, libconfig,AUTHOR,"Guillaume Gourat
<guillaume.gourat@nexvision.fr>")
+ @$(call install_fixup, libconfig,DESCRIPTION,missing)
+
+ifdef PTXCONF_LIBCONFIG_INSTALL_LIBCONFIG_SO
+ @$(call install_lib, libconfig, 0, 0, 0644, libconfig)
+endif
+
+ifdef PTXCONF_LIBCONFIG_INSTALL_LIBCONFIGPP_SO
+ @$(call install_lib, libconfig, 0, 0, 0644, libconfig++)
+endif
+
+ @$(call install_finish, libconfig)
+
+ @$(call touch, $@)
+
+# vim: syntax=make
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ptxdist] [PATCH] libconfig: new package
2014-07-19 20:47 [ptxdist] [PATCH] libconfig: new package Guillaume GOURAT
@ 2014-07-21 6:36 ` Uwe Kleine-König
2014-07-21 9:24 ` Michael Olbrich
1 sibling, 0 replies; 5+ messages in thread
From: Uwe Kleine-König @ 2014-07-21 6:36 UTC (permalink / raw)
To: ptxdist
Hi Guillaume,
On Sat, Jul 19, 2014 at 10:47:01PM +0200, Guillaume GOURAT wrote:
> libconfig: new package
>
> Signed-off-by: Guillaume Gourat <guillaume.gourat@nexvision.fr>
It seems your MUA line broke all your patches. Better use git send-email
instead of MS Outlook to send patches. That will also take care about
the indention of the commit log.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ptxdist] [PATCH] libconfig: new package
2014-07-19 20:47 [ptxdist] [PATCH] libconfig: new package Guillaume GOURAT
2014-07-21 6:36 ` Uwe Kleine-König
@ 2014-07-21 9:24 ` Michael Olbrich
1 sibling, 0 replies; 5+ messages in thread
From: Michael Olbrich @ 2014-07-21 9:24 UTC (permalink / raw)
To: ptxdist
Hi,
as Uwe noted, all your patches are broken, please resent.
On Sat, Jul 19, 2014 at 10:47:01PM +0200, Guillaume GOURAT wrote:
> libconfig: new package
>
> Signed-off-by: Guillaume Gourat <guillaume.gourat@nexvision.fr>
>
> diff --git a/rules/libconfig.in b/rules/libconfig.in
> new file mode 100644
> index 0000000..286668a
> --- /dev/null
> +++ b/rules/libconfig.in
> @@ -0,0 +1,27 @@
> +## SECTION=system_libraries
> +
> +menuconfig LIBCONFIG
> + tristate
> + prompt "libconfig "
> + select LIBC_M
> + select GCCLIBS_GCC_S
> + select GCCLIBS_CXX
> + help
> + Libconfig is a simple library for processing structured
> configuration
> + files. Libconfig is very compact, a fraction of the size of the
> expat
> + XML parser library. This makes it well-suited for
> memory-constrained
> + systems like handheld devices.
> +
> + See http://www.hyperrealm.com/libconfig/ for info about it.
> +
> +if LIBCONFIG
> +
> +config LIBCONFIG_INSTALL_LIBCONFIG_SO
> + bool
> + prompt "Install libconfig on the target"
> +
> +config LIBCONFIG_INSTALL_LIBCONFIGPP_SO
> + bool
> + prompt "Install libconfig++ on the target"
> +
> +endif
I'm just speculating but I would expect that libconfig++ requires
libconfig. If that is the case, always install libconfig and just add one
option for libconfig++. Make sure that the dependencies are correct, I
expect GCCLIBS_CXX is only needed for libconfig++.
Or just install both libs unconditionally.
Michael
> diff --git a/rules/libconfig.make b/rules/libconfig.make
> new file mode 100644
> index 0000000..26919d3
> --- /dev/null
> +++ b/rules/libconfig.make
> @@ -0,0 +1,63 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2014 by Guillaume Gourat <guillaume.gourat@nexvision.fr>
> +#
> +# See CREDITS for details about who has contributed to this project.
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_LIBCONFIG) += libconfig
> +
> +#
> +# Paths and names
> +#
> +LIBCONFIG_VERSION := 1.4.9
> +LIBCONFIG_MD5 := b6ee0ce2b3ef844bad7cac2803a90634
> +LIBCONFIG := libconfig-$(LIBCONFIG_VERSION)
> +LIBCONFIG_SUFFIX := tar.gz
> +LIBCONFIG_URL :=
> http://www.hyperrealm.com/libconfig/$(LIBCONFIG).$(LIBCONFIG_SUFFIX)
> +LIBCONFIG_SOURCE := $(SRCDIR)/$(LIBCONFIG).$(LIBCONFIG_SUFFIX)
> +LIBCONFIG_DIR := $(BUILDDIR)/$(LIBCONFIG)
> +LIBCONFIG_LICENSE := LGPL
> +
> +#
> ----------------------------------------------------------------------------
> +# Prepare
> +#
> ----------------------------------------------------------------------------
> +
> +LIBCONFIG_CONF_TOOL := autoconf
> +
> +LIBCONFIG_CONF_OPT := \
> + $(CROSS_AUTOCONF_USR) \
> + --disable-examples
> +
> +#
> ----------------------------------------------------------------------------
> +# Target-Install
> +#
> ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/libconfig.targetinstall:
> $(libconfig_targetinstall_deps_default)
> + @$(call targetinfo, $@)
> +
> + @$(call install_init, libconfig)
> + @$(call install_fixup, libconfig,PRIORITY,optional)
> + @$(call install_fixup, libconfig,SECTION,base)
> + @$(call install_fixup, libconfig,AUTHOR,"Guillaume Gourat
> <guillaume.gourat@nexvision.fr>")
> + @$(call install_fixup, libconfig,DESCRIPTION,missing)
> +
> +ifdef PTXCONF_LIBCONFIG_INSTALL_LIBCONFIG_SO
> + @$(call install_lib, libconfig, 0, 0, 0644, libconfig)
> +endif
> +
> +ifdef PTXCONF_LIBCONFIG_INSTALL_LIBCONFIGPP_SO
> + @$(call install_lib, libconfig, 0, 0, 0644, libconfig++)
> +endif
> +
> + @$(call install_finish, libconfig)
> +
> + @$(call touch, $@)
> +
> +# vim: syntax=make
>
>
>
> --
> ptxdist mailing list
> ptxdist@pengutronix.de
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ptxdist] [PATCH] libconfig: New package
2014-11-06 14:00 [ptxdist] [PATCH] libconfig: New package Bernhard Walle
@ 2014-11-13 16:58 ` Michael Olbrich
0 siblings, 0 replies; 5+ messages in thread
From: Michael Olbrich @ 2014-11-13 16:58 UTC (permalink / raw)
To: ptxdist
On Thu, Nov 06, 2014 at 03:00:38PM +0100, Bernhard Walle wrote:
> Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
Thanks, applied.
Michael
> ---
> rules/libconfig.in | 14 ++++++++++++
> rules/libconfig.make | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 76 insertions(+)
> create mode 100644 rules/libconfig.in
> create mode 100644 rules/libconfig.make
>
> diff --git a/rules/libconfig.in b/rules/libconfig.in
> new file mode 100644
> index 0000000..5a6ec7e
> --- /dev/null
> +++ b/rules/libconfig.in
> @@ -0,0 +1,14 @@
> +## SECTION=system_libraries
> +
> +menuconfig LIBCONFIG
> + tristate
> + prompt "libconfig "
> + help
> + C/C++ Configuration File Library
> +
> +if LIBCONFIG
> +
> +config LIBCONFIG_CXX
> + bool "build and install install libconfig++"
> +
> +endif
> diff --git a/rules/libconfig.make b/rules/libconfig.make
> new file mode 100644
> index 0000000..6eeb4e9
> --- /dev/null
> +++ b/rules/libconfig.make
> @@ -0,0 +1,62 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2014 by Bernhard Walle <bernhard@bwalle.de>
> +#
> +# See CREDITS for details about who has contributed to this project.
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_LIBCONFIG) += libconfig
> +
> +#
> +# Paths and names
> +#
> +LIBCONFIG_VERSION := 1.4.9
> +LIBCONFIG_MD5 := b6ee0ce2b3ef844bad7cac2803a90634
> +LIBCONFIG := libconfig-$(LIBCONFIG_VERSION)
> +LIBCONFIG_SUFFIX := tar.gz
> +LIBCONFIG_URL := http://www.hyperrealm.com/libconfig/$(LIBCONFIG).$(LIBCONFIG_SUFFIX)
> +LIBCONFIG_SOURCE := $(SRCDIR)/$(LIBCONFIG).$(LIBCONFIG_SUFFIX)
> +LIBCONFIG_DIR := $(BUILDDIR)/$(LIBCONFIG)
> +LIBCONFIG_LICENSE := LGPLv2.1
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +#
> +# autoconf
> +#
> +LIBCONFIG_CONF_TOOL := autoconf
> +LIBCONFIG_CONF_OPT := $(CROSS_AUTOCONF_USR) \
> + --disable-examples \
> + --$(call ptx/endis, PTXCONF_LIBCONFIG_CXX)-cxx
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/libconfig.targetinstall:
> + @$(call targetinfo)
> +
> + @$(call install_init, libconfig)
> + @$(call install_fixup, libconfig,PRIORITY,optional)
> + @$(call install_fixup, libconfig,SECTION,base)
> + @$(call install_fixup, libconfig,AUTHOR,"Bernhard Walle <bernhard@bwalle.de>")
> + @$(call install_fixup, libconfig,DESCRIPTION,missing)
> +
> + @$(call install_lib, libconfig, 0, 0, 0644, libconfig)
> +ifdef PTXCONF_LIBCONFIG_CXX
> + @$(call install_lib, libconfig, 0, 0, 0644, libconfig++)
> +endif
> +
> + @$(call install_finish, libconfig)
> +
> + @$(call touch)
> +
> +# vim: syntax=make
> --
> 2.1.3
>
>
> --
> ptxdist mailing list
> ptxdist@pengutronix.de
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* [ptxdist] [PATCH] libconfig: New package
@ 2014-11-06 14:00 Bernhard Walle
2014-11-13 16:58 ` Michael Olbrich
0 siblings, 1 reply; 5+ messages in thread
From: Bernhard Walle @ 2014-11-06 14:00 UTC (permalink / raw)
To: ptxdist; +Cc: Bernhard Walle
Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
---
rules/libconfig.in | 14 ++++++++++++
rules/libconfig.make | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 76 insertions(+)
create mode 100644 rules/libconfig.in
create mode 100644 rules/libconfig.make
diff --git a/rules/libconfig.in b/rules/libconfig.in
new file mode 100644
index 0000000..5a6ec7e
--- /dev/null
+++ b/rules/libconfig.in
@@ -0,0 +1,14 @@
+## SECTION=system_libraries
+
+menuconfig LIBCONFIG
+ tristate
+ prompt "libconfig "
+ help
+ C/C++ Configuration File Library
+
+if LIBCONFIG
+
+config LIBCONFIG_CXX
+ bool "build and install install libconfig++"
+
+endif
diff --git a/rules/libconfig.make b/rules/libconfig.make
new file mode 100644
index 0000000..6eeb4e9
--- /dev/null
+++ b/rules/libconfig.make
@@ -0,0 +1,62 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2014 by Bernhard Walle <bernhard@bwalle.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_LIBCONFIG) += libconfig
+
+#
+# Paths and names
+#
+LIBCONFIG_VERSION := 1.4.9
+LIBCONFIG_MD5 := b6ee0ce2b3ef844bad7cac2803a90634
+LIBCONFIG := libconfig-$(LIBCONFIG_VERSION)
+LIBCONFIG_SUFFIX := tar.gz
+LIBCONFIG_URL := http://www.hyperrealm.com/libconfig/$(LIBCONFIG).$(LIBCONFIG_SUFFIX)
+LIBCONFIG_SOURCE := $(SRCDIR)/$(LIBCONFIG).$(LIBCONFIG_SUFFIX)
+LIBCONFIG_DIR := $(BUILDDIR)/$(LIBCONFIG)
+LIBCONFIG_LICENSE := LGPLv2.1
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+LIBCONFIG_CONF_TOOL := autoconf
+LIBCONFIG_CONF_OPT := $(CROSS_AUTOCONF_USR) \
+ --disable-examples \
+ --$(call ptx/endis, PTXCONF_LIBCONFIG_CXX)-cxx
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/libconfig.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, libconfig)
+ @$(call install_fixup, libconfig,PRIORITY,optional)
+ @$(call install_fixup, libconfig,SECTION,base)
+ @$(call install_fixup, libconfig,AUTHOR,"Bernhard Walle <bernhard@bwalle.de>")
+ @$(call install_fixup, libconfig,DESCRIPTION,missing)
+
+ @$(call install_lib, libconfig, 0, 0, 0644, libconfig)
+ifdef PTXCONF_LIBCONFIG_CXX
+ @$(call install_lib, libconfig, 0, 0, 0644, libconfig++)
+endif
+
+ @$(call install_finish, libconfig)
+
+ @$(call touch)
+
+# vim: syntax=make
--
2.1.3
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-11-13 16:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-19 20:47 [ptxdist] [PATCH] libconfig: new package Guillaume GOURAT
2014-07-21 6:36 ` Uwe Kleine-König
2014-07-21 9:24 ` Michael Olbrich
2014-11-06 14:00 [ptxdist] [PATCH] libconfig: New package Bernhard Walle
2014-11-13 16:58 ` Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox