Skip to contentSkip to conversation

libdivecomputer: Update to 0.4.2

PATCH New Khem Raj 1 participant 2 messages Sep 30, 2014

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/2 libdivecomputer: Update to 0.4.2

---
 .../recipes-extended/libdivecomputer/libdivecomputer_git.bb | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
meta-oe/recipes-extended/libdivecomputer/libdivecomputer_git.bb +7 -6
index 1154dc0..6c4f4a0 100644
@@ -2,18 +2,19 @@ DESCRIPTION = "Libdivecomputer is a cross-platform and open source library for c
 HOMEPAGE = "http://www.divesoftware.org/libdc/"
 
 LICENSE = "LGPLv2.1"
-LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
+LIC_FILES_CHKSUM = "file://COPYING;md5=243b725d71bb5df4a1e5920b344b86ad"
 
 DEPENDS = "libusb1"
 
 inherit autotools pkgconfig
 
-PV = "0.0.0"
-PR = "r1"
+PV = "0.4.2+gitr${SRCPV}"
+
+SRCREV = "5f765f91430f16932d96b3777404420aa2dd4c7c"
+SRC_URI = "git://git.libdivecomputer.org/libdivecomputer.git \
+           file://fix-ar.patch \
+          "
 
-SRCREV = "b7a6be15ca58cc8f89fbc8fa1a4c840e13d51092"
-SRC_URI = "git://libdivecomputer.git.sourceforge.net/gitroot/libdivecomputer/libdivecomputer \
-file://fix-ar.patch"
 S = "${WORKDIR}/git"
 
 
Signature · 1 line
2.1.1
author
#1 lore raw

PATCH 2/2 imagemagick: Update recipe 6.8.8 -> 6.8.9

Fix fetch failures
Remove automate patch we have 1.12+ automake in
OE-Core now

Change-Id I2ba1f6fb173613774f29f87c621ad3ca10f4e872
---
 ...ot-install-magick-baseconfig.h-repeatedly.patch | 49 ----------------------
 .../imagemagick/imagemagick/remove.dist-lzip.patch | 17 --------
 .../{imagemagick_6.8.8.bb => imagemagick_6.8.9.bb} | 19 +++------
 3 files changed, 6 insertions(+), 79 deletions(-)
 delete mode 100644 meta-oe/recipes-support/imagemagick/imagemagick/do-not-install-magick-baseconfig.h-repeatedly.patch
 delete mode 100644 meta-oe/recipes-support/imagemagick/imagemagick/remove.dist-lzip.patch
 rename meta-oe/recipes-support/imagemagick/{imagemagick_6.8.8.bb => imagemagick_6.8.9.bb} (75%)
meta-oe/recipes-support/imagemagick/imagemagick/do-not-install-magick-baseconfig.h-repeatedly.patch deleted +0 -49
deleted file mode 100644
index 114fb5e..0000000
@@ -1,49 +0,0 @@
-From bbdd42384d0b5f3ccb11465f63d90097579a1897 Mon Sep 17 00:00:00 2001
-From: Konrad Scherer <[email protected]>
-Date: Tue, 10 Jun 2014 15:43:16 +0800
-Subject: [PATCH] imagemagick: do not install magick-baseconfig.h repeatedly
-
-Both targets install-data-local & install-includeHEADERS will install
-header file magick-baseconfig.h to the same location, and they might
-be run in the same time while enabling parallel build:
-
-* target dependencies:
-  + install-data-am: ... install-data-local ... install-includeHEADERS
-
-* make install error:
-  /usr/bin/install: cannot create regular file \
-  `.../usr/include/ImageMagick-6/magick/magick-baseconfig.h': \
-  File exists \
-  make[3]: *** [install-magickincarchHEADERS] Error 1
-
-* reproduce the error:
-  $ /usr/bin/install test /tmp & /usr/bin/install test /tmp
-  [1] 4052
-  /usr/bin/install: cannot create regular file `/tmp/test': File exists
-  [1]+  Exit 1                  /usr/bin/install test /tmp
-
-Just disable the one from install-data-local to remove this race issue.
-
-Upstream-Status: pending
-
-Signed-off-by: Wenzong Fan <[email protected]>
----
- magick/Makefile.am | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/magick/Makefile.am b/magick/Makefile.am
-index 2f72461..e45466c 100644
---- a/magick/Makefile.am
-+++ b/magick/Makefile.am
-@@ -468,7 +468,7 @@ MAGICK_EXTRA_DIST = \
- 	magick/xwdfile.h_vms 
- 
- # Install magick-baseconfig.h
--MAGICK_INSTALL_DATA_LOCAL_TARGETS = magick-install-data-local
-+MAGICK_INSTALL_DATA_LOCAL_TARGETS =
- magick-install-data-local:
- 	$(mkinstalldirs) $(DESTDIR)$(magickincarchdir)
- 	$(INSTALL_HEADER) magick/magick-baseconfig.h $(DESTDIR)$(magickincarchdir)/magick-baseconfig.h
--- 
-1.8.2.1
-
meta-oe/recipes-support/imagemagick/imagemagick/remove.dist-lzip.patch deleted +0 -17
deleted file mode 100644
index 559aa24..0000000
@@ -1,17 +0,0 @@
-Our automake-1.11.2 doesn't support it yet, see:
-http://lists.gnu.org/archive/html/automake/2011-12/msg00081.html
-
-Upstream-Status: Inappropriate [fix or upgrade oe-core automake]
-
-diff -uNr ImageMagick-6.7.5-6.orig/configure.ac ImageMagick-6.7.5-6/configure.ac
---- ImageMagick-6.7.5-6.orig/configure.ac	2012-02-12 18:07:28.000000000 +0100
-+++ ImageMagick-6.7.5-6/configure.ac	2012-02-15 12:55:47.668813474 +0100
-@@ -128,7 +128,7 @@
- # Ensure that make can run correctly
- AM_SANITY_CHECK
- 
--AM_INIT_AUTOMAKE([1.11 color-tests foreign parallel-tests silent-rules subdir-objects dist-bzip2 dist-lzip dist-xz dist-zip])
-+AM_INIT_AUTOMAKE([1.11 color-tests foreign parallel-tests silent-rules subdir-objects dist-bzip2 dist-xz dist-zip])
- 
- # Enable support for silent build rules
- m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
meta-oe/recipes-support/imagemagick/imagemagick_6.8.9.bb renamed from meta-oe/recipes-support/imagemagick/imagemagick_6.8.8.bb +6 -13
similarity index 75%
rename from meta-oe/recipes-support/imagemagick/imagemagick_6.8.8.bb
rename to meta-oe/recipes-support/imagemagick/imagemagick_6.8.9.bb
index 847ab34..9b15f62 100644
@@ -5,22 +5,21 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=5d84c6ddd4028aa53d028b4c50f9361e"
 # 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 fftw freetype"
 
-PATCHSET = "10"
-SRC_URI = "http://www.imagemagick.org/download/legacy/ImageMagick-${PV}-${PATCHSET}.tar.bz2 \
-           file://remove.dist-lzip.patch \
-           file://do-not-install-magick-baseconfig.h-repeatedly.patch \
+PATCHSET = "8"
+SRC_URI = "http://www.imagemagick.org/download/ImageMagick-${PV}-${PATCHSET}.tar.bz2 \
 "
-SRC_URI[md5sum] = "a3a0fa301965d6fde68fccd066f62b0b"
-SRC_URI[sha256sum] = "8c0982b2bc0c1cea8ac9627b4e1e5d37f8171ef8282ee09aef32529cf68e1820"
+SRC_URI[md5sum] = "7e96f55156d72ce59c76ec93362ec72a"
+SRC_URI[sha256sum] = "51e0eb0b56e2f16be11c29086a97d474ffd07fe4eb5a9858d8a9c8e9c054c99a"
 
 S = "${WORKDIR}/ImageMagick-${PV}-${PATCHSET}"
 
-inherit autotools binconfig pkgconfig
+inherit autotools pkgconfig
 
 # xml disabled because it's using xml2-config --prefix to determine prefix which returns just /usr with our libxml2
 # if someone needs xml support then fix it first
 EXTRA_OECONF = "--program-prefix= --program-suffix=.im6 --without-x --without-perl --disable-openmp --without-xml --disable-opencl"
 
+CACHED_CONFIGUREVARS = "ac_cv_sys_file_offset_bits=yes"
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[jp2] = "--with-jp2,,jasper"
 PACKAGECONFIG[lzma] = "--with-lzma,--without-lzma,xz"
@@ -40,9 +39,3 @@ FILES_${PN}-dev += "${libdir}/ImageMagick-${PV}/modules-Q16/*/*.a"
 FILES_${PN}-dbg += "${libdir}/ImageMagick-${PV}/modules-Q16/*/.debug/*"
 
 BBCLASSEXTEND = "native"
-
-LEAD_SONAME = "libMagickCore.so.*"
-
-do_configure_prepend() {
-    export ac_cv_sys_file_offset_bits=yes
-}
Signature · 1 line
2.1.1