Skip to contentSkip to conversation

zlog: Add recipe

PATCH In review Khem Raj 2 participants 5 messages Dec 16, 2016 – Dec 21, 2016

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/3 zlog: Add recipe

---
 meta-oe/recipes-extended/zlog/zlog_git.bb | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 meta-oe/recipes-extended/zlog/zlog_git.bb
meta-oe/recipes-extended/zlog/zlog_git.bb new file +19 -0
new file mode 100644
index 0000000..51c746f
@@ -0,0 +1,19 @@
+DESCRIPTION = "Zlog is a pure C logging library"
+HOMEPAGE = "https://github.com/HardySimpson/zlog"
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
+
+PV = "1.2.12+git${SRCPV}"
+
+SRCREV = "13904dab2878aa2654d0c20fb8600a3dc5f2dd68"
+SRC_URI = "git://github.com/HardySimpson/zlog"
+
+S = "${WORKDIR}/git"
+
+inherit pkgconfig
+
+EXTRA_OEMAKE = "CC='${CC}' LD='${LD}'"
+
+do_install() {
+    oe_runmake install PREFIX=${D}${exec_prefix} INSTALL=install
+}
Signature · 1 line
2.10.2
author
#1 lore raw

PATCH 2/3 usrsctp: Add recipe

---
 .../recipes-protocols/usrsctp/usrsctp_git.bb       | 24 ++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb
meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb new file +24 -0
new file mode 100644
index 0000000..291eaa9
@@ -0,0 +1,24 @@
+DESCRIPTION = "This is a userland SCTP stack supporting FreeBSD, Linux, Mac OS X and Windows."
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.md;md5=ffcf846341f3856d79a483eafa18e2a5"
+
+SRC_URI = "git://github.com/sctplab/usrsctp;protocol=https;branch=master"
+SRCREV = "dbfc1b8c4cf1a46a4d8987ba542d5ff06bdaf14c"
+
+S = "${WORKDIR}/git"
+
+inherit autotools pkgconfig
+
+DEPENDS += "openssl"
+
+CFLAGS  += "-DSCTP_USE_OPENSSL_SHA1 -fPIC"
+LDFLAGS += "-lssl -lcrypto"
+
+PACKAGECONFIG ?= "disablewarnings"
+PACKAGECONFIG[disablewarnings] = "--disable-warnings-as-errors,,"
+
+EXTRA_OECONF += "--disable-inet \
+                 --disable-inet6 \
+                 --disable-shared \
+                 --disable-debug \
+               "
Signature · 1 line
2.10.2
author
#4 lore raw

PATCH 3/3 popplet: Disable PIE, it does not compile

In reply to Khem Raj
---
 meta-oe/recipes-support/poppler/poppler_0.49.0.bb | 6 ++++++
 1 file changed, 6 insertions(+)
meta-oe/recipes-support/poppler/poppler_0.49.0.bb +6 -0
index ebb16d6..e8f8e65 100644
@@ -27,6 +27,12 @@ PACKAGECONFIG[nss] = "--enable-libnss,--disable-libnss,nss"
 # Needed for qt5
 CXXFLAGS += "--std=c++11"
 
+#| /usr/src/debug/glibc/2.25-r0/git/csu/elf-init.c:87: undefined reference to `__init_array_end'
+#| /usr/src/debug/glibc/2.25-r0/git/csu/elf-init.c:87: undefined reference to `__init_array_start'
+#| /mnt/a/build/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/6.2.0/ld: .libs/libpoppler.so.65.0.0: hidden symbol `__init_array_end' isn't defined 
+
+SECURITY_CFLAGS = "${SECURITY_NO_PIE_CFLAGS}"
+
 EXTRA_OECONF = "\
     --enable-xpdf-headers \
     --disable-gtk-test \
Signature · 1 line
2.10.2
#2 lore raw

Re: [meta-networking][PATCH 2/3] usrsctp: Add recipe

In reply to Khem Raj
Quoted 14 lines · Khem Raj
---
 .../recipes-protocols/usrsctp/usrsctp_git.bb       | 24 ++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb
meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb new file +2 -0
new file mode 100644
index 0000000..291eaa9
@@ -0,0 +1,24 @@
+DESCRIPTION = "This is a userland SCTP stack supporting FreeBSD, Linux, Mac OS X and Windows."
+LICENSE = "BSD-3-Clause"

meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb line 12

Quoted 10 lines
meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb new file +10 -0
+LIC_FILES_CHKSUM = "file://LICENSE.md;md5=ffcf846341f3856d79a483eafa18e2a5"
+
+SRC_URI = "git://github.com/sctplab/usrsctp;protocol=https;branch=master"
+SRCREV = "dbfc1b8c4cf1a46a4d8987ba542d5ff06bdaf14c"
+
+S = "${WORKDIR}/git"
+
+inherit autotools pkgconfig
+
+DEPENDS += "openssl"

Fails to build here:
http://logs.nslu2-linux.org/buildlogs/oe/world/pyro/log.dependencies.qemuarm.20161218_140914.log//3_min/failed/usrsctp.log

Makefile.am: installing './INSTALL'

| Makefile.am: error: required file './NEWS' not found
| Makefile.am: error: required file './README' not found
| Makefile.am: error: required file './AUTHORS' not found
| Makefile.am: error: required file './ChangeLog' not found
| Makefile.am: installing './COPYING' using GNU General Public License

v3 file
| Makefile.am: Consider adding the COPYING file to the version
control system
| Makefile.am: for your code, to avoid questions about which license
your project uses
| programs/Makefile.am: installing './depcomp'
| autoreconf: automake failed with exit status: 1

Quoted 20 lines
meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb new file +12 -0
+
+CFLAGS  += "-DSCTP_USE_OPENSSL_SHA1 -fPIC"
+LDFLAGS += "-lssl -lcrypto"
+
+PACKAGECONFIG ?= "disablewarnings"
+PACKAGECONFIG[disablewarnings] = "--disable-warnings-as-errors,,"
+
+EXTRA_OECONF += "--disable-inet \
+                 --disable-inet6 \
+                 --disable-shared \
+                 --disable-debug \
+               "
Signature · 7 lines
2.10.2

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
author
#3 lore raw

Re: [meta-networking][PATCH 2/3] usrsctp: Add recipe

Quoted 35 lines · Martin Jansa
Quoted 14 lines · Khem Raj
---
 .../recipes-protocols/usrsctp/usrsctp_git.bb       | 24 ++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb
meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb new file +2 -0
new file mode 100644
index 0000000..291eaa9
@@ -0,0 +1,24 @@
+DESCRIPTION = "This is a userland SCTP stack supporting FreeBSD, Linux, Mac OS X and Windows."
+LICENSE = "BSD-3-Clause"

meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb line 12

Quoted 10 lines
meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb new file +10 -0
+LIC_FILES_CHKSUM = "file://LICENSE.md;md5=ffcf846341f3856d79a483eafa18e2a5"
+
+SRC_URI = "git://github.com/sctplab/usrsctp;protocol=https;branch=master"
+SRCREV = "dbfc1b8c4cf1a46a4d8987ba542d5ff06bdaf14c"
+
+S = "${WORKDIR}/git"
+
+inherit autotools pkgconfig
+
+DEPENDS += "openssl"

Fails to build here:
http://logs.nslu2-linux.org/buildlogs/oe/world/pyro/log.dependencies.qemuarm.20161218_140914.log//3_min/failed/usrsctp.log

Makefile.am: installing './INSTALL'

| Makefile.am: error: required file './NEWS' not found
| Makefile.am: error: required file './README' not found
| Makefile.am: error: required file './AUTHORS' not found
| Makefile.am: error: required file './ChangeLog' not found
| Makefile.am: installing './COPYING' using GNU General Public License
Quoted 7 lines

v3 file
| Makefile.am: Consider adding the COPYING file to the version
control system
| Makefile.am: for your code, to avoid questions about which license
your project uses
| programs/Makefile.am: installing './depcomp'
| autoreconf: automake failed with exit status: 1

Yeah sent a v2

Quoted 32 lines
Quoted 17 lines
meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb new file +12 -1
+
+CFLAGS  += "-DSCTP_USE_OPENSSL_SHA1 -fPIC"
+LDFLAGS += "-lssl -lcrypto"
+
+PACKAGECONFIG ?= "disablewarnings"
+PACKAGECONFIG[disablewarnings] = "--disable-warnings-as-errors,,"
+
+EXTRA_OECONF += "--disable-inet \
+                 --disable-inet6 \
+                 --disable-shared \
+                 --disable-debug \
+               "
--

2.10.2

Quoted 5 lines

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
Martin 'JaMa' Jansa jabber: [email protected]

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel