Skip to contentSkip to conversation

libgit2: Fix install for multilib

PATCH New Andreas Müller 1 participant 2 messages Jan 30, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 libgit2: Fix install for multilib

| ERROR: libgit2-0.27.4-r0 do_package: QA Issue: libgit2: Files/directories were installed but not shipped in any package:
|   /usr/lib/libgit2.so.0.27.5
|   /usr/lib/libgit2.so.27
|   /usr/lib/libgit2.so
|   /usr/lib/pkgconfig
|   /usr/lib/pkgconfig/libgit2.pc
| Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.

+ reduce 8 spaces by 4

---
 meta-oe/recipes-support/libgit2/libgit2_0.27.4.bb | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
meta-oe/recipes-support/libgit2/libgit2_0.27.4.bb +6 -5
index e7f768892..816ae5e2e 100644
@@ -14,11 +14,12 @@ S = "${WORKDIR}/git"
 inherit cmake
 
 EXTRA_OECMAKE = "\
-        -DTHREADSAFE=ON \
-        -DBUILD_CLAR=OFF \
-        -DSHA1_TYPE="builtin" \
-        -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-        -DBUILD_EXAMPLES=OFF \
+    -DTHREADSAFE=ON \
+    -DBUILD_CLAR=OFF \
+    -DSHA1_TYPE="builtin" \
+    -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+    -DBUILD_EXAMPLES=OFF \
+    -DLIB_INSTALL_DIR=${libdir} \
 "
 
 BBCLASSEXTEND = "native"
Signature · 1 line
2.20.1
#1 lore raw

PATCH 2/2 libgit2: upgrade 0.27.4 -> 0.27.8

---
 .../libgit2/{libgit2_0.27.4.bb => libgit2_0.27.8.bb}          | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-support/libgit2/{libgit2_0.27.4.bb => libgit2_0.27.8.bb} (90%)
meta-oe/recipes-support/libgit2/libgit2_0.27.8.bb renamed from meta-oe/recipes-support/libgit2/libgit2_0.27.4.bb +2 -2
similarity index 90%
rename from meta-oe/recipes-support/libgit2/libgit2_0.27.4.bb
rename to meta-oe/recipes-support/libgit2/libgit2_0.27.8.bb
index 816ae5e2e..a43408908 100644
@@ -6,8 +6,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3f2cd5d3cccd71d62066ba619614592b"
 DEPENDS = "curl openssl zlib libssh2 libgcrypt"
 
 SRC_URI = "git://github.com/libgit2/libgit2.git;branch=maint/v0.27"
-#v0.27.5
-SRCREV = "8e0b172981a046d19f1d9efa5acd6186bccbd3ce"
+#v0.27.8
+SRCREV = "2882803ca2b2cdedd069746422155a23fdd002b2"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
2.20.1