Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
Disable tests, slower to build and would need host-fltk.
|
||||
|
||||
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
|
||||
diff -Nura fltk-1.3.2.orig/Makefile fltk-1.3.2/Makefile
|
||||
--- fltk-1.3.2.orig/Makefile 2013-10-27 18:19:39.693208127 -0300
|
||||
+++ fltk-1.3.2/Makefile 2013-10-27 18:20:08.032136885 -0300
|
||||
@@ -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\
|
||||
26
deprecated/firmware/buildroot/package/fltk/0002-jpeg-9.patch
Normal file
26
deprecated/firmware/buildroot/package/fltk/0002-jpeg-9.patch
Normal file
@@ -0,0 +1,26 @@
|
||||
From http://www.fltk.org/str.php?L2920
|
||||
However it's not yet applied apparently until bundled jpeg is upgraded.
|
||||
|
||||
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
|
||||
diff -Nura fltk-1.3.2.orig/src/Fl_JPEG_Image.cxx fltk-1.3.2/src/Fl_JPEG_Image.cxx
|
||||
--- fltk-1.3.2.orig/src/Fl_JPEG_Image.cxx 2014-07-03 12:56:27.731197463 -0300
|
||||
+++ fltk-1.3.2/src/Fl_JPEG_Image.cxx 2014-07-03 12:56:57.907218257 -0300
|
||||
@@ -155,7 +155,7 @@
|
||||
|
||||
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;
|
||||
@@ -333,7 +333,7 @@
|
||||
|
||||
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;
|
||||
19
deprecated/firmware/buildroot/package/fltk/Config.in
Normal file
19
deprecated/firmware/buildroot/package/fltk/Config.in
Normal file
@@ -0,0 +1,19 @@
|
||||
config BR2_PACKAGE_FLTK
|
||||
bool "fltk"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
depends on BR2_USE_MMU # fork()
|
||||
select BR2_PACKAGE_JPEG
|
||||
select BR2_PACKAGE_LIBPNG
|
||||
select BR2_PACKAGE_XLIB_LIBXT
|
||||
select BR2_PACKAGE_XLIB_LIBX11
|
||||
select BR2_PACKAGE_XLIB_LIBXEXT
|
||||
help
|
||||
A cross-platform C++ GUI toolkit for UNIX/Linux (X11),
|
||||
Microsoft Windows, and MacOS X.
|
||||
|
||||
http://www.fltk.org/
|
||||
|
||||
comment "fltk needs a toolchain w/ C++"
|
||||
depends on BR2_USE_MMU && BR2_PACKAGE_XORG7
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
4
deprecated/firmware/buildroot/package/fltk/fltk.hash
Normal file
4
deprecated/firmware/buildroot/package/fltk/fltk.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# From http://www.fltk.org/software.php?VERSION=1.3.3
|
||||
md5 9ccdb0d19dc104b87179bd9fd10822e3 fltk-1.3.3-source.tar.gz
|
||||
# Locally generated
|
||||
sha256 f8398d98d7221d40e77bc7b19e761adaf2f1ef8bb0c30eceb7beb4f2273d0d97 fltk-1.3.3-source.tar.gz
|
||||
57
deprecated/firmware/buildroot/package/fltk/fltk.mk
Normal file
57
deprecated/firmware/buildroot/package/fltk/fltk.mk
Normal file
@@ -0,0 +1,57 @@
|
||||
################################################################################
|
||||
#
|
||||
# fltk
|
||||
#
|
||||
################################################################################
|
||||
|
||||
FLTK_VERSION = 1.3.3
|
||||
FLTK_SOURCE = fltk-$(FLTK_VERSION)-source.tar.gz
|
||||
FLTK_SITE = http://fltk.org/pub/fltk/$(FLTK_VERSION)
|
||||
FLTK_INSTALL_STAGING = YES
|
||||
# We force --libdir=/usr/lib, because by default, it is set to
|
||||
# ${exec_prefix}/lib, which doesn't match the condition used by the
|
||||
# fltk build system to decide whether it should pass a -rpath,/usr/lib
|
||||
# or not. Since this rpath breaks the build, we want the fltk build
|
||||
# system to not pass it, which requires having --libdir set to
|
||||
# /usr/lib.
|
||||
FLTK_CONF_OPTS = --enable-threads --with-x --disable-gl \
|
||||
--disable-localjpeg --disable-localpng --disable-localzlib \
|
||||
--libdir=/usr/lib
|
||||
FLTK_DEPENDENCIES = jpeg libpng xlib_libX11 xlib_libXext xlib_libXt
|
||||
FLTK_CONFIG_SCRIPTS = fltk-config
|
||||
FLTK_LICENSE = LGPLv2 with exceptions
|
||||
FLTK_LICENSE_FILES = COPYING
|
||||
|
||||
ifeq ($(BR2_PACKAGE_CAIRO),y)
|
||||
FLTK_CONF_OPTS += --enable-cairo
|
||||
FLTK_DEPENDENCIES += cairo
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_XLIB_LIBXCURSOR),y)
|
||||
FLTK_DEPENDENCIES += xlib_libXcursor
|
||||
FLTK_CONF_OPTS += --enable-xcursor
|
||||
else
|
||||
FLTK_CONF_OPTS += --disable-xcursor
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_XLIB_LIBXFIXES),y)
|
||||
FLTK_DEPENDENCIES += xlib_libXfixes
|
||||
FLTK_CONF_OPTS += --enable-xfixes
|
||||
else
|
||||
FLTK_CONF_OPTS += --disable-xfixes
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_XLIB_LIBXFT),y)
|
||||
FLTK_CONF_ENV += ac_cv_path_FTCONFIG=$(STAGING_DIR)/usr/bin/freetype-config
|
||||
FLTK_DEPENDENCIES += xlib_libXft
|
||||
else
|
||||
FLTK_CONF_OPTS += --disable-xft
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y)
|
||||
FLTK_DEPENDENCIES += xlib_libXinerama
|
||||
else
|
||||
FLTK_CONF_OPTS += --disable-xinerama
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user