From f1bad1e11e07ff2d1dc4a61b50d69f7f8d08ab10 Mon Sep 17 00:00:00 2001 From: Yann Diorcet Date: Fri, 22 May 2015 10:43:38 +0200 Subject: [PATCH 1/7] alsa: Add systemd package --- recipes/alsa/alsa-utils.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/recipes/alsa/alsa-utils.inc b/recipes/alsa/alsa-utils.inc index 8a57df5..ef6f6ce 100644 --- a/recipes/alsa/alsa-utils.inc +++ b/recipes/alsa/alsa-utils.inc @@ -20,7 +20,8 @@ PACKAGES += "\ ${PN}-alsaconf \ ${PN}-alsactl \ ${PN}-alsaucm \ - ${PN}-udevrules" + ${PN}-udevrules \ + ${PN}-systemd" FILES_${PN} = "" FILES_${PN}-aplay = "${bindir}/aplay ${bindir}/arecord" @@ -36,6 +37,7 @@ FILES_${PN}-aseqdump = "${bindir}/aseqdump" FILES_${PN}-alsaconf = "${sbindir}/alsaconf" FILES_${PN}-alsaucm = "${bindir}/alsaucm" FILES_${PN}-udevrules = "/lib/udev/rules.d/" +FILES_${PN}-systemd = "${libdir}/systemd/" RD = "libasound libpthread libdl" RDEPENDS_${PN}-aplay = "${RD} libgcc" @@ -49,6 +51,7 @@ RDEPENDS_${PN}-iecset = "${RD}" RDEPENDS_${PN}-alsactl = "${RD}" RDEPENDS_${PN}-aseqdump = "${RD}" RDEPENDS_${PN}-alsaconf = "${RD}" +RDEPENDS_${PN}-systemd = "${PN}-alsactl" RDEPENDS_${PN} = "${PN}-aplay ${PN}-amixer ${PN}-speakertest ${PN}-midi \ ${PN}-aconnect ${PN}-aseqnet ${PN}-iecset ${PN}-alsactl ${PN}-aseqdump ${PN}-alsaconf \ ${PN}-alsaloop \ From 8d02f965fc957aaf68b4f22108c8fe8112606d95 Mon Sep 17 00:00:00 2001 From: Yann Diorcet Date: Fri, 22 May 2015 10:44:11 +0200 Subject: [PATCH 2/7] flac: gettext is needed --- recipes/flac/flac.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/flac/flac.inc b/recipes/flac/flac.inc index f5a82b4..5bca0e1 100644 --- a/recipes/flac/flac.inc +++ b/recipes/flac/flac.inc @@ -4,7 +4,7 @@ BUGTRACKER = "http://sourceforge.net/tracker/?group_id=13478&atid=113478" LICENSE = "GFDL-1.2 & GPLv2.0+ & LGPLv2.1+ & BSD" -inherit auto-package-libs configure-use c++ +inherit auto-package-libs configure-use c++ gettext require conf/fetch/sourceforge.conf SRC_URI = "${SOURCEFORGE_MIRROR}/flac/flac-${PV}.tar.gz" From 1aac6d228b9dc77cf202b954a28f01c0e88268d3 Mon Sep 17 00:00:00 2001 From: Yann Diorcet Date: Fri, 22 May 2015 10:46:30 +0200 Subject: [PATCH 3/7] orc: orcc variable in the pc is used for retrieving orc compiler. Currently the variable doesn't depend on sysroot --- recipes/orc/orc-0.4.18/pc.patch | 10 ++++++++++ recipes/orc/orc_0.4.18.oe | 3 +++ 2 files changed, 13 insertions(+) create mode 100644 recipes/orc/orc-0.4.18/pc.patch diff --git a/recipes/orc/orc-0.4.18/pc.patch b/recipes/orc/orc-0.4.18/pc.patch new file mode 100644 index 0000000..9f79476 --- /dev/null +++ b/recipes/orc/orc-0.4.18/pc.patch @@ -0,0 +1,10 @@ +diff -urN a/orc.pc.in b/orc.pc.in +--- a/orc.pc.in 2013-02-20 02:39:37.000000000 +0100 ++++ b/orc.pc.in 2015-05-14 13:53:18.744262513 +0200 +@@ -12,5 +12,5 @@ + Libs.private: @LIBM@ @LIBRT@ @PTHREAD_LIBS@ + Cflags: -I${includedir} + +-orcc=${toolsdir}/orcc@EXEEXT@ ++orcc=${pc_sysrootdir}${toolsdir}/orcc@EXEEXT@ + diff --git a/recipes/orc/orc_0.4.18.oe b/recipes/orc/orc_0.4.18.oe index 76f206d..0a1a7b7 100644 --- a/recipes/orc/orc_0.4.18.oe +++ b/recipes/orc/orc_0.4.18.oe @@ -1,4 +1,7 @@ LICENSE = "BSD-2-Clause*" require orc.inc + +SRC_URI += "file://pc.patch" + LIBV = "0.4" From 60c7b5630f9151871b9b4ec793bc557aafac7588 Mon Sep 17 00:00:00 2001 From: Yann Diorcet Date: Fri, 22 May 2015 10:47:17 +0200 Subject: [PATCH 4/7] imagemagick: multiple fixes --- recipes/imagemagick/imagemagick_6.8.8-7.oe | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/recipes/imagemagick/imagemagick_6.8.8-7.oe b/recipes/imagemagick/imagemagick_6.8.8-7.oe index 3711719..7bbe74b 100644 --- a/recipes/imagemagick/imagemagick_6.8.8-7.oe +++ b/recipes/imagemagick/imagemagick_6.8.8-7.oe @@ -1,13 +1,13 @@ DESCRIPTION = "ImageMagick is an image convertion tools" LICENSE = "GPL" -DEPENDS = "libbz2 bzip2-dev libjpeg libpng15 libz" +DEPENDS = "libbz2 bzip2-dev libjpeg libpng libz" -SRC_URI = "ftp://ftp.nluug.nl/pub/ImageMagick/ImageMagick-${PV}.tar.bz2" +SRC_URI = "http://ftp.sunet.se/pub/multimedia/graphics/ImageMagick/ImageMagick-${PV}.tar.bz2" S = "${SRCDIR}/ImageMagick-${PV}" IMVER = "${@d.get('PV').split('-')[0]}" -inherit autotools binconfig pkgconfig +inherit autotools binconfig pkgconfig c++ EXTRA_OECONF = "\ --program-prefix= \ @@ -17,8 +17,6 @@ EXTRA_OECONF = "\ --disable-openmp \ " -EXTRA_OEMAKE += "V=1" - FILES_${PN} += "${libdir}/ImageMagick-${IMVER}/modules-Q16/*/*.so \ ${libdir}/ImageMagick-${IMVER}/modules-Q16/*/*.la \ ${libdir}/ImageMagick-${IMVER}/config-Q16/ \ From f2207c695f71329e2672024bbeec099f2cb5a087 Mon Sep 17 00:00:00 2001 From: Yann Diorcet Date: Fri, 22 May 2015 10:48:38 +0200 Subject: [PATCH 5/7] libmad: Force autoreconf --- recipes/libmad/libmad/mandatory-files.patch | 15 +++++++++++++++ recipes/libmad/libmad_0.15.1b.oe | 3 ++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 recipes/libmad/libmad/mandatory-files.patch diff --git a/recipes/libmad/libmad/mandatory-files.patch b/recipes/libmad/libmad/mandatory-files.patch new file mode 100644 index 0000000..db08d15 --- /dev/null +++ b/recipes/libmad/libmad/mandatory-files.patch @@ -0,0 +1,15 @@ +diff -urN a/AUTHORS b/AUTHORS +--- a/AUTHORS 1970-01-01 01:00:00.000000000 +0100 ++++ b/AUTHORS 2015-05-20 17:33:30.691791110 +0200 +@@ -0,0 +1 @@ ++Dummy +diff -urN a/ChangeLog b/ChangeLog +--- a/ChangeLog 1970-01-01 01:00:00.000000000 +0100 ++++ b/ChangeLog 2015-05-20 17:33:35.635862311 +0200 +@@ -0,0 +1 @@ ++Dummy +diff -urN a/NEWS b/NEWS +--- a/NEWS 1970-01-01 01:00:00.000000000 +0100 ++++ b/NEWS 2015-05-20 17:33:25.523716670 +0200 +@@ -0,0 +1 @@ ++Dummy diff --git a/recipes/libmad/libmad_0.15.1b.oe b/recipes/libmad/libmad_0.15.1b.oe index 0d634be..91c2588 100644 --- a/recipes/libmad/libmad_0.15.1b.oe +++ b/recipes/libmad/libmad_0.15.1b.oe @@ -12,11 +12,12 @@ require conf/fetch/sourceforge.conf SRC_URI = "${SOURCEFORGE_MIRROR}/mad/libmad-${PV}.tar.gz \ file://no-force-mem.patch \ file://add-pkgconfig.patch \ + file://mandatory-files.patch \ file://fix_for_mips_with_gcc-4.5.0.patch" S = "${SRCDIR}/libmad-${PV}" -inherit autotools pkgconfig library +inherit autotools-autoreconf pkgconfig library EXTRA_OECONF = "-enable-speed --enable-shared" # The ASO's don't take any account of thumb... From 351f080b08f7baf48475c61c8c7289d948f23db8 Mon Sep 17 00:00:00 2001 From: Yann Diorcet Date: Fri, 22 May 2015 10:49:04 +0200 Subject: [PATCH 6/7] gst projects need gettext --- recipes/gstreamer/gst-plugins-bad.inc | 2 +- recipes/gstreamer/gst-plugins-base.inc | 2 +- recipes/gstreamer/gst-plugins-good.inc | 2 +- recipes/gstreamer/gst-plugins-ugly.inc | 2 +- recipes/gstreamer/gstreamer.inc | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/recipes/gstreamer/gst-plugins-bad.inc b/recipes/gstreamer/gst-plugins-bad.inc index 135e770..f159b89 100644 --- a/recipes/gstreamer/gst-plugins-bad.inc +++ b/recipes/gstreamer/gst-plugins-bad.inc @@ -1,7 +1,7 @@ HOMEPAGE = "http://www.gstreamer.net/" DESCRIPTION = "GStreamer Bad Plug-ins is a set of plug-ins that aren't up to par compared to the rest." -inherit gst-plugins autotools-autoreconf pkgconfig +inherit gst-plugins autotools-autoreconf pkgconfig gettext DEPENDS += "\ libgstbase \ diff --git a/recipes/gstreamer/gst-plugins-base.inc b/recipes/gstreamer/gst-plugins-base.inc index ccefc5f..92f4ecc 100644 --- a/recipes/gstreamer/gst-plugins-base.inc +++ b/recipes/gstreamer/gst-plugins-base.inc @@ -1,7 +1,7 @@ HOMEPAGE = "http://www.gstreamer.net/" DESCRIPTION = "GStreamer Base Plug-ins is a well-groomed and well-maintained collection of GStreamer plug-ins and elements" -inherit gst-plugins autotools-autoreconf pkgconfig +inherit gst-plugins autotools-autoreconf pkgconfig gettext CONFIGURE_USE_FLAGS = "use=vorbis:depend=libvorbis:autolib=vorbis:autordepend=libvorbis" CONFIGURE_USE_FLAGS += "use=alsa:depend=libasound:autolib=alsa:autordepend=libasound" diff --git a/recipes/gstreamer/gst-plugins-good.inc b/recipes/gstreamer/gst-plugins-good.inc index 831ad06..32dbf2c 100644 --- a/recipes/gstreamer/gst-plugins-good.inc +++ b/recipes/gstreamer/gst-plugins-good.inc @@ -1,7 +1,7 @@ HOMEPAGE = "http://www.gstreamer.net/" DESCRIPTION = "GStreamer Good Plug-ins is a set of plug-ins that we consider to have good quality code and correct functionality." -inherit gst-plugins autotools-autoreconf pkgconfig make +inherit gst-plugins autotools-autoreconf pkgconfig make gettext CONFIGURE_USE_FLAGS = "use=flac:depend=libflac:autolib=flac:autordepend=libflac" CONFIGURE_USE_FLAGS += "use=speex:depend=libspeex:autolib=speex:autordepend=libspeex" diff --git a/recipes/gstreamer/gst-plugins-ugly.inc b/recipes/gstreamer/gst-plugins-ugly.inc index 861ca14..2127914 100644 --- a/recipes/gstreamer/gst-plugins-ugly.inc +++ b/recipes/gstreamer/gst-plugins-ugly.inc @@ -1,7 +1,7 @@ HOMEPAGE = "http://www.gstreamer.net/" DESCRIPTION = "GStreamer Bad Plug-ins is a set of plug-ins that aren't up to par compared to the rest." -inherit gst-plugins autotools-autoreconf pkgconfig +inherit gst-plugins autotools-autoreconf pkgconfig gettext DEPENDS += "\ libgstbase \ diff --git a/recipes/gstreamer/gstreamer.inc b/recipes/gstreamer/gstreamer.inc index 69574e2..995b121 100644 --- a/recipes/gstreamer/gstreamer.inc +++ b/recipes/gstreamer/gstreamer.inc @@ -4,7 +4,7 @@ It supports a wide range of formats including mp3, ogg, avi, mpeg and quicktime. HOMEPAGE = "http://gstreamer.freedesktop.org/" BUGTRACKER = "https://bugzilla.gnome.org/enter_bug.cgi?product=Gstreamer" -inherit autotools-autoreconf pkgconfig c auto-package-utils gstreamer-api +inherit autotools-autoreconf pkgconfig c auto-package-utils gstreamer-api gettext SRC_URI = "http://gstreamer.freedesktop.org/src/${PN}/${PN}-${PV}.tar.bz2" From c3e7d70bc6ff02a9a2cfc942d198618622221078 Mon Sep 17 00:00:00 2001 From: Yann Diorcet Date: Fri, 22 May 2015 10:50:16 +0200 Subject: [PATCH 7/7] libtheora: not working well in parallel --- recipes/libtheora/libtheora_1.2.0alpha1.oe | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/libtheora/libtheora_1.2.0alpha1.oe b/recipes/libtheora/libtheora_1.2.0alpha1.oe index d1ca3c5..a955dcc 100644 --- a/recipes/libtheora/libtheora_1.2.0alpha1.oe +++ b/recipes/libtheora/libtheora_1.2.0alpha1.oe @@ -10,6 +10,7 @@ SRC_URI = "http://downloads.xiph.org/releases/theora/libtheora-${PV}.tar.gz" DEPENDS = "libogg" EXTRA_OECONF = "--disable-examples" +PARALLEL_MAKE = "" inherit auto-package-libs AUTO_PACKAGE_LIBS = "theoradec theoraenc"