* [meta-oe][PATCH] fltk: Replace use of freetype-config with pkg-config Drop blacklist entry
@ 2015-03-02 10:15 Florian Boor
2015-03-02 10:27 ` Martin Jansa
0 siblings, 1 reply; 3+ messages in thread
From: Florian Boor @ 2015-03-02 10:15 UTC (permalink / raw)
To: openembedded-core; +Cc: Florian Boor
From: Florian Boor <florian@kernelconcepts.de>
Tested building for MIPS 32bit QEMU
Signed-off-by: Florian Boor <florian@kernelconcepts.de>
---
.../fltk/fltk-1.1.10/fltk-no-freetype-config.patch | 18 ++++++++++++++++++
meta-oe/recipes-support/fltk/fltk_1.1.10.bb | 7 +++----
2 files changed, 21 insertions(+), 4 deletions(-)
create mode 100644 meta-oe/recipes-support/fltk/fltk-1.1.10/fltk-no-freetype-config.patch
diff --git a/meta-oe/recipes-support/fltk/fltk-1.1.10/fltk-no-freetype-config.patch b/meta-oe/recipes-support/fltk/fltk-1.1.10/fltk-no-freetype-config.patch
new file mode 100644
index 0000000..5dbb054
--- /dev/null
+++ b/meta-oe/recipes-support/fltk/fltk-1.1.10/fltk-no-freetype-config.patch
@@ -0,0 +1,18 @@
+--- a/configure.in.orig 2015-03-01 16:00:35.956432907 +0100
++++ b/configure.in 2015-03-01 16:04:23.269580093 +0100
+@@ -865,11 +865,11 @@
+ AC_ARG_ENABLE(xft, [ --enable-xft turn on Xft support [default=no]])
+
+ if test x$enable_xft = xyes; then
+- AC_PATH_PROG(FTCONFIG,freetype-config)
++ AC_PATH_PROG(PKGCONFIG,pkg-config)
+
+- if test "x$FTCONFIG" != x; then
+- CPPFLAGS="`$FTCONFIG --cflags` $CPPFLAGS"
+- CXXFLAGS="`$FTCONFIG --cflags` $CXXFLAGS"
++ if test "x$PKGCONFIG" != x; then
++ CPPFLAGS="`$PKGCONFIG --cflags xft` $CPPFLAGS"
++ CXXFLAGS="`$PKGCONFIG --cflags xft` $CXXFLAGS"
+
+ AC_CHECK_HEADER(X11/Xft/Xft.h,
+ AC_CHECK_LIB(Xft, XftDrawCreate,
diff --git a/meta-oe/recipes-support/fltk/fltk_1.1.10.bb b/meta-oe/recipes-support/fltk/fltk_1.1.10.bb
index 4fd3645..3229ed0 100644
--- a/meta-oe/recipes-support/fltk/fltk_1.1.10.bb
+++ b/meta-oe/recipes-support/fltk/fltk_1.1.10.bb
@@ -6,19 +6,18 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1c0b73db66884b6a925e727400315130"
DEPENDS = "alsa-lib zlib jpeg libpng libxext libxft"
-PR = "r1"
-
-PNBLACKLIST[fltk] ?= "broken: still uses /usr/bin/freetype-config"
+PR = "r2"
SRC_URI = "ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.easysw.com/ftp/pub/fltk/${PV}/fltk-${PV}-source.tar.bz2 \
file://disable_test.patch \
file://dso-fix.patch \
file://libpng15.patch \
+ file://fltk-no-freetype-config.patch \
"
S = "${WORKDIR}/fltk-${PV}"
-inherit lib_package autotools-brokensep binconfig
+inherit lib_package autotools-brokensep binconfig pkgconfig
TARGET_CC_ARCH += "${LDFLAGS} -DXFT_MAJOR=2"
--
1.7.10.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [meta-oe][PATCH] fltk: Replace use of freetype-config with pkg-config Drop blacklist entry
2015-03-02 10:15 [meta-oe][PATCH] fltk: Replace use of freetype-config with pkg-config Drop blacklist entry Florian Boor
@ 2015-03-02 10:27 ` Martin Jansa
2015-03-02 10:35 ` Florian Boor
0 siblings, 1 reply; 3+ messages in thread
From: Martin Jansa @ 2015-03-02 10:27 UTC (permalink / raw)
To: Florian Boor; +Cc: Florian Boor, openembedded-core
[-- Attachment #1: Type: text/plain, Size: 3026 bytes --]
On Mon, Mar 02, 2015 at 11:15:13AM +0100, Florian Boor wrote:
> From: Florian Boor <florian@kernelconcepts.de>
>
> Tested building for MIPS 32bit QEMU
Wrong ML, please resend to oe-devel.
>
> Signed-off-by: Florian Boor <florian@kernelconcepts.de>
> ---
> .../fltk/fltk-1.1.10/fltk-no-freetype-config.patch | 18 ++++++++++++++++++
> meta-oe/recipes-support/fltk/fltk_1.1.10.bb | 7 +++----
> 2 files changed, 21 insertions(+), 4 deletions(-)
> create mode 100644 meta-oe/recipes-support/fltk/fltk-1.1.10/fltk-no-freetype-config.patch
>
> diff --git a/meta-oe/recipes-support/fltk/fltk-1.1.10/fltk-no-freetype-config.patch b/meta-oe/recipes-support/fltk/fltk-1.1.10/fltk-no-freetype-config.patch
> new file mode 100644
> index 0000000..5dbb054
> --- /dev/null
> +++ b/meta-oe/recipes-support/fltk/fltk-1.1.10/fltk-no-freetype-config.patch
> @@ -0,0 +1,18 @@
> +--- a/configure.in.orig 2015-03-01 16:00:35.956432907 +0100
> ++++ b/configure.in 2015-03-01 16:04:23.269580093 +0100
> +@@ -865,11 +865,11 @@
> + AC_ARG_ENABLE(xft, [ --enable-xft turn on Xft support [default=no]])
> +
> + if test x$enable_xft = xyes; then
> +- AC_PATH_PROG(FTCONFIG,freetype-config)
> ++ AC_PATH_PROG(PKGCONFIG,pkg-config)
> +
> +- if test "x$FTCONFIG" != x; then
> +- CPPFLAGS="`$FTCONFIG --cflags` $CPPFLAGS"
> +- CXXFLAGS="`$FTCONFIG --cflags` $CXXFLAGS"
> ++ if test "x$PKGCONFIG" != x; then
> ++ CPPFLAGS="`$PKGCONFIG --cflags xft` $CPPFLAGS"
> ++ CXXFLAGS="`$PKGCONFIG --cflags xft` $CXXFLAGS"
> +
> + AC_CHECK_HEADER(X11/Xft/Xft.h,
> + AC_CHECK_LIB(Xft, XftDrawCreate,
> diff --git a/meta-oe/recipes-support/fltk/fltk_1.1.10.bb b/meta-oe/recipes-support/fltk/fltk_1.1.10.bb
> index 4fd3645..3229ed0 100644
> --- a/meta-oe/recipes-support/fltk/fltk_1.1.10.bb
> +++ b/meta-oe/recipes-support/fltk/fltk_1.1.10.bb
> @@ -6,19 +6,18 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1c0b73db66884b6a925e727400315130"
>
> DEPENDS = "alsa-lib zlib jpeg libpng libxext libxft"
>
> -PR = "r1"
> -
> -PNBLACKLIST[fltk] ?= "broken: still uses /usr/bin/freetype-config"
> +PR = "r2"
>
> SRC_URI = "ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.easysw.com/ftp/pub/fltk/${PV}/fltk-${PV}-source.tar.bz2 \
> file://disable_test.patch \
> file://dso-fix.patch \
> file://libpng15.patch \
> + file://fltk-no-freetype-config.patch \
> "
>
> S = "${WORKDIR}/fltk-${PV}"
>
> -inherit lib_package autotools-brokensep binconfig
> +inherit lib_package autotools-brokensep binconfig pkgconfig
>
> TARGET_CC_ARCH += "${LDFLAGS} -DXFT_MAJOR=2"
>
> --
> 1.7.10.4
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [meta-oe][PATCH] fltk: Replace use of freetype-config with pkg-config Drop blacklist entry
2015-03-02 10:27 ` Martin Jansa
@ 2015-03-02 10:35 ` Florian Boor
0 siblings, 0 replies; 3+ messages in thread
From: Florian Boor @ 2015-03-02 10:35 UTC (permalink / raw)
Cc: openembedded-core
Hi,
On 02.03.2015 11:27, Martin Jansa wrote:
> Wrong ML, please resend to oe-devel.
oh indeed - sorry...
Greetings
Florian
--
The dream of yesterday Florian Boor
is the hope of today Tel: +49 271-771091-15
and the reality of tomorrow. Fax: +49 271-771091-19
[Robert Hutchings Goddard, 1904] florian.boor@kernelconcepts.de
http://www.kernelconcepts.de/en
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-03-02 10:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-02 10:15 [meta-oe][PATCH] fltk: Replace use of freetype-config with pkg-config Drop blacklist entry Florian Boor
2015-03-02 10:27 ` Martin Jansa
2015-03-02 10:35 ` Florian Boor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox