fftw: build all configurations by one recipe
PATCH 1/2 fftw: build all configurations by one recipe
* avoids conflicts installing same files into sysroot
* for packages requiring a specific version of fftw: simply add fftw to DEPENDS
* no need for some distro decision - recipes depndong on fftw take what they need
* each executable is packed into an own package to avoid dragging in all libraries
--- meta-oe/recipes-support/fftw/fftw.inc | 25 ------------ meta-oe/recipes-support/fftw/fftw_3.3.4.bb | 62 ++++++++++++++++++++++++++++- meta-oe/recipes-support/fftw/fftwf_3.3.4.bb | 11 ----- meta-oe/recipes-support/fftw/fftwl_3.3.4.bb | 9 ----- 4 files changed, 61 insertions(+), 46 deletions(-) delete mode 100644 meta-oe/recipes-support/fftw/fftw.inc delete mode 100644 meta-oe/recipes-support/fftw/fftwf_3.3.4.bb delete mode 100644 meta-oe/recipes-support/fftw/fftwl_3.3.4.bb
meta-oe/recipes-support/fftw/fftw.inc deleted +0 -25
@@ -1,25 +0,0 @@ -DESCRIPTION = "FFTW" -SECTION = "libs" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" - -PROVIDES = "virtual/fftw" - -RPROVIDES_${PN} += "libfftw3" - -SRC_URI = "http://www.fftw.org/fftw-${PV}.tar.gz" - -S = "${WORKDIR}/fftw-${PV}" - -inherit autotools pkgconfig - -EXTRA_OECONF = "--disable-fortran --enable-shared --enable-threads" - -do_configure_prepend() { - echo 'AM_PROG_AS' >> ${S}/configure.ac -} - -PACKAGES =+ "lib${BPN}" -FILES_lib${BPN} = "${libdir}/lib*.so.*" - -# rename binary in /bin and use u-a tpo choose between different precision implementations?
meta-oe/recipes-support/fftw/fftw_3.3.4.bb +61 -1
67 lines not on this page · raw message
meta-oe/recipes-support/fftw/fftwf_3.3.4.bb deleted +0 -11
@@ -1,11 +0,0 @@ -require fftw.inc - -# conflicts with fftw and fftwl -EXCLUDE_FROM_WORLD = "1" - -EXTRA_OECONF += "--enable-single \ - ${@bb.utils.contains('TUNE_FEATURES', 'neon', '--enable-neon', '', d)} \ -" - -SRC_URI[md5sum] = "2edab8c06b24feeb3b82bbb3ebf3e7b3" -SRC_URI[sha256sum] = "8f0cde90929bc05587c3368d2f15cd0530a60b8a9912a8e2979a72dbe5af0982"
meta-oe/recipes-support/fftw/fftwl_3.3.4.bb deleted +0 -9
@@ -1,9 +0,0 @@ -require fftw.inc - -# conflicts with fftw and fftwf -EXCLUDE_FROM_WORLD = "1" - -EXTRA_OECONF += "--enable-long-double" - -SRC_URI[md5sum] = "2edab8c06b24feeb3b82bbb3ebf3e7b3" -SRC_URI[sha256sum] = "8f0cde90929bc05587c3368d2f15cd0530a60b8a9912a8e2979a72dbe5af0982"
Signature · 1 line
2.5.5
PATCH 2/2 imagemagick: depend on fftw not virtual/fftw
--- meta-oe/recipes-support/imagemagick/imagemagick_7.0.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/imagemagick/imagemagick_7.0.2.bb +1 -1
@@ -3,7 +3,7 @@ SECTION = "console/utils" LICENSE = "ImageMagick" LIC_FILES_CHKSUM = "file://LICENSE;md5=22d47a47bf252ca3ed7f71273b53612e" # FIXME: There are many more checked libraries. All should be added or explicitly disabled to get consistent results. -DEPENDS = "lcms bzip2 jpeg libpng librsvg tiff zlib virtual/fftw freetype" +DEPENDS = "lcms bzip2 jpeg libpng librsvg tiff zlib fftw freetype" # Important note: tarballs for all patchsets within a version are deleted when # a new pachset is created. To avoid multiple patches for each patchset, try to
Signature · 1 line
2.5.5
Re: [PATCH 2/2] imagemagick: depend on fftw not virtual/fftw
Quoted 10 lines · Andreas Müller
Signed-off-by Andreas Müller <[email protected]>--- meta-oe/recipes-support/imagemagick/imagemagick_7.0.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-oe/recipes-support/imagemagick/imagemagick_7.0.2.bb +0
-0
meta-oe/recipes-support/imagemagick/imagemagick_7.0.2.bb SECTION = "console/utils" · line 6
Quoted 5 lines
meta-oe/recipes-support/imagemagick/imagemagick_7.0.2.bb +1
-1@@ -3,7 +3,7 @@ SECTION = "console/utils" LICENSE = "ImageMagick" LIC_FILES_CHKSUM = "file://LICENSE;md5=22d47a47bf252ca3ed7f71273b53612e" # FIXME: There are many more checked libraries. All should be added or explicitly disabled to get consistent results. -DEPENDS = "lcms bzip2 jpeg libpng librsvg tiff zlib virtual/fftw freetype" +DEPENDS = "lcms bzip2 jpeg libpng librsvg tiff zlib fftw freetype"
have we integrated all of the fftw recipes ?
Quoted 11 lines
meta-oe/recipes-support/imagemagick/imagemagick_7.0.2.bb +0
-1# Important note: tarballs for all patchsets within a version are deleted when # a new pachset is created. To avoid multiple patches for each patchset, try to --2.5.5
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [PATCH 2/2] imagemagick: depend on fftw not virtual/fftw
Quoted 7 lines · Khem Raj
Quoted 5 lines · Andreas Müller
Signed-off-by Andreas Müller <[email protected]>--- meta-oe/recipes-support/imagemagick/imagemagick_7.0.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 13 lines
meta-oe/recipes-support/imagemagick/imagemagick_7.0.2.bb SECTION = "console/utils" · line 6
Quoted 10 lines
meta-oe/recipes-support/imagemagick/imagemagick_7.0.2.bb +1
-1@@ -3,7 +3,7 @@ SECTION = "console/utils" LICENSE = "ImageMagick" LIC_FILES_CHKSUM = "file://LICENSE;md5=22d47a47bf252ca3ed7f71273b53612e" # FIXME: There are many more checked libraries. All should be added or explicitly disabled to get consistent results. -DEPENDS = "lcms bzip2 jpeg libpng librsvg tiff zlib virtual/fftw freetype" +DEPENDS = "lcms bzip2 jpeg libpng librsvg tiff zlib fftw freetype"have we integrated all of the fftw recipes ?
See first patch of this series
Andreas
Re: [PATCH 2/2] imagemagick: depend on fftw not virtual/fftw
Quoted 21 lines · Andreas Müller
Quoted 7 lines · Khem Raj
Quoted 5 lines · Andreas Müller
Signed-off-by Andreas Müller <[email protected]>--- meta-oe/recipes-support/imagemagick/imagemagick_7.0.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Quoted 13 lines
meta-oe/recipes-support/imagemagick/imagemagick_7.0.2.bb SECTION = "console/utils" · line 6
Quoted 10 lines
meta-oe/recipes-support/imagemagick/imagemagick_7.0.2.bb +1
-1@@ -3,7 +3,7 @@ SECTION = "console/utils" LICENSE = "ImageMagick" LIC_FILES_CHKSUM = "file://LICENSE;md5=22d47a47bf252ca3ed7f71273b53612e" # FIXME: There are many more checked libraries. All should be added or explicitly disabled to get consistent results. -DEPENDS = "lcms bzip2 jpeg libpng librsvg tiff zlib virtual/fftw freetype" +DEPENDS = "lcms bzip2 jpeg libpng librsvg tiff zlib fftw freetype"have we integrated all of the fftw recipes ?
Quoted 1 line
See first patch of this series
yes thanks
Quoted 7 lines
Andreas
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel