Skip to contentSkip to conversation

add gsoap v2.7.13, generates C/C++ source codes for Web service and client applications

PATCH In review Dirk 'Virk' Van Haerenborgh 1 participant 2 messages Apr 8, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add gsoap v2.7.13, generates C/C++ source codes for Web service and client applications

gsoap-native: unbreak self-dependency patch included
FILES_${PN} includes {datadir} as soapcpp2 is some sort of compiler which needs the headers in datadir in order to be able to compile its soap stuff properly

---
 .../use-just-built-binary-2.7.13.patch             |   12 ++++++++++++
 recipes/gsoap/gsoap-native_2.7.13.bb               |   12 ++++++++++++
 recipes/gsoap/gsoap_2.7.13.bb                      |    6 ++++++
 recipes/gsoap/gsoap_2.7.13.inc                     |   15 +++++++++++++++
 4 files changed, 45 insertions(+), 0 deletions(-)
 create mode 100644 recipes/gsoap/gsoap-native/use-just-built-binary-2.7.13.patch
 create mode 100644 recipes/gsoap/gsoap-native_2.7.13.bb
 create mode 100644 recipes/gsoap/gsoap_2.7.13.bb
 create mode 100644 recipes/gsoap/gsoap_2.7.13.inc
recipes/gsoap/gsoap-native/use-just-built-binary-2.7.13.patch new file +12 -0
new file mode 100644
index 0000000..25a8ef0
@@ -0,0 +1,12 @@
+diff -urN gsoap-2.7.orig/gsoap/wsdl/Makefile.am gsoap-2.7.orig/gsoap/wsdl/Makefile.am
+--- gsoap-2.7.orig/gsoap/wsdl/Makefile.am	2009-03-21 22:24:42.000000000 +0100
++++ gsoap-2.7.orig/gsoap/wsdl/Makefile.am	2009-04-07 11:30:50.000000000 +0200
+@@ -17,7 +17,7 @@ BUILT_SOURCES=$(SOAP_CPP_SRC)
+ # WSDL2H_EXTRA_LIBS=-lssl -lcrypto -lz # defined in configure.in
+ 
+ $(SOAP_CPP_SRC) : $(SOAPHEADER)
+-	$(SOAP) $(SOAP_FLAGS) $(SOAPHEADER)
++	../src/soapcpp2 $(SOAP_FLAGS) $(SOAPHEADER)
+ 
+ #LIBS=
+ 
recipes/gsoap/gsoap-native_2.7.13.bb new file +12 -0
new file mode 100644
index 0000000..3ed78d0
@@ -0,0 +1,12 @@
+require gsoap_${PV}.inc
+
+DEPENDS = ""
+
+SRC_URI += "file://use-just-built-binary-2.7.13.patch;patch=1"
+
+inherit native
+
+do_install() {
+	:
+}
+
recipes/gsoap/gsoap_2.7.13.bb new file +6 -0
new file mode 100644
index 0000000..c5b0ae8
@@ -0,0 +1,6 @@
+require gsoap_${PV}.bb
+
+DEPENDS = "gsoap-native"
+
+FILES_${PN} = "${bindir}/wsdl2h ${bindir}/soapcpp2"
+FILES_${PN} += "${datadir}"
recipes/gsoap/gsoap_2.7.13.inc new file +15 -0
new file mode 100644
index 0000000..a6fbbb5
@@ -0,0 +1,15 @@
+DESCRIPTION = "The gSOAP toolkit provides a unique SOAP-to-C/C++ language binding \
+for the development of SOAP Web Services and clients."
+SECTION = "devel"
+LICENSE = "GPL"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/gsoap2/gsoap_${PV}.tar.gz"
+
+inherit autotools_stage
+
+S = "${WORKDIR}/gsoap-2.7"
+
+PARALLEL_MAKE = ""
+
+EXTRA_OEMAKE = "SOAP=${STAGING_BINDIR_NATIVE}/soapcpp2"
+
Signature · 1 line
1.6.0.4
#1 lore raw

Oops, please discard this one, I forgot something

-Dirk

2009/4/8 Dirk 'Virk' Van Haerenborgh <[email protected]>

Quoted 98 lines

gsoap-native: unbreak self-dependency patch included FILES_${PN} includes {datadir} as soapcpp2 is some sort of compiler which needs the headers in datadir in order to be able to compile its soap stuff properly

---
 .../use-just-built-binary-2.7.13.patch             |   12 ++++++++++++
 recipes/gsoap/gsoap-native_2.7.13.bb               |   12 ++++++++++++
 recipes/gsoap/gsoap_2.7.13.bb                      |    6 ++++++
 recipes/gsoap/gsoap_2.7.13.inc                     |   15 +++++++++++++++
 4 files changed, 45 insertions(+), 0 deletions(-)
 create mode 100644
recipes/gsoap/gsoap-native/use-just-built-binary-2.7.13.patch
 create mode 100644 recipes/gsoap/gsoap-native_2.7.13.bb
 create mode 100644 recipes/gsoap/gsoap_2.7.13.bb
 create mode 100644 recipes/gsoap/gsoap_2.7.13.inc
recipes/gsoap/gsoap-native/use-just-built-binary-2.7.13.patch new file +1 -0
new file mode 100644
index 0000000..25a8ef0
@@ -0,0 +1,12 @@
+diff -urN gsoap-2.7.orig/gsoap/wsdl/Makefile.am

gsoap-2.7.orig/gsoap/wsdl/Makefile.am
+--- gsoap-2.7.orig/gsoap/wsdl/Makefile.am 2009-03-21
22:24:42.000000000 +0100
++++ gsoap-2.7.orig/gsoap/wsdl/Makefile.am 2009-04-07
11:30:50.000000000 +0200
+@@ -17,7 +17,7 @@ BUILT_SOURCES=$(SOAP_CPP_SRC)
+ # WSDL2H_EXTRA_LIBS=-lssl -lcrypto -lz # defined in configure.in

recipes/gsoap/gsoap-native/use-just-built-binary-2.7.13.patch new file +7 -0
+
+ $(SOAP_CPP_SRC) : $(SOAPHEADER)
+-      $(SOAP) $(SOAP_FLAGS) $(SOAPHEADER)
++      ../src/soapcpp2 $(SOAP_FLAGS) $(SOAPHEADER)
+
+ #LIBS=
+
recipes/gsoap/ renamed from recipes/gsoap/gsoap-native_2.7.13.bb +0 -0

gsoap-native_2.7.13.bb
new file mode 100644
index 0000000..3ed78d0

recipes/gsoap/gsoap-native_2.7.13.bb new file +12 -0
@@ -0,0 +1,12 @@
+require gsoap_${PV}.inc
+
+DEPENDS = ""
+
+SRC_URI += "file://use-just-built-binary-2.7.13.patch;patch=1"
+
+inherit native
+
+do_install() {
+       :
+}
+
recipes/gsoap/gsoap_2.7.13.bb new file +6 -0
new file mode 100644
index 0000000..c5b0ae8
@@ -0,0 +1,6 @@
+require gsoap_${PV}.bb
+
+DEPENDS = "gsoap-native"
+
+FILES_${PN} = "${bindir}/wsdl2h ${bindir}/soapcpp2"
+FILES_${PN} += "${datadir}"
recipes/gsoap/gsoap_2.7.13.inc new file +1 -0
new file mode 100644
index 0000000..a6fbbb5
@@ -0,0 +1,15 @@
+DESCRIPTION = "The gSOAP toolkit provides a unique SOAP-to-C/C++ language

binding \

recipes/gsoap/gsoap_2.7.13.inc new file +14 -1
+for the development of SOAP Web Services and clients."
+SECTION = "devel"
+LICENSE = "GPL"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/gsoap2/gsoap_${PV}.tar.gz"
+
+inherit autotools_stage
+
+S = "${WORKDIR}/gsoap-2.7"
+
+PARALLEL_MAKE = ""
+
+EXTRA_OEMAKE = "SOAP=${STAGING_BINDIR_NATIVE}/soapcpp2"
+
--

1.6.0.4