[oe] [meta-oe][PATCH] crash: add native package

2016-03-10 Thread kai.kang
From: Kai Kang 

Add crash-native package.

* append EXTRA_OEMAKE option to find ncurses library
* pass right install DESTDIR

Signed-off-by: Kai Kang 
---
 meta-oe/recipes-kernel/crash/crash_7.1.3.bb | 17 ++---
 1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/meta-oe/recipes-kernel/crash/crash_7.1.3.bb 
b/meta-oe/recipes-kernel/crash/crash_7.1.3.bb
index f6934f7..d057300 100644
--- a/meta-oe/recipes-kernel/crash/crash_7.1.3.bb
+++ b/meta-oe/recipes-kernel/crash/crash_7.1.3.bb
@@ -32,6 +32,8 @@ SRC_URI[gdb.sha256sum] = 
"8070389a5dcc104eb0be483d582729f98ed4d761ad19cedd3f17b5
 
 inherit gettext
 
+BBCLASSEXTEND = "native"
+
 # crash 7.1.3 and before don't support mips64
 COMPATIBLE_HOST = "^(?!mips64).*"
 
@@ -40,6 +42,7 @@ EXTRA_OEMAKE = 'RPMPKG="${PV}" \
 GDB_HOST="${BUILD_SYS}" \
 GDB_MAKE_JOBS="${PARALLEL_MAKE}" \
 '
+EXTRA_OEMAKE_append_class-native = " LDFLAGS='${BUILD_LDFLAGS}'"
 
 do_configure() {
 :
@@ -65,17 +68,25 @@ do_compile() {
 oe_runmake ${EXTRA_OEMAKE}
 }
 
-do_install () {
+do_install_prepend () {
 install -d ${D}${bindir}
 install -d ${D}/${mandir}/man8
 install -d ${D}${includedir}/crash
 
-oe_runmake DESTDIR=${D} install
 install -m 0644 ${S}/crash.8 ${D}/${mandir}/man8/
 install -m 0644 ${S}/defs.h ${D}${includedir}/crash
-}   
+}
+
+do_install_class-target () {
+oe_runmake DESTDIR=${D} install
+}
+
+do_install_class-native () {
+oe_runmake DESTDIR=${D}${STAGING_DIR_NATIVE} install
+}
 
 RDEPENDS_${PN} += "liblzma"
+RDEPENDS_${PN}_class-native = ""
 
 # Causes gcc to get stuck and eat all available memory in qemuarm builds
 # jenkins  15161  100 12.5 10389596 10321284 ?   R11:40  28:17 
/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.2/cc1
 -quiet -I . -I . -I ./common -I ./config -I ./../include/opcode -I 
./../opcodes/.. -I ./../readline/.. -I ../bfd -I ./../bfd -I ./../include -I 
../libdecnumber -I ./../libdecnumber -I ./gnulib/import -I build-gnulib/import 
-isysroot /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm -MMD 
eval.d -MF .deps/eval.Tpo -MP -MT eval.o -D LOCALEDIR="/usr/local/share/locale" 
-D CRASH_MERGE -D HAVE_CONFIG_H -D TUI=1 eval.c -quiet -dumpbase eval.c 
-march=armv5te -mthumb -mthumb-interwork -mtls-dialect=gnu -auxbase-strip 
eval.o -g -O2 -Wall -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign 
-Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts 
-Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body 
-feliminate-unused-debug-types -o -
-- 
2.6.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH] V2: Add native package for crash

2016-03-10 Thread kai.kang
From: Kai Kang 

V2:
* clean runtime dependency for crash-native

The following changes since commit a1e135a48add7575682bf53db5e02e753580:

  Revert "toybox: upgrade to 0.7.0" (2016-03-07 13:02:19 +0100)

are available in the git repository at:

  g...@github.com:parr0tr1ver/meta-openembedded.git crash-native

for you to fetch changes up to 6b0f5b639b1796a10fdb5b0a50b49aeddf47a489:

  crash: add native package (2016-03-11 14:17:20 +0800)


Kai Kang (1):
  crash: add native package

 meta-oe/recipes-kernel/crash/crash_7.1.3.bb | 17 ++---
 1 file changed, 14 insertions(+), 3 deletions(-)

-- 
2.6.1
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] license_create_manifest fails on jethro

2016-03-10 Thread Stefan Agner
Hi Anibal,

I think the patch a7976cbae3 ("license_class: Reimplemented manifest
creation in python") broke Ångstroms way of deploying license files.
With jethro I get the following error when building the _second_
machine:

ERROR: Error executing a python function in
/build/ags/oe-core_V2.6/build/../stuff/meta-toradex/recipes/images/console-trdx-image.bb:

The stack trace of python calls that resulted in this exception/failure
was:
File: 'license_create_manifest', lineno: 110, function: 
 0106:
 0107:os.link(pkg_license,
pkg_rootfs_license)
 0108:
 0109:
 *** 0110:license_create_manifest(d)
 0111:
File: 'license_create_manifest', lineno: 86, function:
license_create_manifest
 0082:pkg_rootfs_license_dir =
os.path.join(rootfs_license_dir, pkg)
 0083:os.makedirs(pkg_rootfs_license_dir)
 0084:pkg_license_dir =
os.path.join(d.getVar('LICENSE_DIRECTORY', True),
 0085:   
pkg_dic[pkg]["PN"])
 *** 0086:licenses = os.listdir(pkg_license_dir)
 0087:for lic in licenses:
 0088:rootfs_license =
os.path.join(rootfs_license_dir, lic)
 0089:pkg_license =
os.path.join(pkg_license_dir, lic)
 0090:pkg_rootfs_license =
os.path.join(pkg_rootfs_license_dir, lic)
Exception: OSError: [Errno 2] No such file or directory:
'/build/ags/oe-core_V2.6/build/out-glibc/deploy/licenses/colibri_imx7/alsa-utils'

ERROR: Function failed: license_create_manifest
ERROR: Logfile of failure stored in:
/build/ags/oe-core_V2.6/build/out-glibc/work/colibri_imx7-angstrom-linux-gnueabi/console-trdx-image/V2.6-r0/temp/log.do_rootfs.29351
ERROR: Task 7
(/build/ags/oe-core_V2.6/build/../stuff/meta-toradex/recipes/images/console-trdx-image.bb,
do_rootfs) failed with exit code '1'

It might relate to how Ångström configures the LICENSE_DIRECTORY
variable (by including MACHINE_ARCH, see
https://github.com/Angstrom-distribution/meta-angstrom/blob/angstrom-v2015.12-yocto2.0/conf/distro/include/angstrom-core-tweaks.inc):
LICENSE_DIRECTORY = "${DEPLOY_DIR}/licenses/${MACHINE_ARCH}"

I am not sure what exactly causes the issue, but after reverting your
patch two consecutive builds of different machines succeeded...

However, I still get a lot of warnings such as:
WARNING: The license listed LGPLv2.1 was not in the licenses collected
for systemd

Any ideas?

--
Stefan
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-erlang] generate-manifest update and packaging fixes pull request

2016-03-10 Thread João Henrique Freitas
Hi Maciej,

Merged.

Thanks.

On Tue, Mar 1, 2016 at 5:35 AM, Maciej Borzecki  wrote:

> Hi João,
>
> Did you get a chance to look at the patches? I can open a pull
> request on github if that's more convenient for you.
>
> On 02/25 20:56, Maciej Borzecki wrote:
> > The series contains a number of patches for the `generate-manifest` tool
> as
> > well as fixes for packaging of Erlang modules.
> >
> > The first patch addresses the problem of maintaining multiple versions
> > of `generate-manifest` tool, one for each Erlang version. This is not
> > effective in the long run. The tool has been updated to support multiple
> > Erlang versions. We exploit the fact that Erlang modules have a
> > predictable directory layout. There is very little change between
> > consecutive Erlang versions with respect to module organization. This
> > allowed for reducing much of the duplication into a smaller, more
> > maintainable code. The script can generate manifest for Erlang 18.2.3
> > and 18.1.5 (version currently supported in the tree). Particular version
> > is selected by passing --erlang-version  as a command line.
> > Along with the changes described above, the script has been pylinted.
> > The generated manifest contain slightly more packages, as by default a
> > *-doc package is added for each module. The script output is largely
> > identical to what the original code produced.
> >
> > The second patch tightens package file selection. We make sure that *-dev
> > packages ship `src` as well as `c_src`, `java_src` and other variants,
> > should they exist. The *-doc packages should ship manpages and other
> > documentation files.
> >
> > The third patch fixes the problem of files being shipped in incorrect
> > packages. The commit message is rather long, so for brevity, I will not
> > repeat it here. TL;DR is that the way the packages are populated and how
> > the manifest gets generated results in for instance dialyzer script
> > being shipped in erlang-erts package. The fix addresses this problem by
> > preserving the order in which modules are defined. Since we're using
> > Erlang in an embedded system, we're rather picky about the modules and
> > install only the ones that are needed for particular application. By
> > shipping incorrect files in packages, we either need to install
> > unnecessary packages, or install too many files, thus wasting space.
> >
> > The last patch is a regenerated manifest files for Erlang 18.1.5 and
> > 18.2.3. The diff is large (~200kB), that's why I've put everything into
> > a pull request.
> >
> >
> > The following changes since commit
> 8878361e26aee0624385a4ef1ede44cdacd8108a:
> >
> >   erlang: add 18.2.3 (2016-02-07 16:08:55 -0200)
> >
> > are available in the git repository at:
> >
> >   https://github.com/open-rnd/meta-erlang.git
> >
> > for you to fetch changes up to c9ee91fed2e5241fc3d506cb0fde971b153f8909:
> >
> >   erlang-xxx-manifest: regenerate manifest files (2016-02-25 20:27:55
> +0100)
> >
> > 
> > Maciej Borzecki (4):
> >   generate-manifest: replace multiple scripts with one
> >   generate-manifest: tighten file selection rules
> >   generate-manifest: preserve the package order
> >   erlang-xxx-manifest: regenerate manifest files
> >
> >  recipes-devtools/erlang/erlang-18.1.5-manifest.inc | 2058
> +++-
> >  recipes-devtools/erlang/erlang-18.2.3-manifest.inc | 2058
> +++-
> >  scripts/contrib/erlang/generate-manifest   |  394 
> >  scripts/contrib/erlang/generate-manifest-18.1.py   |  460 -
> >  scripts/contrib/erlang/generate-manifest-18.2.1.py |  460 -
> >  5 files changed, 2712 insertions(+), 2718 deletions(-)
> >  create mode 100755 scripts/contrib/erlang/generate-manifest
> >  delete mode 100755 scripts/contrib/erlang/generate-manifest-18.1.py
> >  delete mode 100755 scripts/contrib/erlang/generate-manifest-18.2.1.py
> >
> > --
> > Maciej Borzęcki
> > Senior Software Engineer at Open-RnD Sp. z o.o.
> > www.open-rnd.pl
>
> --
> Maciej Borzęcki
> Senior Software Developer at Open-RnD Sp. z o.o., Poland
> www.open-rnd.pl
> mobile: +48 889 117 365, fax: +48 42 657 9079
>
>
> Niniejsza wiadomość wraz z załącznikami może
> zawierać chronione prawem lub poufne informacje i została
> wysłana wyłącznie do wiadomości i użytku osób, do których
> została zaadresowana. Jeśli wiadomość została otrzymana
> przypadkowo zabrania się jej kopiowania lub rozsyłania do osób
> trzecich. W takim przypadku uprasza się o natychmiastowe
> zniszczenie wiadomości oraz poinformowanie nadawcy o
> zaistniałej sytuacji za pomocą wiadomości zwrotnej.
> Dziękujemy.
>
> This message, including any attachments hereto,
> may contain privileged or confidential information and is sent
> solely for the attention and use of the intended addressee(s).
> If you are not an intended addressee, you may neither use this
> message nor copy or deliver it to anyone. In such ca

[oe] [PATCH 4/4] packagegroup-xfce-extended: add xfce4-verve-plugin

2016-03-10 Thread Andreas Müller
Signed-off-by: Andreas Müller 
---
 meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-extended.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-extended.bb 
b/meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-extended.bb
index d8b67f2..c07188f 100644
--- a/meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-extended.bb
+++ b/meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-extended.bb
@@ -51,6 +51,7 @@ RRECOMMENDS_${PN} = " \
 ${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 
'xfce4-pulseaudio-plugin', '', d)} \
 xfce4-sensors-plugin \
 xfce4-calculator-plugin \
+xfce4-verve-plugin \
 \
 xfce-polkit \
 \
-- 
2.5.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH 2/4] xfce4-pulseaudio-plugin: update to 0.2.4

2016-03-10 Thread Andreas Müller
Signed-off-by: Andreas Müller 
---
 ...e4-pulseaudio-plugin_0.2.3.bb => xfce4-pulseaudio-plugin_0.2.4.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename 
meta-xfce/recipes-panel-plugins/pulseaudio/{xfce4-pulseaudio-plugin_0.2.3.bb => 
xfce4-pulseaudio-plugin_0.2.4.bb} (73%)

diff --git 
a/meta-xfce/recipes-panel-plugins/pulseaudio/xfce4-pulseaudio-plugin_0.2.3.bb 
b/meta-xfce/recipes-panel-plugins/pulseaudio/xfce4-pulseaudio-plugin_0.2.4.bb
similarity index 73%
rename from 
meta-xfce/recipes-panel-plugins/pulseaudio/xfce4-pulseaudio-plugin_0.2.3.bb
rename to 
meta-xfce/recipes-panel-plugins/pulseaudio/xfce4-pulseaudio-plugin_0.2.4.bb
index 9a95cde..65026ac 100644
--- 
a/meta-xfce/recipes-panel-plugins/pulseaudio/xfce4-pulseaudio-plugin_0.2.3.bb
+++ 
b/meta-xfce/recipes-panel-plugins/pulseaudio/xfce4-pulseaudio-plugin_0.2.4.bb
@@ -8,8 +8,8 @@ REQUIRED_DISTRO_FEATURES = "pulseaudio"
 
 DEPENDS += "pulseaudio"
 
-SRC_URI[md5sum] = "13a47ba5a72c16fb06f7e1cc89858cc7"
-SRC_URI[sha256sum] = 
"e82836bc8cf7d905b4e60d43dc630ba8e32dea785989700c71d4aeee9f583b33"
+SRC_URI[md5sum] = "e0ffde419fa030f1f9bd0b56e3264a1c"
+SRC_URI[sha256sum] = 
"8d9330ddf1d44a864a36d566cce4b76d4f859c5984bba7653d7dc39aa24d5c3e"
 
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[libnotify] = "--enable-libnotify,--disable-libnotify,libnotify"
-- 
2.5.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH 3/4] xfce4-verve-plugin: initial add 1.1.0

2016-03-10 Thread Andreas Müller
Signed-off-by: Andreas Müller 
---
 .../recipes-panel-plugins/verve/xfce4-verve-plugin_1.1.0.bb  | 9 +
 1 file changed, 9 insertions(+)
 create mode 100644 
meta-xfce/recipes-panel-plugins/verve/xfce4-verve-plugin_1.1.0.bb

diff --git a/meta-xfce/recipes-panel-plugins/verve/xfce4-verve-plugin_1.1.0.bb 
b/meta-xfce/recipes-panel-plugins/verve/xfce4-verve-plugin_1.1.0.bb
new file mode 100644
index 000..65503a4
--- /dev/null
+++ b/meta-xfce/recipes-panel-plugins/verve/xfce4-verve-plugin_1.1.0.bb
@@ -0,0 +1,9 @@
+SUMMARY = "Verve panel plugin is a comfortable command line plugin for the 
Xfce panel"
+HOMEPAGE = "http://goodies.xfce.org/projects/panel-plugins/xfce4-verve-plugin";
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
+
+inherit xfce-panel-plugin
+
+SRC_URI[md5sum] = "ddd0190ae56f6117dbcf9ff2bf5a8cbf"
+SRC_URI[sha256sum] = 
"a3196f818c7ad57d19cd6581e168fd2b9f96de070246aea70c35ce2e5f9d9c84"
-- 
2.5.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH 1/4] parole: update to 0.8.1

2016-03-10 Thread Andreas Müller
checked: patch or similar (for appdata) was applied

Signed-off-by: Andreas Müller 
---
 .../parole/files/parole-0.8.0-appdata.patch| 30 --
 .../parole/{parole_0.8.0.bb => parole_0.8.1.bb}|  5 ++--
 2 files changed, 2 insertions(+), 33 deletions(-)
 delete mode 100644 
meta-xfce/recipes-multimedia/parole/files/parole-0.8.0-appdata.patch
 rename meta-xfce/recipes-multimedia/parole/{parole_0.8.0.bb => 
parole_0.8.1.bb} (82%)

diff --git 
a/meta-xfce/recipes-multimedia/parole/files/parole-0.8.0-appdata.patch 
b/meta-xfce/recipes-multimedia/parole/files/parole-0.8.0-appdata.patch
deleted file mode 100644
index e076924..000
--- a/meta-xfce/recipes-multimedia/parole/files/parole-0.8.0-appdata.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-Upstream-Status: submitted [1]
-Taken-From: [2]
-
-[1] https://bugzilla.xfce.org/show_bug.cgi?id=11653
-[2] 
http://pkgs.fedoraproject.org/cgit/parole.git/tree/parole-0.8.0-appdata.patch
-
-diff -Nur parole-0.8.0.orig/data/appdata/parole.appdata.xml.in 
parole-0.8.0/data/appdata/parole.appdata.xml.in
 parole-0.8.0.orig/data/appdata/parole.appdata.xml.in   2015-02-28 
07:23:54.0 -0700
-+++ parole-0.8.0/data/appdata/parole.appdata.xml.in2015-03-07 
08:25:01.940009844 -0700
-@@ -41,7 +41,7 @@
-   
- 
-   
--
-+
-   
- <_p>This unstable development release adds the new clutter backend 
and cleans up
- deprecated Gtk3 symbols. It also adds a "go to position" feature and 
several bugs
-diff -Nur parole-0.8.0.orig/po/es.po parole-0.8.0/po/es.po
 parole-0.8.0.orig/po/es.po 2015-02-28 07:23:54.0 -0700
-+++ parole-0.8.0/po/es.po  2015-03-07 08:25:17.447726837 -0700
-@@ -514,7 +514,7 @@
- "This unstable development release adds the new clutter backend and cleans up"
- " deprecated Gtk3 symbols. It also adds a \"go to position\" feature and "
- "several bugs have been addressed."
--msgstr "Esta versión de desarrollo añade un nuevo motor de clutter y 
elimina símbolos GTK3 obsoletos. Además añade la funcionalidad «Ir a la 
posición» y corrige un sinnúmero de errores."
-+msgstr "Esta versión de desarrollo añade un nuevo motor de clutter y elimina 
símbolos GTK3 obsoletos. Además añade la funcionalidad «Ir a la posición» y 
corrige un sinnúmero de errores."
- 
- #: ../data/appdata/parole.appdata.xml.in.h:4
- msgid "This release fixes a problem with detecting DVD drive locations."
diff --git a/meta-xfce/recipes-multimedia/parole/parole_0.8.0.bb 
b/meta-xfce/recipes-multimedia/parole/parole_0.8.1.bb
similarity index 82%
rename from meta-xfce/recipes-multimedia/parole/parole_0.8.0.bb
rename to meta-xfce/recipes-multimedia/parole/parole_0.8.1.bb
index 28bedaf..1514c61 100644
--- a/meta-xfce/recipes-multimedia/parole/parole_0.8.0.bb
+++ b/meta-xfce/recipes-multimedia/parole/parole_0.8.1.bb
@@ -19,9 +19,8 @@ DEPENDS = " \
 taglib \
 "
 
-SRC_URI[md5sum] = "fffdc23d2aa22271f01410a9e27c3404"
-SRC_URI[sha256sum] = 
"2d966aeb426de81d992829e33b3f66185b19fd031a1891968b3a40d6d50239cc"
-SRC_URI += "file://parole-0.8.0-appdata.patch"
+SRC_URI[md5sum] = "361e3059f1263c76a3711db2c7c1a97b"
+SRC_URI[sha256sum] = 
"4b216f5200490f8d2a9bf1b3fcd9a8b20834c95249bf13b9170c82e1fcbd80f4"
 
 RDEPENDS_${PN} += "gstreamer1.0-plugins-good"
 
-- 
2.5.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] Updating configuration files, how to

2016-03-10 Thread Paul Eggleton
On Thu, 10 Mar 2016 10:37:10 Gary Thomas wrote:
> On 2016-03-10 10:15, Jaap de Jong wrote:
> > I am wondering what the best approach is for creating 'standard' packages
> > with updated configuration files. As an example: I want to have a package
> > with an updated /etc/network/interfaces file to reflect my systems
> > hardware. Should I create a init-ifupdown_1.0.bbappend recipe with the
> > updated file? What other options do I have?
> > What are you guys using for this?
> > And how about the package name in such a case. Append something to its
> > name?
>
> I use a init-ifupdown_1.0.bbappend in my target machine (BSP) layer,
> this way these settings only affect the particular machine(s).

FYI in recent versions (jethro / 2.0+) you can use "recipetool appendfile" to 
create these bbappends easily. You don't even have to know which recipe is 
packaging them.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH 14/38] python-gst: remove the 0.10 recipe

2016-03-10 Thread Martin Jansa
On Thu, Mar 10, 2016 at 04:51:45PM +, Burton, Ross wrote:
> On 10 March 2016 at 16:13, Martin Jansa  wrote:
> 
> > I still build images for om-gta04
> > http://projects.goldelico.com/p/gta04-main/
> > from time to time, but don't use them in real life anymore (not sure how
> > many other people do) - the same with om-gta02, nokia900. Other
> > meta-smartphone BSPs are used more actively in LuneOS, so no nukes on
> > my meta-smartphone please.
> >
> 
> Presumably Lune uses the BSP but not the software?

LuneOS doesn't use frameworkd (which lives in meta-fso), but you wanted
to nuke meta-smartphone which contains 16 different layers.

-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com


signature.asc
Description: Digital signature
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH 14/38] python-gst: remove the 0.10 recipe

2016-03-10 Thread Burton, Ross
On 10 March 2016 at 16:13, Martin Jansa  wrote:

> I still build images for om-gta04
> http://projects.goldelico.com/p/gta04-main/
> from time to time, but don't use them in real life anymore (not sure how
> many other people do) - the same with om-gta02, nokia900. Other
> meta-smartphone BSPs are used more actively in LuneOS, so no nukes on
> my meta-smartphone please.
>

Presumably Lune uses the BSP but not the software?

Ross
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH 14/38] python-gst: remove the 0.10 recipe

2016-03-10 Thread Martin Jansa
On Thu, Mar 10, 2016 at 04:02:43PM +, Burton, Ross wrote:
> On 10 March 2016 at 14:25, Martin Jansa  wrote:
> 
> > This wont make freesmartphone people happly (if there still are some)
> >
> 
> Is anyone actually using this software?  Obviously one solution here is to
> move pygobject to meta-gnome or something.  Another would be to nuke
> meta-smartphone from orbit.

Fortunately this python-gst dependency was only from RRECOMMENDS, I've
already removed it from RRECOMMENDS.

I still build images for om-gta04
http://projects.goldelico.com/p/gta04-main/
from time to time, but don't use them in real life anymore (not sure how
many other people do) - the same with om-gta02, nokia900. Other
meta-smartphone BSPs are used more actively in LuneOS, so no nukes on
my meta-smartphone please.

Thanks,

-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com


signature.asc
Description: Digital signature
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH v3 0/2] mpv: Media Player

2016-03-10 Thread Gary Thomas
mpv is a new media player, based on a fork of Mplayer and mplayer2.
libass is updated to the latest version (necessary for fully functioning mpv)

Gary Thomas (2):
  libass: Update to latest version
  mpv: Media Player

 meta-oe/recipes-multimedia/libass/libass.inc   |  7 +--
 meta-oe/recipes-multimedia/libass/libass_0.10.1.bb |  5 --
 meta-oe/recipes-multimedia/libass/libass_0.13.2.bb |  4 ++
 meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb   | 67 ++
 4 files changed, 73 insertions(+), 10 deletions(-)
 delete mode 100644 meta-oe/recipes-multimedia/libass/libass_0.10.1.bb
 create mode 100644 meta-oe/recipes-multimedia/libass/libass_0.13.2.bb
 create mode 100644 meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb

-- 
2.5.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH v3 2/2] mpv: Media Player

2016-03-10 Thread Gary Thomas
mpv is a fork of mplayer2 and MPlayer. It shares some features with
the former projects while introducing many more.

Signed-off-by: Gary Thomas 
---
 meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb | 67 
 1 file changed, 67 insertions(+)
 create mode 100644 meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb

diff --git a/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb 
b/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
new file mode 100644
index 000..acad319
--- /dev/null
+++ b/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
@@ -0,0 +1,67 @@
+SUMMARY = "Open Source multimedia player"
+SECTION = "multimedia"
+HOMEPAGE = "http://www.mpv.io/";
+DEPENDS = "zlib ffmpeg jpeg virtual/libx11 xsp libxv \
+   libxscrnsaver libv4l libxinerama \
+"
+
+REQUIRED_DISTRO_FEATURES = "x11"
+
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=91f1cb870c1cc2d31351a4d2595441cb"
+
+SRC_URI = "https://github.com/mpv-player/mpv/archive/v${PV}.tar.gz;name=mpv \
+   http://www.freehackers.org/~tnagy/release/waf-1.8.12;name=waf \
+"
+SRC_URI[mpv.md5sum] = "9042bd3fbff2bc8ba0b7fadaa4a22101"
+SRC_URI[mpv.sha256sum] = 
"7d31217ba8572f364fcea2955733f821374ae6d8c6d8f22f8bc63c44c0400bdc"
+SRC_URI[waf.md5sum] = "cef4ee82206b1843db082d0b0506bf71"
+SRC_URI[waf.sha256sum] = 
"01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b"
+
+inherit pkgconfig
+
+# Note: both lua and libass are required to get on-screen-display (controls)
+PACKAGECONFIG ??= "lua libass"
+PACKAGECONFIG[lua] = "--enable-lua,--disable-lua,lua luajit"
+PACKAGECONFIG[libass] = "--enable-libass,--disable-libass,libass"
+PACKAGECONFIG[libarchive] = 
"--enable-libarchive,--disable-libarchive,libarchive"
+
+EXTRA_OECONF = " \
+--prefix=${prefix} \
+--target=${SIMPLE_TARGET_SYS} \
+--confdir=${sysconfdir} \
+--datadir=${datadir} \
+--disable-manpage-build \
+--disable-gl \
+--disable-libsmbclient \
+--disable-encoding \
+--disable-libbluray \
+--disable-dvdread \
+--disable-dvdnav \
+--disable-cdda \
+--disable-enca \
+--disable-libguess \
+--disable-uchardet \
+--disable-rubberband \
+--disable-lcms2 \
+--disable-vapoursynth \
+--disable-vapoursynth-lazy \
+"
+
+do_configure() {
+if [ ! -L ../waf ]; then
+chmod a+x ../waf-1.8.12
+   ln -s waf-1.8.12 ../waf
+fi
+../waf configure ${EXTRA_OECONF}
+}
+
+do_compile () {
+../waf build
+}
+
+do_install() {
+../waf install --destdir=${D}
+}
+
+FILES_${PN} += "${datadir}/icons"
-- 
2.5.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH v3 1/2] libass: Update to latest version

2016-03-10 Thread Gary Thomas
libass has moved from Google to github.com
Also update to the latest version (libass.so.5)

Signed-off-by: Gary Thomas 
---
 meta-oe/recipes-multimedia/libass/libass.inc   | 7 ++-
 meta-oe/recipes-multimedia/libass/libass_0.10.1.bb | 5 -
 meta-oe/recipes-multimedia/libass/libass_0.13.2.bb | 4 
 3 files changed, 6 insertions(+), 10 deletions(-)
 delete mode 100644 meta-oe/recipes-multimedia/libass/libass_0.10.1.bb
 create mode 100644 meta-oe/recipes-multimedia/libass/libass_0.13.2.bb

diff --git a/meta-oe/recipes-multimedia/libass/libass.inc 
b/meta-oe/recipes-multimedia/libass/libass.inc
index 328cd14..a394c56 100644
--- a/meta-oe/recipes-multimedia/libass/libass.inc
+++ b/meta-oe/recipes-multimedia/libass/libass.inc
@@ -1,5 +1,5 @@
 DESCRIPTION = "libass is a portable subtitle renderer for the ASS/SSA 
(Advanced Substation Alpha/Substation Alpha) subtitle format. It is mostly 
compatible with VSFilter."
-HOMEPAGE = "http://code.google.com/p/libass/";
+HOMEPAGE = "http://github.com/libass/libass/";
 SECTION = "libs/multimedia"
 
 LICENSE = "ISC"
@@ -7,10 +7,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=8ae98663bac55afe5d989919d296f28a"
 
 DEPENDS = "enca fontconfig freetype libpng fribidi"
 
-INC_PR = "r1"
-
-SRC_URI = "http://${BPN}.googlecode.com/files/${BP}.tar.gz";
-
+SRC_URI = 
"https://github.com/${PN}/${PN}/releases/download/0.13.2/${BP}.tar.gz";
 inherit autotools pkgconfig
 
 PACKAGECONFIG ??= ""
diff --git a/meta-oe/recipes-multimedia/libass/libass_0.10.1.bb 
b/meta-oe/recipes-multimedia/libass/libass_0.10.1.bb
deleted file mode 100644
index 0b32276..000
--- a/meta-oe/recipes-multimedia/libass/libass_0.10.1.bb
+++ /dev/null
@@ -1,5 +0,0 @@
-require ${PN}.inc
-PR = "${INC_PR}.0"
-
-SRC_URI[md5sum] = "6cace482a013a3c4bf3b31a68ac66026"
-SRC_URI[sha256sum] = 
"629a7e81fff92dea8d0399b818a41fd1b61e381c67a5961b1eaec2efadb14c6c"
diff --git a/meta-oe/recipes-multimedia/libass/libass_0.13.2.bb 
b/meta-oe/recipes-multimedia/libass/libass_0.13.2.bb
new file mode 100644
index 000..123c9dd
--- /dev/null
+++ b/meta-oe/recipes-multimedia/libass/libass_0.13.2.bb
@@ -0,0 +1,4 @@
+require ${PN}.inc
+
+SRC_URI[md5sum] = "b4d82616bb18e8e954b18746a105a3b8"
+SRC_URI[sha256sum] = 
"8baccf663553b62977b1c017d18b3879835da0ef79dc4d3b708f2566762f1d5e"
-- 
2.5.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH 14/38] python-gst: remove the 0.10 recipe

2016-03-10 Thread Burton, Ross
On 10 March 2016 at 14:25, Martin Jansa  wrote:

> This wont make freesmartphone people happly (if there still are some)
>

Is anyone actually using this software?  Obviously one solution here is to
move pygobject to meta-gnome or something.  Another would be to nuke
meta-smartphone from orbit.

Ross
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH 14/38] python-gst: remove the 0.10 recipe

2016-03-10 Thread Martin Jansa
On Wed, Mar 09, 2016 at 05:05:30PM +0200, Alexander Kanavin wrote:
> It depends on pygobject 2.x which has been update to 3.x in oe-core

This wont make freesmartphone people happly (if there still are some)

NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'python-gst' (but 
/home/jenkins/oe/world/shr-core/meta-smartphone/meta-shr/recipes-shr/packagegroups/packagegroup-shr-minimal.bb,
 
/home/jenkins/oe/world/shr-core/meta-smartphone/meta-fso/recipes-freesmartphone/freesmartphone/frameworkd_0.10.1.bb
 RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'python-gst' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python-gst']
NOTE: Runtime target 'packagegroup-shr-minimal' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['packagegroup-shr-minimal', 
'python-gst']
ERROR: Nothing RPROVIDES 'frameworkd' (but 
/home/jenkins/oe/world/shr-core/meta-smartphone/meta-fso/recipes-freesmartphone/freesmartphone/fso-gpsd_git.bb,
 
/home/jenkins/oe/world/shr-core/meta-smartphone/meta-shr/recipes-shr/3rdparty/atd-over-fso_0.70.bb,
 
/home/jenkins/oe/world/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-settings_git.bb,
 
/home/jenkins/oe/world/shr-core/meta-smartphone/meta-fso/recipes-freesmartphone/freesmartphone/frameworkd_0.10.1.bb
 RDEPENDS on or otherwise requires it)
ERROR: No eligible RPROVIDERs exist for 'frameworkd'
NOTE: Runtime target 'frameworkd' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['frameworkd']
NOTE: Runtime target 'fso-gpsd' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['fso-gpsd', 'frameworkd']
NOTE: Runtime target 'shr-settings' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['shr-settings', 'frameworkd']
NOTE: Runtime target 'shr-wizard' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['shr-wizard', 'shr-settings', 
'frameworkd']
ERROR: Nothing RPROVIDES 'fso-gpsd-dev' (but 
/home/jenkins/oe/world/shr-core/meta-smartphone/meta-fso/recipes-freesmartphone/freesmartphone/fso-gpsd_git.bb
 RDEPENDS on or otherwise requires it)
ERROR: No eligible RPROVIDERs exist for 'fso-gpsd-dev'
NOTE: Runtime target 'fso-gpsd-dev' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['fso-gpsd-dev']
ERROR: Nothing RPROVIDES 'packagegroup-shr-minimal-cli' (but 
/home/jenkins/oe/world/shr-core/meta-smartphone/meta-shr/recipes-shr/packagegroups/packagegroup-shr.bb
 RDEPENDS on or otherwise requires it)
ERROR: No eligible RPROVIDERs exist for 'packagegroup-shr-minimal-cli'
NOTE: Runtime target 'packagegroup-shr-minimal-cli' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['packagegroup-shr-minimal-cli']
ERROR: Nothing RPROVIDES 'packagegroup-shr-minimal-apps' (but 
/home/jenkins/oe/world/shr-core/meta-smartphone/meta-shr/recipes-shr/packagegroups/packagegroup-shr.bb
 RDEPENDS on or otherwise requires it)
ERROR: No eligible RPROVIDERs exist for 'packagegroup-shr-minimal-apps'
NOTE: Runtime target 'packagegroup-shr-minimal-apps' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['packagegroup-shr-minimal-apps']
ERROR: Nothing RPROVIDES 'python-pygtk' (but 
/home/jenkins/oe/world/shr-core/meta-smartphone/meta-shr/recipes-shr/3rdparty/advancedcaching_git.bb,
 
/home/jenkins/oe/world/shr-core/meta-smartphone/meta-shr/recipes-shr/3rdparty/openmoko-gps_svn.bb
 RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'python-pygtk' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python-pygtk']
NOTE: Runtime target 'advancedcaching' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['advancedcaching', 'python-pygtk']
NOTE: Runtime target 'packagegroup-shr-feed' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['packagegroup-shr-feed', 
'advancedcaching', 'python-pygtk']
NOTE: Runtime target 'advancedcaching-dev' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['advancedcaching-dev', 
'python-pygtk']
ERROR: Nothing RPROVIDES 'openmoko-gps-dev' (but 
/home/jenkins/oe/world/shr-core/meta-smartphone/meta-shr/recipes-shr/3rdparty/openmoko-gps_svn.bb
 RDEPENDS on or otherwise requires it)
ERROR: No eligible RPROVIDERs exist for 'openmoko-gps-dev'
NOTE: Runtime target 'openmoko-gps-dev' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['openmoko-gps-dev']
ERROR: Nothing RPROVIDES 'openmoko-gps' (but 
/home/jenkins/oe/world/shr-core/meta-smartphone/meta-shr/recipes-shr/3rdparty/openmoko-gps_svn.bb
 RDEPENDS on or otherwise requires it)
ERROR: No eligible RPROVIDERs exist for 'openmoko-gps'
NOTE: Runtime target 'openmoko-gps' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['openmoko-gps']
ERROR: Nothing RPROVIDES 'atd-over-fso-dev' (but 
/home/jenkins/oe/world/shr-core/meta-smartphone/meta-shr/recipes-shr/3rdparty/atd-over-f

Re: [oe] [meta-webserver] where is mysql5

2016-03-10 Thread Gary Thomas

On 2016-03-10 15:03, Gary Thomas wrote:

This is a dependency for meta-webserver/cherokee

Where can I find it?  Is this recipe broken?



Found it - replaced by mariadb

Sorry for the noise

--

Gary Thomas |  Consulting for the
MLB Associates  |Embedded world

--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-webserver] where is mysql5

2016-03-10 Thread Gary Thomas

This is a dependency for meta-webserver/cherokee

Where can I find it?  Is this recipe broken?

--

Gary Thomas |  Consulting for the
MLB Associates  |Embedded world

--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-webserver] modphp

2016-03-10 Thread Gary Thomas

On 2016-03-10 14:36, Martin Jansa wrote:

On Thu, Mar 10, 2016 at 02:05:46PM +0100, Gary Thomas wrote:

On 2016-03-10 14:02, Martin Jansa wrote:

On Thu, Mar 10, 2016 at 01:18:59PM +0100, Gary Thomas wrote:

On 2016-03-10 11:55, Martin Jansa wrote:

On Thu, Mar 10, 2016 at 10:41:25AM +0100, Gary Thomas wrote:

Anyone know what happened to the recipe for modphp which was
in meta-oe (maybe before meta-webserver) circa 2013?  I can't
find a recipe for this anywhere.


Why not try git log?


Of course!  I don't often search logs for things I don't know where
to find though.

An aside - doesn't this change make meta-oe depend on meta-webserver
(which doesn't seem like a positive relationship)?


What in meta-oe depends on meta-webserver? I don't see anything.


Select 'apache2' in the package config for php - that would then require
recipe(s) from meta-webserver


That's OK as long as apache2 isn't in default PACKAGECONFIG.

There are couple optional dependencies even in oe-core's PACKAGECONFIGs
which require other layers.



Maybe they should be spelled out in the README?  Just so there are no surprises.


commit f81961ff20d669e0f472f45b9922d6f62ee0d330
Author: Paul Eggleton 
Date:   Mon Jan 5 10:24:53 2015 +

   README: update for modphp merging into php

   Signed-off-by: Paul Eggleton 

commit 06af52095b5be1cb21a7dc9a6a6e05d01f6e7a00
Author: Paul Eggleton 
Date:   Thu Jan 1 23:34:29 2015 +

   modphp: remove

   This is now built out of the standard php recipe.

   Signed-off-by: Paul Eggleton 


--

Gary Thomas |  Consulting for the
MLB Associates  |Embedded world

--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-webserver] modphp

2016-03-10 Thread Martin Jansa
On Thu, Mar 10, 2016 at 02:05:46PM +0100, Gary Thomas wrote:
> On 2016-03-10 14:02, Martin Jansa wrote:
> > On Thu, Mar 10, 2016 at 01:18:59PM +0100, Gary Thomas wrote:
> >> On 2016-03-10 11:55, Martin Jansa wrote:
> >>> On Thu, Mar 10, 2016 at 10:41:25AM +0100, Gary Thomas wrote:
>  Anyone know what happened to the recipe for modphp which was
>  in meta-oe (maybe before meta-webserver) circa 2013?  I can't
>  find a recipe for this anywhere.
> >>>
> >>> Why not try git log?
> >>
> >> Of course!  I don't often search logs for things I don't know where
> >> to find though.
> >>
> >> An aside - doesn't this change make meta-oe depend on meta-webserver
> >> (which doesn't seem like a positive relationship)?
> >
> > What in meta-oe depends on meta-webserver? I don't see anything.
> 
> Select 'apache2' in the package config for php - that would then require
> recipe(s) from meta-webserver

That's OK as long as apache2 isn't in default PACKAGECONFIG.

There are couple optional dependencies even in oe-core's PACKAGECONFIGs
which require other layers.

> >>> commit f81961ff20d669e0f472f45b9922d6f62ee0d330
> >>> Author: Paul Eggleton 
> >>> Date:   Mon Jan 5 10:24:53 2015 +
> >>>
> >>>   README: update for modphp merging into php
> >>>
> >>>   Signed-off-by: Paul Eggleton 
> >>>
> >>> commit 06af52095b5be1cb21a7dc9a6a6e05d01f6e7a00
> >>> Author: Paul Eggleton 
> >>> Date:   Thu Jan 1 23:34:29 2015 +
> >>>
> >>>   modphp: remove
> >>>
> >>>   This is now built out of the standard php recipe.
> >>>
> >>>   Signed-off-by: Paul Eggleton 
> 
> -- 
> 
> Gary Thomas |  Consulting for the
> MLB Associates  |Embedded world
> 
> -- 
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com


signature.asc
Description: Digital signature
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH] mpv: Media Player

2016-03-10 Thread Gary Thomas

On 2016-03-10 14:11, Martin Jansa wrote:

On Thu, Mar 10, 2016 at 02:02:23PM +0100, Gary Thomas wrote:

On 2016-03-10 09:18, Gary Thomas wrote:

On 2016-03-10 08:57, Martin Jansa wrote:

I did and there was still:
FILES_${PN} += "${prefix}"

that's why I've asked again here.


Now I understand why you're asking.  I'll verify that it works correctly
without that line, just using the standard packaging.  If so, need I send
another patch revision or can you just leave that one line out when you merge?


The answer is yes, it does install to some non-standard paths.  At least as
the configuration currently stands, it needs
FILES_${PN} += "${prefix}/etc ${prefix}/share"


Why doesn't it respect ${sysconfdir} and ${datadir}?
Maybe you need to pass more configure flags?



I'll look at it and see if I can get it to play nice.







On Thu, Mar 10, 2016 at 8:40 AM, Gary Thomas  wrote:


On 2016-03-10 08:33, Martin Jansa wrote:


On Thu, Mar 10, 2016 at 05:42:39AM +0100, Gary Thomas wrote:


On 2016-03-09 20:15, Martin Jansa wrote:


On Wed, Mar 09, 2016 at 07:20:33AM +0100, Gary Thomas wrote:


mpv is a fork of mplayer2 and MPlayer. It shares some features with
the former projects while introducing many more.

Signed-off-by: Gary Thomas 
---
 meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb | 60

 1 file changed, 60 insertions(+)
 create mode 100644 meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb

diff --git a/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
b/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
new file mode 100644
index 000..37e4b02
--- /dev/null
+++ b/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
@@ -0,0 +1,60 @@
+SUMMARY = "Open Source multimedia player"
+SECTION = "multimedia"
+HOMEPAGE = "http://www.mpv.io/";
+DEPENDS = "zlib ffmpeg jpeg virtual/libx11 xsp libxv libxscrnsaver"
+
+# Depends on xsp, libxv, virtual/libx11, libxscrnsaver
+REQUIRED_DISTRO_FEATURES = "x11"
+
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM =
"file://LICENSE;md5=91f1cb870c1cc2d31351a4d2595441cb"
+
+SRC_URI = "
https://github.com/mpv-player/mpv/archive/v${PV}.tar.gz;name=mpv \
+
http://www.freehackers.org/~tnagy/release/waf-1.8.12;name=waf \
+"
+SRC_URI[mpv.md5sum] = "9042bd3fbff2bc8ba0b7fadaa4a22101"
+SRC_URI[mpv.sha256sum] =
"7d31217ba8572f364fcea2955733f821374ae6d8c6d8f22f8bc63c44c0400bdc"
+SRC_URI[waf.md5sum] = "cef4ee82206b1843db082d0b0506bf71"
+SRC_URI[waf.sha256sum] =
"01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b"
+
+EXTRA_OECONF = " \
+--prefix=${D}/usr \


why not ${prefix} and does it really need to be prefixed with ${D}
(unlike mandir bellow)? Ugly waf.




What about ${D}?

+--mandir=${mandir} \

+--target=${SIMPLE_TARGET_SYS} \
+--disable-gl \
+--disable-libsmbclient \
+--disable-libass \
+--disable-lua \
+--disable-libass-osd \
+--disable-encoding \
+--disable-libbluray \
+--disable-dvdread \
+--disable-dvdnav \
+--disable-cdda \
+--disable-enca \
+--disable-libguess \
+--disable-uchardet \
+--disable-rubberband \
+--disable-lcms2 \
+--disable-vapoursynth \
+--disable-vapoursynth-lazy \
+--enable-libarchive \
+"
+
+do_configure() {
+if [ ! -L ../waf ]; then
+chmod a+x ../waf-1.8.12
+   ln -s waf-1.8.12 ../waf
+fi
+../waf configure ${EXTRA_OECONF}
+}
+
+do_compile () {
+../waf build
+}
+
+do_install() {
+../waf install
+}
+
+FILES_${PN} += "/usr/"



${prefix}?

Does it install files in strange directories not covered by standard
FILES?



Use of ${prefix} does seem correct, I've updated the recipe.
Patch v2 has been dispatched, including a required update to
the libass package which was necessary to get a fully functional
mpv.



Does it install files in strange directories not covered by standard
FILES?



No, but it doesn't seem to have any notion of adjusting the install
directory except at configure time, hence ${D}${prefix}

Please refer to the new patchset to see how I've changed the recipe.


--

Gary Thomas |  Consulting for the
MLB Associates  |Embedded world

--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH] mpv: Media Player

2016-03-10 Thread Martin Jansa
On Thu, Mar 10, 2016 at 02:02:23PM +0100, Gary Thomas wrote:
> On 2016-03-10 09:18, Gary Thomas wrote:
> > On 2016-03-10 08:57, Martin Jansa wrote:
> >> I did and there was still:
> >> FILES_${PN} += "${prefix}"
> >>
> >> that's why I've asked again here.
> >
> > Now I understand why you're asking.  I'll verify that it works correctly
> > without that line, just using the standard packaging.  If so, need I send
> > another patch revision or can you just leave that one line out when you 
> > merge?
> 
> The answer is yes, it does install to some non-standard paths.  At least as
> the configuration currently stands, it needs
>FILES_${PN} += "${prefix}/etc ${prefix}/share"

Why doesn't it respect ${sysconfdir} and ${datadir}?
Maybe you need to pass more configure flags?

> 
> >
> >>
> >> On Thu, Mar 10, 2016 at 8:40 AM, Gary Thomas  wrote:
> >>
> >>> On 2016-03-10 08:33, Martin Jansa wrote:
> >>>
>  On Thu, Mar 10, 2016 at 05:42:39AM +0100, Gary Thomas wrote:
> 
> > On 2016-03-09 20:15, Martin Jansa wrote:
> >
> >> On Wed, Mar 09, 2016 at 07:20:33AM +0100, Gary Thomas wrote:
> >>
> >>> mpv is a fork of mplayer2 and MPlayer. It shares some features with
> >>> the former projects while introducing many more.
> >>>
> >>> Signed-off-by: Gary Thomas 
> >>> ---
> >>> meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb | 60
> >>> 
> >>> 1 file changed, 60 insertions(+)
> >>> create mode 100644 
> >>> meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
> >>>
> >>> diff --git a/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
> >>> b/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
> >>> new file mode 100644
> >>> index 000..37e4b02
> >>> --- /dev/null
> >>> +++ b/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
> >>> @@ -0,0 +1,60 @@
> >>> +SUMMARY = "Open Source multimedia player"
> >>> +SECTION = "multimedia"
> >>> +HOMEPAGE = "http://www.mpv.io/";
> >>> +DEPENDS = "zlib ffmpeg jpeg virtual/libx11 xsp libxv libxscrnsaver"
> >>> +
> >>> +# Depends on xsp, libxv, virtual/libx11, libxscrnsaver
> >>> +REQUIRED_DISTRO_FEATURES = "x11"
> >>> +
> >>> +LICENSE = "GPLv2+"
> >>> +LIC_FILES_CHKSUM =
> >>> "file://LICENSE;md5=91f1cb870c1cc2d31351a4d2595441cb"
> >>> +
> >>> +SRC_URI = "
> >>> https://github.com/mpv-player/mpv/archive/v${PV}.tar.gz;name=mpv \
> >>> +
> >>> http://www.freehackers.org/~tnagy/release/waf-1.8.12;name=waf \
> >>> +"
> >>> +SRC_URI[mpv.md5sum] = "9042bd3fbff2bc8ba0b7fadaa4a22101"
> >>> +SRC_URI[mpv.sha256sum] =
> >>> "7d31217ba8572f364fcea2955733f821374ae6d8c6d8f22f8bc63c44c0400bdc"
> >>> +SRC_URI[waf.md5sum] = "cef4ee82206b1843db082d0b0506bf71"
> >>> +SRC_URI[waf.sha256sum] =
> >>> "01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b"
> >>> +
> >>> +EXTRA_OECONF = " \
> >>> +--prefix=${D}/usr \
> >>>
> >> why not ${prefix} and does it really need to be prefixed with ${D}
> >> (unlike mandir bellow)? Ugly waf.
> >>
> >
>  What about ${D}?
> 
>  +--mandir=${mandir} \
> >>> +--target=${SIMPLE_TARGET_SYS} \
> >>> +--disable-gl \
> >>> +--disable-libsmbclient \
> >>> +--disable-libass \
> >>> +--disable-lua \
> >>> +--disable-libass-osd \
> >>> +--disable-encoding \
> >>> +--disable-libbluray \
> >>> +--disable-dvdread \
> >>> +--disable-dvdnav \
> >>> +--disable-cdda \
> >>> +--disable-enca \
> >>> +--disable-libguess \
> >>> +--disable-uchardet \
> >>> +--disable-rubberband \
> >>> +--disable-lcms2 \
> >>> +--disable-vapoursynth \
> >>> +--disable-vapoursynth-lazy \
> >>> +--enable-libarchive \
> >>> +"
> >>> +
> >>> +do_configure() {
> >>> +if [ ! -L ../waf ]; then
> >>> +chmod a+x ../waf-1.8.12
> >>> +   ln -s waf-1.8.12 ../waf
> >>> +fi
> >>> +../waf configure ${EXTRA_OECONF}
> >>> +}
> >>> +
> >>> +do_compile () {
> >>> +../waf build
> >>> +}
> >>> +
> >>> +do_install() {
> >>> +../waf install
> >>> +}
> >>> +
> >>> +FILES_${PN} += "/usr/"
> >>>
> >>
> >> ${prefix}?
> >>
> >> Does it install files in strange directories not covered by standard
> >> FILES?
> >>
> >>
> > Use of ${prefix} does seem correct, I've updated the recipe.
> > Patch v2 has been dispatched, including a required update to
> > the libass package which was necessary to get a fully functional
> > mpv.
> >
> 
>  Does it install files in strange directories not covered by standard
>  FILES?
> 
> >>>
> >>> No, but it doesn't seem to have any notion of adjusting the install
> >>> directory except at configure time, hence ${D}${p

Re: [oe] [meta-webserver] modphp

2016-03-10 Thread Gary Thomas

On 2016-03-10 14:02, Martin Jansa wrote:

On Thu, Mar 10, 2016 at 01:18:59PM +0100, Gary Thomas wrote:

On 2016-03-10 11:55, Martin Jansa wrote:

On Thu, Mar 10, 2016 at 10:41:25AM +0100, Gary Thomas wrote:

Anyone know what happened to the recipe for modphp which was
in meta-oe (maybe before meta-webserver) circa 2013?  I can't
find a recipe for this anywhere.


Why not try git log?


Of course!  I don't often search logs for things I don't know where
to find though.

An aside - doesn't this change make meta-oe depend on meta-webserver
(which doesn't seem like a positive relationship)?


What in meta-oe depends on meta-webserver? I don't see anything.


Select 'apache2' in the package config for php - that would then require
recipe(s) from meta-webserver




commit f81961ff20d669e0f472f45b9922d6f62ee0d330
Author: Paul Eggleton 
Date:   Mon Jan 5 10:24:53 2015 +

  README: update for modphp merging into php

  Signed-off-by: Paul Eggleton 

commit 06af52095b5be1cb21a7dc9a6a6e05d01f6e7a00
Author: Paul Eggleton 
Date:   Thu Jan 1 23:34:29 2015 +

  modphp: remove

  This is now built out of the standard php recipe.

  Signed-off-by: Paul Eggleton 


--

Gary Thomas |  Consulting for the
MLB Associates  |Embedded world

--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH] mpv: Media Player

2016-03-10 Thread Gary Thomas

On 2016-03-10 09:18, Gary Thomas wrote:

On 2016-03-10 08:57, Martin Jansa wrote:

I did and there was still:
FILES_${PN} += "${prefix}"

that's why I've asked again here.


Now I understand why you're asking.  I'll verify that it works correctly
without that line, just using the standard packaging.  If so, need I send
another patch revision or can you just leave that one line out when you merge?


The answer is yes, it does install to some non-standard paths.  At least as
the configuration currently stands, it needs
  FILES_${PN} += "${prefix}/etc ${prefix}/share"





On Thu, Mar 10, 2016 at 8:40 AM, Gary Thomas  wrote:


On 2016-03-10 08:33, Martin Jansa wrote:


On Thu, Mar 10, 2016 at 05:42:39AM +0100, Gary Thomas wrote:


On 2016-03-09 20:15, Martin Jansa wrote:


On Wed, Mar 09, 2016 at 07:20:33AM +0100, Gary Thomas wrote:


mpv is a fork of mplayer2 and MPlayer. It shares some features with
the former projects while introducing many more.

Signed-off-by: Gary Thomas 
---
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb | 60

1 file changed, 60 insertions(+)
create mode 100644 meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb

diff --git a/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
b/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
new file mode 100644
index 000..37e4b02
--- /dev/null
+++ b/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
@@ -0,0 +1,60 @@
+SUMMARY = "Open Source multimedia player"
+SECTION = "multimedia"
+HOMEPAGE = "http://www.mpv.io/";
+DEPENDS = "zlib ffmpeg jpeg virtual/libx11 xsp libxv libxscrnsaver"
+
+# Depends on xsp, libxv, virtual/libx11, libxscrnsaver
+REQUIRED_DISTRO_FEATURES = "x11"
+
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM =
"file://LICENSE;md5=91f1cb870c1cc2d31351a4d2595441cb"
+
+SRC_URI = "
https://github.com/mpv-player/mpv/archive/v${PV}.tar.gz;name=mpv \
+
http://www.freehackers.org/~tnagy/release/waf-1.8.12;name=waf \
+"
+SRC_URI[mpv.md5sum] = "9042bd3fbff2bc8ba0b7fadaa4a22101"
+SRC_URI[mpv.sha256sum] =
"7d31217ba8572f364fcea2955733f821374ae6d8c6d8f22f8bc63c44c0400bdc"
+SRC_URI[waf.md5sum] = "cef4ee82206b1843db082d0b0506bf71"
+SRC_URI[waf.sha256sum] =
"01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b"
+
+EXTRA_OECONF = " \
+--prefix=${D}/usr \


why not ${prefix} and does it really need to be prefixed with ${D}
(unlike mandir bellow)? Ugly waf.




What about ${D}?

+--mandir=${mandir} \

+--target=${SIMPLE_TARGET_SYS} \
+--disable-gl \
+--disable-libsmbclient \
+--disable-libass \
+--disable-lua \
+--disable-libass-osd \
+--disable-encoding \
+--disable-libbluray \
+--disable-dvdread \
+--disable-dvdnav \
+--disable-cdda \
+--disable-enca \
+--disable-libguess \
+--disable-uchardet \
+--disable-rubberband \
+--disable-lcms2 \
+--disable-vapoursynth \
+--disable-vapoursynth-lazy \
+--enable-libarchive \
+"
+
+do_configure() {
+if [ ! -L ../waf ]; then
+chmod a+x ../waf-1.8.12
+   ln -s waf-1.8.12 ../waf
+fi
+../waf configure ${EXTRA_OECONF}
+}
+
+do_compile () {
+../waf build
+}
+
+do_install() {
+../waf install
+}
+
+FILES_${PN} += "/usr/"



${prefix}?

Does it install files in strange directories not covered by standard
FILES?



Use of ${prefix} does seem correct, I've updated the recipe.
Patch v2 has been dispatched, including a required update to
the libass package which was necessary to get a fully functional
mpv.



Does it install files in strange directories not covered by standard
FILES?



No, but it doesn't seem to have any notion of adjusting the install
directory except at configure time, hence ${D}${prefix}

Please refer to the new patchset to see how I've changed the recipe.






--

Gary Thomas |  Consulting for the
MLB Associates  |Embedded world

--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-webserver] modphp

2016-03-10 Thread Martin Jansa
On Thu, Mar 10, 2016 at 01:18:59PM +0100, Gary Thomas wrote:
> On 2016-03-10 11:55, Martin Jansa wrote:
> > On Thu, Mar 10, 2016 at 10:41:25AM +0100, Gary Thomas wrote:
> >> Anyone know what happened to the recipe for modphp which was
> >> in meta-oe (maybe before meta-webserver) circa 2013?  I can't
> >> find a recipe for this anywhere.
> >
> > Why not try git log?
> 
> Of course!  I don't often search logs for things I don't know where
> to find though.
> 
> An aside - doesn't this change make meta-oe depend on meta-webserver
> (which doesn't seem like a positive relationship)?

What in meta-oe depends on meta-webserver? I don't see anything.

> > commit f81961ff20d669e0f472f45b9922d6f62ee0d330
> > Author: Paul Eggleton 
> > Date:   Mon Jan 5 10:24:53 2015 +
> >
> >  README: update for modphp merging into php
> >
> >  Signed-off-by: Paul Eggleton 
> >
> > commit 06af52095b5be1cb21a7dc9a6a6e05d01f6e7a00
> > Author: Paul Eggleton 
> > Date:   Thu Jan 1 23:34:29 2015 +
> >
> >  modphp: remove
> >
> >  This is now built out of the standard php recipe.
> >
> >  Signed-off-by: Paul Eggleton 
> 
> -- 
> 
> Gary Thomas |  Consulting for the
> MLB Associates  |Embedded world
> 
> -- 
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com


signature.asc
Description: Digital signature
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH][meta-oe] luajit: depend on luajit-native to provide host lua

2016-03-10 Thread Martin Jansa
* otherwise minilua for host is built during build of target lua, see
  comment in Makefile:
  # If left blank, minilua is built and used. You can supply an installed
  # copy of (plain) Lua 5.1 or 5.2, plus Lua BitOp. E.g. with: HOST_LUA=lua
* be aware that there is still native buildvm which needs the same headers
  if it fails for you, then you probably need to install libc6-dev:i386
  which installs these headers to hosts /usr/include, some architectures
  are passing HOST_CC="${BUILD_CC} -m32" in EXTRA_OEMAKE, that's why
  you need 32bit headers on 64bit host.
* building native minilua fails on some hosts like this:
  ERROR: luajit-2.0.4-r0 do_compile: oe_runmake failed
  ERROR: luajit-2.0.4-r0 do_compile: Function failed: do_compile (log file is 
located at 
/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/luajit/2.0.4-r0/temp/log.do_compile.3067)
  ERROR: Logfile of failure stored in: 
/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/luajit/2.0.4-r0/temp/log.do_compile.3067
  Log data follows:
  | DEBUG: Executing shell function do_compile
  | NOTE: make -j 8 CROSS=arm-oe-linux-gnueabi- TARGET_CFLAGS= 
--sysroot=/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm  
-march=armv5te -mthumb TARGET_LDFLAGS= 
--sysroot=/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm 
TARGET_SHLDFLAGS= 
--sysroot=/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm 
HOST_CC=gcc  -m32
  |  Building LuaJIT 2.0.4 
  | make -C src
  | make[1]: Entering directory 
`/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/luajit/2.0.4-r0/LuaJIT-2.0.4/src'
  | HOSTCChost/buildvm_asm.o
  | HOSTCChost/minilua.o
  | HOSTCChost/buildvm_peobj.o
  | HOSTCChost/buildvm_lib.o
  | HOSTCChost/buildvm_fold.o
  | CClj_gc.o
  | CClj_obj.o
  | CClj_char.o
  | In file included from host/buildvm_peobj.c:9:0:
  | host/buildvm.h:9:23: fatal error: sys/types.h: No such file or directory
  |  #include 
  |^
  | compilation terminated.
  | In file included from host/buildvm_fold.c:6:0:
  | host/buildvm.h:9:23: fatal error: sys/types.h: No such file or directory
  |  #include 
  |^
  | compilation terminated.
  | In file included from host/buildvm_asm.c:6:0:
  | host/buildvm.h:9:23: fatal error: sys/types.h: No such file or directory
  |  #include 
  |^
  | compilation terminated.
  | In file included from host/buildvm_lib.c:6:0:
  | host/buildvm.h:9:23: fatal error: sys/types.h: No such file or directory
  |  #include 
  |^
  | compilation terminated.
  | In file included from /usr/include/limits.h:25:0,
  |  from 
/usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed/limits.h:168,
  |  from 
/usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed/syslimits.h:7,
  |  from 
/usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed/limits.h:34,
  |  from host/minilua.c:33:
  | /usr/include/features.h:374:25: fatal error: sys/cdefs.h: No such file or 
directory
  |  #  include 
  |  ^
  | compilation terminated.
  | make[1]: *** [host/buildvm_lib.o] Error 1
  | make[1]: *** Waiting for unfinished jobs
  | make[1]: *** [host/buildvm_fold.o] Error 1
  | make[1]: *** [host/buildvm_asm.o] Error 1
  | make[1]: *** [host/buildvm_peobj.o] Error 1
  | make[1]: *** [host/minilua.o] Error 1
  | make[1]: Leaving directory 
`/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/luajit/2.0.4-r0/LuaJIT-2.0.4/src'
  | make: *** [default] Error 2
  | ERROR: oe_runmake failed
  | ERROR: Function failed: do_compile (log file is located at 
/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/luajit/2.0.4-r0/temp/log.do_compile.3067)
  NOTE: recipe luajit-2.0.4-r0: task do_compile: Failed
  ERROR: Task 6 
(/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-devtools/luajit/luajit_2.0.4.bb,
 do_compile) failed with exit code '1'

Signed-off-by: Martin Jansa 
---
 meta-oe/recipes-devtools/luajit/luajit_2.0.4.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-oe/recipes-devtools/luajit/luajit_2.0.4.bb 
b/meta-oe/recipes-devtools/luajit/luajit_2.0.4.bb
index 4a15a4e..9609469 100644
--- a/meta-oe/recipes-devtools/luajit/luajit_2.0.4.bb
+++ b/meta-oe/recipes-devtools/luajit/luajit_2.0.4.bb
@@ -31,6 +31,9 @@ EXTRA_OEMAKE_append_powerpc64 = ' HOST_CC="${BUILD_CC}"'
 EXTRA_OEMAKE_append_arm = ' HOST_CC="${BUILD_CC} -m32"'
 EXTRA_OEMAKE_append_mips64 = ' HOST_CC="${BUILD_CC} -m32"'
 
+DEPENDS_append_class_target = " luajit-native"
+EXTRA_OEMAKE_append_class_target = " HOST_LUA=luajit"
+
 do_compile () {
 oe_runmake
 }
-- 
2.7.2

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-webserver] modphp

2016-03-10 Thread Gary Thomas

On 2016-03-10 11:55, Martin Jansa wrote:

On Thu, Mar 10, 2016 at 10:41:25AM +0100, Gary Thomas wrote:

Anyone know what happened to the recipe for modphp which was
in meta-oe (maybe before meta-webserver) circa 2013?  I can't
find a recipe for this anywhere.


Why not try git log?


Of course!  I don't often search logs for things I don't know where
to find though.

An aside - doesn't this change make meta-oe depend on meta-webserver
(which doesn't seem like a positive relationship)?



commit f81961ff20d669e0f472f45b9922d6f62ee0d330
Author: Paul Eggleton 
Date:   Mon Jan 5 10:24:53 2015 +

 README: update for modphp merging into php

 Signed-off-by: Paul Eggleton 

commit 06af52095b5be1cb21a7dc9a6a6e05d01f6e7a00
Author: Paul Eggleton 
Date:   Thu Jan 1 23:34:29 2015 +

 modphp: remove

 This is now built out of the standard php recipe.

 Signed-off-by: Paul Eggleton 


--

Gary Thomas |  Consulting for the
MLB Associates  |Embedded world

--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH][meta-oe 1/2] compat-wireless: Remove

2016-03-10 Thread Martin Jansa
* some layers already have recipes for linux-backports
* don't know about anyone still using this and fails in default setups
  | make -C 
/home/jenkins/oe/world/shr-core/tmp-glibc/work-shared/qemuarm/kernel-source 
M=/home/jenkins/oe/world/shr-core/tmp-glibc/work/qemuarm-oe-linux-gnueabi/compat-wireless-all/3.6.8-r1.0/compat-wireless-3.6.8-1
 modules
  | make[1]: Entering directory 
`/home/jenkins/oe/world/shr-core/tmp-glibc/work-shared/qemuarm/kernel-source'
  | make[2]: Entering directory 
`/home/jenkins/oe/world/shr-core/tmp-glibc/work-shared/qemuarm/kernel-build-artifacts'
  | 
/home/jenkins/oe/world/shr-core/tmp-glibc/work/qemuarm-oe-linux-gnueabi/compat-wireless-all/3.6.8-r1.0/compat-wireless-3.6.8-1/config.mk:21:
 *** "ERROR: compat-wireless by default supports kernels >= 2.6.24, try 
enabling only one driver though".  Stop.
  | make[2]: *** 
[_module_/home/jenkins/oe/world/shr-core/tmp-glibc/work/qemuarm-oe-linux-gnueabi/compat-wireless-all/3.6.8-r1.0/compat-wireless-3.6.8-1]
 Error 2
  | make[2]: Leaving directory 
`/home/jenkins/oe/world/shr-core/tmp-glibc/work-shared/qemuarm/kernel-build-artifacts'

Signed-off-by: Martin Jansa 
---
 ...-ath5k-fix-compilation-without-CONFIG_PCI.patch | 33 --
 .../compat-wireless/compat-wireless-all_3.6.8.bb   |  5 
 .../compat-wireless/compat-wireless.inc| 33 --
 3 files changed, 71 deletions(-)
 delete mode 100644 
meta-oe/recipes-kernel/compat-wireless/compat-wireless-all/0001-ath5k-fix-compilation-without-CONFIG_PCI.patch
 delete mode 100644 
meta-oe/recipes-kernel/compat-wireless/compat-wireless-all_3.6.8.bb
 delete mode 100644 meta-oe/recipes-kernel/compat-wireless/compat-wireless.inc

diff --git 
a/meta-oe/recipes-kernel/compat-wireless/compat-wireless-all/0001-ath5k-fix-compilation-without-CONFIG_PCI.patch
 
b/meta-oe/recipes-kernel/compat-wireless/compat-wireless-all/0001-ath5k-fix-compilation-without-CONFIG_PCI.patch
deleted file mode 100644
index 3a51266..000
--- 
a/meta-oe/recipes-kernel/compat-wireless/compat-wireless-all/0001-ath5k-fix-compilation-without-CONFIG_PCI.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From fb323acc0b01bcf1ecafb9330c4fbb41cf942139 Mon Sep 17 00:00:00 2001
-From: Denis 'GNUtoo' Carikli 
-Date: Wed, 18 Jul 2012 01:01:52 +0200
-Subject: [PATCH] ath5k: fix compilation without CONFIG_PCI
-
-Without that fix we have:
-  [...]/drivers/net/wireless/ath/ath5k/led.c: In function 'ath5k_init_leds':
-  [...]/drivers/net/wireless/ath/ath5k/led.c:179:2: error: implicit 
declaration of function 'pci_match_id' [-Werror=implicit-function-declaration]
-When CONFIG_PCI is not set.
-
-Upstream-Status: Pending: Not submitted yet.
-
-Signed-off-by: Denis 'GNUtoo' Carikli 

- drivers/net/wireless/ath/ath5k/led.c |2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/drivers/net/wireless/ath/ath5k/led.c 
b/drivers/net/wireless/ath/ath5k/led.c
-index c044476..a4de133 100644
 a/drivers/net/wireless/ath/ath5k/led.c
-+++ b/drivers/net/wireless/ath/ath5k/led.c
-@@ -173,7 +173,7 @@ int __devinit ath5k_init_leds(struct ath5k_hw *ah)
-   if (!ah->pdev)
-   return 0;
- 
--#ifdef CONFIG_ATHEROS_AR231X
-+#if defined(CONFIG_ATHEROS_AR231X) || !defined(CONFIG_PCI)
-   match = NULL;
- #else
-   match = pci_match_id(&ath5k_led_devices[0], pdev);
--- 
-1.7.4.1
-
diff --git 
a/meta-oe/recipes-kernel/compat-wireless/compat-wireless-all_3.6.8.bb 
b/meta-oe/recipes-kernel/compat-wireless/compat-wireless-all_3.6.8.bb
deleted file mode 100644
index 0c407de..000
--- a/meta-oe/recipes-kernel/compat-wireless/compat-wireless-all_3.6.8.bb
+++ /dev/null
@@ -1,5 +0,0 @@
-include compat-wireless.inc
-PR = "${INC_PR}.0"
-
-SRC_URI[md5sum] = "f02849a795137438238b4d166609eacc"
-SRC_URI[sha256sum] = 
"9bbbc72bf0adf73012f377caa38147e90f6d77ef0369b52f9a687bc66bbfbcfa"
diff --git a/meta-oe/recipes-kernel/compat-wireless/compat-wireless.inc 
b/meta-oe/recipes-kernel/compat-wireless/compat-wireless.inc
deleted file mode 100644
index 3981426..000
--- a/meta-oe/recipes-kernel/compat-wireless/compat-wireless.inc
+++ /dev/null
@@ -1,33 +0,0 @@
-DESCRIPTION = "Latest wireless drivers"
-HOMEPAGE = "http://wireless.kernel.org/en/users/Download";
-SECTION = "kernel/modules"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=d7810fab7487fb0aad327b76f1be7cd7"
-RDEPENDS_${PN} = "wireless-tools"
-INC_PR = "r1"
-
-# depends on config options which are not enabled in qemu* MACHINEs by default
-# config.mk:25: *** "ERROR: your kernel has CONFIG_CFG80211=y, you should have 
it CONFIG_CFG80211=m if you want to use this thing.".  Stop.
-EXCLUDE_FROM_WORLD = "1"
-
-COMPAT_WIRELESS_VERSION = "${PV}-1"
-SHRT_VER = 
"${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}"
-
-SRC_URI = " \
-
http://www.orbit-lab.org/kernel/compat-wireless-3-stable/v${SHRT_VER}/compat-wireless-${COMPAT_WIRELESS_VERSION}.tar.bz2
 \
-file://0001-ath5k-fix-compilation-without-CONFIG_P

[oe] [PATCH][meta-oe 2/2] synergy: add dependency on openssl

2016-03-10 Thread Martin Jansa
* otherwise fails with:
  
/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/synergy/1.7.3+1.7.4-rc8+AUTOINC+588fb4b805-r0/git/src/lib/plugin/ns/SecureSocket.cpp:26:25:
  fatal error: openssl/ssl.h: No such file or directory
  compilation terminated.
  make[2]: *** [src/lib/plugin/ns/CMakeFiles/ns.dir/SecureSocket.cpp.o]
  Error 1

Signed-off-by: Martin Jansa 
---
 meta-oe/recipes-support/synergy/synergy_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/synergy/synergy_git.bb 
b/meta-oe/recipes-support/synergy/synergy_git.bb
index d008289..e6057f4 100644
--- a/meta-oe/recipes-support/synergy/synergy_git.bb
+++ b/meta-oe/recipes-support/synergy/synergy_git.bb
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=0f366945b209c5523e39889f636af00a"
 LICENSE = "GPL-2.0"
 SECTION = "x11/utils"
 
-DEPENDS = "virtual/libx11 libxtst libxinerama unzip-native curl"
+DEPENDS = "virtual/libx11 libxtst libxinerama unzip-native curl openssl"
 
 # depends on virtual/libx11
 REQUIRED_DISTRO_FEATURES = "x11"
-- 
2.7.2

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] State of bitbake world, Failed tasks 2016-03-09

2016-03-10 Thread Martin Jansa
Aggressive PNBLACKLISTing continues. But linux-yocto (and modules depending on 
it)
are still broken :/.

I'll look at cef3 and chromium issue, my recent patch for meta-browser
fixed the build for armv7a MACHINEs, so it probably needs to be extended
a bit to cover warnings in x86 and then duplicate the same to cef3.
This issue is there for so long, slowing down the builds significantly
(and causing logs to be much bigger) - I don't use these recipes but I
hate the failures even more.

== Tested changes (not included in master yet) - bitbake ==
cb1a878 world-image: add extra target

== Tested changes (not included in master yet) - openembedded-core ==
6449e8a base.bbclass: Introduce EXTRA_CONF_PACKAGECONFIG variable
7798ea9 recipes: Replace "cp -a" with "cp -R --no-dereference 
--preserve=mode,links"
68b90d8 sstate-sysroot-cruft.sh: Extend the whitelist
e9b143e qemux86: Add identical qemux86copy variant for tests
bb8c50e report-error: Allow to upload reports automatically
2eb85df arch-armv7ve.inc: respect armv7a override as well

== Tested changes (not included in master yet) - meta-openembedded ==
027760c efl-native: add dependency on openssl
45f9db5 python-m2crypt: update package to 0.23.0
125812a libao: update to 1.2.0
403e9e7 nginx: update to 1.9.12
5dbae2c pptp-linux: update to 1.8.0
94ee7cd efibootmgr: update and unblacklist
dfaae50 efivar: update to 0.23
ff55769 dnsmasq: steal resolvconf support from Ubuntu
febc48e wireshark: 2.0.2 update including security

== Tested changes (not included in master yet) - meta-qt5 ==
b2d5376 Change dependency from virtual/mesa to drm in the kms packageconfig.
06bfff5 qtwebengine: enable ARMv7VE support
2a998cc Add .gitignore to ignore .pyc/.pyo files
3eae3fe qmake5_base: use remove-libtool bbclass
bc54e23 recipes: use new EXTRA_CONF_PACKAGECONFIG instead of EXTRA_OECONF

== Tested changes (not included in master yet) - meta-browser ==

== Tested changes (not included in master yet) - meta-webos-ports ==

== Tested changes (not included in master yet) - meta-smartphone ==
c596ff4 linux-gta04: upgrade to 4.4
98b5a2e om-gta04: drop u-boot from EXTRA_IMAGEDEPENDS
eb55ffe defaulttunes.inc: switch to hf, because SGX SDK for SGX530 is available 
only for hf
1d10e4e linux-gta04: enable SGX530
158b3e6 linux-gta04: bump SRCREV to get fixes for build with gcc-5
c469e02 u-boot-mkimage: Backport fix from upstream to fix build with gcc-5

== Number of issues - stats ==
{| class='wikitable'
!|Date   !!colspan='3'|Failed tasks 
!!colspan='12'|QA !!Comment
|-
||  ||qemuarm   ||qemux86   ||qemux86_64
||already-stripped  ||libdir||textrel   ||build-deps
||file-rdeps||version-going-backwards   ||host-user-contaminated
||installed-vs-shipped  ||unknown-configure-option  ||symlink-to-sysroot
||invalid-pkgconfig ||pkgname   ||  
|-
||2016-03-09||2 ||6 ||10||0 ||0 ||1 
||1 ||25||0 ||0 ||0 
||0 ||0 ||0 ||0 ||  
|}

http://www.openembedded.org/wiki/Bitbake_World_Status

== Failed tasks 2016-03-09 ==

INFO: jenkins-job.sh-1.7.1 Complete log available at 
http://logs.nslu2-linux.org/buildlogs/oe/world/log.report.20160310_105528.log

=== common (2) ===
* /meta-openembedded/meta-oe/recipes-extended/efivar/efivar_0.23.bb, 
do_compile
* 
/meta-openembedded/meta-python/recipes-devtools/python/python-cryptography_1.1.bb,
 do_compile

=== common-x86 (2) ===
* /meta-browser/recipes-browser/chromium/cef3_280796.bb, do_compile
* /meta-browser/recipes-browser/chromium/chromium_40.0.2214.91.bb, 
do_compile

=== qemuarm (0) ===

=== qemux86 (2) ===
* 
/meta-openembedded/meta-python/recipes-devtools/python/python-m2crypto_0.23.0.bb,
 do_compile
* /openembedded-core/meta/recipes-kernel/linux/linux-yocto_4.4.bb, 
do_compile

=== qemux86_64 (6) ===
* 
/meta-openembedded/meta-networking/recipes-kernel/netmap/netmap-modules_git.bb, 
do_configure
* 
/meta-openembedded/meta-networking/recipes-kernel/netmap/netmap-modules_git.bb, 
do_make_scripts
* 
/meta-openembedded/meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_4.3.36.bb,
 do_make_scripts
* 
/meta-openembedded/meta-python/recipes-devtools/python/python-matplotlib_1.1.0.bb,
 do_compile
* /openembedded-core/meta/recipes-kernel/cryptodev/cryptodev-module_1.8.bb, 
do_make_scripts
* /openembedded-core/meta/recipes-kernel/lttng/lttng-modules_git.bb, 
do_make_scripts

=== Number of failed tasks (18) ===
{| class=wikitable
|-
|| qemuarm  || 2 || 
http://logs.nslu2-linux.org/buildlogs/oe/world//log.world.20160309_064229.log// 
|| http://errors.yoctoproject.org:80/Errors/Build/13789/
|-
|| qemux86  || 6 || 
http://logs.nslu2-linux.org/buildlogs/oe/world//log.world.20160309_090431.log// 
|| http://errors.yoctoproject.org:80/Erro

[oe] [PATCH][meta-oe 3/4] system-config-keyboard: inherit gettext and add dependency on intltool-native

2016-03-10 Thread Martin Jansa
* it actually depends on native intltool:
  NOTE: recipe system-config-keyboard-1.4.0-r0: task do_compile: Started
  ERROR: system-config-keyboard-1.4.0-r0 do_compile: oe_runmake failed
  ERROR: system-config-keyboard-1.4.0-r0 do_compile: Function failed: 
do_compile (log file is located at 
/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/system-config-keyboard/1.4.0-r0/temp/log.do_compile.16052)
  ERROR: Logfile of failure stored in: 
/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/system-config-keyboard/1.4.0-r0/temp/log.do_compile.16052
  Log data follows:
  | DEBUG: Executing shell function do_compile
  | NOTE: make -j 8 
PYTHON=/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/python-native/python
 PYTHON_SITELIB=/usr/lib/python2.7/site-packages
  | make: intltool-merge: Command not found
  | make: *** [system-config-keyboard.desktop] Error 127
  | ERROR: oe_runmake failed
  | ERROR: Function failed: do_compile (log file is located at 
/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/system-config-keyboard/1.4.0-r0/temp/log.do_compile.16052)
  NOTE: recipe system-config-keyboard-1.4.0-r0: task do_compile: Failed
* and it also used gettext:
  | DEBUG: Executing shell function do_compile
  | NOTE: make -j 8
  
PYTHON=/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/python-native/python
  PYTHON_SITELIB=/usr/lib/python2.7/site-packages
  | cd po && for i in *.po; do msgfmt $i -o $(echo $i |sed s/.po/.mo/) ||
  exit 1; done
  | echo -e "#!/bin/sh\nexec /usr/bin/pkexec
  /usr/sbin/system-config-keyboard \"\$@\"" > "system-config-keyboard.sh"
  | chmod 755 "system-config-keyboard.sh"
  | /bin/sh: 1: msgfmt: not found
  | make: *** [gettext] Error 1
  | make: *** Waiting for unfinished jobs
  | Merging translations into system-config-keyboard.desktop.
  | WARNING: exit code 1 from a shell command.
  | ERROR: oe_runmake failed
  | ERROR: Function failed: do_compile (log file is located at
  
/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/system-config-keyboard/1.4.0-r0/temp/log.do_compile.23230)

Signed-off-by: Martin Jansa 
---
 .../system-config-keyboard/system-config-keyboard_1.4.0.bb| 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/meta-oe/recipes-support/system-config-keyboard/system-config-keyboard_1.4.0.bb
 
b/meta-oe/recipes-support/system-config-keyboard/system-config-keyboard_1.4.0.bb
index eaca96d..078fcea 100644
--- 
a/meta-oe/recipes-support/system-config-keyboard/system-config-keyboard_1.4.0.bb
+++ 
b/meta-oe/recipes-support/system-config-keyboard/system-config-keyboard_1.4.0.bb
@@ -6,7 +6,9 @@ SRC_URI = 
"https://fedorahosted.org/releases/s/y/${BPN}/${BP}.tar.bz2";
 SRC_URI[md5sum] = "c267db0ee7a2131ba418399dc17f9e72"
 SRC_URI[sha256sum] = 
"218c883e4e2bfcc82bfe07e785707b5c2ece28df772f2155fd044b9bb1614284"
 inherit python-dir
-DEPENDS = "intltool"
+
+inherit python-dir gettext
+DEPENDS = "intltool-native"
 
 EXTRA_OEMAKE = " \
 PYTHON='${STAGING_BINDIR_NATIVE}'/python-native/python \
-- 
2.7.2

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH][meta-oe 2/4] dfu-util: upgrade to 0.9

2016-03-10 Thread Martin Jansa
* drop
  commit 0792623dfa8156fb0af3f3949c901665e2df3d04
  Author: Stefan `Sec` Zehl 
  Date:   Wed Jul 29 01:39:11 2015 +0200

Fix/reimplement USBPATH support

Using libusb functions to retrieve port and bus numbers.

Thanks to Topi Kuutela for reviewing and testing the patch.

Also thanks to Timo Poikola and Topi Kuutela for having submitted
alternative patches.

https://sourceforge.net/p/dfu-util/tickets/6/

Signed-off-by: Martin Jansa 
---
 ...u-util-native_0.8.bb => dfu-util-native_0.9.bb} |  7 ++--
 ...-Revert-Makefile.am-Drop-static-dfu-util.patch} |  6 ++--
 ...0001-configure.ac-Don-t-check-for-usbpath.patch | 38 --
 meta-oe/recipes-support/dfu-util/dfu-util_0.8.bb   | 17 --
 meta-oe/recipes-support/dfu-util/dfu-util_0.9.bb   | 14 
 5 files changed, 19 insertions(+), 63 deletions(-)
 rename meta-oe/recipes-support/dfu-util/{dfu-util-native_0.8.bb => 
dfu-util-native_0.9.bb} (78%)
 rename 
meta-oe/recipes-support/dfu-util/dfu-util/{0002-Revert-Makefile.am-Drop-static-dfu-util.patch
 => 0001-Revert-Makefile.am-Drop-static-dfu-util.patch} (90%)
 delete mode 100644 
meta-oe/recipes-support/dfu-util/dfu-util/0001-configure.ac-Don-t-check-for-usbpath.patch
 delete mode 100644 meta-oe/recipes-support/dfu-util/dfu-util_0.8.bb
 create mode 100644 meta-oe/recipes-support/dfu-util/dfu-util_0.9.bb

diff --git a/meta-oe/recipes-support/dfu-util/dfu-util-native_0.8.bb 
b/meta-oe/recipes-support/dfu-util/dfu-util-native_0.9.bb
similarity index 78%
rename from meta-oe/recipes-support/dfu-util/dfu-util-native_0.8.bb
rename to meta-oe/recipes-support/dfu-util/dfu-util-native_0.9.bb
index 8be9d85..7a7a662 100644
--- a/meta-oe/recipes-support/dfu-util/dfu-util-native_0.8.bb
+++ b/meta-oe/recipes-support/dfu-util/dfu-util-native_0.9.bb
@@ -1,19 +1,16 @@
 require dfu-util_${PV}.bb
 
 inherit native deploy
-do_deploy[sstate-outputdirs] = "${DEPLOY_DIR_TOOLS}"
 
 DEPENDS = "libusb1-native"
 
-FILESPATH =. "${FILE_DIRNAME}/${BPN}-${PV}:"
-SRC_URI += "file://0002-Revert-Makefile.am-Drop-static-dfu-util.patch"
+SRC_URI += "file://0001-Revert-Makefile.am-Drop-static-dfu-util.patch"
 
+do_deploy[sstate-outputdirs] = "${DEPLOY_DIR_TOOLS}"
 do_deploy() {
 install -d ${DEPLOY_DIR_TOOLS}
 install -m 0755 src/dfu-util_static ${DEPLOY_DIR_TOOLS}/dfu-util-${PV}
 rm -f ${DEPLOY_DIR_TOOLS}/dfu-util
 ln -sf ./dfu-util-${PV} ${DEPLOY_DIR_TOOLS}/dfu-util
-
 }
-
 addtask deploy before do_package after do_install
diff --git 
a/meta-oe/recipes-support/dfu-util/dfu-util/0002-Revert-Makefile.am-Drop-static-dfu-util.patch
 
b/meta-oe/recipes-support/dfu-util/dfu-util/0001-Revert-Makefile.am-Drop-static-dfu-util.patch
similarity index 90%
rename from 
meta-oe/recipes-support/dfu-util/dfu-util/0002-Revert-Makefile.am-Drop-static-dfu-util.patch
rename to 
meta-oe/recipes-support/dfu-util/dfu-util/0001-Revert-Makefile.am-Drop-static-dfu-util.patch
index 7bd965b..1c6ad08 100644
--- 
a/meta-oe/recipes-support/dfu-util/dfu-util/0002-Revert-Makefile.am-Drop-static-dfu-util.patch
+++ 
b/meta-oe/recipes-support/dfu-util/dfu-util/0001-Revert-Makefile.am-Drop-static-dfu-util.patch
@@ -1,7 +1,7 @@
-From 7d613b28c1b48b5cc3a0882d24e0ac938faff4c2 Mon Sep 17 00:00:00 2001
+From c2aab3b9ae1febcb6b4c6561a59df1930a57b394 Mon Sep 17 00:00:00 2001
 From: Martin JaMa Jansa 
 Date: Thu, 11 Aug 2011 11:19:52 +0200
-Subject: [PATCH 2/2] Revert "Makefile.am: Drop static dfu-util"
+Subject: [PATCH] Revert "Makefile.am: Drop static dfu-util"
 
 This reverts commit fe0426ddc04f503d148c5e5f931f16b8f674f071.
 
@@ -12,7 +12,7 @@ Signed-off-by: Martin JaMa Jansa 
  2 files changed, 22 insertions(+), 2 deletions(-)
 
 diff --git a/configure.ac b/configure.ac
-index a1dcc7a..bb71e02 100644
+index f5a43b8..6a3757e 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -21,7 +21,7 @@ AS_IF([test x$native_libusb = xno], [
diff --git 
a/meta-oe/recipes-support/dfu-util/dfu-util/0001-configure.ac-Don-t-check-for-usbpath.patch
 
b/meta-oe/recipes-support/dfu-util/dfu-util/0001-configure.ac-Don-t-check-for-usbpath.patch
deleted file mode 100644
index bab4a71..000
--- 
a/meta-oe/recipes-support/dfu-util/dfu-util/0001-configure.ac-Don-t-check-for-usbpath.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From e1811274b61db0f5ca55c50ec96d799e2d85fa06 Mon Sep 17 00:00:00 2001
-From: Martin Jansa 
-Date: Sun, 3 Aug 2014 17:50:06 +0200
-Subject: [PATCH 1/2] configure.ac: Don't check for usbpath
-
-* otherwise it fails to build with -lusb
-  | main.o: In function `resolve_device_path':
-  | dfu-util/0.7-r0/dfu-util-0.7/src/main.c:371: undefined reference to 
`usb_path2devnum'
-  | collect2: error: ld returned 1 exit status
-
-Signed-off-by: Martin Jansa 

- configure.ac | 3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 8622114..a1dcc7a 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -20,14 +20,13 @@ AS_IF([test x$native_libusb = xno], [
- PKG_CHECK_MODULES([USB], 

[oe] [PATCH][meta-oe 4/4] synergy: add dependency on unzip-native

2016-03-10 Thread Martin Jansa
* otherwise may fail with:
  ERROR: synergy-1.7.3+1.7.4-rc8+AUTOINC+588fb4b805-r0 do_unpack_extra: 
Function failed: do_unpack_extra (log file is located at 
/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/synergy/1.7.3+1.7.4-rc8+AUTOINC+588fb4b805-r0/temp/log.do_unpack_extra.11874)
  ERROR: Logfile of failure stored in: 
/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/synergy/1.7.3+1.7.4-rc8+AUTOINC+588fb4b805-r0/temp/log.do_unpack_extra.11874
  Log data follows:
  | DEBUG: Executing shell function do_unpack_extra
  | 
/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/synergy/1.7.3+1.7.4-rc8+AUTOINC+588fb4b805-r0/temp/run.do_unpack_extra.11874:
 105: 
/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/synergy/1.7.3+1.7.4-rc8+AUTOINC+588fb4b805-r0/temp/run.do_unpack_extra.11874:
 unzip: not found
  | WARNING: exit code 127 from a shell command.
  | ERROR: Function failed: do_unpack_extra (log file is located at 
/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/synergy/1.7.3+1.7.4-rc8+AUTOINC+588fb4b805-r0/temp/log.do_unpack_extra.11874)
  NOTE: recipe synergy-1.7.3+1.7.4-rc8+AUTOINC+588fb4b805-r0: task 
do_unpack_extra: Failed
  ERROR: Task 0 
(/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-support/synergy/synergy_git.bb,
 do_unpack_extra) failed with exit code '1'

Signed-off-by: Martin Jansa 
---
 meta-oe/recipes-support/synergy/synergy_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/synergy/synergy_git.bb 
b/meta-oe/recipes-support/synergy/synergy_git.bb
index cb842c8..9b4f22b 100644
--- a/meta-oe/recipes-support/synergy/synergy_git.bb
+++ b/meta-oe/recipes-support/synergy/synergy_git.bb
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=0f366945b209c5523e39889f636af00a"
 LICENSE = "GPL-2.0"
 SECTION = "x11/utils"
 
-DEPENDS = "virtual/libx11 libxtst libxinerama"
+DEPENDS = "virtual/libx11 libxtst libxinerama unzip-native"
 
 # depends on virtual/libx11
 REQUIRED_DISTRO_FEATURES = "x11"
-- 
2.7.2

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH][meta-oe 1/4] dfu-util: fix .patch files

2016-03-10 Thread Martin Jansa
* dfu-util-native was broken since last upgrade in:
  commit c2652c90f726fa1728307afad73c3051ca7660f5
  Author: Li xin 
  Date:   Sun Jan 3 18:07:17 2016 -0800

dfu-util: 0.7 -> 0.8

Upgrade dfu-util from 0.7 to 0.8.

Modify SRC_URI,since the original one can�t be opened.
Modify 0001-configure.ac-Don-t-check-for-usbpath.patch,since the datas has 
been changed.
  because
  0002-Revert-Makefile.am-Drop-static-dfu-util.patch
  didn't apply anymore.
* update
  0001-configure.ac-Don-t-check-for-usbpath.patch
  to keep check for sysexits.h

Signed-off-by: Martin Jansa 
---
 ...0001-configure.ac-Don-t-check-for-usbpath.patch | 10 
 ...2-Revert-Makefile.am-Drop-static-dfu-util.patch | 27 +++---
 2 files changed, 19 insertions(+), 18 deletions(-)

diff --git 
a/meta-oe/recipes-support/dfu-util/dfu-util/0001-configure.ac-Don-t-check-for-usbpath.patch
 
b/meta-oe/recipes-support/dfu-util/dfu-util/0001-configure.ac-Don-t-check-for-usbpath.patch
index 0d48a76..bab4a71 100644
--- 
a/meta-oe/recipes-support/dfu-util/dfu-util/0001-configure.ac-Don-t-check-for-usbpath.patch
+++ 
b/meta-oe/recipes-support/dfu-util/dfu-util/0001-configure.ac-Don-t-check-for-usbpath.patch
@@ -1,11 +1,11 @@
-From 63f6f6882f3813ab22c62806feeab942579a2acf Mon Sep 17 00:00:00 2001
+From e1811274b61db0f5ca55c50ec96d799e2d85fa06 Mon Sep 17 00:00:00 2001
 From: Martin Jansa 
 Date: Sun, 3 Aug 2014 17:50:06 +0200
 Subject: [PATCH 1/2] configure.ac: Don't check for usbpath
 
 * otherwise it fails to build with -lusb
   | main.o: In function `resolve_device_path':
-  | dfu-util/0.8-r0/dfu-util-0.8/src/main.c:371: undefined reference to 
`usb_path2devnum'
+  | dfu-util/0.7-r0/dfu-util-0.7/src/main.c:371: undefined reference to 
`usb_path2devnum'
   | collect2: error: ld returned 1 exit status
 
 Signed-off-by: Martin Jansa 
@@ -14,7 +14,7 @@ Signed-off-by: Martin Jansa 
  1 file changed, 1 insertion(+), 2 deletions(-)
 
 diff --git a/configure.ac b/configure.ac
-index 700b556..fb58473 100644
+index 8622114..a1dcc7a 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -20,14 +20,13 @@ AS_IF([test x$native_libusb = xno], [
@@ -29,10 +29,10 @@ index 700b556..fb58473 100644
  # Checks for header files.
  AC_HEADER_STDC
 -AC_CHECK_HEADERS([usbpath.h windows.h sysexits.h])
-+AC_CHECK_HEADERS([windows.h])
++AC_CHECK_HEADERS([windows.h sysexits.h])
  
  # Checks for typedefs, structures, and compiler characteristics.
  AC_C_CONST
 -- 
-2.0.2
+2.7.2
 
diff --git 
a/meta-oe/recipes-support/dfu-util/dfu-util/0002-Revert-Makefile.am-Drop-static-dfu-util.patch
 
b/meta-oe/recipes-support/dfu-util/dfu-util/0002-Revert-Makefile.am-Drop-static-dfu-util.patch
index de17808..7bd965b 100644
--- 
a/meta-oe/recipes-support/dfu-util/dfu-util/0002-Revert-Makefile.am-Drop-static-dfu-util.patch
+++ 
b/meta-oe/recipes-support/dfu-util/dfu-util/0002-Revert-Makefile.am-Drop-static-dfu-util.patch
@@ -1,4 +1,4 @@
-From 440a026379ff111aaa8314db1c29ffae8f482824 Mon Sep 17 00:00:00 2001
+From 7d613b28c1b48b5cc3a0882d24e0ac938faff4c2 Mon Sep 17 00:00:00 2001
 From: Martin JaMa Jansa 
 Date: Thu, 11 Aug 2011 11:19:52 +0200
 Subject: [PATCH 2/2] Revert "Makefile.am: Drop static dfu-util"
@@ -6,17 +6,16 @@ Subject: [PATCH 2/2] Revert "Makefile.am: Drop static 
dfu-util"
 This reverts commit fe0426ddc04f503d148c5e5f931f16b8f674f071.
 
 Signed-off-by: Martin JaMa Jansa 
-Signed-off-by: Martin Jansa 
 ---
  configure.ac|  2 +-
- src/Makefile.am | 20 +++-
- 2 files changed, 20 insertions(+), 2 deletions(-)
+ src/Makefile.am | 22 +-
+ 2 files changed, 22 insertions(+), 2 deletions(-)
 
 diff --git a/configure.ac b/configure.ac
-index fb58473..09b9e5a 100644
+index a1dcc7a..bb71e02 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -23,7 +23,7 @@ AS_IF([test x$native_libusb = xno], [
+@@ -21,7 +21,7 @@ AS_IF([test x$native_libusb = xno], [
  AC_MSG_ERROR([*** Required libusb-1.0 >= 1.0.0 not installed ***]))
  ])
  
@@ -26,18 +25,18 @@ index fb58473..09b9e5a 100644
  
  # Checks for header files.
 diff --git a/src/Makefile.am b/src/Makefile.am
-index 99df307..28d53f7 100644
+index 70179c4..e8736ee 100644
 --- a/src/Makefile.am
 +++ b/src/Makefile.am
 @@ -1,6 +1,6 @@
- AM_CFLAGS = -Wall
+ AM_CFLAGS = -Wall -Wextra
  
--bin_PROGRAMS = dfu-util dfu-suffix
-+bin_PROGRAMS = dfu-util dfu-util_static dfu-suffix
+-bin_PROGRAMS = dfu-util dfu-suffix dfu-prefix
++bin_PROGRAMS = dfu-util dfu-util_static dfu-suffix dfu-prefix
  dfu_util_SOURCES = main.c \
portable.h \
dfu_load.c \
-@@ -17,6 +17,24 @@ dfu_util_SOURCES = main.c \
+@@ -19,6 +19,26 @@ dfu_util_SOURCES = main.c \
quirks.c \
quirks.h
  
@@ -45,6 +44,8 @@ index 99df307..28d53f7 100644
 +  portable.h \
 +  dfu_load.c \
 +  dfu_load.h \
++  dfu_util.c \
++  dfu_util.h \
 +  dfuse.c \
 +  dfuse.h \
 +  dfuse_

Re: [oe] [meta-webserver] modphp

2016-03-10 Thread Martin Jansa
On Thu, Mar 10, 2016 at 10:41:25AM +0100, Gary Thomas wrote:
> Anyone know what happened to the recipe for modphp which was
> in meta-oe (maybe before meta-webserver) circa 2013?  I can't
> find a recipe for this anywhere.

Why not try git log?

commit f81961ff20d669e0f472f45b9922d6f62ee0d330
Author: Paul Eggleton 
Date:   Mon Jan 5 10:24:53 2015 +

README: update for modphp merging into php

Signed-off-by: Paul Eggleton 

commit 06af52095b5be1cb21a7dc9a6a6e05d01f6e7a00
Author: Paul Eggleton 
Date:   Thu Jan 1 23:34:29 2015 +

modphp: remove

This is now built out of the standard php recipe.

Signed-off-by: Paul Eggleton 

-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com


signature.asc
Description: Digital signature
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] State of bitbake world, test-dependencies 2016-02-24

2016-03-10 Thread Martin Jansa
On Wed, Feb 24, 2016 at 02:20:51PM +0100, Martin Jansa wrote:
> On Mon, Dec 14, 2015 at 08:03:47PM +0100, Martin Jansa wrote:
> > This time full build (testing all recipes available in "my world" - 2503
> > recipes), it took record-breaking 25days to finish.
> > 
> > Complete log:
> > http://logs.nslu2-linux.org/buildlogs/oe/world/log.dependencies.20151120_144802.log/
> >  
> > I've already sent patches for few of them, will send one for 
> > pulseaudio-lirc as well
> > as I already have it in out local recipes. For the rest I would appreciate 
> > some help
> > from people actually using these recipes.
> > 
> > I'll trigger new incremental build after that huge meta-oe patch queue from 
> > master-next
> > is in master.
> > 
> > ERROR: 34 issues were found in these recipes: clutter-gst-3.0 
> > cryptodev-module ctdb gnome-panel jasper lcdproc libftdi mpd places 
> > pulseaudio python python3 rain rygel samba shr-e-gadgets shr-wizard snort 
> > sysdig tmux uptime vboxguestdrivers xfce4-clipman-plugin
> 
> Complete log:
> http://logs.nslu2-linux.org/buildlogs/oe/world/log.dependencies.20160223_111019.log/
> 
> There are many issues in current master, but as a bonus we get separate
> build log for each issue so it's easier for any contributor to check his
> favourite recipe and send fix for it (please do).
> 
> ERROR: 111 issues were found in these recipes:
> android-image-utils-native chkconfig-alternatives-native
> compat-wireless-all core-image-rt core-image-rt-sdk core-image-sato-dev
> core-image-sato-sdk core-image-testmaster cryptodev-module
> dfu-util-native efivar ffmpeg firefox gnome-panel iksemel iscsitarget
> libconnman-qt5 libetpan libftdi libgdata libnice ltp-ddt netmap
> netmap-modules nodejs perf pidgin proxy-libintl pty-forward-native
> python python-feedparser python-flufl-enum python-mock python-monotonic
> python-msgpack python-tornado-redis python-txws python-ujson python3
> qt4-x11-free remake samba samsung-modem-mgr samsung-rfs-mgr shr-image
> shr-image-all shr-lite-image snort synergy system-config-keyboard thrift
> tracker xfce4-clipman-plugin

Complete log:
http://logs.nslu2-linux.org/buildlogs/oe/world/log.dependencies.20160307_041519.log/

There are still almost issues reported last time

ERROR: 88 issues were found in these recipes: android-image-utils-native
chkconfig-alternatives-native compat-wireless-all core-image-rt
core-image-rt-sdk core-image-sato-dev core-image-sato-sdk
core-image-testmaster cryptodev-module dfu-util-native efivar
gnome-panel iksemel iscsitarget libetpan libftdi ltp-ddt luajit netmap
netmap-modules nodejs perf pidgin proxy-libintl pty-forward-native
python python-cryptography python3 qt4-x11-free remake samba
samsung-modem-mgr samsung-rfs-mgr shr-image shr-image-all shr-lite-image
snort synergy system-config-keyboard xfce4-clipman-plugin

Found differences: 
WARN: python3: python3-tkinter rdepends on glibc, but it isn't a build 
dependency?
WARN: python3: python3-tkinter rdepends on libpython3, but it isn't a build 
dependency?
WARN: python3: python3-tkinter rdepends on tcl-lib, but it isn't a build 
dependency?
WARN: samba: samba rdepends on libpam, but it isn't a build dependency?
WARN: libftdi: libftdi rdepends on libgcc, but it isn't a build dependency?
WARN: libftdi: libftdi rdepends on libstdc++, but it isn't a build dependency?
WARN: gnome-panel: gnome-panel rdepends on dbus-lib, but it isn't a build 
dependency?
WARN: xfce4-clipman-plugin: xfce4-clipman-plugin rdepends on qrencode, but it 
isn't a build dependency?
WARN: python: python-tkinter rdepends on glibc, but it isn't a build dependency?
WARN: python: python-tkinter rdepends on libpython2, but it isn't a build 
dependency?
WARN: python: python-tkinter rdepends on tcl-lib, but it isn't a build 
dependency?

http://logs.nslu2-linux.org/buildlogs/oe/world/log.dependencies.20160307_041519.log/3_min/failed/
android-image-utils-native.log  core-image-sato-sdk.logiscsitarget.log  
perf.log qt4-x11-free.log   shr-lite-image.log
compat-wireless-all.log core-image-testmaster.log  libetpan.log 
pidgin.log   samsung-modem-mgr.log  snort.log
core-image-rt.log   dfu-util-native.logltp-ddt.log  
proxy-libintl.logsamsung-rfs-mgr.logsynergy.log
core-image-rt-sdk.log   efivar.log luajit.log   
pty-forward-native.log   shr-image-all.log  system-config-keyboard.log
core-image-sato-dev.log iksemel.lognodejs.log   
python-cryptography.log  shr-image.log

http://logs.nslu2-linux.org/buildlogs/oe/world/log.dependencies.20160307_041519.log/2_max/failed/
chkconfig-alternatives-native.log  core-image-sato-sdk.log  iscsitarget.log  
netmap-modules.log  python-cryptography.log  shr-image-all.log
compat-wireless-all.logcryptodev-module.log libetpan.log 
nodejs.log  qt4-x11-free.log shr-image.log
core-image-rt.log  dfu-u

[oe] [meta-webserver] modphp

2016-03-10 Thread Gary Thomas

Anyone know what happened to the recipe for modphp which was
in meta-oe (maybe before meta-webserver) circa 2013?  I can't
find a recipe for this anywhere.

--

Gary Thomas |  Consulting for the
MLB Associates  |Embedded world

--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] Updating configuration files, how to

2016-03-10 Thread Gary Thomas

On 2016-03-10 10:15, Jaap de Jong wrote:

Hi All,

I am wondering what the best approach is for creating 'standard' packages with 
updated configuration files.
As an example: I want to have a package with an updated /etc/network/interfaces 
file to reflect my systems hardware.
Should I create a init-ifupdown_1.0.bbappend recipe with the updated file?
What other options do I have?
What are you guys using for this?
And how about the package name in such a case. Append something to its name?


I use a init-ifupdown_1.0.bbappend in my target machine (BSP) layer,
this way these settings only affect the particular machine(s).

--

Gary Thomas |  Consulting for the
MLB Associates  |Embedded world

--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] Updating configuration files, how to

2016-03-10 Thread Jaap de Jong

Hi All,

I am wondering what the best approach is for creating 'standard' 
packages with updated configuration files.
As an example: I want to have a package with an updated 
/etc/network/interfaces file to reflect my systems hardware.

Should I create a init-ifupdown_1.0.bbappend recipe with the updated file?
What other options do I have?
What are you guys using for this?
And how about the package name in such a case. Append something to its name?

Thanks in advance!
Jaap



--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH][meta-oe] crash: add native package

2016-03-10 Thread Kang Kai

On 2016年03月10日 03:06, Martin Jansa wrote:

On Wed, Mar 09, 2016 at 03:48:43PM +0800, kai.k...@windriver.com wrote:

From: Kai Kang 

Add crash-native package.

* append EXTRA_OEMAKE option to find ncurses library
* pass right install DESTDIR

Signed-off-by: Kai Kang 
---
  meta-oe/recipes-kernel/crash/crash_7.1.3.bb | 17 ++---
  1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/meta-oe/recipes-kernel/crash/crash_7.1.3.bb 
b/meta-oe/recipes-kernel/crash/crash_7.1.3.bb
index f6934f7..e085094 100644
--- a/meta-oe/recipes-kernel/crash/crash_7.1.3.bb
+++ b/meta-oe/recipes-kernel/crash/crash_7.1.3.bb
@@ -32,6 +32,8 @@ SRC_URI[gdb.sha256sum] = 
"8070389a5dcc104eb0be483d582729f98ed4d761ad19cedd3f17b5
  
  inherit gettext
  
+BBCLASSEXTEND = "native"

+
  # crash 7.1.3 and before don't support mips64
  COMPATIBLE_HOST = "^(?!mips64).*"
  
@@ -40,6 +42,7 @@ EXTRA_OEMAKE = 'RPMPKG="${PV}" \

  GDB_HOST="${BUILD_SYS}" \
  GDB_MAKE_JOBS="${PARALLEL_MAKE}" \
  '
+EXTRA_OEMAKE_append_class-native = " LDFLAGS='${BUILD_LDFLAGS}'"
  
  do_configure() {

  :
@@ -65,17 +68,25 @@ do_compile() {
  oe_runmake ${EXTRA_OEMAKE}
  }
  
-do_install () {

+do_install_prepend () {
  install -d ${D}${bindir}
  install -d ${D}/${mandir}/man8
  install -d ${D}${includedir}/crash
  
-oe_runmake DESTDIR=${D} install

  install -m 0644 ${S}/crash.8 ${D}/${mandir}/man8/
  install -m 0644 ${S}/defs.h ${D}${includedir}/crash
-}
+}
+
+do_install_class-target () {
+oe_runmake DESTDIR=${D} install
+}
+
+do_install_class-native () {
+oe_runmake DESTDIR=${D}${STAGING_DIR_NATIVE} install
+}
  
  RDEPENDS_${PN} += "liblzma"

+RDEPENDS_${PN}_class-native += "xz-native"

Why is this needed? native builds aren't creating any packages.


My fault. It should be empty for native package.

Thanks. V2 will be sent.


--Kai





  # Causes gcc to get stuck and eat all available memory in qemuarm builds
  # jenkins  15161  100 12.5 10389596 10321284 ?   R11:40  28:17 
/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.2/cc1
 -quiet -I . -I . -I ./common -I ./config -I ./../include/opcode -I ./../opcodes/.. -I 
./../readline/.. -I ../bfd -I ./../bfd -I ./../include -I ../libdecnumber -I 
./../libdecnumber -I ./gnulib/import -I build-gnulib/import -isysroot 
/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm -MMD eval.d -MF .deps/eval.Tpo 
-MP -MT eval.o -D LOCALEDIR="/usr/local/share/locale" -D CRASH_MERGE -D 
HAVE_CONFIG_H -D TUI=1 eval.c -quiet -dumpbase eval.c -march=armv5te -mthumb 
-mthumb-interwork -mtls-dialect=gnu -auxbase-strip eval.o -g -O2 -Wall -Wpointer-arith 
-Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function 
-Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement 
-Wempty-body -feliminate-unused-debug-types -o -
--
2.6.1

--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel






--
Regards,
Neil | Kai Kang

--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH] mpv: Media Player

2016-03-10 Thread Gary Thomas

On 2016-03-10 08:57, Martin Jansa wrote:

I did and there was still:
FILES_${PN} += "${prefix}"

that's why I've asked again here.


Now I understand why you're asking.  I'll verify that it works correctly
without that line, just using the standard packaging.  If so, need I send
another patch revision or can you just leave that one line out when you merge?



On Thu, Mar 10, 2016 at 8:40 AM, Gary Thomas  wrote:


On 2016-03-10 08:33, Martin Jansa wrote:


On Thu, Mar 10, 2016 at 05:42:39AM +0100, Gary Thomas wrote:


On 2016-03-09 20:15, Martin Jansa wrote:


On Wed, Mar 09, 2016 at 07:20:33AM +0100, Gary Thomas wrote:


mpv is a fork of mplayer2 and MPlayer. It shares some features with
the former projects while introducing many more.

Signed-off-by: Gary Thomas 
---
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb | 60

1 file changed, 60 insertions(+)
create mode 100644 meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb

diff --git a/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
b/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
new file mode 100644
index 000..37e4b02
--- /dev/null
+++ b/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
@@ -0,0 +1,60 @@
+SUMMARY = "Open Source multimedia player"
+SECTION = "multimedia"
+HOMEPAGE = "http://www.mpv.io/";
+DEPENDS = "zlib ffmpeg jpeg virtual/libx11 xsp libxv libxscrnsaver"
+
+# Depends on xsp, libxv, virtual/libx11, libxscrnsaver
+REQUIRED_DISTRO_FEATURES = "x11"
+
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM =
"file://LICENSE;md5=91f1cb870c1cc2d31351a4d2595441cb"
+
+SRC_URI = "
https://github.com/mpv-player/mpv/archive/v${PV}.tar.gz;name=mpv \
+
http://www.freehackers.org/~tnagy/release/waf-1.8.12;name=waf \
+"
+SRC_URI[mpv.md5sum] = "9042bd3fbff2bc8ba0b7fadaa4a22101"
+SRC_URI[mpv.sha256sum] =
"7d31217ba8572f364fcea2955733f821374ae6d8c6d8f22f8bc63c44c0400bdc"
+SRC_URI[waf.md5sum] = "cef4ee82206b1843db082d0b0506bf71"
+SRC_URI[waf.sha256sum] =
"01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b"
+
+EXTRA_OECONF = " \
+--prefix=${D}/usr \


why not ${prefix} and does it really need to be prefixed with ${D}
(unlike mandir bellow)? Ugly waf.




What about ${D}?

+--mandir=${mandir} \

+--target=${SIMPLE_TARGET_SYS} \
+--disable-gl \
+--disable-libsmbclient \
+--disable-libass \
+--disable-lua \
+--disable-libass-osd \
+--disable-encoding \
+--disable-libbluray \
+--disable-dvdread \
+--disable-dvdnav \
+--disable-cdda \
+--disable-enca \
+--disable-libguess \
+--disable-uchardet \
+--disable-rubberband \
+--disable-lcms2 \
+--disable-vapoursynth \
+--disable-vapoursynth-lazy \
+--enable-libarchive \
+"
+
+do_configure() {
+if [ ! -L ../waf ]; then
+chmod a+x ../waf-1.8.12
+   ln -s waf-1.8.12 ../waf
+fi
+../waf configure ${EXTRA_OECONF}
+}
+
+do_compile () {
+../waf build
+}
+
+do_install() {
+../waf install
+}
+
+FILES_${PN} += "/usr/"



${prefix}?

Does it install files in strange directories not covered by standard
FILES?



Use of ${prefix} does seem correct, I've updated the recipe.
Patch v2 has been dispatched, including a required update to
the libass package which was necessary to get a fully functional
mpv.



Does it install files in strange directories not covered by standard
FILES?



No, but it doesn't seem to have any notion of adjusting the install
directory except at configure time, hence ${D}${prefix}

Please refer to the new patchset to see how I've changed the recipe.



--

Gary Thomas |  Consulting for the
MLB Associates  |Embedded world

--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel