Skip to contentSkip to conversation

glibmm: new package

PATCH New nmenegale 2 participants 3 messages Apr 24, 2013

lore
Share & tools
lore

nmenegale

author
#0 lore raw

PATCH 1/2 glibmm: new package

---
v2: minor modifications: license, tar.xz instead of tar.bz2, version number split glibmm is also a dependency of libxml++ (the libxml2 c++ wrapper)

---
 package/Config.in        |  1 +
 package/glibmm/Config.in | 13 +++++++++++++
 package/glibmm/glibmm.mk | 17 +++++++++++++++++
 3 files changed, 31 insertions(+)
 create mode 100644 package/glibmm/Config.in
 create mode 100644 package/glibmm/glibmm.mk
package/Config.in +1 -0
index ab514c7..ca947d9 100644
@@ -561,6 +561,7 @@ source "package/fftw/Config.in"
 source "package/libargtable2/Config.in"
 source "package/argp-standalone/Config.in"
 source "package/boost/Config.in"
+source "package/glibmm/Config.in"
 source "package/gmp/Config.in"
 source "package/gsl/Config.in"
 source "package/gtest/Config.in"
package/glibmm/Config.in new file +13 -0
new file mode 100644
index 0000000..012b681
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_GLIBMM
+	bool "glibmm"
+	select BR2_PACKAGE_LIBGLIB2
+	select BR2_PACKAGE_LIBSIGC
+	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_USE_WCHAR
+	help
+	  The GLibmm package is a set of C++ bindings for GLib. 
+	  	
+	  http://www.gtkmm.org/
+
+comment "glibmm requires a toolchain with C++ & WCHAR support enabled"
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
package/glibmm/glibmm.mk new file +17 -0
new file mode 100644
index 0000000..abd8b6c
@@ -0,0 +1,17 @@
+#############################################################
+#
+# Glibmm
+#
+#############################################################
+
+GLIBMM_VERSION_MAJOR = 2.30
+GLIBMM_VERSION_MINOR = 1
+GLIBMM_VERSION = $(GLIBMM_VERSION_MAJOR).$(GLIBMM_VERSION_MINOR)
+GLIBMM_LICENSE = LGPLv2.1+ (library), GPLv2+ (tools)
+GLIBMM_LICENSE_FILES = COPYING COPYING.tools
+GLIBMM_SOURCE = glibmm-$(GLIBMM_VERSION).tar.xz
+GLIBMM_SITE = http://ftp.gnome.org/pub/gnome/sources/glibmm/$(GLIBMM_VERSION_MAJOR)
+GLIBMM_INSTALL_STAGING = YES
+GLIBMM_DEPENDENCIES = libglib2 libsigc host-pkgconf
+
+$(eval $(autotools-package))
Signature · 1 line
1.8.1.2
author
#1 lore raw

PATCH 2/2 libxml++: new package

---
v2: minor modifications: empty lines between headers and variable, license, tar.xz instead of tar.bz2
libxml++ is a C++ wrapper for libxml2 it has glibmm as dependency

---
 package/Config.in            |  1 +
 package/libxmlpp/Config.in   | 13 +++++++++++++
 package/libxmlpp/libxmlpp.mk | 17 +++++++++++++++++
 3 files changed, 31 insertions(+)
 create mode 100644 package/libxmlpp/Config.in
 create mode 100644 package/libxmlpp/libxmlpp.mk
package/Config.in +1 -0
index ca947d9..ede0ba0 100644
@@ -623,6 +623,7 @@ source "package/json-glib/Config.in"
 source "package/libroxml/Config.in"
 source "package/libxml-parser-perl/Config.in"
 source "package/libxml2/Config.in"
+source "package/libxmlpp/Config.in"
 source "package/libxslt/Config.in"
 source "package/libyaml/Config.in"
 source "package/mxml/Config.in"
package/libxmlpp/Config.in new file +13 -0
new file mode 100644
index 0000000..3c9845c
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_LIBXMLPP
+	bool "libxmlpp"
+	select BR2_PACKAGE_LIBXML2
+	select BR2_PACKAGE_GLIBMM
+	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_USE_WCHAR
+	help
+	  libxml++ is a C++ wrapper for the libxml XML parser library.	
+	  
+	  http://libxmlplusplus.sourceforge.net/
+
+comment "LibXML++ requires a toolchain with C++ & WCHAR support enabled"
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
package/libxmlpp/libxmlpp.mk new file +17 -0
new file mode 100644
index 0000000..1ed60de
@@ -0,0 +1,17 @@
+#############################################################
+#
+# LibXML++
+#
+#############################################################
+
+LIBXMLPP_VERSION_MAJOR = 2.34
+LIBXMLPP_VERSION_MINOR = 2
+LIBXMLPP_VERSION = $(LIBXMLPP_VERSION_MAJOR).$(LIBXMLPP_VERSION_MINOR)
+LIBXMLPP_LICENSE = LGPLv2.1 (library), LGPLv2+ (examples)
+LIBXMLPP_LICENSE_FILE = COPYING
+LIBXMLPP_SOURCE = libxml++-$(LIBXMLPP_VERSION).tar.xz
+LIBXMLPP_SITE = http://ftp.gnome.org/pub/GNOME/sources/libxml++/$(LIBXMLPP_VERSION_MAJOR)
+LIBXMLPP_INSTALL_STAGING = YES
+LIBXMLPP_DEPENDENCIES = libxml2 glibmm host-pkgconf
+
+$(eval $(autotools-package))
Signature · 1 line
1.8.1.2
#2 lore raw

PATCH 2/2 libxml++: new package

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"nmenegale" == nmenegale <[email protected]> writes:

nmenegale> Signed-off-by: Nicolas M?n?gale <[email protected]> nmenegale> ---
nmenegale> v2: minor modifications: empty lines between headers and variable, license, nmenegale> tar.xz instead of tar.bz2
nmenegale> libxml++ is a C++ wrapper for libxml2 it has glibmm as dependency

This line should imho have been part of the commit message.

nmenegale> Signed-off-by: nmenegale <[email protected]> nmenegale> ---

 nmenegale>  package/Config.in            |  1 +
 nmenegale>  package/libxmlpp/Config.in   | 13 +++++++++++++
 nmenegale>  package/libxmlpp/libxmlpp.mk | 17 +++++++++++++++++
 nmenegale>  3 files changed, 31 insertions(+)
 nmenegale>  create mode 100644 package/libxmlpp/Config.in
 nmenegale>  create mode 100644 package/libxmlpp/libxmlpp.mk

nmenegale> diff --git a/package/Config.in b/package/Config.in nmenegale> index ca947d9..ede0ba0 100644
nmenegale> --- a/package/Config.in
nmenegale> +++ b/package/Config.in
nmenegale> @@ -623,6 +623,7 @@ source "package/json-glib/Config.in"

 nmenegale>  source "package/libroxml/Config.in"
 nmenegale>  source "package/libxml-parser-perl/Config.in"
 nmenegale>  source "package/libxml2/Config.in"
 nmenegale> +source "package/libxmlpp/Config.in"
 nmenegale>  source "package/libxslt/Config.in"
 nmenegale>  source "package/libyaml/Config.in"
 nmenegale>  source "package/mxml/Config.in"

nmenegale> diff --git a/package/libxmlpp/Config.in b/package/libxmlpp/Config.in nmenegale> new file mode 100644
nmenegale> index 0000000..3c9845c
nmenegale> --- /dev/null
nmenegale> +++ b/package/libxmlpp/Config.in
nmenegale> @@ -0,0 +1,13 @@
nmenegale> +config BR2_PACKAGE_LIBXMLPP
nmenegale> + bool "libxmlpp"
nmenegale> + select BR2_PACKAGE_LIBXML2
nmenegale> + select BR2_PACKAGE_GLIBMM
nmenegale> + depends on BR2_INSTALL_LIBSTDCPP
nmenegale> + depends on BR2_USE_WCHAR
nmenegale> + help
nmenegale> + libxml++ is a C++ wrapper for the libxml XML parser library.
nmenegale> +

Trailing spaces.

nmenegale> + http://libxmlplusplus.sourceforge.net/
nmenegale> +
nmenegale> +comment "LibXML++ requires a toolchain with C++ & WCHAR support enabled"

You have a mix of libxmlpp / libxml++ and LibXML++. I've changed them all to be libxml++.

Committed with those issues fixed, thanks.

Signature · 1 line
Bye, Peter Korsgaard