Files
meta-openembedded/meta-oe/recipes-graphics/fontforge/fontforge_20150824.bb
Andreas Müller 5ec8663e20 fontforge: add back gnulib to DEPENDS
commit 00ec8bc10d
Author: Paul Gortmaker <paul.gortmaker@windriver.com>
Date:   Sun May 8 15:08:12 2016 -0400

    autotools-bootstrap: make bootstrap package specific.

removed this dependency causing:

ERROR: fontforge-20150824-r0 do_configure: Function failed: do_configure (log file is located at /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-angstrom-linux-gnueabi/fontforge/20150824-r0/temp/log.do_configure.26234)
ERROR: Logfile of failure stored in: /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-angstrom-linux-gnueabi/fontforge/20150824-r0/temp/log.do_configure.26234
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing python function autotools_copy_aclocals
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Python function autotools_copy_aclocals finished
| DEBUG: Executing shell function do_configure
| cp: cannot stat '/home/superandy/tmp/oe-core-glibc/sysroots/raspberrypi2/usr/share/gnulib': No such file or directory
| WARNING: /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-angstrom-linux-gnueabi/fontforge/20150824-r0/temp/run.do_configure.26234:1 exit 1 from 'cp -rf /home/superandy/tmp/oe-core-glibc/sysroots/raspberrypi2/usr/share/gnulib /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-angstrom-linux-gnueabi/fontforge/20150824-r0/git'
| ERROR: Function failed: do_configure (log file is located at /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-angstrom-linux-gnueabi/fontforge/20150824-r0/temp/log.do_configure.26234)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-27 15:39:14 +02:00

61 lines
1.7 KiB
BlitzBasic

SUMMARY = "A font editor"
HOMEPAGE = "http://fontforge.github.io/en-US/"
LICENSE = "BSD-3-Clause & GPLv3"
LIC_FILES_CHKSUM = " \
file://COPYING.gplv3;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSE;md5=3f922b42ed0033fa0fd4cd3268f6429c \
"
DEPENDS = "glib-2.0 pango giflib tiff libxml2 jpeg python libtool uthash gnulib"
DEPENDS_append_class-target = " libxi"
inherit autotools pkgconfig pythonnative distro_features_check
REQUIRED_DISTRO_FEATURES_append_class-target = " x11"
SRC_URI = "git://github.com/${BPN}/${BPN}.git"
# tag 20150824
SRCREV = "07d5ccff2704f8a56f1b3cc6695a4e31f85f88e6"
S = "${WORKDIR}/git"
EXTRA_OECONF_append_class-native = " with_x=no --disable-python-extension --disable-python-scripting"
do_configure_prepend() {
# uthash sources are expected in uthash/src
currdir=`pwd`
cd ${S}
mkdir -p uthash/src
cp ${STAGING_INCDIR}/ut*.h uthash/src
# avoid bootstrap cloning gnulib on every configure
cat >.gitmodules <<EOF
[submodule "gnulib"]
path = gnulib
url = git://git.sv.gnu.org/gnulib
EOF
cp -rf ${STAGING_DATADIR}/gnulib ${S}
# --force to avoid errors on reconfigure e.g if recipes changed we depend on
# | bootstrap: running: libtoolize --quiet
# | libtoolize: error: 'libltdl/COPYING.LIB' exists: use '--force' to overwrite
# | ...
./bootstrap --force
cd $currdir
}
PACKAGES =+ "${PN}-python-dbg ${PN}-python"
FILES_${PN} += " \
${datadir}/mime \
${datadir}/icons \
"
FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR} ${datadir}/${PN}/python"
FILES_${PN}-python-dbg = "${PYTHON_SITEPACKAGES_DIR}/.debug"
RDEPENDS_${PN}-python = "python"
# for e.g kde's oxygen-fonts
BBCLASSEXTEND = "native"