* [PATCH] neon: add the recipe from oe-core
@ 2017-11-22 16:30 Alexander Kanavin
2017-11-22 17:47 ` Martin Jansa
0 siblings, 1 reply; 6+ messages in thread
From: Alexander Kanavin @ 2017-11-22 16:30 UTC (permalink / raw)
To: openembedded-devel
It is still required by libmusicbrainz, but is no longer needed
by oe-core. Switch the upstream to debian as webdav.org is down.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
---
meta-oe/recipes-support/neon/neon/pkgconfig.patch | 15 +++++++++
meta-oe/recipes-support/neon/neon_0.30.2.bb | 38 +++++++++++++++++++++++
2 files changed, 53 insertions(+)
create mode 100644 meta-oe/recipes-support/neon/neon/pkgconfig.patch
create mode 100644 meta-oe/recipes-support/neon/neon_0.30.2.bb
diff --git a/meta-oe/recipes-support/neon/neon/pkgconfig.patch b/meta-oe/recipes-support/neon/neon/pkgconfig.patch
new file mode 100644
index 000000000..239dba8e2
--- /dev/null
+++ b/meta-oe/recipes-support/neon/neon/pkgconfig.patch
@@ -0,0 +1,15 @@
+Upstream-Status: Inappropriate [configuration]
+
+---
+ neon.pc.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- neon-0.30.1.orig/neon.pc.in
++++ neon-0.30.1/neon.pc.in
+@@ -7,5 +7,5 @@ Name: neon
+ Description: HTTP/WebDAV client library
+ Version: @NEON_VERSION@
+ Libs: -L${libdir} -lneon @NEON_PC_LIBS@
+-Libs.private: @NEON_LIBS@
++Libs.private: -L${libdir} -lz -lgcrypt -lgpg-error -lexpat -lgnutls
+ Cflags: -I${includedir}/neon @NEON_CFLAGS@
diff --git a/meta-oe/recipes-support/neon/neon_0.30.2.bb b/meta-oe/recipes-support/neon/neon_0.30.2.bb
new file mode 100644
index 000000000..12a2e0b37
--- /dev/null
+++ b/meta-oe/recipes-support/neon/neon_0.30.2.bb
@@ -0,0 +1,38 @@
+SUMMARY = "An HTTP and WebDAV client library with a C interface"
+HOMEPAGE = "http://www.webdav.org/neon/"
+SECTION = "libs"
+LICENSE = "LGPLv2+"
+LIC_FILES_CHKSUM = "file://src/COPYING.LIB;md5=f30a9716ef3762e3467a2f62bf790f0a \
+ file://src/ne_utils.h;beginline=1;endline=20;md5=2caca609538eddaa6f6adf120a218037"
+
+SRC_URI = "${DEBIAN_MIRROR}/main/n/neon27/neon27_${PV}.orig.tar.gz \
+ file://pkgconfig.patch \
+ "
+
+SRC_URI[md5sum] = "e28d77bf14032d7f5046b3930704ef41"
+SRC_URI[sha256sum] = "db0bd8cdec329b48f53a6f00199c92d5ba40b0f015b153718d1b15d3d967fbca"
+
+inherit autotools binconfig-disabled lib_package pkgconfig
+
+# Enable gnutls or openssl, not both
+PACKAGECONFIG ?= "expat gnutls libproxy webdav zlib"
+PACKAGECONFIG_class-native = "expat gnutls webdav zlib"
+
+PACKAGECONFIG[expat] = "--with-expat,--without-expat,expat"
+PACKAGECONFIG[gnutls] = "--with-ssl=gnutls,,gnutls"
+PACKAGECONFIG[gssapi] = "--with-gssapi,--without-gssapi,krb5"
+PACKAGECONFIG[libproxy] = "--with-libproxy,--without-libproxy,libproxy"
+PACKAGECONFIG[libxml2] = "--with-libxml2,--without-libxml2,libxml2"
+PACKAGECONFIG[openssl] = "--with-ssl=openssl,,openssl"
+PACKAGECONFIG[webdav] = "--enable-webdav,--disable-webdav,"
+PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib"
+
+EXTRA_OECONF += "--enable-shared"
+
+do_compile_append() {
+ oe_runmake -C test
+}
+
+BINCONFIG = "${bindir}/neon-config"
+
+BBCLASSEXTEND = "native"
--
2.15.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] neon: add the recipe from oe-core
2017-11-22 16:30 [PATCH] neon: add the recipe from oe-core Alexander Kanavin
@ 2017-11-22 17:47 ` Martin Jansa
2017-11-23 9:46 ` Alexander Kanavin
0 siblings, 1 reply; 6+ messages in thread
From: Martin Jansa @ 2017-11-22 17:47 UTC (permalink / raw)
To: Alexander Kanavin; +Cc: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 3571 bytes --]
On Wed, Nov 22, 2017 at 06:30:30PM +0200, Alexander Kanavin wrote:
> It is still required by libmusicbrainz, but is no longer needed
> by oe-core. Switch the upstream to debian as webdav.org is down.
>
> Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
> ---
> meta-oe/recipes-support/neon/neon/pkgconfig.patch | 15 +++++++++
> meta-oe/recipes-support/neon/neon_0.30.2.bb | 38 +++++++++++++++++++++++
> 2 files changed, 53 insertions(+)
> create mode 100644 meta-oe/recipes-support/neon/neon/pkgconfig.patch
> create mode 100644 meta-oe/recipes-support/neon/neon_0.30.2.bb
>
> diff --git a/meta-oe/recipes-support/neon/neon/pkgconfig.patch b/meta-oe/recipes-support/neon/neon/pkgconfig.patch
> new file mode 100644
> index 000000000..239dba8e2
> --- /dev/null
> +++ b/meta-oe/recipes-support/neon/neon/pkgconfig.patch
> @@ -0,0 +1,15 @@
> +Upstream-Status: Inappropriate [configuration]
> +
> +---
> + neon.pc.in | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +--- neon-0.30.1.orig/neon.pc.in
> ++++ neon-0.30.1/neon.pc.in
> +@@ -7,5 +7,5 @@ Name: neon
> + Description: HTTP/WebDAV client library
> + Version: @NEON_VERSION@
> + Libs: -L${libdir} -lneon @NEON_PC_LIBS@
> +-Libs.private: @NEON_LIBS@
> ++Libs.private: -L${libdir} -lz -lgcrypt -lgpg-error -lexpat -lgnutls
> + Cflags: -I${includedir}/neon @NEON_CFLAGS@
> diff --git a/meta-oe/recipes-support/neon/neon_0.30.2.bb b/meta-oe/recipes-support/neon/neon_0.30.2.bb
> new file mode 100644
> index 000000000..12a2e0b37
> --- /dev/null
> +++ b/meta-oe/recipes-support/neon/neon_0.30.2.bb
> @@ -0,0 +1,38 @@
> +SUMMARY = "An HTTP and WebDAV client library with a C interface"
> +HOMEPAGE = "http://www.webdav.org/neon/"
> +SECTION = "libs"
> +LICENSE = "LGPLv2+"
> +LIC_FILES_CHKSUM = "file://src/COPYING.LIB;md5=f30a9716ef3762e3467a2f62bf790f0a \
> + file://src/ne_utils.h;beginline=1;endline=20;md5=2caca609538eddaa6f6adf120a218037"
> +
> +SRC_URI = "${DEBIAN_MIRROR}/main/n/neon27/neon27_${PV}.orig.tar.gz \
> + file://pkgconfig.patch \
> + "
> +
> +SRC_URI[md5sum] = "e28d77bf14032d7f5046b3930704ef41"
> +SRC_URI[sha256sum] = "db0bd8cdec329b48f53a6f00199c92d5ba40b0f015b153718d1b15d3d967fbca"
> +
> +inherit autotools binconfig-disabled lib_package pkgconfig
> +
> +# Enable gnutls or openssl, not both
> +PACKAGECONFIG ?= "expat gnutls libproxy webdav zlib"
> +PACKAGECONFIG_class-native = "expat gnutls webdav zlib"
> +
> +PACKAGECONFIG[expat] = "--with-expat,--without-expat,expat"
> +PACKAGECONFIG[gnutls] = "--with-ssl=gnutls,,gnutls"
> +PACKAGECONFIG[gssapi] = "--with-gssapi,--without-gssapi,krb5"
> +PACKAGECONFIG[libproxy] = "--with-libproxy,--without-libproxy,libproxy"
> +PACKAGECONFIG[libxml2] = "--with-libxml2,--without-libxml2,libxml2"
> +PACKAGECONFIG[openssl] = "--with-ssl=openssl,,openssl"
> +PACKAGECONFIG[webdav] = "--enable-webdav,--disable-webdav,"
> +PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib"
> +
> +EXTRA_OECONF += "--enable-shared"
> +
> +do_compile_append() {
> + oe_runmake -C test
Use 4 spaces for indentation instead of tabs.
> +}
> +
> +BINCONFIG = "${bindir}/neon-config"
> +
> +BBCLASSEXTEND = "native"
> --
> 2.15.0
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 201 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] neon: add the recipe from oe-core
2017-11-22 17:47 ` Martin Jansa
@ 2017-11-23 9:46 ` Alexander Kanavin
2017-11-23 12:06 ` Martin Jansa
0 siblings, 1 reply; 6+ messages in thread
From: Alexander Kanavin @ 2017-11-23 9:46 UTC (permalink / raw)
To: Martin Jansa; +Cc: openembedded-devel
On 11/22/2017 07:47 PM, Martin Jansa wrote:
>> +do_compile_append() {
>> + oe_runmake -C test
>
> Use 4 spaces for indentation instead of tabs.
Please explain why.
Alex
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] neon: add the recipe from oe-core
2017-11-23 9:46 ` Alexander Kanavin
@ 2017-11-23 12:06 ` Martin Jansa
2017-11-23 13:39 ` Alexander Kanavin
0 siblings, 1 reply; 6+ messages in thread
From: Martin Jansa @ 2017-11-23 12:06 UTC (permalink / raw)
To: Alexander Kanavin; +Cc: openembedded-devel
https://www.openembedded.org/wiki/Styleguide#Format_Guidelines
On Thu, Nov 23, 2017 at 10:46 AM, Alexander Kanavin <
alexander.kanavin@linux.intel.com> wrote:
> On 11/22/2017 07:47 PM, Martin Jansa wrote:
>
>> +do_compile_append() {
>>> + oe_runmake -C test
>>>
>>
>> Use 4 spaces for indentation instead of tabs.
>>
>
> Please explain why.
>
> Alex
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] neon: add the recipe from oe-core
2017-11-23 12:06 ` Martin Jansa
@ 2017-11-23 13:39 ` Alexander Kanavin
0 siblings, 0 replies; 6+ messages in thread
From: Alexander Kanavin @ 2017-11-23 13:39 UTC (permalink / raw)
To: Martin Jansa; +Cc: openembedded-devel
On 11/23/2017 02:06 PM, Martin Jansa wrote:
> https://www.openembedded.org/wiki/Styleguide#Format_Guidelines
Alright. I resent the patch, as I don't want to start a style war, but
(as discussed previously) I will resist any attempts to enforce
indentation in oe-core. We need to prioritize what we spend our time on
ruthlessly, considering the project is constantly under-staffed.
Alex
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH] neon: add the recipe from oe-core
@ 2017-11-23 13:36 Alexander Kanavin
0 siblings, 0 replies; 6+ messages in thread
From: Alexander Kanavin @ 2017-11-23 13:36 UTC (permalink / raw)
To: openembedded-devel
It is still required by libmusicbrainz, but is no longer needed
by oe-core. Switch the upstream to debian as webdav.org is down.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
---
meta-oe/recipes-support/neon/neon/pkgconfig.patch | 15 +++++++++
meta-oe/recipes-support/neon/neon_0.30.2.bb | 38 +++++++++++++++++++++++
2 files changed, 53 insertions(+)
create mode 100644 meta-oe/recipes-support/neon/neon/pkgconfig.patch
create mode 100644 meta-oe/recipes-support/neon/neon_0.30.2.bb
diff --git a/meta-oe/recipes-support/neon/neon/pkgconfig.patch b/meta-oe/recipes-support/neon/neon/pkgconfig.patch
new file mode 100644
index 000000000..239dba8e2
--- /dev/null
+++ b/meta-oe/recipes-support/neon/neon/pkgconfig.patch
@@ -0,0 +1,15 @@
+Upstream-Status: Inappropriate [configuration]
+
+---
+ neon.pc.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- neon-0.30.1.orig/neon.pc.in
++++ neon-0.30.1/neon.pc.in
+@@ -7,5 +7,5 @@ Name: neon
+ Description: HTTP/WebDAV client library
+ Version: @NEON_VERSION@
+ Libs: -L${libdir} -lneon @NEON_PC_LIBS@
+-Libs.private: @NEON_LIBS@
++Libs.private: -L${libdir} -lz -lgcrypt -lgpg-error -lexpat -lgnutls
+ Cflags: -I${includedir}/neon @NEON_CFLAGS@
diff --git a/meta-oe/recipes-support/neon/neon_0.30.2.bb b/meta-oe/recipes-support/neon/neon_0.30.2.bb
new file mode 100644
index 000000000..00b79f633
--- /dev/null
+++ b/meta-oe/recipes-support/neon/neon_0.30.2.bb
@@ -0,0 +1,38 @@
+SUMMARY = "An HTTP and WebDAV client library with a C interface"
+HOMEPAGE = "http://www.webdav.org/neon/"
+SECTION = "libs"
+LICENSE = "LGPLv2+"
+LIC_FILES_CHKSUM = "file://src/COPYING.LIB;md5=f30a9716ef3762e3467a2f62bf790f0a \
+ file://src/ne_utils.h;beginline=1;endline=20;md5=2caca609538eddaa6f6adf120a218037"
+
+SRC_URI = "${DEBIAN_MIRROR}/main/n/neon27/neon27_${PV}.orig.tar.gz \
+ file://pkgconfig.patch \
+ "
+
+SRC_URI[md5sum] = "e28d77bf14032d7f5046b3930704ef41"
+SRC_URI[sha256sum] = "db0bd8cdec329b48f53a6f00199c92d5ba40b0f015b153718d1b15d3d967fbca"
+
+inherit autotools binconfig-disabled lib_package pkgconfig
+
+# Enable gnutls or openssl, not both
+PACKAGECONFIG ?= "expat gnutls libproxy webdav zlib"
+PACKAGECONFIG_class-native = "expat gnutls webdav zlib"
+
+PACKAGECONFIG[expat] = "--with-expat,--without-expat,expat"
+PACKAGECONFIG[gnutls] = "--with-ssl=gnutls,,gnutls"
+PACKAGECONFIG[gssapi] = "--with-gssapi,--without-gssapi,krb5"
+PACKAGECONFIG[libproxy] = "--with-libproxy,--without-libproxy,libproxy"
+PACKAGECONFIG[libxml2] = "--with-libxml2,--without-libxml2,libxml2"
+PACKAGECONFIG[openssl] = "--with-ssl=openssl,,openssl"
+PACKAGECONFIG[webdav] = "--enable-webdav,--disable-webdav,"
+PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib"
+
+EXTRA_OECONF += "--enable-shared"
+
+do_compile_append() {
+ oe_runmake -C test
+}
+
+BINCONFIG = "${bindir}/neon-config"
+
+BBCLASSEXTEND = "native"
--
2.15.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2017-11-23 13:39 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-22 16:30 [PATCH] neon: add the recipe from oe-core Alexander Kanavin
2017-11-22 17:47 ` Martin Jansa
2017-11-23 9:46 ` Alexander Kanavin
2017-11-23 12:06 ` Martin Jansa
2017-11-23 13:39 ` Alexander Kanavin
2017-11-23 13:36 Alexander Kanavin
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.