Re: [oe] [meta-oe][PATCH] mariadb: use faster download URL
On Thu, Nov 3, 2016 at 9:42 PM, Tim Orlingwrote: > > > On Thu, Nov 3, 2016 at 8:05 PM, Khem Raj wrote: > >> On Thu, Nov 3, 2016 at 7:08 PM, Tim Orling >> wrote: >> > The current URL takes about 2 hours to download. >> >> how fast is new one, do they keep the tarballs there for long time ? >> or shove them into archive after new release is out >> >> 10 MB/s vs. 3.4KB/s by my test. > It is the same organization, just a different server. > We could instead trust GitHub archives if you prefer. But the current URL > is just not working. > And from what I can tell by browsing the URL, all the old versions are still there. > > >> > >> > Signed-off-by: Tim Orling >> > --- >> > meta-oe/recipes-support/mysql/mariadb.inc | 2 +- >> > 1 file changed, 1 insertion(+), 1 deletion(-) >> > >> > diff --git a/meta-oe/recipes-support/mysql/mariadb.inc >> b/meta-oe/recipes-support/mysql/mariadb.inc >> > index edef40b..689b8ab 100644 >> > --- a/meta-oe/recipes-support/mysql/mariadb.inc >> > +++ b/meta-oe/recipes-support/mysql/mariadb.inc >> > @@ -4,7 +4,7 @@ SECTION = "libs" >> > LICENSE = "GPLv2" >> > LIC_FILES_CHKSUM = "file://COPYING;md5=751419260a >> a954499f7abaabaa882bbe" >> > >> > -SRC_URI = "http://archive.mariadb.org/mariadb-${PV}/source/mariadb-${ >> PV}.tar.gz \ >> > +SRC_URI = "http://downloads.mariadb.com/MariaDB/mariadb-${PV}/source/m >> ariadb-${PV}.tar.gz \ >> > file://fix-cmake-module-path.patch \ >> > file://remove-bad-path.patch \ >> > file://fix-mysqlclient-r-version.patch \ >> > -- >> > 2.7.4 >> > >> > -- >> > ___ >> > Openembedded-devel mailing list >> > Openembedded-devel@lists.openembedded.org >> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel >> -- >> ___ >> Openembedded-devel mailing list >> Openembedded-devel@lists.openembedded.org >> http://lists.openembedded.org/mailman/listinfo/openembedded-devel >> > > -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][PATCH] mariadb: use faster download URL
On Thu, Nov 3, 2016 at 8:05 PM, Khem Rajwrote: > On Thu, Nov 3, 2016 at 7:08 PM, Tim Orling > wrote: > > The current URL takes about 2 hours to download. > > how fast is new one, do they keep the tarballs there for long time ? > or shove them into archive after new release is out > > 10 MB/s vs. 3.4KB/s by my test. It is the same organization, just a different server. We could instead trust GitHub archives if you prefer. But the current URL is just not working. > > > > Signed-off-by: Tim Orling > > --- > > meta-oe/recipes-support/mysql/mariadb.inc | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/meta-oe/recipes-support/mysql/mariadb.inc > b/meta-oe/recipes-support/mysql/mariadb.inc > > index edef40b..689b8ab 100644 > > --- a/meta-oe/recipes-support/mysql/mariadb.inc > > +++ b/meta-oe/recipes-support/mysql/mariadb.inc > > @@ -4,7 +4,7 @@ SECTION = "libs" > > LICENSE = "GPLv2" > > LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882b > be" > > > > -SRC_URI = "http://archive.mariadb.org/mariadb-${PV}/source/mariadb-$ > {PV}.tar.gz \ > > +SRC_URI = "http://downloads.mariadb.com/MariaDB/mariadb-${PV}/source/ > mariadb-${PV}.tar.gz \ > > file://fix-cmake-module-path.patch \ > > file://remove-bad-path.patch \ > > file://fix-mysqlclient-r-version.patch \ > > -- > > 2.7.4 > > > > -- > > ___ > > Openembedded-devel mailing list > > Openembedded-devel@lists.openembedded.org > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel > -- > ___ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-devel > -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][PATCH V2] gnuplot: upgrade to 5.0.5
It doesn't matter. With the PACKAGECONFIG it will default to disabled. Done. Somebody else's problem if they need qt4. On Thu, Nov 3, 2016 at 8:13 PM, ChenQiwrote: > On 11/04/2016 10:23 AM, Tim Orling wrote: > >> I would rather see a PACKAGECONFIG for qt5 >> >> On Tue, Nov 1, 2016 at 11:30 PM, Chen Qi wrote: >> >> Add '--disable-qt' to EXTRA_OECONF to fix do_compile failure. >>> >>> Signed-off-by: Chen Qi >>> --- >>> .../gnuplot-4.6.5/lua-loadlibs-configure-in-fix.patch| 16 >>> >>> .../recipes-extended/gnuplot/gnuplot-4.6.5/subdirs.patch | 11 >>> --- >>> meta-oe/recipes-extended/gnuplot/gnuplot.inc | 2 +- >>> .../gnuplot/gnuplot/lua-loadlibs-configure-in-fix.patch | 16 >>> >>> meta-oe/recipes-extended/gnuplot/gnuplot/subdirs.patch | 11 >>> +++ >>> meta-oe/recipes-extended/gnuplot/gnuplot_4.6.5.bb| 14 >>> -- >>> meta-oe/recipes-extended/gnuplot/gnuplot_5.0.5.bb| 14 >>> ++ >>> 7 files changed, 42 insertions(+), 42 deletions(-) >>> delete mode 100644 meta-oe/recipes-extended/gnuplot/gnuplot-4.6.5/lua- >>> loadlibs-configure-in-fix.patch >>> delete mode 100644 meta-oe/recipes-extended/ >>> gnuplot/gnuplot-4.6.5/subdirs.patch >>> create mode 100644 meta-oe/recipes-extended/gnupl >>> ot/gnuplot/lua-loadlibs- >>> configure-in-fix.patch >>> create mode 100644 meta-oe/recipes-extended/gnupl >>> ot/gnuplot/subdirs.patch >>> delete mode 100644 meta-oe/recipes-extended/gnuplot/gnuplot_4.6.5.bb >>> create mode 100644 meta-oe/recipes-extended/gnuplot/gnuplot_5.0.5.bb >>> >>> diff --git a/meta-oe/recipes-extended/gnuplot/gnuplot-4.6.5/lua- >>> loadlibs-configure-in-fix.patch b/meta-oe/recipes-extended/ >>> gnuplot/gnuplot-4.6.5/lua-loadlibs-configure-in-fix.patch >>> deleted file mode 100644 >>> index 23f2cd2..000 >>> --- a/meta-oe/recipes-extended/gnuplot/gnuplot-4.6.5/lua- >>> loadlibs-configure-in-fix.patch >>> +++ /dev/null >>> @@ -1,16 +0,0 @@ >>> -Index: gnuplot-4.6.5/configure.in >>> -=== >>> gnuplot-4.6.5.orig/configure.in >>> -+++ gnuplot-4.6.5/configure.in >>> -@@ -690,6 +690,11 @@ if test "${with_lua}" = yes ; then >>> - fi >>> - >>> - if test "$with_lua" != no; then >>> -+dnl check for dlopen/dl to fix loadlibs link failure >>> -+AC_CHECK_FUNC([dlopen], [], >>> -+ AC_CHECK_LIB([dl], [dlopen], DLOPEN_LIBS="-ldl")) >>> -+AC_SUBST(DLOPEN_LIBS) >>> -+LUA_LIBS="$LUA_LIBS $DLOPEN_LIBS" >>> - TERMLIBS="$TERMLIBS $LUA_LIBS" >>> - CPPFLAGS="$CPPFLAGS $LUA_CFLAGS" >>> - else >>> diff --git a/meta-oe/recipes-extended/gnuplot/gnuplot-4.6.5/subdirs.pat >>> ch >>> b/meta-oe/recipes-extended/gnuplot/gnuplot-4.6.5/subdirs.patch >>> deleted file mode 100644 >>> index 8c7d1f0..000 >>> --- a/meta-oe/recipes-extended/gnuplot/gnuplot-4.6.5/subdirs.patch >>> +++ /dev/null >>> @@ -1,11 +0,0 @@ >>> /tmp/Makefile.am 2007-08-23 13:10:15.560659023 +0200 >>> -+++ gnuplot-4.2.0/Makefile.am 2007-08-23 13:10:34.961764629 +0200 >>> -@@ -1,7 +1,7 @@ >>> - ## Process this file with automake to produce Makefile.in >>> -*-Makefile-*- >>> - AUTOMAKE_OPTIONS = foreign 1.2h >>> - >>> --SUBDIRS = config m4 term src docs $(LISPDIR) man demo tutorial share >>> -+SUBDIRS = config m4 term src $(LISPDIR) man share >>> - >>> - EXTRA_DIST = BUGS CodeStyle Copyright FAQ GNUmakefile INSTALL >>> INSTALL.gnu \ >>> - Makefile.maint PATCHLEVEL PGPKEYS PORTING README README.1ST README.exp >>> \ >>> diff --git a/meta-oe/recipes-extended/gnuplot/gnuplot.inc >>> b/meta-oe/recipes-extended/gnuplot/gnuplot.inc >>> index 69bc74b..d8d9a5f 100644 >>> --- a/meta-oe/recipes-extended/gnuplot/gnuplot.inc >>> +++ b/meta-oe/recipes-extended/gnuplot/gnuplot.inc >>> @@ -17,7 +17,7 @@ PACKAGECONFIG[cairo] = "--with-cairo,--without-cairo, >>> cairo >>> pango" >>> PACKAGECONFIG[lua] = "--with-lua,--without-lua,lua" >>> >>> EXTRA_OECONF = "--with-readline=${STAGING_LIBDIR}/.. \ >>> ---without-lisp-files \ >>> +--without-qt \ >>> >>> This would be more universal in a PACKAGECONFIG >> e.g. PACKAGECONFIG[qt4] = "--with-qt,--without-qt,qt4-x11-free" >> >> > The problem is that it fails to compile with qt4. So I just disabled it. > > Regards, > Chen Qi > > > --without-tutorial \ >>> --disable-wxwidgets" >>> >>> diff --git a/meta-oe/recipes-extended/gnuplot/gnuplot/lua-loadlibs-conf >>> igure-in-fix.patch >>> b/meta-oe/recipes-extended/gnuplot/gnuplot/lua-loadlibs- >>> configure-in-fix.patch >>> new file mode 100644 >>> index 000..23f2cd2 >>> --- /dev/null >>> +++ b/meta-oe/recipes-extended/gnuplot/gnuplot/lua-loadlibs- >>> configure-in-fix.patch >>> @@ -0,0 +1,16 @@ >>> +Index: gnuplot-4.6.5/configure.in >>> +=== >>>
Re: [oe] [meta-oe][PATCH V2] gnuplot: upgrade to 5.0.5
On 11/04/2016 10:23 AM, Tim Orling wrote: I would rather see a PACKAGECONFIG for qt5 On Tue, Nov 1, 2016 at 11:30 PM, Chen Qiwrote: Add '--disable-qt' to EXTRA_OECONF to fix do_compile failure. Signed-off-by: Chen Qi --- .../gnuplot-4.6.5/lua-loadlibs-configure-in-fix.patch| 16 .../recipes-extended/gnuplot/gnuplot-4.6.5/subdirs.patch | 11 --- meta-oe/recipes-extended/gnuplot/gnuplot.inc | 2 +- .../gnuplot/gnuplot/lua-loadlibs-configure-in-fix.patch | 16 meta-oe/recipes-extended/gnuplot/gnuplot/subdirs.patch | 11 +++ meta-oe/recipes-extended/gnuplot/gnuplot_4.6.5.bb| 14 -- meta-oe/recipes-extended/gnuplot/gnuplot_5.0.5.bb| 14 ++ 7 files changed, 42 insertions(+), 42 deletions(-) delete mode 100644 meta-oe/recipes-extended/gnuplot/gnuplot-4.6.5/lua- loadlibs-configure-in-fix.patch delete mode 100644 meta-oe/recipes-extended/ gnuplot/gnuplot-4.6.5/subdirs.patch create mode 100644 meta-oe/recipes-extended/gnuplot/gnuplot/lua-loadlibs- configure-in-fix.patch create mode 100644 meta-oe/recipes-extended/gnuplot/gnuplot/subdirs.patch delete mode 100644 meta-oe/recipes-extended/gnuplot/gnuplot_4.6.5.bb create mode 100644 meta-oe/recipes-extended/gnuplot/gnuplot_5.0.5.bb diff --git a/meta-oe/recipes-extended/gnuplot/gnuplot-4.6.5/lua- loadlibs-configure-in-fix.patch b/meta-oe/recipes-extended/ gnuplot/gnuplot-4.6.5/lua-loadlibs-configure-in-fix.patch deleted file mode 100644 index 23f2cd2..000 --- a/meta-oe/recipes-extended/gnuplot/gnuplot-4.6.5/lua- loadlibs-configure-in-fix.patch +++ /dev/null @@ -1,16 +0,0 @@ -Index: gnuplot-4.6.5/configure.in -=== gnuplot-4.6.5.orig/configure.in -+++ gnuplot-4.6.5/configure.in -@@ -690,6 +690,11 @@ if test "${with_lua}" = yes ; then - fi - - if test "$with_lua" != no; then -+dnl check for dlopen/dl to fix loadlibs link failure -+AC_CHECK_FUNC([dlopen], [], -+ AC_CHECK_LIB([dl], [dlopen], DLOPEN_LIBS="-ldl")) -+AC_SUBST(DLOPEN_LIBS) -+LUA_LIBS="$LUA_LIBS $DLOPEN_LIBS" - TERMLIBS="$TERMLIBS $LUA_LIBS" - CPPFLAGS="$CPPFLAGS $LUA_CFLAGS" - else diff --git a/meta-oe/recipes-extended/gnuplot/gnuplot-4.6.5/subdirs.patch b/meta-oe/recipes-extended/gnuplot/gnuplot-4.6.5/subdirs.patch deleted file mode 100644 index 8c7d1f0..000 --- a/meta-oe/recipes-extended/gnuplot/gnuplot-4.6.5/subdirs.patch +++ /dev/null @@ -1,11 +0,0 @@ /tmp/Makefile.am 2007-08-23 13:10:15.560659023 +0200 -+++ gnuplot-4.2.0/Makefile.am 2007-08-23 13:10:34.961764629 +0200 -@@ -1,7 +1,7 @@ - ## Process this file with automake to produce Makefile.in -*-Makefile-*- - AUTOMAKE_OPTIONS = foreign 1.2h - --SUBDIRS = config m4 term src docs $(LISPDIR) man demo tutorial share -+SUBDIRS = config m4 term src $(LISPDIR) man share - - EXTRA_DIST = BUGS CodeStyle Copyright FAQ GNUmakefile INSTALL INSTALL.gnu \ - Makefile.maint PATCHLEVEL PGPKEYS PORTING README README.1ST README.exp \ diff --git a/meta-oe/recipes-extended/gnuplot/gnuplot.inc b/meta-oe/recipes-extended/gnuplot/gnuplot.inc index 69bc74b..d8d9a5f 100644 --- a/meta-oe/recipes-extended/gnuplot/gnuplot.inc +++ b/meta-oe/recipes-extended/gnuplot/gnuplot.inc @@ -17,7 +17,7 @@ PACKAGECONFIG[cairo] = "--with-cairo,--without-cairo,cairo pango" PACKAGECONFIG[lua] = "--with-lua,--without-lua,lua" EXTRA_OECONF = "--with-readline=${STAGING_LIBDIR}/.. \ ---without-lisp-files \ +--without-qt \ This would be more universal in a PACKAGECONFIG e.g. PACKAGECONFIG[qt4] = "--with-qt,--without-qt,qt4-x11-free" The problem is that it fails to compile with qt4. So I just disabled it. Regards, Chen Qi --without-tutorial \ --disable-wxwidgets" diff --git a/meta-oe/recipes-extended/gnuplot/gnuplot/lua-loadlibs-configure-in-fix.patch b/meta-oe/recipes-extended/gnuplot/gnuplot/lua-loadlibs- configure-in-fix.patch new file mode 100644 index 000..23f2cd2 --- /dev/null +++ b/meta-oe/recipes-extended/gnuplot/gnuplot/lua-loadlibs- configure-in-fix.patch @@ -0,0 +1,16 @@ +Index: gnuplot-4.6.5/configure.in +=== +--- gnuplot-4.6.5.orig/configure.in gnuplot-4.6.5/configure.in +@@ -690,6 +690,11 @@ if test "${with_lua}" = yes ; then + fi + + if test "$with_lua" != no; then ++dnl check for dlopen/dl to fix loadlibs link failure ++AC_CHECK_FUNC([dlopen], [], ++ AC_CHECK_LIB([dl], [dlopen], DLOPEN_LIBS="-ldl")) ++AC_SUBST(DLOPEN_LIBS) ++LUA_LIBS="$LUA_LIBS $DLOPEN_LIBS" + TERMLIBS="$TERMLIBS $LUA_LIBS" + CPPFLAGS="$CPPFLAGS $LUA_CFLAGS" + else diff --git a/meta-oe/recipes-extended/gnuplot/gnuplot/subdirs.patch b/meta-oe/recipes-extended/gnuplot/gnuplot/subdirs.patch new file mode 100644 index 000..8c7d1f0 ---
Re: [oe] [meta-oe][PATCH V2] gnuplot: upgrade to 5.0.5
and use -M option to let git detect moves vs copies to make it easier to review recipes add [diff] renames = copies to ~/.gitconfig On Thu, Nov 3, 2016 at 7:23 PM, Tim Orlingwrote: > I would rather see a PACKAGECONFIG for qt5 > > On Tue, Nov 1, 2016 at 11:30 PM, Chen Qi wrote: > >> Add '--disable-qt' to EXTRA_OECONF to fix do_compile failure. >> >> Signed-off-by: Chen Qi >> --- >> .../gnuplot-4.6.5/lua-loadlibs-configure-in-fix.patch| 16 >> >> .../recipes-extended/gnuplot/gnuplot-4.6.5/subdirs.patch | 11 --- >> meta-oe/recipes-extended/gnuplot/gnuplot.inc | 2 +- >> .../gnuplot/gnuplot/lua-loadlibs-configure-in-fix.patch | 16 >> >> meta-oe/recipes-extended/gnuplot/gnuplot/subdirs.patch | 11 +++ >> meta-oe/recipes-extended/gnuplot/gnuplot_4.6.5.bb| 14 >> -- >> meta-oe/recipes-extended/gnuplot/gnuplot_5.0.5.bb| 14 >> ++ >> 7 files changed, 42 insertions(+), 42 deletions(-) >> delete mode 100644 meta-oe/recipes-extended/gnuplot/gnuplot-4.6.5/lua- >> loadlibs-configure-in-fix.patch >> delete mode 100644 meta-oe/recipes-extended/ >> gnuplot/gnuplot-4.6.5/subdirs.patch >> create mode 100644 meta-oe/recipes-extended/gnuplot/gnuplot/lua-loadlibs- >> configure-in-fix.patch >> create mode 100644 meta-oe/recipes-extended/gnuplot/gnuplot/subdirs.patch >> delete mode 100644 meta-oe/recipes-extended/gnuplot/gnuplot_4.6.5.bb >> create mode 100644 meta-oe/recipes-extended/gnuplot/gnuplot_5.0.5.bb >> >> diff --git a/meta-oe/recipes-extended/gnuplot/gnuplot-4.6.5/lua- >> loadlibs-configure-in-fix.patch b/meta-oe/recipes-extended/ >> gnuplot/gnuplot-4.6.5/lua-loadlibs-configure-in-fix.patch >> deleted file mode 100644 >> index 23f2cd2..000 >> --- a/meta-oe/recipes-extended/gnuplot/gnuplot-4.6.5/lua- >> loadlibs-configure-in-fix.patch >> +++ /dev/null >> @@ -1,16 +0,0 @@ >> -Index: gnuplot-4.6.5/configure.in >> -=== >> gnuplot-4.6.5.orig/configure.in >> -+++ gnuplot-4.6.5/configure.in >> -@@ -690,6 +690,11 @@ if test "${with_lua}" = yes ; then >> - fi >> - >> - if test "$with_lua" != no; then >> -+dnl check for dlopen/dl to fix loadlibs link failure >> -+AC_CHECK_FUNC([dlopen], [], >> -+ AC_CHECK_LIB([dl], [dlopen], DLOPEN_LIBS="-ldl")) >> -+AC_SUBST(DLOPEN_LIBS) >> -+LUA_LIBS="$LUA_LIBS $DLOPEN_LIBS" >> - TERMLIBS="$TERMLIBS $LUA_LIBS" >> - CPPFLAGS="$CPPFLAGS $LUA_CFLAGS" >> - else >> diff --git a/meta-oe/recipes-extended/gnuplot/gnuplot-4.6.5/subdirs.patch >> b/meta-oe/recipes-extended/gnuplot/gnuplot-4.6.5/subdirs.patch >> deleted file mode 100644 >> index 8c7d1f0..000 >> --- a/meta-oe/recipes-extended/gnuplot/gnuplot-4.6.5/subdirs.patch >> +++ /dev/null >> @@ -1,11 +0,0 @@ >> /tmp/Makefile.am 2007-08-23 13:10:15.560659023 +0200 >> -+++ gnuplot-4.2.0/Makefile.am 2007-08-23 13:10:34.961764629 +0200 >> -@@ -1,7 +1,7 @@ >> - ## Process this file with automake to produce Makefile.in -*-Makefile-*- >> - AUTOMAKE_OPTIONS = foreign 1.2h >> - >> --SUBDIRS = config m4 term src docs $(LISPDIR) man demo tutorial share >> -+SUBDIRS = config m4 term src $(LISPDIR) man share >> - >> - EXTRA_DIST = BUGS CodeStyle Copyright FAQ GNUmakefile INSTALL >> INSTALL.gnu \ >> - Makefile.maint PATCHLEVEL PGPKEYS PORTING README README.1ST README.exp \ >> diff --git a/meta-oe/recipes-extended/gnuplot/gnuplot.inc >> b/meta-oe/recipes-extended/gnuplot/gnuplot.inc >> index 69bc74b..d8d9a5f 100644 >> --- a/meta-oe/recipes-extended/gnuplot/gnuplot.inc >> +++ b/meta-oe/recipes-extended/gnuplot/gnuplot.inc >> @@ -17,7 +17,7 @@ PACKAGECONFIG[cairo] = "--with-cairo,--without-cairo,cairo >> pango" >> PACKAGECONFIG[lua] = "--with-lua,--without-lua,lua" >> >> EXTRA_OECONF = "--with-readline=${STAGING_LIBDIR}/.. \ >> ---without-lisp-files \ >> +--without-qt \ >> > > This would be more universal in a PACKAGECONFIG > e.g. PACKAGECONFIG[qt4] = "--with-qt,--without-qt,qt4-x11-free" > > >> --without-tutorial \ >> --disable-wxwidgets" >> >> diff --git >> a/meta-oe/recipes-extended/gnuplot/gnuplot/lua-loadlibs-configure-in-fix.patch >> b/meta-oe/recipes-extended/gnuplot/gnuplot/lua-loadlibs- >> configure-in-fix.patch >> new file mode 100644 >> index 000..23f2cd2 >> --- /dev/null >> +++ b/meta-oe/recipes-extended/gnuplot/gnuplot/lua-loadlibs- >> configure-in-fix.patch >> @@ -0,0 +1,16 @@ >> +Index: gnuplot-4.6.5/configure.in >> +=== >> +--- gnuplot-4.6.5.orig/configure.in >> gnuplot-4.6.5/configure.in >> +@@ -690,6 +690,11 @@ if test "${with_lua}" = yes ; then >> + fi >> + >> + if test "$with_lua" != no; then >> ++dnl check for dlopen/dl to fix loadlibs link failure >> ++AC_CHECK_FUNC([dlopen], [],
Re: [oe] [meta-oe][PATCH] mariadb: use faster download URL
On Thu, Nov 3, 2016 at 7:08 PM, Tim Orlingwrote: > The current URL takes about 2 hours to download. how fast is new one, do they keep the tarballs there for long time ? or shove them into archive after new release is out > > Signed-off-by: Tim Orling > --- > meta-oe/recipes-support/mysql/mariadb.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta-oe/recipes-support/mysql/mariadb.inc > b/meta-oe/recipes-support/mysql/mariadb.inc > index edef40b..689b8ab 100644 > --- a/meta-oe/recipes-support/mysql/mariadb.inc > +++ b/meta-oe/recipes-support/mysql/mariadb.inc > @@ -4,7 +4,7 @@ SECTION = "libs" > LICENSE = "GPLv2" > LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" > > -SRC_URI = > "http://archive.mariadb.org/mariadb-${PV}/source/mariadb-${PV}.tar.gz \ > +SRC_URI = > "http://downloads.mariadb.com/MariaDB/mariadb-${PV}/source/mariadb-${PV}.tar.gz > \ > file://fix-cmake-module-path.patch \ > file://remove-bad-path.patch \ > file://fix-mysqlclient-r-version.patch \ > -- > 2.7.4 > > -- > ___ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-devel -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][PATCH V2] gnuplot: upgrade to 5.0.5
I would rather see a PACKAGECONFIG for qt5 On Tue, Nov 1, 2016 at 11:30 PM, Chen Qiwrote: > Add '--disable-qt' to EXTRA_OECONF to fix do_compile failure. > > Signed-off-by: Chen Qi > --- > .../gnuplot-4.6.5/lua-loadlibs-configure-in-fix.patch| 16 > > .../recipes-extended/gnuplot/gnuplot-4.6.5/subdirs.patch | 11 --- > meta-oe/recipes-extended/gnuplot/gnuplot.inc | 2 +- > .../gnuplot/gnuplot/lua-loadlibs-configure-in-fix.patch | 16 > > meta-oe/recipes-extended/gnuplot/gnuplot/subdirs.patch | 11 +++ > meta-oe/recipes-extended/gnuplot/gnuplot_4.6.5.bb| 14 > -- > meta-oe/recipes-extended/gnuplot/gnuplot_5.0.5.bb| 14 > ++ > 7 files changed, 42 insertions(+), 42 deletions(-) > delete mode 100644 meta-oe/recipes-extended/gnuplot/gnuplot-4.6.5/lua- > loadlibs-configure-in-fix.patch > delete mode 100644 meta-oe/recipes-extended/ > gnuplot/gnuplot-4.6.5/subdirs.patch > create mode 100644 meta-oe/recipes-extended/gnuplot/gnuplot/lua-loadlibs- > configure-in-fix.patch > create mode 100644 meta-oe/recipes-extended/gnuplot/gnuplot/subdirs.patch > delete mode 100644 meta-oe/recipes-extended/gnuplot/gnuplot_4.6.5.bb > create mode 100644 meta-oe/recipes-extended/gnuplot/gnuplot_5.0.5.bb > > diff --git a/meta-oe/recipes-extended/gnuplot/gnuplot-4.6.5/lua- > loadlibs-configure-in-fix.patch b/meta-oe/recipes-extended/ > gnuplot/gnuplot-4.6.5/lua-loadlibs-configure-in-fix.patch > deleted file mode 100644 > index 23f2cd2..000 > --- a/meta-oe/recipes-extended/gnuplot/gnuplot-4.6.5/lua- > loadlibs-configure-in-fix.patch > +++ /dev/null > @@ -1,16 +0,0 @@ > -Index: gnuplot-4.6.5/configure.in > -=== > gnuplot-4.6.5.orig/configure.in > -+++ gnuplot-4.6.5/configure.in > -@@ -690,6 +690,11 @@ if test "${with_lua}" = yes ; then > - fi > - > - if test "$with_lua" != no; then > -+dnl check for dlopen/dl to fix loadlibs link failure > -+AC_CHECK_FUNC([dlopen], [], > -+ AC_CHECK_LIB([dl], [dlopen], DLOPEN_LIBS="-ldl")) > -+AC_SUBST(DLOPEN_LIBS) > -+LUA_LIBS="$LUA_LIBS $DLOPEN_LIBS" > - TERMLIBS="$TERMLIBS $LUA_LIBS" > - CPPFLAGS="$CPPFLAGS $LUA_CFLAGS" > - else > diff --git a/meta-oe/recipes-extended/gnuplot/gnuplot-4.6.5/subdirs.patch > b/meta-oe/recipes-extended/gnuplot/gnuplot-4.6.5/subdirs.patch > deleted file mode 100644 > index 8c7d1f0..000 > --- a/meta-oe/recipes-extended/gnuplot/gnuplot-4.6.5/subdirs.patch > +++ /dev/null > @@ -1,11 +0,0 @@ > /tmp/Makefile.am 2007-08-23 13:10:15.560659023 +0200 > -+++ gnuplot-4.2.0/Makefile.am 2007-08-23 13:10:34.961764629 +0200 > -@@ -1,7 +1,7 @@ > - ## Process this file with automake to produce Makefile.in -*-Makefile-*- > - AUTOMAKE_OPTIONS = foreign 1.2h > - > --SUBDIRS = config m4 term src docs $(LISPDIR) man demo tutorial share > -+SUBDIRS = config m4 term src $(LISPDIR) man share > - > - EXTRA_DIST = BUGS CodeStyle Copyright FAQ GNUmakefile INSTALL > INSTALL.gnu \ > - Makefile.maint PATCHLEVEL PGPKEYS PORTING README README.1ST README.exp \ > diff --git a/meta-oe/recipes-extended/gnuplot/gnuplot.inc > b/meta-oe/recipes-extended/gnuplot/gnuplot.inc > index 69bc74b..d8d9a5f 100644 > --- a/meta-oe/recipes-extended/gnuplot/gnuplot.inc > +++ b/meta-oe/recipes-extended/gnuplot/gnuplot.inc > @@ -17,7 +17,7 @@ PACKAGECONFIG[cairo] = "--with-cairo,--without-cairo,cairo > pango" > PACKAGECONFIG[lua] = "--with-lua,--without-lua,lua" > > EXTRA_OECONF = "--with-readline=${STAGING_LIBDIR}/.. \ > ---without-lisp-files \ > +--without-qt \ > This would be more universal in a PACKAGECONFIG e.g. PACKAGECONFIG[qt4] = "--with-qt,--without-qt,qt4-x11-free" > --without-tutorial \ > --disable-wxwidgets" > > diff --git > a/meta-oe/recipes-extended/gnuplot/gnuplot/lua-loadlibs-configure-in-fix.patch > b/meta-oe/recipes-extended/gnuplot/gnuplot/lua-loadlibs- > configure-in-fix.patch > new file mode 100644 > index 000..23f2cd2 > --- /dev/null > +++ b/meta-oe/recipes-extended/gnuplot/gnuplot/lua-loadlibs- > configure-in-fix.patch > @@ -0,0 +1,16 @@ > +Index: gnuplot-4.6.5/configure.in > +=== > +--- gnuplot-4.6.5.orig/configure.in > gnuplot-4.6.5/configure.in > +@@ -690,6 +690,11 @@ if test "${with_lua}" = yes ; then > + fi > + > + if test "$with_lua" != no; then > ++dnl check for dlopen/dl to fix loadlibs link failure > ++AC_CHECK_FUNC([dlopen], [], > ++ AC_CHECK_LIB([dl], [dlopen], DLOPEN_LIBS="-ldl")) > ++AC_SUBST(DLOPEN_LIBS) > ++LUA_LIBS="$LUA_LIBS $DLOPEN_LIBS" > + TERMLIBS="$TERMLIBS $LUA_LIBS" > + CPPFLAGS="$CPPFLAGS $LUA_CFLAGS" > + else > diff --git a/meta-oe/recipes-extended/gnuplot/gnuplot/subdirs.patch >
[oe] [meta-oe][PATCH] mariadb: use faster download URL
The current URL takes about 2 hours to download. Signed-off-by: Tim Orling--- meta-oe/recipes-support/mysql/mariadb.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-support/mysql/mariadb.inc b/meta-oe/recipes-support/mysql/mariadb.inc index edef40b..689b8ab 100644 --- a/meta-oe/recipes-support/mysql/mariadb.inc +++ b/meta-oe/recipes-support/mysql/mariadb.inc @@ -4,7 +4,7 @@ SECTION = "libs" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" -SRC_URI = "http://archive.mariadb.org/mariadb-${PV}/source/mariadb-${PV}.tar.gz \ +SRC_URI = "http://downloads.mariadb.com/MariaDB/mariadb-${PV}/source/mariadb-${PV}.tar.gz \ file://fix-cmake-module-path.patch \ file://remove-bad-path.patch \ file://fix-mysqlclient-r-version.patch \ -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-multimedia][PATCH] kodi: Fix build with pic on x86_64
Upgrade 17.x to latest on master Signed-off-by: Khem Raj--- .../0012-Always-compile-libcpluff-as-PIC.patch | 30 ++ .../0005-Always-compile-libcpluff-as-PIC.patch | 30 ++ .../recipes-mediacenter/kodi/kodi_16.bb| 1 + .../recipes-mediacenter/kodi/kodi_17.bb| 3 ++- 4 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 meta-multimedia/recipes-mediacenter/kodi/kodi-16/0012-Always-compile-libcpluff-as-PIC.patch create mode 100644 meta-multimedia/recipes-mediacenter/kodi/kodi-17/0005-Always-compile-libcpluff-as-PIC.patch diff --git a/meta-multimedia/recipes-mediacenter/kodi/kodi-16/0012-Always-compile-libcpluff-as-PIC.patch b/meta-multimedia/recipes-mediacenter/kodi/kodi-16/0012-Always-compile-libcpluff-as-PIC.patch new file mode 100644 index 000..f4b22cd --- /dev/null +++ b/meta-multimedia/recipes-mediacenter/kodi/kodi-16/0012-Always-compile-libcpluff-as-PIC.patch @@ -0,0 +1,30 @@ +From 1fa9026dbcaaf674aedc9734034869934845812a Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 3 Nov 2016 13:10:00 -0700 +Subject: [PATCH] Always compile libcpluff as PIC + +Fixes errors e.g. + +ld: lib/cpluff/libcpluff/.libs/libcpluff.a(pcontrol.o): relocation R_X86_64_PC32 against symbol `cp_stop_plugins' can not be used when making a shared object; recompile with -fPIC + +Signed-off-by: Khem Raj +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 5d47a4a..cd59129 100644 +--- a/configure.ac b/configure.ac +@@ -2636,7 +2636,7 @@ XB_CONFIG_MODULE([lib/cpluff], [ + --prefix="${prefix}" --includedir="${includedir}" --libdir="${libdir}" --datadir="${datadir}" \ + --host=$host_alias \ + --build=$build_alias \ +---target=$target_alias CFLAGS="$CFLAGS" CC="$CC" CXX="$CXX" LDFLAGS="$LDFLAGS" LIBS="" ++--target=$target_alias --with-pic=yes CFLAGS="$CFLAGS" CC="$CC" CXX="$CXX" LDFLAGS="$LDFLAGS" LIBS="" + #LDFLAGS="$LDFLAGS -Wl,-read_only_relocs,suppress" + ], [0]) + +-- +2.10.2 + diff --git a/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0005-Always-compile-libcpluff-as-PIC.patch b/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0005-Always-compile-libcpluff-as-PIC.patch new file mode 100644 index 000..f513334 --- /dev/null +++ b/meta-multimedia/recipes-mediacenter/kodi/kodi-17/0005-Always-compile-libcpluff-as-PIC.patch @@ -0,0 +1,30 @@ +From 603e8925a8b1609d483d866346a35fefbc66cfca Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 3 Nov 2016 13:10:00 -0700 +Subject: [PATCH 5/5] Always compile libcpluff as PIC + +Fixes errors e.g. + +ld: lib/cpluff/libcpluff/.libs/libcpluff.a(pcontrol.o): relocation R_X86_64_PC32 against symbol `cp_stop_plugins' can not be used when making a shared object; recompile with -fPIC + +Signed-off-by: Khem Raj +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index b210b73..52d5f11 100644 +--- a/configure.ac b/configure.ac +@@ -2385,7 +2385,7 @@ XB_CONFIG_MODULE([lib/cpluff], [ + --prefix="${prefix}" --includedir="${includedir}" --libdir="${libdir}" --datadir="${datadir}" \ + --host=$host_alias \ + --build=$build_alias \ +---target=$target_alias CFLAGS="$CFLAGS" CC="$CC" CXX="$CXX" LDFLAGS="$LDFLAGS" LIBS="" ++--target=$target_alias --with-pic=yes CFLAGS="$CFLAGS" CC="$CC" CXX="$CXX" LDFLAGS="$LDFLAGS" LIBS="" + #LDFLAGS="$LDFLAGS -Wl,-read_only_relocs,suppress" + ], [0]) + +-- +2.10.2 + diff --git a/meta-multimedia/recipes-mediacenter/kodi/kodi_16.bb b/meta-multimedia/recipes-mediacenter/kodi/kodi_16.bb index 38a53ee..02216fc 100644 --- a/meta-multimedia/recipes-mediacenter/kodi/kodi_16.bb +++ b/meta-multimedia/recipes-mediacenter/kodi/kodi_16.bb @@ -76,6 +76,7 @@ SRC_URI = "git://github.com/xbmc/xbmc.git;branch=Jarvis \ file://0009-lib-cximage-6.0-fix-compilation-with-gcc6.patch \ file://0010-curl-support-version-7.5.0-and-upwards.patch \ file://0011-xbmc_pvr_types.h-Fix-compilation-with-gcc6.patch \ + file://0012-Always-compile-libcpluff-as-PIC.patch \ " inherit autotools-brokensep gettext pythonnative diff --git a/meta-multimedia/recipes-mediacenter/kodi/kodi_17.bb b/meta-multimedia/recipes-mediacenter/kodi/kodi_17.bb index bdf077a..22b23c6 100644 --- a/meta-multimedia/recipes-mediacenter/kodi/kodi_17.bb +++ b/meta-multimedia/recipes-mediacenter/kodi/kodi_17.bb @@ -63,13 +63,14 @@ DEPENDS = " \ PROVIDES = "xbmc" -SRCREV = "32c7788e7cce711be5b7f3893c8279658268" +SRCREV = "7f6abd1dd6d1aefcb4303083f34aaa90a8df9fce" PV = "17.0+gitr${SRCPV}" SRC_URI = "git://github.com/xbmc/xbmc.git;branch=master \ file://0001-configure-don-t-try-to-run-stuff-to-find-tinyxml.patch \
Re: [oe] [meta-networking][V2]PATCH] wireshark: install missing header files
On Tue, Nov 01, 2016 at 07:04:18PM +0100, Martin Jansa wrote: > On Sun, Oct 30, 2016 at 08:57:46PM -0700, Armin Kuster wrote: > > Wireshark does not install header files. add install_append > > Remove ALLOW_EMPTY & INHIBIT_PACKAGE_DEBUG_SPLIT, they are no longer needed > > > > V2] > > add missing libssh and sbc config > > > > Signed-off-by: Armin Kuster> > --- > > .../recipes-support/wireshark/wireshark_2.2.1.bb | 28 > > ++ > > 1 file changed, 24 insertions(+), 4 deletions(-) > > > > diff --git a/meta-networking/recipes-support/wireshark/wireshark_2.2.1.bb > > b/meta-networking/recipes-support/wireshark/wireshark_2.2.1.bb > > index a5fb7f6..4e23bae 100644 > > --- a/meta-networking/recipes-support/wireshark/wireshark_2.2.1.bb > > +++ b/meta-networking/recipes-support/wireshark/wireshark_2.2.1.bb > > @@ -4,7 +4,7 @@ SECTION = "net" > > LICENSE = "GPL-2.0" > > LIC_FILES_CHKSUM = > > "file://README.linux;md5=631e077455b7972172eb149195e065b0" > > > > -DEPENDS = "pcre expat glib-2.0 sbc" > > +DEPENDS = "pcre expat glib-2.0" > > > > SRC_URI = "https://2.na.dl.wireshark.org/src/all-versions/${BP}.tar.bz2; > > > > @@ -37,13 +37,33 @@ PACKAGECONFIG[lua] = "--with-lua=yes, --with-lua=no, > > lua" > > PACKAGECONFIG[zlib] = "--with-zlib=yes, --with-zlib=no, zlib" > > PACKAGECONFIG[geoip] = "--with-geoip=yes, --with-geoip=no, geoip" > > PACKAGECONFIG[plugins] = "--with-plugins=yes, --with-plugins=no" > > +PACKAGECONFIG[sbc] = "--with-sbc=yes, --with-sbc=no, sbc" > > + > > +PACKAGECONFIG[libssh] = "--with-ssh=yes, --with-ssh=no, libssh2" > > + > > > > # these next two options require addional layers > > PACKAGECONFIG[c-ares] = "--with-c-ares=yes, --with-c-ares=no, c-ares" > > > > EXTRA_OECONF += "--with-qt=no --enable-tshark --enable-rawshark" > > > > -ALLOW_EMPTY_${PN} = "1" > > -INHIBIT_PACKAGE_DEBUG_SPLIT = "1" > > +# Currently wireshark does not install header files > > +do_install_append () { > > + > > + install -d ${D}/${includedir}/${BPN} > > + install -d ${D}/${includedir}/${BPN}/epan > > + install -d ${D}/${includedir}/${BPN}/epan/crypt > > + install -d ${D}/${includedir}/${BPN}/epan/dfilter > > + install -d ${D}/${includedir}/${BPN}/epan/dissectors > > + install -d ${D}/${includedir}/${BPN}/epan/ftypes > > + install -d ${D}/${includedir}/${BPN}/epan/wmem > > > > -FILES_${PN} += "${datadir}*" > > Doesn't this still cause many unpackaged files and QA errors as reported > earlier? It does and sbc issue is still there as well: wireshark-2.2.1: wireshark: Files/directories were installed but not shipped in any package: /usr/share/mime /usr/share/appdata /usr/share/icons /usr/share/mime/packages /usr/share/mime/packages/wireshark.xml /usr/share/appdata/wireshark.appdata.xml /usr/share/icons/hicolor /usr/share/icons/hicolor/16x16 /usr/share/icons/hicolor/24x24 /usr/share/icons/hicolor/32x32 /usr/share/icons/hicolor/48x48 /usr/share/icons/hicolor/64x64 /usr/share/icons/hicolor/128x128 /usr/share/icons/hicolor/256x256 /usr/share/icons/hicolor/scalable /usr/share/icons/hicolor/16x16/apps /usr/share/icons/hicolor/16x16/mimetypes /usr/share/icons/hicolor/16x16/apps/wireshark.png /usr/share/icons/hicolor/16x16/mimetypes/application-wireshark-doc.png /usr/share/icons/hicolor/24x24/apps /usr/share/icons/hicolor/24x24/mimetypes /usr/share/icons/hicolor/24x24/apps/wireshark.png /usr/share/icons/hicolor/24x24/mimetypes/application-wireshark-doc.png /usr/share/icons/hicolor/32x32/apps /usr/share/icons/hicolor/32x32/mimetypes /usr/share/icons/hicolor/32x32/apps/wireshark.png /usr/share/icons/hicolor/32x32/mimetypes/application-wireshark-doc.png /usr/share/icons/hicolor/48x48/apps /usr/share/icons/hicolor/48x48/mimetypes /usr/share/icons/hicolor/48x48/apps/wireshark.png /usr/share/icons/hicolor/48x48/mimetypes/application-wireshark-doc.png /usr/share/icons/hicolor/64x64/apps /usr/share/icons/hicolor/64x64/mimetypes /usr/share/icons/hicolor/64x64/apps/wireshark.png /usr/share/icons/hicolor/64x64/mimetypes/application-wireshark-doc.png /usr/share/icons/hicolor/128x128/apps /usr/share/icons/hicolor/128x128/mimetypes /usr/share/icons/hicolor/128x128/apps/wireshark.png /usr/share/icons/hicolor/128x128/mimetypes/application-wireshark-doc.png /usr/share/icons/hicolor/256x256/apps /usr/share/icons/hicolor/256x256/mimetypes /usr/share/icons/hicolor/256x256/apps/wireshark.png /usr/share/icons/hicolor/256x256/mimetypes/application-wireshark-doc.png /usr/share/icons/hicolor/scalable/apps /usr/share/icons/hicolor/scalable/apps/wireshark.svg Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. wireshark: 45 installed and not shipped files. [installed-vs-shipped] wireshark-2.2.1: wireshark rdepends on sbc, but it isn't a build dependency, missing sbc in DEPENDS or
[oe] [meta-networking][PATCH] tsock: Make use of LDFLAGS
Fix the QA warning: WARNING: tsocks-1.8beta5-r0 do_package_qa: QA Issue: No GNU_HASH in the elf binary: '/opt/build-intel-x86/tmp/work/core2-64-linux/tsocks/1.8beta5-r0/packages-split/tsocks/usr/lib64/libtsocks.so.1.8' [ldflags] Signed-off-by: Jason Wessel--- meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb b/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb index b3a9620..62d0411 100644 --- a/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb +++ b/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb @@ -21,3 +21,6 @@ S = "${WORKDIR}/tsocks-1.8" FILES_${PN} = "${libdir}/* ${bindir}/tsocks" FILES_${PN}-dev = "" INSANE_SKIP_${PN} = "dev-so" + +EXTRA_OEMAKE = "SHCC='${CC} -fPIC ${LDFLAGS}'" + -- 2.10.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][PATCH 1/2] krb5: Add -fPIC to compile flags
On Thu, 2016-11-03 at 10:33 -0700, Khem Raj wrote: > Fixes errors on x86_64 e.g. > errors.so: relocation R_X86_64_PC32 against symbol `k5_vset_error' can not > be used when making a shared object; recompile with -fPIC > > Signed-off-by: Khem Raj> --- > meta-oe/recipes-connectivity/krb5/krb5_1.13.6.bb | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/meta-oe/recipes-connectivity/krb5/krb5_1.13.6.bb b/meta- > oe/recipes-connectivity/krb5/krb5_1.13.6.bb > index e2d0594..06f7f90 100644 > --- a/meta-oe/recipes-connectivity/krb5/krb5_1.13.6.bb > +++ b/meta-oe/recipes-connectivity/krb5/krb5_1.13.6.bb > @@ -51,8 +51,8 @@ CACHED_CONFIGUREVARS += > "krb5_cv_attr_constructor_destructor=yes ac_cv_func_regc > ac_cv_printf_positional=yes > ac_cv_file__etc_environment=yes \ > ac_cv_file__etc_TIMEZONE=no" > > -CFLAGS_append = " -DDESTRUCTOR_ATTR_WORKS=1 -I${STAGING_INCDIR}/et" > -LDFLAGS_append = " -lpthread" > +CFLAGS_append = " -fPIC -DDESTRUCTOR_ATTR_WORKS=1 -I${STAGING_INCDIR}/et" > +LDFLAGS_append = " -pthread" Hm, it would be useful to add -pthread to CFLAGS as well in this case. That flag is doing more than just adding the library to the linker command line, see gcc -dumpspecs Cheers, Andre' > > FILES_${PN} += "${datadir}/gnats" > FILES_${PN}-doc += "${datadir}/examples" > -- > 2.10.2 > -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-multimedia][PATCH v3] streamripper: add v1.64.6
Signed-off-by: André Draszik--- ...build-these-are-foreign-automake-projects.patch | 49 ++ ...ld-don-t-ignore-CPPFLAGS-from-environment.patch | 30 + .../0003-ripstream-fix-compilation.patch | 42 +++ .../streamripper/streamripper_1.64.6.bb| 29 + 4 files changed, 150 insertions(+) create mode 100644 meta-multimedia/recipes-multimedia/streamripper/streamripper/0001-build-these-are-foreign-automake-projects.patch create mode 100644 meta-multimedia/recipes-multimedia/streamripper/streamripper/0002-build-don-t-ignore-CPPFLAGS-from-environment.patch create mode 100644 meta-multimedia/recipes-multimedia/streamripper/streamripper/0003-ripstream-fix-compilation.patch create mode 100644 meta-multimedia/recipes-multimedia/streamripper/streamripper_1.64.6.bb diff --git a/meta-multimedia/recipes-multimedia/streamripper/streamripper/0001-build-these-are-foreign-automake-projects.patch b/meta-multimedia/recipes-multimedia/streamripper/streamripper/0001-build-these-are-foreign-automake-projects.patch new file mode 100644 index 000..c0f4692 --- /dev/null +++ b/meta-multimedia/recipes-multimedia/streamripper/streamripper/0001-build-these-are-foreign-automake-projects.patch @@ -0,0 +1,49 @@ +From 4c7165b3fbc0e99e7cdd77031e8a001440d0629d Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andr=C3=A9=20Draszik?= +Date: Thu, 3 Nov 2016 20:53:21 + +Subject: [PATCH 1/3] build: these are 'foreign' automake projects +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +In order to prevent automake from complaining about missing + +files ChangeLog, AUTHORS, etc., use the 'foreign' automake +option to instruct it so. + +Upstream-Status: Inappropriate [no upstream activity for 7+ years] +Signed-off-by: André Draszik +--- + configure.ac| 2 +- + libmad-0.15.1b/configure.ac | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index b12d11f..96300d6 100644 +--- a/configure.ac b/configure.ac +@@ -11,7 +11,7 @@ dnl AC_CHECK_FUNC: defines a shell variable + + AC_PREREQ(2.59) + AC_INIT(streamripper,1.64.6) +-AM_INIT_AUTOMAKE ++AM_INIT_AUTOMAKE([foreign]) + + AC_CONFIG_HEADERS([lib/config.h]) + +diff --git a/libmad-0.15.1b/configure.ac b/libmad-0.15.1b/configure.ac +index 8fb35ee..ab116a6 100644 +--- a/libmad-0.15.1b/configure.ac b/libmad-0.15.1b/configure.ac +@@ -26,7 +26,7 @@ AC_PREREQ(2.53) + + AC_CONFIG_SRCDIR([decoder.h]) + +-AM_INIT_AUTOMAKE ++AM_INIT_AUTOMAKE([foreign]) + + AM_CONFIG_HEADER([config.h]) + +-- +2.10.1 + diff --git a/meta-multimedia/recipes-multimedia/streamripper/streamripper/0002-build-don-t-ignore-CPPFLAGS-from-environment.patch b/meta-multimedia/recipes-multimedia/streamripper/streamripper/0002-build-don-t-ignore-CPPFLAGS-from-environment.patch new file mode 100644 index 000..58473f6 --- /dev/null +++ b/meta-multimedia/recipes-multimedia/streamripper/streamripper/0002-build-don-t-ignore-CPPFLAGS-from-environment.patch @@ -0,0 +1,30 @@ +From 2fcf2b164e25c4b2523dea4b04094916e57ba19e Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andr=C3=A9=20Draszik?= +Date: Thu, 3 Nov 2016 20:53:26 + +Subject: [PATCH 2/3] build: don't ignore CPPFLAGS from environment +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Upstream-Status: Inappropriate [no upstream activity for 7+ years] +Signed-off-by: André Draszik +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 96300d6..1600c88 100644 +--- a/configure.ac b/configure.ac +@@ -56,7 +56,7 @@ AC_ARG_WITH(curses, + [ --with-curses(=XXX) compile curses front-end (XXX is curses (default), ncurses, ncursesw, pdcurses or slang)]) + + +-CPPFLAGS="-D__UNIX__" ++CPPFLAGS="$CPPFLAGS -D__UNIX__" + AC_SUBST(CPPFLAGS) + + +-- +2.10.1 + diff --git a/meta-multimedia/recipes-multimedia/streamripper/streamripper/0003-ripstream-fix-compilation.patch b/meta-multimedia/recipes-multimedia/streamripper/streamripper/0003-ripstream-fix-compilation.patch new file mode 100644 index 000..065254e --- /dev/null +++ b/meta-multimedia/recipes-multimedia/streamripper/streamripper/0003-ripstream-fix-compilation.patch @@ -0,0 +1,42 @@ +From 6d59b60ff5108357ad2c2951a97112e713ee5368 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andr=C3=A9=20Draszik?= +Date: Thu, 3 Nov 2016 20:53:32 + +Subject: [PATCH 3/3] ripstream: fix compilation +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +| ../../streamripper-1.64.6/lib/ripstream.c: In function 'write_id3v2_frame': +| ../../streamripper-1.64.6/lib/ripstream.c:717:5: error: unknown type name '__uint32_t' +| __uint32_t framesize = 0; +| ^~ +
[oe] [meta-multimedia][PATCH v2] streamripper: add v1.64.6
From: André DraszikChange-Id: I24322d5aecc2fa8b9dc0bdf40e825298085c9a62 Signed-off-by: André Draszik --- ...build-these-are-foreign-automake-projects.patch | 49 ++ ...ld-don-t-ignore-CPPFLAGS-from-environment.patch | 30 + .../0003-ripstream-fix-compilation.patch | 42 +++ .../streamripper/streamripper_1.64.6.bb| 29 + 4 files changed, 150 insertions(+) create mode 100644 meta-multimedia/recipes-multimedia/streamripper/streamripper/0001-build-these-are-foreign-automake-projects.patch create mode 100644 meta-multimedia/recipes-multimedia/streamripper/streamripper/0002-build-don-t-ignore-CPPFLAGS-from-environment.patch create mode 100644 meta-multimedia/recipes-multimedia/streamripper/streamripper/0003-ripstream-fix-compilation.patch create mode 100644 meta-multimedia/recipes-multimedia/streamripper/streamripper_1.64.6.bb diff --git a/meta-multimedia/recipes-multimedia/streamripper/streamripper/0001-build-these-are-foreign-automake-projects.patch b/meta-multimedia/recipes-multimedia/streamripper/streamripper/0001-build-these-are-foreign-automake-projects.patch new file mode 100644 index 000..c0f4692 --- /dev/null +++ b/meta-multimedia/recipes-multimedia/streamripper/streamripper/0001-build-these-are-foreign-automake-projects.patch @@ -0,0 +1,49 @@ +From 4c7165b3fbc0e99e7cdd77031e8a001440d0629d Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andr=C3=A9=20Draszik?= +Date: Thu, 3 Nov 2016 20:53:21 + +Subject: [PATCH 1/3] build: these are 'foreign' automake projects +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +In order to prevent automake from complaining about missing + +files ChangeLog, AUTHORS, etc., use the 'foreign' automake +option to instruct it so. + +Upstream-Status: Inappropriate [no upstream activity for 7+ years] +Signed-off-by: André Draszik +--- + configure.ac| 2 +- + libmad-0.15.1b/configure.ac | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index b12d11f..96300d6 100644 +--- a/configure.ac b/configure.ac +@@ -11,7 +11,7 @@ dnl AC_CHECK_FUNC: defines a shell variable + + AC_PREREQ(2.59) + AC_INIT(streamripper,1.64.6) +-AM_INIT_AUTOMAKE ++AM_INIT_AUTOMAKE([foreign]) + + AC_CONFIG_HEADERS([lib/config.h]) + +diff --git a/libmad-0.15.1b/configure.ac b/libmad-0.15.1b/configure.ac +index 8fb35ee..ab116a6 100644 +--- a/libmad-0.15.1b/configure.ac b/libmad-0.15.1b/configure.ac +@@ -26,7 +26,7 @@ AC_PREREQ(2.53) + + AC_CONFIG_SRCDIR([decoder.h]) + +-AM_INIT_AUTOMAKE ++AM_INIT_AUTOMAKE([foreign]) + + AM_CONFIG_HEADER([config.h]) + +-- +2.10.1 + diff --git a/meta-multimedia/recipes-multimedia/streamripper/streamripper/0002-build-don-t-ignore-CPPFLAGS-from-environment.patch b/meta-multimedia/recipes-multimedia/streamripper/streamripper/0002-build-don-t-ignore-CPPFLAGS-from-environment.patch new file mode 100644 index 000..58473f6 --- /dev/null +++ b/meta-multimedia/recipes-multimedia/streamripper/streamripper/0002-build-don-t-ignore-CPPFLAGS-from-environment.patch @@ -0,0 +1,30 @@ +From 2fcf2b164e25c4b2523dea4b04094916e57ba19e Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andr=C3=A9=20Draszik?= +Date: Thu, 3 Nov 2016 20:53:26 + +Subject: [PATCH 2/3] build: don't ignore CPPFLAGS from environment +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Upstream-Status: Inappropriate [no upstream activity for 7+ years] +Signed-off-by: André Draszik +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 96300d6..1600c88 100644 +--- a/configure.ac b/configure.ac +@@ -56,7 +56,7 @@ AC_ARG_WITH(curses, + [ --with-curses(=XXX) compile curses front-end (XXX is curses (default), ncurses, ncursesw, pdcurses or slang)]) + + +-CPPFLAGS="-D__UNIX__" ++CPPFLAGS="$CPPFLAGS -D__UNIX__" + AC_SUBST(CPPFLAGS) + + +-- +2.10.1 + diff --git a/meta-multimedia/recipes-multimedia/streamripper/streamripper/0003-ripstream-fix-compilation.patch b/meta-multimedia/recipes-multimedia/streamripper/streamripper/0003-ripstream-fix-compilation.patch new file mode 100644 index 000..065254e --- /dev/null +++ b/meta-multimedia/recipes-multimedia/streamripper/streamripper/0003-ripstream-fix-compilation.patch @@ -0,0 +1,42 @@ +From 6d59b60ff5108357ad2c2951a97112e713ee5368 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andr=C3=A9=20Draszik?= +Date: Thu, 3 Nov 2016 20:53:32 + +Subject: [PATCH 3/3] ripstream: fix compilation +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +| ../../streamripper-1.64.6/lib/ripstream.c: In function 'write_id3v2_frame': +|
[oe] [meta-multimedia][PATCH] streamripper: add v1.64.6
Signed-off-by: André Draszik--- .../0001-ripstream-fix-compilation.patch | 39 ++ .../streamripper/streamripper_1.64.6.bb| 35 +++ 2 files changed, 74 insertions(+) create mode 100644 meta-multimedia/recipes-multimedia/streamripper/streamripper/0001-ripstream-fix-compilation.patch create mode 100644 meta-multimedia/recipes-multimedia/streamripper/streamripper_1.64.6.bb diff --git a/meta-multimedia/recipes-multimedia/streamripper/streamripper/0001-ripstream-fix-compilation.patch b/meta-multimedia/recipes-multimedia/streamripper/streamripper/0001-ripstream-fix-compilation.patch new file mode 100644 index 000..ecb18ca --- /dev/null +++ b/meta-multimedia/recipes-multimedia/streamripper/streamripper/0001-ripstream-fix-compilation.patch @@ -0,0 +1,39 @@ +From 600ee578b5779f08538e62a0758d2c2843e868b8 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andr=C3=A9=20Draszik?= +Date: Fri, 28 Oct 2016 12:00:02 +0100 +Subject: [PATCH] ripstream: fix compilation + +| ../../streamripper-1.64.6/lib/ripstream.c: In function 'write_id3v2_frame': +| ../../streamripper-1.64.6/lib/ripstream.c:717:5: error: unknown type name '__uint32_t' +| __uint32_t framesize = 0; +| ^~ + +The already included srtypes.h does the right thing for all +platforms (I think). It certainly works well here. + +Upstream-Status: Inappropriate [no upstream activity for 7+ years] +Signed-off-by: André Draszik +--- + lib/ripstream.c | 6 +- + 1 file changed, 1 insertion(+), 5 deletions(-) + +diff --git a/lib/ripstream.c b/lib/ripstream.c +index c671e18..7f311c6 100644 +--- a/lib/ripstream.c b/lib/ripstream.c +@@ -713,11 +713,7 @@ write_id3v2_frame(RIP_MANAGER_INFO* rmi, char* tag_name, mchar* data, + int rc; + char bigbuf[HEADER_SIZE] = ""; + ID3V2frame id3v2frame; +-#ifndef WIN32 +-__uint32_t framesize = 0; +-#else +-unsigned long int framesize = 0; +-#endif ++uint32_t framesize = 0; + + memset(, '\000', sizeof(id3v2frame)); + strncpy(id3v2frame.id, tag_name, 4); +-- +2.10.1 + diff --git a/meta-multimedia/recipes-multimedia/streamripper/streamripper_1.64.6.bb b/meta-multimedia/recipes-multimedia/streamripper/streamripper_1.64.6.bb new file mode 100644 index 000..c470d3c --- /dev/null +++ b/meta-multimedia/recipes-multimedia/streamripper/streamripper_1.64.6.bb @@ -0,0 +1,35 @@ +SUMMARY = "download online streams into audio files" +DESCRIPTION = "This command-line tool can be used to record MPEG III \ +and OGG online radio-streams into track-separated audio files." +HOMEPAGE = "http://streamripper.sourceforge.net; +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" +DEPENDS = "glib-2.0 libmad libogg libvorbis" + +SRC_URI = "\ +${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.gz \ +file://0001-ripstream-fix-compilation.patch \ +" +SRC_URI[mdsum] = "a37a1a8b8f9228522196a122a1c2dd32" +SRC_URI[sha256sum] = "c1d75f2e9c7b38fd4695be66eff4533395248132f3cc61f375196403c4d8de42" + +inherit autotools pkgconfig + +EXTRA_OECONF += "--with-included-argv=yes --with-included-libmad=no" +EXTRA_OECONF += "\ +--with-ogg-includes=${STAGING_INCDIR} \ +--with-ogg-libraries=${STAGING_LIBDIR} \ +--with-vorbis-includes=${STAGING_INCDIR} \ +--with-vorbis-libraries=${STAGING_LIBDIR} \ +" + +do_configure_prepend() { +# autotools complain otherwise +mv ${S}/libmad-0.15.1b/CHANGES ${S}/libmad-0.15.1b/ChangeLog +touch ${S}/libmad-0.15.1b/NEWS ${S}/libmad-0.15.1b/AUTHORS +mv ${S}/CHANGES ${S}/ChangeLog +touch ${S}/NEWS ${S}/AUTHORS +} + +# the included argv library needs this +CFLAGS_append = " -DANSI_PROTOTYPES" -- 2.10.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe] p7zip recipe broken with rm_work
> On Nov 3, 2016, at 7:41 AM, Burton, Rosswrote: > > On 3 November 2016 at 11:03, Jan-Simon Möller wrote: > >># Create a shell script wrapper to execute next to 7z.so >>mv ${D}${bindir}/7z ${D}${bindir}/7z.bin >>echo "#! /bin/sh" > ${D}${bindir}/7z >>echo "exec ${D}${bindir}/7z.bin \"\$@\"" >> ${D}${bindir}/7z >>chmod 0755 ${D}${bindir}/7z >> } >> >> This wrapper breaks with "rm_work". Shouldn't it use the sysroot ? >> > > Yeah the script should just use ${bindir}, but why is there even a wrapper > script? While agreeing on converting the script into a patch, I fail to understand how it it different then some of other install calls in the same function > > Ross > -- > ___ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-devel signature.asc Description: Message signed with OpenPGP using GPGMail -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 7/8] libcec: Update to 3.1.0+
Depends on p8platform therefore add recipe for p8platform Signed-off-by: Koen KooiSigned-off-by: Khem Raj --- Changes from V1 -> V2: - Add x11 dependencies if x11 is in DISTRO_FEATURES meta-oe/recipes-extended/libcec/libcec_git.bb | 18 -- meta-oe/recipes-extended/p8platform/p8platform_git.bb | 18 ++ 2 files changed, 30 insertions(+), 6 deletions(-) create mode 100644 meta-oe/recipes-extended/p8platform/p8platform_git.bb diff --git a/meta-oe/recipes-extended/libcec/libcec_git.bb b/meta-oe/recipes-extended/libcec/libcec_git.bb index 0f2a64e..32ab4b9 100644 --- a/meta-oe/recipes-extended/libcec/libcec_git.bb +++ b/meta-oe/recipes-extended/libcec/libcec_git.bb @@ -2,18 +2,24 @@ SUMMARY = "USB CEC Adaptor communication Library" HOMEPAGE = "http://libcec.pulse-eight.com/; LICENSE = "GPLv2+" -LIC_FILES_CHKSUM = "file://COPYING;md5=5e8e16396992369f73f3d28875f846da" +LIC_FILES_CHKSUM = "file://COPYING;md5=e61fd86f9c947b430126181da2c6c715" -DEPENDS = "udev lockdev" +DEPENDS = "p8platform udev lockdev" -PV = "2.1.4" +DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libx11 libxrandr', '', d)}" -SRCREV = "81e38211724bc6e8bd7a60f484433053ed682635" -SRC_URI = "git://github.com/Pulse-Eight/libcec.git;branch=release" +PV = "3.1.0+gitr${SRCPV}" + +SRCREV = "6d68d21243aa92862592435e8396b4280ea46c3f" +SRC_URI = "git://github.com/Pulse-Eight/libcec.git" S = "${WORKDIR}/git" -inherit autotools pkgconfig +inherit cmake pkgconfig + +# Disable python wrapper, it doesn't have crosscompiles +EXTRA_OECMAKE = "-DCMAKE_INSTALL_LIBDIR=${libdir} -DCMAKE_INSTALL_LIBDIR_NOARCH=${libdir} \ + -DSKIP_PYTHON_WRAPPER=1" # cec-client and xbmc need the .so present to work :( FILES_${PN} += "${libdir}/*.so" diff --git a/meta-oe/recipes-extended/p8platform/p8platform_git.bb b/meta-oe/recipes-extended/p8platform/p8platform_git.bb new file mode 100644 index 000..f6347c2 --- /dev/null +++ b/meta-oe/recipes-extended/p8platform/p8platform_git.bb @@ -0,0 +1,18 @@ +SUMMARY = "Platform support library used by libCEC and binary add-ons for Kodi" +HOMEPAGE = "http://libcec.pulse-eight.com/; + +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://src/os.h;md5=752555fa94e82005d45fd201fee5bd33" + +PV = "2.1.0" + +SRC_URI = "git://github.com/Pulse-Eight/platform.git" +SRCREV = "d7bceb64541cb046421cbcd4c98d91e9bf24822f" + +S = "${WORKDIR}/git" + +inherit cmake pkgconfig + +EXTRA_OECMAKE += "-DCMAKE_INSTALL_LIBDIR=${libdir} -DCMAKE_INSTALL_LIBDIR_NOARCH=${libdir}" + +FILES_${PN}-dev += "${libdir}/p8-platform" -- 2.10.2 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 2/2] Disable PIE for libvdpau
Signed-off-by: Khem Raj--- meta-oe/conf/distro/include/meta_oe_security_flags.inc | 5 + 1 file changed, 5 insertions(+) diff --git a/meta-oe/conf/distro/include/meta_oe_security_flags.inc b/meta-oe/conf/distro/include/meta_oe_security_flags.inc index 2559948..e57cc5b 100644 --- a/meta-oe/conf/distro/include/meta_oe_security_flags.inc +++ b/meta-oe/conf/distro/include/meta_oe_security_flags.inc @@ -12,3 +12,8 @@ SECURITY_CFLAGS_pn-cpufrequtils = "${SECURITY_NO_PIE_CFLAGS}" SECURITY_CFLAGS_pn-libcec = "${SECURITY_NO_PIE_CFLAGS}" SECURITY_CFLAGS_pn-libmodplug = "${SECURITY_NO_PIE_CFLAGS}" SECURITY_CFLAGS_pn-libcdio = "${SECURITY_NO_PIE_CFLAGS}" + +#| /mnt/b/build/tmp-glibc/sysroots/intel-corei7-64/usr/lib/libc_nonshared.a(elf-init.oS): In function `__libc_csu_init': +#| /usr/src/debug/glibc/2.24-r0/git/csu/elf-init.c:86: undefined reference to `__init_array_start' + +SECURITY_CFLAGS_pn-libvdpau = "${SECURITY_NO_PIE_CFLAGS}" -- 2.10.2 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 1/2] krb5: Add -fPIC to compile flags
Fixes errors on x86_64 e.g. errors.so: relocation R_X86_64_PC32 against symbol `k5_vset_error' can not be used when making a shared object; recompile with -fPIC Signed-off-by: Khem Raj--- meta-oe/recipes-connectivity/krb5/krb5_1.13.6.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-oe/recipes-connectivity/krb5/krb5_1.13.6.bb b/meta-oe/recipes-connectivity/krb5/krb5_1.13.6.bb index e2d0594..06f7f90 100644 --- a/meta-oe/recipes-connectivity/krb5/krb5_1.13.6.bb +++ b/meta-oe/recipes-connectivity/krb5/krb5_1.13.6.bb @@ -51,8 +51,8 @@ CACHED_CONFIGUREVARS += "krb5_cv_attr_constructor_destructor=yes ac_cv_func_regc ac_cv_printf_positional=yes ac_cv_file__etc_environment=yes \ ac_cv_file__etc_TIMEZONE=no" -CFLAGS_append = " -DDESTRUCTOR_ATTR_WORKS=1 -I${STAGING_INCDIR}/et" -LDFLAGS_append = " -lpthread" +CFLAGS_append = " -fPIC -DDESTRUCTOR_ATTR_WORKS=1 -I${STAGING_INCDIR}/et" +LDFLAGS_append = " -pthread" FILES_${PN} += "${datadir}/gnats" FILES_${PN}-doc += "${datadir}/examples" -- 2.10.2 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][krogoth][PATCH] pcsc-lite: Seperate GPLV3 portions from BSD
On 10/25/2016 11:43 AM, Davis, Michael wrote: > From: "Davis, Michael"> > GPLV3 and BSD portions were originally placed in the same package. > The GPLv3 portion has been seperated into pcsc-lite-spy and > pcsc-lite-spy-dev so the package can be used with GPLv3 blacklisted. > > Signed-off-by: Martin Jansa > (cherry picked from commit 54c7e784c7689d8cff4173db716bb7913c65315f) > Signed-off-by: Michael Davis merged to staging. Armin > --- > .../recipes-support/pcsc-lite/pcsc-lite_1.8.13.bb | 24 > ++ > 1 file changed, 20 insertions(+), 4 deletions(-) > > diff --git a/meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.8.13.bb > b/meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.8.13.bb > index cc72549..0d2cb33 100644 > --- a/meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.8.13.bb > +++ b/meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.8.13.bb > @@ -1,7 +1,13 @@ > SUMMARY = "PC/SC Lite smart card framework and applications" > HOMEPAGE = "http://pcsclite.alioth.debian.org/; > LICENSE = "BSD & GPLv3+" > -LICENSE_${PN}-dev = "GPLv3+" > +LICENSE_${PN} = "BSD" > +LICENSE_${PN}-lib = "BSD" > +LICENSE_${PN}-doc = "BSD" > +LICENSE_${PN}-dev = "BSD" > +LICENSE_${PN}-dbg = "BSD & GPLv3+" > +LICENSE_${PN}-spy = "GPLv3+" > +LICENSE_${PN}-spy-dev = "GPLv3+" > LIC_FILES_CHKSUM = "file://COPYING;md5=bcfbd85230ac3c586fb294c8b627cf32" > DEPENDS = "udev" > > @@ -20,14 +26,24 @@ EXTRA_OECONF = " \ > > S = "${WORKDIR}/pcsc-lite-${PV}" > > -PACKAGES =+ "${PN}-lib" > +PACKAGES = "${PN} ${PN}-dbg ${PN}-dev ${PN}-lib ${PN}-doc ${PN}-spy > ${PN}-spy-dev" > > RRECOMMENDS_${PN} = "ccid" > > -FILES_${PN}-lib = "${libdir}/lib*${SOLIBS}" > +FILES_${PN} = "${sbindir}/pcscd" > +FILES_${PN}-lib = "${libdir}/libpcsclite*${SOLIBS}" > +FILES_${PN}-dev = "${includedir} \ > + ${libdir}/pkgconfig \ > + ${libdir}/libpcsclite.la \ > + ${libdir}/libpcsclite.so" > + > +FILES_${PN}-spy = "${bindir}/pcsc-spy \ > + ${libdir}/libpcscspy*${SOLIBS}" > +FILES_${PN}-spy-dev = "${libdir}/libpcscspy.la \ > + ${libdir}/libpcscspy.so " > > RPROVIDES_${PN} += "${PN}-systemd" > RREPLACES_${PN} += "${PN}-systemd" > RCONFLICTS_${PN} += "${PN}-systemd" > SYSTEMD_SERVICE_${PN} = "pcscd.socket" > -RDEPENDS_${PN} +="python" > +RDEPENDS_${PN}-spy +="python" > -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][krogoth][PATCH] syslog-ng: expand service file @variables@ earlier
On 10/27/2016 10:02 AM, Denys Dmytriyenko wrote: > From: Ian Ray> > Move variable expansion of @SBINDIR@, @LOCALSTATEDIR@, and @BASEBINDIR@ > earlier during install, to before the systemd service file is installed > by an automake rule. > > Signed-off-by: Ian Ray > Signed-off-by: Denys Dmytriyenko merged to staging. -armin > --- > meta-oe/recipes-support/syslog-ng/syslog-ng.inc | 9 ++--- > 1 file changed, 6 insertions(+), 3 deletions(-) > > diff --git a/meta-oe/recipes-support/syslog-ng/syslog-ng.inc > b/meta-oe/recipes-support/syslog-ng/syslog-ng.inc > index 4e0f697..898e9c2 100644 > --- a/meta-oe/recipes-support/syslog-ng/syslog-ng.inc > +++ b/meta-oe/recipes-support/syslog-ng/syslog-ng.inc > @@ -60,6 +60,12 @@ do_configure_prepend() { > eval "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', '', 'sed -i > -e "s/-D_LARGEFILE_SOURCE//" -e "s/-D_FILE_OFFSET_BITS=64//" > ${S}/configure.in', d)}" > } > > +do_install_prepend() { > +sed -i -e 's,@SBINDIR@,${sbindir},g' ${S}/contrib/systemd/*.service > +sed -i -e 's,@LOCALSTATEDIR@,${localstatedir},g' > ${S}/contrib/systemd/*.service > +sed -i -e 's,@BASEBINDIR@,${base_bindir},g' > ${S}/contrib/systemd/*.service > +} > + > do_install_append() { > install -d ${D}/${sysconfdir}/${BPN} > install ${WORKDIR}/syslog-ng.conf ${D}${sysconfdir}/${BPN}/${BPN}.conf > @@ -70,9 +76,6 @@ do_install_append() { > install -d ${D}/${localstatedir}/lib/${BPN} > # Remove /var/run as it is created on startup > rm -rf ${D}${localstatedir}/run > -sed -i -e 's,@SBINDIR@,${sbindir},g' ${S}/contrib/systemd/*.service > -sed -i -e 's,@LOCALSTATEDIR@,${localstatedir},g' > ${S}/contrib/systemd/*.service > -sed -i -e 's,@BASEBINDIR@,${base_bindir},g' > ${S}/contrib/systemd/*.service > } > > FILES_${PN} += "${datadir}/include/scl/ ${datadir}/xsd ${datadir}/tools" > -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe] p7zip recipe broken with rm_work
On 3 November 2016 at 11:03, Jan-Simon Möllerwrote: > # Create a shell script wrapper to execute next to 7z.so > mv ${D}${bindir}/7z ${D}${bindir}/7z.bin > echo "#! /bin/sh" > ${D}${bindir}/7z > echo "exec ${D}${bindir}/7z.bin \"\$@\"" >> ${D}${bindir}/7z > chmod 0755 ${D}${bindir}/7z > } > > This wrapper breaks with "rm_work". Shouldn't it use the sysroot ? > Yeah the script should just use ${bindir}, but why is there even a wrapper script? Ross -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-qt4][PATCH] qt4-embedded: Default to build tslib when touchscreen is defined
On 2 November 2016 at 22:10, Paul Eggletonwrote: > Only if they have "touchscreen" in IMAGE_FEATURES - do any of the machines > we > build for on the autobuilder do that? > I thought the qemu machines did, but I was wrong. Thanks, Ross -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe] p7zip recipe broken with rm_work
Hi ! ./meta-oe/recipes-extended/p7zip/p7zip_9.20.1.bb defines: do_install_class-native() { install -d ${D}${bindir} install -d ${D}${bindir}/Codecs install -m 0755 ${S}/bin/7* ${D}${bindir} install -m 0755 ${S}/bin/Codecs/* ${D}${bindir}/Codecs # Create a shell script wrapper to execute next to 7z.so mv ${D}${bindir}/7z ${D}${bindir}/7z.bin echo "#! /bin/sh" > ${D}${bindir}/7z echo "exec ${D}${bindir}/7z.bin \"\$@\"" >> ${D}${bindir}/7z chmod 0755 ${D}${bindir}/7z } This wrapper breaks with "rm_work". Shouldn't it use the sysroot ? Best, -- -- Jan-Simon Möller dl...@gmx.de -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH] libvdpau: Add recipe
From: Koen KooiNeeded for x86 machines Signed-off-by: Koen Kooi Signed-off-by: Khem Raj --- meta-oe/recipes-graphics/vdpau/libvdpau_git.bb | 23 +++ 1 file changed, 23 insertions(+) create mode 100644 meta-oe/recipes-graphics/vdpau/libvdpau_git.bb diff --git a/meta-oe/recipes-graphics/vdpau/libvdpau_git.bb b/meta-oe/recipes-graphics/vdpau/libvdpau_git.bb new file mode 100644 index 000..31f4df4 --- /dev/null +++ b/meta-oe/recipes-graphics/vdpau/libvdpau_git.bb @@ -0,0 +1,23 @@ +SUMMARY = "Video Decode and Presentation API for UNIX" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=83af8811a28727a13f04132cc33b7f58" + +DEPENDS = "virtual/libx11 libxext dri2proto" + +PV = "1.1.1+git${SRCPV}" + +SRCREV = "a21bf7aa438f5dd40d0a300a3167aa3d6f26dccc" +SRC_URI = "git://anongit.freedesktop.org/vdpau/libvdpau" + +S = "${WORKDIR}/git" + +inherit autotools pkgconfig + +do_install_append() { +rm -f ${D}${libdir}/*/*.la +} + +FILES_${PN}-dbg += "${libdir}/vdpau/.debug" +FILES_${PN}-dev += "${libdir}/vdpau/lib*${SOLIBSDEV}" +FILES_${PN} += "${libdir}/vdpau/lib*${SOLIBS}" -- 2.10.2 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH] fwts: Update to 16.09 release
license change is just year change from 2014 to 2016 Fix build with clang while here Signed-off-by: Khem Raj--- V1 -> V2: - Bump to latest to grab more recent fixes - Limit to x86, aarch64 and ppc64 only since other arches dont support ACPI - Add dep on dtc ...nstant-logical-operand-warning-with-clang.patch | 81 ++ meta-oe/recipes-test/fwts/fwts_git.bb | 21 -- 2 files changed, 95 insertions(+), 7 deletions(-) create mode 100644 meta-oe/recipes-test/fwts/fwts/0001-ignore-constant-logical-operand-warning-with-clang.patch diff --git a/meta-oe/recipes-test/fwts/fwts/0001-ignore-constant-logical-operand-warning-with-clang.patch b/meta-oe/recipes-test/fwts/fwts/0001-ignore-constant-logical-operand-warning-with-clang.patch new file mode 100644 index 000..ccfe580 --- /dev/null +++ b/meta-oe/recipes-test/fwts/fwts/0001-ignore-constant-logical-operand-warning-with-clang.patch @@ -0,0 +1,81 @@ +From 953cff93c85d3cfd5cbcac56e14443dc5f6e5fbd Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 19 Oct 2016 01:57:16 + +Subject: [PATCH] ignore constant-logical-operand warning with clang + +Signed-off-by: Khem Raj +--- + src/uefi/uefirtauthvar/uefirtauthvar.c | 5 + + 1 file changed, 5 insertions(+) + +Index: git/src/uefi/uefirtauthvar/uefirtauthvar.c +=== +--- git.orig/src/uefi/uefirtauthvar/uefirtauthvar.c git/src/uefi/uefirtauthvar/uefirtauthvar.c +@@ -142,6 +142,9 @@ static int uefirtauthvar_deinit(fwts_fra + return FWTS_OK; + } + ++#pragma clang diagnostic push ++#pragma clang diagnostic ignored "-Wconstant-logical-operand" ++ + static int check_fw_support(fwts_framework *fw, uint64_t status) + { + if ((status == EFI_INVALID_PARAMETER) && +@@ -172,6 +175,8 @@ static int check_fw_support(fwts_framewo + return FWTS_OK; + } + ++#pragma clang diagnostic pop ++ + /* + * Set the created authenticated variable, AuthVarCreate, + * and checking the data size and data. +Index: git/src/lib/src/fwts_acpi_tables.c +=== +--- git.orig/src/lib/src/fwts_acpi_tables.c git/src/lib/src/fwts_acpi_tables.c +@@ -392,10 +392,14 @@ static int fwts_acpi_handle_fadt( + /* Determine FACS addr and load it. +* Will ignore the missing FACS in the hardware-reduced mode. +*/ ++#pragma clang diagnostic push ++#pragma clang diagnostic ignored "-Waddress-of-packed-member" ++ + result = fwts_acpi_handle_fadt_tables(fw, fadt, + "FACS", "FIRMWARE_CTRL", "X_FIRMWARE_CTRL", + >firmware_control, >x_firmware_ctrl, + provenance); ++ + if (result != FWTS_OK) { + if ((result == FWTS_NULL_POINTER) && + fwts_acpi_is_reduced_hardware(fadt)) { +@@ -414,6 +418,7 @@ static int fwts_acpi_handle_fadt( + return FWTS_ERROR; + } + return FWTS_OK; ++#pragma clang diagnostic pop + } + + /* +Index: git/src/dmi/dmicheck/dmicheck.c +=== +--- git.orig/src/dmi/dmicheck/dmicheck.c git/src/dmi/dmicheck/dmicheck.c +@@ -209,6 +209,8 @@ static const char *uuid_patterns[] = { + "0A0A0A0A-0A0A-0A0A-0A0A-0A0A0A0A0A0A", + NULL, + }; ++#pragma clang diagnostic push ++#pragma clang diagnostic ignored "-Wunneeded-internal-declaration" + + static const fwts_chassis_type_map fwts_dmi_chassis_type[] = { + { "Invalid",FWTS_SMBIOS_CHASSIS_INVALID }, +@@ -245,6 +247,7 @@ static const fwts_chassis_type_map fwts_ + { "Convertible",FWTS_SMBIOS_CHASSIS_CONVERTIBLE }, + { "Detachable", FWTS_SMBIOS_CHASSIS_DETACHABLE }, + }; ++#pragma clang diagnostic pop + + /* Remapping table from buggy version numbers to correct values */ + static const fwts_dmi_version dmi_versions[] = { diff --git a/meta-oe/recipes-test/fwts/fwts_git.bb b/meta-oe/recipes-test/fwts/fwts_git.bb index 197fe20..b04be02 100644 --- a/meta-oe/recipes-test/fwts/fwts_git.bb +++ b/meta-oe/recipes-test/fwts/fwts_git.bb @@ -3,22 +3,29 @@ DESCRIPTION = "The tool fwts comprises of over fifty tests that are designed to HOMEPAGE = "https://wiki.ubuntu.com/Kernel/Reference/fwts; LICENSE = "GPLv2+" -LIC_FILES_CHKSUM = "file://src/main.c;beginline=1;endline=16;md5=deb8af5388e838d133eaa036f4d1496f" +LIC_FILES_CHKSUM = "file://src/main.c;beginline=1;endline=16;md5=31da590f3e9f3bd34dcdb9e4db568519" -PV = "14.12.00" +PV = "16.09.00" -SRCREV = "efc18d16294f492b7f72bba64344b2eed50e6a69" -SRC_URI = "git://kernel.ubuntu.com/hwe/fwts.git" +SRCREV = "15386283ad55e2a5b9366c1f43f4531ef79b01cb" +SRC_URI = "git://kernel.ubuntu.com/hwe/fwts.git \ + file://0001-ignore-constant-logical-operand-warning-with-clang.patch \ + " S = "${WORKDIR}/git" -DEPENDS =
[oe] [meta-oe][PATCH v2] libiio: add recipe
libiio is a C library for interfacing with IIO devices. It abstracts the low-level details of the hardware, and provides a simple yet complete programming interface. This recipe provides the following packages: * libiio: main package with C library * libiio-iiod: user space daemon providing network backend to iio devices * libiio-tests: user space test applications using libiio * libiio-python: python bindings Signed-off-by: Andrea Galbusera--- Changes in V2: * use normal git checkout instead of Github archives to avoid issues with checksum changing from time to time. * while at it, use the latest commit, set PV and rename recipe accordingly. * review DEPENDS to enable using new features/optional libraries. --- meta-oe/recipes-support/libiio/libiio_git.bb | 24 1 file changed, 24 insertions(+) create mode 100644 meta-oe/recipes-support/libiio/libiio_git.bb diff --git a/meta-oe/recipes-support/libiio/libiio_git.bb b/meta-oe/recipes-support/libiio/libiio_git.bb new file mode 100644 index 000..28a1073 --- /dev/null +++ b/meta-oe/recipes-support/libiio/libiio_git.bb @@ -0,0 +1,24 @@ +SUMMARY = "Library for interfacing with IIO devices" +HOMEPAGE = "https://wiki.analog.com/resources/tools-software/linux-software/libiio; +SECTION = "libs" +LICENSE = "LGPLv2.1+" +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=7c13b3376cea0ce68d2d2da0a1b3a72c" + +SRCREV = "e0fc3845506ccb19ab02e4b1d81cdd0805ab" +PV = "0.7+git${SRCPV}" + +SRC_URI = "git://github.com/analogdevicesinc/libiio.git" + +S = "${WORKDIR}/git" + +DEPENDS = "flex-native bison-native avahi libaio libusb1 libxml2" + +inherit cmake pythonnative + +PACKAGES =+ "${PN}-iiod ${PN}-tests ${PN}-python" + +RDEPENDS_${PN}-python = "${PN} python-ctypes python-stringold" + +FILES_${PN}-iiod = "${sbindir}/iiod" +FILES_${PN}-tests = "${bindir}" +FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}" -- 1.9.1 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH] fix QA Issue for opensaf
Move the do_sysvinit_install contents to do_install_append. Signed-off-by: Dengke Du--- meta-networking/recipes-daemons/opensaf/opensaf_5.0.0.bb | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/meta-networking/recipes-daemons/opensaf/opensaf_5.0.0.bb b/meta-networking/recipes-daemons/opensaf/opensaf_5.0.0.bb index da9c105..6ceb225 100644 --- a/meta-networking/recipes-daemons/opensaf/opensaf_5.0.0.bb +++ b/meta-networking/recipes-daemons/opensaf/opensaf_5.0.0.bb @@ -53,6 +53,11 @@ do_install_append() { install -m 0644 ${B}/osaf/services/infrastructure/nid/config/opensafd.service \ ${D}${systemd_unitdir}/system install -m 0644 ${B}/contrib/plmc/config/*.service ${D}/${systemd_unitdir}/system + +if [ ! -d "${D}${sysconfdir}/init.d" ]; then +install -d ${D}${sysconfdir}/init.d +install -m 0755 ${B}/osaf/services/infrastructure/nid/scripts/opensafd ${D}${sysconfdir}/init.d/ +fi } FILES_${PN} += "${localstatedir}/run ${systemd_unitdir}/system/*.service" @@ -62,12 +67,3 @@ INSANE_SKIP_${PN} = "dev-so" RDEPENDS_${PN} += "bash python" -do_sysvinit_install() { -if [ ! -d "${D}${sysconfdir}/init.d" ]; then - install -d ${D}${sysconfdir}/init.d - install -m 0755 ${B}/osaf/services/infrastructure/nid/scripts/opensafd ${D}${sysconfdir}/init.d/ -fi -} - -addtask sysvinit_install after do_install before do_package - -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-multimedia][PATCH 5/7] dcadec, libsquish: Add new recipes
Transport from meta-dominion, to support new kodi mediacenter Signed-off-by: Koen KooiSigned-off-by: Khem Raj --- .../recipes-multimedia/dca/dcadec_0.2.0.bb| 17 + .../recipes-multimedia/libsquish/libsquish_git.bb | 19 +++ 2 files changed, 36 insertions(+) create mode 100644 meta-multimedia/recipes-multimedia/dca/dcadec_0.2.0.bb create mode 100644 meta-multimedia/recipes-multimedia/libsquish/libsquish_git.bb diff --git a/meta-multimedia/recipes-multimedia/dca/dcadec_0.2.0.bb b/meta-multimedia/recipes-multimedia/dca/dcadec_0.2.0.bb new file mode 100644 index 000..45b53c1 --- /dev/null +++ b/meta-multimedia/recipes-multimedia/dca/dcadec_0.2.0.bb @@ -0,0 +1,17 @@ +SUMMARY = "DTS Coherent Acoustics decoder with support for HD extensions" + +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://COPYING.LGPLv2.1;md5=4fbd65380cdd255951079008b364516c" + +SRCREV = "b93deed1a231dd6dd7e39b9fe7d2abe05aa00158" +SRC_URI = "git://github.com/foo86/dcadec.git;protocol=http" + +S = "${WORKDIR}/git" + +inherit lib_package + +EXTRA_OEMAKE = "CONFIG_SHARED=1" + +do_install() { + oe_runmake install DESTDIR="${D}" PREFIX="${prefix}" +} diff --git a/meta-multimedia/recipes-multimedia/libsquish/libsquish_git.bb b/meta-multimedia/recipes-multimedia/libsquish/libsquish_git.bb new file mode 100644 index 000..f060f1e --- /dev/null +++ b/meta-multimedia/recipes-multimedia/libsquish/libsquish_git.bb @@ -0,0 +1,19 @@ +SUMMARY = "The squish library (abbreviated to libsquish) is an open source DXT compression library written in C++ " + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://alpha.cpp;beginline=3;endline=22;md5=6665e479f71feb92d590ea9ae9b9f6d5" + +PV = "1.10+git${SRCPV}" + +SRCREV = "52e7d93c5947f72380521116c05d97c528863ba8" +SRC_URI = "git://github.com/OpenELEC/libsquish.git;protocol=https" + +S = "${WORKDIR}/git" + +EXTRA_OEMAKE = "INSTALL_DIR=${D}${prefix}" + +do_install() { + install -d ${D}${includedir} + install -d ${D}${libdir}/pkgconfig + oe_runmake install +} -- 2.10.2 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-multimedia][PATCH 7/7] kodi: Update to krypton release ( 17.x )
> On Nov 3, 2016, at 1:26 AM, Koen Kooiwrote: > > Since 17 hasn’t been released yet, I think adding 16.1 first would be a > better idea. That one is known working on the 4 archs I test it on (armv7a, > aarch64, x86 and x86_64), version 17 is still in flux. 17.0-beta5 has been working quite well on RPI3 here as well as x86 > > Regardless of that, thanks for taking the time to ‘port’ this all back to > meta-oe. > >> Op 3 nov. 2016, om 09:20 heeft Khem Raj het volgende >> geschreven: >> >> remove obsoleted xbmc recipes >> rename to recipes-mediacenter >> >> Signed-off-by: Koen Kooi >> Signed-off-by: Khem Raj >> --- >> .../kodi/jsonschemabuilder-native.bb | 24 ++ >> .../0001-Update-to-p8-platform.patch | 427 >> + >> .../kodi/kodi-addon-pvr-hts_git.bb | 55 +++ >> .../0001-Fix-build-after-platform-rename.patch | 67 >> .../0001-fix-cross-compile-badness.patch | 40 ++ >> .../kodi-platform-02_no-multi-lib.patch| 12 + >> .../recipes-mediacenter/kodi/kodi-platform_git.bb | 39 ++ >> .../recipes-mediacenter/kodi/kodi-startup.bb | 20 + >> .../kodi/kodi-startup/kodi.service | 14 + >> ...re-don-t-try-to-run-stuff-to-find-tinyxml.patch | 25 ++ >> .../kodi/kodi/0002-handle-SIGTERM.patch| 163 >> ...-to-read-frequency-output-if-using-intel-.patch | 26 ++ >> .../kodi/kodi/0004-Disable-DVD-support.patch | 35 ++ >> .../recipes-mediacenter/kodi/kodi_17.bb| 177 + >> ...on-t-run-python-distutils-to-find-STAGING.patch | 31 -- >> ...d-ios-Add-memory-barriers-to-atomic-Add-S.patch | 97 - >> ...d-ios-Add-memory-barriers-to-cas-assembly.patch | 69 >> ...igure-cope-with-ld-is-gold-DISTRO_FEATURE.patch | 43 --- >> .../xbmc/configure.in-Avoid-running-code.patch | 32 -- >> .../recipes-mediacentre/xbmc/xbmc_git.bb | 97 - >> 20 files changed, 1124 insertions(+), 369 deletions(-) >> create mode 100644 >> meta-multimedia/recipes-mediacenter/kodi/jsonschemabuilder-native.bb >> create mode 100644 >> meta-multimedia/recipes-mediacenter/kodi/kodi-addon-pvr-hts/0001-Update-to-p8-platform.patch >> create mode 100644 >> meta-multimedia/recipes-mediacenter/kodi/kodi-addon-pvr-hts_git.bb >> create mode 100644 >> meta-multimedia/recipes-mediacenter/kodi/kodi-platform/0001-Fix-build-after-platform-rename.patch >> create mode 100644 >> meta-multimedia/recipes-mediacenter/kodi/kodi-platform/0001-fix-cross-compile-badness.patch >> create mode 100644 >> meta-multimedia/recipes-mediacenter/kodi/kodi-platform/kodi-platform-02_no-multi-lib.patch >> create mode 100644 >> meta-multimedia/recipes-mediacenter/kodi/kodi-platform_git.bb >> create mode 100644 meta-multimedia/recipes-mediacenter/kodi/kodi-startup.bb >> create mode 100644 >> meta-multimedia/recipes-mediacenter/kodi/kodi-startup/kodi.service >> create mode 100644 >> meta-multimedia/recipes-mediacenter/kodi/kodi/0001-configure-don-t-try-to-run-stuff-to-find-tinyxml.patch >> create mode 100644 >> meta-multimedia/recipes-mediacenter/kodi/kodi/0002-handle-SIGTERM.patch >> create mode 100644 >> meta-multimedia/recipes-mediacenter/kodi/kodi/0003-add-support-to-read-frequency-output-if-using-intel-.patch >> create mode 100644 >> meta-multimedia/recipes-mediacenter/kodi/kodi/0004-Disable-DVD-support.patch >> create mode 100644 meta-multimedia/recipes-mediacenter/kodi/kodi_17.bb >> delete mode 100644 >> meta-multimedia/recipes-mediacentre/xbmc/xbmc/0001-configure-don-t-run-python-distutils-to-find-STAGING.patch >> delete mode 100644 >> meta-multimedia/recipes-mediacentre/xbmc/xbmc/0002-Revert-fixed-ios-Add-memory-barriers-to-atomic-Add-S.patch >> delete mode 100644 >> meta-multimedia/recipes-mediacentre/xbmc/xbmc/0003-Revert-fixed-ios-Add-memory-barriers-to-cas-assembly.patch >> delete mode 100644 >> meta-multimedia/recipes-mediacentre/xbmc/xbmc/0004-configure-cope-with-ld-is-gold-DISTRO_FEATURE.patch >> delete mode 100644 >> meta-multimedia/recipes-mediacentre/xbmc/xbmc/configure.in-Avoid-running-code.patch >> delete mode 100644 meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb >> >> diff --git >> a/meta-multimedia/recipes-mediacenter/kodi/jsonschemabuilder-native.bb >> b/meta-multimedia/recipes-mediacenter/kodi/jsonschemabuilder-native.bb >> new file mode 100644 >> index 000..094ccff >> --- /dev/null >> +++ b/meta-multimedia/recipes-mediacenter/kodi/jsonschemabuilder-native.bb >> @@ -0,0 +1,24 @@ >> +SUMMARY = "Kodi Media Center" >> + >> +LICENSE = "GPLv2+" >> +LIC_FILES_CHKSUM = >> "file://JsonSchemaBuilder.cpp;beginline=2;endline=18;md5=1f67721215c03f66545390f6e45b99c7" >> + >> +SRCREV = "b587e98911fcedc4b800cd923a882c7aeeaa2146" >> + >> +PV = "16.0+gitr${SRCPV}" >> +SRC_URI = "git://github.com/xbmc/xbmc.git;branch=Jarvis" >> + >> +inherit autotools-brokensep
Re: [oe] [meta-multimedia][PATCH 7/7] kodi: Update to krypton release ( 17.x )
Since 17 hasn’t been released yet, I think adding 16.1 first would be a better idea. That one is known working on the 4 archs I test it on (armv7a, aarch64, x86 and x86_64), version 17 is still in flux. Regardless of that, thanks for taking the time to ‘port’ this all back to meta-oe. > Op 3 nov. 2016, om 09:20 heeft Khem Rajhet volgende > geschreven: > > remove obsoleted xbmc recipes > rename to recipes-mediacenter > > Signed-off-by: Koen Kooi > Signed-off-by: Khem Raj > --- > .../kodi/jsonschemabuilder-native.bb | 24 ++ > .../0001-Update-to-p8-platform.patch | 427 + > .../kodi/kodi-addon-pvr-hts_git.bb | 55 +++ > .../0001-Fix-build-after-platform-rename.patch | 67 > .../0001-fix-cross-compile-badness.patch | 40 ++ > .../kodi-platform-02_no-multi-lib.patch| 12 + > .../recipes-mediacenter/kodi/kodi-platform_git.bb | 39 ++ > .../recipes-mediacenter/kodi/kodi-startup.bb | 20 + > .../kodi/kodi-startup/kodi.service | 14 + > ...re-don-t-try-to-run-stuff-to-find-tinyxml.patch | 25 ++ > .../kodi/kodi/0002-handle-SIGTERM.patch| 163 > ...-to-read-frequency-output-if-using-intel-.patch | 26 ++ > .../kodi/kodi/0004-Disable-DVD-support.patch | 35 ++ > .../recipes-mediacenter/kodi/kodi_17.bb| 177 + > ...on-t-run-python-distutils-to-find-STAGING.patch | 31 -- > ...d-ios-Add-memory-barriers-to-atomic-Add-S.patch | 97 - > ...d-ios-Add-memory-barriers-to-cas-assembly.patch | 69 > ...igure-cope-with-ld-is-gold-DISTRO_FEATURE.patch | 43 --- > .../xbmc/configure.in-Avoid-running-code.patch | 32 -- > .../recipes-mediacentre/xbmc/xbmc_git.bb | 97 - > 20 files changed, 1124 insertions(+), 369 deletions(-) > create mode 100644 > meta-multimedia/recipes-mediacenter/kodi/jsonschemabuilder-native.bb > create mode 100644 > meta-multimedia/recipes-mediacenter/kodi/kodi-addon-pvr-hts/0001-Update-to-p8-platform.patch > create mode 100644 > meta-multimedia/recipes-mediacenter/kodi/kodi-addon-pvr-hts_git.bb > create mode 100644 > meta-multimedia/recipes-mediacenter/kodi/kodi-platform/0001-Fix-build-after-platform-rename.patch > create mode 100644 > meta-multimedia/recipes-mediacenter/kodi/kodi-platform/0001-fix-cross-compile-badness.patch > create mode 100644 > meta-multimedia/recipes-mediacenter/kodi/kodi-platform/kodi-platform-02_no-multi-lib.patch > create mode 100644 > meta-multimedia/recipes-mediacenter/kodi/kodi-platform_git.bb > create mode 100644 meta-multimedia/recipes-mediacenter/kodi/kodi-startup.bb > create mode 100644 > meta-multimedia/recipes-mediacenter/kodi/kodi-startup/kodi.service > create mode 100644 > meta-multimedia/recipes-mediacenter/kodi/kodi/0001-configure-don-t-try-to-run-stuff-to-find-tinyxml.patch > create mode 100644 > meta-multimedia/recipes-mediacenter/kodi/kodi/0002-handle-SIGTERM.patch > create mode 100644 > meta-multimedia/recipes-mediacenter/kodi/kodi/0003-add-support-to-read-frequency-output-if-using-intel-.patch > create mode 100644 > meta-multimedia/recipes-mediacenter/kodi/kodi/0004-Disable-DVD-support.patch > create mode 100644 meta-multimedia/recipes-mediacenter/kodi/kodi_17.bb > delete mode 100644 > meta-multimedia/recipes-mediacentre/xbmc/xbmc/0001-configure-don-t-run-python-distutils-to-find-STAGING.patch > delete mode 100644 > meta-multimedia/recipes-mediacentre/xbmc/xbmc/0002-Revert-fixed-ios-Add-memory-barriers-to-atomic-Add-S.patch > delete mode 100644 > meta-multimedia/recipes-mediacentre/xbmc/xbmc/0003-Revert-fixed-ios-Add-memory-barriers-to-cas-assembly.patch > delete mode 100644 > meta-multimedia/recipes-mediacentre/xbmc/xbmc/0004-configure-cope-with-ld-is-gold-DISTRO_FEATURE.patch > delete mode 100644 > meta-multimedia/recipes-mediacentre/xbmc/xbmc/configure.in-Avoid-running-code.patch > delete mode 100644 meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb > > diff --git > a/meta-multimedia/recipes-mediacenter/kodi/jsonschemabuilder-native.bb > b/meta-multimedia/recipes-mediacenter/kodi/jsonschemabuilder-native.bb > new file mode 100644 > index 000..094ccff > --- /dev/null > +++ b/meta-multimedia/recipes-mediacenter/kodi/jsonschemabuilder-native.bb > @@ -0,0 +1,24 @@ > +SUMMARY = "Kodi Media Center" > + > +LICENSE = "GPLv2+" > +LIC_FILES_CHKSUM = > "file://JsonSchemaBuilder.cpp;beginline=2;endline=18;md5=1f67721215c03f66545390f6e45b99c7" > + > +SRCREV = "b587e98911fcedc4b800cd923a882c7aeeaa2146" > + > +PV = "16.0+gitr${SRCPV}" > +SRC_URI = "git://github.com/xbmc/xbmc.git;branch=Jarvis" > + > +inherit autotools-brokensep gettext native > + > +S = "${WORKDIR}/git/tools/depends/native/JsonSchemaBuilder/src" > + > +do_compile_prepend() { > +for i in $(find . -name "Makefile") ; do > +sed -i -e 's:I/usr/include:I${STAGING_INCDIR}:g' $i > +done > + > +for i in
[oe] [meta-multimedia][PATCH 7/7] kodi: Update to krypton release ( 17.x )
remove obsoleted xbmc recipes rename to recipes-mediacenter Signed-off-by: Koen KooiSigned-off-by: Khem Raj --- .../kodi/jsonschemabuilder-native.bb | 24 ++ .../0001-Update-to-p8-platform.patch | 427 + .../kodi/kodi-addon-pvr-hts_git.bb | 55 +++ .../0001-Fix-build-after-platform-rename.patch | 67 .../0001-fix-cross-compile-badness.patch | 40 ++ .../kodi-platform-02_no-multi-lib.patch| 12 + .../recipes-mediacenter/kodi/kodi-platform_git.bb | 39 ++ .../recipes-mediacenter/kodi/kodi-startup.bb | 20 + .../kodi/kodi-startup/kodi.service | 14 + ...re-don-t-try-to-run-stuff-to-find-tinyxml.patch | 25 ++ .../kodi/kodi/0002-handle-SIGTERM.patch| 163 ...-to-read-frequency-output-if-using-intel-.patch | 26 ++ .../kodi/kodi/0004-Disable-DVD-support.patch | 35 ++ .../recipes-mediacenter/kodi/kodi_17.bb| 177 + ...on-t-run-python-distutils-to-find-STAGING.patch | 31 -- ...d-ios-Add-memory-barriers-to-atomic-Add-S.patch | 97 - ...d-ios-Add-memory-barriers-to-cas-assembly.patch | 69 ...igure-cope-with-ld-is-gold-DISTRO_FEATURE.patch | 43 --- .../xbmc/configure.in-Avoid-running-code.patch | 32 -- .../recipes-mediacentre/xbmc/xbmc_git.bb | 97 - 20 files changed, 1124 insertions(+), 369 deletions(-) create mode 100644 meta-multimedia/recipes-mediacenter/kodi/jsonschemabuilder-native.bb create mode 100644 meta-multimedia/recipes-mediacenter/kodi/kodi-addon-pvr-hts/0001-Update-to-p8-platform.patch create mode 100644 meta-multimedia/recipes-mediacenter/kodi/kodi-addon-pvr-hts_git.bb create mode 100644 meta-multimedia/recipes-mediacenter/kodi/kodi-platform/0001-Fix-build-after-platform-rename.patch create mode 100644 meta-multimedia/recipes-mediacenter/kodi/kodi-platform/0001-fix-cross-compile-badness.patch create mode 100644 meta-multimedia/recipes-mediacenter/kodi/kodi-platform/kodi-platform-02_no-multi-lib.patch create mode 100644 meta-multimedia/recipes-mediacenter/kodi/kodi-platform_git.bb create mode 100644 meta-multimedia/recipes-mediacenter/kodi/kodi-startup.bb create mode 100644 meta-multimedia/recipes-mediacenter/kodi/kodi-startup/kodi.service create mode 100644 meta-multimedia/recipes-mediacenter/kodi/kodi/0001-configure-don-t-try-to-run-stuff-to-find-tinyxml.patch create mode 100644 meta-multimedia/recipes-mediacenter/kodi/kodi/0002-handle-SIGTERM.patch create mode 100644 meta-multimedia/recipes-mediacenter/kodi/kodi/0003-add-support-to-read-frequency-output-if-using-intel-.patch create mode 100644 meta-multimedia/recipes-mediacenter/kodi/kodi/0004-Disable-DVD-support.patch create mode 100644 meta-multimedia/recipes-mediacenter/kodi/kodi_17.bb delete mode 100644 meta-multimedia/recipes-mediacentre/xbmc/xbmc/0001-configure-don-t-run-python-distutils-to-find-STAGING.patch delete mode 100644 meta-multimedia/recipes-mediacentre/xbmc/xbmc/0002-Revert-fixed-ios-Add-memory-barriers-to-atomic-Add-S.patch delete mode 100644 meta-multimedia/recipes-mediacentre/xbmc/xbmc/0003-Revert-fixed-ios-Add-memory-barriers-to-cas-assembly.patch delete mode 100644 meta-multimedia/recipes-mediacentre/xbmc/xbmc/0004-configure-cope-with-ld-is-gold-DISTRO_FEATURE.patch delete mode 100644 meta-multimedia/recipes-mediacentre/xbmc/xbmc/configure.in-Avoid-running-code.patch delete mode 100644 meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb diff --git a/meta-multimedia/recipes-mediacenter/kodi/jsonschemabuilder-native.bb b/meta-multimedia/recipes-mediacenter/kodi/jsonschemabuilder-native.bb new file mode 100644 index 000..094ccff --- /dev/null +++ b/meta-multimedia/recipes-mediacenter/kodi/jsonschemabuilder-native.bb @@ -0,0 +1,24 @@ +SUMMARY = "Kodi Media Center" + +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://JsonSchemaBuilder.cpp;beginline=2;endline=18;md5=1f67721215c03f66545390f6e45b99c7" + +SRCREV = "b587e98911fcedc4b800cd923a882c7aeeaa2146" + +PV = "16.0+gitr${SRCPV}" +SRC_URI = "git://github.com/xbmc/xbmc.git;branch=Jarvis" + +inherit autotools-brokensep gettext native + +S = "${WORKDIR}/git/tools/depends/native/JsonSchemaBuilder/src" + +do_compile_prepend() { +for i in $(find . -name "Makefile") ; do +sed -i -e 's:I/usr/include:I${STAGING_INCDIR}:g' $i +done + +for i in $(find . -name "*.mak*" -o-name "Makefile") ; do +sed -i -e 's:I/usr/include:I${STAGING_INCDIR}:g' -e 's:-rpath \$(libdir):-rpath ${libdir}:g' $i +done +} + diff --git a/meta-multimedia/recipes-mediacenter/kodi/kodi-addon-pvr-hts/0001-Update-to-p8-platform.patch b/meta-multimedia/recipes-mediacenter/kodi/kodi-addon-pvr-hts/0001-Update-to-p8-platform.patch new file mode 100644 index 000..c4a6ae7 --- /dev/null +++
[oe] [meta-oe][PATCH 6/7] libcec: Update to 3.1.0+
Depends on p8platform therefore add recipe for p8platform Signed-off-by: Koen KooiSigned-off-by: Khem Raj --- meta-oe/recipes-extended/libcec/libcec_git.bb | 16 ++-- meta-oe/recipes-extended/p8platform/p8platform_git.bb | 18 ++ 2 files changed, 28 insertions(+), 6 deletions(-) create mode 100644 meta-oe/recipes-extended/p8platform/p8platform_git.bb diff --git a/meta-oe/recipes-extended/libcec/libcec_git.bb b/meta-oe/recipes-extended/libcec/libcec_git.bb index 0f2a64e..ee49efb 100644 --- a/meta-oe/recipes-extended/libcec/libcec_git.bb +++ b/meta-oe/recipes-extended/libcec/libcec_git.bb @@ -2,18 +2,22 @@ SUMMARY = "USB CEC Adaptor communication Library" HOMEPAGE = "http://libcec.pulse-eight.com/; LICENSE = "GPLv2+" -LIC_FILES_CHKSUM = "file://COPYING;md5=5e8e16396992369f73f3d28875f846da" +LIC_FILES_CHKSUM = "file://COPYING;md5=e61fd86f9c947b430126181da2c6c715" -DEPENDS = "udev lockdev" +DEPENDS = "p8platform udev lockdev" -PV = "2.1.4" +PV = "3.1.0+gitr${SRCPV}" -SRCREV = "81e38211724bc6e8bd7a60f484433053ed682635" -SRC_URI = "git://github.com/Pulse-Eight/libcec.git;branch=release" +SRCREV = "6d68d21243aa92862592435e8396b4280ea46c3f" +SRC_URI = "git://github.com/Pulse-Eight/libcec.git" S = "${WORKDIR}/git" -inherit autotools pkgconfig +inherit cmake pkgconfig + +# Disable python wrapper, it doesn't have crosscompiles +EXTRA_OECMAKE = "-DCMAKE_INSTALL_LIBDIR=${libdir} -DCMAKE_INSTALL_LIBDIR_NOARCH=${libdir} \ + -DSKIP_PYTHON_WRAPPER=1" # cec-client and xbmc need the .so present to work :( FILES_${PN} += "${libdir}/*.so" diff --git a/meta-oe/recipes-extended/p8platform/p8platform_git.bb b/meta-oe/recipes-extended/p8platform/p8platform_git.bb new file mode 100644 index 000..f6347c2 --- /dev/null +++ b/meta-oe/recipes-extended/p8platform/p8platform_git.bb @@ -0,0 +1,18 @@ +SUMMARY = "Platform support library used by libCEC and binary add-ons for Kodi" +HOMEPAGE = "http://libcec.pulse-eight.com/; + +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://src/os.h;md5=752555fa94e82005d45fd201fee5bd33" + +PV = "2.1.0" + +SRC_URI = "git://github.com/Pulse-Eight/platform.git" +SRCREV = "d7bceb64541cb046421cbcd4c98d91e9bf24822f" + +S = "${WORKDIR}/git" + +inherit cmake pkgconfig + +EXTRA_OECMAKE += "-DCMAKE_INSTALL_LIBDIR=${libdir} -DCMAKE_INSTALL_LIBDIR_NOARCH=${libdir}" + +FILES_${PN}-dev += "${libdir}/p8-platform" -- 2.10.2 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 4/7] meta_oe_security_flags.inc: Add libcec, libmodplug, libcdio
Signed-off-by: Khem Raj--- meta-oe/conf/distro/include/meta_oe_security_flags.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-oe/conf/distro/include/meta_oe_security_flags.inc b/meta-oe/conf/distro/include/meta_oe_security_flags.inc index 93f35e2..2559948 100644 --- a/meta-oe/conf/distro/include/meta_oe_security_flags.inc +++ b/meta-oe/conf/distro/include/meta_oe_security_flags.inc @@ -9,3 +9,6 @@ SECURITY_CFLAGS_pn-openldap = "${SECURITY_NO_PIE_CFLAGS}" SECURITY_CFLAGS_pn-s3c64xx-gpio = "${SECURITY_NO_PIE_CFLAGS}" SECURITY_CFLAGS_pn-s3c24xx-gpio = "${SECURITY_NO_PIE_CFLAGS}" SECURITY_CFLAGS_pn-cpufrequtils = "${SECURITY_NO_PIE_CFLAGS}" +SECURITY_CFLAGS_pn-libcec = "${SECURITY_NO_PIE_CFLAGS}" +SECURITY_CFLAGS_pn-libmodplug = "${SECURITY_NO_PIE_CFLAGS}" +SECURITY_CFLAGS_pn-libcdio = "${SECURITY_NO_PIE_CFLAGS}" -- 2.10.2 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 2/7 V2] boinc: Add recipe for boinc-client
Signed-off-by: Khem Raj--- - Document patches - Fix build without X - Add proper build time dependencies with/without X .../boinc/boinc-client/boinc-AM_CONDITIONAL.patch | 24 ++ .../boinc/boinc-client/cross-compile.patch | 98 ++ .../boinc/boinc-client/gtk-configure.patch | 29 +++ .../boinc/boinc-client/opengl_m4_check.patch | 19 + .../recipes-extended/boinc/boinc-client_7.6.33.bb | 77 + 5 files changed, 247 insertions(+) create mode 100644 meta-oe/recipes-extended/boinc/boinc-client/boinc-AM_CONDITIONAL.patch create mode 100644 meta-oe/recipes-extended/boinc/boinc-client/cross-compile.patch create mode 100644 meta-oe/recipes-extended/boinc/boinc-client/gtk-configure.patch create mode 100644 meta-oe/recipes-extended/boinc/boinc-client/opengl_m4_check.patch create mode 100644 meta-oe/recipes-extended/boinc/boinc-client_7.6.33.bb diff --git a/meta-oe/recipes-extended/boinc/boinc-client/boinc-AM_CONDITIONAL.patch b/meta-oe/recipes-extended/boinc/boinc-client/boinc-AM_CONDITIONAL.patch new file mode 100644 index 000..7becb94 --- /dev/null +++ b/meta-oe/recipes-extended/boinc/boinc-client/boinc-AM_CONDITIONAL.patch @@ -0,0 +1,24 @@ +Add configure check for gtk2+ and objc++ + +Signed-off-by: Khem Raj +Upstream-Status: Pending + +--- A/configure.ac B/configure.ac +@@ -39,6 +39,7 @@ AC_PROG_CC + AC_PROG_CXX + AC_PROG_F77 + AC_PROG_CPP ++AC_PROG_OBJCXX + AC_PROG_MAKE_SET + SAH_LINKS + AC_LANG_PUSH(C) +@@ -744,6 +745,8 @@ AM_CONDITIONAL(ENABLE_LIBRARIES, [test " + AM_CONDITIONAL(INSTALL_HEADERS, [test "${enable_install_headers}" = yes]) + AM_CONDITIONAL(HAVE_CUDA_LIB, [test "${enable_client}" = yes -a -f ./coprocs/CUDA/posix/${boinc_platform}/libcudart.so]) + ++PKG_CHECK_MODULES([GTK2], [gtk+-2.0]) ++ + dnl == + dnl some more vodoo required for building portable client-binary (client, clientgui) + dnl == diff --git a/meta-oe/recipes-extended/boinc/boinc-client/cross-compile.patch b/meta-oe/recipes-extended/boinc/boinc-client/cross-compile.patch new file mode 100644 index 000..287391a --- /dev/null +++ b/meta-oe/recipes-extended/boinc/boinc-client/cross-compile.patch @@ -0,0 +1,98 @@ +Remove rpath, its bad for cross compiling to encode +build time rpaths + +Signed-off-by: Khem Raj +Upstream-Status: Pending + +Index: boinc-client_release-7.6-7.6.33/api/Makefile.am +=== +--- boinc-client_release-7.6-7.6.33.orig/api/Makefile.am boinc-client_release-7.6-7.6.33/api/Makefile.am +@@ -43,18 +43,18 @@ endif + + lib_LTLIBRARIES = libboinc_api.la + libboinc_api_la_SOURCES = $(api_files) +-libboinc_api_la_LDFLAGS = -L$(libdir) -rpath $(libdir) -version-number $(LIBBOINC_VERSION) ++libboinc_api_la_LDFLAGS = -version-number $(LIBBOINC_VERSION) + + if BUILD_GRAPHICS_API + lib_LTLIBRARIES += libboinc_graphics2.la + libboinc_graphics2_la_SOURCES = $(graphics2_files) + libboinc_graphics2_la_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/samples/image_libs +-libboinc_graphics2_la_LDFLAGS = -L$(libdir) -rpath $(libdir) -version-number $(LIBBOINC_VERSION) -ljpeg ++libboinc_graphics2_la_LDFLAGS = -version-number $(LIBBOINC_VERSION) -ljpeg + endif #BUILD_GRAPHICS_API + + lib_LTLIBRARIES += libboinc_opencl.la + libboinc_opencl_la_SOURCES = $(opencl_files) +-libboinc_opencl_la_LDFLAGS = -L$(libdir) -rpath $(libdir) -version-number $(LIBBOINC_VERSION) ++libboinc_opencl_la_LDFLAGS = -version-number $(LIBBOINC_VERSION) + + if INSTALL_HEADERS + ## install only headers that are meant for exporting the API !! +Index: boinc-client_release-7.6-7.6.33/lib/Makefile.am +=== +--- boinc-client_release-7.6-7.6.33.orig/lib/Makefile.am boinc-client_release-7.6-7.6.33/lib/Makefile.am +@@ -173,7 +173,7 @@ lib_LTLIBRARIES = libboinc.la + libboinc_la_SOURCES = $(generic_sources) $(mac_sources) $(win_sources) + libboinc_la_CFLAGS = $(AM_CFLAGS) $(PICFLAGS) $(PTHREAD_CFLAGS) + libboinc_la_CXXFLAGS = $(AM_CXXFLAGS) $(PICFLAGS) $(PTHREAD_CFLAGS) +-libboinc_la_LDFLAGS = -L$(libdir) -rpath $(libdir) -static -version-number $(LIBBOINC_VERSION) ++libboinc_la_LDFLAGS = -static -version-number $(LIBBOINC_VERSION) + libboinc_la_LIBADD = + + if ENABLE_BOINCCRYPT +@@ -181,7 +181,7 @@ lib_LTLIBRARIES += libboinc_crypt.la + libboinc_crypt_la_SOURCES = crypt.cpp + libboinc_crypt_la_CFLAGS = $(AM_CFLAGS) $(PICFLAGS) $(PTHREAD_CFLAGS) $(SSL_CFLAGS) + libboinc_crypt_la_CXXFLAGS = $(AM_CXXFLAGS) $(PICFLAGS) $(PTHREAD_CFLAGS) $(SSL_CXXFLAGS) +-libboinc_crypt_la_LDFLAGS = -L$(libdir) -rpath $(libdir) -static -version-number $(LIBBOINC_VERSION) ++libboinc_crypt_la_LDFLAGS = -static -version-number $(LIBBOINC_VERSION)
[oe] [meta-oe][PATCH 1/7] meta_oe_security_flags: Disable PIE for s3c64xx-gpio/s3c24xx-gpio/cpufrequtils
Signed-off-by: Khem Raj--- meta-oe/conf/distro/include/meta_oe_security_flags.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-oe/conf/distro/include/meta_oe_security_flags.inc b/meta-oe/conf/distro/include/meta_oe_security_flags.inc index b0d30a3..93f35e2 100644 --- a/meta-oe/conf/distro/include/meta_oe_security_flags.inc +++ b/meta-oe/conf/distro/include/meta_oe_security_flags.inc @@ -6,3 +6,6 @@ SECURITY_CFLAGS_pn-rrdtool = "${SECURITY_NO_PIE_CFLAGS}" SECURITY_CFLAGS_pn-llvm3.3 = "${SECURITY_NO_PIE_CFLAGS}" SECURITY_CFLAGS_pn-mozjs = "${SECURITY_NO_PIE_CFLAGS}" SECURITY_CFLAGS_pn-openldap = "${SECURITY_NO_PIE_CFLAGS}" +SECURITY_CFLAGS_pn-s3c64xx-gpio = "${SECURITY_NO_PIE_CFLAGS}" +SECURITY_CFLAGS_pn-s3c24xx-gpio = "${SECURITY_NO_PIE_CFLAGS}" +SECURITY_CFLAGS_pn-cpufrequtils = "${SECURITY_NO_PIE_CFLAGS}" -- 2.10.2 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH] chrony: remove unrecognized option ipv6
From: Jackie HuangThe configure is not generated by autotools, and it's designed to enable ipv6 by default and have option --disable-ipv6 to disable it, but no --enable-ipv6, so remove it. Signed-off-by: Jackie Huang --- meta-networking/recipes-support/chrony/chrony_2.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-networking/recipes-support/chrony/chrony_2.4.bb b/meta-networking/recipes-support/chrony/chrony_2.4.bb index a8898dc..deb2148 100644 --- a/meta-networking/recipes-support/chrony/chrony_2.4.bb +++ b/meta-networking/recipes-support/chrony/chrony_2.4.bb @@ -66,7 +66,7 @@ PACKAGECONFIG[editline] = ",--without-editline,libedit" PACKAGECONFIG[sechash] = "--without-tomcrypt,--disable-sechash,nss" PACKAGECONFIG[privdrop] = ",--disable-privdrop,libcap" PACKAGECONFIG[scfilter] = "--enable-scfilter,--without-seccomp" -PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," +PACKAGECONFIG[ipv6] = ",--disable-ipv6," PACKAGECONFIG[nss] = "--with-nss,--without-nss,nss" PACKAGECONFIG[libcap] = "--with-libcap,--without-libcap,libcap" -- 2.8.3 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel