Skip to contentSkip to conversation

curlpp: add curl c++ bindings

PATCH Superseded [email protected] 2 participants 3 messages Dec 2, 2013 – Dec 3, 2013

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 curlpp: add curl c++ bindings

From: Ulf Samuelsson <[email protected]>

---
 .../curlpp/curlpp/pkgconfig_fix.patch              |   38 +++++++++
 meta/recipes-support/curlpp/curlpp_0.7.3.bb        |   89 ++++++++++++++++++++
 2 files changed, 127 insertions(+)
 create mode 100644 meta/recipes-support/curlpp/curlpp/pkgconfig_fix.patch
 create mode 100644 meta/recipes-support/curlpp/curlpp_0.7.3.bb
meta/recipes-support/curlpp/curlpp/pkgconfig_fix.patch new file +38 -0
new file mode 100644
index 0000000..ad73c00
@@ -0,0 +1,38 @@
+Upstream-Status: Inappropriate [packaging]
+
+
+Index: curl-7.20.0/libcurl.pc.in
+===================================================================
+--- curl-7.20.0.orig/libcurl.pc.in	2009-11-17 18:11:07.000000000 +0000
++++ curl-7.20.0/libcurl.pc.in	2010-03-25 12:13:26.814051066 +0000
+@@ -35,6 +35,7 @@
+ URL: http://curl.haxx.se/
+ Description: Library to transfer files with ftp, http, etc.
+ Version: @CURLVERSION@
+-Libs: -L${libdir} -lcurl @LIBS@
+-Libs.private: @LIBCURL_LIBS@ @LIBS@
++Requires.private: @GNUTLS_REQUIRED@
++Libs: -L${libdir} -lcurl
++Libs.private: -ldl -lz
+ Cflags: -I${includedir}
+Index: curl-7.20.0/configure.ac
+===================================================================
+--- curl-7.20.0.orig/configure.ac	2010-02-04 21:41:46.000000000 +0000
++++ curl-7.20.0/configure.ac	2010-03-25 12:12:18.673129001 +0000
+@@ -1668,6 +1668,7 @@
+        AC_SUBST(USE_GNUTLS, [1])
+        GNUTLS_ENABLED=1
+        USE_GNUTLS="yes"
++       GNUTLS_REQUIRED="gnutls"
+        curl_ssl_msg="enabled (GnuTLS)"
+        ],
+        [
+@@ -1696,6 +1697,8 @@
+ 
+ fi dnl OPENSSL != 1
+ 
++AC_SUBST(GNUTLS_REQUIRED)
++
+ dnl ----------------------------------------------------
+ dnl NSS. Only check if GnuTLS and OpenSSL are not enabled
+ dnl ----------------------------------------------------
meta/recipes-support/curlpp/curlpp_0.7.3.bb new file +89 -0

89 lines not on this page · raw message

Signature · 1 line
1.7.9.5
#1 lore raw

Hi Ulf,

Quoted 9 lines · On Monday 02 December 2013 19:36:14 [email protected] wrote:

From: Ulf Samuelsson <[email protected]>

---
 .../curlpp/curlpp/pkgconfig_fix.patch              |   38 +++++++++
 meta/recipes-support/curlpp/curlpp_0.7.3.bb        |   89
++++++++++++++++++++ 2 files changed, 127 insertions(+)
 create mode 100644 meta/recipes-support/curlpp/curlpp/pkgconfig_fix.patch
 create mode 100644 meta/recipes-support/curlpp/curlpp_0.7.3.bb

You sent v1 of this to openembedded-devel so I had assumed it was for meta-oe. To be honest I don't think this belongs in OE-Core, unless we actually need it for something else that is in OE-Core (or something that needs to be added to OE-Core).

Also, you didn't fix DESCRIPTION -> SUMMARY or drop PR in this version.

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#2 lore raw

Just thought it fit nicely besides curl...

I use it for a proprietary customer application.
The application sends out debug messages over UDP
This will reside in private layers.

Have also written a small utility, which receives the UDP packets and simply writes them out on a terminal.
It is quite useful when you dont have a screen connected. Thinking of checking that in somewhere.

Would meta-openembedded/meta-networking/recipes-support be OK?

Best Regards
Ulf Samuelsson
[email protected]

3 dec 2013 kl. 13:24 skrev Paul Eggleton <[email protected]>:

Quoted 27 lines

Hi Ulf,

Quoted 9 lines · On Monday 02 December 2013 19:36:14 [email protected] wrote:

From: Ulf Samuelsson <[email protected]>

---

.../curlpp/curlpp/pkgconfig_fix.patch              |   38 +++++++++
meta/recipes-support/curlpp/curlpp_0.7.3.bb        |   89

++++++++++++++++++++ 2 files changed, 127 insertions(+) create mode 100644 meta/recipes-support/curlpp/curlpp/pkgconfig_fix.patch create mode 100644 meta/recipes-support/curlpp/curlpp_0.7.3.bb

You sent v1 of this to openembedded-devel so I had assumed it was for meta-oe. To be honest I don't think this belongs in OE-Core, unless we actually need it for something else that is in OE-Core (or something that needs to be added to OE-Core).

Also, you didn't fix DESCRIPTION -> SUMMARY or drop PR in this version.

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre