fltk: upgrade 1.1.10 to 1.3.3
cover fltk: upgrade 1.1.10 to 1.3.3
The following changes since commit ea319464b673cbf9a416b582dc4766faeb998430:
vlc: add PACKAGECONFIG for samba, upnp, dvdnav, sftp, vorbis, dc1394, dv1394, svg, svgdec (2015-11-16 21:50:11 +0100)
are available in the git repository at:
git://git.openembedded.org/meta-openembedded-contrib yzhao/fltk-upgrade
http://cgit.openembedded.org/cgit.cgi/meta-openembedded-contrib/log/?h=yzhao/fltk-upgrade
Yi Zhao (1):
fltk: upgrade from version 1.1.10 to 1.3.3
.../fltk/fltk-1.1.10/disable_test.patch | 13 -----
.../fltk/fltk-1.1.10/libpng15.patch | 61 --------------------
.../recipes-support/fltk/fltk/disable_test.patch | 11 ++++
.../fltk/{fltk-1.1.10 => fltk}/dso-fix.patch | 0
.../fltk/fltk/fix-boolean-issue-with-jpeg9.patch | 38 ++++++++++++
.../fltk-no-freetype-config.patch | 14 +++--
.../fltk/{fltk_1.1.10.bb => fltk_1.3.3.bb} | 22 ++++---
7 files changed, 71 insertions(+), 88 deletions(-)
delete mode 100644 meta-oe/recipes-support/fltk/fltk-1.1.10/disable_test.patch
delete mode 100644 meta-oe/recipes-support/fltk/fltk-1.1.10/libpng15.patch
create mode 100644 meta-oe/recipes-support/fltk/fltk/disable_test.patch
rename meta-oe/recipes-support/fltk/{fltk-1.1.10 => fltk}/dso-fix.patch (100%)
create mode 100644 meta-oe/recipes-support/fltk/fltk/fix-boolean-issue-with-jpeg9.patch
rename meta-oe/recipes-support/fltk/{fltk-1.1.10 => fltk}/fltk-no-freetype-config.patch (57%)
rename meta-oe/recipes-support/fltk/{fltk_1.1.10.bb => fltk_1.3.3.bb} (51%)Signature · 1 line
1.7.9.5
PATCH 1/1 fltk: upgrade from version 1.1.10 to 1.3.3
- backport patch from trunk to fix build failure with jpeg-9 library
- add PACKAGECONFIG for opengl, xinerama, xfixes, xcursor to fix [build-deps] qa warnings
- rebase patches against the new version
---
.../fltk/fltk-1.1.10/disable_test.patch | 13 -----
.../fltk/fltk-1.1.10/libpng15.patch | 61 --------------------
.../recipes-support/fltk/fltk/disable_test.patch | 11 ++++
.../fltk/{fltk-1.1.10 => fltk}/dso-fix.patch | 0
.../fltk/fltk/fix-boolean-issue-with-jpeg9.patch | 38 ++++++++++++
.../fltk-no-freetype-config.patch | 14 +++--
.../fltk/{fltk_1.1.10.bb => fltk_1.3.3.bb} | 22 ++++---
7 files changed, 71 insertions(+), 88 deletions(-)
delete mode 100644 meta-oe/recipes-support/fltk/fltk-1.1.10/disable_test.patch
delete mode 100644 meta-oe/recipes-support/fltk/fltk-1.1.10/libpng15.patch
create mode 100644 meta-oe/recipes-support/fltk/fltk/disable_test.patch
rename meta-oe/recipes-support/fltk/{fltk-1.1.10 => fltk}/dso-fix.patch (100%)
create mode 100644 meta-oe/recipes-support/fltk/fltk/fix-boolean-issue-with-jpeg9.patch
rename meta-oe/recipes-support/fltk/{fltk-1.1.10 => fltk}/fltk-no-freetype-config.patch (57%)
rename meta-oe/recipes-support/fltk/{fltk_1.1.10.bb => fltk_1.3.3.bb} (51%)meta-oe/recipes-support/fltk/fltk-1.1.10/disable_test.patch deleted +0 -13
@@ -1,13 +0,0 @@ -Index: fltk-1.1.9/Makefile -=================================================================== ---- fltk-1.1.9.orig/Makefile 2008-06-06 16:14:11.936736201 +0200 -+++ fltk-1.1.9/Makefile 2008-06-06 16:14:22.526357637 +0200 -@@ -27,7 +27,7 @@ - - include makeinclude - --DIRS = $(IMAGEDIRS) src fluid test documentation -+DIRS = $(IMAGEDIRS) src fluid documentation - - all: makeinclude fltk-config - for dir in $(DIRS); do\
meta-oe/recipes-support/fltk/fltk-1.1.10/libpng15.patch deleted +0 -61
61 lines not on this page · raw message
meta-oe/recipes-support/fltk/fltk/disable_test.patch new file +11 -0
@@ -0,0 +1,11 @@ +--- a/Makefile.orig 2015-11-26 15:35:31.485357862 +0800 ++++ b/Makefile 2015-11-26 15:35:37.037357764 +0800 +@@ -18,7 +18,7 @@ + + include makeinclude + +-DIRS = $(IMAGEDIRS) src $(CAIRODIR) fluid test documentation ++DIRS = $(IMAGEDIRS) src $(CAIRODIR) fluid documentation + + all: makeinclude fltk-config + for dir in $(DIRS); do\
meta-oe/recipes-support/fltk/fltk/dso-fix.patch renamed from meta-oe/recipes-support/fltk/fltk-1.1.10/dso-fix.patch +0 -0
meta-oe/recipes-support/fltk/fltk/fix-boolean-issue-with-jpeg9.patch new file +38 -0
@@ -0,0 +1,38 @@ +From 14c22398f8370e33a798360ed0dad513af8f1470 Mon Sep 17 00:00:00 2001 +From: AlbrechtS <AlbrechtS@ea41ed52-d2ee-0310-a9c1-e6b18d33e121> +Date: Sun, 15 Mar 2015 19:32:33 +0000 +Subject: [PATCH] Fix 'boolean' issue with jpeg-9 library compatibility (STR + #2920). + +According to comments in STR #2920 and my own tests this is also +compatible with older jpeg libraries (at least jpeg-8). + +--- + src/Fl_JPEG_Image.cxx | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/Fl_JPEG_Image.cxx b/src/Fl_JPEG_Image.cxx +index 47120a7..6cebe88 100644 +--- a/src/Fl_JPEG_Image.cxx ++++ b/src/Fl_JPEG_Image.cxx +@@ -155,7 +155,7 @@ Fl_JPEG_Image::Fl_JPEG_Image(const char *filename) // I - File to load + + jpeg_create_decompress(&dinfo); + jpeg_stdio_src(&dinfo, fp); +- jpeg_read_header(&dinfo, 1); ++ jpeg_read_header(&dinfo, TRUE); + + dinfo.quantize_colors = (boolean)FALSE; + dinfo.out_color_space = JCS_RGB; +@@ -337,7 +337,7 @@ Fl_JPEG_Image::Fl_JPEG_Image(const char *name, const unsigned char *data) + + jpeg_create_decompress(&dinfo); + jpeg_mem_src(&dinfo, data); +- jpeg_read_header(&dinfo, 1); ++ jpeg_read_header(&dinfo, TRUE); + + dinfo.quantize_colors = (boolean)FALSE; + dinfo.out_color_space = JCS_RGB; +-- +1.7.9.5 +
meta-oe/recipes-support/fltk/fltk/fltk-no-freetype-config.patch renamed from meta-oe/recipes-support/fltk/fltk-1.1.10/fltk-no-freetype-config.patch +8 -6
@@ -1,18 +1,20 @@ ---- 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]]) +--- a/configure.in.orig 2015-11-26 14:30:17.893426966 +0800 ++++ b/configure.in 2015-11-26 14:33:00.285424099 +0800 +@@ -969,12 +969,12 @@ case $host_os_gui in + AC_ARG_ENABLE(xft, [ --enable-xft turn on Xft support [[default=yes]]]) - if test x$enable_xft = xyes; then + if test x$enable_xft != xno; then - AC_PATH_PROG(FTCONFIG,freetype-config) + AC_PATH_PROG(PKGCONFIG,pkg-config) - if test "x$FTCONFIG" != x; then - CPPFLAGS="`$FTCONFIG --cflags` $CPPFLAGS" +- CFLAGS="`$FTCONFIG --cflags` $CFLAGS" - CXXFLAGS="`$FTCONFIG --cflags` $CXXFLAGS" + if test "x$PKGCONFIG" != x; then + CPPFLAGS="`$PKGCONFIG --cflags xft` $CPPFLAGS" ++ CFLAGS="`$PKGCONFIG --cflags xft` $CFLAGS" + CXXFLAGS="`$PKGCONFIG --cflags xft` $CXXFLAGS" + AC_CHECK_LIB(fontconfig, FcPatternCreate) AC_CHECK_HEADER(X11/Xft/Xft.h, - AC_CHECK_LIB(Xft, XftDrawCreate,
meta-oe/recipes-support/fltk/fltk_1.3.3.bb renamed from meta-oe/recipes-support/fltk/fltk_1.1.10.bb +14 -8
@@ -2,19 +2,20 @@ SUMMARY = "FLTK is a cross-platform C++ GUI toolkit" HOMEPAGE = "http://www.fltk.org" SECTION = "libs" LICENSE = "LGPLv2 & FLTK" -LIC_FILES_CHKSUM = "file://COPYING;md5=1c0b73db66884b6a925e727400315130" +LIC_FILES_CHKSUM = "file://COPYING;md5=f6b26344a24a941a01a5b0826e80b5ca" DEPENDS = "alsa-lib zlib jpeg libpng libxext libxft" -PR = "r2" - -SRC_URI = "ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.easysw.com/ftp/pub/fltk/${PV}/fltk-${PV}-source.tar.bz2 \ +SRC_URI = "http://fltk.org/pub/fltk/${PV}/${BP}-source.tar.gz \ file://disable_test.patch \ file://dso-fix.patch \ - file://libpng15.patch \ file://fltk-no-freetype-config.patch \ + file://fix-boolean-issue-with-jpeg9.patch \ " +SRC_URI[md5sum] = "9ccdb0d19dc104b87179bd9fd10822e3" +SRC_URI[sha256sum] = "f8398d98d7221d40e77bc7b19e761adaf2f1ef8bb0c30eceb7beb4f2273d0d97" + S = "${WORKDIR}/fltk-${PV}" inherit lib_package autotools-brokensep binconfig pkgconfig
@@ -23,9 +24,16 @@ TARGET_CC_ARCH += "${LDFLAGS} -DXFT_MAJOR=2" EXTRA_OECONF = "--enable-shared \ --enable-threads \ - --enable-xdbe --enable-xft --enable-gl \ + --enable-xdbe --enable-xft \ --x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR}" +PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'opengl', '', d)}" + +PACKAGECONFIG[opengl] = "--enable-gl,--disable-gl,virtual/libgl" +PACKAGECONFIG[xinerama] = "--enable-xinerama,--disable-xinerama,libxinerama" +PACKAGECONFIG[xfixes] = "--enable-xfixes,--disable-xfixes,libxfixes" +PACKAGECONFIG[xcursor] = "--enable-xcursor,--disable-xcursor,libxcursor" + do_configure() { oe_runconf }
@@ -37,5 +45,3 @@ python populate_packages_prepend () { LEAD_SONAME = "libfltk.so" -SRC_URI[md5sum] = "a1765594bc427ff892e36089fe1fa672" -SRC_URI[sha256sum] = "37ada22bf2586b8dd30d84209b8b58bdcb864627e5d02ae3f2c323a29261b19a"
Signature · 1 line
1.7.9.5
Please ignore this patch because it's built failed for qemuppc. I will check it.
Thanks,
Yi
Quoted 28 lines · Yi Zhao
The following changes since commit
ea319464b673cbf9a416b582dc4766faeb998430:vlc: add PACKAGECONFIG for samba, upnp, dvdnav, sftp, vorbis, dc1394, dv1394, svg, svgdec (2015-11-16 21:50:11 +0100)
are available in the git repository at:
git://git.openembedded.org/meta-openembedded-contribyzhao/fltk-upgrade
http://cgit.openembedded.org/cgit.cgi/meta-openembedded-contrib/log/?h=yzhao/fltk-upgradeYi Zhao (1):
fltk: upgrade from version 1.1.10 to 1.3.3.../fltk/fltk-1.1.10/disable_test.patch | 13 ----- .../fltk/fltk-1.1.10/libpng15.patch | 61 -------------------- .../recipes-support/fltk/fltk/disable_test.patch | 11 ++++ .../fltk/{fltk-1.1.10 => fltk}/dso-fix.patch | 0 .../fltk/fltk/fix-boolean-issue-with-jpeg9.patch | 38 ++++++++++++ .../fltk-no-freetype-config.patch | 14 +++-- .../fltk/{fltk_1.1.10.bb => fltk_1.3.3.bb} | 22 ++++--- 7 files changed, 71 insertions(+), 88 deletions(-)delete mode 100644
meta-oe/recipes-support/fltk/fltk-1.1.10/disable_test.patchdelete mode 100644meta-oe/recipes-support/fltk/fltk-1.1.10/libpng15.patchcreate mode 100644meta-oe/recipes-support/fltk/fltk/disable_test.patch
rename meta-oe/recipes-support/fltk/{fltk-1.1.10 =>fltk}/dso-fix.patch(100%) create mode 100644meta-oe/recipes-support/fltk/fltk/fix-boolean-issue-with-jpeg9.patchrename meta-oe/recipes-support/fltk/{fltk-1.1.10 =>fltk}/fltk-no-freetype-config.patch(57%) rename meta-oe/recipes-support/fltk/{fltk_1.1.10.bb => fltk_1.3.3.bb} (51%)