Skip to contentSkip to conversation

claws-mail: Add missing libgcrypt dependency

PATCH New Martin Jansa 1 participant 7 messages Jul 7, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/7 claws-mail: Add missing libgcrypt dependency

* otherwise fails with:
| claws-mail/3.9.0-r0/claws-mail-3.9.0/src/common/ssl.c:35:20:
fatal error: gcrypt.h: No such file or directory
| #include <gcrypt.h>

---
 meta-oe/recipes-sato/claws-mail/claws-mail_3.9.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-sato/claws-mail/claws-mail_3.9.0.bb +1 -1
index 7072046..2967ed0 100644
@@ -1,6 +1,6 @@
 SECTION = "x11/network"
 SUMMARY = "Mail user agent"
-DEPENDS = "gtk+ libetpan openssl aspell curl"
+DEPENDS = "gtk+ libetpan openssl aspell curl libgcrypt"
 LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://COPYING;md5=e059bde2972c1790af786f3e86bac22e"
 
Signature · 1 line
2.0.0
#1 lore raw

PATCH 2/7 clutter-box2d: blacklist because of B!=S

---
 meta-oe/recipes-graphics/clutter/clutter-box2d_git.bb | 5 +++++
 1 file changed, 5 insertions(+)
meta-oe/recipes-graphics/clutter/clutter-box2d_git.bb +5 -0
index 4bac59b..b19110a 100644
@@ -2,6 +2,11 @@ require clutter-box2d.inc
 
 LIC_FILES_CHKSUM = "file://box2d/License.txt;md5=e5d39ad91f7dc4692dcdb1d85139ec6b"
 
+# 0.12.1+gitAUTOINC+de5452e56b-r1/git/clutter-box2d/clutter-box2d.h:226:47:
+#  fatal error: clutter-box2d/clutter-box2d-child.h: No such file or directory
+# |  #include <clutter-box2d/clutter-box2d-child.h>
+PNBLACKLIST[clutter-box2d] = "BROKEN: doesn't build with B!=S"
+
 SRCREV = "de5452e56b537a11fd7f9453d048ff4b4793b5a2"
 PV = "0.12.1+git${SRCPV}"
 PR = "r1"
Signature · 1 line
2.0.0
#2 lore raw

PATCH 3/7 libgnomeprint: Blacklist because of missing freetype-config

In reply to Martin Jansa
---
 meta-gnome/recipes-gnome/gnome/libgnomeprint_2.18.8.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-gnome/recipes-gnome/gnome/libgnomeprint_2.18.8.bb +4 -0
index c224d86..c5fd152 100644
@@ -1,6 +1,10 @@
 LICENSE = "GPLv2"
 SECTION = "x11/gnome/libs"
 
+# | checking for freetype-config... no
+# | configure: error: You need FreeType2 (freetype-devel v 2.x package) for this version of libgnomeprint
+PNBLACKLIST[libgnomeprint] = "Broken without freetype-config"
+
 DEPENDS = "libxml2 libgnomecups glib-2.0 pango libart-lgpl fontconfig popt gnome-common freetype"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
Signature · 1 line
2.0.0
#3 lore raw

PATCH 4/7 libsdl-ttf: fix build without freetype-config

In reply to Martin Jansa
---
 .../use.pkg-config.for.freetype2.patch             | 57 ++++++++++++++++++++++
 .../libsdl-ttf/libsdl-ttf_2.0.10.bb                |  1 +
 2 files changed, 58 insertions(+)
 create mode 100644 meta-oe/recipes-support/libsdl-ttf/libsdl-ttf-2.0.10/use.pkg-config.for.freetype2.patch
meta-oe/recipes-support/libsdl-ttf/libsdl-ttf-2.0.10/use.pkg-config.for.freetype2.patch new file +57 -0
new file mode 100644
index 0000000..8a11f66
@@ -0,0 +1,57 @@
+freetype-config was removed from oe-core in
+
+commit 5870bd272b0b077d0826fb900b251884c1c05061
+Author: Richard Purdie <[email protected]>
+Date:   Thu May 22 10:59:33 2014 +0100
+
+    binconfig-disabled: Add class and use
+
+diff --git a/configure.in b/configure.in
+index 408e8d6..5f9e730 100644
+--- a/configure.in
++++ b/configure.in
+@@ -86,39 +86,11 @@ case "$host" in
+ esac
+ AM_CONDITIONAL(USE_VERSION_RC, test x$use_version_rc = xtrue)
+ 
+-dnl Check for the FreeType 2 library
+-dnl
+-dnl Get the cflags and libraries from the freetype-config script
+-dnl
+-AC_ARG_WITH(freetype-prefix,[  --with-freetype-prefix=PFX   Prefix where FREETYPE is 
+-installed (optional)],
+-            freetype_prefix="$withval", freetype_prefix="")
+-AC_ARG_WITH(freetype-exec-prefix,[  --with-freetype-exec-prefix=PFX Exec prefix 
+-where FREETYPE is installed (optional)],
+-            freetype_exec_prefix="$withval", freetype_exec_prefix="")
+-
+-if test x$freetype_exec_prefix != x ; then
+-     freetype_args="$freetype_args --exec-prefix=$freetype_exec_prefix"
+-     if test x${FREETYPE_CONFIG+set} != xset ; then
+-        FREETYPE_CONFIG=$freetype_exec_prefix/bin/freetype-config
+-     fi
+-fi
+-if test x$freetype_prefix != x ; then
+-     freetype_args="$freetype_args --prefix=$freetype_prefix"
+-     if test x${FREETYPE_CONFIG+set} != xset ; then
+-        FREETYPE_CONFIG=$freetype_prefix/bin/freetype-config
+-     fi
+-fi
+-AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no)
+-no_freetype=""
+-if test "$FREETYPE_CONFIG" = "no" ; then
+-    AC_MSG_ERROR([
+-*** Unable to find FreeType2 library (http://www.freetype.org/)
+-])
+-else
+-    CFLAGS="$CFLAGS `$FREETYPE_CONFIG $freetypeconf_args --cflags`"
+-    LIBS="$LIBS `$FREETYPE_CONFIG $freetypeconf_args --libs`"
+-fi
++PKG_CHECK_MODULES(FREETYPE2, freetype2, 
++    CFLAGS="$CFLAGS $FREETYPE2_CFLAGS"
++    LIBS="$LIBS $FREETYPE2_LIBS",
++    AC_MSG_ERROR([*** Unable to find FreeType2 library (http://www.freetype.org/)])
++)
+ 
+ dnl Check for SDL
+ SDL_VERSION=2.0.0
meta-oe/recipes-support/libsdl-ttf/libsdl-ttf_2.0.10.bb +1 -0
index 0127b31..47026a2 100644
@@ -8,6 +8,7 @@ PR = "r2"
 
 SRC_URI = "http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-${PV}.tar.gz \
            file://configure.patch \
+           file://use.pkg-config.for.freetype2.patch \
 "
 
 S = "${WORKDIR}/SDL_ttf-${PV}"
Signature · 1 line
2.0.0
#4 lore raw

PATCH 5/7 xfconf: inherit gtk-doc

In reply to Martin Jansa
---
 meta-xfce/recipes-xfce/xfconf/xfconf_4.10.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-xfce/recipes-xfce/xfconf/xfconf_4.10.0.bb +1 -1
index 1355359..8a3416c 100644
@@ -4,7 +4,7 @@ LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
 DEPENDS = "dbus-glib libxfce4util perl intltool-native"
 
-inherit xfce
+inherit xfce gtk-doc
 
 EXTRA_OECONF += "PERL=${STAGING_DIR_TARGET}/usr/bin/perl"
 
Signature · 1 line
2.0.0
#5 lore raw

PATCH 6/7 recipes: add missing intltool-native dependency

In reply to Martin Jansa
---
 meta-gnome/recipes-apps/cheese/cheese_2.30.1.bb                         | 2 +-
 meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_2.32.0.bb      | 2 +-
 .../recipes-gnome/gnome-system-monitor/gnome-system-monitor_2.28.2.bb   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
meta-gnome/recipes-apps/cheese/cheese_2.30.1.bb +1 -1
index 611e83e..a54a3a2 100644
@@ -2,7 +2,7 @@ SUMMARY = "Take photos and videos with your webcam, with fun graphical effects"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=a17cb0a873d252440acfdf9b3d0e7fbf"
 
-DEPENDS = "gtk+ gstreamer gst-plugins-base libcanberra udev librsvg gnome-desktop evolution-data-server"
+DEPENDS = "gtk+ gstreamer gst-plugins-base libcanberra udev librsvg gnome-desktop evolution-data-server intltool-native"
 
 PR = "r2"
 
meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_2.32.0.bb +1 -1
index 94bfa3b..4fd38a0 100644
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \
 PR = "r1"
 
 SECTION = "x11/gnome"
-DEPENDS = "obexd gnome-doc-utils-native gnome-doc-utils gconf gtk+ dbus-glib libunique libnotify bluez4 gnome-keyring virtual/libx11 libxi"
+DEPENDS = "obexd gnome-doc-utils-native gnome-doc-utils gconf gtk+ dbus-glib libunique libnotify bluez4 gnome-keyring virtual/libx11 libxi intltool-native"
 
 inherit gnomebase gtk-icon-cache
 
meta-gnome/recipes-gnome/gnome-system-monitor/gnome-system-monitor_2.28.2.bb +1 -1
index 1c14952..ce4b64e 100644
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
 SECTION = "x11/gnome"
 PR = "r2"
 
-DEPENDS = "libgtop gtkmm glibmm gnome-doc-utils gnome-icon-theme libwnck gtk+ dbus-glib librsvg"
+DEPENDS = "libgtop gtkmm glibmm gnome-doc-utils gnome-icon-theme libwnck gtk+ dbus-glib librsvg intltool-native"
 
 inherit gnome
 SRC_URI[archive.md5sum] = "3f0bca9b0ebc7a365466851cd580d167"
Signature · 1 line
2.0.0
#6 lore raw

PATCH 7/7 recipes: add missing pkgconfig inherit

In reply to Martin Jansa
---
 meta-gnome/recipes-support/florence/florence_0.5.1.bb    | 2 +-
 meta-oe/recipes-extended/mml-widget/gtkmathview_0.8.0.bb | 2 +-
 meta-oe/recipes-support/libgc/libgc_7.2d.bb              | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
meta-gnome/recipes-support/florence/florence_0.5.1.bb +1 -1
index 56d8914..9eab385 100644
@@ -15,6 +15,6 @@ SRC_URI = "http://switch.dl.sourceforge.net/project/florence/florence/0.5.1/flor
 SRC_URI[md5sum] = "56d12e5b47c100d9df172aa5ddc0f609"
 SRC_URI[sha256sum] = "7b06ed84ef2b7b22d8d2cf0c7d013a05409bd82028240ac8719a68b192d5bc62"
 
-inherit gettext autotools gconf
+inherit gettext autotools gconf pkgconfig
 
 EXTRA_OECONF = "--disable-scrollkeeper --without-docs --without-at-spi --without-panelapplet"
meta-oe/recipes-extended/mml-widget/gtkmathview_0.8.0.bb +1 -1
index 95deb37..7aef6cd 100644
@@ -14,7 +14,7 @@ SRC_URI = "http://helm.cs.unibo.it/mml-widget/sources/${P}.tar.gz \
 SRC_URI[md5sum] = "b53564e553728d4b69f7d366dfeb5299"
 SRC_URI[sha256sum] = "1dc30175da6a3c560a7d62d1abe1c2f9829d988e6f1a7c5e766544575c558c43"
 
-inherit autotools-brokensep
+inherit autotools-brokensep pkgconfig
 
 do_configure_prepend() {
     sed -i -e s:AM_BINRELOC::g ${S}/configure.ac
meta-oe/recipes-support/libgc/libgc_7.2d.bb +1 -1
index 66e6b92..82a7f13 100644
@@ -14,7 +14,7 @@ SRC_URI[sha256sum] = "d9fe0ae8650d43746a48bfb394cab01a319f3809cee19f8ebd16aa985b
 
 S = "${WORKDIR}/gc-7.2"
 
-inherit autotools
+inherit autotools pkgconfig
 
 # by default use external libatomic-ops
 PACKAGECONFIG ??= "libatomic-ops"
Signature · 1 line
2.0.0