directfb: fix tslib version check in configure.in
Hi Richard,
This is my third attempt getting my reply onto the mailing list. I suspect the first two attempts were filtered due to the link to the v2 patch I added. I removed the link this time.
I already sent an updated version of the patch to the [email protected] mailing list because an automatic system informed me that I hit the wrong mailing list. I propose to switch to openembedded-devel for further discussions.
[meta-oe,v2] directfb: fix tslib version check in configure.in
Sadly, there hasn't been any reaction yet.
Quoted 9 lines
Quoted 9 lines
From: Guan Ben <[email protected]>
The patch makes sure that the old as well as the new tslib pkg-config metadata file naming style is handled correctly.
tslib 0.0 to 1.0 created only a tslib-<VERSION>.pc pkg-config metadata
file.
Quoted 8 lines
Quoted 5 lines
With tslib 1.1 the tslib-<VERSION>.pc phase out was started. Additionally, the pkg-config metadata file tslib.pc was added.
Since tslib 1.6 the tslib-<VERSION>.pc metadata file is deprecated. Now, there is only a tslib.pc.
I'm a little confused about why OE needs this patch? Surely OE is using the more recent tslib releases and therefore we don't need this patch?
OE needs this patch because it uses DirectFB's build system and that is broken with the most recent tslib releases.
In the beginning tslib only had a tslib-<VERSION>.pc for pkgconfig.
Starting with tslib 1.1, tslib.pc and tslib-<VERSION>.pc were created for pkgconfig. And the tslib-<VERSION>.pc file was declared to be deprecated.
From tslib 1.6 on only the tslib.pc file is available.
DirectFB's configure.in is not aware that there is a situation without a tslib-<VERSION>.pc file. Thus it will not find tslib and this causes that the tslib input driver won't be built.
DirectFB 1.7.7:
enable_tslib=no
if test "$checkfor_tslib" = "yes"; then
PKG_CHECK_MODULES([TSLIB], [tslib-1.0 >= 1.0.0], [enable_tslib=yes], [enable_tslib=no]) if test "$enable_tslib" = "no"; then
PKG_CHECK_MODULES([TSLIB], [tslib-0.0], [enable_tslib=yes], [enable_tslib=no
AC_MSG_WARN([*** no tslib -- tslib driver will not be built.])])
fi
fi
Patched:
enable_tslib=no
if test "$checkfor_tslib" = "yes"; then
PKG_CHECK_MODULES([TSLIB], [tslib >= 1.1], [enable_tslib=yes], [enable_tslib=no]) if test "$enable_tslib" = "no"; then
PKG_CHECK_MODULES([TSLIB], [tslib-1.0 >= 1.0], [enable_tslib=yes], [enable_tslib=no]) if test "$enable_tslib" = "no"; then
PKG_CHECK_MODULES([TSLIB], [tslib-0.0], [enable_tslib=yes], [enable_tslib=no
AC_MSG_WARN([*** no tslib -- tslib driver will not be built.])])
fi
fi
fi
Greetings,
Mark
Building Technologies, Panel Software Fire (BT-FIR/ENG1)
Bosch Sicherheitssysteme GmbH | Postfach 11 11 | 85626 Grasbrunn | GERMANY | www.boschsecurity.com
Sitz: Stuttgart, Registergericht: Amtsgericht Stuttgart HRB 23118
Aufsichtsratsvorsitzender: Stefan Hartung; Geschäftsführung: Tanja Rückert, Andreas Bartz, Thomas Quante, Bernhard Schuster
Quoted 7 lines · On Tue, 2018-08-21 at 08:36 +0000, Jonas Mark (BT-FIR/ENG1) wrote:
Hi Richard,
This is my third attempt getting my reply onto the mailing list. I suspect the first two attempts were filtered due to the link to the v2
patch I added. I removed the link this time.
Quoted 8 lines
I already sent an updated version of the patch to the [email protected] mailing list because an automatic system informed me that I hit the wrong mailing list. I propose to switch to openembedded-devel for further discussions.
[meta-oe,v2] directfb: fix tslib version check in configure.in
Sadly, there hasn't been any reaction yet.
FWIW your messages do appear to be making it to the mailing list(s) and you can see them in the archives, e.g.:
http://lists.openembedded.org/pipermail/openembedded-devel/2018-August/120115.html
I look after OE-Core, not meta-oe where this patch needs to go so I can't help with that but the patch is on the right list for them to see it.
Cheers,
Richard
Quoted 18 lines · On Tue, Aug 21, 2018 at 2:58 PM <[email protected]> wrote:
Quoted 7 lines · On Tue, 2018-08-21 at 08:36 +0000, Jonas Mark (BT-FIR/ENG1) wrote:
Hi Richard,
This is my third attempt getting my reply onto the mailing list. I suspect the first two attempts were filtered due to the link to the v2
patch I added. I removed the link this time.Quoted 8 lines
I already sent an updated version of the patch to the [email protected] mailing list because an automatic system informed me that I hit the wrong mailing list. I propose to switch to openembedded-devel for further discussions.
[meta-oe,v2] directfb: fix tslib version check in configure.in
Sadly, there hasn't been any reaction yet.
Quoted 8 lines
FWIW your messages do appear to be making it to the mailing list(s) and you can see them in the archives, e.g.:
http://lists.openembedded.org/pipermail/openembedded-devel/2018-August/120115.html
I look after OE-Core, not meta-oe where this patch needs to go so I can't help with that but the patch is on the right list for them to see it.
its in master
Quoted 4 lines
Cheers,
Richard