* [PATCH] Added gsoap version 2.7.13
@ 2009-04-07 13:47 Dirk 'Virk' Van Haerenborgh
2009-04-07 14:00 ` Koen Kooi
0 siblings, 1 reply; 4+ messages in thread
From: Dirk 'Virk' Van Haerenborgh @ 2009-04-07 13:47 UTC (permalink / raw)
To: openembedded-devel
The patch is to make sure the just build binary soapcpp2 is used instead of looking for it in /usr/bin in the staging dir, just the same as
v2.7.7 of gsoap.
---
.../use-just-built-binary-2.7.13.patch | 12 +++++++
recipes/gsoap/gsoap-native_2.7.13.bb | 16 ++++++++++
recipes/gsoap/gsoap_2.7.13.bb | 31 ++++++++++++++++++++
3 files changed, 59 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
diff --git a/recipes/gsoap/gsoap-native/use-just-built-binary-2.7.13.patch b/recipes/gsoap/gsoap-native/use-just-built-binary-2.7.13.patch
new file mode 100644
index 0000000..25a8ef0
--- /dev/null
+++ b/recipes/gsoap/gsoap-native/use-just-built-binary-2.7.13.patch
@@ -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=
+
diff --git a/recipes/gsoap/gsoap-native_2.7.13.bb b/recipes/gsoap/gsoap-native_2.7.13.bb
new file mode 100644
index 0000000..e046ff6
--- /dev/null
+++ b/recipes/gsoap/gsoap-native_2.7.13.bb
@@ -0,0 +1,16 @@
+require gsoap_${PV}.bb
+
+DEPENDS = ""
+PR = "r1"
+
+SRC_URI += "file://use-just-built-binary-2.7.13.patch;patch=1"
+
+inherit native
+
+do_stage() {
+ autotools_stage_all
+}
+
+do_install() {
+ :
+}
diff --git a/recipes/gsoap/gsoap_2.7.13.bb b/recipes/gsoap/gsoap_2.7.13.bb
new file mode 100644
index 0000000..53d02d2
--- /dev/null
+++ b/recipes/gsoap/gsoap_2.7.13.bb
@@ -0,0 +1,31 @@
+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"
+DEPENDS = "gsoap-native"
+PR = "r1"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/gsoap2/gsoap_${PV}.tar.gz"
+
+S = "${WORKDIR}/gsoap-2.7"
+
+inherit autotools
+
+PARALLEL_MAKE = ""
+
+EXTRA_OEMAKE = "SOAP=${STAGING_BINDIR_NATIVE}/soapcpp2"
+
+do_install_append() {
+ install -d ${D}${libdir}
+ for lib in libgsoapssl libgsoapssl++ libgsoap libgsoapck++ libgsoap++ libgsoapck
+ do
+ oe_libinstall -C gsoap $lib ${D}${libdir}
+ done
+}
+
+do_stage() {
+ autotools_stage_all
+}
+
+PACKAGES = "${PN}-dbg ${PN}-dev ${PN} ${PN}-doc ${PN}-locale"
+FILES_gsoap-dev = "${bindir}/wsdl2h ${bindir}/src ${libdir}"
--
1.6.0.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] Added gsoap version 2.7.13
2009-04-07 13:47 [PATCH] Added gsoap version 2.7.13 Dirk 'Virk' Van Haerenborgh
@ 2009-04-07 14:00 ` Koen Kooi
2009-04-07 14:45 ` Dirk Van Haerenborgh
0 siblings, 1 reply; 4+ messages in thread
From: Koen Kooi @ 2009-04-07 14:00 UTC (permalink / raw)
To: openembedded-devel
On 07-04-09 15:47, Dirk 'Virk' Van Haerenborgh wrote:
> The patch is to make sure the just build binary soapcpp2 is used instead of looking for it in /usr/bin in the staging dir, just the same as
> v2.7.7 of gsoap.
> +++ b/recipes/gsoap/gsoap-native_2.7.13.bb
> @@ -0,0 +1,16 @@
> +PR = "r1"
remove that
> +do_stage() {
> + autotools_stage_all
> +}
Remove that (see below)
> +++ b/recipes/gsoap/gsoap_2.7.13.bb
> +PR = "r1"
remove that
> +inherit autotools
change that to autotools_stage
> +do_stage() {
> + autotools_stage_all
> +}
That can be removed if you inherit autotools_stage
> +PACKAGES = "${PN}-dbg ${PN}-dev ${PN} ${PN}-doc ${PN}-locale"
That looks wrong, remove that
> +FILES_gsoap-dev = "${bindir}/wsdl2h ${bindir}/src ${libdir}"
Change that to something like:
FILES_${PN}-dev += "${bindir}/wsdl2h ${bindir}/src ${libdir}"
And define FILES_${PN} more narrowly.
regards,
Koen
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Added gsoap version 2.7.13
2009-04-07 14:00 ` Koen Kooi
@ 2009-04-07 14:45 ` Dirk Van Haerenborgh
2009-04-07 15:03 ` Koen Kooi
0 siblings, 1 reply; 4+ messages in thread
From: Dirk Van Haerenborgh @ 2009-04-07 14:45 UTC (permalink / raw)
To: openembedded-devel; +Cc: openembedded-devel
Thanks for looking at it.
I've changed everything as advised.
However, I am quite new to both gsoap and OE, hence I do not know how to
define FILES_${PN} more narrowly.
this recipe is quite similar to gsoap_2.7.7 (which is in the oe.dev repo
atm) in which FILES_${PN} as broad as here.
-Dirk
2009/4/7 Koen Kooi <k.kooi@student.utwente.nl>
> On 07-04-09 15:47, Dirk 'Virk' Van Haerenborgh wrote:
>
>> The patch is to make sure the just build binary soapcpp2 is used instead
>> of looking for it in /usr/bin in the staging dir, just the same as
>> v2.7.7 of gsoap.
>>
>
>
> +++ b/recipes/gsoap/gsoap-native_2.7.13.bb
>> @@ -0,0 +1,16 @@
>>
>
> +PR = "r1"
>>
>
> remove that
>
> +do_stage() {
>> + autotools_stage_all
>> +}
>>
>
> Remove that (see below)
>
> +++ b/recipes/gsoap/gsoap_2.7.13.bb
>>
>
> +PR = "r1"
>>
>
> remove that
>
> +inherit autotools
>>
>
> change that to autotools_stage
>
> +do_stage() {
>> + autotools_stage_all
>> +}
>>
>
> That can be removed if you inherit autotools_stage
>
> +PACKAGES = "${PN}-dbg ${PN}-dev ${PN} ${PN}-doc ${PN}-locale"
>>
>
> That looks wrong, remove that
>
> +FILES_gsoap-dev = "${bindir}/wsdl2h ${bindir}/src ${libdir}"
>>
>
> Change that to something like:
>
> FILES_${PN}-dev += "${bindir}/wsdl2h ${bindir}/src ${libdir}"
>
> And define FILES_${PN} more narrowly.
>
> regards,
>
> Koen
>
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Added gsoap version 2.7.13
2009-04-07 14:45 ` Dirk Van Haerenborgh
@ 2009-04-07 15:03 ` Koen Kooi
0 siblings, 0 replies; 4+ messages in thread
From: Koen Kooi @ 2009-04-07 15:03 UTC (permalink / raw)
To: openembedded-devel
On 07-04-09 16:45, Dirk Van Haerenborgh wrote:
> Thanks for looking at it.
>
> I've changed everything as advised.
>
> However, I am quite new to both gsoap and OE, hence I do not know how to
> define FILES_${PN} more narrowly.
Basically:
dpkg-deb -c gsoap-ipk-produced-from-old-recipe.ipk
Look at the output e.g.
/usr/bin/foo
/usr/bin/bar
Based on that do:
FILES_${PN} = "${bindir}/foo \
${bindir}/bar \
"
I suspect the PACKAGES and FILES_gsoap-dev trickery was used to keep
some files *out* of ${PN}.
regards,
Koen
> this recipe is quite similar to gsoap_2.7.7 (which is in the oe.dev repo
> atm) in which FILES_${PN} as broad as here.
>
> -Dirk
>
> 2009/4/7 Koen Kooi<k.kooi@student.utwente.nl>
>
>> On 07-04-09 15:47, Dirk 'Virk' Van Haerenborgh wrote:
>>
>>> The patch is to make sure the just build binary soapcpp2 is used instead
>>> of looking for it in /usr/bin in the staging dir, just the same as
>>> v2.7.7 of gsoap.
>>>
>>
>>
>> +++ b/recipes/gsoap/gsoap-native_2.7.13.bb
>>> @@ -0,0 +1,16 @@
>>>
>>
>> +PR = "r1"
>>>
>>
>> remove that
>>
>> +do_stage() {
>>> + autotools_stage_all
>>> +}
>>>
>>
>> Remove that (see below)
>>
>> +++ b/recipes/gsoap/gsoap_2.7.13.bb
>>>
>>
>> +PR = "r1"
>>>
>>
>> remove that
>>
>> +inherit autotools
>>>
>>
>> change that to autotools_stage
>>
>> +do_stage() {
>>> + autotools_stage_all
>>> +}
>>>
>>
>> That can be removed if you inherit autotools_stage
>>
>> +PACKAGES = "${PN}-dbg ${PN}-dev ${PN} ${PN}-doc ${PN}-locale"
>>>
>>
>> That looks wrong, remove that
>>
>> +FILES_gsoap-dev = "${bindir}/wsdl2h ${bindir}/src ${libdir}"
>>>
>>
>> Change that to something like:
>>
>> FILES_${PN}-dev += "${bindir}/wsdl2h ${bindir}/src ${libdir}"
>>
>> And define FILES_${PN} more narrowly.
>>
>> regards,
>>
>> Koen
>>
>>
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-04-07 15:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-07 13:47 [PATCH] Added gsoap version 2.7.13 Dirk 'Virk' Van Haerenborgh
2009-04-07 14:00 ` Koen Kooi
2009-04-07 14:45 ` Dirk Van Haerenborgh
2009-04-07 15:03 ` Koen Kooi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.