aboutsummaryrefslogtreecommitdiff
path: root/package/dillo
diff options
context:
space:
mode:
authorGravatar Peter Seiderer <ps.report@gmx.net>2014-05-29 22:04:35 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-06-01 23:57:25 +0200
commit65b47530229b1ebaa4e2d40ff765614bbd6423ca (patch)
treeda709453adf680e12a3832d3342822891011ddd8 /package/dillo
parent21dd304ec5cb70e2b24705dce3519e395802121e (diff)
downloadbuildroot-65b47530229b1ebaa4e2d40ff765614bbd6423ca.tar.gz
buildroot-65b47530229b1ebaa4e2d40ff765614bbd6423ca.tar.bz2
dillo: new package
[Peter: drop redundant ipv6 handling, whitespace issues] Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/dillo')
-rw-r--r--package/dillo/Config.in17
-rw-r--r--package/dillo/dillo-0001-configure.ac-change-fltk-config-test-to-be-more-cros.patch40
-rw-r--r--package/dillo/dillo.mk48
3 files changed, 105 insertions, 0 deletions
diff --git a/package/dillo/Config.in b/package/dillo/Config.in
new file mode 100644
index 0000000000..bd317ffdcc
--- /dev/null
+++ b/package/dillo/Config.in
@@ -0,0 +1,17 @@
+config BR2_PACKAGE_DILLO
+ bool "dillo"
+ depends on BR2_PACKAGE_XORG7
+ depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_USE_MMU # fltk fork()
+ select BR2_PACKAGE_FLTK
+ help
+ Dillo is a multi-platform graphical web browser known
+ for its speed and small footprint.
+
+ Enable openssl package to gain https support.
+
+ http://www.dillo.org
+
+comment "dillo needs a toolchain w/ C++"
+ depends on BR2_PACKAGE_XORG7 && BR2_USE_MMU
+ depends on !BR2_INSTALL_LIBSTDCPP
diff --git a/package/dillo/dillo-0001-configure.ac-change-fltk-config-test-to-be-more-cros.patch b/package/dillo/dillo-0001-configure.ac-change-fltk-config-test-to-be-more-cros.patch
new file mode 100644
index 0000000000..2f184fbd98
--- /dev/null
+++ b/package/dillo/dillo-0001-configure.ac-change-fltk-config-test-to-be-more-cros.patch
@@ -0,0 +1,40 @@
+From b2ac6e42f0790bbe1704c468e740cb26293579a7 Mon Sep 17 00:00:00 2001
+From: Peter Seiderer <ps.report@gmx.net>
+Date: Thu, 29 May 2014 21:29:18 +0200
+Subject: [PATCH] configure.ac: change fltk-config test to be more
+ crosscompile/buildroot friendly
+
+Change fltk-config usage as suggested by Thomas Petazzoni [1].
+
+[1] http://lists.busybox.net/pipermail/buildroot/2014-May/097607.html
+
+Signed-off-by: Peter Seiderer <ps.report@gmx.net>
+---
+ configure.ac | 9 +++++----
+ 1 file changed, 5 insertions(+), 4 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index e3ace75..e1f4b6e 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -112,12 +112,13 @@ dnl -------------------------
+ dnl
+ dnl For debugging and to be user friendly
+ AC_MSG_CHECKING([FLTK 1.3])
+-fltk_version="`fltk-config --version 2>/dev/null`"
++AC_PATH_PROG(FLTK_CONFIG,fltk-config)
++fltk_version="`$FLTK_CONFIG --version 2>/dev/null`"
+ case $fltk_version in
+ 1.3.*) AC_MSG_RESULT(yes)
+- LIBFLTK_CXXFLAGS=`fltk-config --cxxflags`
+- LIBFLTK_CFLAGS=`fltk-config --cflags`
+- LIBFLTK_LIBS=`fltk-config --ldflags`;;
++ LIBFLTK_CXXFLAGS=`$FLTK_CONFIG --cxxflags`
++ LIBFLTK_CFLAGS=`$FLTK_CONFIG --cflags`
++ LIBFLTK_LIBS=`$FLTK_CONFIG --ldflags`;;
+ ?*) AC_MSG_RESULT(no)
+ AC_MSG_ERROR(FLTK 1.3 required; version found: $fltk_version);;
+ *) AC_MSG_RESULT(no)
+--
+1.8.1.4
+
diff --git a/package/dillo/dillo.mk b/package/dillo/dillo.mk
new file mode 100644
index 0000000000..3655b77f36
--- /dev/null
+++ b/package/dillo/dillo.mk
@@ -0,0 +1,48 @@
+################################################################################
+#
+# dillo
+#
+################################################################################
+
+DILLO_VERSION = 3.0.4
+DILLO_SOURCE = dillo-$(DILLO_VERSION).tar.bz2
+DILLO_SITE = http://www.dillo.org/download
+DILLO_LICENSE = GPLv3+
+DILLO_LICENSE_FILES = COPYING
+# dillo-0001-configure.ac-change-fltk-config-test-to-be-more-cros.patch
+# touches configure.ac
+DILLO_AUTORECONF = YES
+
+DILLO_DEPENDENCIES = fltk
+
+DILLO_CONF_ENV = ac_cv_path_FLTK_CONFIG=$(STAGING_DIR)/usr/bin/fltk-config
+
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+ DILLO_CONF_OPT += --enable-ssl
+ DILLO_DEPENDENCIES += openssl
+else
+ DILLO_CONF_OPT += --disable-ssl
+endif
+
+ifeq ($(BR2_PACKAGE_LIBPNG),y)
+ DILLO_CONF_OPT += --enable-png
+ DILLO_DEPENDENCIES += libpng
+ DILLO_CONF_ENV += PNG_CONFIG=$(STAGING_DIR)/usr/bin/libpng-config
+else
+ DILLO_CONF_OPT += --disable-png
+endif
+
+ifeq ($(BR2_PACKAGE_JPEG),y)
+ DILLO_CONF_OPT += --enable-jpeg
+ DILLO_DEPENDENCIES += libjpeg
+else
+ DILLO_CONF_OPT += --disable-jpeg
+endif
+
+ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
+ DILLO_CONF_OPT += --enable-threaded-dns
+else
+ DILLO_CONF_OPT += --disable-threaded-dns
+endif
+
+$(eval $(autotools-package))